solidity/test/libsolidity/ABIJson/receive_ether_function.sol

12 lines
159 B
Solidity
Raw Normal View History

2019-07-02 15:30:54 +00:00
contract test {
receive() external payable {}
2019-07-02 15:30:54 +00:00
}
// ----
// :test
// [
// {
// "stateMutability": "payable",
// "type": "receive"
2019-07-02 15:30:54 +00:00
// }
// ]