2018-01-20 19:00:56 -08:00
|
|
|
package bank
|
|
|
|
|
|
|
|
import (
|
2018-03-02 01:24:07 -08:00
|
|
|
"github.com/cosmos/cosmos-sdk/wire"
|
2018-01-20 19:00:56 -08:00
|
|
|
)
|
|
|
|
|
2018-03-02 09:21:49 -08:00
|
|
|
// Register concrete types on wire codec
|
2018-01-20 19:00:56 -08:00
|
|
|
func RegisterWire(cdc *wire.Codec) {
|
2018-04-18 21:49:24 -07:00
|
|
|
cdc.RegisterConcrete(MsgSend{}, "cosmos-sdk/Send", nil)
|
|
|
|
cdc.RegisterConcrete(MsgIssue{}, "cosmos-sdk/Issue", nil)
|
2018-01-20 19:00:56 -08:00
|
|
|
}
|
2018-05-28 11:26:43 -07:00
|
|
|
|
2018-05-31 11:51:15 -07:00
|
|
|
var msgCdc = wire.NewCodec()
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
RegisterWire(msgCdc)
|
2018-05-28 11:26:43 -07:00
|
|
|
}
|