- makefile clean up - replace cosmos-sdk - upgrade cosmos-sdk to v1.0.0 - replace cometbft refactor cli + app init - rm crisis module - use custom address codec - app setup, depinject fixes - improve errors
19 lines
495 B
Go
19 lines
495 B
Go
package bond
|
|
|
|
import (
|
|
"cosmossdk.io/core/registry"
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
|
)
|
|
|
|
// RegisterInterfaces registers the interfaces types with the interface registry.
|
|
func RegisterInterfaces(registry registry.InterfaceRegistrar) {
|
|
registry.RegisterImplementations((*sdk.Msg)(nil),
|
|
&MsgCreateBond{},
|
|
&MsgRefillBond{},
|
|
&MsgCancelBond{},
|
|
&MsgWithdrawBond{},
|
|
)
|
|
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
|
|
}
|