...mismpbc.medium.com/arbitrary-token-bridging-d552f6bef694)增加了自定义ERC20代币的存款和提款功能 - [Nova](https://twitter.com/transmissions11/status/1431044602287464450):在L2和L1之间进行合约调用的无信任中继,部署在Optimism和主网,目前仅限于批准的项...
...P * [EIP6077](https://github.com/ethereum/EIPs/pull/6077/files):由 ERC712 支持的基于签名的操作的无效抽象 * [EIP6093](https://github.com/ethereum/EIPs/pull/6093/files):ERC 代币的自定义错误 * [EIP6105](https://github.com/ethereum/EIPs/pull/6105/files):ERC721 ...
...示,仅检查存储变量的规范: (5) 对于任何交易序列,ERC-20 代币的余额总和应等于总供应量。 (6) 如果未调用 `deposit()`,则 `balance` 不能增加。 假设我们有一种方法可以确定“(1) 如果没有时间流逝,贷方不应赚取任何利息...
## ERC4337 -- 网络 **注意**: 本文档为研究人员和实施者的进行中工作。 本文档包含有关ERC4337的捆绑软件网络规范。 它主要由两个部分组成: 1. 网络基础的规范。 2. 三个捆绑器网络交互*域*(domains)的规范:(a) gossip域,(b) req/resp...
... pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; interface IOptimisticOracleV3 { function assertTruthWithDefaults(bytes calldata claim, address callbackRecipient) external re...
...为包括大量的“便利目标”,例如一个没有 ETH 但有一些 ERC20 的账户能够用该 ERC20 支付 gas。账户抽象路线图旨在不仅抽象验证,而是抽象一切:身份验证(谁可以执行操作)、授权(他们可以做什么)、重放保护、gas 支付和执...
...资金滥用**。它桥接了两个 EVM 网络,支持原生代币以及 ERC20、ERC223 和 [ERC777](https://www.ethnews.com/new-ethereum-blockchain-token-standard-erc777-could-replace-erc20)。一个新的 **去中心化桥接正在由 POA 网络开发** (这是其当前桥接的演进,[规范...
...可以像 EIP-1559 一样调用 execute(calls) 方法,或者生成一个 ERC-4337 UserOp(具有相同的 authorizationList)并将其发送到 EntryPoint,EntryPoint 可以为你或使用你的 ERC 代币支付交易费用,并在你的 EOA 上调用 execute。 当然,始终可以选择取...
...名而不是交易来完成代币的转账授权,并且支持传统的 ERC20 合约。Permit2 合约的方法支持第三方调用,又有以太坊上最大 DEX 的支持,可能会成为以太坊生态中重要的基础设施。 [github 地址](https://github.com/33357/permit2) [合约地...
...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...
...GelatoRelayContext | relayWithSyncFee | | 是 | 用户 | GelatoRelayContextERC2771 | relayWithSyncFeeERC2771 | | 否 | 1Balance | n. a. | relayWithSponsoredCall | | 是¹ | 1Balance | ERC2771Context | relayWithSponsoredCallERC2771 | 1. 需要 SponsorKey;请在此处访问 Gelato 1Balance [这里]...
...卡、游戏道具等,皆可以 token 实现。借助以太坊本身的 ERC20 和 ERC721/ERC1155 的合约基础设施,可以简化设计。 - 最简原则:能不同步的就不同。 - 比如,balance,除非 balance 本身参与数据库查询,那么只在前端同步就够了。 ...
...e is Initializable, ContextUpgradeable { /// @custom:storage-location erc7201:openzeppelin.storage.Ownable struct OwnableStorage { address _owner; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 ...
...er: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; contract SoulboundIdentity is ERC721, AccessControl { bytes32 public constant ISSUER_ROLE = keccak256("ISSUER_ROLE"); uint256 privat...
...责在交换操作后结算代币余额。它区分原生代币 (ETH) 和 ERC20 代币,并相应处理代币转账。 - 如果增量金额为负,则表示池欠代币,合约调用 `take` 来回收所欠代币。否则,它通过将 ERC20 代币转账到池管理合约或直接发送原生 ETH...