I know that the receive and fallback functions are called when some payment is made, receive function, or the contract is called for some circumstancem fallback function.
My question is this.
If I don't want Ethers to be sent to my contract directly, would not using these functions be enough?
Or could it generate some kind of error message in the fallback for example announcing the direct transfer lock in my contract?
I asked a similar question here. It seems that since 0.8.0, if no receive function is implemented, ethers sent to the contract would be rejected by default.