找到约 15 条结果

文章 Web3 极客日报 #1559

...l-framework/ **Harry**: 可以用它来实现一个叫做 Strobe Duplex Construction 的 primitive。实现的 Strobe 对象应能响应十几种调用,将这些调用组合在一起,就能生成随机数、派生密钥、散列、加密、验证,甚至构建复杂的对称协议。

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

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

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

... [研究表明](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...

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

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

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

...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`实现能够返回唯一的模块名作为存储项的...

文章 格密码学基础(一):前言

...nd Vinod Vaikuntanathan. Trapdoors for hard lattices and new cryptographic constructions. In STOC, pages 197-206, 2008. [GS02] Craig Gentry and Michael Szydlo. Cryptanalysis of the revised ntru signature scheme. In EUROCRYPT, pages 299-320, 2002. [HHGP+03] Jeffrey Hoffstein, Nick Howgrave-Graham, ...

文章 二层网络 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, ...

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

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

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