2024-02-01 04:48:40 +00:00
|
|
|
package bond
|
|
|
|
|
|
|
|
import (
|
|
|
|
types "github.com/cosmos/cosmos-sdk/codec/types"
|
2024-02-02 09:39:10 +00:00
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
"github.com/cosmos/cosmos-sdk/types/msgservice"
|
2024-02-01 04:48:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// RegisterInterfaces registers the interfaces types with the interface registry.
|
|
|
|
func RegisterInterfaces(registry types.InterfaceRegistry) {
|
2024-02-02 09:39:10 +00:00
|
|
|
registry.RegisterImplementations((*sdk.Msg)(nil),
|
|
|
|
&MsgCreateBond{},
|
2024-02-08 13:23:20 +00:00
|
|
|
&MsgRefillBond{},
|
|
|
|
&MsgCancelBond{},
|
|
|
|
&MsgWithdrawBond{},
|
2024-02-02 09:39:10 +00:00
|
|
|
)
|
|
|
|
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
|
2024-02-01 04:48:40 +00:00
|
|
|
}
|