Skip to main content

State

Params

Params is a module-wide configuration structure that stores system parameters and defines overall functioning of the auction module.
  • Params: Paramsspace("auction") -> legacy_amino(params)

LastBid

Keeps track of the current highest bid
  • LastBid: 0x01 -> ProtocolBuffer(Bid)

AuctionRound

The current auction round.
  • AuctionRound: 0x03 -> BigEndian(AuctionRound)

EndingTimeStamp

This value is compared against current block time to decide an auction round settlement. When the exported chain is imported again, the EndingTimeStamp will be updated to the next value in future.
  • EndingTimeStamp: 0x04 -> BigEndian(EndingTimestamp)

LastAuctionResult

Keeps track of the last auction result.
  • LastAuctionResult: 0x05 -> ProtocolBuffer(LastAuctionResult)
Last modified on March 30, 2026