找到约 12 条结果

文章 Masamune:智能合约安全搜索工具

...工作的? Masamune 的设计考虑了简单性,遵循 [帕累托 (80-20) 原则↗](https://www.investopedia.com/terms/1/80-20-rule.asp)。该原则表明,80% 的结果来自于 20% 的努力。对于 Masamune 来说,这意味着该工具经过优化,以最小的查询工作提供最有...

文章 每周以太坊进展2021/10/23

... DSProxy ,带有确定性的代理地址以及第三方权限控制 - [ERC721 的智能批量拍卖](https://github.com/FrankieIsLost/smart-batched-auction),Paradigm 的 NFT 启动设计的实现 - [template-ethereum-contracts](https://github.com/wighawag/template-ethereum-contracts):使用 ...

文章 UniswapV2 深入解析系列 06:时间加权平均价格预言机实现详解

...; import "../../src/oracle/UniswapV2Oracle.sol"; import "../mocks/MockERC20.sol"; /** * @title 价格预言机测试套件 * @notice 测试 TWAP 预言机的各种功能 */ contract UniswapV2OracleTest is Test { UniswapV2Pair pair; UniswapV2Oracle oracle; MockERC20 tokenA;...

文章 Layer2 项目治理回顾#53 (2025年5月26日)

...备中的工作室,计划于9月9日在Arbitrum One上推出一个$BVP ERC-20,并在Orbit子链上运行其所有的电影融资轨道。该团队已经在Arbitrum Sepolia上启动了代币、质押合约和gas路由器;一个私有的Orbit L2正在运行工资单、质押层级和粉丝治理...

文章 EIP1167 代理合约的使用

... createClone(address target) internal returns (address result) { bytes20 targetBytes = bytes20(target); assembly { let clone := mload(0x40) mstore(clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(clone, 0x14), targetBytes) m...

文章 使用 Gelato Relay 体验无 Gas 的 Connext 空投代币领取

...ponsoredCall SDK](https://docs.gelato.network/developer-services/relay/non-erc-2771/sponsoredcall) 方法。他们使用 [1Balance](https://docs.gelato.network/developer-services/relay/payment-and-fees/1balance-and-relay) 作为支付方式来支付用户的 gas 费,确保交易既安全又免费...

文章 链上收益现状:从稳定币到DeFi及其他

...。 **LRT 保持流动性和可组合性** 就像 LST 一样,LRT 是 ERC-20 代币(或 Solana 上的 SPL 代币),可以自由交易、在 DeFi 中使用并插入借贷市场、金库和 AMM 中。无需锁定即可访问收益。 **并非所有收益都以 ETH 或 SOL 支付** 今天...

文章 智能合约安全工具实用指南第二部分:Slither

![](https://img.learnblockchain.cn/2025/03/09/1H9q6SnW2zmJ0wyYBhJx1CQ.jpeg) ### 警告 本文并不是对自动化分析器的评级。我使用它们来分析我自己的合约:故意添加伪错误并研究响应。这不是一种“好与坏”的研究类型,这类任务需要对大量合...

文章 Rollup互操作性跨链连接映射

...方案](https://bunny-wp-pullzone-nb318evfcx.b-cdn.net/wp-content/uploads/2024/09/Mapping-Rollup-Interoperability-Solutions-for-Cross-chain-Connectivity--1024x576.png) 让我们深入探讨 L2 领域中最热门的话题:[rollup](https://www.zeeve.io/rollups/) 互操作性解决方案。你可...

文章 Gossipsub网络直径估算 - 网络

[![](https://img.learnblockchain.cn/2025/06/24/14863_2.png)](https://ethresear.ch/u/guillaumemichel) ## TL;DR ProbeLab 团队 ( [probelab.io](https://probelab.io/)) 一直在广泛研究以太坊网络中 Gossipsub 的行为(参见[最近的帖子](https://ethresear.ch/search?q=gossipsub%20@yian...

文章 科赫尔的时间攻击:从理论到实践的旅程

![Kocher’s Timing Attack Header](https://img.learnblockchain.cn/2025/09/20/timing.png) 1996年,Paul Kocher 发表了一篇**具有开创意义的论文**,证明了密码运算的执行时间可能会泄露关于密钥的信息。这并非抽象密码算法中的数学弱点,而是一种...

文章 Go语言常见数据结构实现原理

...量的值。 示例代码: ```go func update(a *int) { *a = 20 } func main() { x := 5 update(&x) fmt.Println(x) // 输出: 20 } ``` ### 字符串 #### 字符串不可变性 Go中的字符串是不可变的。 示例代码: ```go s := "hello" // ...