-
Notifications
You must be signed in to change notification settings - Fork 291
/
alias.go
91 lines (86 loc) · 4.37 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// nolint
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/terra-project/core/x/treasury/internal/types/
// ALIASGEN: github.com/terra-project/core/x/treasury/internal/keeper/
package treasury
import (
"github.com/terra-project/core/x/treasury/internal/keeper"
"github.com/terra-project/core/x/treasury/internal/types"
)
const (
DefaultCodespace = types.DefaultCodespace
CodeInvalidEpoch = types.CodeInvalidEpoch
ModuleName = types.ModuleName
StoreKey = types.StoreKey
RouterKey = types.RouterKey
QuerierRoute = types.QuerierRoute
DefaultParamspace = types.DefaultParamspace
ProposalTypeTaxRateUpdate = types.ProposalTypeTaxRateUpdate
ProposalTypeRewardWeightUpdate = types.ProposalTypeRewardWeightUpdate
QueryTaxRate = types.QueryTaxRate
QueryTaxCap = types.QueryTaxCap
QueryRewardWeight = types.QueryRewardWeight
QuerySeigniorageProceeds = types.QuerySeigniorageProceeds
QueryTaxProceeds = types.QueryTaxProceeds
QueryParameters = types.QueryParameters
)
var (
// functions aliases
RegisterCodec = types.RegisterCodec
ErrInvalidEpoch = types.ErrInvalidEpoch
NewGenesisState = types.NewGenesisState
DefaultGenesisState = types.DefaultGenesisState
ValidateGenesis = types.ValidateGenesis
GetTaxCapKey = types.GetTaxCapKey
GetTRKey = types.GetTRKey
GetSRKey = types.GetSRKey
GetTSLKey = types.GetTSLKey
GetSubkeyByEpoch = types.GetSubkeyByEpoch
DefaultParams = types.DefaultParams
NewTaxRateUpdateProposal = types.NewTaxRateUpdateProposal
NewRewardWeightUpdateProposal = types.NewRewardWeightUpdateProposal
NewQueryTaxCapParams = types.NewQueryTaxCapParams
NewKeeper = keeper.NewKeeper
ParamKeyTable = keeper.ParamKeyTable
NewQuerier = keeper.NewQuerier
// variable aliases
ModuleCdc = types.ModuleCdc
TaxRateKey = types.TaxRateKey
RewardWeightKey = types.RewardWeightKey
TaxCapKey = types.TaxCapKey
TaxProceedsKey = types.TaxProceedsKey
EpochInitialIssuanceKey = types.EpochInitialIssuanceKey
TRKey = types.TRKey
SRKey = types.SRKey
TSLKey = types.TSLKey
ParamStoreKeyTaxPolicy = types.ParamStoreKeyTaxPolicy
ParamStoreKeyRewardPolicy = types.ParamStoreKeyRewardPolicy
ParamStoreKeySeigniorageBurdenTarget = types.ParamStoreKeySeigniorageBurdenTarget
ParamStoreKeyMiningIncrement = types.ParamStoreKeyMiningIncrement
ParamStoreKeyWindowShort = types.ParamStoreKeyWindowShort
ParamStoreKeyWindowLong = types.ParamStoreKeyWindowLong
ParamStoreKeyWindowProbation = types.ParamStoreKeyWindowProbation
DefaultTaxPolicy = types.DefaultTaxPolicy
DefaultRewardPolicy = types.DefaultRewardPolicy
DefaultSeigniorageBurdenTarget = types.DefaultSeigniorageBurdenTarget
DefaultMiningIncrement = types.DefaultMiningIncrement
DefaultWindowShort = types.DefaultWindowShort
DefaultWindowLong = types.DefaultWindowLong
DefaultWindowProbation = types.DefaultWindowProbation
DefaultTaxRate = types.DefaultTaxRate
DefaultRewardWeight = types.DefaultRewardWeight
)
type (
PolicyConstraints = types.PolicyConstraints
SupplyKeeper = types.SupplyKeeper
MarketKeeper = types.MarketKeeper
StakingKeeper = types.StakingKeeper
DistributionKeeper = types.DistributionKeeper
GenesisState = types.GenesisState
Params = types.Params
TaxRateUpdateProposal = types.TaxRateUpdateProposal
RewardWeightUpdateProposal = types.RewardWeightUpdateProposal
QueryTaxCapParams = types.QueryTaxCapParams
Keeper = keeper.Keeper
)