testutil

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryAccount

func QueryAccount(f *cli.Fixtures, address sdk.AccAddress, flags ...string) auth.BaseAccount

QueryAccount is simcli query account

func QueryBalances

func QueryBalances(f *cli.Fixtures, address sdk.AccAddress, flags ...string) sdk.Coins

QueryBalances executes the bank query balances command for a given address and flag set.

func QueryTotalSupply

func QueryTotalSupply(f *cli.Fixtures, flags ...string) (totalSupply sdk.Coins)

QueryTotalSupply returns the total supply of coins

func QueryTotalSupplyOf

func QueryTotalSupplyOf(f *cli.Fixtures, denom string, flags ...string) sdk.Int

QueryTotalSupplyOf returns the total supply of a given coin denom

func TxSend

func TxSend(f *cli.Fixtures, from string, to sdk.AccAddress, amount sdk.Coin, flags ...string) (bool, string, string)

TxSend is simcli tx send

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL