-
Notifications
You must be signed in to change notification settings - Fork 86
/
alias.go
48 lines (42 loc) 路 1.62 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
package bandwidth
import (
"github.com/cybercongress/go-cyber/x/bandwidth/exported"
"github.com/cybercongress/go-cyber/x/bandwidth/internal/keeper"
"github.com/cybercongress/go-cyber/x/bandwidth/internal/types"
)
const (
DefaultParamspace = types.DefaultParamspace
ModuleName = types.ModuleName
StoreKey = types.StoreKey
RouterKey = types.RouterKey
QuerierRoute = types.QuerierRoute
QueryParameters = types.QueryParameters
QueryDesirableBandwidth = types.QueryDesirableBandwidth
QueryMaxBlockBandwidth = types.QueryMaxBlockBandwidth
QueryRecoveryPeriod = types.QueryRecoveryPeriod
QueryAdjustPricePeriod = types.QueryAdjustPricePeriod
QueryBaseCreditPrice = types.QueryBaseCreditPrice
QueryTxCost = types.QueryTxCost
QueryLinkMsgCost = types.QueryLinkMsgCost
QueryNonLinkMsgCost = types.QueryNonLinkMsgCost
)
type (
Keeper = exported.Keeper
BlockSpentBandwidthKeeper = exported.BlockSpentBandwidthKeeper
Meter = types.BandwidthMeter
Ac褋Bandwidth = types.Ac褋Bandwidth
Params = types.Params
GenesisState = types.GenesisState
)
var (
ModuleCdc = types.ModuleCdc
RegisterCodec = types.RegisterCodec
NewGenesisState = types.NewGenesisState
DefaultGenesisState = types.DefaultGenesisState
ValidateGenesis = types.ValidateGenesis
NewDefaultParams = types.NewDefaultParams
NewQuerier = keeper.NewQuerier
NewAccBandwidthKeeper = keeper.NewAccBandwidthKeeper
NewBlockSpentBandwidthKeeper = keeper.NewBlockSpentBandwidthKeeper
ParamKeyTable = keeper.ParamKeyTable
)