找到约 15 条结果

文章 sui-move基础(四):letsmove-task3

...e attribute can be a field on the object that defines the NFT itself. This construct provides a much more straightforward process for accessing metadata for the NFT as the smart contract that wants the information can just return the name from the object itself. 翻译一下(来自gpt): ...

文章 【zkMIPS系列】Poseidon hash设计流程 & 代码

... # 1. 海绵结构 Poseidon哈希函数采用下面的海绵结构(Sponge Construction)来进行设计,其中P是Posedion每轮的置换函数,$I$是初始状态。假设初始状为$I$为全$0$向量,有一个消息$m=m_1||m_2||m_3||m_4$,输出为$h=h_1||h_2$,且每个$m_i$和$h_i$都...

文章 move基本数据类型(二)

...an instance of the `IgnoreMe` struct and ignore it. // Even though we constructed the instance, we don't need to unpack it. fun test_vec() { //声明一个具有三个元素的向量 let mut v = vector[10, 20, 30]; //通过push_back方法,添加值为5的元素...

问题 我设置两个营销钱包,代币从lp地址进入子合约,不知道是不是没有自动卖出(没有我设置的分发usdt),返回营销钱包失败。帮我看下哪里错误

...t is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decr...

文章 为以太坊构建实用的zkSNARKs,使用Rust与Alex Vlasov

...referrer=https%3A%2F%2Fblog.matter-labs.io%2Fedcon-hack-practical-zksnarks-constructing-for-ethereum-afe6fa008166&embeds_referring_euri=https%3A%2F%2Fcdn.embedly.com%2F&embeds_referring_origin=https%3A%2F%2Fcdn.embedly.com) 0:00 0:00 / 1:08:07•直播 • [在 YouTube 上观看](https://www.you...

文章 Poseidon哈希作为EVM预编译合约的计算成本分析

...添加。 Poseidon 是一种相对较新的哈希函数,基于 [sponge construction](https://keccak.team/files/CSF-0.1.pdf),它使用遵循 [Hades strategy](https://eprint.iacr.org/2019/1107) 构建的置换。 先前的研究 ([Grassi et al. 2021](https://eprint.iacr.org/2019/458.pdf)) 表明...

文章 《现代管理》eonDAO:一种基于区块链治理哲学的去中心化组织的自组织治理实验

...a typical blockchain decentralized autonomous organization is designed and constructed. Through the careful design of the core rules design, extension mechanism and consensus mechanism and decision-making mechanism to improve organizational management efficiency, reduce organizational management cos...

文章 在 ECDSA 之上使用 Lamport Signature 签名比特币交易

...献,请给我发邮件。任何错误都归属于我自己。 \[1\]: “Constructing Digital Signatures from a One Way Function”, Leslie Lamport (1979), [https://www.microsoft.com/en-us/research/publication/constructing-digital-signatures-one-way-function/](https://www.microsoft.com/en-us/res...

文章 BTC Lisp 作为 Script 的一种替代

... atom 元素,则返回 nil | | `b`(二叉树) | 0x20 | ENV… | | construct a balanced, left-biased binary tree consisting of each of the arguments构造一棵由所有参数组成的、平衡的、左偏的二叉树 | | `not`(与非门) | 0x09 | A B … | `not` | 如果 A、B … 全都...

文章 ERC20相关业务的合约开发与合约安全

...t is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decr...

文章 引介 Constantine - 用于证明系统和区块链协议的高性能密码学开源库

...否认它 **图例** - :white_check_mark:: 完全支持 - :building_construction:: 部分支持: - 在 C 中,未提供某些 API。 - 在 Rust 中,只有低级 constantine-sys API 可用,但没有高级包装器。 - :see_no_evil:: 缺少支持 #### 协议 Constantine 在...

文章 BTC Lisp 作为 Script 的一种替代

...二叉树) | 0x20 | ENV… | | construct a balanced, left-biased binary tree consisting of each of the arguments构造一棵由所有参数组成的、平衡的、左偏的二叉树 | | `not`(与非门) | 0x09 | A B … | `not` ...

文章 Move 高阶语法 | 共学课优秀笔记

...以资源的形式储存在 account 账户下面 **How to use?** - construct a capability resource and `move_to` the receiptor. - 定义一个 Capability 的 type,比如 ownerCapability 表示是一个 module 的拥有者,把这个资源对象发送给其他人,别人有了这个资源...

文章 DOT 钱包开发详细教程丨区块链技术培训课程 #17

... 离线签名 - https://wiki.polkadot.network/docs/build-transaction-construction - 代币精度:10 ``` const metadataRpc= "调用 state_getMetadata 返回的数据填充到这里" const {Keyring} = require("@polkadot/api"); const { methods, getRegistry, construct} = require("@sub...

文章 如何使用 Runes API 在 Bitcoin 网络上开发 Web3 应用

...THE•MOON' # This should match the exact identifier used in the API # Construct the complete API request URL url = f'{base_url}/btc/rune/{rune_identifier}' # Send an HTTP GET request and retrieve the response response = requests.get(url) # Check the response status code if response.sta...