client

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestKeyring

func NewTestKeyring(
	encodingCfg simappparams.EncodingConfig,
	keyringDir string,
	accountName string,
) (keyring.Keyring, *keyring.Record)

func PopulateFromFields

func PopulateFromFields(ctx client.Context, bech32Address string) client.Context

Types

type ExchangeIdMarketPriceTimestamp

type ExchangeIdMarketPriceTimestamp struct {
	ExchangeId           types.ExchangeId
	MarketPriceTimestamp *types.MarketPriceTimestamp
}

ExchangeIdMarketPriceTimestamp contains an `ExchangeId` and an associated `types.MarketPriceTimestamp`. This type exists for convenience and clarity in testing the pricefeed client.

type MockClient

type MockClient struct {
	mock.Client
	Err error
}

func (MockClient) BroadcastTxSync

func (c MockClient) BroadcastTxSync(
	ctx context.Context,
	tx tmtypes.Tx,
) (*ctypes.ResultBroadcastTx, error)

Jump to

Keyboard shortcuts

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