-
Notifications
You must be signed in to change notification settings - Fork 3.5k
/
alias.go
38 lines (33 loc) · 1.06 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
package capability
import (
"github.com/cosmos/cosmos-sdk/x/capability/keeper"
"github.com/cosmos/cosmos-sdk/x/capability/types"
)
// DONTCOVER
const (
ModuleName = types.ModuleName
StoreKey = types.StoreKey
MemStoreKey = types.MemStoreKey
)
var (
NewKeeper = keeper.NewKeeper
NewCapability = types.NewCapability
RevCapabilityKey = types.RevCapabilityKey
FwdCapabilityKey = types.FwdCapabilityKey
KeyIndex = types.KeyIndex
KeyPrefixIndexCapability = types.KeyPrefixIndexCapability
ErrCapabilityTaken = types.ErrCapabilityTaken
ErrOwnerClaimed = types.ErrOwnerClaimed
ErrCapabilityNotOwned = types.ErrCapabilityNotOwned
RegisterCodec = types.RegisterCodec
NewOwner = types.NewOwner
NewCapabilityOwners = types.NewCapabilityOwners
)
type (
Keeper = keeper.Keeper
ScopedKeeper = keeper.ScopedKeeper
Capability = types.Capability
Owners = types.CapabilityOwners
GenesisState = types.GenesisState
GenesisOwners = types.GenesisOwners
)