Solidity: Is it possible to combine event emit and require?

后端 未结 0 965
梦毁少年i
梦毁少年i 2021-01-13 12:20

If a user doesn\'t send enough enough Eth, I\'d like the UI to know and respond with a message.

This function validates msg.value, but I\'d like to trigger and event

相关标签:
回答
  • 消灭零回复
提交回复
热议问题