找到约 12 条结果

文章 APR 与 APY:哪个更重要?- CoW DAO

## APR vs APY:哪个更重要? · 你是否曾经涉足 DeFi,却只遇到诸如“收益耕作”、“质押奖励”之类的术语,以及看起来好得令人难以置信的百分比?你不是一个人!你将遇到的两个最常见的术语是 APR(年化利率)和 APY(年化...

文章 Nibiru拉格朗日点:高性能多虚拟机区块链的新标准

... 拉格朗日点:高性能多 VM 区块链的新标准](https://img.learnblockchain.cn/2025/06/26/76839632_image.png) #### **为实时消费者应用程序定制设计** #### **快速概览 | TL;DR** 作为拉格朗日点升级的一部分,Nibiru 从根本上修改了其 Layer-1 架...

文章 Michael.W基于Foundry精读Openzeppelin第28期——ConditionalEscrow.sol

...ayee deposit时的区块高度 mapping(address => uint) _latestDepositBlockNumber; // 重写Escrow.deposit(),使得每次owner调用deposit时记录当前的区块高度 function deposit(address payee) public payable override { // 记录owner本次为payee deposit时的区...

文章 Michael.W基于Foundry精读Openzeppelin第13期——Checkpoints.sol

...kpoints.History; Checkpoints.History _history; function getAtBlock(uint blockNumber) external view returns (uint) { return _history.getAtBlock(blockNumber); } function getAtProbablyRecentBlock(uint blockNumber) external view returns (uint){ return _history...

文章 区块链基本知识入门(技术向)

... 看下面的一个区块的完整信息示例: ![img](https://img.learnblockchain.cn/attachments/migrate/1731730293750) * 本区块的hash值;(第一个圈起来的) * 记账时间戳 * 区块高度(第640298个区块) * 随机数 本次奖励的比特币(这是第三个210000...

文章 在Solidity中实现DAO:从概念到代码的全面剖析

...osal.value = _value; proposal.data = _data; proposal.startTime = block.timestamp; proposal.executed = false; emit ProposalCreated(proposalId, msg.sender, _to, _value, _data); } ``` **代码分析**: - **修饰符**:`onlyMember`确保调用者是成员且持有...

文章 以太坊2.0权益证明:开发者需要了解的事项

...0x44 DIFFICULTY 操作码将被 PREVRANDAO 取代。这一变化与使用 `block.difficulty` 作为伪随机源的合约向后兼容,因此开发者不需要进行更改。 - 最重要的是,连续槽的矿工可提取价值(MEV)可能会使先前的安全假设无效。开发者应假设攻...

文章 大区块、Blob与重组 - 分片

...图中,可以看到 Blobs 对以太坊数据吞吐量的影响:** [![block_content_over_time](https://img.learnblockchain.cn/2025/07/04/992968f3269c56752a8fc1ce4805ff35f91c1f03.png)\\ block\_content\_over\_time700×400 16.7 KB](https://ethresear.ch/uploads/default/original/3X/9/9/992968f3269c56...

文章 跟我学 Solidity : 变量的存储

...请继续关注即将发布的文章。 ## 参考文献 1. Storage vs. Memory vs. Stack in Solidity & Ethereum: https://dlt-repo.net/storage-vs-memory-vs-stack-in-solidity-ethereum/ 2. The Ethereum Virtual Machine: https://fullstacks.org/materials/ethereumbook/14_evm.html 3. ETHEREUM VIRTUAL...

文章 用 Python 解锁 Web3:以太坊日志解析实战

...pt for {tx_hash}: {e}") raise def get_logs(self, start_block: int, end_block: int, addresses: list): """获取指定区块范围内的日志""" try: filter_params = { "fromBlock": start_block, "toBlock": end_block, ...

文章 Gas价格市场的快速分析

...对于每个区块,它包含如下形式的对象: ```json { "block":4710000, "coinbase":"0x829bd824b016326a401d083b33d092293333a830", "deciles":[40,40.1,44.100030001,44.100030001,44.100030001,44.100030001,44.100030001,44.100030001,50,66.150044,100], "free":10248, "t...

文章 在Solidity中实现状态机:从零到英雄的技术分析

...wner = msg.sender; fundingGoal = _fundingGoal; fundingDeadline = block.timestamp + _durationInSeconds; currentState = State.Funding; } function contribute() external payable { require(currentState == State.Funding, "Not in Funding state"); require(block.timestamp < fundi...