solidity/test/libsolidity/ABIJson/receive_ether_function.sol

12 lines
159 B
Solidity

contract test {
receive() external payable {}
}
// ----
// :test
// [
// {
// "stateMutability": "payable",
// "type": "receive"
// }
// ]