Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: adding events to fee middleware docs #1578

Merged
merged 10 commits into from
Jun 27, 2022
5 changes: 5 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,11 @@ module.exports = {
directory: false,
path: "/middleware/ics29-fee/fee-distribution.html"
},
{
title: "Events",
directory: false,
path: "/middleware/ics29-fee/events.html"
},
]
},
]
Expand Down
35 changes: 35 additions & 0 deletions docs/middleware/ics29-fee/events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!--
order: 5
-->

# Events

## `MsgPayPacketFee`, `MsgPayPacketFeeAsync`

| Type | Attribute Key | Attribute Value |
|-------------------------|-----------------|-----------------|
| incentivized_ibc_packet | port_id | {portID} |
| incentivized_ibc_packet | channel_id | {channelID} |
| incentivized_ibc_packet | packet_sequence | {sequence} |
| incentivized_ibc_packet | recv_fee | {recvFee} |
| incentivized_ibc_packet | ack_fee | {ackFee} |
| incentivized_ibc_packet | timeout_fee | {timeoutFee} |
| message | module | fee-ibc |

## `RegisterPayee`

| Type | Attribute Key | Attribute Value |
|----------------|------------|--------------------|
| register_payee | relayer | {relayer} |
| register_payee | payee | {payee} |
| register_payee | channel_id | {channelID} |
| message | module | fee-ibc |

## `RegisterCounterpartyPayee`

| Type | Attribute Key | Attribute Value |
|-----------------------------|--------------------|---------------------|
| register_counterparty_payee | relayer | {relayer} |
| register_counterparty_payee | counterparty_payee | {counterpartyPayee} |
| register_counterparty_payee | channel_id | {channelID} |
| message | module | fee-ibc |