2022-08-31 15:40:28 -07:00
|
|
|
package auctionconfig
|
|
|
|
|
2022-09-04 16:36:57 -07:00
|
|
|
const (
|
|
|
|
// Times
|
2022-09-05 15:17:55 -07:00
|
|
|
AuctionTime = 10 // 10 blocks = ~10-30 seconds
|
|
|
|
|
|
|
|
// Lease Period Requirements (seconds)
|
|
|
|
MinLeasePeriod = 3_600 // 1 hour
|
|
|
|
MaxLeasePeriod = 8_035_200 // 3 months
|
2022-09-04 16:36:57 -07:00
|
|
|
|
2022-09-07 13:25:57 -07:00
|
|
|
// Minimum required staked CLR to be a provider (i.e. to bid)
|
|
|
|
ProviderMinLockedClr = 500
|
|
|
|
// Amount slashed when a provider is offline during an audit
|
|
|
|
ProviderLockedSlash = 100
|
|
|
|
|
|
|
|
// Blocks between provider audit pings
|
|
|
|
// 40 blocks ~40min-2hr
|
|
|
|
ProviderPingFrequency = 40
|
|
|
|
|
2022-09-04 16:36:57 -07:00
|
|
|
// Gas Fees
|
|
|
|
AuctionGas = 10
|
|
|
|
)
|