Add token transfer/redeem events to the EVM token bridge #3376
Unanswered
kev1n-peters
asked this question in
Feature requests
Replies: 1 comment
-
For the time being it's sufficient to grab |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As an integrator, I want the EVM token bridge to emit events when a token is transferred with details about the token being transferred. It would be useful for the events to log the recipient, token address, and amount (denormalized) for use in computing statistics like TVL, TVM, transfer volume, token holders, etc. Being able to query these details from an RPC node would be very convenient. I’d like to propose adding the following events to the EVM token bridge contract:
To be emitted when a token is bridged in:
Option 1:
TransferRedeemed
already exists, extend it to:Option 2:
To be emitted when a token is bridged out:
Thoughts
Would it be useful to include
toChain indexed uint16
inTransfer
andfromChain indexed uint16
inTokenRedeemed
(option 2)?Please let me know your thoughts, thank you!
Beta Was this translation helpful? Give feedback.
All reactions