找到约 15 条结果

文章 Libra 白皮书中英文对照版

...lability of the protocol and implementation. * The Libra Association will construct well-documented APIs and libraries to enable users to interact with the Libra Blockchain. * The Libra Association will create a framework for the collaborative development of the technology behind the Libra Blockcha...

文章 sui-move基础(三):letsmove-task2

...mation about the transaction currently being executed. /// This cannot be constructed by a transaction--it is a privileged object created by /// the VM and passed in to the entrypoint of the transaction as `&mut TxContext`. public struct TxContext has drop { /// The address of the user that ...

文章 用Substrate框架实现一个简单的游戏应用

... 最后,我们需要在运行时构造函数中包含demo模块: ``` construct_runtime!( pub enum Runtime with Log(InternalLog: DigestItem) where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic { System: system::{default, Log(ChangesT...

文章 Sui Move 学习:Object & 四种能力

...ate an instance of the `IgnoreMe` struct and ignore it. // Even though we constructed the instance, we don't need to unpack it. fun test_ignore() { let no_drop = NoDrop {}; let _ = IgnoreMe { a: 1, b: 2 }; // no need to unpack // The value must be unpacked for the code to compile....

文章 《智能电网》基于充电桩的分布式能源解决方案

...nd analyzes the specific application of blockchain in electric energy, and constructs a new intelligent product. This paper starts from the perspective of blockchain-based charging piles, and carries out specific development of its product design, power transmission process and value generation meth...

文章 2021.02 - Substrate 技术更新速递

...e Chain)的一个重要功能。 * [在Substrate的单元测试中使用construct_runtime!宏](https://link.zhihu.com/?target=https%3A//g%3Ccode%3Eithub.com/parityte%3C/code%3Ech/substrate/pull/8059) - `construct_runtime!`生成的`PalletInfo`实现能够返回唯一的模块名作为存储项的...

文章 加密货币中的代币经济学:关于代币化房地产,你需要了解什么

... [研究表明](https://www.ey.com/en_ch/insights/real-estate-hospitality-construction/tokenization-from-illiquid-to-liquid-real-estate-ownership),代币化解决了房地产投资的传统流动性不足问题。全球房地产市场的价值约为 302 万亿瑞士法郎,通过代币化可以...

文章 STARK 证明系统时序图

... PhaseAnyone with access to the binary file and thepublic parameters can reconstruct the Image ID. Note over P: Execute the binary toconstruct the Main Execution Trace. Note over P: Compute Low DegreeExtension to construct theExtended Main Execution Trace. Note over P: Merklize Extended Mai...

文章 二层网络 Optimism 智能合约要点解析

... uint32 _l2Gas, bytes memory _data ) internal { // Construct calldata for finalizeDeposit call bytes memory message = abi.encodeWithSelector( IL2ERC20Bridge.finalizeDeposit.selector, address(0), Lib_PredeployAddresses.OVM_ETH, ...

文章 Substrate 总览(3) - 入门参考

...strate根目录上,执行 ``` cargo run -- --dev -d .sub --block-construction-execution=NativeElseWasm --other-execution=NativeElseWasm ``` 即可和`new-S`一样运行起以Alice为私钥启动的单验证者节点。 这里提一下,在这个版本的substrate里面存在一...

文章 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): ...

文章 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的元素...

文章 【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$都...

文章 为以太坊构建实用的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...

问题 我设置两个营销钱包,代币从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...