... emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() externa...
... [EIP6475](https://eips.ethereum.org/EIPS/eip-6475):SSZ 可选项 * ERC: * [ERC6454](https://eips.ethereum.org/EIPS/eip-6454) : 极简的不可转让NFT * [ERC6464](https://github.com/ethereum/EIPs/pull/6464/files):EIP-721扩展,允许代币所有者批准多个操作者...
...OP Stack)更改为 Optimiums(侧链 DA) ## **EIPs/标准** - ERCs(应用层): - [ERC7601](https://github.com/ethereum/ERCs/pull/217/files):Dapp 权限框架 - [ERC7602](https://github.com/ethereum/ERCs/pull/218/files):以太坊混合交易监督 - [ERC7603](https://git...
...类 NFT 流动性集中起来。 其它解决方案试图将同质化 ERC20 代币作为中间方来促成交易。为了实现 NFT 对交易,[NFT20](https://nft20.io/?fileGuid=6WCXcDwRHytHWVwQ) 为每类 NFT 铸造了 ERC 20 代币,并根据类型将这些 ERC 20 代币集中起来,然后...
... L2,专注于基于 optimistic rollup 扩展以太坊主网,并使用 ERC-20 作为原生代币。 为了与 Thanos 网络交互,我们应该使用 Typescript 编写的 SDK,我们已将其发布在 NPM 上。 **Thanos 开发故事系列** 1. [Thanos 基础设施优化](https://medium.com/...
...们的故事 在 ETH Denver 2023 上,我们构建了[第一个模块化 ERC4337 兼容智能账户](https://github.com/kopy-kat/ethdenver-aa),以应对我们在早期账户抽象实验中遇到的问题。这些问题包括开发者复杂性、缺乏简单的功能自定义以及严重的供应...
...a:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%271064%27%20height=%27456%27/%3e) **要点:EPF (Ethereum Protocol Fellowship,以太坊协议奖...
...tps://img.learnblockchain.cn/2025/02/26/Mappings.png) 顺便说一下,ERC20 代币使用映射来存储某个人拥有多少代币!它们将地址映射到某个人拥有的代币数量。 ```solidity contract ERC20Token { mapping(address => uint256) public balances; functio...
...sg.sender == owner, "Unauthorized"); // 2. 转移剩余资产(ERC20/ERC721) _withdrawTokens(); // 3. 清理授权(避免复活攻击) approvals[spender] = 0; // 4. 发出事件通知 emit ContractDestroyed(block.timestamp); // 5. 自...
...是一种测试行为,这种情况在区块链上一直存在。 在 ERC-4337 的官方文档中提到,Bundler 自身是一个区块构建者,或者与区块构建者合作。在理论上,与区块构建者合作的 Bundler 可以完全避免因 nonce 碰撞导致的交易失败。然而...
.../www.evm.codes/playground): 用 playground 分享了代码链接 * [VestedERC20](https://github.com/ZeframLou/vested-erc20): 被包装为底层 token 线性归属其持有者的 ERC20 * [TWAM](https://github.com/abigger87/twam): ERC721 的时间加权铸币价格 * [MoonCats](https://mooncatcommu...
...CDB)。 该漏洞使我们能够收集合约所拥有并被批准的所有 ERC-20 代币。 ## 什么是 MEV? 最大可提取价值 (Maximal extractable value, MEV) 是衡量交易对机器人的价值的指标。例如,某个币的买入交易对该币的持有者有价值,而某个用...
...025/06/26/1uB6pGeEnFmffwNTxHaelzQ.png) 图. L1StandardBridge.sol/depositERC20, depositETH (来源:github [链接](https://github.com/ethereum-optimism/optimism/blob/65ec61dde94ffa93342728d324fecf474d228e1f/packages/contracts-bedrock/contracts/L1/L1StandardBridge.sol)) 资产的分类源于...
...://github.com/ethereum/RIPs/pull/27/files): 用于 L1SLOAD 的预编译 - ERCs(应用层标准): - [ERC7729](https://github.com/ethereum/ERCs/pull/506/files): 具有元数据的代币(ERC20 扩展) - [ERC7730](https://github.com/ethereum/ERCs/pull/509/files): 结构化数据清晰签...