Documentation ¶
Index ¶
- Variables
- func ChangeParam(fromAddr, paramACLKey string, paramValue json.RawMessage, ...) (*rpc.SendRawTxParams, error)
- func DAOTx(fromAddr, toAddr, passphrase string, amount sdk.BigInt, action, chainID string, ...) (*rpc.SendRawTxParams, error)
- func Execute()
- func QueryRPC(path string, jsonArgs []byte) (string, error)
- func QuerySecuredRPC(path string, jsonArgs []byte, token sdk.AuthToken) (string, error)
- func SendTransaction(fromAddr, toAddr, passphrase, chainID string, amount sdk.BigInt, fees int64, ...) (*rpc.SendRawTxParams, error)
- func StakeApp(chains []string, fromAddr, passphrase, chainID string, amount sdk.BigInt, ...) (*rpc.SendRawTxParams, error)
- func StakeNode(chains []string, serviceURL, fromAddr, passphrase, chainID string, ...) (*rpc.SendRawTxParams, error)
- func UnjailNode(fromAddr, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
- func UnstakeApp(fromAddr, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
- func UnstakeNode(fromAddr, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
- func Upgrade(fromAddr string, upgrade govTypes.Upgrade, passphrase, chainID string, ...) (*rpc.SendRawTxParams, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CLIVersion = app.AppVersion
View Source
var ( SendRawTxPath, GetNodePath, GetACLPath, GetUpgradePath, GetDAOOwnerPath, GetHeightPath, GetAccountPath, GetAppPath, GetTxPath, GetBlockPath, GetSupportedChainsPath, GetBalancePath, GetAccountTxsPath, GetNodeParamsPath, GetNodesPath, GetAppsPath, GetAppParamsPath, GetPocketParamsPath, GetNodeClaimsPath, GetNodeClaimPath, GetBlockTxsPath, GetSupplyPath, GetAllParamsPath, GetParamPath, GetStopPath string )
Functions ¶
func ChangeParam ¶
func ChangeParam(fromAddr, paramACLKey string, paramValue json.RawMessage, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func QuerySecuredRPC ¶
func SendTransaction ¶
func SendTransaction(fromAddr, toAddr, passphrase, chainID string, amount sdk.BigInt, fees int64, memo string, legacyCodec bool) (*rpc.SendRawTxParams, error)
SendTransaction - Deliver Transaction to node
func StakeNode ¶
func StakeNode(chains []string, serviceURL, fromAddr, passphrase, chainID string, amount sdk.BigInt, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
StakeNode - Deliver Stake message to node
func UnjailNode ¶
func UnjailNode(fromAddr, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
UnjailNode - Remove node from jail
func UnstakeApp ¶
func UnstakeNode ¶
func UnstakeNode(fromAddr, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
UnstakeNode - start unstaking message to node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.