mirror of
https://github.com/autistic-symposium/web3-starter-sol.git
synced 2025-07-22 06:38:57 -04:00
14 lines
294 B
Solidity
14 lines
294 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.17;
|
|
|
|
contract TestContract {
|
|
uint public i;
|
|
|
|
function callMe(uint j) public {
|
|
i += j;
|
|
}
|
|
|
|
function getData() public pure returns (bytes memory) {
|
|
return abi.encodeWithSignature("callMe(uint256)", 123);
|
|
}
|
|
}
|