...om/eth-infinitism/RIPs/blob/native_account_abstraction/RIPS/eip-2938) 和 [ERC-4337](https://github.com/eth-infinitism/RIPs/blob/native_account_abstraction/RIPS/eip-4337) 整合成一个全面的原生账户抽象提案。 我们提议将以太坊交易范围分成多个步骤:验证、执行...
...thereum/EIPs/pull/8161/files):在存储非空的情况下回退创建 - ERCs(应用层): - [ERC7604](https://github.com/ethereum/ERCs/pull/223/files):ERC1155 permit 式批准(通过离线签名) - [ERC7606](https://github.com/ethereum/ERCs/pull/229/files):交易风险监控 - ...
...-21-2024/20853): * [Frangio](https://hackmd.io/@frangio/S1VvatXiR): ERC721/1155 需要 ISCONTRACT,且可升级代理可能因 EOF 合约无法 DELEGATECALL 到旧合约而被锁死 ## 中心化观察: 威胁你的 ETH 价值 * 🚨 [Lido 达到 28.6%](https://dune.com/hildobby/eth2-...
## **1. `onERC721Received` 的作用与使用** ### **1.1 `onERC721Received` 是什么?** `onERC721Received` 是 ERC-721 标准中的一个回调函数,专门用于 **合约** 接收 NFT(ERC-721 代币)时的安全处理。当 NFT 通过 `safeTransferFrom` 方式被转移到合约时...
...约 ``` pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol"; contract BurnableToken is ERC20BurnableUpgradeable { function initialize() init...
...程中,已逐渐显现出碎片化的趋势。虽然目前已经拥有 ERC-4337、ERC-6900、ERC-7579 等接口标准来定义账户抽象的功能,但不同实现方案之间在用户体验、接口规范和行为预期上存在明显差异。不同的钱包实现方案都聚焦于相似的应...
...准和实现 ### Solidity(以太坊) - **NFT标准**:主要是ERC-721和ERC-1155标准。 - **ERC-721**:单个代币代表一个唯一的资产。 - **ERC-1155**:支持同时管理同质化和非同质化代币。 - **实现方式**:通过继承OpenZeppelin等库提供的...
...article/11348) 保护智能合约免受恶意参数的影响 [**16\. ERC-20 代币**](https://learnblockchain.cn/article/11302) 去中心化金融最基本构件的介绍 [**17\. 元组**](https://rareskills.io/learn-solidity/tuples) 批量组合值 [**18\. 应用二进制接口(...
...thub.com/ethereum/EIPs/pull/7266/files):移除blake2f (0x09)预编译 - ERCs(应用层): - [ERC7265](https://github.com/ethereum/EIPs/pull/7265/files):断路器,用于当超过阈值时暂停 Token 留出。 - [ERC7272](https://github.com/ethereum/EIPs/pull/7272/files):以太坊...
...5; SELECT DISTINCT(symbol) from prices.layer1_usd limit 10; ``` ### erc20."ERC20_evt_Transfer" 表 记录发送 token 时触发的所有转账事件 ```sql SELECT * FROM pg_catalog.pg_tables WHERE schemaname = 'erc20'; select * from erc20.tokens limit 10; select * from erc20."...
...,将AA引入以太坊协议,并最终提出了EIP4337。 ## **ERC - 4337** EIP-4337最初于2021年9月提出,并于2023年3月获得授权成为ERC-4337。其作者包括Vitalik Buterin、Yoav Weiss、Kristof Gazso、Namra Patel、Dror Tirosh、Shahaf Nacson和Tjaden Hess。 EI...
...P7650](https://eips.ethereum.org/EIPS/eip-7650):可编程访问列表 - ERCs(应用层): - [ERC7651](https://github.com/ethereum/ERCs/pull/305/files):分数表示的 NFT - [ERC7652](https://github.com/ethereum/ERCs/pull/306/files):ERC721 保证扩展 - [ERC7653](https://github....
...78](https://eips.ethereum.org/EIPS/eip-7778): 防止区块 gas 走私 * ERCs (应用层): * [ERC7774](https://github.com/ethereum/ERCs/pull/652/files): 在 ERC5219 模式下的 web3 URL 缓存失效 * [ERC7776](https://github.com/ethereum/ERCs/pull/659/files): 透明财务报表 ...
abi只需要传递一个number,就是铸币的数量,但是代码里面加了一个 ``` payable ``` 可以接受一个payableamont作为币价。 是直接找的测试bsc的 ``` $contract = new Contract('https://data-seed-prebsc-1-s1.binance.org:8545') ``` 这个函数源码 ...
...步释放的方法。 **【前置条件】** 1)已经完成了一个ERC20的代币,本文以作者接触的CLB为样例。 2) 懂得在REMIX调试SOLIDITY语言,不熟悉的参考文章 [《第十课 Solidity语言编辑器REMIX指导大全》](https://www.jianshu.com/p/2110ed61d2cc) ...