gear icon indicating copy to clipboard operation
gear copied to clipboard

`ethexe`: extend replySent to emit different event if value is claimed

Open jekennedy opened this issue 1 year ago • 0 comments

Problem to Solve

In ethexe/contracts/src/Mirror.sol, the function replySent attempts to transfer tokens to a given destination, and then emits a Reply event. Depending on whether value is greater than 0, a transfer may or may not happen. It would be useful for the caller to know if a transfer actually took place or not.

Possible Solution

If value is greater than 0, emit a different event, like ReplyAndValueClaimed.

Notes

No response

jekennedy avatar Aug 22 '24 09:08 jekennedy