-
Notifications
You must be signed in to change notification settings - Fork 13
/
types.go
43 lines (40 loc) · 1.98 KB
/
types.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
package cosmosutils
import (
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/std"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
authztypes "github.com/cosmos/cosmos-sdk/x/authz"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/cosmos/cosmos-sdk/x/params/types/proposal"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
ibctransfertypes "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"
ibctypes "github.com/cosmos/ibc-go/v2/modules/core/types"
nfttypes "github.com/crypto-org-chain/chain-main/v3/x/nft/types"
)
func RegisterDefaultInterfaces(interfaceRegistry types.InterfaceRegistry) {
std.RegisterInterfaces(interfaceRegistry)
authtypes.RegisterInterfaces(interfaceRegistry)
banktypes.RegisterInterfaces(interfaceRegistry)
crisistypes.RegisterInterfaces(interfaceRegistry)
distributiontypes.RegisterInterfaces(interfaceRegistry)
evidencetypes.RegisterInterfaces(interfaceRegistry)
govtypes.RegisterInterfaces(interfaceRegistry)
proposal.RegisterInterfaces(interfaceRegistry)
slashingtypes.RegisterInterfaces(interfaceRegistry)
stakingtypes.RegisterInterfaces(interfaceRegistry)
upgradetypes.RegisterInterfaces(interfaceRegistry)
vestingtypes.RegisterInterfaces(interfaceRegistry)
ibctypes.RegisterInterfaces(interfaceRegistry)
ibctransfertypes.RegisterInterfaces(interfaceRegistry)
nfttypes.RegisterInterfaces(interfaceRegistry)
authztypes.RegisterInterfaces(interfaceRegistry)
feegranttypes.RegisterInterfaces(interfaceRegistry)
}