找到约 14 条结果

文章 GFA 攻击事件

...Sender].push( RewardData(rewardSender, amount, remain, price, block.timestamp) ); _totalRemainCnt += remain; } ``` 生成奖励的函数 ```solidity function generateReward(uint256 coinPrice) public uint256 pawnPrice = reward[rewardKeys[i...

问题 根据https://docs.bnbchain.org/docs/validator/fullnode#sync-from-snapshot-recommended

...12000 --rpc.allow-unprotected-txs --syncmode=full --pruneancient=true --block-amount-reserved 15000000 目的:同步bsc区块数据,只保留最新的15000000个区块。 遇到的问题:正常同步区块一段时间后。就一直是在输出“current status”相关的日志。 !...

文章 BRC-20, from Newbie to be Awesome

![brc20-newbie-to-awesome.png](https://img.learnblockchain.cn/attachments/2024/01/hMnpZOSX65b3d03a92313.png) > **BRC-20 named B is completely different with ERC-20 named E**. It has a similar name, but what's the difference between B and E? B will bring about an electronic version of a text proto...

文章 掌控 Solidity:事件日志、继承和接口的深度解析

...han 0"); } projectCount++; uint256 deadline = block.timestamp + duration; projects[projectCount] = Project(msg.sender, title, description, targetAmount, 0, deadline, false); emit ProjectCreated(projectCount, msg.sender, title, targetAmount, deadline); ...

文章 DeFi 3.0

...为治理投票权重分配提供抗Sybil攻击基础 ## DeFi 3.0 vs 2021 DeFi 的范式对比 | **对比维度** | **2021 DeFi(2.0)** | **2023 DeFi(3.0)** | | --------- | -------- | ---------- | | **流动性来源** | 通胀激励的流动性挖矿 | RWA收益驱动 + ...

文章 每周以太坊进展2022/11/26

...iles):可订阅的 NFT 扩展 ## 开发者资料 * Hardhat for VS Code [v0.6.0](https://github.com/NomicFoundation/hardhat-vscode/releases/tag/v0.6.0):对 Foundry 和 hybrid 项目的实验性支持 * Proof 的 [Solidify](https://github.com/proofxyz/solidify#readme):golang + Solid...

文章 宣布Zeth:首个 Type0 zkEVM

![宣布 Zeth:首个 Type Zero zkEVM](https://img.learnblockchain.cn/2025/03/30/14775783_image.jpg) 今天我们发布了 [Zeth](https://github.com/risc0/zeth),一个基于 RISC Zero [zkVM](https://dev.risczero.com/zkvm) 的开源 ZK 区块证明器,用于以太坊。Zeth 使得可以 **...

文章 Web3系列教程之进阶篇---1. Layer 2

## Layer 1 vs Layer 2 ### Layer 1 第1层区块链(也称为父链或根链)通常是用来描述一个主要区块链网络协议的名称,如以太坊或比特币。第1层区块链只是第2层扩展解决方案所依附的主网络,以提高主链或第1层的可扩展性和交易...

文章 Chainlink Oracle 安全考量

...机的安全考虑 ![Chainlink 预言机 DeFi 攻击](https://img.learnblockchain.cn/2025/02/26/17-S6ukG20FZ7hzKs_9i_kA.jpeg) [Chainlink](https://chain.link/) 允许智能合约开发者接收多种链外数据,其中最常用的功能是接收链外随机性和链外定价数据。将你的...

文章 Socket事件报告,1月16日

...9a3%2Fac1d8084-0f04-47f8-8bfb-ab32165afea1%2FFrame_427320806_(2).png?table=block&id=9aba3bbf-0881-4fc4-9e4f-2ffb58284912&spaceId=3ff6c9ca-a668-43fc-b125-7cac785409a3&width=2000&userId=&cache=v2) ![Page icon](https://img.learnblockchain.cn/2025/07/18/80781383_image.png) ## 1月16日 Socket 事件...

文章 如何在合约中集成 Uniswap v3

...s://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) > * 校对:[Tiny 熊](https://learnblockchain.cn/people/15) > * 本文永久链接:[learnblockchain.cn/article…](https://learnblockchain.cn/article/2580) ## Uniswap v3的新内容及集成...

文章 Ethernaut学习之路 Denial

... // keep track of last withdrawal time timeLastWithdrawn = block.timestamp; withdrawPartnerBalances[partner] += amountToSend; } // allow deposit of funds receive() external payable {} // convenience function function contractBalance() public vie...

视频 Pevm:Reth的并行EVM - @hai_rise - Frontiers

...临核心状态冲突的问题。 3. **解决方案**:演讲者介绍了Block STM算法的应用,尽管其在EVM中并不完全适用。提出了一种懒惰更新的方法,允许在交易执行时不立即计算状态,而是在区块结束时进行评估,从而提高了并行处理的效...

文章 如何使用 Ormi Labs 部署 subgraph

...们,请查看[如何使用 The Graph 创建自定义子图](https://learnblockchain.cn/article/11837?utm_source=internal&utm_campaign=guides&utm_content=how-to-deploy-a-subgraph-with-ormi-labs)指南。 ### 你将要做的事 - 在 QuickNode 上启用 [Ormi Labs' Subgraph](https://marketplace.qu...