Documentation ¶
Index ¶
- Constants
- Variables
- func BuildStakeTx(...) (*rpc.SendRawTxParams, error)
- 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 LegacyStakeNode(chains []string, serviceURL, fromAddr, passphrase, chainID string, ...) (*rpc.SendRawTxParams, error)
- 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, ...) (*rpc.SendRawTxParams, error)
- func TransferApp(currentAppAddrStr, newAppPubKeyStr, passphrase, networkId string, fee int64, ...) (*rpc.SendRawTxParams, error)
- func UnjailNode(operatorAddr, fromAddr, passphrase, chainID string, fees int64, isBefore8 bool) (*rpc.SendRawTxParams, error)
- func UnstakeApp(fromAddr, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
- func UnstakeNode(operatorAddr, fromAddr, passphrase, chainID string, fees int64, isBefore8 bool) (*rpc.SendRawTxParams, error)
- func Upgrade(fromAddr string, upgrade govTypes.Upgrade, passphrase, chainID string, ...) (*rpc.SendRawTxParams, error)
Constants ¶
View Source
const FeatureUpgradeHeight = int64(1)
View Source
const FeatureUpgradeKey = "FEATURE"
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, GetSigningInfoPath, GetAppsPath, GetAppParamsPath, GetPocketParamsPath, GetNodeClaimsPath, GetNodeClaimPath, GetBlockTxsPath, GetSupplyPath, GetAllParamsPath, GetParamPath, GetStopPath, GetQueryChains, GetAccountsPath string )
Functions ¶
func BuildStakeTx ¶
func BuildStakeTx( operatorPubKeyStr, outputAddrStr, stakeAmountStr, chains, serviceUrl, delegatorsStr, networkId, feeStr, memo, signerAddrStr, passphrase string, ) (*rpc.SendRawTxParams, error)
func ChangeParam ¶
func ChangeParam(fromAddr, paramACLKey string, paramValue json.RawMessage, passphrase, chainID string, fees int64, legacyCodec bool) (*rpc.SendRawTxParams, error)
func LegacyStakeNode ¶
func LegacyStakeNode(chains []string, serviceURL, fromAddr, passphrase, chainID string, amount sdk.BigInt, fees int64, isBefore8 bool) (*rpc.SendRawTxParams, error)
LegacyStakeNode - Deliver Stake message to node
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, operatorPubKey, output, passphrase, chainID string, amount sdk.BigInt, fees int64, isBefore8 bool) (*rpc.SendRawTxParams, error)
StakeNode - Deliver Stake message to node
func TransferApp ¶
func UnjailNode ¶
func UnjailNode(operatorAddr, fromAddr, passphrase, chainID string, fees int64, isBefore8 bool) (*rpc.SendRawTxParams, error)
UnjailNode - Remove node from jail
func UnstakeApp ¶
func UnstakeNode ¶
func UnstakeNode(operatorAddr, fromAddr, passphrase, chainID string, fees int64, isBefore8 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.