-
Notifications
You must be signed in to change notification settings - Fork 183
/
alias.go
69 lines (64 loc) · 2.81 KB
/
alias.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// nolint
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/okex/exchain/x/staking/keeper
// ALIASGEN: github.com/okex/exchain/x/staking/types
// ALIASGEN: github.com/okex/exchain/x/staking/exported
package staking
import (
"github.com/okex/exchain/x/staking/exported"
"github.com/okex/exchain/x/staking/keeper"
"github.com/okex/exchain/x/staking/types"
)
const (
DefaultParamspace = keeper.DefaultParamspace
ModuleName = types.ModuleName
StoreKey = types.StoreKey
TStoreKey = types.TStoreKey
QuerierRoute = types.QuerierRoute
RouterKey = types.RouterKey
NotBondedPoolName = types.NotBondedPoolName
BondedPoolName = types.BondedPoolName
QueryParameters = types.QueryParameters
)
var (
// functions aliases
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
RegisterCodec = types.RegisterCodec
NewCommission = types.NewCommission
ErrNoValidatorFound = types.ErrNoValidatorFound
ErrValidatorOwnerExists = types.ErrValidatorOwnerExists
ErrValidatorPubKeyExists = types.ErrValidatorPubKeyExists
ErrValidatorPubKeyTypeNotSupported = types.ErrValidatorPubKeyTypeNotSupported
ErrBadDenom = types.ErrBadDenom
DefaultGenesisState = types.DefaultGenesisState
NewMultiStakingHooks = types.NewMultiStakingHooks
GetValidatorsByPowerIndexKey = types.GetValidatorsByPowerIndexKey
NewMsgCreateValidator = types.NewMsgCreateValidator
NewMsgEditValidator = types.NewMsgEditValidator
NewMsgDeposit = types.NewMsgDeposit
NewMsgWithdraw = types.NewMsgWithdraw
DefaultParams = types.DefaultParams
NewValidator = types.NewValidator
NewDescription = types.NewDescription
NewMsgAddShares = types.NewMsgAddShares
NewGenesisState = types.NewGenesisState
DelegatorAddSharesInvariant = keeper.DelegatorAddSharesInvariant
// variable aliases
ModuleCdc = types.ModuleCdc
ValidatorsKey = types.ValidatorsKey
)
type (
Keeper = keeper.Keeper
GenesisState = types.GenesisState
Validator = types.Validator
Validators = types.Validators
ValidatorExport = types.ValidatorExported
Description = types.Description
ValidatorI = exported.ValidatorI
Delegator = types.Delegator
UndelegationInfo = types.UndelegationInfo
ProxyDelegatorKeyExported = types.ProxyDelegatorKeyExported
SharesResponses = types.SharesResponses
)