...//docs.optimism.io/builders/node-operators/network-upgrades/canyon) 在 Superchain 主网上生效,增加了 Shappella 支持(包括 PUSH0),减少了basefee 率变化的速度,并添加了 Create2Deployer - RollCall(L2 标准)[视频](https://www.youtube.com/watch?v=0OzjiHf2dF0&t=2s) ...
... contract_address: '0xc54567b294d7ec7807529fbaec71d326543453c5', erc_type: 'ERC721', image_uri: 'ipfs://QmVaTJSCgGFyfcd4hsaTN2ZMDh2hErpCtY9xMP9USdZqt1', metadata: { attributes: [Array], description: "CoinStats GLXY is for the starry-eyed and galaxy-brained. It's for...
...ier: MIT pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract DexTwo is Ownable { using S...
...nnect 讨论主题和 EIP7530(EVM 配置文件) ## EIP/标准 - [ERC 从 EIP 中分离出来](https://twitter.com/lightclients/status/1717295084532551881) - EIP: - [EIP7542](https://eips.ethereum.org/EIPS/eip-7542):eth/69 - 可用区块扩展协议 - [EIP7543](https://github.com...
...中,并未使用 OpenZeppelin 等合约安全库,而是自己写的 ERC20 合约,其中未对 transferFrom 传入的参数进行检测是一个很严重的问题。 ### 风险 我们来看一段不安全的代码: ```solidity function transferFrom(address from, address to, uint256...
## 摘要 将 [EIP-2938](https://eips.ethereum.org/EIPS/eip-2938) 和 [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) 结合成一个全面的原生账户抽象提案。 我们提议将以太坊交易范围分为多个步骤:验证、执行和事务后逻辑。交易的有效性由交易的...
...ogy/) 测试网创建并部署 NFT 市场。 - 创建一个 NFT(使用 [ERC-721 标准](https://github.com/quiknode-labs/guides/blob/b90b1968e0566d0c4b0d2fe5a2523fe512c6050d/sc47375/link-to-doc)),我们将在 NFT 市场上使用它。 - 使用 Ethers.js 与 NFT 市场智能合约进行交互...
标准接口 -- ``` //总发行量 function totalSupply() public view returns (uint256) // 指定账户的余额 function balanceOf(address _owner) public view returns (uint256 balance) //币的持有人直接调用,进行转账 function transfer(address _to, uint256 _value) publi...
...操作有 2 步: 第 1 步:授权交易本身。是为了告诉某 ERC20 Token 合约,将来可能会有目标智能合约地址 A 来我的钱包账户取走 X 数量的该 Token 资产; 第 2 步:交易执行本身。当目标合约 A 中的逻辑中需要执行该 Token 的相关...
...thub.com/ethereum/EIPs/pull/9100/files): EOF 的单独元数据部分 * ERCs(应用层): * [ERC7831](https://github.com/ethereum/ERCs/pull/749/files): 多链地址 * [ERC7832](https://github.com/ethereum/ERCs/pull/752/files): 可持续的 NFT 收藏 * [ERC7835](https://gi...
...账户上构建 dapp 或钱包的开发者。今天,我们支持任何 ERC-7579 账户(包括 ZeroDev 的 [Kernel](https://github.com/zerodevapp/kernel),Biconomy 的 [Nexus](https://github.com/bcnmy/nexus),OKX AA 钱包,Etherspot 的 Prime 以及许多其他未公布的账户)和通过 [...
...份连发两篇文章,分别强调了基于循环内调用delegatecall和ERC721的回调函数导致的重进入问题。事实上该类型的问题Samczsun在去年2020年一次公开讲座中也专门讲过。这两篇文章算是对当时的一个公开讲座的一次回顾与进一步的强调...
...www.youtube.com/@QuickNode?sub_confirmation=1) ### 1\. 选择NFT类型 **ERC-721** 当前广泛使用的标准。 一些ERC-721 NFT项目:[CryptoKitties](https://etherscan.io/token/0x06012c8cf97bead5deae237070f9587f8e7a266d#code)、[Crypto Coven](https://etherscan.io/token/0x5180db8f5c931aae63...