找到约 14 条结果

文章 OpenZeppelin ERC777 源码解析

... 操作员没有权限调用(除非经过approve) // 触发 `Sent` and `Transfer`事件 function transferFrom(address holder, address recipient, uint256 amount) external returns (bool) { require(recipient != address(0), "ERC777: transfer to the zero address"); requir...

文章 如何定义 Bitcoin L2 以及包容性视角的 L2

...ew tab)](https://www.btcstudy.org/2023/01/10/overview-of-the-main-concepts-and-features-of-the-rgb-design/),同时也利用 Bitcoin 的区块空间来公布交易承诺,提供了一种 Offchain 的编程环境。它的优势是完全匹配 UTXO 模型,不依赖全局状态,保证了隐私,...

文章 CREATE3 多鏈部署合約於相同地址

...做 [RLP encoding](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/#definition),如下圖: ![](https://img.learnblockchain.cn/2025/04/09/1zSPfXw1iuqFF8t1431IqNg.png) [https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol](https://github.com/transmi...

文章 智能合约在以太坊上的工作原理概述

...被 [RLP 编码](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/) 并用 [keccak-256](https://github.com/ethereum/eth-hash) 算法哈希。 智能合约主要使用 Solidity 编写,通常使用 [Ethereum Remix IDE](https://remix.ethereum.org/) 部署和测试。Remix I...

文章 密码学基础:同态与同构

...ngon...](https://medium.com/@francomangone18/cryptography-101-homomorphism-and-isomorphisms-65ba2610f90a) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,在这里修改,还请包涵~

文章 以太坊核心开发者会议 #84

...watch?v=JqxVvJBhTxo **会议日程:** 1. EIP 回顾 * EIP-1962 and EIP-2537 * EIP-2515 – 难度炸弹 * EIP-2315 EVM的简单子网络 * EIP-2456 基于时间的升级 3. 柏林时间 4. Penalties for trie misses 5. 测试更新 6. EIPIP 调查问卷 **会...

文章 终极 Web3 安全路线图:如何成为 Web3 审计员并获得成功

...earning.oreilly.com/library/view/mastering-ethereum-2nd/9781098168414/) by Andreas Antonopoulos。 **_[精通以太坊](https://github.com/ethereumbook/ethereumbook): [精通以太坊(第一版)](https://github.com/ethereumbook/ethereumbook)_** by Andreas Antonopoulos and Gavin Wood。 [**...

文章 DAO治理攻击及其规避方法

...crypto.com/) _的研究负责人。_ \\*\\*\\* _致谢:我们感谢_ [_Andy Hall_](https://twitter.com/ahall_research) _的有益评论和建议。特别感谢我们的编辑,_ [_Tim Sullivan_](https://twitter.com/Tim_Org) _。_ \\*\\*\\* _披露:Kominers 持有多种加密代币,并且...

文章 从创建到保管的代币发行操作指南

...](https://a16zcrypto.com/posts/videos/introduction-to-validating-bridges-and-layer-2-protocols/) 互动的协议——可能会延长过程。与此同时,基于以太坊构建的代币,例如ERC-20和NFT,或基于Solana构建的代币,例如Solana程序库(SPL)代币更为直接,可...

文章 一文读懂区块链技术

...由社区所拥有的[区块链游戏](https://chain.link/use-cases/nfts-and-blockchain-games)。未来可能会出现各种互操作性的区块链游戏或甚至[元宇宙](https://blog.chain.link/what-is-the-metaverse/),游戏玩家还将可以跨不同游戏交易游戏资产。 ### 供应...

文章 每周以太坊 2024/1/13

...1)才能进行更改 - Marius van der Wijden: [风险](https://mariusvanderwijden.github.io/blog/2024/01/11/GasLimit/)包括错过的区块率、状态大小、历史大小、同步时间和客户端多样性 - Ansgar Dietrichs:EIP4844 相当于[额外增加约 1100 万 gas](https://twitte...

文章 以太坊使用最小Gas克隆合约-合约工厂

...dd(clone, 0x40) extcodecopy(query, other, 0, 0x2d) result := and( eq(mload(clone), mload(other)), eq(mload(add(clone, 0xd)), mload(add(other, 0xd))) ) } } } contract MetaCoinCloneFactory is CloneFactory, Ownable { MetaCoinClonable[] public me...

文章 Sig工程 - 第7部分 - Solana 验证器 AccountsDB和Gossip内存优化

...以下是 Linux 内核在幕后所做事情的摘要: - 调用了 [`handle_mm_fault`](https://github.com/torvalds/linux/blob/81e4f8d68c66da301bb881862735bd74c6241a19/mm/memory.c?ref=blog.syndica.io#L6165),启动(非特定于架构的)缺页故障处理。 - 由于我们的映射是只读的...

文章 如何升级Truffle到v5.0.0使用Solidity v0.5.0新特性?

...dules/keccak/build' gyp ERR! System Linux 4.13.0-46-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/truffle/node_modules/keccak gyp ERR! node -v v9.11.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! ...