mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
1ef9bd331b
* USDX incentives implementation (#399) * feat: upgrade to cosmos-sdk v0.38 Co-authored-by: Denali Marsh <denali@kava.io> Co-authored-by: John Maheswaran <jmaheswaran@users.noreply.github.com> Co-authored-by: John Maheswaran <john@kava.io>
93 lines
3.9 KiB
Go
93 lines
3.9 KiB
Go
// nolint
|
|
// autogenerated code using github.com/rigelrozanski/multitool
|
|
// aliases generated for the following subdirectories:
|
|
// ALIASGEN: github.com/kava-labs/kava/x/incentive/keeper
|
|
// ALIASGEN: github.com/kava-labs/kava/x/incentive/types
|
|
package incentive
|
|
|
|
import (
|
|
"github.com/kava-labs/kava/x/incentive/keeper"
|
|
"github.com/kava-labs/kava/x/incentive/types"
|
|
)
|
|
|
|
const (
|
|
EventTypeClaim = types.EventTypeClaim
|
|
AttributeValueCategory = types.AttributeValueCategory
|
|
AttributeKeySender = types.AttributeKeySender
|
|
ModuleName = types.ModuleName
|
|
StoreKey = types.StoreKey
|
|
RouterKey = types.RouterKey
|
|
DefaultParamspace = types.DefaultParamspace
|
|
QuerierRoute = types.QuerierRoute
|
|
QueryGetClaims = types.QueryGetClaims
|
|
RestClaimOwner = types.RestClaimOwner
|
|
RestClaimDenom = types.RestClaimDenom
|
|
QueryGetParams = types.QueryGetParams
|
|
)
|
|
|
|
var (
|
|
// functions aliases
|
|
NewKeeper = keeper.NewKeeper
|
|
NewQuerier = keeper.NewQuerier
|
|
GetTotalVestingPeriodLength = types.GetTotalVestingPeriodLength
|
|
RegisterCodec = types.RegisterCodec
|
|
NewGenesisState = types.NewGenesisState
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
BytesToUint64 = types.BytesToUint64
|
|
GetClaimPeriodPrefix = types.GetClaimPeriodPrefix
|
|
GetClaimPrefix = types.GetClaimPrefix
|
|
NewMsgClaimReward = types.NewMsgClaimReward
|
|
NewParams = types.NewParams
|
|
DefaultParams = types.DefaultParams
|
|
ParamKeyTable = types.ParamKeyTable
|
|
NewReward = types.NewReward
|
|
NewPeriod = types.NewPeriod
|
|
NewQueryClaimsParams = types.NewQueryClaimsParams
|
|
NewRewardPeriod = types.NewRewardPeriod
|
|
NewClaimPeriod = types.NewClaimPeriod
|
|
NewClaim = types.NewClaim
|
|
|
|
// variable aliases
|
|
ModuleCdc = types.ModuleCdc
|
|
ErrClaimNotFound = types.ErrClaimNotFound
|
|
ErrClaimPeriodNotFound = types.ErrClaimPeriodNotFound
|
|
ErrInvalidAccountType = types.ErrInvalidAccountType
|
|
ErrNoClaimsFound = types.ErrNoClaimsFound
|
|
ErrInsufficientModAccountBalance = types.ErrInsufficientModAccountBalance
|
|
RewardPeriodKeyPrefix = types.RewardPeriodKeyPrefix
|
|
ClaimPeriodKeyPrefix = types.ClaimPeriodKeyPrefix
|
|
ClaimKeyPrefix = types.ClaimKeyPrefix
|
|
NextClaimPeriodIDPrefix = types.NextClaimPeriodIDPrefix
|
|
PreviousBlockTimeKey = types.PreviousBlockTimeKey
|
|
KeyActive = types.KeyActive
|
|
KeyRewards = types.KeyRewards
|
|
DefaultActive = types.DefaultActive
|
|
DefaultRewards = types.DefaultRewards
|
|
DefaultPreviousBlockTime = types.DefaultPreviousBlockTime
|
|
GovDenom = types.GovDenom
|
|
PrincipalDenom = types.PrincipalDenom
|
|
IncentiveMacc = types.IncentiveMacc
|
|
)
|
|
|
|
type (
|
|
Keeper = keeper.Keeper
|
|
SupplyKeeper = types.SupplyKeeper
|
|
CdpKeeper = types.CdpKeeper
|
|
AccountKeeper = types.AccountKeeper
|
|
GenesisClaimPeriodID = types.GenesisClaimPeriodID
|
|
GenesisClaimPeriodIDs = types.GenesisClaimPeriodIDs
|
|
GenesisState = types.GenesisState
|
|
MsgClaimReward = types.MsgClaimReward
|
|
Params = types.Params
|
|
Reward = types.Reward
|
|
Rewards = types.Rewards
|
|
QueryClaimsParams = types.QueryClaimsParams
|
|
PostClaimReq = types.PostClaimReq
|
|
RewardPeriod = types.RewardPeriod
|
|
RewardPeriods = types.RewardPeriods
|
|
ClaimPeriod = types.ClaimPeriod
|
|
ClaimPeriods = types.ClaimPeriods
|
|
Claim = types.Claim
|
|
Claims = types.Claims
|
|
)
|