mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
27 lines
680 B
Go
27 lines
680 B
Go
// Copyright (C) 2022, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
package models
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/luxfi/ids"
|
|
)
|
|
|
|
type ElasticSubnetConfig struct {
|
|
SubnetID ids.ID
|
|
AssetID ids.ID
|
|
InitialSupply uint64
|
|
MaxSupply uint64
|
|
MinConsumptionRate uint64
|
|
MaxConsumptionRate uint64
|
|
MinValidatorStake uint64
|
|
MaxValidatorStake uint64
|
|
MinStakeDuration time.Duration
|
|
MaxStakeDuration time.Duration
|
|
MinDelegationFee uint32
|
|
MinDelegatorStake uint64
|
|
MaxValidatorWeightFactor byte
|
|
UptimeRequirement uint32
|
|
}
|