solidity/test/libsolidity/ABIJson/basic_test.sol

29 lines
510 B
Solidity
Raw Normal View History

2019-07-02 15:30:54 +00:00
contract test {
function f(uint a) public returns (uint d) { return a * 7; }
}
// ----
// :test
// [
// {
// "inputs":
// [
// {
2019-07-02 14:04:52 +00:00
// "internalType": "uint256",
2019-07-02 15:30:54 +00:00
// "name": "a",
// "type": "uint256"
// }
// ],
// "name": "f",
// "outputs":
// [
// {
2019-07-02 14:04:52 +00:00
// "internalType": "uint256",
2019-07-02 15:30:54 +00:00
// "name": "d",
// "type": "uint256"
// }
// ],
// "stateMutability": "nonpayable",
// "type": "function"
// }
// ]