找到约 12 条结果

文章 Aptos数据分析师指南:DeFi Swap(第二部分)

...y-public-data.crypto_aptos_mainnet_us.transactions` WHERE tx_type = 'user' AND success AND payload.entry_function_id_str = '0x9dd974aea0f927ead664b9e1c295e4215bd441a9fb4e53e5ea0bf22f356c8a2b::router::swap_exact_coin_for_coin_x1' AND block_timestamp BETWEEN '2025–01–01' AND '2025–01–31' LIMIT...

文章 理解DAI稳定费:加密领域的关键见解和影响

...押债务头寸 (CDP) 借入 DAI 的用户的[可变利息费用](https://andytudhope.github.io/community/scd-faqs/stability-fee/)。此费用根据 CDP 中抵押品提取的 DAI 总额持续累积。用户必须在将 DAI 返还给他们的 CDP 以取回他们的抵押品时支付此费用。 ...

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

...er 流程 contract TestnetPaymaster is IPaymaster { function validateAndPayForPaymasterTransaction( bytes32, bytes32, Transaction calldata _transaction ) external payable returns (bytes4 magic, bytes memory context) { // 默认交易已经被接收(...

文章 分析 ERC721A 源码节省Gas优化思路

... // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp`...

视频 在 Yul 中写入打包存储变量

... 4. **位掩码和位移的原理:** * **位掩码:** 使用 `AND` 操作将目标变量的位置清零,保留其他变量的值。 * **位移:** 将新的变量值移动到目标变量在存储槽中的正确位置。 * **位或:** 使用 `OR` 操作将移动后的新...

文章 EVM 内存重新定价

...//epf.wiki/#/wiki/EL/evm) - 📄 Eth Research, [On Block Sizes, Gas Limits and Scalability](https://ethresear.ch/t/on-block-sizes-gas-limits-and-scalability/18444) - 📄 John A., [Wait, It's All Resource Pricing?](https://www.youtube.com/watch?v=YoWMLoeQGeI) - 📄 John A., [Induced Demand from Blo...

文章 Jolt 速度提升 6 倍——而我们才刚刚开始

经过六个月的工作,Jolt 现在完全集成了 [Twist and Shout](https://learnblockchain.cn/article/14456/) 内存检查参数。这[解锁了](https://x.com/SuccinctJT/status/1882435762190504143): - 在 [**32 核 CPU**](https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+Threadripper+PRO+7...

文章 第十四章. 二层应用 #4 - Stacks

... ) } ``` 以及**testnet/stacks-node/src/node.rs**: ``` /// Constructs and returns a LeaderBlockCommitOp out of the provided params fn generate_block_commit_op( &mut self, block_header_hash: BlockHeaderHash, burn_fee: u64, key: &RegisteredKey, ...

文章 Web3系列教程之入门篇---11. DAO

... uint256 NFTPrice = 0.1 ether; /// @dev purchase() accepts ETH and marks the owner of the given tokenId as the caller address /// @param _tokenId - the fake NFT token Id to purchase function purchase(uint256 _tokenId) external payable { require(msg.value == NFTPrice, "...

文章 optimism sequencer背后的魔法(二):op-stack中区块的传递

原文链接:https://github.com/joohhnnn/Understanding-Optimism-Codebase-CN/blob/main/sequencer/01-how-block-sync.md 作者:[joohhnnn](https://github.com/joohhnnn) # optimism中区块的传递 区块的传递是整个optimism rollup系统中较为重要的概念,在这一章节,我们...

文章 赔付曲线序列化

...范德蒙德矩阵](https://en.wikipedia.org/wiki/Polynomial_interpolation#Constructing_the_interpolation_polynomial) 或 另一种替代方法,[差商](https://en.wikipedia.org/wiki/Newton_polynomial#Divided-Difference_Methods_vs._Lagrange) 方法。 请注意,虽然以下内容可能看起来...

文章 剖析go-ethereum源码--->2. ethereum node如何工作

...stack, true) defer stack.Close() // Attach to the newly started node and create the JavaScript console. client := stack.Attach() config := console.Config{ DataDir: utils.MakeDataDir(ctx), DocRoot: ctx.String(utils.JSpathFlag.Name), Client: client, Preload: utils.MakeConsolePre...