mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
7eede47769
* 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>
12 lines
1.2 KiB
Markdown
12 lines
1.2 KiB
Markdown
# 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 |
|