找到约 12 条结果

文章 如何使用Blockbook生成以太坊交易报告

...n/evm-blockbook-json-rpc) 来制作以太坊交易的详细报告,包括 ERC-20、ERC-721 和 ERC-1155 代币转账。本指南专为开发人员和金融分析师设计,提供了一个全面的工具包,用于提取、分析和展示符合监管标准的交易数据。 多链支持 QuickNod...

文章 更安全的签名 - EIP712 结构化签名

...用 `Openzeppelin` 代码。 - **链上合约验签** ```js contract ERC712Verify { // Domain 结构 bytes32 private constant DOMAIN_TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); // Types 结构 bytes32 priv...

文章 通过操控抵押品价格预言机牟利

> * 来源:https://samczsun.com/taking-undercollateralized-loans-for-fun-and-for-profit/ 作者:[SAMCZSUN](https://samczsun.com/author/samczsun/) > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) > *...

文章 WETH10 - 更高效的 WETH

...项目是[通过WETH把以太币代币化](https://weth.io/),再接入到ERC20为主的DEFI生态中。 当前使用最广泛的WETH实现是[WETH9](https://etherscan.io/address/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2#code),有兴趣的可以点击链接查看实现。 WETH9上线至今...

文章 解读UniSwap NFT市场协议不仅仅是聚合器

...高净值NFT被低价成交的损失。 #### 2.1.2、代扣授权,是ERC20的通病 虽然有已经步入final的Eip-**2612:《通过 EIP-712 secp256k1 签名获得 EIP-20 批准》**,但从协议的角度来看,ERC20的地位仍然是二等代币,因为用户在不持有任何 ETH 的...

问题 下面这段代码,谁能帮我改一下,改成可以修改买卖手续费的功能,现在是固定的买入4%,卖出6%

...后就不能修改了 ```js pragma solidity ^0.8.0; import "./ERC20.sol"; import "./Ownable.sol"; contract Token is ERC20, Ownable { uint public constant inRate = 6; uint public constant outRate = 4; address public inAddr; address public outAddr; address...

文章 引介 Esplr - 本地自部署 EVM 浏览器

...an 不支持代币余额或转账历史,这使得它的实用性有限。ERC20 / ERC721 / ERC1155 代币及 NFTs 是类似 EVM 区块链最受欢迎的功能之一。除此之外,Otterscan 只能与一个客户端使用,而 esplr 力求支持所有节点类型。 > 我可以验证所有网...

文章 事后报告:以太坊主网最终确认性 (2023年5月11日)

...om/offchainlabs/post-mortem-report-ethereum-mainnet-finality-05-11-2023-95e271dfd8b2) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 每周以太坊进展 2023/10/14

...https://github.com/ethereum/EIPs/pull/7837/files): 定理携带交易 * ERCs(应用层): * [ERC7533](https://github.com/ethereum/EIPs/pull/7833/files): 公共跨链端口(连接 EVM 网络) * [ERC7535](https://github.com/ethereum/EIPs/pull/7846/files): ETH(原生资产)代...

课程 Web3极客公开课(Web3 GeekForge)合集

...绍 2、帮助你快速切换到NFT2.0的基础设施 3、Lightm:RMRK的ERC2535实现 **主讲人** 0xEkk - RMRK 大使 **视频回放** [B 站](https://www.bilibili.com/video/BV1du4y167Mq/) |[Youtube](https://www.youtube.com/watch?v=7SqJXXS847c) >直播时间:2023年9月13日 ## ...

文章 NFT 所有者 tokenID 快速查询

...Id require(start < end, "XenBox: end must over start"); IERC721 erc721 = IERC721(target); uint256[] memory list = new uint256[](end - start); uint256 index; // 遍历出所有者拥有的 tokenId for (uint256 tokenId = start; tokenId < end; token...

文章 UniswapV2 深入解析系列 19:精确输出兑换

...raries/UniswapV2Library.sol"; import "@openzeppelin/contracts/mocks/token/ERC20Mock.sol"; /// @title UniswapV2RouterExactOutputTest /// @notice 验证 Router 反向兑换路径的关键行为 contract UniswapV2RouterExactOutputTest is Test { UniswapV2Factory private factory; UniswapV...