cli

package
v1.4.2-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdDecryptText

func CmdDecryptText() *cobra.Command

func ExecuteContractCmd

func ExecuteContractCmd() *cobra.Command

ExecuteContractCmd will instantiate a contract from previously uploaded code.

func ExecuteWithData

func ExecuteWithData(cmd *cobra.Command, contractAddress sdk.AccAddress, msg []byte, amount string, genOnly bool, ioMasterKeyPath string, codeHash string, cliCtx client.Context) error

func GetCmdCodeHashByCodeID

func GetCmdCodeHashByCodeID() *cobra.Command

GetCmdCodeHashByID return the code hash of a contract by ID

func GetCmdCodeHashByContractAddress

func GetCmdCodeHashByContractAddress() *cobra.Command

GetCmdListCode lists all wasm code uploaded

func GetCmdGetContractInfo

func GetCmdGetContractInfo() *cobra.Command

GetCmdGetContractInfo gets details about a given contract

func GetCmdListCode

func GetCmdListCode() *cobra.Command

GetCmdListCode lists all wasm code uploaded

func GetCmdListContractByCode

func GetCmdListContractByCode() *cobra.Command

GetCmdListContractByCode lists all wasm code uploaded for given code id

func GetCmdQuery

func GetCmdQuery() *cobra.Command

func GetCmdQueryCode

func GetCmdQueryCode() *cobra.Command

GetCmdQueryCode returns the bytecode for a given contract

func GetCmdQueryLabel

func GetCmdQueryLabel() *cobra.Command

GetCmdListCode lists all wasm code uploaded

func GetCodeHashByCodeId

func GetCodeHashByCodeId(cliCtx client.Context, codeID string) ([]byte, error)

func GetCodeHashByContractAddr

func GetCodeHashByContractAddr(cliCtx client.Context, contractAddr sdk.AccAddress) ([]byte, error)

func GetQueryCmd

func GetQueryCmd() *cobra.Command

func GetQueryDecryptTxCmd

func GetQueryDecryptTxCmd() *cobra.Command

QueryDecryptTxCmd the default command for a tx query + IO decryption if I'm the tx sender. Coppied from https://github.com/cosmos/cosmos-sdk/blob/v0.38.4/x/auth/client/cli/query.go#L157-L184 and added IO decryption (Could not wrap it because it prints directly to stdout)

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func InstantiateContractCmd

func InstantiateContractCmd() *cobra.Command

InstantiateContractCmd will instantiate a contract from previously uploaded code.

func QueryWithData

func QueryWithData(contractAddress sdk.AccAddress, queryData []byte, cliCtx client.Context) error

func StoreCodeCmd

func StoreCodeCmd() *cobra.Command

StoreCodeCmd will upload code to be reused.

Types

This section is empty.

Jump to

Keyboard shortcuts

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