Probably should consider adding a fallback function, thus rejecting any eth sent directly to the contract: receive() external payable { revert("This contract does not accept Ether directly"); }
Probably should consider adding a fallback function, thus rejecting any eth sent directly to the contract:
receive() external payable {
revert("This contract does not accept Ether directly");
}