mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
fe38c4aa43
* wip: and types and keeper methods * add keeper tests * add client * add spec and events * respond to review comments * apply suggestions from review * feat: add test for validator vesting case * use int64 for multiplier type * remove incentive changes
135 lines
7.1 KiB
Go
135 lines
7.1 KiB
Go
package hvt
|
|
|
|
// DO NOT EDIT - generated by aliasgen tool (github.com/rhuairahrighairidh/aliasgen)
|
|
|
|
import (
|
|
"github.com/kava-labs/kava/x/hvt/keeper"
|
|
"github.com/kava-labs/kava/x/hvt/types"
|
|
)
|
|
|
|
const (
|
|
BeginningOfMonth = keeper.BeginningOfMonth
|
|
MidMonth = keeper.MidMonth
|
|
PaymentHour = keeper.PaymentHour
|
|
AttributeKeyBlockHeight = types.AttributeKeyBlockHeight
|
|
AttributeKeyClaimAmount = types.AttributeKeyClaimAmount
|
|
AttributeKeyClaimHolder = types.AttributeKeyClaimHolder
|
|
AttributeKeyClaimMultiplier = types.AttributeKeyClaimMultiplier
|
|
AttributeKeyDeposit = types.AttributeKeyDeposit
|
|
AttributeKeyDepositDenom = types.AttributeKeyDepositDenom
|
|
AttributeKeyDepositType = types.AttributeKeyDepositType
|
|
AttributeKeyDepositor = types.AttributeKeyDepositor
|
|
AttributeKeyRewardsDistribution = types.AttributeKeyRewardsDistribution
|
|
AttributeValueCategory = types.AttributeValueCategory
|
|
DefaultParamspace = types.DefaultParamspace
|
|
DelegatorAccount = types.DelegatorAccount
|
|
EventTypeClaimHarvestReward = types.EventTypeClaimHarvestReward
|
|
EventTypeDeleteHarvestDeposit = types.EventTypeDeleteHarvestDeposit
|
|
EventTypeHarvestDelegatorDistribution = types.EventTypeHarvestDelegatorDistribution
|
|
EventTypeHarvestDeposit = types.EventTypeHarvestDeposit
|
|
EventTypeHarvestLPDistribution = types.EventTypeHarvestLPDistribution
|
|
EventTypeHarvestWithdrawal = types.EventTypeHarvestWithdrawal
|
|
LP = types.LP
|
|
LPAccount = types.LPAccount
|
|
Large = types.Large
|
|
Medium = types.Medium
|
|
ModuleAccountName = types.ModuleAccountName
|
|
ModuleName = types.ModuleName
|
|
QuerierRoute = types.QuerierRoute
|
|
QueryGetClaims = types.QueryGetClaims
|
|
QueryGetDeposits = types.QueryGetDeposits
|
|
QueryGetModuleAccounts = types.QueryGetModuleAccounts
|
|
QueryGetParams = types.QueryGetParams
|
|
RouterKey = types.RouterKey
|
|
Small = types.Small
|
|
Stake = types.Stake
|
|
StoreKey = types.StoreKey
|
|
)
|
|
|
|
var (
|
|
// function aliases
|
|
NewKeeper = keeper.NewKeeper
|
|
NewQuerier = keeper.NewQuerier
|
|
ClaimKey = types.ClaimKey
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
DefaultParams = types.DefaultParams
|
|
DepositKey = types.DepositKey
|
|
DepositTypeIteratorKey = types.DepositTypeIteratorKey
|
|
GetTotalVestingPeriodLength = types.GetTotalVestingPeriodLength
|
|
NewClaim = types.NewClaim
|
|
NewDelegatorDistributionSchedule = types.NewDelegatorDistributionSchedule
|
|
NewDeposit = types.NewDeposit
|
|
NewDistributionSchedule = types.NewDistributionSchedule
|
|
NewGenesisState = types.NewGenesisState
|
|
NewMsgClaimReward = types.NewMsgClaimReward
|
|
NewMsgDeposit = types.NewMsgDeposit
|
|
NewMsgWithdraw = types.NewMsgWithdraw
|
|
NewMultiplier = types.NewMultiplier
|
|
NewParams = types.NewParams
|
|
NewPeriod = types.NewPeriod
|
|
NewQueryAccountParams = types.NewQueryAccountParams
|
|
NewQueryClaimParams = types.NewQueryClaimParams
|
|
NewQueryDepositParams = types.NewQueryDepositParams
|
|
ParamKeyTable = types.ParamKeyTable
|
|
RegisterCodec = types.RegisterCodec
|
|
|
|
// variable aliases
|
|
ClaimsKeyPrefix = types.ClaimsKeyPrefix
|
|
DefaultActive = types.DefaultActive
|
|
DefaultDelegatorSchedules = types.DefaultDelegatorSchedules
|
|
DefaultDistributionTimes = types.DefaultDistributionTimes
|
|
DefaultGovSchedules = types.DefaultGovSchedules
|
|
DefaultLPSchedules = types.DefaultLPSchedules
|
|
DefaultPreviousBlockTime = types.DefaultPreviousBlockTime
|
|
DepositTypesClaimQuery = types.DepositTypesClaimQuery
|
|
DepositTypesDepositQuery = types.DepositTypesDepositQuery
|
|
DepositsKeyPrefix = types.DepositsKeyPrefix
|
|
ErrAccountNotFound = types.ErrAccountNotFound
|
|
ErrClaimExpired = types.ErrClaimExpired
|
|
ErrClaimNotFound = types.ErrClaimNotFound
|
|
ErrDepositNotFound = types.ErrDepositNotFound
|
|
ErrGovScheduleNotFound = types.ErrGovScheduleNotFound
|
|
ErrInsufficientModAccountBalance = types.ErrInsufficientModAccountBalance
|
|
ErrInvaliWithdrawAmount = types.ErrInvaliWithdrawAmount
|
|
ErrInvalidAccountType = types.ErrInvalidAccountType
|
|
ErrInvalidDepositDenom = types.ErrInvalidDepositDenom
|
|
ErrInvalidDepositType = types.ErrInvalidDepositType
|
|
ErrInvalidMultiplier = types.ErrInvalidMultiplier
|
|
ErrLPScheduleNotFound = types.ErrLPScheduleNotFound
|
|
ErrZeroClaim = types.ErrZeroClaim
|
|
GovDenom = types.GovDenom
|
|
KeyActive = types.KeyActive
|
|
KeyDelegatorSchedule = types.KeyDelegatorSchedule
|
|
KeyLPSchedules = types.KeyLPSchedules
|
|
ModuleCdc = types.ModuleCdc
|
|
PreviousBlockTimeKey = types.PreviousBlockTimeKey
|
|
PreviousDelegationDistributionKey = types.PreviousDelegationDistributionKey
|
|
)
|
|
|
|
type (
|
|
Keeper = keeper.Keeper
|
|
AccountKeeper = types.AccountKeeper
|
|
Claim = types.Claim
|
|
DelegatorDistributionSchedule = types.DelegatorDistributionSchedule
|
|
DelegatorDistributionSchedules = types.DelegatorDistributionSchedules
|
|
Deposit = types.Deposit
|
|
DepositType = types.DepositType
|
|
DistributionSchedule = types.DistributionSchedule
|
|
DistributionSchedules = types.DistributionSchedules
|
|
GenesisDistributionTime = types.GenesisDistributionTime
|
|
GenesisDistributionTimes = types.GenesisDistributionTimes
|
|
GenesisState = types.GenesisState
|
|
MsgClaimReward = types.MsgClaimReward
|
|
MsgDeposit = types.MsgDeposit
|
|
MsgWithdraw = types.MsgWithdraw
|
|
Multiplier = types.Multiplier
|
|
MultiplierName = types.MultiplierName
|
|
Multipliers = types.Multipliers
|
|
Params = types.Params
|
|
QueryAccountParams = types.QueryAccountParams
|
|
QueryClaimParams = types.QueryClaimParams
|
|
QueryDepositParams = types.QueryDepositParams
|
|
StakingKeeper = types.StakingKeeper
|
|
SupplyKeeper = types.SupplyKeeper
|
|
)
|