5 remix-别人已经部署成功的合约代码,我复制过来可以编译成功,但是在部署的时候提示错误

合约地址:0xCfBCbfd3fd61634936A311235972654B1CC66666 我复制代码过来可以正常编译,但是在发布的时候提示错误: The transaction has been reverted to the initial 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.

这个合约代码我见过在很多合约上用过,应该是个通用的代码,试过虚拟机、测试网和正式网络都没办法正常部署

请先 登录 后评论

4 个回答

左敲右滑手艺人 - 币圈慈善家
请先 登录 后评论
PureBlack - 区块链开发
请先 登录 后评论
dan
请先 登录 后评论
axengine
请先 登录 后评论