tobroker

package
v1.1.1-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) MapCoin

func (tb *ToBroker) MapCoin(coin types.Coin) model.Coin

func (*ToBroker) MapCoins

func (tb *ToBroker) MapCoins(coins types.Coins) model.Coins

func (*ToBroker) MapMessage

func (tb *ToBroker) MapMessage(txHash, msgType, signer string, index int, accounts []string, value []byte) model.Message

func (*ToBroker) MapTransaction

func (tb *ToBroker) MapTransaction(tx *types.Tx) (model.Transaction, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL