solidity/test/libsolidity/ABIJson/basic_test.sol
2022-11-04 00:25:39 +01:00

27 lines
496 B
Solidity

contract test {
function f(uint a) public returns (uint d) { return a * 7; }
}
// ----
// :test
// [
// {
// "inputs": [
// {
// "internalType": "uint256",
// "name": "a",
// "type": "uint256"
// }
// ],
// "name": "f",
// "outputs": [
// {
// "internalType": "uint256",
// "name": "d",
// "type": "uint256"
// }
// ],
// "stateMutability": "nonpayable",
// "type": "function"
// }
// ]