mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
Deep audit changes: - Replace stub signature aggregator with real SDK warp implementation - Remove dead pkg/lpm package (SDK lpmintegration used instead) - Fix fs imports: use local utils.FileExists, DirExists, ExpandHome - Fix secp256k1fx imports: use node/vms/secp256k1fx - Fix platformvm imports: use node/vms/platformvm - Fix e2e test TODOs: uncomment BootstrapValidators assertions - Improve localnet stub implementations with real logic - Fix node.go fs.FileExists reference Note: Build requires GOWORK=off due to workspace dependency issues
30 lines
843 B
Go
30 lines
843 B
Go
// Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
// Package models contains data structures and types used throughout the CLI.
|
|
package models
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/luxfi/ids"
|
|
)
|
|
|
|
// ElasticChainConfig contains configuration for elastic chain transformations.
|
|
type ElasticChainConfig struct {
|
|
ChainID 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
|
|
}
|