找到约 13 条结果

问题 调用合约方法出错

...itial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information.

问题 BSC验证带构造函数的合约源代码不通过

发布的合约源代码在REMIX上没有报错也发布成功了。 拿着源代码在BSC上提交验证源代码老是提示如下错误: Error! Unable to generate Contract ByteCode and ABI **(Expected library(ies) but one or more was not provided)** 有大神知道怎么解决吗?

问题 hyperledger fabric 链码背书

...rledger fabric,在CLI中,如果要调用一个链码背书策略为(`AND(‘Org1.member’, ‘Org2.member’, ‘Org3.member’)` 需要指定各个背书节点的peerAddress才能调用该链码,那么节点背书的过程在这里如何体现呢?(只是在控制台多输入了几条...

问题 普通函数内,无法为【storage 类型结构体】进行赋值。

...赋值了。 报错信息:**this variable is of storage pointer type and can be accessed without prior assignment, which would lead to undefined behaviour .** 直接翻译是:此变量是存储指针类型,可以在没有事先赋值的情况下访问,这将导致未定义的行为。 ...

问题 用truffle将项目部署到ropsten连接不上

...t match the one returned by the network (1). Ensure that both the network and the provider are properly configured. 这问题,请问该怎么解决

问题 opensea上不显示metadata中的图片

..."Inspiring, Based, Mythical, Oracle loving creature. Leading the new world and helping teach about superior digital agreements. Also is good with a bow!", "image": "https://ipfs.io/ipfs/QmTgqnhFBMkfT9s8PHKcdXBn1f5bG3Q5hmBaR4U6hoTvb1?filename=Chainlink_Elf.png", "attributes": [ { "trait_type": "S...

问题 发布合约失败 事务已恢复到初始状态

...tial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information ```

问题 bulletproofs的原理

...论文-A Blockchain-Based Sealed-Bid e-Auction Scheme with Smart Contract and Zero-Knowledge Proof。 里面有一个过程 ![image.png](https://img.learnblockchain.cn/attachments/2021/11/vy7r74KY619217e1d6e36.png) c是投标价格p的pederson承诺 c*是中标人的那个承诺 为什么用...

问题 调用metamask向合约转账,交易失败。

...pected to fail. Trying to execute it is expected to be expensive but fail, and is not recommended. ``` React代码 ``` async function payWithMetamask() { ``` ``` let ethereum = window.ethereum; // Request account access if needed await ethereum.enable(); let provider = new ethers.pro...

问题 请教下:部署 pancakeRouter.sol有警告 提示不能部署在mainnet

...t PancakeRouter is IPancakeRouter02 { ^ (Relevant source part starts here and spans across multiple lines).

问题 如何检测一个transaction是否会失败?

...ackexchange.com/questions/765/what-is-the-difference-between-a-transaction-and-a-call 目前我了解的有2个方法,但是不确定是否是正确的实现 1. estimateGasFee 2. call instead of send transaction 大家有什么想法或者建议吗?

用户 Frankenstein Pei

DeFi investor and creator

问题 php调用智能合约报错

...nvalidArgumentException: Please make sure you have put all function params and callback. in D:\wwwroot\NFTtest\vendor\sc0vu\web3.php\src\Contract.php:561 Stack trace: #0 D:\wwwroot\NFTtest\1.php(28): Web3\Contract->send('transfer', '0x6669867D746ba...', Array, Object(Closure)) #1 {main} thrown in D:...