State
The FeeRefunder module stores one FeeInfo per channel_id
, port_id
and sequence
.
FeeInfo
contains all the necessary info to store data about fees to properly refund relayers and return fees to the original caller of IBC messages:
payer
- stores an address of the smart-contract which issuesTransfer
orSubmitTx
message;packet_id
- stores an info about an IBC packet for whichack
ortimeout
submission relayers should be refunded;fee
- stores amount of fee to refund relayers for the submission of IBC packets.