Categorypkg.akt.dev/go/cli
modulepackage
0.0.2-rc1
Repository: https://github.com/akash-network/akash-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AddGovPropFlagsToCmd adds flags for defining MsgSubmitProposal fields.
BuildCreateValidatorMsg makes a new MsgCreateValidator.
No description provided by the author
No description provided by the author
ConvertBech32Cmd get cmd to convert any bech32 address to an akash prefix.
CreateValidatorMsgFlagSet returns the flagset, particular flags, and a description of defaults this is anticipated to be used with the gen-tx.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetAuthMultiSignCmd returns the multi-sign command.
No description provided by the author
GetBroadcastCommand returns the tx broadcast command.
GetClientContextFromCmd returns a Context from a command or an empty Context if it has not been set.
GetClientQueryContext returns a Context from a command with fields set based on flags defined in AddQueryFlagsToCmd.
GetClientTxContext returns a Context from a command with fields set based on flags defined in AddTxFlagsToCmd.
GetDecodeCommand returns the decode command to take serialized bytes and turn it into a JSON-encoded transaction.
No description provided by the author
No description provided by the author
GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into Amino-serialized bytes.
GetGenesisAddAccountCmd returns add-genesis-account cobra Command.
No description provided by the author
GetGenesisCollectCmd - return the cobra command to collect genesis transactions.
GetGenesisGenTxCmd builds the application's gentx command.
GetGenesisInitCmd returns a command that initializes all files needed for Tendermint and the respective application.
GetMigrationCallback returns a MigrationCallback for a given version.
GetMigrationVersions get all migration version in a sorted slice.
No description provided by the author
No description provided by the author
GetQueryAuthAccountAddressByIDCmd returns a query account that will display the account address of a given account id.
GetQueryAuthAccountCmd returns a query account that will display the state of the account at a given address.
GetQueryAuthAccountsCmd returns a query command that will display a list of accounts.
GetQueryAuthCmd returns the transaction commands for this module.
GetQueryAuthModuleAccountByNameCmd returns a command to.
GetQueryAuthModuleAccountsCmd returns a list of all the existing module accounts with their account information and permissions.
GetQueryAuthParamsCmd returns the command handler for evidence parameter querying.
GetQueryAuthTxCmd implements the default command for a tx query.
GetQueryAuthTxsByEventsCmd returns a command to search through transactions by events.
GetQueryAuthzCmd returns the cli query commands for this module.
GetQueryAuthzGranteeGrantsCmd returns cmd to query for all grants for a grantee.
GetQueryAuthzGranterGrantsCmd returns cmd to query for all grants for a granter.
GetQueryAuthzGrantsCmd implements the query authorization command.
No description provided by the author
GetQueryBankCmd returns the parent command for all x/bank CLi query commands.
GetQueryBankDenomsMetadataCmd defines the cobra command to query client denomination metadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetQueryDeploymentCmds returns the query commands for the deployment module.
No description provided by the author
No description provided by the author
No description provided by the author
GetQueryDistributionCmd returns the cli query commands for this module.
GetQueryDistributionCommunityPoolCmd returns the command for fetching community pool info.
GetQueryDistributionDelegatorRewardsCmd implements the query delegator rewards command.
GetQueryDistributionParamsCmd implements the query params command.
GetQueryDistributionTokenizeShareRecordRewardCmd implements the query tokenize share record rewards.
GetQueryDistributionValidatorCommissionCmd implements the query validator commission command.
GetQueryDistributionValidatorDistributionInfoCmd implements the query validator distribution info command.
GetQueryDistributionValidatorOutstandingRewardsCmd implements the query validator outstanding rewards command.
GetQueryDistributionValidatorSlashesCmd implements the query validator slashes command.
No description provided by the author
No description provided by the author
GetQueryEvidenceCmd returns the CLI command with all evidence module query commands mounted.
GetQueryFeegrantCmd returns the cli query commands for this module.
GetQueryFeeGrantCmd returns cmd to query for a grant between granter and grantee.
GetQueryFeeGrantsByGranteeCmd returns cmd to query for all grants for a grantee.
GetQueryFeeGrantsByGranterCmd returns cmd to query for all grants by a granter.
No description provided by the author
GetQueryGovCmd returns the cli query commands for this module.
GetQueryGovDepositCmd implements the query proposal deposit command.
GetQueryGovDepositsCmd implements the command to query for proposal deposits.
GetQueryGovParamCmd implements the query param command.
GetQueryGovProposalCmd implements the query proposal command.
GetQueryGovProposalsCmd implements a query proposals command.
GetQueryGovProposerCmd implements the query proposer command.
GetQueryGovQueryParamsCmd implements the query params command.
GetQueryGovTallyCmd implements the command to query for proposal tally result.
GetQueryGovVoteCmd implements the query proposal vote command.
GetQueryGovVotesCmd implements the command to query for proposal votes.
No description provided by the author
No description provided by the author
No description provided by the author
GetQueryMarketCmds returns the transaction commands for the market module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetQueryMintAnnualProvisionsCmd implements a command to return the current minting annual provisions value.
GetQueryMintCmd returns the cli query commands for the minting module.
GetQueryMintInflationCmd implements a command to return the current minting inflation value.
GetQueryMintParamsCmd implements a command to return the current minting parameters.
GetQueryParamsCmd returns a root CLI command handler for all x/params query commands.
GetQueryParamsSubspaceCmd returns a CLI command handler for querying subspace parameters managed by the x/params module.
No description provided by the author
GetQueryProviderCmds returns the transaction commands for the provider module.
GetQuerySlashingCmd returns the cli query commands for this module.
GetQuerySlashingParamsCmd implements a command to fetch slashing parameters.
GetQuerySlashingSigningInfoCmd implements the command to query signing info.
GetQuerySlashingSigningInfosCmd implements the command to query signing infos.
GetQueryStakingAllTokenizeShareRecordsCmd implements the query for all tokenize share records.
GetQueryStakingCmd returns the cli query commands for this module.
GetQueryStakingDelegationCmd the query delegation command.
GetQueryStakingDelegationsCmd implements the command to query all the delegations made from one delegator.
GetQueryStakingHistoricalInfoCmd implements the historical info query command.
GetQueryStakingLastTokenizeShareRecordIDCmd implements the query for last tokenize share record id.
GetQueryStakingParamsCmd implements the params query command.
GetQueryStakingPoolCmd implements the pool query command.
GetQueryStakingRedelegationCmd implements the command to query a single redelegation record.
GetQueryStakingRedelegationsCmd implements the command to query all the redelegation records for a delegator.
GetQueryStakingTokenizeShareLockInfoCmd returns the tokenize share lock status for a user.
GetQueryStakingTokenizeShareRecordByDenomCmd implements the query for individual tokenize share record information by share denom.
GetQueryStakingTokenizeShareRecordByIDCmd implements the query for individual tokenize share record information by share by id.
GetQueryStakingTokenizeShareRecordsOwnedCmd implements the query tokenize share records by address.
GetQueryStakingTotalLiquidStakedCmd implements the query for total liquid staked tokens.
GetQueryStakingTotalTokenizeSharedAssetsCmd implements the query for total tokenized staked assets.
GetQueryStakingUnbondingDelegationCmd implements the command to query a single unbonding-delegation record.
GetQueryStakingUnbondingDelegationsCmd implements the command to query all the unbonding-delegation records for a delegator.
GetQueryStakingValidatorCmd implements the validator query command.
GetQueryStakingValidatorDelegationsCmd implements the command to query all the delegations to a specific validator.
GetQueryStakingValidatorRedelegationsCmd implements the query all redelegatations from a validator command.
GetQueryStakingValidatorsCmd implements the query all validators command.
GetQueryStakingValidatorUnbondingDelegationsCmd implements the query all unbonding delegatations from a validator command.
GetQueryUpgradeAppliedPlanCmd returns information about the block at which a completed upgrade was applied.
GetQueryUpgradeCmd returns the parent command for all x/upgrade CLI query commands.
GetQueryUpgradeCurrentPlanCmd returns the query upgrade plan command.
GetModuleVersionsCmd returns the module version list from state.
GetSignBatchCommand returns the transaction sign-batch command.
GetSignCommand returns the transaction sign command.
No description provided by the author
GetTxAuditCmd returns the transaction commands for audit module.
GetTxAuthzCmd returns the transaction commands for this module.
GetTxAuthzExecAuthorizationCmd returns a CLI command handler for creating a MsgExec transaction.
GetTxAuthzGrantAuthorizationCmd returns a CLI command handler for creating a MsgGrant transaction.
GetTxAuthzRevokeAuthorizationCmd returns a CLI command handler for creating a MsgRevoke transaction.
GetTxBankCmd returns a root CLI command handler for all x/bank transaction commands.
GetTxBankMultiSendTxCmd returns a CLI command handler for creating a MsgMultiSend transaction.
GetTxBankSendTxCmd returns a CLI command handler for creating a MsgSend transaction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTxCrisisCmd returns a root CLI command handler for all x/crisis transaction commands.
GetTxCrisisVerifyInvariantTxCmd returns a CLI command handler for creating a MsgVerifyInvariant transaction.
No description provided by the author
No description provided by the author
GetTxDeploymentCmds returns the transaction commands for this module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTxDistributionFundCommunityPoolCmd returns a CLI command handler for creating a MsgFundCommunityPool transaction.
GetTxDistributionSetWithdrawAddrCmd returns a CLI command handler for creating a MsgSetWithdrawAddress transaction.
GetTxDistributionWithdrawAllRewardsCmd returns a CLI command handler for creating a MsgWithdrawDelegatorReward transaction.
GetTxDistributionWithdrawAllTokenizeShareRecordRewardCmd defines a method to withdraw reward for all owning TokenizeShareRecord.
GetTxDistributionWithdrawRewardsCmd returns a CLI command handler for creating a MsgWithdrawDelegatorReward transaction.
GetTxDistributionWithdrawTokenizeShareRecordRewardCmd defines a method to withdraw reward for an owning TokenizeShareRecord.
GetTxEncoder return tx encoder from global sdk configuration if ones is defined.
No description provided by the author
GetTxEvidenceCmd returns a CLI command that has all the native evidence module tx commands mounted.
GetTxFeegrantCmd returns the transaction commands for this module.
GetTxFeegrantGrantCmd returns a CLI command handler for creating a MsgGrantAllowance transaction.
GetTxFeegrantRevokeCmd returns a CLI command handler for creating a MsgRevokeAllowance transaction.
GetTxGovCmd returns the transaction commands for this module governance ModuleClient is slightly different from other ModuleClients in that it contains a slice of legacy "proposal" child commands.
GetTxGovDepositCmd implements depositing tokens for an active proposal.
GetTxGovDraftProposalCmd let a user generate a draft proposal.
GetTxGovSubmitLegacyProposalCmd implements submitting a proposal transaction command.
GetTxGovSubmitProposalCmd implements submitting a proposal transaction command.
GetTxGovVoteCmd implements creating a new vote command.
GetTxGovWeightedVoteCmd implements creating a new weighted vote command.
No description provided by the author
No description provided by the author
No description provided by the author
GetTxMarketCmds returns the transaction commands for market module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTxParamsSubmitParamChangeProposalCmd returns a CLI command handler for creating a parameter change proposal governance transaction.
GetTxProviderCmd returns the transaction commands for provider module.
No description provided by the author
No description provided by the author
GetTxSlashingCmd returns a root CLI command handler for all x/slashing transaction commands.
GetTxSlashingUnjailCmd returns a CLI command handler for creating a MsgUnjail transaction.
GetTxStakingCancelUnbondingDelegationCmd returns a CLI command handler for creating a MsgCancelUnbondingDelegation transaction.
GetTxStakingCmd returns a root CLI command handler for all x/staking transaction commands.
GetTxStakingCreateValidatorCmd returns a CLI command handler for creating a MsgCreateValidator transaction.
GetTxStakingDelegateCmd returns a CLI command handler for creating a MsgDelegate transaction.
GetTxStakingDisableTokenizeShares defines a command to disable tokenization for an address.
GetTxStakingEditValidatorCmd returns a CLI command handler for creating a MsgEditValidator transaction.
GetTxStakingEnableTokenizeShares defines a command to re-enable tokenization for an address.
GetTxStakingRedeemTokensCmd defines a command for redeeming tokens from a validator for shares.
GetTxStakingRedelegateCmd returns a CLI command handler for creating a MsgBeginRedelegate transaction.
GetTxStakingTokenizeSharesCmd defines a command for tokenizing shares from a validator.
GetTxStakingTransferTokenizeShareRecordCmd defines a command to transfer ownership of TokenizeShareRecord.
GetTxStakingUnbondCmd returns a CLI command handler for creating a MsgUndelegate transaction.
No description provided by the author
GetTxStakingValidatorBondCmd defines a command to mark a delegation as a validator self bond.
GetTxUpgradeCmd returns the transaction commands for this module.
GetTxUpgradeSubmitLegacyCancelUpgradeProposal implements a command handler for submitting a software upgrade cancel proposal transaction.
GetTxUpgradeSubmitLegacyUpgradeProposal implements a command handler for submitting a software upgrade proposal transaction.
GetTxVestingCmd returns vesting module's transaction commands.
GetTxVestingCreateAccountCmd returns a CLI command handler for creating a MsgCreateVestingAccount transaction.
GetTxVestingCreatePeriodicAccountCmd returns a CLI command handler for creating a MsgCreatePeriodicVestingAccountCmd transaction.
GetTxVestingCreatePermanentLockedAccountCmd returns a CLI command handler for creating a MsgCreatePermanentLockedAccount transaction.
No description provided by the author
No description provided by the author
No description provided by the author
MigrateGenesisCmd returns a command to execute genesis state migration.
MigrateHandler handles the migration command with a migration map as input, returning an error upon failure.
No description provided by the author
No description provided by the author
NewBatchScanner returns a new BatchScanner to read newline-delimited StdTx transactions from r.
No description provided by the author
ParseSigArgs parses comma-separated signatures from the CLI arguments.
No description provided by the author
Prompt prompts the user for all values of the given type.
PromptMetadata prompts for proposal metadata or only title and summary if skip is true.
No description provided by the author
No description provided by the author
ReadGovPropFlags parses a MsgSubmitProposal from the provided context and flags.
ReadPersistentCommandFlags returns a Context with fields set for "persistent" or common flags that do not necessarily change with context.
ReadProviderConfigPath reads and parses file.
ReadQueryCommandFlags returns an updated Context with fields set based on flags defined in AddQueryFlagsToCmd.
ReadTxCommandFlags returns an updated Context with fields set based on flags defined in AddTxFlagsToCmd.
ReadTxFromFile and decode a StdTx from the given filename.
ReadTxsFromInput reads multiples txs from the given filename(s).
No description provided by the author
SetCmdClientContext sets a command's Context value to the provided argument.
SetCmdClientContextHandler is to be used in a command pre-hook execution to read flags that populate a Context and sets that to the command's Context.
SignTx signs a transaction managed by the TxBuilder using a `name` key stored in Keybase.
SignTxWithSignerAddress attaches a signature to a transaction.
SubmitEvidenceCmd returns the top-level evidence submission command handler.
No description provided by the author
No description provided by the author
No description provided by the author
ValidateCmd returns unknown command error or Help display if help flag set.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
default values.
No description provided by the author
No description provided by the author
Transaction flags for the x/distribution module.
Transaction flags for the x/distribution module.
ProposalFlags defines the core required fields of a legacy proposal.

# Structs

BatchScanner provides a convenient interface for reading batch data such as a file of newline-delimited JSON encoded StdTx.
BroadcastReq defines a tx broadcasting request.
GasEstimateResponse defines a response definition for tx gas estimation.
No description provided by the author
ProviderConfig is the struct that stores provider config.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author