0g-chain/x/auction/spec/04_events.md
Ruaridh e11b298c28 Add CDP Spec (#328)
* 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>
2020-01-23 14:09:36 -05:00

1.1 KiB

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}