@locuschain/lib 0.2.3 → 0.2.5
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/callContract.d.cts +2 -2
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +2 -2
- 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 -0
- package/dist/autogen/actions/debug/wallet/index.d.mts +1 -0
- package/dist/autogen/actions/public/calculateSpentByForward.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForward.d.mts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +4 -0
- package/dist/autogen/actions/public/calculateSpentByForwardList.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 +2 -1
- package/dist/autogen/actions/public/index.d.mts +2 -1
- package/dist/autogen/actions/wallet/forwardAssetObject.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardAssetObject.d.mts +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/forwardToken.d.cts +4 -0
- package/dist/autogen/actions/wallet/forwardToken.d.mts +4 -0
- package/dist/autogen/actions/wallet/index.d.cts +5 -1
- package/dist/autogen/actions/wallet/index.d.mts +5 -1
- package/dist/autogen/actions/wallet/transfer.d.cts +4 -0
- package/dist/autogen/actions/wallet/transfer.d.mts +4 -0
- package/dist/autogen/actions/wallet/transferAllRes.d.cts +4 -0
- package/dist/autogen/actions/wallet/transferAllRes.d.mts +4 -0
- package/dist/autogen/debugPublicActions.d.cts +4 -4
- package/dist/autogen/debugPublicActions.d.mts +4 -4
- package/dist/autogen/debugWalletActions.d.cts +3 -2
- package/dist/autogen/debugWalletActions.d.mts +3 -2
- package/dist/autogen/index.amd.js +11 -5
- package/dist/autogen/index.cjs.cjs +11 -5
- package/dist/autogen/index.esm.js +5 -4
- package/dist/autogen/locus-tx.d.cts +2 -2
- package/dist/autogen/locus-tx.d.mts +2 -2
- package/dist/autogen/publicActions.d.cts +4 -2
- package/dist/autogen/publicActions.d.mts +4 -2
- package/dist/autogen/rpc-api-spec.d.cts +25 -13
- package/dist/autogen/rpc-api-spec.d.mts +25 -13
- 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/contract-exec-status.d.cts +2 -1
- package/dist/autogen/types/common/contract-exec-status.d.mts +2 -1
- 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/forward-spent-item.d.cts +9 -0
- package/dist/autogen/types/common/forward-spent-item.d.mts +9 -0
- package/dist/autogen/types/common/index.d.cts +9 -2
- package/dist/autogen/types/common/index.d.mts +9 -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/params-transfer-asset.d.cts +4 -0
- package/dist/autogen/types/common/params-transfer-asset.d.mts +4 -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 +6 -0
- package/dist/autogen/types/common/res-changed-entry.d.mts +6 -0
- package/dist/autogen/types/common/res-state-value.d.cts +5 -0
- package/dist/autogen/types/common/res-state-value.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 +16 -14
- package/dist/autogen/types/consts/tx-type.d.mts +16 -14
- package/dist/autogen/types/consts/tx-types.d.cts +59 -45
- package/dist/autogen/types/consts/tx-types.d.mts +59 -45
- package/dist/autogen/types/rpc/index.d.cts +14 -7
- package/dist/autogen/types/rpc/index.d.mts +14 -7
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +3 -0
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +3 -0
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.cts → params-calculate-spent-by-forward.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward.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-create-contract.d.cts +1 -0
- package/dist/autogen/types/rpc/params-create-contract.d.mts +1 -0
- package/dist/autogen/types/rpc/params-forward-asset-object.d.cts +7 -0
- package/dist/autogen/types/rpc/params-forward-asset-object.d.mts +7 -0
- 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-forward-token.d.cts +7 -0
- package/dist/autogen/types/rpc/params-forward-token.d.mts +7 -0
- 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-transfer-all-res.d.cts +14 -0
- package/dist/autogen/types/rpc/params-transfer-all-res.d.mts +14 -0
- package/dist/autogen/types/rpc/params-transfer-tokens.d.cts +0 -4
- package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +0 -4
- package/dist/autogen/types/rpc/params-transfer.d.cts +10 -0
- package/dist/autogen/types/rpc/params-transfer.d.mts +10 -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-list-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.cts +7 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.mts +7 -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 +16 -14
- package/dist/autogen/types/tx/index.d.mts +16 -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} +7 -4
- package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts} +7 -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} +7 -4
- package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts} +7 -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-call-vme.d.cts +18 -0
- package/dist/autogen/types/tx/tx-call-vme.d.mts +18 -0
- 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-create-contract.d.cts → tx-transfer-all-res.d.cts} +5 -7
- package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-transfer-all-res.d.mts} +5 -7
- 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 +10 -2
- package/dist/autogen/walletActions.d.mts +10 -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-B96f4kZc.js → debugWalletActions-A_93DKNp.js} +80 -22
- package/dist/chunks/{debugWalletActions-BfX1doiz.js → debugWalletActions-D3FUuxE6.js} +89 -25
- package/dist/chunks/{debugWalletActions-iCZ1H6xc.cjs → debugWalletActions-DTcup4BP.cjs} +89 -25
- package/dist/chunks/{tx-type-BPkhMGad.js → tx-type-BUN9nEQ6.js} +16 -14
- package/dist/chunks/{tx-type-CS4wIUJ8.js → tx-type-DYAaL3xz.js} +16 -14
- package/dist/chunks/{tx-type-DI_nKG8B.cjs → tx-type-khL8tWtn.cjs} +16 -14
- package/dist/clients/createLocusPublicClient.d.cts +4 -3
- package/dist/clients/createLocusPublicClient.d.mts +4 -3
- package/dist/clients/createLocusWalletClient.d.cts +7 -2
- package/dist/clients/createLocusWalletClient.d.mts +7 -2
- 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 +80 -66
- package/dist/constant/index.cjs.cjs +81 -67
- package/dist/constant/index.d.cts +81 -66
- package/dist/constant/index.d.mts +81 -66
- package/dist/constant/index.esm.js +81 -67
- 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/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/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
|
@@ -8,14 +8,18 @@ import type { ParamsCloseAccount } from './types/rpc/params-close-account.mjs';
|
|
|
8
8
|
import type { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.mjs';
|
|
9
9
|
import type { ParamsCreateToken } from './types/rpc/params-create-token.mjs';
|
|
10
10
|
import type { ParamsCreateVme } from './types/rpc/params-create-vme.mjs';
|
|
11
|
+
import type { ParamsForwardAssetObject } from './types/rpc/params-forward-asset-object.mjs';
|
|
12
|
+
import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.mjs';
|
|
13
|
+
import type { ParamsForwardToken } from './types/rpc/params-forward-token.mjs';
|
|
11
14
|
import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.mjs';
|
|
12
15
|
import type { ParamsLockStake } from './types/rpc/params-lock-stake.mjs';
|
|
13
16
|
import type { ParamsOpenAccount } from './types/rpc/params-open-account.mjs';
|
|
14
17
|
import type { ParamsProvideScript } from './types/rpc/params-provide-script.mjs';
|
|
15
18
|
import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.mjs';
|
|
19
|
+
import type { ParamsTransfer } from './types/rpc/params-transfer.mjs';
|
|
20
|
+
import type { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.mjs';
|
|
16
21
|
import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.mjs';
|
|
17
22
|
import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.mjs';
|
|
18
|
-
import type { ParamsTransferCoinExpress } from './types/rpc/params-transfer-coin-express.mjs';
|
|
19
23
|
import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.mjs';
|
|
20
24
|
import type { ParamsUnlockStake } from './types/rpc/params-unlock-stake.mjs';
|
|
21
25
|
import type { WalletClient } from '../clients/types.mjs';
|
|
@@ -29,15 +33,19 @@ export declare const walletActions: (client: WalletClient) => {
|
|
|
29
33
|
createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
30
34
|
createToken: (param: ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
31
35
|
createVme: (param: ParamsCreateVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
36
|
+
forwardAssetObject: (params: ParamsForwardAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
37
|
+
forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
38
|
+
forwardToken: (params: ParamsForwardToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
32
39
|
freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
33
40
|
lockStake: (params: ParamsLockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
34
41
|
openAccount: (param: ParamsOpenAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
35
42
|
postData: (params: InputParamsDataTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
36
43
|
provideScript: (params: ParamsProvideScript) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
37
44
|
requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.mjs").RpcDataTradeResult>;
|
|
45
|
+
transfer: (params: ParamsTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
46
|
+
transferAllRes: (params: ParamsTransferAllRes) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
38
47
|
transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
39
48
|
transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
40
|
-
transferCoinExpress: (param: ParamsTransferCoinExpress) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
41
49
|
transferToken: (params: ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
42
50
|
unlockStake: (params: ParamsUnlockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
43
51
|
};
|
|
Binary file
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
const AddressClass = Object.freeze({
|
|
3
3
|
User: 0,
|
|
4
4
|
Synthetic: 1,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
AssetToken: 8,
|
|
5
|
+
VmEngine: 2,
|
|
6
|
+
Derived: 3,
|
|
7
|
+
Token: 4,
|
|
8
|
+
Observer: 5,
|
|
9
|
+
AssetNFT: 6,
|
|
10
|
+
AssetToken: 7,
|
|
12
11
|
});
|
|
13
12
|
|
|
14
13
|
export { AddressClass as A };
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
const AddressClass = Object.freeze({
|
|
5
5
|
User: 0,
|
|
6
6
|
Synthetic: 1,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
AssetToken: 8,
|
|
7
|
+
VmEngine: 2,
|
|
8
|
+
Derived: 3,
|
|
9
|
+
Token: 4,
|
|
10
|
+
Observer: 5,
|
|
11
|
+
AssetNFT: 6,
|
|
12
|
+
AssetToken: 7,
|
|
14
13
|
});
|
|
15
14
|
|
|
16
15
|
exports.AddressClass = AddressClass;
|
|
@@ -4,13 +4,12 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
4
4
|
const AddressClass = Object.freeze({
|
|
5
5
|
User: 0,
|
|
6
6
|
Synthetic: 1,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
AssetToken: 8,
|
|
7
|
+
VmEngine: 2,
|
|
8
|
+
Derived: 3,
|
|
9
|
+
Token: 4,
|
|
10
|
+
Observer: 5,
|
|
11
|
+
AssetNFT: 6,
|
|
12
|
+
AssetToken: 7,
|
|
14
13
|
});
|
|
15
14
|
|
|
16
15
|
exports.AddressClass = AddressClass;
|
|
@@ -17,9 +17,16 @@ function accountHeightsToUpload(client, param) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
// Automatically generated file. DO NOT EDIT.
|
|
20
|
-
function
|
|
20
|
+
function calculateSpentByForward(client, param) {
|
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
return client.request({ method: '
|
|
22
|
+
return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Automatically generated file. DO NOT EDIT.
|
|
27
|
+
function calculateSpentByForwardList(client, param) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
|
|
23
30
|
});
|
|
24
31
|
}
|
|
25
32
|
|
|
@@ -272,7 +279,8 @@ function verifyTxListWitness(client, params) {
|
|
|
272
279
|
const publicActions = (client) => ({
|
|
273
280
|
accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
|
|
274
281
|
accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
|
|
275
|
-
|
|
282
|
+
calculateSpentByForward: (param) => calculateSpentByForward(client, param),
|
|
283
|
+
calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
|
|
276
284
|
clientMessage: (param) => clientMessage(client, param),
|
|
277
285
|
downloadAccountTxs: (param) => downloadAccountTxs(client, param),
|
|
278
286
|
echo: (str) => echo$1(client, str),
|
|
@@ -504,6 +512,33 @@ function createVme(client, param) {
|
|
|
504
512
|
});
|
|
505
513
|
}
|
|
506
514
|
|
|
515
|
+
// Automatically generated file. DO NOT EDIT.
|
|
516
|
+
function forwardAssetObject(client, params) {
|
|
517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_forwardAssetObject', params: [params] });
|
|
519
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
520
|
+
return _sendPreparedTransaction(client, signed);
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
// Automatically generated file. DO NOT EDIT.
|
|
525
|
+
function forwardCoin(client, param) {
|
|
526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
527
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_forwardCoin', params: [param] });
|
|
528
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
529
|
+
return _sendPreparedTransaction(client, signed);
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
// Automatically generated file. DO NOT EDIT.
|
|
534
|
+
function forwardToken(client, params) {
|
|
535
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
536
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_forwardToken', params: [params] });
|
|
537
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
538
|
+
return _sendPreparedTransaction(client, signed);
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
|
|
507
542
|
// Automatically generated file. DO NOT EDIT.
|
|
508
543
|
function freezeAccount(client, params) {
|
|
509
544
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -559,27 +594,36 @@ function requestDataTrade(client, params) {
|
|
|
559
594
|
}
|
|
560
595
|
|
|
561
596
|
// Automatically generated file. DO NOT EDIT.
|
|
562
|
-
function
|
|
597
|
+
function transfer(client, params) {
|
|
563
598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
564
|
-
const prepared = yield _prepareTransaction(client, { method: '
|
|
599
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
|
|
565
600
|
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
566
601
|
return _sendPreparedTransaction(client, signed);
|
|
567
602
|
});
|
|
568
603
|
}
|
|
569
604
|
|
|
570
605
|
// Automatically generated file. DO NOT EDIT.
|
|
571
|
-
function
|
|
606
|
+
function transferAllRes(client, params) {
|
|
572
607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
573
|
-
const prepared = yield _prepareTransaction(client, { method: '
|
|
608
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
|
|
574
609
|
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
575
610
|
return _sendPreparedTransaction(client, signed);
|
|
576
611
|
});
|
|
577
612
|
}
|
|
578
613
|
|
|
579
614
|
// Automatically generated file. DO NOT EDIT.
|
|
580
|
-
function
|
|
615
|
+
function transferAssetObject(client, params) {
|
|
581
616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
582
|
-
const prepared = yield _prepareTransaction(client, { method: '
|
|
617
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transferAssetObject', params: [params] });
|
|
618
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
619
|
+
return _sendPreparedTransaction(client, signed);
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
// Automatically generated file. DO NOT EDIT.
|
|
624
|
+
function transferCoin(client, param) {
|
|
625
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
626
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoin', params: [param] });
|
|
583
627
|
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
584
628
|
return _sendPreparedTransaction(client, signed);
|
|
585
629
|
});
|
|
@@ -614,15 +658,19 @@ const walletActions = (client) => ({
|
|
|
614
658
|
createAssetObject: (param) => createAssetObject(client, param),
|
|
615
659
|
createToken: (param) => createToken(client, param),
|
|
616
660
|
createVme: (param) => createVme(client, param),
|
|
661
|
+
forwardAssetObject: (params) => forwardAssetObject(client, params),
|
|
662
|
+
forwardCoin: (param) => forwardCoin(client, param),
|
|
663
|
+
forwardToken: (params) => forwardToken(client, params),
|
|
617
664
|
freezeAccount: (params) => freezeAccount(client, params),
|
|
618
665
|
lockStake: (params) => lockStake(client, params),
|
|
619
666
|
openAccount: (param) => openAccount(client, param),
|
|
620
667
|
postData: (params) => postData(client, params),
|
|
621
668
|
provideScript: (params) => provideScript(client, params),
|
|
622
669
|
requestDataTrade: (params) => requestDataTrade(client, params),
|
|
670
|
+
transfer: (params) => transfer(client, params),
|
|
671
|
+
transferAllRes: (params) => transferAllRes(client, params),
|
|
623
672
|
transferAssetObject: (params) => transferAssetObject(client, params),
|
|
624
673
|
transferCoin: (param) => transferCoin(client, param),
|
|
625
|
-
transferCoinExpress: (param) => transferCoinExpress(client, param),
|
|
626
674
|
transferToken: (params) => transferToken(client, params),
|
|
627
675
|
unlockStake: (params) => unlockStake(client, params),
|
|
628
676
|
});
|
|
@@ -697,13 +745,6 @@ function getAccountsHeights(client, param) {
|
|
|
697
745
|
});
|
|
698
746
|
}
|
|
699
747
|
|
|
700
|
-
// Automatically generated file. DO NOT EDIT.
|
|
701
|
-
function getContractLog(client, param) {
|
|
702
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
703
|
-
return client.request({ method: 'debug_getContractLog', params: [param] });
|
|
704
|
-
});
|
|
705
|
-
}
|
|
706
|
-
|
|
707
748
|
// Automatically generated file. DO NOT EDIT.
|
|
708
749
|
function getGuestsInfo(client) {
|
|
709
750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -760,6 +801,13 @@ function getPeersInfo(client) {
|
|
|
760
801
|
});
|
|
761
802
|
}
|
|
762
803
|
|
|
804
|
+
// Automatically generated file. DO NOT EDIT.
|
|
805
|
+
function getVmeLog(client, param) {
|
|
806
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
807
|
+
return client.request({ method: 'debug_getVmeLog', params: [param] });
|
|
808
|
+
});
|
|
809
|
+
}
|
|
810
|
+
|
|
763
811
|
// Automatically generated file. DO NOT EDIT.
|
|
764
812
|
function importAccount(client, params) {
|
|
765
813
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -824,9 +872,9 @@ function setReliableNode(client, param) {
|
|
|
824
872
|
}
|
|
825
873
|
|
|
826
874
|
// Automatically generated file. DO NOT EDIT.
|
|
827
|
-
function
|
|
875
|
+
function viewVme(client, param) {
|
|
828
876
|
return __awaiter(this, void 0, void 0, function* () {
|
|
829
|
-
return client.request({ method: '
|
|
877
|
+
return client.request({ method: 'debug_viewVme', params: [param] });
|
|
830
878
|
});
|
|
831
879
|
}
|
|
832
880
|
|
|
@@ -842,7 +890,6 @@ const debugPublicActions = (client) => ({
|
|
|
842
890
|
gameChainCmd: (param) => gameChainCmd(client, param),
|
|
843
891
|
getAccountsBalances: (param) => getAccountsBalances(client, param),
|
|
844
892
|
getAccountsHeights: (param) => getAccountsHeights(client, param),
|
|
845
|
-
getContractLog: (param) => getContractLog(client, param),
|
|
846
893
|
getGuestsInfo: () => getGuestsInfo(client),
|
|
847
894
|
getHomeShard: (param) => getHomeShard(client, param),
|
|
848
895
|
getImportAccount: (params) => getImportAccount(client, params),
|
|
@@ -851,6 +898,7 @@ const debugPublicActions = (client) => ({
|
|
|
851
898
|
getNodeBlocks: () => getNodeBlocks(client),
|
|
852
899
|
getPeerPool: () => getPeerPool(client),
|
|
853
900
|
getPeersInfo: () => getPeersInfo(client),
|
|
901
|
+
getVmeLog: (param) => getVmeLog(client, param),
|
|
854
902
|
importAccount: (params) => importAccount(client, params),
|
|
855
903
|
initReliableNodes: (param) => initReliableNodes(client, param),
|
|
856
904
|
noArgsRets: () => noArgsRets(client),
|
|
@@ -860,7 +908,7 @@ const debugPublicActions = (client) => ({
|
|
|
860
908
|
sendRawTransaction: (params) => sendRawTransaction(client, params),
|
|
861
909
|
setImportAccountTx: (params) => setImportAccountTx(client, params),
|
|
862
910
|
setReliableNode: (param) => setReliableNode(client, param),
|
|
863
|
-
|
|
911
|
+
viewVme: (param) => viewVme(client, param),
|
|
864
912
|
});
|
|
865
913
|
|
|
866
914
|
// Automatically generated file. DO NOT EDIT.
|
|
@@ -872,6 +920,15 @@ function callContract(client, param) {
|
|
|
872
920
|
});
|
|
873
921
|
}
|
|
874
922
|
|
|
923
|
+
// Automatically generated file. DO NOT EDIT.
|
|
924
|
+
function callVme(client, param) {
|
|
925
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
926
|
+
const prepared = yield _prepareTransaction(client, { method: 'debug_callVme', params: [param] });
|
|
927
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
928
|
+
return _sendPreparedTransaction(client, signed);
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
|
|
875
932
|
// Automatically generated file. DO NOT EDIT.
|
|
876
933
|
function createContract(client, param) {
|
|
877
934
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -902,9 +959,10 @@ function postDataToSynthAccount(client, param) {
|
|
|
902
959
|
// Automatically generated file. DO NOT EDIT.
|
|
903
960
|
const debugWalletActions = (client) => ({
|
|
904
961
|
callContract: (param) => callContract(client, param),
|
|
962
|
+
callVme: (param) => callVme(client, param),
|
|
905
963
|
createContract: (param) => createContract(client, param),
|
|
906
964
|
createSynthAccount: (param) => createSynthAccount(client, param),
|
|
907
965
|
postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
|
|
908
966
|
});
|
|
909
967
|
|
|
910
|
-
export {
|
|
968
|
+
export { forwardAssetObject as $, nodeCmd as A, postDataToSynthAccount as B, removeHoldTxs as C, requestVme as D, sendRawTransaction as E, setImportAccountTx as F, setReliableNode as G, viewVme as H, acceptScript as I, accountHeightsToDownload as J, accountHeightsToUpload as K, becomeGuest as L, becomeHost as M, calculateSpentByForward as N, calculateSpentByForwardList as O, changeKey as P, changeVkey as Q, clientMessage as R, closeAccount as S, createAssetObject as T, createToken as U, createVme as V, debugPublicActions as W, debugWalletActions as X, downloadAccountTxs as Y, echo$1 as Z, findDuplicateSubscriber as _, allHeights as a, forwardCoin as a0, forwardToken as a1, freezeAccount as a2, generateLatestStoredDataProof as a3, getAccountAssetList as a4, getAccountAssetObject as a5, getAccountDetail as a6, getAccountHistory as a7, getAccountTokenList as a8, getConciseNodeStatus as a9, transferAllRes as aA, transferAssetObject as aB, transferCoin as aC, transferToken as aD, unlockStake as aE, uploadAccountTxs as aF, verifyAndSignChallenge as aG, verifyIdentityProof as aH, verifyLatestStoredDataProof as aI, verifyTxListWitness as aJ, walletActions as aK, getGenesisAccount as aa, getIdentityProof as ab, getInactiveTxList as ac, getMontInfoList as ad, getNodeStatus as ae, getOwnerBalance as af, getRoundState as ag, getRoundStatesList as ah, getShardOfAccount as ai, getSyncState as aj, getTx as ak, getWorldRoundState as al, getWorldRoundStatesList as am, hasSystemToken as an, lockStake as ao, makeTxProof as ap, openAccount as aq, postData as ar, provideScript as as, publicActions as at, queryAddress as au, readTxListWitness as av, requestDataTrade as aw, setHost as ax, subscribeAddress as ay, transfer as az, balanceGrantList as b, balanceList as c, callContract as d, callVme as e, createAccount as f, createContract as g, createNode as h, createSynthAccount as i, dumpAllAccounts as j, echo as k, gameChainCmd as l, getAccountsBalances as m, getAccountsHeights as n, getGuestsInfo as o, getHomeShard as p, getImportAccount as q, getImportAccountLog as r, getKeys as s, getNodeBlocks as t, getPeerPool as u, getPeersInfo as v, getVmeLog as w, importAccount as x, initReliableNodes as y, noArgsRets as z };
|
|
@@ -15,9 +15,16 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// Automatically generated file. DO NOT EDIT.
|
|
18
|
-
function
|
|
18
|
+
function calculateSpentByForward(client, param) {
|
|
19
19
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
-
return client.request({ method: '
|
|
20
|
+
return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Automatically generated file. DO NOT EDIT.
|
|
25
|
+
function calculateSpentByForwardList(client, param) {
|
|
26
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
|
|
21
28
|
});
|
|
22
29
|
}
|
|
23
30
|
|
|
@@ -270,7 +277,8 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
270
277
|
const publicActions = (client) => ({
|
|
271
278
|
accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
|
|
272
279
|
accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
|
|
273
|
-
|
|
280
|
+
calculateSpentByForward: (param) => calculateSpentByForward(client, param),
|
|
281
|
+
calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
|
|
274
282
|
clientMessage: (param) => clientMessage(client, param),
|
|
275
283
|
downloadAccountTxs: (param) => downloadAccountTxs(client, param),
|
|
276
284
|
echo: (str) => echo$1(client, str),
|
|
@@ -502,6 +510,33 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
502
510
|
});
|
|
503
511
|
}
|
|
504
512
|
|
|
513
|
+
// Automatically generated file. DO NOT EDIT.
|
|
514
|
+
function forwardAssetObject(client, params) {
|
|
515
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
516
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_forwardAssetObject', params: [params] });
|
|
517
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
518
|
+
return _sendPreparedTransaction(client, signed);
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
// Automatically generated file. DO NOT EDIT.
|
|
523
|
+
function forwardCoin(client, param) {
|
|
524
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
525
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_forwardCoin', params: [param] });
|
|
526
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
527
|
+
return _sendPreparedTransaction(client, signed);
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
// Automatically generated file. DO NOT EDIT.
|
|
532
|
+
function forwardToken(client, params) {
|
|
533
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
534
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_forwardToken', params: [params] });
|
|
535
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
536
|
+
return _sendPreparedTransaction(client, signed);
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
|
|
505
540
|
// Automatically generated file. DO NOT EDIT.
|
|
506
541
|
function freezeAccount(client, params) {
|
|
507
542
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -557,27 +592,36 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
557
592
|
}
|
|
558
593
|
|
|
559
594
|
// Automatically generated file. DO NOT EDIT.
|
|
560
|
-
function
|
|
595
|
+
function transfer(client, params) {
|
|
561
596
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
562
|
-
const prepared = yield _prepareTransaction(client, { method: '
|
|
597
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
|
|
563
598
|
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
564
599
|
return _sendPreparedTransaction(client, signed);
|
|
565
600
|
});
|
|
566
601
|
}
|
|
567
602
|
|
|
568
603
|
// Automatically generated file. DO NOT EDIT.
|
|
569
|
-
function
|
|
604
|
+
function transferAllRes(client, params) {
|
|
570
605
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
571
|
-
const prepared = yield _prepareTransaction(client, { method: '
|
|
606
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
|
|
572
607
|
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
573
608
|
return _sendPreparedTransaction(client, signed);
|
|
574
609
|
});
|
|
575
610
|
}
|
|
576
611
|
|
|
577
612
|
// Automatically generated file. DO NOT EDIT.
|
|
578
|
-
function
|
|
613
|
+
function transferAssetObject(client, params) {
|
|
579
614
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
580
|
-
const prepared = yield _prepareTransaction(client, { method: '
|
|
615
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transferAssetObject', params: [params] });
|
|
616
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
617
|
+
return _sendPreparedTransaction(client, signed);
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
// Automatically generated file. DO NOT EDIT.
|
|
622
|
+
function transferCoin(client, param) {
|
|
623
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoin', params: [param] });
|
|
581
625
|
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
582
626
|
return _sendPreparedTransaction(client, signed);
|
|
583
627
|
});
|
|
@@ -612,15 +656,19 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
612
656
|
createAssetObject: (param) => createAssetObject(client, param),
|
|
613
657
|
createToken: (param) => createToken(client, param),
|
|
614
658
|
createVme: (param) => createVme(client, param),
|
|
659
|
+
forwardAssetObject: (params) => forwardAssetObject(client, params),
|
|
660
|
+
forwardCoin: (param) => forwardCoin(client, param),
|
|
661
|
+
forwardToken: (params) => forwardToken(client, params),
|
|
615
662
|
freezeAccount: (params) => freezeAccount(client, params),
|
|
616
663
|
lockStake: (params) => lockStake(client, params),
|
|
617
664
|
openAccount: (param) => openAccount(client, param),
|
|
618
665
|
postData: (params) => postData(client, params),
|
|
619
666
|
provideScript: (params) => provideScript(client, params),
|
|
620
667
|
requestDataTrade: (params) => requestDataTrade(client, params),
|
|
668
|
+
transfer: (params) => transfer(client, params),
|
|
669
|
+
transferAllRes: (params) => transferAllRes(client, params),
|
|
621
670
|
transferAssetObject: (params) => transferAssetObject(client, params),
|
|
622
671
|
transferCoin: (param) => transferCoin(client, param),
|
|
623
|
-
transferCoinExpress: (param) => transferCoinExpress(client, param),
|
|
624
672
|
transferToken: (params) => transferToken(client, params),
|
|
625
673
|
unlockStake: (params) => unlockStake(client, params),
|
|
626
674
|
});
|
|
@@ -695,13 +743,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
695
743
|
});
|
|
696
744
|
}
|
|
697
745
|
|
|
698
|
-
// Automatically generated file. DO NOT EDIT.
|
|
699
|
-
function getContractLog(client, param) {
|
|
700
|
-
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
701
|
-
return client.request({ method: 'debug_getContractLog', params: [param] });
|
|
702
|
-
});
|
|
703
|
-
}
|
|
704
|
-
|
|
705
746
|
// Automatically generated file. DO NOT EDIT.
|
|
706
747
|
function getGuestsInfo(client) {
|
|
707
748
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -758,6 +799,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
758
799
|
});
|
|
759
800
|
}
|
|
760
801
|
|
|
802
|
+
// Automatically generated file. DO NOT EDIT.
|
|
803
|
+
function getVmeLog(client, param) {
|
|
804
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
805
|
+
return client.request({ method: 'debug_getVmeLog', params: [param] });
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
|
|
761
809
|
// Automatically generated file. DO NOT EDIT.
|
|
762
810
|
function importAccount(client, params) {
|
|
763
811
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -822,9 +870,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
822
870
|
}
|
|
823
871
|
|
|
824
872
|
// Automatically generated file. DO NOT EDIT.
|
|
825
|
-
function
|
|
873
|
+
function viewVme(client, param) {
|
|
826
874
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
827
|
-
return client.request({ method: '
|
|
875
|
+
return client.request({ method: 'debug_viewVme', params: [param] });
|
|
828
876
|
});
|
|
829
877
|
}
|
|
830
878
|
|
|
@@ -840,7 +888,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
840
888
|
gameChainCmd: (param) => gameChainCmd(client, param),
|
|
841
889
|
getAccountsBalances: (param) => getAccountsBalances(client, param),
|
|
842
890
|
getAccountsHeights: (param) => getAccountsHeights(client, param),
|
|
843
|
-
getContractLog: (param) => getContractLog(client, param),
|
|
844
891
|
getGuestsInfo: () => getGuestsInfo(client),
|
|
845
892
|
getHomeShard: (param) => getHomeShard(client, param),
|
|
846
893
|
getImportAccount: (params) => getImportAccount(client, params),
|
|
@@ -849,6 +896,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
849
896
|
getNodeBlocks: () => getNodeBlocks(client),
|
|
850
897
|
getPeerPool: () => getPeerPool(client),
|
|
851
898
|
getPeersInfo: () => getPeersInfo(client),
|
|
899
|
+
getVmeLog: (param) => getVmeLog(client, param),
|
|
852
900
|
importAccount: (params) => importAccount(client, params),
|
|
853
901
|
initReliableNodes: (param) => initReliableNodes(client, param),
|
|
854
902
|
noArgsRets: () => noArgsRets(client),
|
|
@@ -858,7 +906,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
858
906
|
sendRawTransaction: (params) => sendRawTransaction(client, params),
|
|
859
907
|
setImportAccountTx: (params) => setImportAccountTx(client, params),
|
|
860
908
|
setReliableNode: (param) => setReliableNode(client, param),
|
|
861
|
-
|
|
909
|
+
viewVme: (param) => viewVme(client, param),
|
|
862
910
|
});
|
|
863
911
|
|
|
864
912
|
// Automatically generated file. DO NOT EDIT.
|
|
@@ -870,6 +918,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
870
918
|
});
|
|
871
919
|
}
|
|
872
920
|
|
|
921
|
+
// Automatically generated file. DO NOT EDIT.
|
|
922
|
+
function callVme(client, param) {
|
|
923
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
924
|
+
const prepared = yield _prepareTransaction(client, { method: 'debug_callVme', params: [param] });
|
|
925
|
+
const signed = yield _signLocusTransaction(client.account, prepared);
|
|
926
|
+
return _sendPreparedTransaction(client, signed);
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
|
|
873
930
|
// Automatically generated file. DO NOT EDIT.
|
|
874
931
|
function createContract(client, param) {
|
|
875
932
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -900,6 +957,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
900
957
|
// Automatically generated file. DO NOT EDIT.
|
|
901
958
|
const debugWalletActions = (client) => ({
|
|
902
959
|
callContract: (param) => callContract(client, param),
|
|
960
|
+
callVme: (param) => callVme(client, param),
|
|
903
961
|
createContract: (param) => createContract(client, param),
|
|
904
962
|
createSynthAccount: (param) => createSynthAccount(client, param),
|
|
905
963
|
postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
|
|
@@ -913,8 +971,10 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
913
971
|
exports.balanceList = balanceList;
|
|
914
972
|
exports.becomeGuest = becomeGuest;
|
|
915
973
|
exports.becomeHost = becomeHost;
|
|
916
|
-
exports.
|
|
974
|
+
exports.calculateSpentByForward = calculateSpentByForward;
|
|
975
|
+
exports.calculateSpentByForwardList = calculateSpentByForwardList;
|
|
917
976
|
exports.callContract = callContract;
|
|
977
|
+
exports.callVme = callVme;
|
|
918
978
|
exports.changeKey = changeKey;
|
|
919
979
|
exports.changeVkey = changeVkey;
|
|
920
980
|
exports.clientMessage = clientMessage;
|
|
@@ -933,6 +993,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
933
993
|
exports.echo = echo;
|
|
934
994
|
exports.echo$1 = echo$1;
|
|
935
995
|
exports.findDuplicateSubscriber = findDuplicateSubscriber;
|
|
996
|
+
exports.forwardAssetObject = forwardAssetObject;
|
|
997
|
+
exports.forwardCoin = forwardCoin;
|
|
998
|
+
exports.forwardToken = forwardToken;
|
|
936
999
|
exports.freezeAccount = freezeAccount;
|
|
937
1000
|
exports.gameChainCmd = gameChainCmd;
|
|
938
1001
|
exports.generateLatestStoredDataProof = generateLatestStoredDataProof;
|
|
@@ -944,7 +1007,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
944
1007
|
exports.getAccountsBalances = getAccountsBalances;
|
|
945
1008
|
exports.getAccountsHeights = getAccountsHeights;
|
|
946
1009
|
exports.getConciseNodeStatus = getConciseNodeStatus;
|
|
947
|
-
exports.getContractLog = getContractLog;
|
|
948
1010
|
exports.getGenesisAccount = getGenesisAccount;
|
|
949
1011
|
exports.getGuestsInfo = getGuestsInfo;
|
|
950
1012
|
exports.getHomeShard = getHomeShard;
|
|
@@ -964,6 +1026,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
964
1026
|
exports.getShardOfAccount = getShardOfAccount;
|
|
965
1027
|
exports.getSyncState = getSyncState;
|
|
966
1028
|
exports.getTx = getTx;
|
|
1029
|
+
exports.getVmeLog = getVmeLog;
|
|
967
1030
|
exports.getWorldRoundState = getWorldRoundState;
|
|
968
1031
|
exports.getWorldRoundStatesList = getWorldRoundStatesList;
|
|
969
1032
|
exports.hasSystemToken = hasSystemToken;
|
|
@@ -988,9 +1051,10 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
988
1051
|
exports.setImportAccountTx = setImportAccountTx;
|
|
989
1052
|
exports.setReliableNode = setReliableNode;
|
|
990
1053
|
exports.subscribeAddress = subscribeAddress;
|
|
1054
|
+
exports.transfer = transfer;
|
|
1055
|
+
exports.transferAllRes = transferAllRes;
|
|
991
1056
|
exports.transferAssetObject = transferAssetObject;
|
|
992
1057
|
exports.transferCoin = transferCoin;
|
|
993
|
-
exports.transferCoinExpress = transferCoinExpress;
|
|
994
1058
|
exports.transferToken = transferToken;
|
|
995
1059
|
exports.unlockStake = unlockStake;
|
|
996
1060
|
exports.uploadAccountTxs = uploadAccountTxs;
|
|
@@ -998,7 +1062,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
998
1062
|
exports.verifyIdentityProof = verifyIdentityProof;
|
|
999
1063
|
exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
|
|
1000
1064
|
exports.verifyTxListWitness = verifyTxListWitness;
|
|
1001
|
-
exports.
|
|
1065
|
+
exports.viewVme = viewVme;
|
|
1002
1066
|
exports.walletActions = walletActions;
|
|
1003
1067
|
|
|
1004
1068
|
}));
|