找到约 13 条结果

文章 深入理解 Uniswap v3 白皮书

...,同时简要介绍其在合约是如何实现的。 #### 6.1 Ticks and Ranges 点和区间 为了实现自定义流动性供应,可能的价格空间被离散的点(tick)划分。流动性提供者可以在任意两个(无需是临近的)tick定义的区间提供流动性。 > ...

文章 以太坊兼容链性能测试2—性能数据统计

...on/)里面,所以只能先用目前这种笨办法。 不断监控commands.txt文件的变化执行不同的函数,直到执行完`successRate`会结束ethStats服务。 为什么要用`eth_blockNumber`不断查询,而不是用区块时间戳? 1. Layer2链的区块时间戳有不同...

文章 AAVE V2 学习笔记

...amount) external override onlyLendingPool { // Since the total supply and each single user debt accrue separately, // there might be accumulation errors so that the last borrower repaying // mght actually try to repay more than the available debt supply. // In this case we simply...

文章 Mapping 数据结构 | 用 Rust 写智能合约(二)

... in Rust are normally defined within such a `#[cfg(test)]` /// module and test functions are marked with a `#[test]` attribute. /// The below code is technically just normal Rust code. #[cfg(test)] mod tests { /// Imports all the definitions from the outer scope so we ca...

文章 等待确认(三):竞价区块空间

...类型的钱包本身就可以节省大量费用。 ![Overview of input and output weights](https://img.learnblockchain.cn/2025/07/13/input-output-weights.png) 聪明的钱包根据费率调整其选择策略:在高费率下,它们使用很少的输入和较新的输入类型来让输入集的...

文章 我们的密码学专家解答 10 个关键问题

...ps://www.semanticscholar.org/paper/Benchmarking-the-Plonk%2C-TurboPlonk%2C-and-UltraPlonk-Derei-Geren/e82bb576b3fc7e6704e909fc2381a1801591a836) 表明,在 32 核 Intel Xeon Platinum CPU 上生成 128K Pedersen 哈希的 UltraPLONK 证明的生成速度相当快,仅需约三秒钟;但是,内...

文章 指南:用 Anchor 构建 Solana 程序

...结构和算法的存储库](https://github.com/0xIchigo/Data-Structures-and-Algorithms-in-Rust) 。 本文专注于 Anchor 开发,*仅限*Anchor 开发。我们不会涉及如何开发原生 Rust 程序,本文也不假设读者了解该方面的知识。此外,本文也不涉及使用 Anch...

文章 测量SNARK性能:前端与后端

...关更多细节,请参见我的教科书草稿,**_Proofs, Arguments, and Zero Knowledge_** [link](https://people.cs.georgetown.edu/jthaler/ProofsArgsAndZK.pdf)。有关 SNARK 的介绍,请查看 Sarah Meicklejohn 在 a16z crypto **[夏季研究系列](https://www.youtube.com/channel/UCTHq3W46B...

文章 从零打造Solana空投工具库:Rust开发实战指南

...g library `solana-airdrop-utils` package note: see more `Cargo.toml` keys and their definitions at ******************************************************* cd solana-airdrop-utils ``` ### 列出当前目录下的文件和文件夹 ```bash ls # 列出当前目录下的文件和文件夹(...

文章 从以太坊智能合约到Solana程序:两种常见的安全陷阱及其挑战

...m-ethereum-smart-contracts-to-solana-programs-two-common-security-pitfalls-and-beyond) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 升级插件 - OpenZeppelin 文档

...https://docs.openzeppelin.com/upgrades-plugins/proxies#transparent-proxies-and-function-clashes) 以获取有关此限制的更多信息。 代理管理员合约还定义了一个 **owner** 地址,该地址有权操作它。默认情况下,如果提供了 transparent 代理的部署期间使用...

文章 流动性质押衍生品的市场动态与风险

...s://www.coindesk.com/tech/2024/03/06/liquid-restaking-tokens-what-are-they-and-why-do-they-matter/)”(LRT)集成的影响。随着该领域的不断发展,流动性抵押代币在 restaking 生态系统中的交叉点构成了关注的关键趋势。 #### **结论** 以太坊的质押生态系...

文章 手把手教你用Echidna测试智能合约

...发展,各种[智能合约](https://learnblockchain.cn/2018/01/04/understanding-smart-contracts)层出不穷,某些智能合约中的漏洞很致命的:无论是以代币还是以太币的形式,合约可以管理重要的财产资源,漏洞造成的损失将可能以数百万美元计。...