找到约 14 条结果

文章 使用 Halmos 进行现代不变性测试

...可以在这里找到:[https://github.com/0xkarmacoma/halmos-invariants-sandbox](https://github.com/0xkarmacoma/halmos-invariants-sandbox) ## 支持完整的 Vat 合约,手动编写的方法 ### 使用 svm.createCalldata(address) Halmos 现在支持一些方便的 cheatcode (请参见 [a16z/h...

文章 EIP-3074 简介

...接,留下你的反馈:[https://ethereum-magicians.org/t/eip-3074-auth-and-authcall-opcodes/4880/49](https://ethereum-magicians.org/t/eip-3074-auth-and-authcall-opcodes/4880/49)。 最后,如果你对我们的工作感兴趣,我们的团队正在火热招聘中。我们致力于对以太...

文章 SUI Move开发必知必会——使用SUI DeepBook构建DEX-1:入门篇

...,欢迎大家指正。 参考资料: - https://docs.sui.io/standards/deepbook - https://github.com/MystenLabs/sui/tree/main/crates/sui-framework/packages/deepbook - https://dacade.org/zh/communities/sui/challenges/19885730-fb83-477a-b95b-4ab265b61438/learning-modules/fc2e67a1-520...

文章 Sui Move 实现一个简单的票务系统

...kage_services_ids: vector, income: Balance, } ``` ## 2.5 Service and PackageServices - Service 单项服务,只需要服务名称和其价格: ```move public struct Service has store, drop { service_name: String, price: u64, } ``` - PackageServices 服务套...

文章 The Graph监听合约事件:从部署到查询

...@latest npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated rimraf@2.7.1: Rimraf versio...

文章 Walrus 一个去中心化存储与数据可用性协议

...本文翻译来自官网 [Announcing Walrus: A Decentralized Storage and Data Availability Protocol](https://docs.walrus.site/blog/01\_announcing_walrus.html#announcing-walrus-a-decentralized-storage-and-data-availability-protocol)

文章 EIP-7702:步骤、存储安全与链上钱包的未来

.../07/16/22808857_image.jpg) [https://mapleblock.capital/blog/may-2024-eips-and-the-state-of-the-ethereum-ecosystem/](https://mapleblock.capital/blog/may-2024-eips-and-the-state-of-the-ethereum-ecosystem/) 这里有一个通过 EIP-7702 进行 EOA 授权的快速摘要:[https://learnblockchain.cn/...

文章 Solana Anchor 发布了新版本 0.30

....0", "description": "Created with Anchor" } } ``` ## Accounts and events as type 帐户和事件类型信息过去分别存储在它们自己的属性、帐户和事件中。这产生了一个问题,在某些情况下找不到类型,因为类型字段中不存在类型定义。 ...

文章 构建基于区块链的葡萄酒市场:技术之旅

... public onlyOwner { require(tokenIds.length == uris.length, "Token IDs and URIs length mismatch"); for (uint256 i = 0; i < tokenIds.length; i++) { safeMint(to, tokenIds[i], uris[i]); } } ``` ### _管理所有权和 tokenURI_ 此代码启用 NFT 所有权的转移,同时更...

文章 Babylon Chain (BABY):Cosmos区块链技术架构

...模块、BTC [轻客户端](https://ethereum.org/en/developers/docs/nodes-and-clients/light-clients/) 模块、区域礼宾模块、BTC 质押模块、最终性模块和激励模块。 - **Vigilante relayers** - 一套负责在 Babylon 和 Bitcoin 网络之间中继数据的程序。 - **监控器...

文章 第五阶段:法规遵从与风险管理 - 第二部分:智能合约安全与合规

.../genesis-hukuk/an-absolute-guide-for-tokenization-processes-with-questions-and-considerations-ff3bb61a2cda) 在第五阶段的第 2 部分,我们将深入探讨确保**智能合约安全与合规**的基本法律和监管考量。本节将讨论关键方面,包括法律审查、管辖权挑战...

文章 详解 TON (Blockchain Platform)

...ttps://docs.ton.org/participate/wallets/contracts) 。节 [9.2.1](https://aandds.com/blog/ton.html#org0000006), [9.2.2](https://aandds.com/blog/ton.html#org0000008) 中有 V4R2/V5R1 帐户合约地址的推导代码。 #### 2.2. 地址类型 TON 有两种风格的地址: 1. Raw 格式,...

文章 基础篇-引用与借用

... &s; // 没问题 let r3 = &mut s; // 错误 println!("{}, {}, and {}", r1, r2, r3); ``` 错误信息: ``` $ cargo run Compiling variables v0.1.0 (/projects/variables) error[E0502]: cannot borrow `s` as mutable because it is also borrowed as immutable --> src/main.rs:6:14 ...

文章 DAO的法律考量

...基础知识](https://blockapps.net/blog/the-fundamentals-of-the-metaverse-and-web3/) - [去中心化系统实现的网络安全未来](https://blockapps.net/blog/the-future-of-cybersecurity-with-decentralized-systems/) - [通证化及其对商业的影响](https://blockapps.net/blog/tokenization-an...