simulation

package
v0.33.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NonnegativeBalanceInvariant

func NonnegativeBalanceInvariant(ak auth.AccountKeeper) sdk.Invariant

NonnegativeBalanceInvariant checks that all accounts in the application have non-negative balances

func SendMsg added in v0.31.0

func SendMsg(mapper auth.AccountKeeper, bk bank.Keeper) simulation.Operation

SendTx tests and runs a single msg send where both accounts already exist.

func SendTx added in v0.31.0

func SendTx(mapper auth.AccountKeeper) simulation.Operation

SendTx tests and runs a single tx send, with auth where both accounts already exist.

func SingleInputMsgMultiSend added in v0.31.0

func SingleInputMsgMultiSend(mapper auth.AccountKeeper, bk bank.Keeper) simulation.Operation

SingleInputSendMsg tests and runs a single msg multisend, with one input and one output, where both accounts already exist.

func SingleInputMultiSendTx added in v0.31.0

func SingleInputMultiSendTx(mapper auth.AccountKeeper) simulation.Operation

SingleInputSendTx tests and runs a single msg multisend w/ auth, with one input and one output, where both accounts already exist.

func TotalCoinsInvariant

func TotalCoinsInvariant(ak auth.AccountKeeper, totalSupplyFn func() sdk.Coins) sdk.Invariant

TotalCoinsInvariant checks that the sum of the coins across all accounts is what is expected

Types

This section is empty.

Jump to

Keyboard shortcuts

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