types

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccAddrFromBech32

func AccAddrFromBech32(addr string) (types.AccAddress, error)

Types

type BroadcastTxResult

type BroadcastTxResult struct {
	BroadcastResult ResultBroadcastTx       `json:"broadcast_result"`
	CommitResult    ResultBroadcastTxCommit `json:"commit_result"`
}

type Coin

type Coin struct {
	Denom  string `json:"denom"`
	Amount string `json:"amount"`
}

func BuildCoins

func BuildCoins(txCoins types.Coins) []Coin

type MsgDeleteResult added in v1.1.5

type MsgDeleteResult struct {
	// contains filtered or unexported fields
}

type ResultBroadcastTx

type ResultBroadcastTx struct {
	Code uint32       `json:"code"`
	Data cmn.HexBytes `json:"data"`
	Log  string       `json:"log"`
	Hash cmn.HexBytes `json:"hash"`
}

type ResultBroadcastTxCommit

type ResultBroadcastTxCommit struct {
	CheckTx   abci.ResponseCheckTx   `json:"check_tx"`
	DeliverTx abci.ResponseDeliverTx `json:"deliver_tx"`
	Hash      cmn.HexBytes           `json:"hash"`
	Height    int64                  `json:"height"`
}

Jump to

Keyboard shortcuts

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