上一页 1 ··· 5 6 7 8 9
摘要: 函数输出 关键字 retuens:在函数名后面,定义返回值 return:在函数体中,将返回值返回 // SPDX-License-Identifier: MIT pragma solidity 0.8.0; contract MyContract { int public number = 2; 阅读全文
posted @ 2021-01-14 16:06 sorachannel 阅读(461) 评论(0) 推荐(0)
摘要: 01HelloWorld 编写合约 // SPDX-License-Identifier: MIT pragma solidity 0.8.0; contract HelloWeb3 { string public _string = "Hello Web3!"; } 获取_string值 02 状 阅读全文
posted @ 2021-01-13 13:51 sorachannel 阅读(359) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9