cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearContractAdminCmd

func ClearContractAdminCmd() *cobra.Command

ClearContractAdminCmd clears an admin for a contract

func ExecuteContractCmd

func ExecuteContractCmd() *cobra.Command

ExecuteContractCmd will instantiate a contract from previously uploaded code.

func GetCmdBuildAddress added in v0.2.0

func GetCmdBuildAddress() *cobra.Command

GetCmdBuildAddress build a contract address

func GetCmdGetContractHistory

func GetCmdGetContractHistory() *cobra.Command

GetCmdGetContractHistory prints the code history for a given contract

func GetCmdGetContractInfo

func GetCmdGetContractInfo() *cobra.Command

GetCmdGetContractInfo gets details about a given contract

func GetCmdGetContractState

func GetCmdGetContractState() *cobra.Command

GetCmdGetContractState dumps full internal state of a given contract

func GetCmdGetContractStateAll

func GetCmdGetContractStateAll() *cobra.Command

func GetCmdGetContractStateRaw

func GetCmdGetContractStateRaw() *cobra.Command

func GetCmdGetContractStateSmart

func GetCmdGetContractStateSmart() *cobra.Command

func GetCmdLibVersion

func GetCmdLibVersion() *cobra.Command

GetCmdLibVersion gets current libwasmvm version.

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 GetCmdListContractsByCreator added in v0.2.0

func GetCmdListContractsByCreator() *cobra.Command

GetCmdListContractsByCreator lists all contracts by creator

func GetCmdListPinnedCode

func GetCmdListPinnedCode() *cobra.Command

GetCmdListPinnedCode lists all wasm code ids that are pinned

func GetCmdQueryCode

func GetCmdQueryCode() *cobra.Command

GetCmdQueryCode returns the bytecode for a given contract

func GetCmdQueryCodeInfo

func GetCmdQueryCodeInfo() *cobra.Command

GetCmdQueryCodeInfo returns the code info for a given code id

func GetCmdQueryParams added in v0.2.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements a command to return the current wasm parameters.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func GrantAuthorizationCmd added in v0.2.0

func GrantAuthorizationCmd() *cobra.Command

func InstantiateContract2Cmd added in v0.2.0

func InstantiateContract2Cmd() *cobra.Command

InstantiateContract2Cmd will instantiate a contract from previously uploaded code with predicable address generated

func InstantiateContractCmd

func InstantiateContractCmd() *cobra.Command

InstantiateContractCmd will instantiate a contract from previously uploaded code.

func MigrateContractCmd

func MigrateContractCmd() *cobra.Command

MigrateContractCmd will migrate a contract to a new code version

func StoreCodeCmd

func StoreCodeCmd() *cobra.Command

StoreCodeCmd will upload code to be reused.

func UpdateContractAdminCmd

func UpdateContractAdminCmd() *cobra.Command

UpdateContractAdminCmd sets an new admin for a contract

func UpdateInstantiateConfigCmd added in v1.0.0

func UpdateInstantiateConfigCmd() *cobra.Command

UpdateInstantiateConfigCmd updates instantiate config for a smart contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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