摘要: 父合约 contract fruit{ string public name = 'eat'; } 继承 import "/4_.sol"; contract Apple is fruit { function getType() external view returns(string memor 阅读全文
posted @ 2022-06-09 23:43 apeNote 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 合约创建合约 合约对 contract Pair { address public factory; string public token0; string public token1; constructor(string memory _token0, string memory _token 阅读全文
posted @ 2022-06-09 16:48 apeNote 阅读(255) 评论(0) 推荐(0) 编辑