找到约 13 条结果

文章 EVM 局限性与汇编审计技巧

...://learnblockchain.cn/docs/solidity/contracts.html?highlight=errors#errors-and-the-revert-statement) 比 revert(“error text”) 占用更少的字节码空间; * 包括旧的编码器 `pragma abicoder v1;` 如果合约中有数组的数组或结构的数组,则需要 Abicoder V2。但即...

文章 什么是 “Pedersen 承诺”?

...,用 `a` 表示一个 [有限域](https://www.rareskills.io/post/rings-and-fields) 内的元素,而 `a[A]` 表示这个有限域元素 `a` 与椭圆曲线点 `[A]` 的点乘法。而表达式 `[A] + [B]` 表示这两个点的 [点加法](https://learnblockchain.cn/article/11323)。 ## 传统的...

文章 无多签硬件钱包时,如何实现以太坊通证的多签合约?

...unction*/ /** * @dev Contract constructor sets initial owners and required number of confirmations. * @param _owners List of initial owners. * @param _required Number of required confirmations. */ constructor(address _token, address[] _owners, uint256 _required) p...

文章 Euler Finance 攻击事件分析

...烈波动。 # 参考链接 1. [euler-finance-attack-how-it-happened-and-what-can-be-learned](https://cointelegraph.com/news/euler-finance-attack-how-it-happened-and-what-can-be-learned) 2. https://twitter.com/peckshield/status/1635229594596036608 3. https://twitter.com/BlockSecTeam/status/...

文章 为什么要学习 Solidity 困难的东西 [ ABI 编码系列:第 0 部分 ]

...它的时候,实际上学习了大量的关键概念: > > \- little and big endianness(大小端) > > \- calldata 的复杂性 > > \- 数据偏移量 > > \- 静态类型与动态类型的存储 > > \- 函数选择器和参数编码 > > -… [pic.twitter.com/eWzmCQVWMy](https://t....

文章 使用 WebSocket 和 Solana Web3.js 2.0 监控 Solana 账户

...en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_async_iterator_and_async_iterable_protocols)。 3. **Abort Controller 集成**:提供内置支持的订阅清理,使用 AbortController。如果你不熟悉,_AbortController_ 是一个内置的 JavaScript 类,允许你中止异步...

文章 Defi 101: 使用 Defi 协议之前需要了解的几个概念

...借出DAI(一种[稳定币](https://learnblockchain.cn/2019/03/19/understand_dai))的年化利率是8%,这个是非常高的利率。 ## 所以,基本上是P2P借贷款? 并不是,这些Defi借贷协议通常基于资金池运作。例如,当你将DAI存入Compound时, 资...

文章 Anza的新SVM API

...器、eBPF虚拟机等)。 处理交易批的主要API方法为`load_and_execute_sanitized_transactions`。它需要以下参数: - `callbacks`:一个`TransactionProcessingCallback`特征实例,允许交易处理器召唤有关账户的信息,最重要的是为交易执行加载它...

文章 理解以太坊交易和消息:从状态变更到链下消息 - 第二部分

... 测试网 **智能合约角度:** ### 在你的收件箱中获取 Andrey Obruchkov 的故事 免费加入 Medium,以获取该作者的更新。 Invoked 智能合约: ``` pragma solidity ^0.8.24; contract Invoked { event Pinged(address sender); function ping() ex...

文章 Polygon Hermez

...vacy-scaling-explorations/zkevm-circuits ["Scroll design, architecture, and challenges" (Ye Zhang, Scroll)](https://www.youtube.com/watch?v=1bVe77-yfBA&t=1s) ##### Which is better? ![img](https://vitalik.ca/images/zkevm/chart.png) https://vitalik.ca/general/2022/08/04/zkevm.html ...

文章 打破模块化神话:Avail第一年证明了什么

...lups** 在多个技术堆栈中投入生产,包括 Lens、Sophon、Space and Time、Soon、Rooch、Skate、Odysphere、Up & Down 等 **而这仅仅是个开始**。 “庆祝 Avail 主网上线一周年,我为接下来的事情感到自豪和兴奋。未来的计划令人难以置信;50 ...

文章 密码朋克人物传之《比特币核心开发者 Gavin Andresen》

![加密朋克人物传之《比特币核心开发者 Gavin Andresen》](https://img.learnblockchain.cn/2025/12/16/51815816_image.jpg) Gavin Andresen 是比特币最早的核心开发者之一,中本聪离开后比特币项目的实际领导者。2010年,他成为第二个为比特币贡献...

文章 Solidity: 引用类型的储存位置: Storage, Memory, Calldata.

...ldata-in-solidity#:\~:text=In%20summary%2C%20memory%20is%20used,accessed%20and%20modified%20by%20any) 4. [Ethereum Stack Exchange - In What Cases Would I Set a Parameter to Use Storage Instead of Memory?](https://ethereum.stackexchange.com/questions/107028/in-what-cases-would-i-set-a-parameter-to-u...