找到约 14 条结果

文章 【zkMIPS系列】ZKM Prover之模拟器(Emulator)的运行

...ltiplier/divider result low(quotient) part. lo: u32, /// heap handles the mmap syscall. heap: u32, /// brk handles the brk syscall brk: u32, /// tlb addr local_user: u32, /// step tracks the total step has been executed. pub step: u64, pub tota...

文章 Rust VM SDK:使用 Rust 在 Avalanche 上构建自定义虚拟机

...e messenger, keystore, shared memory, blockchain alias, // subnet alias, and appSender services string server_addr = 11; } ``` 当 AvalancheGo 初始化 VM 时,会发出初始化请求。收到此请求后,VM 可以设置 VM 和 Snowman 共识引擎之间的通道,并配置由 AvalancheGo...

文章 如何在Fantom链上开发并部署智能合约

...61dd2720440c9.jpg) *原文链接:https://blog.chain.link/how-to-build-and-deploy-a-smart-contract-on-the-fantom-blockchain-zh/* 随着多链生态的发展,像Fantom这样的区块链提供了高吞吐量、低交易成本和即时确定性等特性--这对那些希望在大多数Layer-1...

文章 层级化NFT标准诞生:EIP-6150

...下: ```javascript /** * @title ERC-6150 Hierarchical NFTs Token Standard * @dev See https://eips.ethereum.org/EIPS/eip-6150 * Note: the ERC-165 identifier for this interface is 0x897e2c73. */ interface IERC6150 is IERC721, IERC165 { /** * @notice Emitted when `tokenId` tok...

文章 深入 Uniswap V4 源码 - Position 库

...lidity /// @notice Returns the State struct of a position, given an owner and position boundaries /// @param self The mapping containing all user positions /// @param owner The address of the position owner /// @param tickLower The lower tick boundary of the position /// @param tickUpper The up...

文章 跨程序调用和 PDAs——Anchor 上两种强大机制的结合

....to/aseneca/cross-pro...](https://dev.to/aseneca/cross-program-invocations-and-pdas-the-combination-of-two-powerful-mechanism-on-anchor-4b93) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 如何使用 OpenZeppelin Defender 保护你的智能合约

...类似于[Gelato的Web3功能](https://www.buildbear.io/resources/guides-and-tutorials/gelato_tutorial),自动化任务以优化dApp的开发和操作过程。 **对于Web3应用技术团队**:以上所有内容简单实用,易于理解。 **对于CXO(除了CTO)**:你可能只会关心...

文章 量化MEV——推出MEV-Explore v0

...年的研究论文 [Flash Boys 2.0: Front Running, Transaction Reordering, and Consensus Instability in Decentralized Exchanges](https://arxiv.org/abs/1904.05234)中引入,意为矿工可提取价值。然而,MEV 存在于所有智能合约区块链上,只要有一方负责交易排序,包...

文章 合约安全之-变量隐藏安全问题分析

...除任何歧义。 # 4.参考 Smart Contract Weakness Classification and Test Cases中对变量隐藏的解释 [](https://swcregistry.io/docs/SWC-119)[https://swcregistry.io/docs/SWC-119](https://swcregistry.io/docs/SWC-119)

文章 密码学入门:椭圆曲线初步揭秘

...你得到了点_R = P + Q_! 此过程称为_弦切线规则_(chord-and-tangent rule),正是我们寻找的_群运算_。 第一次接触这个概念时,我的反应是"多么奇特的流程"。我不禁自问:_究竟为何需要翻转第三个交点_?深入探究后,只能说...

文章 深入探索Solana交易的底层机制:从PoH到BPF执行

...于 PoS 的更多信息](https://docs.solana.com/cluster/stake-delegation-and-rewards)。 ## **2\. 背后发生了什么?** 一旦验证,交易将移交给 Solana 的处理引擎。此时,Solana 的独特 **基于账户的模型** 就发挥作用了: • **账户作为状态机**...

文章 第 8 章. 智能合约和 Vyper

...饰(但不能同时装饰!)。 ## 函数和变量排序 (Function and Variable Ordering) Vyper 处理作用域和声明的方法遵循 C99 作用域规则,这些规则提供了比你最初预期的更大的灵活性。虽然 Vyper 合约仍然必须包含在单个文件中(除非你...

文章 使用 DNS 来协调比特币支付

... [BOLT12 闪电要约](https://bitcoinmagazine.com/technical/bolt12-lnurl-and-bitcoin-lightning)。 这些记录可以从任何 DNS 服务器、你自己的本地服务器、你的互联网服务商、甚至是谷歌和 Cloudflare 这样的公开服务器上拉取得到。从这个基本角度看...

文章 每周以太坊进展 2022/1/15

.../01/12/celer-inter-chain-message-framework-the-paradigm-shift-for-building-and-using-multi-blockchain-dapps/)上线测试网,单击 UX 发送任意消息并执行指令。 * 采用 Optimism 和 Arbitrum 与侧链的[对比曲线图](https://twitter.com/ethdreamer/status/1480676820026597377)(线...