testutil

package
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 QueryGovDeposit

func QueryGovDeposit(f *cli.Fixtures, proposalID int, depositor sdk.AccAddress, flags ...string) gov.Deposit

QueryGovDeposit is simcli query gov deposit

func QueryGovDeposits

func QueryGovDeposits(f *cli.Fixtures, propsalID int, flags ...string) []gov.Deposit

QueryGovDeposits is simcli query gov deposits

func QueryGovParamDeposit

func QueryGovParamDeposit(f *cli.Fixtures) gov.DepositParams

QueryGovParamDeposit is simcli query gov param deposit

func QueryGovParamTallying

func QueryGovParamTallying(f *cli.Fixtures) gov.TallyParams

QueryGovParamTallying is simcli query gov param tallying

func QueryGovParamVoting

func QueryGovParamVoting(f *cli.Fixtures) gov.VotingParams

QueryGovParamVoting is simcli query gov param voting

func QueryGovProposal

func QueryGovProposal(f *cli.Fixtures, proposalID int, flags ...string) gov.Proposal

QueryGovProposal is simcli query gov proposal

func QueryGovProposals

func QueryGovProposals(f *cli.Fixtures, flags ...string) gov.Proposals

QueryGovProposals is simcli query gov proposals

func QueryGovVote

func QueryGovVote(f *cli.Fixtures, proposalID int, voter sdk.AccAddress, flags ...string) gov.Vote

QueryGovVote is simcli query gov vote

func QueryGovVotes

func QueryGovVotes(f *cli.Fixtures, proposalID int, flags ...string) []gov.Vote

QueryGovVotes is simcli query gov votes

func TxGovDeposit

func TxGovDeposit(f *cli.Fixtures, proposalID int, from string, amount sdk.Coin, flags ...string) (bool, string, string)

TxGovDeposit is simcli tx gov deposit

func TxGovSubmitCommunityPoolSpendProposal

func TxGovSubmitCommunityPoolSpendProposal(f *cli.Fixtures,
	from, proposalPath string, deposit sdk.Coin, flags ...string,
) (bool, string, string)

TxGovSubmitCommunityPoolSpendProposal executes a CLI community pool spend proposal submission.

func TxGovSubmitParamChangeProposal

func TxGovSubmitParamChangeProposal(f *cli.Fixtures,
	from, proposalPath string, deposit sdk.Coin, flags ...string,
) (bool, string, string)

TxGovSubmitParamChangeProposal executes a CLI parameter change proposal submission.

func TxGovSubmitProposal

func TxGovSubmitProposal(f *cli.Fixtures, from, typ, title, description string, deposit sdk.Coin, flags ...string) (bool, string, string)

TxGovSubmitProposal is simcli tx gov submit-proposal

func TxGovVote

func TxGovVote(f *cli.Fixtures, proposalID int, option gov.VoteOption, from string, flags ...string) (bool, string, string)

TxGovVote is simcli tx gov vote

Types

This section is empty.

Jump to

Keyboard shortcuts

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