找到约 15 条结果

文章 通过 BuildBear 实现OriginX开发的更快开发和测试

...//medium.com/buildbear/how-manoranjith-shankar-achieved-faster-development-and-testing-of-originx-development-using-666af690b912) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 Uniswap V2 详解:含代码示例的完整指南

...户友好,可升级 contract UniswapV2Router02 { // Safety checks and convenience functions // 安全检查和便捷功能 } ``` ## 设置你的合约 要与 Uniswap V2 交互,你需要创建路由合约的一个实例: ``` pragma solidity ^0.8.0; ``` ``` import "@u...

文章 集成 EIP 6963 - 给前端开发者的指南

...ider; } ``` [公告](https://eips.ethereum.org/EIPS/eip-6963#announce-and-request-events) > `EIP6963AnnounceProviderEvent` 接口必须是一个 `CustomEvent` 对象,其 `type` 属性包含一个字符串值 `eip6963:announceProvider`,并且其 detail 属性包含一个类型为 `EIP6963...

文章 2022:22张定义加密货币年度的图表

...//www.coindesk.com/learn/the-fall-of-terra-a-timeline-of-the-meteoric-rise-and-crash-of-ust-and-luna/)。 它同样引起了监管机构与投资者的关注。在仅仅四个月后,众议院委员会便[起草](https://www.bloomberg.com/news/articles/2022-09-20/house-stablecoin-bill-would-put-...

文章 Eigenlayer EigenPod 合约介绍

... * [过时证明](#staleness-proofs) * [合并和提款](#consolidations-and-withdrawals) * [其他方法](#other-methods) #### 重要定义 Pod Owner: 部署了 `EigenPod` 的 Staker 称为 Pod Owner。这两个术语在本文档中可以互换使用。 * Pod Owner 只能部署一个 `Eig...

文章 如何高效地为智能合约审计做好准备

...ockchain.cn/docs/solidity/security-considerations.html#private-information-and-randomness)。 - [重入](https://learnblockchain.cn/docs/solidity/security-considerations.html#reentrancy)。 - [Gas限制和循环](https://learnblockchain.cn/docs/solidity/security-considerations.html#reentrancy)。 - ...

文章 智能合约安全中单元测试的作用 – ImmuneBytes

...之前正确更新状态。 - **整数溢出和下溢 (Integer Overflows and Underflows):** 避免导致经济损失的意外计算。 - **访问控制问题 (Access Control Issues):** 验证只有授权用户才能执行特权函数。 #### **3. 确保业务逻辑的完整性** 单元测试...

文章 ERC-4626 Vaults和类Vault合约的共享漏洞:深度分析 第2部分

...arbitraryexecution.com/blog/shared-vulnerabilities-between-erc-4626-vaults-and-vault-like-contracts-deep-dive-part-1),并确定了符合 ERC-4626 的 vault 合约、非 ERC-4626 的 vault 合约和类 vault 合约之间的共同特征,我们可以讨论这些合约之间共有的漏洞。为了...

文章 BOLT 1:基础协议

...端数据。 ### 目录 * [连接处理和多路复用](#connection-handling-and-multiplexing) * [Lightning 消息格式](#lightning-message-format) * [类型-长度-值格式](#type-length-value-format) * [基本类型](#fundamental-types) * [设置消息](#setup-messages) * [`init`...

文章 ETH2进展更新(截至2020/6/27)

...ttps://cointelegraph.com/news/ethereum-20-the-choice-between-ones-own-node-and-a-staking-service),探索了这两种方式。在下文的“其他资讯”板块中,可获得更多相关信息。 CoinTelegraph的另一篇文章则权衡了Eth2给以太坊生态系统带来的[好处和风险](ht...

文章 Custard——提升超级交易的用户体验——第二层网络

...款请求具有简单的“[L1 输出条件](https://ethresear.ch/t/fast-and-slow-l2-l1-withdrawals/21161#p-51550-glossary-of-smart-contracts-and-transactions-used-5)”——它们只需要验证代币是否到达特定的 L1 地址。这种简单性使得无需实时证明即可进行原子提款...

文章 Sui 极速上手 | Move dApp 极速入门(拾贰)

...next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by Move. ## 0x01 安装 Sui 的二进制程序集 1)检查 `Rust` 版本: ```bash $ rustc --version rustc 1.65.0 (897e37553 2022-11-02) $ cargo --version cargo ...

文章 optimism sequencer背后的魔法(五):L2派生(derivation)原理

原文链接:https://github.com/joohhnnn/Understanding-Optimism-Codebase-CN/blob/main/sequencer/04-how-derivation-works.md 作者:[joohhnnn](https://github.com/joohhnnn) # opstack是如何从Layer1中派生出来Layer2的 在阅读本文章之前,我强烈建议你先阅读一下来自`op...

文章 Web3 开发实战:用 Anchor 打造 Solana 猜数游戏

...看帮助信息 ```bash anchor help Usage: anchor [OPTIONS] Commands: init Initializes a workspace build Builds the workspace expand Expands macros (wrapper around cargo expand) verify Verifies the on-chain bytecode matches the locally compiled artifact. Run this ...

文章 计算机的未来会是什么?

...erry,但智能手机的增长阶段真正是在 2007-2008 年 iPhone 和 Android 发布时开始的。智能手机的普及迅速上升:今天大约有 20 亿人拥有智能手机。到 2020 年,[全球约 80% 的人口](http://ben-evans.com/benedictevans/2014/10/28/presentation-mobile-is-eati...