智能合约 solidity-TestContract.sol

pragma solidity ^0.8.3;
contract TestContract{
uint pubilc i;
function callMe(uint j)public{
 i+=j;
 }
 function getData()public pure returns(bytes memory){
 retturn abi.encodeWithSignature("callMe(uint256)",123);
 }
 function call() public {
 (bool success, )=address(this).call( getData());
  }
 }
上一篇:ElasticSearch 常用API


下一篇:学习日志day7(2021-07-13)