2020-06-03 18:54:31 +00:00
|
|
|
<!--
|
|
|
|
order: 4
|
|
|
|
-->
|
|
|
|
|
2020-01-12 15:12:22 +00:00
|
|
|
# Events
|
|
|
|
|
2020-01-14 14:00:37 +00:00
|
|
|
The `x/auction` module emits the following events:
|
|
|
|
|
|
|
|
## Triggered By Other Modules
|
|
|
|
|
2020-06-03 18:54:31 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|---------------|---------------|-------------------|
|
|
|
|
| auction_start | auction_id | `{auction ID}` |
|
|
|
|
| auction_start | auction_type | `{auction type}` |
|
|
|
|
| auction_start | lot | `{coin amount}` |
|
|
|
|
| auction_start | bid | `{coin amount}` |
|
|
|
|
| auction_start | max_bid | `{coin amount}` |
|
2020-01-14 14:00:37 +00:00
|
|
|
|
|
|
|
## Handlers
|
|
|
|
|
|
|
|
### MsgPlaceBid
|
|
|
|
|
2020-06-03 18:54:31 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|-------------|---------------|----------------------|
|
|
|
|
| auction_bid | auction_id | `{auction ID}` |
|
|
|
|
| auction_bid | bidder | `{latest bidder}` |
|
|
|
|
| auction_bid | bid | `{coin amount}` |
|
|
|
|
| auction_bid | lot | `{coin amount}` |
|
|
|
|
| auction_bid | end_time | `{auction end time}` |
|
|
|
|
| message | module | auction |
|
|
|
|
| message | sender | `{sender address}` |
|
2020-01-14 14:00:37 +00:00
|
|
|
|
2020-02-28 22:16:22 +00:00
|
|
|
## BeginBlock
|
2020-01-14 14:00:37 +00:00
|
|
|
|
2020-06-03 18:54:31 +00:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
|---------------|---------------|-------------------|
|
|
|
|
| auction_close | auction_id | `{auction ID}` |
|
|
|
|
| auction_close | close_block | `{block height}` |
|