github.com/lino-network/lino@v0.6.11/types/pools.go (about)

     1  package types
     2  
     3  const (
     4  	// inflation
     5  	InflationDeveloperPool   PoolName = "inflation/developer"
     6  	InflationValidatorPool   PoolName = "inflation/validator"
     7  	InflationConsumptionPool PoolName = "inflation/consumption"
     8  
     9  	// account
    10  	AccountVestingPool PoolName = "account/vesting"
    11  
    12  	// vote
    13  	VoteStakeInPool     PoolName = "vote/stake-in"
    14  	VoteStakeReturnPool PoolName = "vote/stake-return"
    15  	VoteFrictionPool    PoolName = "vote/friction"
    16  
    17  	// developer
    18  	DevIDAReservePool PoolName = "dev/ida-reserve-pool"
    19  )
    20  
    21  func ListPools() []PoolName {
    22  	return []PoolName{
    23  		InflationDeveloperPool,
    24  		InflationValidatorPool,
    25  		InflationConsumptionPool,
    26  		AccountVestingPool,
    27  		VoteStakeInPool,
    28  		VoteStakeReturnPool,
    29  		VoteFrictionPool,
    30  		DevIDAReservePool,
    31  	}
    32  }