找到约 13 条结果

文章 Fuel - 快速执行层

...tps://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-and-wanted-languages-loved),也是[最流行的编程语言](https://www.tiobe.com/tiobe-index/)之一。 ![](https://img.learnblockchain.cn/2025/03/11/F97d664ee-42e0-40d4-84cf-b5b0b7ac51a3_680x505.jpeg) ### **L2 代...

文章 认识SAFG:DeFi的参与式投资和协议开发新框架

...o-colab/meet-the-safg-defis-emergent-framework-for-participatory-investing-and-protocol-development-62286a576fb5](https://medium.com/ideo-colab/meet-the-safg-defis-emergent-framework-for-participatory-investing-and-protocol-development-62286a576fb5) 作者:Gavin 译者:李意 校对:Shirley...

文章 以太坊 - 简单序列化(SSZ)

...型](#composite-types) - [可变大小和固定大小](#variable-size-and-fixed-size) - [字节](#byte) - [别名](#aliases) - [默认值](#default-values) - [`is_zero`](#is_zero) - [非法类型](#illegal-types) - [序列化](#serialization) - [`uintN`](#uintn) - [`boolea...

文章 ethers.js与solidity智能合约交互(hardhat项目)

...-11.png) 4、一个完整的部署脚本(参考用02_deploy_pool_lock_and_release.js) ```js const{ getNamedAccounts } = require("hardhat") moudle.exports = async({getNamedAccounts, deployments}) => { const {firstAccount} = getNameAccounts() const {deploy,log} = deployments ...

文章 Solodit检查清单详解:矿工攻击

... auction.bid{value: 2 ether}(); // MinerBidder ends auction and wins despite Bidder2's higher bid vm.prank(minerBidder); auction.endAuction(); // Verify miner won unfairly by manipulating timestamp assertEq(auction.highestBidder(), minerBidder); ...

文章 深入 Uniswap V4 源码 - PoolId Library

..., capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000 uint24 fee; /// @notice Ticks that involve positions must be a multiple of tick spacing int24 tickSpacing; /// @notice The hooks of the pool IHooks hooks; } ```...

文章 《Effective Rust》第 4 条:优先使用惯用的错误类型

...sn't use only types from inside the current crate | = note: define and implement a trait or new type instead ``` [类型别名]也无济于事,因为它并没有创建一个新的类型,所以也不会改变错误信息: ```rust pub type MyError = String; impl std::error::Er...

文章 了解DAO世界的去中心化贡献模型

...门的方法是通过[DAO](https://medium.com/layer3xyz/aoswhat-is-a-dao-and-how-can-i-join-one-c8914bc36bf2),一个广泛的在web3内运作的去中心化组织。 让我们首先探讨一下DAO是如何运作的,以及不同类型的DAO可以帮助你启动贡献之旅。我们还将深入...

文章 Uniswap V3 工厂以及 Tick 间距与手续费之间的关系

...数的所有参数都存储在公共不可变变量中: ![code for fee and tick spacing](https://img.learnblockchain.cn/2025/04/26/codeFeeTickSpacing.png) ## 例子 让我们以 [USDC/ETH 池](https://etherscan.io/address/0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640#readContract) 为例。我们...

文章 每周以太坊 2024/03/23

...s://calldata.pics/):calldata 和 blob 使用情况的实时图表 - ethPandaOps: - [Attacknet](https://learnblockchain.cn/article/17242/):使用 Kurtosis 和 Chaos Mesh, 向开发网络注入主网故障(如网络延迟、丢包、分叉等),来帮助测试。 - [Dencun 升级...

文章 通过 CCIP 构建跨链应用(5 个案例)

...Limit: 200_000, strict: false}) // Additional arguments, setting gas limit and non-strict sequency mode ), feeToken: address(linkToken) // Setting feeToken to LinkToken address, indicating LINK will be used for fees }); // Initialize a router client instance to interact with cross-chain router ...

文章 Taproot 及 MuSig2 回顾

...上面说的 [BIP340 公钥](https://www.btcstudy.org/2023/04/27/taproot-and-musig2-recap-by-elle-mouton/#BIP340-%E5%85%AC%E9%92%A5%E7%AE%80%E8%BF%B0))。我们通常使用 `Q` 来代指这个公钥。下面这张图片完整地展示了一笔交易中的一个 Taproot 输出: ![img](https://im...

文章 Taproot 如何提高比特币隐私性

...over.com/explaining-the-lightning-network-so-even-a-10-year-old-can-understand-it)《10 岁小孩都能读懂的闪电网络科普》。 但是,Taproot 是底层升级,真的能影响闪电网络吗? 如果没有这个 Schnorr 签名友好型升级,通道的开启和关闭交易会在比...