x/ownership/internal/types/codec.go
package types
import (
"github.com/cosmos/cosmos-sdk/codec"
)
// RegisterCodec registers concrete types on codec.
func RegisterCodec(cdc *codec.Codec) {
cdc.RegisterConcrete(MsgWithdraw{}, "ownership/withdraw", nil)
}
// ModuleCdc defines the module codec.
var ModuleCdc *codec.Codec
func init() {
ModuleCdc = codec.New()
RegisterCodec(ModuleCdc)
codec.RegisterCrypto(ModuleCdc)
ModuleCdc.Seal()
}