Skip to content

Receive And Fallback functions : What if we directly pay ETH to a contract address without using receive or callback within the called contract? #1660

Answered by cromewar
X0-100 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @X0-100
this is technically possible but not desirable, as the callback and receive functions has it's on internal events and secure measures to prevent attacks on your protocol, also is just a manner of good practice as the callback function will execute itself automatically anyway.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@X0-100
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants