18 lines
339 B
Go
18 lines
339 B
Go
|
package types
|
||
|
|
||
|
import (
|
||
|
"github.com/cosmos/cosmos-sdk/codec"
|
||
|
)
|
||
|
|
||
|
// ModuleCdc is the codec for the module
|
||
|
var ModuleCdc = codec.New()
|
||
|
|
||
|
func init() {
|
||
|
RegisterCodec(ModuleCdc)
|
||
|
}
|
||
|
|
||
|
// RegisterCodec registers concrete types on the Amino codec
|
||
|
func RegisterCodec(cdc *codec.Codec) {
|
||
|
cdc.RegisterConcrete(MsgFund{}, "ethermint/MsgFund", nil)
|
||
|
}
|