找到约 15 条结果

文章 Uniswap的ERC-7683:推动流动性增长

!["Uniswap的ERC-7683:推动流动性增长 - Three Sigma" 横幅](https://img.learnblockchain.cn/2025/03/12/74048193_image.svg) ### **摘要/tldr;** ERC-7683标准于2024年第二季度由Uniswap Labs和Across提出,建立了一个统一框架,使意图驱动的系统能够准...

文章 Uniswap 的 ERC-7683:驱动流动性增长

## Uniswap 的 ERC7683:驱动流动性增长 探索 Uniswap 的 ERC-7683 标准如何支持加密货币中的流动性增长。 了解 DeFi 中基于意图的协议如何增强跨链互操作性。 ![Uniswap 的 ERC7683:驱动流动性增长](https://img.learnblockchain.cn/2025/08/13/25272...

问题 使用Vyper调用PancakeSwap合约时报错,无法部署

...请教大佬们 `````` # @version ^0.2 from vyper.interfaces import ERC20 interface PancakeRouter: def swapExactTokensForTokens( amountIn: uint256, amountOutMin: uint256, path: address[3], to: address, deadline: uint256 ) -> uint256[3]...

文章 每周以太坊进展 2023/9/23

...atch.io/),特别是在美国/加拿大/欧盟之外 ## Layer 1 * ERC4337(账户抽象)会议[记录](https://twitter.com/johnrising_/status/1704883350408950189) * [在链上验证 p256 曲线的状态](https://hackmd.io/@1ofB8klpQky-YoR5pmPXFQ/SJ0nuzD1T) * [指南:将预编译...

问题 在学习UniSwap V2源码的时候遇到一个bug:Pair合约继承了ERC20合约,但是在调用mint的时候,无法mint LP Token。

下面是简要的代码摘要: Factory.sol ``` contract SwapFactory is ISwapFactory { address[] public allPairs; mapping(address tokenA => mapping(address tokenB => address pair)) public override getPair; constructor(){ } function allPairsLength() externa...

文章 EigenLayer RewardsCoordinator 奖励协调器 介绍

...| 单例 | 透明代理 | `RewardsCoordinator` 接受来自 AVS 的 ERC20,以及向运营商发出的奖励提交请求,这些运营商在指定的时间范围内已在核心 [`AllocationManager`](https://learnblockchain.cn/article/20133) 合约中向 AVS 注册。 有两种形式的...

文章 账户抽象与元交易

... 的字段。 ### Account Abstraction 中的 Paymasters 是什么? ERC-4337 Account Abstraction 标准中的Gas抽象部分引入了 **Paymasters**。 [Paymasters](https://learnblockchain.cn/article/12855) 是具有 **任意验证逻辑的链上智能合约**,可用于定义有效的Gas...

文章 对 zksync 官方 Paymaster 示例代码的理解

...r: MIT pragma solidity 0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IPaymaster.sol"; import "./interfaces/IPaymasterFlow.sol"; import "./L2ContractHelper.sol"; // 这是个假出纳员。它希望 paymasterInput 包含其“签名”以及所需...

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

...排序](https://arxiv.org/abs/2306.02179)经济学分析 ## EIP * ERC: * [ERC7144](https://github.com/ethereum/EIPs/pull/7144/files):带有交易验证步骤的ERC20 * [ERC7160](https://github.com/ethereum/EIPs/pull/7160/files) : ERC721 扩展,支持多个元数据 ## ...

文章 Samczsun talk about Re-entrancy

...UniswapExchangeLiks(exchange).sync(); validate the address ``` ```js ERC20like(token).decimals(); ``` ## can the call be hooked is there a way for an attacker to gain control of your execution ``` contract Caller{ fallback() external{ call... } } ``` ``` contract BadTok...

文章 Web3系列教程之进阶篇---8. IPFS实战

...集中管理初始阶段结束后的常见模式。 - 我们还将使用 ERC721 的扩展,称为[ERC721 Enumerable](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721Enumerable.sol) - ERC721 Enumerable 可帮助您跟踪合约中的所...

文章 创建一个像Opensea一样的NFT市场

...上的图片存储。 - 在Dabit教程的第一个版本中,他将NFT ERC721代币智能合约和市场智能合约分开。在第二个版本中,他选择了在一个智能合约中建立一个具有maketplace功能的NFT ERC721。我们选择在这里将它们分开,因为我们想建立...

文章 Devcon日程已上线!

...a:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%271064%27%20height=%27456%27/%3e)![Devcon 日程已上线!](https://img.learnblockchain.cn/2025/06/04/12510025_image.jpg) 嗨,以太坊的朋友们, 距离 Devcon 还有 13 天,我们对今年活...

问题 手续费已经扣到了合约地址 但是在兑换bnb的时候一直兑换不出来 确定合约地址里面币是够的 求大神指点

...cipient, uint256 amount) private { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); if (sender == uniswapV2Pair) { // Buy transaction uint256 fee = a...

文章 每周以太坊进展 2023/5/27

...s://github.com/ethereum/EIPs/pull/7069/files):改进的 CALL 指令 * ERC: * [ERC7050](https://github.com/ethereum/EIPs/pull/7050/files):标记 NFT 创作者 * [ERC7053](https://github.com/ethereum/EIPs/pull/7053/files):可互操作的数字媒体索引 * [ERC7066](ht...