@locuschain/lib 0.2.3 → 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/index.amd.js +1 -1
- package/dist/accounts/index.cjs.cjs +1 -1
- package/dist/accounts/index.esm.js +1 -1
- 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/index.d.cts +2 -2
- package/dist/autogen/actions/debug/public/index.d.mts +2 -2
- 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/index.d.cts +1 -2
- package/dist/autogen/actions/debug/wallet/index.d.mts +1 -2
- 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/getRoundState.d.cts +1 -1
- package/dist/autogen/actions/public/getRoundState.d.mts +1 -1
- package/dist/autogen/actions/public/index.d.cts +1 -1
- package/dist/autogen/actions/public/index.d.mts +1 -1
- 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/index.d.cts +1 -1
- package/dist/autogen/actions/wallet/index.d.mts +1 -1
- package/dist/autogen/debugPublicActions.d.cts +4 -4
- package/dist/autogen/debugPublicActions.d.mts +4 -4
- package/dist/autogen/debugWalletActions.d.cts +2 -4
- 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.esm.js +5 -6
- package/dist/autogen/locus-tx.d.cts +2 -2
- package/dist/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/publicActions.d.cts +2 -2
- package/dist/autogen/publicActions.d.mts +2 -2
- package/dist/autogen/rpc-api-spec.d.cts +13 -15
- package/dist/autogen/rpc-api-spec.d.mts +13 -15
- 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 +0 -2
- package/dist/autogen/types/common/asset-object-transfer.d.mts +0 -2
- package/dist/autogen/types/common/asset-object.d.cts +2 -1
- package/dist/autogen/types/common/asset-object.d.mts +2 -1
- 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/direct-call-request.d.cts +11 -0
- package/dist/autogen/types/common/direct-call-request.d.mts +11 -0
- package/dist/autogen/types/common/index.d.cts +6 -2
- package/dist/autogen/types/common/index.d.mts +6 -2
- 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/ref-vtx.d.cts +0 -1
- 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/transfer-info.d.cts +0 -1
- package/dist/autogen/types/common/transfer-info.d.mts +0 -1
- package/dist/autogen/types/common/tx-base.d.cts +1 -1
- package/dist/autogen/types/common/tx-base.d.mts +1 -1
- 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/vm-engine-block.d.cts +6 -0
- package/dist/autogen/types/common/vm-engine-block.d.mts +6 -0
- package/dist/autogen/types/common/vm-tx-state.d.cts +5 -7
- package/dist/autogen/types/common/vm-tx-state.d.mts +5 -7
- package/dist/autogen/types/consts/address-class.d.cts +6 -7
- package/dist/autogen/types/consts/address-class.d.mts +6 -7
- package/dist/autogen/types/consts/tx-type.d.cts +13 -13
- package/dist/autogen/types/consts/tx-type.d.mts +13 -13
- package/dist/autogen/types/consts/tx-types.d.cts +46 -46
- package/dist/autogen/types/consts/tx-types.d.mts +46 -46
- package/dist/autogen/types/rpc/index.d.cts +8 -8
- package/dist/autogen/types/rpc/index.d.mts +8 -8
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.cts → params-calculate-spent-by-forward-coin.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward-coin.d.mts} +1 -1
- package/dist/autogen/types/rpc/{params-call-contract.d.cts → params-call-vme.d.cts} +4 -4
- package/dist/autogen/types/rpc/{params-call-contract.d.mts → params-call-vme.d.mts} +4 -4
- package/dist/autogen/types/rpc/{params-transfer-coin-express.d.cts → params-forward-coin.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-transfer-coin-express.d.mts → params-forward-coin.d.mts} +1 -1
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.cts +2 -1
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.mts +2 -1
- package/dist/autogen/types/rpc/params-request-vme.d.cts +1 -0
- package/dist/autogen/types/rpc/params-request-vme.d.mts +1 -0
- package/dist/autogen/types/rpc/{params-contract-log.d.cts → params-vme-log.d.cts} +3 -2
- package/dist/autogen/types/rpc/{params-contract-log.d.mts → params-vme-log.d.mts} +3 -2
- package/dist/autogen/types/{common → rpc}/round-state-detail.d.cts +1 -1
- package/dist/autogen/types/{common → rpc}/round-state-detail.d.mts +1 -1
- 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-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-view-vme-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-view-vme-result.d.mts +3 -0
- package/dist/autogen/types/tx/index.d.cts +15 -14
- package/dist/autogen/types/tx/index.d.mts +15 -14
- package/dist/autogen/types/tx/{tx-activate-all-assets.d.cts → tx-activate-all-res.d.cts} +4 -3
- 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 +4 -2
- package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.cts → tx-activate-open-vme.d.cts} +1 -1
- 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-contract-result.d.cts → tx-activate-vme-result.d.cts} +6 -4
- 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-contract-reward.d.cts → tx-activate-vme-reward.d.cts} +1 -1
- 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-contract-transfer.d.cts → tx-activate-vme-transfer.d.cts} +6 -4
- 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-burn-asset-object.d.cts +4 -2
- package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/{tx-create-contract.d.cts → tx-call-vme.d.cts} +8 -7
- package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-call-vme.d.mts} +8 -7
- package/dist/autogen/types/tx/tx-close-account.d.cts +2 -2
- package/dist/autogen/types/tx/tx-close-account.d.mts +2 -2
- package/dist/autogen/types/tx/{tx-create-vm-engine.d.cts → tx-create-vme.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-create-vm-engine.d.mts → tx-create-vme.d.mts} +1 -1
- 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-transfer-coin-express.d.cts → tx-forward-coin.d.cts} +2 -1
- 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-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 +1 -1
- package/dist/autogen/types/tx/tx-lead-vtx.d.mts +1 -1
- package/dist/autogen/types/tx/{tx-call-contract.d.cts → tx-restore-res-hash.d.cts} +4 -8
- 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 +4 -2
- package/dist/autogen/types/tx/tx-revoke.d.mts +4 -2
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.cts +4 -2
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +4 -2
- package/dist/autogen/types/tx/{tx-contract-blank-reward.d.cts → tx-vme-blank-reward.d.cts} +1 -1
- 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-vm-engine-block.d.cts → tx-vme-block.d.cts} +2 -1
- package/dist/autogen/types/tx/{tx-vm-engine-block.d.mts → tx-vme-block.d.mts} +2 -1
- package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.cts → tx-vme-transfer-reward.d.cts} +1 -1
- package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.mts → tx-vme-transfer-reward.d.mts} +1 -1
- package/dist/autogen/walletActions.d.cts +2 -2
- package/dist/autogen/walletActions.d.mts +2 -2
- package/dist/autogen/wasm/lclib.wasm +0 -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/createLocusPublicClient.d.cts +3 -3
- package/dist/clients/createLocusPublicClient.d.mts +3 -3
- package/dist/clients/createLocusWalletClient.d.cts +2 -3
- package/dist/clients/createLocusWalletClient.d.mts +2 -3
- package/dist/clients/index.amd.js +1 -1
- package/dist/clients/index.cjs.cjs +1 -1
- package/dist/clients/index.esm.js +1 -1
- package/dist/constant/index.amd.js +63 -63
- package/dist/constant/index.cjs.cjs +64 -64
- package/dist/constant/index.d.cts +65 -66
- package/dist/constant/index.d.mts +65 -66
- package/dist/constant/index.esm.js +64 -64
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/utils/index.amd.js +3 -6
- package/dist/utils/index.cjs.cjs +3 -6
- package/dist/utils/index.d.cts +3 -4
- package/dist/utils/index.d.mts +3 -4
- package/dist/utils/index.esm.js +4 -6
- package/package.json +1 -1
- package/dist/autogen/actions/debug/public/getContractLog.d.cts +0 -4
- package/dist/autogen/actions/debug/public/getContractLog.d.mts +0 -4
- package/dist/autogen/actions/debug/public/viewContract.d.cts +0 -4
- package/dist/autogen/actions/debug/public/viewContract.d.mts +0 -4
- package/dist/autogen/actions/debug/wallet/callContract.d.cts +0 -4
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +0 -4
- package/dist/autogen/actions/debug/wallet/createContract.d.cts +0 -4
- package/dist/autogen/actions/debug/wallet/createContract.d.mts +0 -4
- package/dist/autogen/actions/public/calculateSpentByExpress.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByExpress.d.mts +0 -4
- package/dist/autogen/actions/wallet/transferCoinExpress.d.cts +0 -4
- package/dist/autogen/actions/wallet/transferCoinExpress.d.mts +0 -4
- package/dist/autogen/types/common/asset-proof-objects.d.cts +0 -5
- package/dist/autogen/types/common/asset-proof-objects.d.mts +0 -5
- package/dist/autogen/types/rpc/params-create-contract.d.cts +0 -14
- package/dist/autogen/types/rpc/params-create-contract.d.mts +0 -14
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.cts +0 -3
- 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.cts +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.cts +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.cts +0 -15
- package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +0 -15
- package/dist/autogen/types/tx/tx-activate-open-contract.d.cts +0 -15
- package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +0 -15
|
@@ -4,7 +4,6 @@ import { OutputDownloadAccountTxs } from './types/common/output-download-account
|
|
|
4
4
|
import { ParamStr } from './types/common/param-str.cjs';
|
|
5
5
|
import { RetTypeBase } from './types/common/ret-type-base.cjs';
|
|
6
6
|
import { RoundStateAbstract } from './types/common/round-state-abstract.cjs';
|
|
7
|
-
import { RoundStateDetail } from './types/common/round-state-detail.cjs';
|
|
8
7
|
import { RpcAccountHeight } from './types/common/rpc-account-height.cjs';
|
|
9
8
|
import { RpcAccountsBalancesResult } from './types/common/rpc-accounts-balances-result.cjs';
|
|
10
9
|
import { RpcDataTradeResult } from './types/common/rpc-data-trade-result.cjs';
|
|
@@ -17,20 +16,19 @@ import { ParamsAccount } from './types/rpc/params-account.cjs';
|
|
|
17
16
|
import { ParamsAccounts } from './types/rpc/params-accounts.cjs';
|
|
18
17
|
import { ParamsBecomeGuest } from './types/rpc/params-become-guest.cjs';
|
|
19
18
|
import { ParamsBecomeHost } from './types/rpc/params-become-host.cjs';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
19
|
+
import { ParamsCalculateSpentByForwardCoin } from './types/rpc/params-calculate-spent-by-forward-coin.cjs';
|
|
20
|
+
import { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
22
21
|
import { ParamsChangeKey } from './types/rpc/params-change-key.cjs';
|
|
23
22
|
import { ParamsChangeVKey } from './types/rpc/params-change-vkey.cjs';
|
|
24
23
|
import { ParamsCloseAccount } from './types/rpc/params-close-account.cjs';
|
|
25
|
-
import { ParamsContractLog } from './types/rpc/params-contract-log.cjs';
|
|
26
24
|
import { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.cjs';
|
|
27
|
-
import { ParamsCreateContract } from './types/rpc/params-create-contract.cjs';
|
|
28
25
|
import { ParamsCreateNode } from './types/rpc/params-create-node.cjs';
|
|
29
26
|
import { ParamsCreateSynthAccount } from './types/rpc/params-create-synth-account.cjs';
|
|
30
27
|
import { ParamsCreateToken } from './types/rpc/params-create-token.cjs';
|
|
31
28
|
import { ParamsCreateVme } from './types/rpc/params-create-vme.cjs';
|
|
32
29
|
import { ParamsDownloadAccountTxs } from './types/rpc/params-download-account-txs.cjs';
|
|
33
30
|
import { ParamsFindDuplicateSubscriber } from './types/rpc/params-find-duplicate-subscriber.cjs';
|
|
31
|
+
import { ParamsForwardCoin } from './types/rpc/params-forward-coin.cjs';
|
|
34
32
|
import { ParamsFreezeAccount } from './types/rpc/params-freeze-account.cjs';
|
|
35
33
|
import { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.cjs';
|
|
36
34
|
import { ParamsGenerateLatestStoredDataProof } from './types/rpc/params-generate-latest-stored-data-proof.cjs';
|
|
@@ -60,7 +58,6 @@ import { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-
|
|
|
60
58
|
import { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.cjs';
|
|
61
59
|
import { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.cjs';
|
|
62
60
|
import { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.cjs';
|
|
63
|
-
import { ParamsTransferCoinExpress } from './types/rpc/params-transfer-coin-express.cjs';
|
|
64
61
|
import { ParamsTransferCoin } from './types/rpc/params-transfer-coin.cjs';
|
|
65
62
|
import { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.cjs';
|
|
66
63
|
import { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.cjs';
|
|
@@ -69,9 +66,11 @@ import { ParamsUnlockStake } from './types/rpc/params-unlock-stake.cjs';
|
|
|
69
66
|
import { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.cjs';
|
|
70
67
|
import { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.cjs';
|
|
71
68
|
import { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.cjs';
|
|
69
|
+
import { ParamsVmeLog } from './types/rpc/params-vme-log.cjs';
|
|
72
70
|
import { ResultDumpAccounts } from './types/rpc/result-dump-accounts.cjs';
|
|
71
|
+
import { RoundStateDetail } from './types/rpc/round-state-detail.cjs';
|
|
73
72
|
import { RpcBoolResult } from './types/rpc/rpc-bool-result.cjs';
|
|
74
|
-
import {
|
|
73
|
+
import { RpcCalculateSpentByForwardCoinResult } from './types/rpc/rpc-calculate-spent-by-forward-coin-result.cjs';
|
|
75
74
|
import { RpcCreateAccountResult } from './types/rpc/rpc-create-account-result.cjs';
|
|
76
75
|
import { RpcCreateNodeResult } from './types/rpc/rpc-create-node-result.cjs';
|
|
77
76
|
import { RpcCreateTxResult } from './types/rpc/rpc-create-tx-result.cjs';
|
|
@@ -86,7 +85,6 @@ import { RpcGetAccountTokenListResult } from './types/rpc/rpc-get-account-token-
|
|
|
86
85
|
import { RpcGetAccountsBalancesResult } from './types/rpc/rpc-get-accounts-balances-result.cjs';
|
|
87
86
|
import { RpcGetAccountsHeightsResult } from './types/rpc/rpc-get-accounts-heights-result.cjs';
|
|
88
87
|
import { RpcGetConciseNodeStatusResult } from './types/rpc/rpc-get-concise-node-status-result.cjs';
|
|
89
|
-
import { RpcGetContractLogResult } from './types/rpc/rpc-get-contract-log-result.cjs';
|
|
90
88
|
import { RpcGetGenesisAccountResult } from './types/rpc/rpc-get-genesis-account-result.cjs';
|
|
91
89
|
import { RpcGetGuestsInfoResult } from './types/rpc/rpc-get-guests-info-result.cjs';
|
|
92
90
|
import { RpcGetHomeShardResult } from './types/rpc/rpc-get-home-shard-result.cjs';
|
|
@@ -100,6 +98,7 @@ import { RpcGetNodeStatusResult } from './types/rpc/rpc-get-node-status-result.c
|
|
|
100
98
|
import { RpcGetShardOfAccountResult } from './types/rpc/rpc-get-shard-of-account-result.cjs';
|
|
101
99
|
import { RpcGetSyncStateResult } from './types/rpc/rpc-get-sync-state-result.cjs';
|
|
102
100
|
import { RpcGetTxResult } from './types/rpc/rpc-get-tx-result.cjs';
|
|
101
|
+
import { RpcGetVmeLogResult } from './types/rpc/rpc-get-vme-log-result.cjs';
|
|
103
102
|
import { RpcGetWorldRoundStateResult } from './types/rpc/rpc-get-world-round-state-result.cjs';
|
|
104
103
|
import { RpcGetWorldRoundStatesListResult } from './types/rpc/rpc-get-world-round-states-list-result.cjs';
|
|
105
104
|
import { RpcHasSystemTokenResult } from './types/rpc/rpc-has-system-token-result.cjs';
|
|
@@ -113,15 +112,14 @@ import { RpcSetImportAccountTxResult } from './types/rpc/rpc-set-import-account-
|
|
|
113
112
|
import { RpcSubscribeAddressResult } from './types/rpc/rpc-subscribe-address-result.cjs';
|
|
114
113
|
import { RpcVerifyAndSignChallengeResult } from './types/rpc/rpc-verify-and-sign-challenge-result.cjs';
|
|
115
114
|
import { RpcVerifyIdentityProofResult } from './types/rpc/rpc-verify-identity-proof-result.cjs';
|
|
116
|
-
import {
|
|
115
|
+
import { RpcViewVmeResult } from './types/rpc/rpc-view-vme-result.cjs';
|
|
117
116
|
import { UploadHeightsResult } from './types/rpc/upload-heights-result.cjs';
|
|
118
117
|
export interface RpcApiSpec {
|
|
119
118
|
debug_allHeights(): Promise<RpcAccountHeight[]>;
|
|
120
119
|
debug_balanceGrantList(): Promise<string[]>;
|
|
121
120
|
debug_balanceList(): Promise<string[]>;
|
|
122
|
-
|
|
121
|
+
debug_callVme(param: ParamsCallVme): Promise<RpcCreateTxResult>;
|
|
123
122
|
debug_createAccount(): Promise<RpcCreateAccountResult>;
|
|
124
|
-
debug_createContract(param: ParamsCreateContract): Promise<RpcCreateTxResult>;
|
|
125
123
|
debug_createNode(param: ParamsCreateNode): Promise<RpcCreateNodeResult>;
|
|
126
124
|
debug_createSynthAccount(param: ParamsCreateSynthAccount): Promise<RpcCreateTxResult>;
|
|
127
125
|
debug_dumpAllAccounts(): Promise<ResultDumpAccounts>;
|
|
@@ -129,7 +127,6 @@ export interface RpcApiSpec {
|
|
|
129
127
|
debug_gameChainCmd(param: ParamsGameChainCmd): Promise<RpcGameChainCmdResult>;
|
|
130
128
|
debug_getAccountsBalances(param: ParamsAccounts): Promise<RpcGetAccountsBalancesResult>;
|
|
131
129
|
debug_getAccountsHeights(param: ParamsAccounts): Promise<RpcGetAccountsHeightsResult>;
|
|
132
|
-
debug_getContractLog(param: ParamsContractLog): Promise<RpcGetContractLogResult>;
|
|
133
130
|
debug_getGuestsInfo(): Promise<RpcGetGuestsInfoResult>;
|
|
134
131
|
debug_getHomeShard(param: ParamsGetHomeShard): Promise<RpcGetHomeShardResult>;
|
|
135
132
|
debug_getImportAccount(params: ParamsGetImportAccount): Promise<RpcGetImportAccountResult>;
|
|
@@ -138,6 +135,7 @@ export interface RpcApiSpec {
|
|
|
138
135
|
debug_getNodeBlocks(): Promise<RpcGetNodeBlocksResult>;
|
|
139
136
|
debug_getPeerPool(): Promise<string[]>;
|
|
140
137
|
debug_getPeersInfo(): Promise<GetPeersInfo>;
|
|
138
|
+
debug_getVmeLog(param: ParamsVmeLog): Promise<RpcGetVmeLogResult>;
|
|
141
139
|
debug_importAccount(params: ParamsImportAccount): Promise<RpcImportAccountResult>;
|
|
142
140
|
debug_initReliableNodes(param: ParamsInitReliableNodes): Promise<RpcBoolResult>;
|
|
143
141
|
debug_noArgsRets(): Promise<any>;
|
|
@@ -148,13 +146,13 @@ export interface RpcApiSpec {
|
|
|
148
146
|
debug_sendRawTransaction(params: ParamsSendRawTransaction): Promise<RpcSendRawTransactionResult>;
|
|
149
147
|
debug_setImportAccountTx(params: ParamsSetImportAccountTx): Promise<RpcSetImportAccountTxResult>;
|
|
150
148
|
debug_setReliableNode(param: ParamsSetReliableNode): Promise<RpcBoolResult>;
|
|
151
|
-
|
|
149
|
+
debug_viewVme(param: ParamsCallVme): Promise<RpcViewVmeResult>;
|
|
152
150
|
locus_acceptScript(params: ParamsAcceptScript): Promise<RpcCreateTxResult>;
|
|
153
151
|
locus_accountHeightsToDownload(param: ParamsAccountHeights): Promise<HeightsResult>;
|
|
154
152
|
locus_accountHeightsToUpload(param: ParamsAccountHeights): Promise<UploadHeightsResult>;
|
|
155
153
|
locus_becomeGuest(param: ParamsBecomeGuest): Promise<RpcCreateTxResult>;
|
|
156
154
|
locus_becomeHost(param: ParamsBecomeHost): Promise<RpcCreateTxResult>;
|
|
157
|
-
|
|
155
|
+
locus_calculateSpentByForwardCoin(param: ParamsCalculateSpentByForwardCoin): Promise<RpcCalculateSpentByForwardCoinResult>;
|
|
158
156
|
locus_changeKey(params: ParamsChangeKey): Promise<RpcCreateTxResult>;
|
|
159
157
|
locus_changeVkey(params: ParamsChangeVKey): Promise<RpcCreateTxResult>;
|
|
160
158
|
locus_clientMessage(param: ParamStr): Promise<any>;
|
|
@@ -165,6 +163,7 @@ export interface RpcApiSpec {
|
|
|
165
163
|
locus_downloadAccountTxs(param: ParamsDownloadAccountTxs): Promise<OutputDownloadAccountTxs>;
|
|
166
164
|
locus_echo(str: string): Promise<string>;
|
|
167
165
|
locus_findDuplicateSubscriber(params: ParamsFindDuplicateSubscriber): Promise<RpcFindDuplicateSubscriberResult>;
|
|
166
|
+
locus_forwardCoin(param: ParamsForwardCoin): Promise<RpcCreateTxResult>;
|
|
168
167
|
locus_freezeAccount(params: ParamsFreezeAccount): Promise<RpcCreateTxResult>;
|
|
169
168
|
locus_generateLatestStoredDataProof(params: ParamsGenerateLatestStoredDataProof): Promise<RpcGenerateLatestStoredDataProofResult>;
|
|
170
169
|
locus_getAccountAssetList(params: ParamsGetAssetList): Promise<RpcGetAccountAssetListResult>;
|
|
@@ -199,7 +198,6 @@ export interface RpcApiSpec {
|
|
|
199
198
|
locus_subscribeAddress(params: ParamsSubscribeAddress): Promise<RpcSubscribeAddressResult>;
|
|
200
199
|
locus_transferAssetObject(params: ParamsTransferAssetObject): Promise<RpcCreateTxResult>;
|
|
201
200
|
locus_transferCoin(param: ParamsTransferCoin): Promise<RpcCreateTxResult>;
|
|
202
|
-
locus_transferCoinExpress(param: ParamsTransferCoinExpress): Promise<RpcCreateTxResult>;
|
|
203
201
|
locus_transferToken(params: ParamsTransferTokens): Promise<RpcCreateTxResult>;
|
|
204
202
|
locus_unlockStake(params: ParamsUnlockStake): Promise<RpcCreateTxResult>;
|
|
205
203
|
locus_uploadAccountTxs(param: ParamsUploadAccountTxs): Promise<number[]>;
|
|
@@ -4,7 +4,6 @@ import { OutputDownloadAccountTxs } from './types/common/output-download-account
|
|
|
4
4
|
import { ParamStr } from './types/common/param-str.mjs';
|
|
5
5
|
import { RetTypeBase } from './types/common/ret-type-base.mjs';
|
|
6
6
|
import { RoundStateAbstract } from './types/common/round-state-abstract.mjs';
|
|
7
|
-
import { RoundStateDetail } from './types/common/round-state-detail.mjs';
|
|
8
7
|
import { RpcAccountHeight } from './types/common/rpc-account-height.mjs';
|
|
9
8
|
import { RpcAccountsBalancesResult } from './types/common/rpc-accounts-balances-result.mjs';
|
|
10
9
|
import { RpcDataTradeResult } from './types/common/rpc-data-trade-result.mjs';
|
|
@@ -17,20 +16,19 @@ import { ParamsAccount } from './types/rpc/params-account.mjs';
|
|
|
17
16
|
import { ParamsAccounts } from './types/rpc/params-accounts.mjs';
|
|
18
17
|
import { ParamsBecomeGuest } from './types/rpc/params-become-guest.mjs';
|
|
19
18
|
import { ParamsBecomeHost } from './types/rpc/params-become-host.mjs';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
19
|
+
import { ParamsCalculateSpentByForwardCoin } from './types/rpc/params-calculate-spent-by-forward-coin.mjs';
|
|
20
|
+
import { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
|
|
22
21
|
import { ParamsChangeKey } from './types/rpc/params-change-key.mjs';
|
|
23
22
|
import { ParamsChangeVKey } from './types/rpc/params-change-vkey.mjs';
|
|
24
23
|
import { ParamsCloseAccount } from './types/rpc/params-close-account.mjs';
|
|
25
|
-
import { ParamsContractLog } from './types/rpc/params-contract-log.mjs';
|
|
26
24
|
import { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.mjs';
|
|
27
|
-
import { ParamsCreateContract } from './types/rpc/params-create-contract.mjs';
|
|
28
25
|
import { ParamsCreateNode } from './types/rpc/params-create-node.mjs';
|
|
29
26
|
import { ParamsCreateSynthAccount } from './types/rpc/params-create-synth-account.mjs';
|
|
30
27
|
import { ParamsCreateToken } from './types/rpc/params-create-token.mjs';
|
|
31
28
|
import { ParamsCreateVme } from './types/rpc/params-create-vme.mjs';
|
|
32
29
|
import { ParamsDownloadAccountTxs } from './types/rpc/params-download-account-txs.mjs';
|
|
33
30
|
import { ParamsFindDuplicateSubscriber } from './types/rpc/params-find-duplicate-subscriber.mjs';
|
|
31
|
+
import { ParamsForwardCoin } from './types/rpc/params-forward-coin.mjs';
|
|
34
32
|
import { ParamsFreezeAccount } from './types/rpc/params-freeze-account.mjs';
|
|
35
33
|
import { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.mjs';
|
|
36
34
|
import { ParamsGenerateLatestStoredDataProof } from './types/rpc/params-generate-latest-stored-data-proof.mjs';
|
|
@@ -60,7 +58,6 @@ import { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-
|
|
|
60
58
|
import { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.mjs';
|
|
61
59
|
import { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.mjs';
|
|
62
60
|
import { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.mjs';
|
|
63
|
-
import { ParamsTransferCoinExpress } from './types/rpc/params-transfer-coin-express.mjs';
|
|
64
61
|
import { ParamsTransferCoin } from './types/rpc/params-transfer-coin.mjs';
|
|
65
62
|
import { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.mjs';
|
|
66
63
|
import { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.mjs';
|
|
@@ -69,9 +66,11 @@ import { ParamsUnlockStake } from './types/rpc/params-unlock-stake.mjs';
|
|
|
69
66
|
import { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.mjs';
|
|
70
67
|
import { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.mjs';
|
|
71
68
|
import { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.mjs';
|
|
69
|
+
import { ParamsVmeLog } from './types/rpc/params-vme-log.mjs';
|
|
72
70
|
import { ResultDumpAccounts } from './types/rpc/result-dump-accounts.mjs';
|
|
71
|
+
import { RoundStateDetail } from './types/rpc/round-state-detail.mjs';
|
|
73
72
|
import { RpcBoolResult } from './types/rpc/rpc-bool-result.mjs';
|
|
74
|
-
import {
|
|
73
|
+
import { RpcCalculateSpentByForwardCoinResult } from './types/rpc/rpc-calculate-spent-by-forward-coin-result.mjs';
|
|
75
74
|
import { RpcCreateAccountResult } from './types/rpc/rpc-create-account-result.mjs';
|
|
76
75
|
import { RpcCreateNodeResult } from './types/rpc/rpc-create-node-result.mjs';
|
|
77
76
|
import { RpcCreateTxResult } from './types/rpc/rpc-create-tx-result.mjs';
|
|
@@ -86,7 +85,6 @@ import { RpcGetAccountTokenListResult } from './types/rpc/rpc-get-account-token-
|
|
|
86
85
|
import { RpcGetAccountsBalancesResult } from './types/rpc/rpc-get-accounts-balances-result.mjs';
|
|
87
86
|
import { RpcGetAccountsHeightsResult } from './types/rpc/rpc-get-accounts-heights-result.mjs';
|
|
88
87
|
import { RpcGetConciseNodeStatusResult } from './types/rpc/rpc-get-concise-node-status-result.mjs';
|
|
89
|
-
import { RpcGetContractLogResult } from './types/rpc/rpc-get-contract-log-result.mjs';
|
|
90
88
|
import { RpcGetGenesisAccountResult } from './types/rpc/rpc-get-genesis-account-result.mjs';
|
|
91
89
|
import { RpcGetGuestsInfoResult } from './types/rpc/rpc-get-guests-info-result.mjs';
|
|
92
90
|
import { RpcGetHomeShardResult } from './types/rpc/rpc-get-home-shard-result.mjs';
|
|
@@ -100,6 +98,7 @@ import { RpcGetNodeStatusResult } from './types/rpc/rpc-get-node-status-result.m
|
|
|
100
98
|
import { RpcGetShardOfAccountResult } from './types/rpc/rpc-get-shard-of-account-result.mjs';
|
|
101
99
|
import { RpcGetSyncStateResult } from './types/rpc/rpc-get-sync-state-result.mjs';
|
|
102
100
|
import { RpcGetTxResult } from './types/rpc/rpc-get-tx-result.mjs';
|
|
101
|
+
import { RpcGetVmeLogResult } from './types/rpc/rpc-get-vme-log-result.mjs';
|
|
103
102
|
import { RpcGetWorldRoundStateResult } from './types/rpc/rpc-get-world-round-state-result.mjs';
|
|
104
103
|
import { RpcGetWorldRoundStatesListResult } from './types/rpc/rpc-get-world-round-states-list-result.mjs';
|
|
105
104
|
import { RpcHasSystemTokenResult } from './types/rpc/rpc-has-system-token-result.mjs';
|
|
@@ -113,15 +112,14 @@ import { RpcSetImportAccountTxResult } from './types/rpc/rpc-set-import-account-
|
|
|
113
112
|
import { RpcSubscribeAddressResult } from './types/rpc/rpc-subscribe-address-result.mjs';
|
|
114
113
|
import { RpcVerifyAndSignChallengeResult } from './types/rpc/rpc-verify-and-sign-challenge-result.mjs';
|
|
115
114
|
import { RpcVerifyIdentityProofResult } from './types/rpc/rpc-verify-identity-proof-result.mjs';
|
|
116
|
-
import {
|
|
115
|
+
import { RpcViewVmeResult } from './types/rpc/rpc-view-vme-result.mjs';
|
|
117
116
|
import { UploadHeightsResult } from './types/rpc/upload-heights-result.mjs';
|
|
118
117
|
export interface RpcApiSpec {
|
|
119
118
|
debug_allHeights(): Promise<RpcAccountHeight[]>;
|
|
120
119
|
debug_balanceGrantList(): Promise<string[]>;
|
|
121
120
|
debug_balanceList(): Promise<string[]>;
|
|
122
|
-
|
|
121
|
+
debug_callVme(param: ParamsCallVme): Promise<RpcCreateTxResult>;
|
|
123
122
|
debug_createAccount(): Promise<RpcCreateAccountResult>;
|
|
124
|
-
debug_createContract(param: ParamsCreateContract): Promise<RpcCreateTxResult>;
|
|
125
123
|
debug_createNode(param: ParamsCreateNode): Promise<RpcCreateNodeResult>;
|
|
126
124
|
debug_createSynthAccount(param: ParamsCreateSynthAccount): Promise<RpcCreateTxResult>;
|
|
127
125
|
debug_dumpAllAccounts(): Promise<ResultDumpAccounts>;
|
|
@@ -129,7 +127,6 @@ export interface RpcApiSpec {
|
|
|
129
127
|
debug_gameChainCmd(param: ParamsGameChainCmd): Promise<RpcGameChainCmdResult>;
|
|
130
128
|
debug_getAccountsBalances(param: ParamsAccounts): Promise<RpcGetAccountsBalancesResult>;
|
|
131
129
|
debug_getAccountsHeights(param: ParamsAccounts): Promise<RpcGetAccountsHeightsResult>;
|
|
132
|
-
debug_getContractLog(param: ParamsContractLog): Promise<RpcGetContractLogResult>;
|
|
133
130
|
debug_getGuestsInfo(): Promise<RpcGetGuestsInfoResult>;
|
|
134
131
|
debug_getHomeShard(param: ParamsGetHomeShard): Promise<RpcGetHomeShardResult>;
|
|
135
132
|
debug_getImportAccount(params: ParamsGetImportAccount): Promise<RpcGetImportAccountResult>;
|
|
@@ -138,6 +135,7 @@ export interface RpcApiSpec {
|
|
|
138
135
|
debug_getNodeBlocks(): Promise<RpcGetNodeBlocksResult>;
|
|
139
136
|
debug_getPeerPool(): Promise<string[]>;
|
|
140
137
|
debug_getPeersInfo(): Promise<GetPeersInfo>;
|
|
138
|
+
debug_getVmeLog(param: ParamsVmeLog): Promise<RpcGetVmeLogResult>;
|
|
141
139
|
debug_importAccount(params: ParamsImportAccount): Promise<RpcImportAccountResult>;
|
|
142
140
|
debug_initReliableNodes(param: ParamsInitReliableNodes): Promise<RpcBoolResult>;
|
|
143
141
|
debug_noArgsRets(): Promise<any>;
|
|
@@ -148,13 +146,13 @@ export interface RpcApiSpec {
|
|
|
148
146
|
debug_sendRawTransaction(params: ParamsSendRawTransaction): Promise<RpcSendRawTransactionResult>;
|
|
149
147
|
debug_setImportAccountTx(params: ParamsSetImportAccountTx): Promise<RpcSetImportAccountTxResult>;
|
|
150
148
|
debug_setReliableNode(param: ParamsSetReliableNode): Promise<RpcBoolResult>;
|
|
151
|
-
|
|
149
|
+
debug_viewVme(param: ParamsCallVme): Promise<RpcViewVmeResult>;
|
|
152
150
|
locus_acceptScript(params: ParamsAcceptScript): Promise<RpcCreateTxResult>;
|
|
153
151
|
locus_accountHeightsToDownload(param: ParamsAccountHeights): Promise<HeightsResult>;
|
|
154
152
|
locus_accountHeightsToUpload(param: ParamsAccountHeights): Promise<UploadHeightsResult>;
|
|
155
153
|
locus_becomeGuest(param: ParamsBecomeGuest): Promise<RpcCreateTxResult>;
|
|
156
154
|
locus_becomeHost(param: ParamsBecomeHost): Promise<RpcCreateTxResult>;
|
|
157
|
-
|
|
155
|
+
locus_calculateSpentByForwardCoin(param: ParamsCalculateSpentByForwardCoin): Promise<RpcCalculateSpentByForwardCoinResult>;
|
|
158
156
|
locus_changeKey(params: ParamsChangeKey): Promise<RpcCreateTxResult>;
|
|
159
157
|
locus_changeVkey(params: ParamsChangeVKey): Promise<RpcCreateTxResult>;
|
|
160
158
|
locus_clientMessage(param: ParamStr): Promise<any>;
|
|
@@ -165,6 +163,7 @@ export interface RpcApiSpec {
|
|
|
165
163
|
locus_downloadAccountTxs(param: ParamsDownloadAccountTxs): Promise<OutputDownloadAccountTxs>;
|
|
166
164
|
locus_echo(str: string): Promise<string>;
|
|
167
165
|
locus_findDuplicateSubscriber(params: ParamsFindDuplicateSubscriber): Promise<RpcFindDuplicateSubscriberResult>;
|
|
166
|
+
locus_forwardCoin(param: ParamsForwardCoin): Promise<RpcCreateTxResult>;
|
|
168
167
|
locus_freezeAccount(params: ParamsFreezeAccount): Promise<RpcCreateTxResult>;
|
|
169
168
|
locus_generateLatestStoredDataProof(params: ParamsGenerateLatestStoredDataProof): Promise<RpcGenerateLatestStoredDataProofResult>;
|
|
170
169
|
locus_getAccountAssetList(params: ParamsGetAssetList): Promise<RpcGetAccountAssetListResult>;
|
|
@@ -199,7 +198,6 @@ export interface RpcApiSpec {
|
|
|
199
198
|
locus_subscribeAddress(params: ParamsSubscribeAddress): Promise<RpcSubscribeAddressResult>;
|
|
200
199
|
locus_transferAssetObject(params: ParamsTransferAssetObject): Promise<RpcCreateTxResult>;
|
|
201
200
|
locus_transferCoin(param: ParamsTransferCoin): Promise<RpcCreateTxResult>;
|
|
202
|
-
locus_transferCoinExpress(param: ParamsTransferCoinExpress): Promise<RpcCreateTxResult>;
|
|
203
201
|
locus_transferToken(params: ParamsTransferTokens): Promise<RpcCreateTxResult>;
|
|
204
202
|
locus_unlockStake(params: ParamsUnlockStake): Promise<RpcCreateTxResult>;
|
|
205
203
|
locus_uploadAccountTxs(param: ParamsUploadAccountTxs): Promise<number[]>;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export * from './addr-tx-proof.cjs';
|
|
2
2
|
export * from './asset-object.cjs';
|
|
3
|
+
export * from './asset-object-meta.cjs';
|
|
3
4
|
export * from './asset-object-transfer.cjs';
|
|
4
|
-
export * from './asset-proof-objects.cjs';
|
|
5
5
|
export * from './asset-transfer-info.cjs';
|
|
6
6
|
export * from './base-meta.cjs';
|
|
7
|
+
export * from './caller-key-proof.cjs';
|
|
7
8
|
export * from './contract-exec-status.cjs';
|
|
8
9
|
export * from './contract-transfer-info.cjs';
|
|
10
|
+
export * from './direct-call-request.cjs';
|
|
9
11
|
export * from './get-peers-info.cjs';
|
|
10
12
|
export * from './index-value-pair.cjs';
|
|
11
13
|
export * from './input-params-data-transfer.cjs';
|
|
12
14
|
export * from './key-bind-info.cjs';
|
|
15
|
+
export * from './merkle-proof-multi-meta.cjs';
|
|
13
16
|
export * from './mont-info.cjs';
|
|
14
17
|
export * from './object-amount.cjs';
|
|
15
18
|
export * from './object-amount-transfer.cjs';
|
|
@@ -20,9 +23,9 @@ export * from './params-token-value-pair.cjs';
|
|
|
20
23
|
export * from './public-height-chunk.cjs';
|
|
21
24
|
export * from './ref-tx-info.cjs';
|
|
22
25
|
export * from './ref-vtx.cjs';
|
|
26
|
+
export * from './res-changed-entry.cjs';
|
|
23
27
|
export * from './ret-type-base.cjs';
|
|
24
28
|
export * from './round-state-abstract.cjs';
|
|
25
|
-
export * from './round-state-detail.cjs';
|
|
26
29
|
export * from './rpc-account-height.cjs';
|
|
27
30
|
export * from './rpc-accounts-balances-result.cjs';
|
|
28
31
|
export * from './rpc-asset-list-values.cjs';
|
|
@@ -40,6 +43,7 @@ export * from './tx-key-nround.cjs';
|
|
|
40
43
|
export * from './tx-meta.cjs';
|
|
41
44
|
export * from './tx-no-signature.cjs';
|
|
42
45
|
export * from './tx-recv-set-meta.cjs';
|
|
46
|
+
export * from './tx-restore-res-hash-proof.cjs';
|
|
43
47
|
export * from './tx-sign-key.cjs';
|
|
44
48
|
export * from './tx-signature.cjs';
|
|
45
49
|
export * from './tx-vsignature.cjs';
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export * from './addr-tx-proof.mjs';
|
|
2
2
|
export * from './asset-object.mjs';
|
|
3
|
+
export * from './asset-object-meta.mjs';
|
|
3
4
|
export * from './asset-object-transfer.mjs';
|
|
4
|
-
export * from './asset-proof-objects.mjs';
|
|
5
5
|
export * from './asset-transfer-info.mjs';
|
|
6
6
|
export * from './base-meta.mjs';
|
|
7
|
+
export * from './caller-key-proof.mjs';
|
|
7
8
|
export * from './contract-exec-status.mjs';
|
|
8
9
|
export * from './contract-transfer-info.mjs';
|
|
10
|
+
export * from './direct-call-request.mjs';
|
|
9
11
|
export * from './get-peers-info.mjs';
|
|
10
12
|
export * from './index-value-pair.mjs';
|
|
11
13
|
export * from './input-params-data-transfer.mjs';
|
|
12
14
|
export * from './key-bind-info.mjs';
|
|
15
|
+
export * from './merkle-proof-multi-meta.mjs';
|
|
13
16
|
export * from './mont-info.mjs';
|
|
14
17
|
export * from './object-amount.mjs';
|
|
15
18
|
export * from './object-amount-transfer.mjs';
|
|
@@ -20,9 +23,9 @@ export * from './params-token-value-pair.mjs';
|
|
|
20
23
|
export * from './public-height-chunk.mjs';
|
|
21
24
|
export * from './ref-tx-info.mjs';
|
|
22
25
|
export * from './ref-vtx.mjs';
|
|
26
|
+
export * from './res-changed-entry.mjs';
|
|
23
27
|
export * from './ret-type-base.mjs';
|
|
24
28
|
export * from './round-state-abstract.mjs';
|
|
25
|
-
export * from './round-state-detail.mjs';
|
|
26
29
|
export * from './rpc-account-height.mjs';
|
|
27
30
|
export * from './rpc-accounts-balances-result.mjs';
|
|
28
31
|
export * from './rpc-asset-list-values.mjs';
|
|
@@ -40,6 +43,7 @@ export * from './tx-key-nround.mjs';
|
|
|
40
43
|
export * from './tx-meta.mjs';
|
|
41
44
|
export * from './tx-no-signature.mjs';
|
|
42
45
|
export * from './tx-recv-set-meta.mjs';
|
|
46
|
+
export * from './tx-restore-res-hash-proof.mjs';
|
|
43
47
|
export * from './tx-sign-key.mjs';
|
|
44
48
|
export * from './tx-signature.mjs';
|
|
45
49
|
export * from './tx-vsignature.mjs';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ResChangedEntry } from './res-changed-entry.cjs';
|
|
1
2
|
import { VmReward } from './vm-reward.cjs';
|
|
2
3
|
import { VmeBlockMeta } from './vme-block-meta.cjs';
|
|
3
4
|
export type VmEngineBlock = {
|
|
@@ -6,6 +7,11 @@ export type VmEngineBlock = {
|
|
|
6
7
|
rootHash: string;
|
|
7
8
|
vmRound: number;
|
|
8
9
|
cstateRound: number;
|
|
10
|
+
balance: string;
|
|
11
|
+
resStateRoot: string;
|
|
12
|
+
resChangedEntries: ResChangedEntry[];
|
|
13
|
+
resStateProof: string;
|
|
9
14
|
rewards: VmReward[];
|
|
10
15
|
prevVmRound: number;
|
|
16
|
+
gathered: string;
|
|
11
17
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ResChangedEntry } from './res-changed-entry.mjs';
|
|
1
2
|
import { VmReward } from './vm-reward.mjs';
|
|
2
3
|
import { VmeBlockMeta } from './vme-block-meta.mjs';
|
|
3
4
|
export type VmEngineBlock = {
|
|
@@ -6,6 +7,11 @@ export type VmEngineBlock = {
|
|
|
6
7
|
rootHash: string;
|
|
7
8
|
vmRound: number;
|
|
8
9
|
cstateRound: number;
|
|
10
|
+
balance: string;
|
|
11
|
+
resStateRoot: string;
|
|
12
|
+
resChangedEntries: ResChangedEntry[];
|
|
13
|
+
resStateProof: string;
|
|
9
14
|
rewards: VmReward[];
|
|
10
15
|
prevVmRound: number;
|
|
16
|
+
gathered: string;
|
|
11
17
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from './asset-transfer-info.cjs';
|
|
2
|
+
import { DirectCallRequest } from './direct-call-request.cjs';
|
|
2
3
|
import { IndexValuePair } from './index-value-pair.cjs';
|
|
3
4
|
import { RefTxInfo } from './ref-tx-info.cjs';
|
|
4
5
|
import { TransferInfo } from './transfer-info.cjs';
|
|
@@ -8,20 +9,17 @@ export type VmTxState = {
|
|
|
8
9
|
refLink: RefTxInfo;
|
|
9
10
|
refTxRound: number;
|
|
10
11
|
refTimeoutLimit: number;
|
|
12
|
+
directCall: DirectCallRequest;
|
|
11
13
|
tokenIdTable: string[];
|
|
12
14
|
vmRound: number;
|
|
13
|
-
height: number;
|
|
14
|
-
vmstateHash: string;
|
|
15
|
-
balance: string;
|
|
16
|
-
tokenBalances: IndexValuePair[];
|
|
17
15
|
newTokens: IndexValuePair[];
|
|
18
16
|
transfers: TransferInfo[];
|
|
19
|
-
|
|
20
|
-
assetTransfer: AssetObjectTransfer;
|
|
17
|
+
assetTransfer: AssetTransferInfo[];
|
|
21
18
|
retFuel: string;
|
|
22
19
|
retAmount: string;
|
|
23
20
|
retTokens: IndexValuePair[];
|
|
24
21
|
result: string;
|
|
25
22
|
error: string;
|
|
23
|
+
subId: string;
|
|
26
24
|
execIndex: number;
|
|
27
25
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetTransferInfo } from './asset-transfer-info.mjs';
|
|
2
|
+
import { DirectCallRequest } from './direct-call-request.mjs';
|
|
2
3
|
import { IndexValuePair } from './index-value-pair.mjs';
|
|
3
4
|
import { RefTxInfo } from './ref-tx-info.mjs';
|
|
4
5
|
import { TransferInfo } from './transfer-info.mjs';
|
|
@@ -8,20 +9,17 @@ export type VmTxState = {
|
|
|
8
9
|
refLink: RefTxInfo;
|
|
9
10
|
refTxRound: number;
|
|
10
11
|
refTimeoutLimit: number;
|
|
12
|
+
directCall: DirectCallRequest;
|
|
11
13
|
tokenIdTable: string[];
|
|
12
14
|
vmRound: number;
|
|
13
|
-
height: number;
|
|
14
|
-
vmstateHash: string;
|
|
15
|
-
balance: string;
|
|
16
|
-
tokenBalances: IndexValuePair[];
|
|
17
15
|
newTokens: IndexValuePair[];
|
|
18
16
|
transfers: TransferInfo[];
|
|
19
|
-
|
|
20
|
-
assetTransfer: AssetObjectTransfer;
|
|
17
|
+
assetTransfer: AssetTransferInfo[];
|
|
21
18
|
retFuel: string;
|
|
22
19
|
retAmount: string;
|
|
23
20
|
retTokens: IndexValuePair[];
|
|
24
21
|
result: string;
|
|
25
22
|
error: string;
|
|
23
|
+
subId: string;
|
|
26
24
|
execIndex: number;
|
|
27
25
|
};
|