gpu-compute-chain/x/colinearcore/auctionconfig/config.go

32 lines
798 B
Go
Raw Normal View History

2022-08-31 15:40:28 -07:00
package auctionconfig
2022-09-07 16:06:28 -07:00
// Allowed Denoms
// note: as a slice, values can't be immutable, but length can be
var AllowedAuctionDenoms = [...]string{"uusdc", "uclr"}
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-07 13:25:57 -07:00
// Minimum required staked CLR to be a provider (i.e. to bid)
// 500 CLR
ProviderMinLockedUClr = 500_000_000
2022-09-07 13:25:57 -07:00
// Amount slashed when a provider is offline during an audit
// 100 CLR
ProviderLockedSlashUClr = 100_000_000
2022-09-07 13:25:57 -07:00
// Blocks between provider audits
// 400 blocks ~400-1200min
ProviderAuditFrequency = 400
// Blocks before an audit ping must be returned
// 3 blocks ~4-12sec
ProviderAuditLength = 4
2022-09-07 13:25:57 -07:00
// Gas Fees
AuctionGas = 10
)