Skip to content

Commit

Permalink
docs: adding events to fee middleware docs (#1578)
Browse files Browse the repository at this point in the history
* adding fee distribution docs for relayer operators

* adding validation information and basic cli examples

* removing unnecessary whitespace

* updating definitions

* adding ics29 fee middleware events docs

* cleanup

Co-authored-by: Sean King <seantking@users.noreply.github.com>
  • Loading branch information
damiannolan and seantking committed Jun 27, 2022
1 parent 3b5db68 commit 36a3382
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
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 |

0 comments on commit 36a3382

Please sign in to comment.