util

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryHistoryByTxQuery

func QueryHistoryByTxQuery(
	cdc *codec.Codec, cliCtx context.CLIContext, params QueryHistoryParams,
) ([]byte, error)

QueryHistoryByTxQuery will query for votes via a direct txs tags query. It will fetch and build votes directly from the returned txs and return a JSON marshalled result or any error that occurred.

NOTE: SearchTxs is used to facilitate the txs query which does not currently support configurable pagination.

Types

type QueryHistoryParams

type QueryHistoryParams struct {
	TraderAddress sdk.AccAddress
	AskDenom      string
	OfferDenom    string
}

Jump to

Keyboard shortcuts

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