mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 16:25:21 +00:00
e11b298c28
* add overview and basic structure * add state and params * add basic messages * add state transitions * add begin block state transitions * add missing titles * add concepts * add events * update state and concepts * update for liquidator changes * update events * mention module accounts * update begin block * update params * update page numbering * add fee descriptions * add broken link linter * add broken link linter to CI * move link check to end of CI * update typo Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com> * address review comments * Update x/cdp/spec/06_params.md Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com> * Update x/cdp/spec/README.md Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com> * Update x/cdp/spec/README.md Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
# Events
|
|
|
|
The `x/auction` module emits the following events:
|
|
|
|
## Triggered By Other Modules
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|---------------|---------------|---------------------|
|
|
| auction_start | auction_id | {auction ID} |
|
|
| auction_start | auction_type | {auction type} |
|
|
| auction_start | lot_denom | {auction lot denom} |
|
|
| auction_start | bid_denom | {auction bid denom} |
|
|
|
|
## Handlers
|
|
|
|
### MsgPlaceBid
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|-------------|---------------|--------------------|
|
|
| auction_bid | auction_id | {auction ID} |
|
|
| auction_bid | bidder | {latest bidder} |
|
|
| auction_bid | bid_amount | {coin amount} |
|
|
| auction_bid | lot_amount | {coin amount} |
|
|
| auction_bid | end_time | {auction end time} |
|
|
| message | module | auction |
|
|
| message | sender | {sender address} |
|
|
|
|
## EndBlock
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|---------------|---------------|-----------------|
|
|
| auction_close | auction_id | {auction ID} |
|