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

32 lines
621 B
Solidity

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