0g-chain/x/auction/spec/05_params.md
Ruaridh 7eede47769
Add min bid increments (#380)
* refactor bidding test

* add some more bid test cases

* add balance checks to bid tests

* add more checks to bid tests

* add min bid increments

* protect against negative lot amounts

* fix params tests

* change endblocker to beginblocker

* update spec

* fix params tests

* fix: update alias

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-02-28 17:16:22 -05:00

1.2 KiB

Parameters

The auction module contains the following parameters:

Key Type Example Description
MaxAuctionDuration string (time.Duration) "48h0m0s"
BidDuration string (time.Duration) "3h0m0s"
IncrementSurplus string (dec) "0.050000000000000000" percentage change in bid required for a new bid on a surplus auction
IncrementDebt string (dec) "0.050000000000000000" percentage change in lot required for a new bid on a debt auction
IncrementCollateral string (dec) "0.050000000000000000" percentage change in either bid or lot required for a new bid on a collateral auction