solidity/test/libsolidity/ABIJson/payable_constructor_abi.sol

31 lines
618 B
Solidity
Raw Normal View History

2019-07-02 15:30:54 +00:00
contract test {
constructor(uint param1, test param2, bool param3) public payable {}
}
// ----
// :test
// [
// {
// "inputs":
// [
// {
2019-07-02 14:04:52 +00:00
// "internalType": "uint256",
2019-07-02 15:30:54 +00:00
// "name": "param1",
// "type": "uint256"
// },
// {
2019-07-02 14:04:52 +00:00
// "internalType": "contract test",
2019-07-02 15:30:54 +00:00
// "name": "param2",
// "type": "address"
// },
// {
2019-07-02 14:04:52 +00:00
// "internalType": "bool",
2019-07-02 15:30:54 +00:00
// "name": "param3",
// "type": "bool"
// }
// ],
// "payable": true,
// "stateMutability": "payable",
// "type": "constructor"
// }
// ]