找到约 15 条结果

文章 《现代管理》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...

文章 一种基于区块链的泛用型数据隐私保护的安全多方计算协议

...tment linked schnorr protocol for multi-party computation, BPLSM). Through constructing the structure of the protocol and carrying out formal proof calculations, it is confirmed that the protocol can be integrated into the blockchain network to merge different private messages for efficient signing ...

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

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

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

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

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

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

文章 如何使用 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...

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

问题 bsc链上的erc20合约,要求只有一点买卖的时候2%兑换成bnb发送到营销钱包,现在的问题是添加流动性会一直报错Fail with error 'TransferHelper::transferFrom: transferFrom failed'

...ansferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { retur...

文章 Casper CBC,简化版!简明概述... | 作者:Aditya Asgaonkar | Medium

## Casper CBC,简化版! ### 正确性构造(Correct-By-Construction)Casper 共识机制简化概述 ## 引言 如果你一直在关注 Casper 的研究,那么你可能听说过在 devcon4 上发布的 [**Casper CBC 草案论文**](https://github.com/cbc-casper/cbc-casper-paper/blob/mas...

文章 Chainlink--CCIP--NFT 讲解

...Lane Manager(通道管理) ```js class LaneManager { constructor() { this.lanes = new Map(); this.limits = new Map(); } // 检查通道状态 async checkLane(sourceChain, destChain) { const lane = this.getLane(sou...

文章 如何创建一个 ZK 智能合约

..., "circuits/quadratic.wasm", "circuits/quadratic.zkey"); // Construct the raw calldata to be sent to the verifier contract const rawcalldata = await snarkjs.groth16.exportSolidityCallData(proof, publicSignals); jsonCalldata = JSON.parse("["+rawcalldata+"]") }) ...

文章 optimism sequencer背后的魔法(三):libp2p在op-stack中的使用

...ay(), // host will start and listen to network directly after construction from config. libp2p.ListenAddrs(listenAddr), libp2p.ConnectionGater(connGtr), libp2p.ConnectionManager(connMngr), //libp2p.ResourceManager(nil), // TODO use res...

文章 Substrate 抛硬币游戏(二):编写测试和UI

...nction的第一个参数是`Origin`枚举类型吗?在实现代码中,`construct_runtime!`宏通过调用`impl_outer_origin!`自动为我们添加了Origin的定义。但是在测试代码中,我们需要自己调用`impl_outer_origin!`帮我们生成runtime所依赖的`Origin`类型,宏解...

问题 contractTokenBalance >= swapTokensAtAmount ,每次达到这个条件的时候,就无法转账和卖出了,只能买,不知道哪个逻辑出错了,求解!!!

...ipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier...

文章 Aave中的AToken

...er contract to implement initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * @dev WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well *...