...nvulnerabledefi-foundry > ## 合约 - ReceiverUnstoppable:继承IERC3156FlashBorrower合约,用于发起闪电贷,执行闪电贷后的回调 - UnstoppableVault:金库合约,继承IERC3156FlashLender、ERC4626,支持闪电贷 ## 脚本 - 依次部署DamnValuableToken、Uns...
...com/ethereum/EIPs/pull/7809/files):EVM 配置文件用于 zk rollup * ERC(应用层): * [ERC7527](https://github.com/ethereum/EIPs/pull/7797/files):基于内置函数 Oracle AMM 的标准接口系统 * [ERC7528](https://github.com/ethereum/EIPs/pull/7808/files):ETH(原...
...约 ``` 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...
...](https://github.com/ethereum/EIPs/pull/9028/files):自省预编译 * ERCs(应用层): * [ERC7815](https://github.com/ethereum/ERCs/pull/712/files):交换订单路由接口 * [ERC7816](https://github.com/ethereum/ERCs/pull/713/files):用于 EVM 应用的 Schnorr 签名...
# 基础知识 ## ****ERC777**** ERC777是ERC20标准的高级代币标准,要提供了一些新的功能:运营商及钩子。 - 运营商功能。通过此功能能够允许第三方账户代表某一**合约或者地址** 进行代币的发送交易 - 钩子功能。给该**合约...
...: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol"; contract TokenBank { IERC20 public token; mapping(address => uint256) public balances; // 定义事件 even...
...://www.coinbase.com/en-de/wallet/smart-wallet))中,队列的功能由 [ERC-4337](https://learnblockchain.cn/docs/eips/EIPS/eip-4337) [捆绑器](https://www.erc4337.io/docs/bundlers/introduction) 的 mempool 提供。 #### 交易历史 已执行的交易必须显示和验证,但交易历史...
...提供者)代币作为凭证和奖励。 ### 为什么不能只依赖 ERC20 余额? 虽然每个合约都有自己的存储空间,ERC20 代币通过 mapping 记录地址和余额的对应关系,但仅仅依赖 ERC20 合约中的余额来管理流动性是不够的,主要原因包括...
... · [以太坊的 UX 路线图:Intents, Trustless Cross-L2, and Interop ERCs](#07bd) · [Avail 收购 Arcana 以加速多链可扩展性](#0b78) · [以太坊的链上交易量创四年新高](#4d5f) · [账户和链抽象:从炒作到真正的产品价值](#2155) ### 以太坊的...
...设施 Fabian Vogelsteller(我们中的许多人都很熟悉,他是 [ERC20](https://eips.ethereum.org/EIPS/eip-20) 标准的提议者)与 Marjorie Hernandez(在创意产业中广为人知)一起解释了 Web3 采用的这些局限性,并展示了 [LUKSO](https://lukso.network/),一个...
... list lives hereexport const DEFAULT_TOKEN_LIST_URL = 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json'export const DEFAULT_LIST_OF_LISTS: string[] = [ DEFAULT_TOKEN_LIST_URL] ``` 然后移除前端使用的@uniswap/uniswap-sdk, ``` npm remove ...
...示例: 1. 假设我们实现并部署了一个名为CryptoKitties的ERC721合约,并包含我们自定义的函数 \`attachHat(uint256 \_kittyId, uint256 \_hatId) external\`。 2. 我们实现并部署了一个名为KittyHats的ERC1155智能合约。 3. 我们实现并部署了一个...
...hereum/EIPs/pull/8121/files):硬分叉 - Pectra(Prague + Electra) - ERC(应用层): - [ERC7595](https://github.com/ethereum/ERCs/pull/202/files):抵押 NFT(ERC721 扩展) - [ERC7596](https://github.com/ethereum/ERCs/pull/205/files):股权份额记账系统 - [ERC7597](h...