types

package
v3.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomAccountParser = []string{
	"sender", "receiver", "user", "counterparty", "blocker", "blocked",
}
View Source
var DefaultAccountParser = []string{
	"signer", "sender", "to_address", "from_address", "delegator_address",
	"validator_address", "submitter", "proposer", "depositor", "voter",
	"validator_dst_address", "validator_src_address",
}

Functions

func MessageParser

func MessageParser(msg map[string]interface{}) (addresses string)

Types

type TransactionRow

type TransactionRow struct {
	Hash        string `db:"hash"`
	Height      int64  `db:"height"`
	Success     string `db:"success"`
	Messages    string `db:"messages"`
	Memo        string `db:"memo"`
	Signatures  string `db:"signatures"`
	SignerInfos string `db:"signer_infos"`
	Fee         string `db:"fee"`
	GasWanted   string `db:"gas_wanted"`
	GasUsed     string `db:"gas_used"`
	RawLog      string `db:"raw_log"`
	Logs        string `db:"logs"`
}

Jump to

Keyboard shortcuts

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