/
alias.go
70 lines (56 loc) · 2.53 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
70
package stake
import (
"github.com/QOSGroup/qos/module/stake/client"
"github.com/QOSGroup/qos/module/stake/mapper"
"github.com/QOSGroup/qos/module/stake/txs"
"github.com/QOSGroup/qos/module/stake/types"
)
var (
ModuleName = "stake"
Cdc = txs.Cdc
RegisterCodec = txs.RegisterCodec
NewGenesis = types.NewGenesisState
DefaultGenesis = types.DefaultGenesisState
ValidateGenesis = types.ValidateGenesis
MapperName = types.MapperName
NewMapper = mapper.NewMapper
GetMapper = mapper.GetMapper
Query = mapper.Query
BuildUnbondingDelegationByHeightPrefix = types.BuildUnbondingDelegationByHeightPrefix
GetUnbondingDelegationHeightAddress = types.GetUnbondingDelegationHeightDelegatorValidator
BuildRedelegationByHeightPrefix = types.BuildRedelegationByHeightPrefix
GetRedelegationHeightAddress = types.GetRedelegationHeightDelegatorFromValidator
NewCreateValidatorTx = txs.NewCreateValidatorTx
NewDelegationInfo = types.NewDelegationInfo
NewUnbondingInfo = types.NewUnbondingDelegationInfo
ParamSpace = types.ParamSpace
DefaultParams = types.DefaultParams
Active = types.Active
Inactive = types.Inactive
Revoke = types.Revoke
MissVoteBlock = types.MissVoteBlock
MaxValidator = types.MaxValidator
QueryCommands = client.QueryCommands
TxCommands = client.TxCommands
BuildCommissionRates = client.BuildCommissionRates
NewCommissionRates = types.NewCommissionRates
DefaultCommissionRate = client.DefaultCommissionRate
DefaultCommissionMaxRate = client.DefaultCommissionMaxRate
DefaultCommissionMaxChangeRate = client.DefaultCommissionMaxChangeRate
BuildCurrentValidatorsAddressKey = types.BuildCurrentValidatorsAddressKey
)
type (
GenesisState = types.GenesisState
ValidatorVoteInfoState = types.ValidatorVoteInfoState
ValidatorVoteInWindowInfoState = types.ValidatorVoteInWindowInfoState
DelegationInfoState = types.DelegationInfoState
Params = types.Params
Validator = types.Validator
Description = types.Description
Delegation = types.DelegationInfo
Hooks = types.Hooks
TxCreateValidator = txs.TxCreateValidator
UnbondingDelegationInfo = types.UnbondingDelegationInfo
ReDelegationInfo = types.RedelegationInfo
DelegationInfo = types.DelegationInfo
)