Documentation ¶
Index ¶
- type ToBroker
- func (tb *ToBroker) MapCoin(coin types.Coin) model.Coin
- func (tb *ToBroker) MapCoins(coins types.Coins) model.Coins
- func (tb *ToBroker) MapMessage(txHash, msgType, signer string, index int, accounts []string, value []byte) model.Message
- func (tb *ToBroker) MapTransaction(tx *types.Tx) (model.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ToBroker ¶
type ToBroker struct {
// contains filtered or unexported fields
}
ToBroker mapper
func NewToBroker ¶
func NewToBroker(cdc codec.Codec, amino *codec.LegacyAmino) *ToBroker
func (*ToBroker) MapMessage ¶
func (*ToBroker) MapTransaction ¶
Click to show internal directories.
Click to hide internal directories.