找到约 6 条结果

用户 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:...

问题 contract里面的内容是有上限的吗?

...多个contract来实现? Warning: Contract code size is 25855 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries. 同...

文章 Solidity 中 uint 转为 bytes

...数, 如:keccak256 ](https://learnblockchain.cn/docs/solidity/units-and-global-variables.html#index-5) 等需要bytes作为一个参数,这个时候有时需要把uint转化为bytes 。 ## uint 如何转为 bytes 类型 Solidity 中 uint 转 bytes 的几种方法,gas 消耗...