forked from blockchainhelp-eu/P2P-Exchange-Development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalias.go
33 lines (29 loc) · 869 Bytes
/
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
package nameservice
import (
"github.com/cosmos/sdk-tutorials/nameservice/x/nameservice/internal/keeper"
"github.com/cosmos/sdk-tutorials/nameservice/x/nameservice/internal/types"
)
const (
ModuleName = types.ModuleName
RouterKey = types.RouterKey
StoreKey = types.StoreKey
)
var (
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
NewMsgBuyName = types.NewMsgBuyName
NewMsgSetName = types.NewMsgSetName
NewMsgDeleteName = types.NewMsgDeleteName
NewWhois = types.NewWhois
ModuleCdc = types.ModuleCdc
RegisterCodec = types.RegisterCodec
)
type (
Keeper = keeper.Keeper
MsgSetName = types.MsgSetName
MsgBuyName = types.MsgBuyName
MsgDeleteName = types.MsgDeleteName
QueryResResolve = types.QueryResResolve
QueryResNames = types.QueryResNames
Whois = types.Whois
)