@locuschain/lib 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts/account.d.cts +58 -0
- package/dist/accounts/index.amd.js +1 -1
- package/dist/accounts/index.cjs.cjs +1 -1
- package/dist/accounts/index.d.cts +5 -5
- package/dist/accounts/index.esm.js +1 -1
- package/dist/accounts/keys/index.d.cts +2 -0
- package/dist/accounts/keys/localKeySource.d.cts +23 -0
- package/dist/accounts/keys/toKeySource.d.cts +14 -0
- package/dist/accounts/keysToAccount.d.cts +19 -0
- package/dist/accounts/mnemonicToAccount.d.cts +25 -0
- package/dist/accounts/signing/txKeyPolicy.d.cts +21 -0
- package/dist/accounts/types.d.cts +100 -0
- package/dist/actions/wallet/_deriveTxAdditions.d.cts +18 -0
- package/dist/actions/wallet/_prepareTransaction.d.cts +15 -0
- package/dist/actions/wallet/_sendPreparedTransaction.d.cts +9 -0
- package/dist/actions/wallet/_signLocusTransaction.d.cts +14 -0
- package/dist/actions/wallet/index.d.cts +5 -0
- package/dist/actions/wallet/types.d.cts +38 -0
- package/dist/autogen/actions/debug/index.d.cts +2 -0
- package/dist/autogen/actions/debug/public/allHeights.d.cts +3 -0
- package/dist/autogen/actions/debug/public/balanceGrantList.d.cts +2 -0
- package/dist/autogen/actions/debug/public/balanceList.d.cts +2 -0
- package/dist/autogen/actions/debug/public/createAccount.d.cts +3 -0
- package/dist/autogen/actions/debug/public/createNode.d.cts +4 -0
- package/dist/autogen/actions/debug/public/dumpAllAccounts.d.cts +3 -0
- package/dist/autogen/actions/debug/public/echo.d.cts +2 -0
- package/dist/autogen/actions/debug/public/gameChainCmd.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getAccountsBalances.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getAccountsHeights.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getGuestsInfo.d.cts +3 -0
- package/dist/autogen/actions/debug/public/getHomeShard.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getImportAccount.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getImportAccountLog.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getKeys.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getNodeBlocks.d.cts +3 -0
- package/dist/autogen/actions/debug/public/getPeerPool.d.cts +2 -0
- package/dist/autogen/actions/debug/public/getPeersInfo.d.cts +3 -0
- package/dist/autogen/actions/debug/public/getVmeLog.d.cts +4 -0
- package/dist/autogen/actions/debug/public/getVmeLog.d.mts +4 -0
- package/dist/autogen/actions/debug/public/importAccount.d.cts +4 -0
- package/dist/autogen/actions/debug/public/index.d.cts +29 -0
- package/dist/autogen/actions/debug/public/index.d.mts +2 -2
- package/dist/autogen/actions/debug/public/initReliableNodes.d.cts +4 -0
- package/dist/autogen/actions/debug/public/noArgsRets.d.cts +2 -0
- package/dist/autogen/actions/debug/public/nodeCmd.d.cts +3 -0
- package/dist/autogen/actions/debug/public/removeHoldTxs.d.cts +4 -0
- package/dist/autogen/actions/debug/public/requestVme.d.cts +4 -0
- package/dist/autogen/actions/debug/public/sendRawTransaction.d.cts +4 -0
- package/dist/autogen/actions/debug/public/setImportAccountTx.d.cts +4 -0
- package/dist/autogen/actions/debug/public/setReliableNode.d.cts +4 -0
- package/dist/autogen/actions/debug/public/viewVme.d.cts +4 -0
- package/dist/autogen/actions/debug/public/viewVme.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/callVme.d.cts +4 -0
- package/dist/autogen/actions/debug/wallet/callVme.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/createSynthAccount.d.cts +4 -0
- package/dist/autogen/actions/debug/wallet/index.d.cts +3 -0
- package/dist/autogen/actions/debug/wallet/index.d.mts +1 -2
- package/dist/autogen/actions/debug/wallet/postDataToSynthAccount.d.cts +4 -0
- package/dist/autogen/actions/index.d.cts +3 -0
- package/dist/autogen/actions/public/accountHeightsToDownload.d.cts +4 -0
- package/dist/autogen/actions/public/accountHeightsToUpload.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.mts +4 -0
- package/dist/autogen/actions/public/clientMessage.d.cts +3 -0
- package/dist/autogen/actions/public/downloadAccountTxs.d.cts +4 -0
- package/dist/autogen/actions/public/echo.d.cts +2 -0
- package/dist/autogen/actions/public/findDuplicateSubscriber.d.cts +4 -0
- package/dist/autogen/actions/public/generateLatestStoredDataProof.d.cts +4 -0
- package/dist/autogen/actions/public/getAccountAssetList.d.cts +4 -0
- package/dist/autogen/actions/public/getAccountAssetObject.d.cts +4 -0
- package/dist/autogen/actions/public/getAccountDetail.d.cts +4 -0
- package/dist/autogen/actions/public/getAccountHistory.d.cts +4 -0
- package/dist/autogen/actions/public/getAccountTokenList.d.cts +4 -0
- package/dist/autogen/actions/public/getConciseNodeStatus.d.cts +3 -0
- package/dist/autogen/actions/public/getGenesisAccount.d.cts +3 -0
- package/dist/autogen/actions/public/getIdentityProof.d.cts +4 -0
- package/dist/autogen/actions/public/getInactiveTxList.d.cts +4 -0
- package/dist/autogen/actions/public/getMontInfoList.d.cts +4 -0
- package/dist/autogen/actions/public/getNodeStatus.d.cts +3 -0
- package/dist/autogen/actions/public/getOwnerBalance.d.cts +3 -0
- package/dist/autogen/actions/public/getRoundState.d.cts +4 -0
- package/dist/autogen/actions/public/getRoundState.d.mts +1 -1
- package/dist/autogen/actions/public/getRoundStatesList.d.cts +4 -0
- package/dist/autogen/actions/public/getShardOfAccount.d.cts +4 -0
- package/dist/autogen/actions/public/getSyncState.d.cts +3 -0
- package/dist/autogen/actions/public/getTx.d.cts +4 -0
- package/dist/autogen/actions/public/getWorldRoundState.d.cts +4 -0
- package/dist/autogen/actions/public/getWorldRoundStatesList.d.cts +4 -0
- package/dist/autogen/actions/public/hasSystemToken.d.cts +4 -0
- package/dist/autogen/actions/public/index.d.cts +38 -0
- package/dist/autogen/actions/public/index.d.mts +1 -1
- package/dist/autogen/actions/public/makeTxProof.d.cts +4 -0
- package/dist/autogen/actions/public/queryAddress.d.cts +4 -0
- package/dist/autogen/actions/public/readTxListWitness.d.cts +4 -0
- package/dist/autogen/actions/public/setHost.d.cts +3 -0
- package/dist/autogen/actions/public/subscribeAddress.d.cts +4 -0
- package/dist/autogen/actions/public/uploadAccountTxs.d.cts +3 -0
- package/dist/autogen/actions/public/verifyAndSignChallenge.d.cts +4 -0
- package/dist/autogen/actions/public/verifyIdentityProof.d.cts +4 -0
- package/dist/autogen/actions/public/verifyLatestStoredDataProof.d.cts +3 -0
- package/dist/autogen/actions/public/verifyTxListWitness.d.cts +3 -0
- package/dist/autogen/actions/wallet/acceptScript.d.cts +4 -0
- package/dist/autogen/actions/wallet/becomeGuest.d.cts +4 -0
- package/dist/autogen/actions/wallet/becomeHost.d.cts +4 -0
- package/dist/autogen/actions/wallet/changeKey.d.cts +4 -0
- package/dist/autogen/actions/wallet/changeVkey.d.cts +4 -0
- package/dist/autogen/actions/wallet/closeAccount.d.cts +4 -0
- package/dist/autogen/actions/wallet/createAssetObject.d.cts +4 -0
- package/dist/autogen/actions/wallet/createToken.d.cts +4 -0
- package/dist/autogen/actions/wallet/createVme.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardCoin.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardCoin.d.mts +4 -0
- package/dist/autogen/actions/wallet/freezeAccount.d.cts +4 -0
- package/dist/autogen/actions/wallet/index.d.cts +20 -0
- package/dist/autogen/actions/wallet/index.d.mts +1 -1
- package/dist/autogen/actions/wallet/lockStake.d.cts +4 -0
- package/dist/autogen/actions/wallet/openAccount.d.cts +4 -0
- package/dist/autogen/actions/wallet/postData.d.cts +4 -0
- package/dist/autogen/actions/wallet/provideScript.d.cts +4 -0
- package/dist/autogen/actions/wallet/requestDataTrade.d.cts +4 -0
- package/dist/autogen/actions/wallet/transferAssetObject.d.cts +4 -0
- package/dist/autogen/actions/wallet/transferCoin.d.cts +4 -0
- package/dist/autogen/actions/wallet/transferToken.d.cts +4 -0
- package/dist/autogen/actions/wallet/unlockStake.d.cts +4 -0
- package/dist/autogen/debugPublicActions.d.cts +47 -0
- package/dist/autogen/debugPublicActions.d.mts +4 -4
- package/dist/autogen/debugWalletActions.d.cts +9 -0
- package/dist/autogen/debugWalletActions.d.mts +2 -4
- package/dist/autogen/index.amd.js +6 -7
- package/dist/autogen/index.cjs.cjs +6 -7
- package/dist/autogen/index.d.cts +8 -8
- package/dist/autogen/index.esm.js +5 -6
- package/dist/autogen/locus-tx.d.cts +5 -0
- package/dist/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/publicActions.d.cts +66 -0
- package/dist/autogen/publicActions.d.mts +2 -2
- package/dist/autogen/rpc-api-spec.d.cts +208 -0
- package/dist/autogen/rpc-api-spec.d.mts +13 -15
- package/dist/autogen/types/common/addr-tx-proof.d.cts +5 -0
- package/dist/autogen/types/common/asset-object-meta.d.cts +2 -0
- package/dist/autogen/types/common/asset-object-meta.d.mts +2 -0
- package/dist/autogen/types/common/asset-object-transfer.d.cts +6 -0
- package/dist/autogen/types/common/asset-object-transfer.d.mts +0 -2
- package/dist/autogen/types/common/asset-object.d.cts +11 -0
- package/dist/autogen/types/common/asset-object.d.mts +2 -1
- package/dist/autogen/types/common/asset-transfer-info.d.cts +9 -0
- package/dist/autogen/types/common/base-meta.d.cts +1 -0
- package/dist/autogen/types/common/caller-key-proof.d.cts +8 -0
- package/dist/autogen/types/common/caller-key-proof.d.mts +8 -0
- package/dist/autogen/types/common/contract-exec-status.d.cts +16 -0
- package/dist/autogen/types/common/contract-transfer-info.d.cts +7 -0
- package/dist/autogen/types/common/direct-call-request.d.cts +11 -0
- package/dist/autogen/types/common/direct-call-request.d.mts +11 -0
- package/dist/autogen/types/common/get-peers-info.d.cts +9 -0
- package/dist/autogen/types/common/index-value-pair.d.cts +4 -0
- package/dist/autogen/types/common/index.d.cts +58 -0
- package/dist/autogen/types/common/index.d.mts +6 -2
- package/dist/autogen/types/common/input-params-data-transfer.d.cts +8 -0
- package/dist/autogen/types/common/key-bind-info.d.cts +4 -0
- package/dist/autogen/types/common/merkle-proof-multi-meta.d.cts +2 -0
- package/dist/autogen/types/common/merkle-proof-multi-meta.d.mts +2 -0
- package/dist/autogen/types/common/mont-info.d.cts +4 -0
- package/dist/autogen/types/common/object-amount-transfer.d.cts +5 -0
- package/dist/autogen/types/common/object-amount.d.cts +4 -0
- package/dist/autogen/types/common/output-download-account-txs.d.cts +4 -0
- package/dist/autogen/types/common/param-str.d.cts +3 -0
- package/dist/autogen/types/common/param-tx-data.d.cts +5 -0
- package/dist/autogen/types/common/params-token-value-pair.d.cts +4 -0
- package/dist/autogen/types/common/public-height-chunk.d.cts +4 -0
- package/dist/autogen/types/common/ref-tx-info.d.cts +5 -0
- package/dist/autogen/types/common/ref-vtx.d.cts +5 -0
- package/dist/autogen/types/common/ref-vtx.d.mts +0 -1
- package/dist/autogen/types/common/res-changed-entry.d.cts +5 -0
- package/dist/autogen/types/common/res-changed-entry.d.mts +5 -0
- package/dist/autogen/types/common/ret-type-base.d.cts +1 -0
- package/dist/autogen/types/common/round-state-abstract.d.cts +11 -0
- package/dist/autogen/types/common/rpc-account-height.d.cts +5 -0
- package/dist/autogen/types/common/rpc-accounts-balances-result.d.cts +4 -0
- package/dist/autogen/types/common/rpc-asset-list-values.d.cts +7 -0
- package/dist/autogen/types/common/rpc-data-trade-result.d.cts +5 -0
- package/dist/autogen/types/common/rpc-token-balance-pair.d.cts +4 -0
- package/dist/autogen/types/common/token-value-ab.d.cts +5 -0
- package/dist/autogen/types/common/token-value-pair.d.cts +4 -0
- package/dist/autogen/types/common/transaction-sender-index.d.cts +7 -0
- package/dist/autogen/types/common/transfer-info.d.cts +6 -0
- package/dist/autogen/types/common/transfer-info.d.mts +0 -1
- package/dist/autogen/types/common/tx-base.d.cts +13 -0
- package/dist/autogen/types/common/tx-base.d.mts +1 -1
- package/dist/autogen/types/common/tx-hash-elements.d.cts +6 -0
- package/dist/autogen/types/common/tx-key-height-hash.d.cts +4 -0
- package/dist/autogen/types/common/tx-key-nround.d.cts +5 -0
- package/dist/autogen/types/common/tx-key.d.cts +4 -0
- package/dist/autogen/types/common/tx-meta.d.cts +2 -0
- package/dist/autogen/types/common/tx-no-signature.d.cts +1 -0
- package/dist/autogen/types/common/tx-recv-set-meta.d.cts +2 -0
- package/dist/autogen/types/common/tx-restore-res-hash-proof.d.cts +9 -0
- package/dist/autogen/types/common/tx-restore-res-hash-proof.d.mts +9 -0
- package/dist/autogen/types/common/tx-sign-key.d.cts +1 -0
- package/dist/autogen/types/common/tx-signature.d.cts +3 -0
- package/dist/autogen/types/common/tx-vsignature.d.cts +3 -0
- package/dist/autogen/types/common/vm-engine-block.d.cts +17 -0
- package/dist/autogen/types/common/vm-engine-block.d.mts +6 -0
- package/dist/autogen/types/common/vm-reward.d.cts +4 -0
- package/dist/autogen/types/common/vm-tx-state.d.cts +25 -0
- package/dist/autogen/types/common/vm-tx-state.d.mts +5 -7
- package/dist/autogen/types/common/vme-block-meta.d.cts +2 -0
- package/dist/autogen/types/common/vme-info.d.cts +3 -0
- package/dist/autogen/types/common/vme-lock-stake.d.cts +4 -0
- package/dist/autogen/types/common/vote-info-rpc.d.cts +5 -0
- package/dist/autogen/types/common/vtx-meta.d.cts +2 -0
- package/dist/autogen/types/common/wrs-validators-info.d.cts +5 -0
- package/dist/autogen/types/consts/address-class.d.cts +10 -0
- package/dist/autogen/types/consts/address-class.d.mts +6 -7
- package/dist/autogen/types/consts/consts.d.cts +2 -0
- package/dist/autogen/types/consts/currency-unit.d.cts +15 -0
- package/dist/autogen/types/consts/index.d.cts +3 -0
- package/dist/autogen/types/consts/tx-type.d.cts +61 -0
- package/dist/autogen/types/consts/tx-type.d.mts +13 -13
- package/dist/autogen/types/consts/tx-types.d.cts +415 -0
- package/dist/autogen/types/consts/tx-types.d.mts +46 -46
- package/dist/autogen/types/rpc/heights-result.d.cts +4 -0
- package/dist/autogen/types/rpc/index.d.cts +107 -0
- package/dist/autogen/types/rpc/index.d.mts +8 -8
- package/dist/autogen/types/rpc/params-accept-script.d.cts +8 -0
- package/dist/autogen/types/rpc/params-account-and-index.d.cts +4 -0
- package/dist/autogen/types/rpc/params-account-heights.d.cts +5 -0
- package/dist/autogen/types/rpc/params-account-history.d.cts +5 -0
- package/dist/autogen/types/rpc/params-account.d.cts +3 -0
- package/dist/autogen/types/rpc/params-accounts.d.cts +3 -0
- package/dist/autogen/types/rpc/params-become-guest.d.cts +5 -0
- package/dist/autogen/types/rpc/params-become-host.d.cts +5 -0
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward-coin.d.cts} +1 -1
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-coin.d.mts +5 -0
- package/dist/autogen/types/rpc/{params-create-contract.d.mts → params-call-vme.d.cts} +6 -7
- package/dist/autogen/types/rpc/{params-call-contract.d.mts → params-call-vme.d.mts} +4 -4
- package/dist/autogen/types/rpc/params-change-key.d.cts +8 -0
- package/dist/autogen/types/rpc/params-change-vkey.d.cts +5 -0
- package/dist/autogen/types/rpc/params-close-account.d.cts +7 -0
- package/dist/autogen/types/rpc/params-create-asset-object.d.cts +10 -0
- package/dist/autogen/types/rpc/params-create-node.d.cts +4 -0
- package/dist/autogen/types/rpc/params-create-synth-account.d.cts +8 -0
- package/dist/autogen/types/rpc/params-create-token.d.cts +7 -0
- package/dist/autogen/types/rpc/params-create-vme.d.cts +8 -0
- package/dist/autogen/types/rpc/params-download-account-txs.d.cts +6 -0
- package/dist/autogen/types/rpc/params-find-duplicate-subscriber.d.cts +3 -0
- package/dist/autogen/types/rpc/params-forward-coin.d.cts +7 -0
- package/dist/autogen/types/rpc/{params-transfer-coin-express.d.mts → params-forward-coin.d.mts} +1 -1
- package/dist/autogen/types/rpc/params-freeze-account.d.cts +5 -0
- package/dist/autogen/types/rpc/params-game-chain-cmd.d.cts +5 -0
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.cts +5 -0
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.mts +2 -1
- package/dist/autogen/types/rpc/params-get-asset-list.d.cts +4 -0
- package/dist/autogen/types/rpc/params-get-asset-objects.d.cts +4 -0
- package/dist/autogen/types/rpc/params-get-home-shard.d.cts +3 -0
- package/dist/autogen/types/rpc/params-get-identity-proof.d.cts +4 -0
- package/dist/autogen/types/rpc/params-get-import-account.d.cts +3 -0
- package/dist/autogen/types/rpc/params-import-account.d.cts +7 -0
- package/dist/autogen/types/rpc/params-init-reliable-nodes.d.cts +5 -0
- package/dist/autogen/types/rpc/params-latest-stored-data-proof.d.cts +4 -0
- package/dist/autogen/types/rpc/params-lock-stake.d.cts +7 -0
- package/dist/autogen/types/rpc/params-open-account.d.cts +11 -0
- package/dist/autogen/types/rpc/params-post-data-to-synth-account.d.cts +11 -0
- package/dist/autogen/types/rpc/params-provide-script.d.cts +14 -0
- package/dist/autogen/types/rpc/params-query-address.d.cts +3 -0
- package/dist/autogen/types/rpc/params-read-tx-list.d.cts +5 -0
- package/dist/autogen/types/rpc/params-remove-hold-txs.d.cts +5 -0
- package/dist/autogen/types/rpc/params-request-data-trade.d.cts +10 -0
- package/dist/autogen/types/rpc/params-request-vme.d.cts +5 -0
- package/dist/autogen/types/rpc/params-request-vme.d.mts +1 -0
- package/dist/autogen/types/rpc/params-round-list.d.cts +4 -0
- package/dist/autogen/types/rpc/params-round.d.cts +3 -0
- package/dist/autogen/types/rpc/params-rs.d.cts +4 -0
- package/dist/autogen/types/rpc/params-send-raw-transaction.d.cts +4 -0
- package/dist/autogen/types/rpc/params-set-host.d.cts +4 -0
- package/dist/autogen/types/rpc/params-set-import-account-tx.d.cts +5 -0
- package/dist/autogen/types/rpc/params-set-reliable-node.d.cts +4 -0
- package/dist/autogen/types/rpc/params-subscribe-address.d.cts +4 -0
- package/dist/autogen/types/rpc/params-transfer-asset-object.d.cts +9 -0
- package/dist/autogen/types/rpc/params-transfer-coin.d.cts +8 -0
- package/dist/autogen/types/rpc/params-transfer-tokens.d.cts +14 -0
- package/dist/autogen/types/rpc/params-tx-list-witness.d.cts +6 -0
- package/dist/autogen/types/rpc/params-tx-list.d.cts +5 -0
- package/dist/autogen/types/rpc/params-unlock-stake.d.cts +7 -0
- package/dist/autogen/types/rpc/params-upload-account-txs.d.cts +5 -0
- package/dist/autogen/types/rpc/params-verify-and-sign-challenge.d.cts +8 -0
- package/dist/autogen/types/rpc/params-verify-identity-proof.d.cts +6 -0
- package/dist/autogen/types/rpc/{params-contract-log.d.mts → params-vme-log.d.cts} +3 -2
- package/dist/autogen/types/rpc/params-vme-log.d.mts +7 -0
- package/dist/autogen/types/rpc/result-dump-accounts.d.cts +4 -0
- package/dist/autogen/types/rpc/round-state-detail.d.cts +16 -0
- package/dist/autogen/types/{common → rpc}/round-state-detail.d.mts +1 -1
- package/dist/autogen/types/rpc/rpc-bool-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-create-account-result.d.cts +7 -0
- package/dist/autogen/types/rpc/rpc-create-node-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-create-tx-result.d.cts +7 -0
- package/dist/autogen/types/rpc/rpc-find-duplicate-subscriber-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-game-chain-cmd-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-generate-latest-stored-data-proof-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-account-asset-list-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-account-asset-object-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-get-account-detail-result.d.cts +11 -0
- package/dist/autogen/types/rpc/rpc-get-account-history-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-account-token-list-result.d.cts +6 -0
- package/dist/autogen/types/rpc/rpc-get-accounts-balances-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-accounts-heights-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-concise-node-status-result.d.cts +18 -0
- package/dist/autogen/types/rpc/rpc-get-genesis-account-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-guests-info-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-home-shard-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-identity-proof-result.d.cts +6 -0
- package/dist/autogen/types/rpc/rpc-get-import-account-result.d.cts +10 -0
- package/dist/autogen/types/rpc/rpc-get-inactive-tx-list-result.d.cts +14 -0
- package/dist/autogen/types/rpc/rpc-get-keys-result.d.cts +7 -0
- package/dist/autogen/types/rpc/rpc-get-mont-info-list-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-get-node-blocks-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-node-status-result.d.cts +28 -0
- package/dist/autogen/types/rpc/rpc-get-shard-of-account-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-sync-state-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-tx-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-world-round-state-result.d.cts +13 -0
- package/dist/autogen/types/rpc/rpc-get-world-round-states-list-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-has-system-token-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-import-account-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-node-cmd-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-query-address-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-read-tx-list-witness-result.d.cts +6 -0
- package/dist/autogen/types/rpc/rpc-request-vme-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-send-raw-transaction-result.d.cts +1 -0
- package/dist/autogen/types/rpc/rpc-set-import-account-tx-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-subscribe-address-result.d.cts +1 -0
- package/dist/autogen/types/rpc/rpc-verify-and-sign-challenge-result.d.cts +8 -0
- package/dist/autogen/types/rpc/rpc-verify-identity-proof-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-view-vme-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-view-vme-result.d.mts +3 -0
- package/dist/autogen/types/rpc/upload-heights-result.d.cts +6 -0
- package/dist/autogen/types/tx/index.d.cts +51 -0
- package/dist/autogen/types/tx/index.d.mts +15 -14
- package/dist/autogen/types/tx/tx-accept-script-after-time-lock.d.cts +12 -0
- package/dist/autogen/types/tx/tx-accept-script.d.cts +15 -0
- package/dist/autogen/types/tx/tx-activate-all-res.d.cts +16 -0
- package/dist/autogen/types/tx/{tx-activate-all-assets.d.mts → tx-activate-all-res.d.mts} +4 -3
- package/dist/autogen/types/tx/tx-activate-asset-object.d.cts +11 -0
- package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/tx-activate-coin.d.cts +9 -0
- package/dist/autogen/types/tx/tx-activate-data-synth-account.d.cts +12 -0
- package/dist/autogen/types/tx/tx-activate-foundation-reserve.d.cts +7 -0
- package/dist/autogen/types/tx/tx-activate-incentive.d.cts +11 -0
- package/dist/autogen/types/tx/tx-activate-lock-stake-for-vme.d.cts +9 -0
- package/dist/autogen/types/tx/tx-activate-open-synth-account.d.cts +9 -0
- package/dist/autogen/types/tx/tx-activate-open-vme.d.cts +11 -0
- package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.mts → tx-activate-open-vme.d.mts} +1 -1
- package/dist/autogen/types/tx/tx-activate-token.d.cts +12 -0
- package/dist/autogen/types/tx/tx-activate-vme-result.d.cts +20 -0
- package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts} +6 -4
- package/dist/autogen/types/tx/tx-activate-vme-reward.d.cts +8 -0
- package/dist/autogen/types/tx/{tx-activate-contract-reward.d.mts → tx-activate-vme-reward.d.mts} +1 -1
- package/dist/autogen/types/tx/tx-activate-vme-transfer.d.cts +17 -0
- package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts} +6 -4
- package/dist/autogen/types/tx/tx-become-guest.d.cts +10 -0
- package/dist/autogen/types/tx/tx-become-host.d.cts +7 -0
- package/dist/autogen/types/tx/tx-burn-asset-object.d.cts +10 -0
- package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/tx-burn-token.d.cts +10 -0
- package/dist/autogen/types/tx/tx-call-vme.d.cts +18 -0
- package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-call-vme.d.mts} +8 -7
- package/dist/autogen/types/tx/tx-change-foundation-account.d.cts +6 -0
- package/dist/autogen/types/tx/tx-change-keypair.d.cts +10 -0
- package/dist/autogen/types/tx/tx-change-vkey.d.cts +6 -0
- package/dist/autogen/types/tx/tx-close-account.d.cts +12 -0
- package/dist/autogen/types/tx/tx-close-account.d.mts +2 -2
- package/dist/autogen/types/tx/tx-create-asset-object.d.cts +10 -0
- package/dist/autogen/types/tx/tx-create-synth-account.d.cts +7 -0
- package/dist/autogen/types/tx/tx-create-token.d.cts +10 -0
- package/dist/autogen/types/tx/tx-create-vme.d.cts +8 -0
- package/dist/autogen/types/tx/{tx-create-vm-engine.d.mts → tx-create-vme.d.mts} +1 -1
- package/dist/autogen/types/tx/tx-dummy.d.cts +3 -0
- package/dist/autogen/types/tx/tx-finalize.d.cts +6 -0
- package/dist/autogen/types/tx/tx-forward-asset-object.d.cts +10 -0
- package/dist/autogen/types/tx/tx-forward-asset-object.d.mts +10 -0
- package/dist/autogen/types/tx/tx-forward-coin.d.cts +9 -0
- package/dist/autogen/types/tx/{tx-transfer-coin-express.d.mts → tx-forward-coin.d.mts} +2 -1
- package/dist/autogen/types/tx/tx-forward-token.d.cts +10 -0
- package/dist/autogen/types/tx/tx-forward-token.d.mts +10 -0
- package/dist/autogen/types/tx/tx-freeze-account.d.cts +5 -0
- package/dist/autogen/types/tx/tx-genesis-account.d.cts +11 -0
- package/dist/autogen/types/tx/tx-lead-direct-vtx.d.cts +11 -0
- package/dist/autogen/types/tx/tx-lead-direct-vtx.d.mts +11 -0
- package/dist/autogen/types/tx/tx-lead-vtx.d.cts +9 -0
- package/dist/autogen/types/tx/tx-lead-vtx.d.mts +1 -1
- package/dist/autogen/types/tx/tx-lock-stake-for-vme.d.cts +7 -0
- package/dist/autogen/types/tx/tx-open-account.d.cts +18 -0
- package/dist/autogen/types/tx/tx-post-data-synth-account.d.cts +9 -0
- package/dist/autogen/types/tx/tx-post-data.d.cts +11 -0
- package/dist/autogen/types/tx/tx-provide-script.d.cts +16 -0
- package/dist/autogen/types/tx/tx-restore-res-hash.d.cts +12 -0
- package/dist/autogen/types/tx/{tx-call-contract.d.mts → tx-restore-res-hash.d.mts} +4 -8
- package/dist/autogen/types/tx/tx-revoke.d.cts +18 -0
- package/dist/autogen/types/tx/tx-revoke.d.mts +4 -2
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.cts +10 -0
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/tx-transfer-coin.d.cts +7 -0
- package/dist/autogen/types/tx/tx-transfer-token.d.cts +11 -0
- package/dist/autogen/types/tx/tx-unlock-stake.d.cts +7 -0
- package/dist/autogen/types/tx/tx-vme-blank-reward.d.cts +5 -0
- package/dist/autogen/types/tx/{tx-contract-blank-reward.d.mts → tx-vme-blank-reward.d.mts} +1 -1
- package/dist/autogen/types/tx/tx-vme-block.d.cts +7 -0
- package/dist/autogen/types/tx/{tx-vm-engine-block.d.mts → tx-vme-block.d.mts} +2 -1
- package/dist/autogen/types/tx/tx-vme-transfer-reward.d.cts +8 -0
- package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.mts → tx-vme-transfer-reward.d.mts} +1 -1
- package/dist/autogen/types/wasm/grant-consume-result.d.cts +4 -0
- package/dist/autogen/types/wasm/index.d.cts +26 -0
- package/dist/autogen/types/wasm/library-versions.d.cts +6 -0
- package/dist/autogen/types/wasm/param-calculate-tx-link-hash.d.cts +3 -0
- package/dist/autogen/types/wasm/param-code-core-script.d.cts +3 -0
- package/dist/autogen/types/wasm/param-convert-currency.d.cts +5 -0
- package/dist/autogen/types/wasm/param-create-account-and-keystore.d.cts +6 -0
- package/dist/autogen/types/wasm/param-create-master-keystore.d.cts +6 -0
- package/dist/autogen/types/wasm/param-create-normal-key.d.cts +4 -0
- package/dist/autogen/types/wasm/param-create-normal-keystore.d.cts +8 -0
- package/dist/autogen/types/wasm/param-derive-keys-from-mnemonic-and-path.d.cts +4 -0
- package/dist/autogen/types/wasm/param-derive-keys-from-mnemonic.d.cts +6 -0
- package/dist/autogen/types/wasm/param-encode-tx-currency.d.cts +3 -0
- package/dist/autogen/types/wasm/param-encode-tx-number.d.cts +4 -0
- package/dist/autogen/types/wasm/param-generate-mnemonic-by-seed.d.cts +3 -0
- package/dist/autogen/types/wasm/param-generate-mnemonic.d.cts +3 -0
- package/dist/autogen/types/wasm/param-get-home-shard.d.cts +4 -0
- package/dist/autogen/types/wasm/param-hash.d.cts +4 -0
- package/dist/autogen/types/wasm/param-load-keystore.d.cts +4 -0
- package/dist/autogen/types/wasm/param-make-currency.d.cts +4 -0
- package/dist/autogen/types/wasm/param-sign-by-master-key.d.cts +4 -0
- package/dist/autogen/types/wasm/param-sign-key-bind.d.cts +5 -0
- package/dist/autogen/types/wasm/param-sign.d.cts +4 -0
- package/dist/autogen/types/wasm/param-test-core-script.d.cts +7 -0
- package/dist/autogen/types/wasm/param-txs.d.cts +3 -0
- package/dist/autogen/types/wasm/param-verify-merkle-proof.d.cts +5 -0
- package/dist/autogen/types/wasm/param-verify.d.cts +5 -0
- package/dist/autogen/walletActions.d.cts +43 -0
- package/dist/autogen/walletActions.d.mts +2 -2
- package/dist/autogen/wasm/crypto_aimer.d.cts +2 -0
- package/dist/autogen/wasm/crypto_haetae.d.cts +2 -0
- package/dist/autogen/wasm/crypto_smaugt.d.cts +2 -0
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/autogen/wasm.d.cts +72 -0
- package/dist/chunks/{address-class-CHAZYhdZ.js → address-class-3IzotplG.js} +6 -7
- package/dist/chunks/{address-class-Cjy48Uqk.cjs → address-class-B8b7mx1K.cjs} +6 -7
- package/dist/chunks/{address-class-Dp7aNQb2.js → address-class-CDo766LJ.js} +6 -7
- package/dist/chunks/{debugWalletActions-BfX1doiz.js → debugWalletActions-Bd8C-fZB.js} +32 -43
- package/dist/chunks/{debugWalletActions-iCZ1H6xc.cjs → debugWalletActions-DIQY8cBm.cjs} +32 -43
- package/dist/chunks/{debugWalletActions-B96f4kZc.js → debugWalletActions-qkesE_0m.js} +28 -38
- package/dist/chunks/{tx-type-DI_nKG8B.cjs → tx-type-CjORX0H2.cjs} +13 -13
- package/dist/chunks/{tx-type-CS4wIUJ8.js → tx-type-CnfCIc5p.js} +13 -13
- package/dist/chunks/{tx-type-BPkhMGad.js → tx-type-D_IH9tdK.js} +13 -13
- package/dist/clients/createClient.d.cts +8 -0
- package/dist/clients/createLocusPublicClient.d.cts +100 -0
- package/dist/clients/createLocusPublicClient.d.mts +3 -3
- package/dist/clients/createLocusWalletClient.d.cts +56 -0
- package/dist/clients/createLocusWalletClient.d.mts +2 -3
- package/dist/clients/createPublicClient.d.cts +6 -0
- package/dist/clients/createWalletClient.d.cts +8 -0
- package/dist/clients/index.amd.js +1 -1
- package/dist/clients/index.cjs.cjs +1 -1
- package/dist/clients/index.d.cts +6 -6
- package/dist/clients/index.esm.js +1 -1
- package/dist/clients/types.d.cts +21 -0
- package/dist/clients/types.d.mts +2 -0
- package/dist/constant/index.amd.js +63 -63
- package/dist/constant/index.cjs.cjs +64 -64
- package/dist/constant/index.d.cts +67 -68
- package/dist/constant/index.d.mts +65 -66
- package/dist/constant/index.esm.js +64 -64
- package/dist/contracts/abis/erc20.d.cts +174 -0
- package/dist/contracts/abis/index.d.cts +1 -0
- package/dist/contracts/getContract.d.cts +33 -0
- package/dist/contracts/index.d.cts +2 -2
- package/dist/errors/account.d.cts +45 -0
- package/dist/errors/base.d.cts +13 -0
- package/dist/errors/index.d.cts +4 -4
- package/dist/errors/rpc.d.cts +21 -0
- package/dist/errors/transport.d.cts +21 -0
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +3 -3
- package/dist/index.d.cts +8 -0
- package/dist/index.esm.js +3 -3
- package/dist/transports/http.d.cts +9 -0
- package/dist/transports/index.d.cts +2 -2
- package/dist/transports/types.d.cts +38 -0
- package/dist/transports/types.d.mts +2 -0
- package/dist/types/index.d.cts +5 -5
- package/dist/types/primitives.d.cts +5 -0
- package/dist/utils/abi.d.cts +88 -0
- package/dist/utils/index.amd.js +3 -6
- package/dist/utils/index.cjs.cjs +3 -6
- package/dist/utils/index.d.cts +8 -9
- package/dist/utils/index.d.mts +3 -4
- package/dist/utils/index.esm.js +4 -6
- package/dist/utils/keystore.d.cts +87 -0
- package/dist/utils/lclib.d.cts +2 -0
- package/dist/utils/locus-wasm-bridge.d.cts +1 -0
- package/dist/utils/tx-validator.d.cts +28 -0
- package/dist/utils/types.d.cts +15 -0
- package/dist/utils/wasm-fetch.d.cts +6 -0
- package/package.json +2 -2
- package/dist/autogen/actions/debug/public/getContractLog.d.mts +0 -4
- package/dist/autogen/actions/debug/public/viewContract.d.mts +0 -4
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +0 -4
- package/dist/autogen/actions/debug/wallet/createContract.d.mts +0 -4
- package/dist/autogen/actions/public/calculateSpentByExpress.d.mts +0 -4
- package/dist/autogen/actions/wallet/transferCoinExpress.d.mts +0 -4
- package/dist/autogen/types/common/asset-proof-objects.d.mts +0 -5
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-view-contract-result.d.mts +0 -3
- package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +0 -15
- package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +0 -15
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { ParamsAccount } from './types/rpc/params-account.cjs';
|
|
2
|
+
import type { ParamsAccounts } from './types/rpc/params-accounts.cjs';
|
|
3
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
4
|
+
import type { ParamsCreateNode } from './types/rpc/params-create-node.cjs';
|
|
5
|
+
import type { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.cjs';
|
|
6
|
+
import type { ParamsGetHomeShard } from './types/rpc/params-get-home-shard.cjs';
|
|
7
|
+
import type { ParamsGetImportAccount } from './types/rpc/params-get-import-account.cjs';
|
|
8
|
+
import type { ParamsImportAccount } from './types/rpc/params-import-account.cjs';
|
|
9
|
+
import type { ParamsInitReliableNodes } from './types/rpc/params-init-reliable-nodes.cjs';
|
|
10
|
+
import type { ParamsRemoveHoldTxs } from './types/rpc/params-remove-hold-txs.cjs';
|
|
11
|
+
import type { ParamsRequestVme } from './types/rpc/params-request-vme.cjs';
|
|
12
|
+
import type { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transaction.cjs';
|
|
13
|
+
import type { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.cjs';
|
|
14
|
+
import type { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.cjs';
|
|
15
|
+
import type { ParamsVmeLog } from './types/rpc/params-vme-log.cjs';
|
|
16
|
+
import type { Client } from '../clients/types.cjs';
|
|
17
|
+
export declare const debugPublicActions: (client: Client) => {
|
|
18
|
+
allHeights: () => Promise<import("../index.cjs").RpcAccountHeight[]>;
|
|
19
|
+
balanceGrantList: () => Promise<string[]>;
|
|
20
|
+
balanceList: () => Promise<string[]>;
|
|
21
|
+
createAccount: () => Promise<import("../index.cjs").RpcCreateAccountResult>;
|
|
22
|
+
createNode: (param: ParamsCreateNode) => Promise<import("../index.cjs").RpcCreateNodeResult>;
|
|
23
|
+
dumpAllAccounts: () => Promise<import("../index.cjs").ResultDumpAccounts>;
|
|
24
|
+
echo: (str: string) => Promise<string>;
|
|
25
|
+
gameChainCmd: (param: ParamsGameChainCmd) => Promise<import("../index.cjs").RpcGameChainCmdResult>;
|
|
26
|
+
getAccountsBalances: (param: ParamsAccounts) => Promise<import("../index.cjs").RpcGetAccountsBalancesResult>;
|
|
27
|
+
getAccountsHeights: (param: ParamsAccounts) => Promise<import("../index.cjs").RpcGetAccountsHeightsResult>;
|
|
28
|
+
getGuestsInfo: () => Promise<import("../index.cjs").RpcGetGuestsInfoResult>;
|
|
29
|
+
getHomeShard: (param: ParamsGetHomeShard) => Promise<import("../index.cjs").RpcGetHomeShardResult>;
|
|
30
|
+
getImportAccount: (params: ParamsGetImportAccount) => Promise<import("../index.cjs").RpcGetImportAccountResult>;
|
|
31
|
+
getImportAccountLog: (params: ParamsGetImportAccount) => Promise<import("../index.cjs").RpcImportAccountResult>;
|
|
32
|
+
getKeys: (params: ParamsAccount) => Promise<import("../index.cjs").RpcGetKeysResult>;
|
|
33
|
+
getNodeBlocks: () => Promise<import("../index.cjs").RpcGetNodeBlocksResult>;
|
|
34
|
+
getPeerPool: () => Promise<string[]>;
|
|
35
|
+
getPeersInfo: () => Promise<import("../index.cjs").GetPeersInfo>;
|
|
36
|
+
getVmeLog: (param: ParamsVmeLog) => Promise<import("../index.cjs").RpcGetVmeLogResult>;
|
|
37
|
+
importAccount: (params: ParamsImportAccount) => Promise<import("../index.cjs").RpcImportAccountResult>;
|
|
38
|
+
initReliableNodes: (param: ParamsInitReliableNodes) => Promise<import("../index.cjs").RpcBoolResult>;
|
|
39
|
+
noArgsRets: () => Promise<any>;
|
|
40
|
+
nodeCmd: (cmd: string) => Promise<import("../index.cjs").RpcNodeCmdResult>;
|
|
41
|
+
removeHoldTxs: (param: ParamsRemoveHoldTxs) => Promise<import("../index.cjs").RetTypeBase>;
|
|
42
|
+
requestVme: (params: ParamsRequestVme) => Promise<import("../index.cjs").RpcRequestVmeResult>;
|
|
43
|
+
sendRawTransaction: (params: ParamsSendRawTransaction) => Promise<import("../index.cjs").RpcSendRawTransactionResult>;
|
|
44
|
+
setImportAccountTx: (params: ParamsSetImportAccountTx) => Promise<import("../index.cjs").RpcSetImportAccountTxResult>;
|
|
45
|
+
setReliableNode: (param: ParamsSetReliableNode) => Promise<import("../index.cjs").RpcBoolResult>;
|
|
46
|
+
viewVme: (param: ParamsCallVme) => Promise<import("../index.cjs").RpcViewVmeResult>;
|
|
47
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ParamsAccount } from './types/rpc/params-account.mjs';
|
|
2
2
|
import type { ParamsAccounts } from './types/rpc/params-accounts.mjs';
|
|
3
|
-
import type {
|
|
4
|
-
import type { ParamsContractLog } from './types/rpc/params-contract-log.mjs';
|
|
3
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
|
|
5
4
|
import type { ParamsCreateNode } from './types/rpc/params-create-node.mjs';
|
|
6
5
|
import type { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.mjs';
|
|
7
6
|
import type { ParamsGetHomeShard } from './types/rpc/params-get-home-shard.mjs';
|
|
@@ -13,6 +12,7 @@ import type { ParamsRequestVme } from './types/rpc/params-request-vme.mjs';
|
|
|
13
12
|
import type { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transaction.mjs';
|
|
14
13
|
import type { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.mjs';
|
|
15
14
|
import type { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.mjs';
|
|
15
|
+
import type { ParamsVmeLog } from './types/rpc/params-vme-log.mjs';
|
|
16
16
|
import type { Client } from '../clients/types.mjs';
|
|
17
17
|
export declare const debugPublicActions: (client: Client) => {
|
|
18
18
|
allHeights: () => Promise<import("../index.mjs").RpcAccountHeight[]>;
|
|
@@ -25,7 +25,6 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
25
25
|
gameChainCmd: (param: ParamsGameChainCmd) => Promise<import("../index.mjs").RpcGameChainCmdResult>;
|
|
26
26
|
getAccountsBalances: (param: ParamsAccounts) => Promise<import("../index.mjs").RpcGetAccountsBalancesResult>;
|
|
27
27
|
getAccountsHeights: (param: ParamsAccounts) => Promise<import("../index.mjs").RpcGetAccountsHeightsResult>;
|
|
28
|
-
getContractLog: (param: ParamsContractLog) => Promise<import("../index.mjs").RpcGetContractLogResult>;
|
|
29
28
|
getGuestsInfo: () => Promise<import("../index.mjs").RpcGetGuestsInfoResult>;
|
|
30
29
|
getHomeShard: (param: ParamsGetHomeShard) => Promise<import("../index.mjs").RpcGetHomeShardResult>;
|
|
31
30
|
getImportAccount: (params: ParamsGetImportAccount) => Promise<import("../index.mjs").RpcGetImportAccountResult>;
|
|
@@ -34,6 +33,7 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
34
33
|
getNodeBlocks: () => Promise<import("../index.mjs").RpcGetNodeBlocksResult>;
|
|
35
34
|
getPeerPool: () => Promise<string[]>;
|
|
36
35
|
getPeersInfo: () => Promise<import("../index.mjs").GetPeersInfo>;
|
|
36
|
+
getVmeLog: (param: ParamsVmeLog) => Promise<import("../index.mjs").RpcGetVmeLogResult>;
|
|
37
37
|
importAccount: (params: ParamsImportAccount) => Promise<import("../index.mjs").RpcImportAccountResult>;
|
|
38
38
|
initReliableNodes: (param: ParamsInitReliableNodes) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
39
39
|
noArgsRets: () => Promise<any>;
|
|
@@ -43,5 +43,5 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
43
43
|
sendRawTransaction: (params: ParamsSendRawTransaction) => Promise<import("../index.mjs").RpcSendRawTransactionResult>;
|
|
44
44
|
setImportAccountTx: (params: ParamsSetImportAccountTx) => Promise<import("../index.mjs").RpcSetImportAccountTxResult>;
|
|
45
45
|
setReliableNode: (param: ParamsSetReliableNode) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
46
|
-
|
|
46
|
+
viewVme: (param: ParamsCallVme) => Promise<import("../index.mjs").RpcViewVmeResult>;
|
|
47
47
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
2
|
+
import type { ParamsCreateSynthAccount } from './types/rpc/params-create-synth-account.cjs';
|
|
3
|
+
import type { ParamsPostDataToSynthAccount } from './types/rpc/params-post-data-to-synth-account.cjs';
|
|
4
|
+
import type { WalletClient } from '../clients/types.cjs';
|
|
5
|
+
export declare const debugWalletActions: (client: WalletClient) => {
|
|
6
|
+
callVme: (param: ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
7
|
+
createSynthAccount: (param: ParamsCreateSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
8
|
+
postDataToSynthAccount: (param: ParamsPostDataToSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
9
|
+
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ParamsCreateContract } from './types/rpc/params-create-contract.mjs';
|
|
1
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
|
|
3
2
|
import type { ParamsCreateSynthAccount } from './types/rpc/params-create-synth-account.mjs';
|
|
4
3
|
import type { ParamsPostDataToSynthAccount } from './types/rpc/params-post-data-to-synth-account.mjs';
|
|
5
4
|
import type { WalletClient } from '../clients/types.mjs';
|
|
6
5
|
export declare const debugWalletActions: (client: WalletClient) => {
|
|
7
|
-
|
|
8
|
-
createContract: (param: ParamsCreateContract) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
6
|
+
callVme: (param: ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
9
7
|
createSynthAccount: (param: ParamsCreateSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
10
8
|
postDataToSynthAccount: (param: ParamsPostDataToSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
11
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-
|
|
1
|
+
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-Bd8C-fZB', '../chunks/lclib-Bv86gksL', '../chunks/tslib.es6-D29rxPkW', '../chunks/rpc-C4n7t9y0', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8'], (function (exports, wasm, debugWalletActions, lclib, tslib_es6, rpc, base, account) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// Automatically generated file. DO NOT EDIT.
|
|
4
4
|
|
|
@@ -7,9 +7,8 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
7
7
|
allHeights: debugWalletActions.allHeights,
|
|
8
8
|
balanceGrantList: debugWalletActions.balanceGrantList,
|
|
9
9
|
balanceList: debugWalletActions.balanceList,
|
|
10
|
-
|
|
10
|
+
callVme: debugWalletActions.callVme,
|
|
11
11
|
createAccount: debugWalletActions.createAccount,
|
|
12
|
-
createContract: debugWalletActions.createContract,
|
|
13
12
|
createNode: debugWalletActions.createNode,
|
|
14
13
|
createSynthAccount: debugWalletActions.createSynthAccount,
|
|
15
14
|
dumpAllAccounts: debugWalletActions.dumpAllAccounts,
|
|
@@ -17,7 +16,6 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
17
16
|
gameChainCmd: debugWalletActions.gameChainCmd,
|
|
18
17
|
getAccountsBalances: debugWalletActions.getAccountsBalances,
|
|
19
18
|
getAccountsHeights: debugWalletActions.getAccountsHeights,
|
|
20
|
-
getContractLog: debugWalletActions.getContractLog,
|
|
21
19
|
getGuestsInfo: debugWalletActions.getGuestsInfo,
|
|
22
20
|
getHomeShard: debugWalletActions.getHomeShard,
|
|
23
21
|
getImportAccount: debugWalletActions.getImportAccount,
|
|
@@ -26,6 +24,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
26
24
|
getNodeBlocks: debugWalletActions.getNodeBlocks,
|
|
27
25
|
getPeerPool: debugWalletActions.getPeerPool,
|
|
28
26
|
getPeersInfo: debugWalletActions.getPeersInfo,
|
|
27
|
+
getVmeLog: debugWalletActions.getVmeLog,
|
|
29
28
|
importAccount: debugWalletActions.importAccount,
|
|
30
29
|
initReliableNodes: debugWalletActions.initReliableNodes,
|
|
31
30
|
noArgsRets: debugWalletActions.noArgsRets,
|
|
@@ -36,7 +35,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
36
35
|
sendRawTransaction: debugWalletActions.sendRawTransaction,
|
|
37
36
|
setImportAccountTx: debugWalletActions.setImportAccountTx,
|
|
38
37
|
setReliableNode: debugWalletActions.setReliableNode,
|
|
39
|
-
|
|
38
|
+
viewVme: debugWalletActions.viewVme
|
|
40
39
|
});
|
|
41
40
|
|
|
42
41
|
exports.calculateTxLinkHash = wasm.calculateTxLinkHash;
|
|
@@ -90,7 +89,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
90
89
|
exports.accountHeightsToUpload = debugWalletActions.accountHeightsToUpload;
|
|
91
90
|
exports.becomeGuest = debugWalletActions.becomeGuest;
|
|
92
91
|
exports.becomeHost = debugWalletActions.becomeHost;
|
|
93
|
-
exports.
|
|
92
|
+
exports.calculateSpentByForwardCoin = debugWalletActions.calculateSpentByForwardCoin;
|
|
94
93
|
exports.changeKey = debugWalletActions.changeKey;
|
|
95
94
|
exports.changeVkey = debugWalletActions.changeVkey;
|
|
96
95
|
exports.clientMessage = debugWalletActions.clientMessage;
|
|
@@ -103,6 +102,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
103
102
|
exports.downloadAccountTxs = debugWalletActions.downloadAccountTxs;
|
|
104
103
|
exports.echo = debugWalletActions.echo$1;
|
|
105
104
|
exports.findDuplicateSubscriber = debugWalletActions.findDuplicateSubscriber;
|
|
105
|
+
exports.forwardCoin = debugWalletActions.forwardCoin;
|
|
106
106
|
exports.freezeAccount = debugWalletActions.freezeAccount;
|
|
107
107
|
exports.generateLatestStoredDataProof = debugWalletActions.generateLatestStoredDataProof;
|
|
108
108
|
exports.getAccountAssetList = debugWalletActions.getAccountAssetList;
|
|
@@ -138,7 +138,6 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
138
138
|
exports.subscribeAddress = debugWalletActions.subscribeAddress;
|
|
139
139
|
exports.transferAssetObject = debugWalletActions.transferAssetObject;
|
|
140
140
|
exports.transferCoin = debugWalletActions.transferCoin;
|
|
141
|
-
exports.transferCoinExpress = debugWalletActions.transferCoinExpress;
|
|
142
141
|
exports.transferToken = debugWalletActions.transferToken;
|
|
143
142
|
exports.unlockStake = debugWalletActions.unlockStake;
|
|
144
143
|
exports.uploadAccountTxs = debugWalletActions.uploadAccountTxs;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
4
|
-
var debugWalletActions = require('../chunks/debugWalletActions-
|
|
4
|
+
var debugWalletActions = require('../chunks/debugWalletActions-DIQY8cBm.cjs');
|
|
5
5
|
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
6
6
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
7
7
|
require('../chunks/rpc-DwWIkUva.cjs');
|
|
@@ -15,9 +15,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
15
15
|
allHeights: debugWalletActions.allHeights,
|
|
16
16
|
balanceGrantList: debugWalletActions.balanceGrantList,
|
|
17
17
|
balanceList: debugWalletActions.balanceList,
|
|
18
|
-
|
|
18
|
+
callVme: debugWalletActions.callVme,
|
|
19
19
|
createAccount: debugWalletActions.createAccount,
|
|
20
|
-
createContract: debugWalletActions.createContract,
|
|
21
20
|
createNode: debugWalletActions.createNode,
|
|
22
21
|
createSynthAccount: debugWalletActions.createSynthAccount,
|
|
23
22
|
dumpAllAccounts: debugWalletActions.dumpAllAccounts,
|
|
@@ -25,7 +24,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
25
24
|
gameChainCmd: debugWalletActions.gameChainCmd,
|
|
26
25
|
getAccountsBalances: debugWalletActions.getAccountsBalances,
|
|
27
26
|
getAccountsHeights: debugWalletActions.getAccountsHeights,
|
|
28
|
-
getContractLog: debugWalletActions.getContractLog,
|
|
29
27
|
getGuestsInfo: debugWalletActions.getGuestsInfo,
|
|
30
28
|
getHomeShard: debugWalletActions.getHomeShard,
|
|
31
29
|
getImportAccount: debugWalletActions.getImportAccount,
|
|
@@ -34,6 +32,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
34
32
|
getNodeBlocks: debugWalletActions.getNodeBlocks,
|
|
35
33
|
getPeerPool: debugWalletActions.getPeerPool,
|
|
36
34
|
getPeersInfo: debugWalletActions.getPeersInfo,
|
|
35
|
+
getVmeLog: debugWalletActions.getVmeLog,
|
|
37
36
|
importAccount: debugWalletActions.importAccount,
|
|
38
37
|
initReliableNodes: debugWalletActions.initReliableNodes,
|
|
39
38
|
noArgsRets: debugWalletActions.noArgsRets,
|
|
@@ -44,7 +43,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
44
43
|
sendRawTransaction: debugWalletActions.sendRawTransaction,
|
|
45
44
|
setImportAccountTx: debugWalletActions.setImportAccountTx,
|
|
46
45
|
setReliableNode: debugWalletActions.setReliableNode,
|
|
47
|
-
|
|
46
|
+
viewVme: debugWalletActions.viewVme
|
|
48
47
|
});
|
|
49
48
|
|
|
50
49
|
exports.calculateTxLinkHash = wasm.calculateTxLinkHash;
|
|
@@ -98,7 +97,7 @@ exports.accountHeightsToDownload = debugWalletActions.accountHeightsToDownload;
|
|
|
98
97
|
exports.accountHeightsToUpload = debugWalletActions.accountHeightsToUpload;
|
|
99
98
|
exports.becomeGuest = debugWalletActions.becomeGuest;
|
|
100
99
|
exports.becomeHost = debugWalletActions.becomeHost;
|
|
101
|
-
exports.
|
|
100
|
+
exports.calculateSpentByForwardCoin = debugWalletActions.calculateSpentByForwardCoin;
|
|
102
101
|
exports.changeKey = debugWalletActions.changeKey;
|
|
103
102
|
exports.changeVkey = debugWalletActions.changeVkey;
|
|
104
103
|
exports.clientMessage = debugWalletActions.clientMessage;
|
|
@@ -111,6 +110,7 @@ exports.debugWalletActions = debugWalletActions.debugWalletActions;
|
|
|
111
110
|
exports.downloadAccountTxs = debugWalletActions.downloadAccountTxs;
|
|
112
111
|
exports.echo = debugWalletActions.echo$1;
|
|
113
112
|
exports.findDuplicateSubscriber = debugWalletActions.findDuplicateSubscriber;
|
|
113
|
+
exports.forwardCoin = debugWalletActions.forwardCoin;
|
|
114
114
|
exports.freezeAccount = debugWalletActions.freezeAccount;
|
|
115
115
|
exports.generateLatestStoredDataProof = debugWalletActions.generateLatestStoredDataProof;
|
|
116
116
|
exports.getAccountAssetList = debugWalletActions.getAccountAssetList;
|
|
@@ -146,7 +146,6 @@ exports.setHost = debugWalletActions.setHost;
|
|
|
146
146
|
exports.subscribeAddress = debugWalletActions.subscribeAddress;
|
|
147
147
|
exports.transferAssetObject = debugWalletActions.transferAssetObject;
|
|
148
148
|
exports.transferCoin = debugWalletActions.transferCoin;
|
|
149
|
-
exports.transferCoinExpress = debugWalletActions.transferCoinExpress;
|
|
150
149
|
exports.transferToken = debugWalletActions.transferToken;
|
|
151
150
|
exports.unlockStake = debugWalletActions.unlockStake;
|
|
152
151
|
exports.uploadAccountTxs = debugWalletActions.uploadAccountTxs;
|
package/dist/autogen/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './rpc-api-spec.
|
|
2
|
-
export * from './wasm.
|
|
3
|
-
export * from './locus-tx.
|
|
4
|
-
export * from './publicActions.
|
|
5
|
-
export * from './walletActions.
|
|
6
|
-
export * from './debugPublicActions.
|
|
7
|
-
export * from './debugWalletActions.
|
|
8
|
-
export * from './actions/index.
|
|
1
|
+
export * from './rpc-api-spec.cjs';
|
|
2
|
+
export * from './wasm.cjs';
|
|
3
|
+
export * from './locus-tx.cjs';
|
|
4
|
+
export * from './publicActions.cjs';
|
|
5
|
+
export * from './walletActions.cjs';
|
|
6
|
+
export * from './debugPublicActions.cjs';
|
|
7
|
+
export * from './debugWalletActions.cjs';
|
|
8
|
+
export * from './actions/index.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { b as calculateTxLinkHash, d as compileCoreScript, e as convertAddressToData, f as convertAddressToHex, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, n as convertDataToHex, o as convertDataToString, p as convertHexToAddress, q as convertHexToBase32, r as convertHexToData, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof, T as verifyTx } from '../chunks/wasm-CLXJDrJA.js';
|
|
2
|
-
import { a as allHeights, b as balanceGrantList, c as balanceList, d as
|
|
3
|
-
export {
|
|
2
|
+
import { a as allHeights, b as balanceGrantList, c as balanceList, d as callVme, e as createAccount, f as createNode, g as createSynthAccount, h as dumpAllAccounts, i as echo, j as gameChainCmd, k as getAccountsBalances, l as getAccountsHeights, m as getGuestsInfo, n as getHomeShard, o as getImportAccount, p as getImportAccountLog, q as getKeys, r as getNodeBlocks, s as getPeerPool, t as getPeersInfo, u as getVmeLog, v as importAccount, w as initReliableNodes, x as noArgsRets, y as nodeCmd, z as postDataToSynthAccount, A as removeHoldTxs, B as requestVme, C as sendRawTransaction, D as setImportAccountTx, E as setReliableNode, F as viewVme } from '../chunks/debugWalletActions-qkesE_0m.js';
|
|
3
|
+
export { G as acceptScript, H as accountHeightsToDownload, I as accountHeightsToUpload, J as becomeGuest, K as becomeHost, L as calculateSpentByForwardCoin, M as changeKey, N as changeVkey, O as clientMessage, P as closeAccount, Q as createAssetObject, R as createToken, S as createVme, T as debugPublicActions, U as debugWalletActions, V as downloadAccountTxs, W as echo, X as findDuplicateSubscriber, Y as forwardCoin, Z as freezeAccount, _ as generateLatestStoredDataProof, $ as getAccountAssetList, a0 as getAccountAssetObject, a1 as getAccountDetail, a2 as getAccountHistory, a3 as getAccountTokenList, a4 as getConciseNodeStatus, a5 as getGenesisAccount, a6 as getIdentityProof, a7 as getInactiveTxList, a8 as getMontInfoList, a9 as getNodeStatus, aa as getOwnerBalance, ab as getRoundState, ac as getRoundStatesList, ad as getShardOfAccount, ae as getSyncState, af as getTx, ag as getWorldRoundState, ah as getWorldRoundStatesList, ai as hasSystemToken, aj as lockStake, ak as makeTxProof, al as openAccount, am as postData, an as provideScript, ao as publicActions, ap as queryAddress, aq as readTxListWitness, ar as requestDataTrade, as as setHost, at as subscribeAddress, au as transferAssetObject, av as transferCoin, aw as transferToken, ax as unlockStake, ay as uploadAccountTxs, az as verifyAndSignChallenge, aA as verifyIdentityProof, aB as verifyLatestStoredDataProof, aC as verifyTxListWitness, aD as walletActions } from '../chunks/debugWalletActions-qkesE_0m.js';
|
|
4
4
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
5
5
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
6
6
|
import '../chunks/rpc-BlPk44QH.js';
|
|
@@ -14,9 +14,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
14
14
|
allHeights: allHeights,
|
|
15
15
|
balanceGrantList: balanceGrantList,
|
|
16
16
|
balanceList: balanceList,
|
|
17
|
-
|
|
17
|
+
callVme: callVme,
|
|
18
18
|
createAccount: createAccount,
|
|
19
|
-
createContract: createContract,
|
|
20
19
|
createNode: createNode,
|
|
21
20
|
createSynthAccount: createSynthAccount,
|
|
22
21
|
dumpAllAccounts: dumpAllAccounts,
|
|
@@ -24,7 +23,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
24
23
|
gameChainCmd: gameChainCmd,
|
|
25
24
|
getAccountsBalances: getAccountsBalances,
|
|
26
25
|
getAccountsHeights: getAccountsHeights,
|
|
27
|
-
getContractLog: getContractLog,
|
|
28
26
|
getGuestsInfo: getGuestsInfo,
|
|
29
27
|
getHomeShard: getHomeShard,
|
|
30
28
|
getImportAccount: getImportAccount,
|
|
@@ -33,6 +31,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
33
31
|
getNodeBlocks: getNodeBlocks,
|
|
34
32
|
getPeerPool: getPeerPool,
|
|
35
33
|
getPeersInfo: getPeersInfo,
|
|
34
|
+
getVmeLog: getVmeLog,
|
|
36
35
|
importAccount: importAccount,
|
|
37
36
|
initReliableNodes: initReliableNodes,
|
|
38
37
|
noArgsRets: noArgsRets,
|
|
@@ -43,7 +42,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
43
42
|
sendRawTransaction: sendRawTransaction,
|
|
44
43
|
setImportAccountTx: setImportAccountTx,
|
|
45
44
|
setReliableNode: setReliableNode,
|
|
46
|
-
|
|
45
|
+
viewVme: viewVme
|
|
47
46
|
});
|
|
48
47
|
|
|
49
48
|
export { index as debug };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UnionToOptional } from '../index.cjs';
|
|
2
|
+
import { TxAcceptScript, TxAcceptScriptAfterTimeLock, TxActivateAllRes, TxActivateAssetObject, TxActivateCoin, TxActivateDataSynthAccount, TxActivateFoundationReserve, TxActivateIncentive, TxActivateLockStakeForVme, TxActivateOpenSynthAccount, TxActivateOpenVme, TxActivateToken, TxActivateVmeResult, TxActivateVmeReward, TxActivateVmeTransfer, TxBecomeGuest, TxBecomeHost, TxBurnAssetObject, TxBurnToken, TxCallVme, TxChangeFoundationAccount, TxChangeKeypair, TxChangeVKey, TxCloseAccount, TxCreateAssetObject, TxCreateSynthAccount, TxCreateToken, TxCreateVme, TxDummy, TxFinalize, TxForwardAssetObject, TxForwardCoin, TxForwardToken, TxFreezeAccount, TxGenesisAccount, TxLeadDirectVtx, TxLeadVtx, TxLockStakeForVme, TxOpenAccount, TxPostData, TxPostDataSynthAccount, TxProvideScript, TxRestoreResHash, TxRevoke, TxTransferAssetObject, TxTransferCoin, TxTransferToken, TxUnlockStake, TxVmeBlankReward, TxVmeBlock, TxVmeTransferReward } from './types/tx/index.cjs';
|
|
3
|
+
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock | TxActivateAllRes | TxActivateAssetObject | TxActivateCoin | TxActivateDataSynthAccount | TxActivateFoundationReserve | TxActivateIncentive | TxActivateLockStakeForVme | TxActivateOpenSynthAccount | TxActivateOpenVme | TxActivateToken | TxActivateVmeResult | TxActivateVmeReward | TxActivateVmeTransfer | TxBecomeGuest | TxBecomeHost | TxBurnAssetObject | TxBurnToken | TxCallVme | TxChangeFoundationAccount | TxChangeKeypair | TxChangeVKey | TxCloseAccount | TxCreateAssetObject | TxCreateSynthAccount | TxCreateToken | TxCreateVme | TxDummy | TxFinalize | TxForwardAssetObject | TxForwardCoin | TxForwardToken | TxFreezeAccount | TxGenesisAccount | TxLeadDirectVtx | TxLeadVtx | TxLockStakeForVme | TxOpenAccount | TxPostData | TxPostDataSynthAccount | TxProvideScript | TxRestoreResHash | TxRevoke | TxTransferAssetObject | TxTransferCoin | TxTransferToken | TxUnlockStake | TxVmeBlankReward | TxVmeBlock | TxVmeTransferReward;
|
|
4
|
+
export type LocusTx = UnionToOptional<Txs>;
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnionToOptional } from '../index.mjs';
|
|
2
|
-
import { TxAcceptScript, TxAcceptScriptAfterTimeLock,
|
|
3
|
-
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock |
|
|
2
|
+
import { TxAcceptScript, TxAcceptScriptAfterTimeLock, TxActivateAllRes, TxActivateAssetObject, TxActivateCoin, TxActivateDataSynthAccount, TxActivateFoundationReserve, TxActivateIncentive, TxActivateLockStakeForVme, TxActivateOpenSynthAccount, TxActivateOpenVme, TxActivateToken, TxActivateVmeResult, TxActivateVmeReward, TxActivateVmeTransfer, TxBecomeGuest, TxBecomeHost, TxBurnAssetObject, TxBurnToken, TxCallVme, TxChangeFoundationAccount, TxChangeKeypair, TxChangeVKey, TxCloseAccount, TxCreateAssetObject, TxCreateSynthAccount, TxCreateToken, TxCreateVme, TxDummy, TxFinalize, TxForwardAssetObject, TxForwardCoin, TxForwardToken, TxFreezeAccount, TxGenesisAccount, TxLeadDirectVtx, TxLeadVtx, TxLockStakeForVme, TxOpenAccount, TxPostData, TxPostDataSynthAccount, TxProvideScript, TxRestoreResHash, TxRevoke, TxTransferAssetObject, TxTransferCoin, TxTransferToken, TxUnlockStake, TxVmeBlankReward, TxVmeBlock, TxVmeTransferReward } from './types/tx/index.mjs';
|
|
3
|
+
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock | TxActivateAllRes | TxActivateAssetObject | TxActivateCoin | TxActivateDataSynthAccount | TxActivateFoundationReserve | TxActivateIncentive | TxActivateLockStakeForVme | TxActivateOpenSynthAccount | TxActivateOpenVme | TxActivateToken | TxActivateVmeResult | TxActivateVmeReward | TxActivateVmeTransfer | TxBecomeGuest | TxBecomeHost | TxBurnAssetObject | TxBurnToken | TxCallVme | TxChangeFoundationAccount | TxChangeKeypair | TxChangeVKey | TxCloseAccount | TxCreateAssetObject | TxCreateSynthAccount | TxCreateToken | TxCreateVme | TxDummy | TxFinalize | TxForwardAssetObject | TxForwardCoin | TxForwardToken | TxFreezeAccount | TxGenesisAccount | TxLeadDirectVtx | TxLeadVtx | TxLockStakeForVme | TxOpenAccount | TxPostData | TxPostDataSynthAccount | TxProvideScript | TxRestoreResHash | TxRevoke | TxTransferAssetObject | TxTransferCoin | TxTransferToken | TxUnlockStake | TxVmeBlankReward | TxVmeBlock | TxVmeTransferReward;
|
|
4
4
|
export type LocusTx = UnionToOptional<Txs>;
|
|
5
5
|
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { ParamStr } from './types/common/param-str.cjs';
|
|
2
|
+
import type { ParamsAccount } from './types/rpc/params-account.cjs';
|
|
3
|
+
import type { ParamsAccountAndIndex } from './types/rpc/params-account-and-index.cjs';
|
|
4
|
+
import type { ParamsAccountHeights } from './types/rpc/params-account-heights.cjs';
|
|
5
|
+
import type { ParamsAccountHistory } from './types/rpc/params-account-history.cjs';
|
|
6
|
+
import type { ParamsCalculateSpentByForwardCoin } from './types/rpc/params-calculate-spent-by-forward-coin.cjs';
|
|
7
|
+
import type { ParamsDownloadAccountTxs } from './types/rpc/params-download-account-txs.cjs';
|
|
8
|
+
import type { ParamsFindDuplicateSubscriber } from './types/rpc/params-find-duplicate-subscriber.cjs';
|
|
9
|
+
import type { ParamsGenerateLatestStoredDataProof } from './types/rpc/params-generate-latest-stored-data-proof.cjs';
|
|
10
|
+
import type { ParamsGetAssetList } from './types/rpc/params-get-asset-list.cjs';
|
|
11
|
+
import type { ParamsGetAssetObjects } from './types/rpc/params-get-asset-objects.cjs';
|
|
12
|
+
import type { ParamsGetIdentityProof } from './types/rpc/params-get-identity-proof.cjs';
|
|
13
|
+
import type { ParamsLatestStoredDataProof } from './types/rpc/params-latest-stored-data-proof.cjs';
|
|
14
|
+
import type { ParamsQueryAddress } from './types/rpc/params-query-address.cjs';
|
|
15
|
+
import type { ParamsRS } from './types/rpc/params-rs.cjs';
|
|
16
|
+
import type { ParamsReadTxList } from './types/rpc/params-read-tx-list.cjs';
|
|
17
|
+
import type { ParamsRound } from './types/rpc/params-round.cjs';
|
|
18
|
+
import type { ParamsRoundList } from './types/rpc/params-round-list.cjs';
|
|
19
|
+
import type { ParamsSetHost } from './types/rpc/params-set-host.cjs';
|
|
20
|
+
import type { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.cjs';
|
|
21
|
+
import type { ParamsTxList } from './types/rpc/params-tx-list.cjs';
|
|
22
|
+
import type { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.cjs';
|
|
23
|
+
import type { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.cjs';
|
|
24
|
+
import type { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.cjs';
|
|
25
|
+
import type { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.cjs';
|
|
26
|
+
import type { Client } from '../clients/types.cjs';
|
|
27
|
+
export declare const publicActions: (client: Client) => {
|
|
28
|
+
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.cjs").HeightsResult>;
|
|
29
|
+
accountHeightsToUpload: (param: ParamsAccountHeights) => Promise<import("../index.cjs").UploadHeightsResult>;
|
|
30
|
+
calculateSpentByForwardCoin: (param: ParamsCalculateSpentByForwardCoin) => Promise<import("../index.cjs").RpcCalculateSpentByForwardCoinResult>;
|
|
31
|
+
clientMessage: (param: ParamStr) => Promise<any>;
|
|
32
|
+
downloadAccountTxs: (param: ParamsDownloadAccountTxs) => Promise<import("../index.cjs").OutputDownloadAccountTxs>;
|
|
33
|
+
echo: (str: string) => Promise<string>;
|
|
34
|
+
findDuplicateSubscriber: (params: ParamsFindDuplicateSubscriber) => Promise<import("../index.cjs").RpcFindDuplicateSubscriberResult>;
|
|
35
|
+
generateLatestStoredDataProof: (params: ParamsGenerateLatestStoredDataProof) => Promise<import("../index.cjs").RpcGenerateLatestStoredDataProofResult>;
|
|
36
|
+
getAccountAssetList: (params: ParamsGetAssetList) => Promise<import("../index.cjs").RpcGetAccountAssetListResult>;
|
|
37
|
+
getAccountAssetObject: (params: ParamsGetAssetObjects) => Promise<import("../index.cjs").RpcGetAccountAssetObjectResult>;
|
|
38
|
+
getAccountDetail: (param: ParamsAccount) => Promise<import("../index.cjs").RpcGetAccountDetailResult>;
|
|
39
|
+
getAccountHistory: (param: ParamsAccountHistory) => Promise<import("../index.cjs").RpcGetAccountHistoryResult>;
|
|
40
|
+
getAccountTokenList: (params: ParamsAccount) => Promise<import("../index.cjs").RpcGetAccountTokenListResult>;
|
|
41
|
+
getConciseNodeStatus: () => Promise<import("../index.cjs").RpcGetConciseNodeStatusResult>;
|
|
42
|
+
getGenesisAccount: () => Promise<import("../index.cjs").RpcGetGenesisAccountResult>;
|
|
43
|
+
getIdentityProof: (param: ParamsGetIdentityProof) => Promise<import("../index.cjs").RpcGetIdentityProofResult>;
|
|
44
|
+
getInactiveTxList: (param: ParamsAccount) => Promise<import("../index.cjs").RpcGetInactiveTxListResult>;
|
|
45
|
+
getMontInfoList: (param: ParamsAccount) => Promise<import("../index.cjs").RpcGetMontInfoListResult>;
|
|
46
|
+
getNodeStatus: () => Promise<import("../index.cjs").RpcGetNodeStatusResult>;
|
|
47
|
+
getOwnerBalance: () => Promise<import("../index.cjs").RpcAccountsBalancesResult[]>;
|
|
48
|
+
getRoundState: (param: ParamsRound) => Promise<import("../index.cjs").RoundStateDetail>;
|
|
49
|
+
getRoundStatesList: (param: ParamsRS) => Promise<import("../index.cjs").RoundStateAbstract[]>;
|
|
50
|
+
getShardOfAccount: (params: ParamsAccount) => Promise<import("../index.cjs").RpcGetShardOfAccountResult>;
|
|
51
|
+
getSyncState: () => Promise<import("../index.cjs").RpcGetSyncStateResult>;
|
|
52
|
+
getTx: (param: ParamsAccountAndIndex) => Promise<import("../index.cjs").RpcGetTxResult>;
|
|
53
|
+
getWorldRoundState: (param: ParamsRound) => Promise<import("../index.cjs").RpcGetWorldRoundStateResult>;
|
|
54
|
+
getWorldRoundStatesList: (param: ParamsRoundList) => Promise<import("../index.cjs").RpcGetWorldRoundStatesListResult>;
|
|
55
|
+
hasSystemToken: (params: ParamsAccount) => Promise<import("../index.cjs").RpcHasSystemTokenResult>;
|
|
56
|
+
makeTxProof: (params: ParamsTxList) => Promise<import("../index.cjs").RpcReadTxListWitnessResult>;
|
|
57
|
+
queryAddress: (params: ParamsQueryAddress) => Promise<import("../index.cjs").RpcQueryAddressResult>;
|
|
58
|
+
readTxListWitness: (params: ParamsReadTxList) => Promise<import("../index.cjs").RpcReadTxListWitnessResult>;
|
|
59
|
+
setHost: (param: ParamsSetHost) => Promise<boolean>;
|
|
60
|
+
subscribeAddress: (params: ParamsSubscribeAddress) => Promise<import("../index.cjs").RpcSubscribeAddressResult>;
|
|
61
|
+
uploadAccountTxs: (param: ParamsUploadAccountTxs) => Promise<number[]>;
|
|
62
|
+
verifyAndSignChallenge: (param: ParamsVerifyAndSignChallenge) => Promise<import("../index.cjs").RpcVerifyAndSignChallengeResult>;
|
|
63
|
+
verifyIdentityProof: (param: ParamsVerifyIdentityProof) => Promise<import("../index.cjs").RpcVerifyIdentityProofResult>;
|
|
64
|
+
verifyLatestStoredDataProof: (params: ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
65
|
+
verifyTxListWitness: (params: ParamsTxListWitness) => Promise<boolean>;
|
|
66
|
+
};
|
|
@@ -3,7 +3,7 @@ import type { ParamsAccount } from './types/rpc/params-account.mjs';
|
|
|
3
3
|
import type { ParamsAccountAndIndex } from './types/rpc/params-account-and-index.mjs';
|
|
4
4
|
import type { ParamsAccountHeights } from './types/rpc/params-account-heights.mjs';
|
|
5
5
|
import type { ParamsAccountHistory } from './types/rpc/params-account-history.mjs';
|
|
6
|
-
import type {
|
|
6
|
+
import type { ParamsCalculateSpentByForwardCoin } from './types/rpc/params-calculate-spent-by-forward-coin.mjs';
|
|
7
7
|
import type { ParamsDownloadAccountTxs } from './types/rpc/params-download-account-txs.mjs';
|
|
8
8
|
import type { ParamsFindDuplicateSubscriber } from './types/rpc/params-find-duplicate-subscriber.mjs';
|
|
9
9
|
import type { ParamsGenerateLatestStoredDataProof } from './types/rpc/params-generate-latest-stored-data-proof.mjs';
|
|
@@ -27,7 +27,7 @@ import type { Client } from '../clients/types.mjs';
|
|
|
27
27
|
export declare const publicActions: (client: Client) => {
|
|
28
28
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.mjs").HeightsResult>;
|
|
29
29
|
accountHeightsToUpload: (param: ParamsAccountHeights) => Promise<import("../index.mjs").UploadHeightsResult>;
|
|
30
|
-
|
|
30
|
+
calculateSpentByForwardCoin: (param: ParamsCalculateSpentByForwardCoin) => Promise<import("../index.mjs").RpcCalculateSpentByForwardCoinResult>;
|
|
31
31
|
clientMessage: (param: ParamStr) => Promise<any>;
|
|
32
32
|
downloadAccountTxs: (param: ParamsDownloadAccountTxs) => Promise<import("../index.mjs").OutputDownloadAccountTxs>;
|
|
33
33
|
echo: (str: string) => Promise<string>;
|