2020-12-21 17:18:55 +00:00
|
|
|
<!--
|
|
|
|
order: 4
|
|
|
|
-->
|
|
|
|
|
|
|
|
# Events
|
|
|
|
|
|
|
|
The hard module emits the following events:
|
|
|
|
|
|
|
|
## Handlers
|
|
|
|
|
|
|
|
### MsgDeposit
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| ------------ | ------------- | --------------------- |
|
|
|
|
| message | module | hard |
|
|
|
|
| message | sender | `{sender address}` |
|
|
|
|
| hard_deposit | amount | `{amount}` |
|
|
|
|
| hard_deposit | depositor | `{depositor address}` |
|
|
|
|
|
|
|
|
### MsgWithdraw
|
|
|
|
|
2021-02-22 20:52:17 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| --------------- | ------------- | --------------------- |
|
|
|
|
| message | module | hard |
|
|
|
|
| message | sender | `{sender address}` |
|
|
|
|
| hard_withdrawal | amount | `{amount}` |
|
|
|
|
| hard_withdrawal | depositor | `{depositor address}` |
|
2021-02-19 16:14:48 +00:00
|
|
|
|
|
|
|
### MsgBorrow
|
|
|
|
|
2021-02-22 20:52:17 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| --------------- | ------------- | -------------------- |
|
|
|
|
| message | module | hard |
|
|
|
|
| message | sender | `{sender address}` |
|
|
|
|
| hard_borrow | borrow_coins | `{amount}` |
|
|
|
|
| hard_withdrawal | borrower | `{borrower address}` |
|
2021-02-19 16:14:48 +00:00
|
|
|
|
|
|
|
### MsgRepay
|
|
|
|
|
2021-02-22 20:52:17 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| ---------- | ------------- | -------------------- |
|
|
|
|
| message | module | hard |
|
|
|
|
| message | sender | `{sender address}` |
|
|
|
|
| message | owner | `{owner address}` |
|
|
|
|
| hard_repay | repay_coins | `{amount}` |
|
|
|
|
| hard_repay | sender | `{borrower address}` |
|