Documentation
¶
Index ¶
- func CosmosBroadcastTransferTx(rootDir, node, chainID, txString, broadcastMode string) string
- func CosmosCreateAccount(rootDir, name, password, seed string) string
- func CosmosDelegate(...) string
- func CosmosGetAccount(rootDir, node, chainID, addr string) string
- func CosmosGetAllDelegations(rootDir, node, chainID, delegatorAddr string) string
- func CosmosGetAllUnbondingDelegations(rootDir, node, chainID, delegatorAddr string) string
- func CosmosGetAllValidators(rootDir, node, chainID string) string
- func CosmosGetBondValidators(rootDir, node, chainID, delegatorAddr string) string
- func CosmosGetDelegationRewards(rootDir, node, chainID, delegatorAddr, validatorAddr string) string
- func CosmosGetDelegationShares(rootDir, node, chainID, delegatorAddr, validatorAddr string) string
- func CosmosGetDelegtorRewardsShares(rootDir, node, chainId, delegatorAddr string) string
- func CosmosGetValSelfBondShares(rootDir, node, chainID, validatorAddr string) string
- func CosmosQueryQueryTxsWithTags(rootDir, node, chainID, addr string, page, limit int) string
- func CosmosQueryTx(rootDir, node, chainId, txHash string) string
- func CosmosRecoverKey(rootDir, name, password, seed string) string
- func CosmosTransfer(rootDir, node, chainId, fromName, password, toStr, coinStr, feeStr, ... string) string
- func CosmosTransferB4send(rootDir, node, chainID, fromName, password, toStr, coinStr, feeStr string) string
- func CosmosUnbondingDelegation(...) string
- func CosmosUpdateKey(rootDir, name, oldpass, newpass string) string
- func CosmosWithdrawDelegationReward(...) string
- func CosmosWithdrawDelegatorAllRewards(...) string
- func CreateMnemonic(lang string) string
- func CreateSeed() string
- func EthCreateAccount(rootDir, name, password, seed string) string
- func EthGetAccount(node, addr string) string
- func EthGetErc20Account(node, addr, tokenAddr string) string
- func EthGetNonceAt(rootDir, node, fromName, password string) int64
- func EthRecoverAccount(rootDir, name, password, seed string) string
- func EthSpeedTransferERC20(...) string
- func EthSpeedTransferETH(rootDir, node, fromName, password, toAddr, gasPrice, amount string, ...) string
- func EthTransferETH(rootDir, node, name, password, toAddr, gasPrice, amount string, gasLimit int64) string
- func EthTransferErc20(rootDir, node, name, password, toAddr, tokenAddr, tokenValue, gasPrice string, ...) string
- func QOSAccountCreate(password string) string
- func QOSAccountCreateFromSeed(mncode string) string
- func QOSAccountRecover(mncode, password string) string
- func QOSAcutionAd(articleHash, privatekey, coinsType, coinAmount, qscchainid string) string
- func QOSAdvertisersFalse(privatekey, coinsType, coinAmount, qscchainid string) string
- func QOSAdvertisersTrue(privatekey, coinsType, coinAmount, qscchainid string) string
- func QOSAesDecrypt(key, cipherText string) string
- func QOSAesEncrypt(key, plainText string) string
- func QOSBroadcastTransferTxToQSC(txstring, broadcastModes string) string
- func QOSCommHandler(funcName, privatekey, args, qscchainid string) string
- func QOSCommitResultCheck(txhash, height string) string
- func QOSCreateSignedTransfer(addrto, coinstr, privkey, chainid string) string
- func QOSExtract(privatekey, coinsType, coinAmount, qscchainid string) string
- func QOSGetBlance(addrs string) string
- func QOSGetBlanceByCointype(addrs, cointype string) string
- func QOSGetTx(tx string) string
- func QOSJQInvestAd(QOSchainId, QSCchainId, articleHash, coins, privatekey string) string
- func QOSPubAddrRetrieval(priv string) string
- func QOSQueryAccount(addr string) string
- func QOSSetBlockchainEntrance(sh, mh string)
- func QOSTransferRecordsQuery(chainid, addr, cointype, offset, limit string) string
- func QSCKVStoreGet(k string) string
- func QSCKVStoreSet(k, v, privkey, chain string) string
- func QSCQueryAccount(addr string) string
- func QSCtransferSend(addrto, coinstr, privkey, chainid string) string
- func WalletAddressCheck(addr string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CosmosCreateAccount ¶
CosmosCreateAccount create account
func CosmosDelegate ¶
func CosmosDelegate(rootDir, node, chainID, delegatorName, password, delegatorAddr, validatorAddr, delegationCoinStr, feeStr, broadcastMode string) string
CosmosDelegate delegate
func CosmosGetAccount ¶
CosmosGetAccount get account info
func CosmosGetAllDelegations ¶
CosmosGetAllDelegations get all delegations from the delegator
func CosmosGetAllUnbondingDelegations ¶
CosmosGetAllUnbondingDelegations get all unbonding delegations from a specific delegator
func CosmosGetAllValidators ¶
CosmosGetAllValidators get all the validators
func CosmosGetBondValidators ¶
CosmosGetBondValidators Get bonded validators
func CosmosGetDelegationRewards ¶
CosmosGetDelegationRewards get a delegation reward between delegator and validator
func CosmosGetDelegationShares ¶
CosmosGetDelegationShares get a specific delegation shares
func CosmosQueryTx ¶
CosmosQueryTx query the tx result by txHash generated via async broadcast
func CosmosRecoverKey ¶
CosmosRecoverKey recover key
func CosmosTransfer ¶
func CosmosTransfer(rootDir, node, chainId, fromName, password, toStr, coinStr, feeStr, broadcastMode string) string
CosmosTransfer transfer
func CosmosTransferB4send ¶
func CosmosUnbondingDelegation ¶
func CosmosUnbondingDelegation(rootDir, node, chainID, delegatorName, password, delegatorAddr, validatorAddr, Ubdshares, feeStr, broadcastMode string) string
CosmosUnbondingDelegation for unbond delegation shares from specific validator
func CosmosUpdateKey ¶
CosmosUpdateKey update password
func CosmosWithdrawDelegationReward ¶
func CosmosWithdrawDelegationReward(rootDir, node, chainID, delegatorName, password, delegatorAddr, validatorAddr, feeStr, broadcastMode string) string
CosmosWithdrawDelegationReward Withdraw rewards from a specific validator
func CreateMnemonic ¶
CreateMnemonic create mnemonic for account creation
func CreateSeed ¶
func CreateSeed() string
CreateSeed create the seed(mnemonic) for the account generation
func EthCreateAccount ¶
EthCreateAccount From here, Eth wallet part start
func EthGetAccount ¶
func EthGetErc20Account ¶
func EthGetNonceAt ¶
EthGetNonceAt provide the nonce at the latest block
func EthRecoverAccount ¶
func EthSpeedTransferERC20 ¶
func EthSpeedTransferETH ¶
func EthTransferETH ¶
func EthTransferErc20 ¶
func QOSAccountCreate ¶
QOSAccountCreate QOS wallet part begin from here
func QOSAccountRecover ¶
QOSAccountRecover for AccountRecovery
func QOSAcutionAd ¶
QOSAcutionAd acutionAd 竞拍广告 articleHash //广告位标识 privatekey //用户私钥 coinsType //竞拍币种 coinAmount //竞拍数量 qscchainid //chainid
func QOSAdvertisersFalse ¶
QOSAdvertisersFalse for AdvertisersFalse
func QOSAdvertisersTrue ¶
QOSAdvertisersTrue for AdvertisersTrue
func QOSAesDecrypt ¶
func QOSAesEncrypt ¶
func QOSBroadcastTransferTxToQSC ¶
QOSBroadcastTransferTxToQSC 提交到联盟链上
func QOSCommHandler ¶
func QOSCommitResultCheck ¶
QOSCommitResultCheck for QOSCommitResultCheck
func QOSCreateSignedTransfer ¶
QOSCreateSignedTransfer for QOSCreateSignedTransfer
func QOSExtract ¶
QOSExtract for Extract
func QOSGetBlance ¶
func QOSGetBlanceByCointype ¶
func QOSJQInvestAd ¶
func QOSPubAddrRetrieval ¶
QOSPubAddrRetrieval for PubAddrRetrieval
func QOSSetBlockchainEntrance ¶
func QOSSetBlockchainEntrance(sh, mh string)
QOSSetBlockchainEntrance for IP input
func QOSTransferRecordsQuery ¶
func QSCKVStoreSet ¶
QSCKVStoreSet for QSCKVStoreset
func QSCtransferSend ¶
QSCtransferSend for QSCtransferSend
func WalletAddressCheck ¶
WalletAddressCheck for different chains
Types ¶
This section is empty.