@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/tx-type-
|
|
1
|
+
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/tx-type-CnfCIc5p', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/wasm-CkFW222S', '../chunks/lclib-Bv86gksL'], (function (exports, tslib_es6, txType, base, account, wasm, lclib) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 메인 서명을 master 키로 생성하는 TX 타입 집합 (signByMasterKey WASM 호출).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
4
|
-
var txType = require('../chunks/tx-type-
|
|
4
|
+
var txType = require('../chunks/tx-type-CjORX0H2.cjs');
|
|
5
5
|
var base = require('../chunks/base-Cy5SSYLF.cjs');
|
|
6
6
|
var account = require('../chunks/account-BAsiKnSL.cjs');
|
|
7
7
|
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as __awaiter } from '../chunks/tslib.es6-WQS2tr1v.js';
|
|
2
|
-
import { T as TxType } from '../chunks/tx-type-
|
|
2
|
+
import { T as TxType } from '../chunks/tx-type-D_IH9tdK.js';
|
|
3
3
|
import { B as BaseError } from '../chunks/base-BQXfRsuw.js';
|
|
4
4
|
import { a as SignKeyBindUnsupportedError, S as SignFailedError, D as DegenerateKeyError } from '../chunks/account-FZT9LH_s.js';
|
|
5
5
|
import { O as signKeyBind, N as signByMasterKey, M as sign, z as deriveKeysFromMnemonicAndPath, y as deriveKeysFromMnemonic } from '../chunks/wasm-CLXJDrJA.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsVmeLog } from '../../../types/rpc/params-vme-log.cjs';
|
|
2
|
+
import { RpcGetVmeLogResult } from '../../../types/rpc/rpc-get-vme-log-result.cjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.cjs';
|
|
4
|
+
export declare function getVmeLog(client: Client, param: ParamsVmeLog): Promise<RpcGetVmeLogResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsVmeLog } from '../../../types/rpc/params-vme-log.mjs';
|
|
2
|
+
import { RpcGetVmeLogResult } from '../../../types/rpc/rpc-get-vme-log-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getVmeLog(client: Client, param: ParamsVmeLog): Promise<RpcGetVmeLogResult>;
|
|
@@ -8,7 +8,6 @@ export * from './echo.cjs';
|
|
|
8
8
|
export * from './gameChainCmd.cjs';
|
|
9
9
|
export * from './getAccountsBalances.cjs';
|
|
10
10
|
export * from './getAccountsHeights.cjs';
|
|
11
|
-
export * from './getContractLog.cjs';
|
|
12
11
|
export * from './getGuestsInfo.cjs';
|
|
13
12
|
export * from './getHomeShard.cjs';
|
|
14
13
|
export * from './getImportAccount.cjs';
|
|
@@ -17,6 +16,7 @@ export * from './getKeys.cjs';
|
|
|
17
16
|
export * from './getNodeBlocks.cjs';
|
|
18
17
|
export * from './getPeerPool.cjs';
|
|
19
18
|
export * from './getPeersInfo.cjs';
|
|
19
|
+
export * from './getVmeLog.cjs';
|
|
20
20
|
export * from './importAccount.cjs';
|
|
21
21
|
export * from './initReliableNodes.cjs';
|
|
22
22
|
export * from './noArgsRets.cjs';
|
|
@@ -26,4 +26,4 @@ export * from './requestVme.cjs';
|
|
|
26
26
|
export * from './sendRawTransaction.cjs';
|
|
27
27
|
export * from './setImportAccountTx.cjs';
|
|
28
28
|
export * from './setReliableNode.cjs';
|
|
29
|
-
export * from './
|
|
29
|
+
export * from './viewVme.cjs';
|
|
@@ -8,7 +8,6 @@ export * from './echo.mjs';
|
|
|
8
8
|
export * from './gameChainCmd.mjs';
|
|
9
9
|
export * from './getAccountsBalances.mjs';
|
|
10
10
|
export * from './getAccountsHeights.mjs';
|
|
11
|
-
export * from './getContractLog.mjs';
|
|
12
11
|
export * from './getGuestsInfo.mjs';
|
|
13
12
|
export * from './getHomeShard.mjs';
|
|
14
13
|
export * from './getImportAccount.mjs';
|
|
@@ -17,6 +16,7 @@ export * from './getKeys.mjs';
|
|
|
17
16
|
export * from './getNodeBlocks.mjs';
|
|
18
17
|
export * from './getPeerPool.mjs';
|
|
19
18
|
export * from './getPeersInfo.mjs';
|
|
19
|
+
export * from './getVmeLog.mjs';
|
|
20
20
|
export * from './importAccount.mjs';
|
|
21
21
|
export * from './initReliableNodes.mjs';
|
|
22
22
|
export * from './noArgsRets.mjs';
|
|
@@ -26,4 +26,4 @@ export * from './requestVme.mjs';
|
|
|
26
26
|
export * from './sendRawTransaction.mjs';
|
|
27
27
|
export * from './setImportAccountTx.mjs';
|
|
28
28
|
export * from './setReliableNode.mjs';
|
|
29
|
-
export * from './
|
|
29
|
+
export * from './viewVme.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCallVme } from '../../../types/rpc/params-call-vme.cjs';
|
|
2
|
+
import { RpcViewVmeResult } from '../../../types/rpc/rpc-view-vme-result.cjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.cjs';
|
|
4
|
+
export declare function viewVme(client: Client, param: ParamsCallVme): Promise<RpcViewVmeResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCallVme } from '../../../types/rpc/params-call-vme.mjs';
|
|
2
|
+
import { RpcViewVmeResult } from '../../../types/rpc/rpc-view-vme-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function viewVme(client: Client, param: ParamsCallVme): Promise<RpcViewVmeResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCallVme } from '../../../types/rpc/params-call-vme.cjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../../types/rpc/rpc-create-tx-result.cjs';
|
|
3
|
+
import type { WalletClient } from '../../../../clients/types.cjs';
|
|
4
|
+
export declare function callVme(client: WalletClient, param: ParamsCallVme): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCallVme } from '../../../types/rpc/params-call-vme.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function callVme(client: WalletClient, param: ParamsCallVme): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCalculateSpentByForwardCoin } from '../../types/rpc/params-calculate-spent-by-forward-coin.cjs';
|
|
2
|
+
import { RpcCalculateSpentByForwardCoinResult } from '../../types/rpc/rpc-calculate-spent-by-forward-coin-result.cjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.cjs';
|
|
4
|
+
export declare function calculateSpentByForwardCoin(client: Client, param: ParamsCalculateSpentByForwardCoin): Promise<RpcCalculateSpentByForwardCoinResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCalculateSpentByForwardCoin } from '../../types/rpc/params-calculate-spent-by-forward-coin.mjs';
|
|
2
|
+
import { RpcCalculateSpentByForwardCoinResult } from '../../types/rpc/rpc-calculate-spent-by-forward-coin-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function calculateSpentByForwardCoin(client: Client, param: ParamsCalculateSpentByForwardCoin): Promise<RpcCalculateSpentByForwardCoinResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ParamsRound } from '../../types/rpc/params-round.cjs';
|
|
2
|
-
import { RoundStateDetail } from '../../types/
|
|
2
|
+
import { RoundStateDetail } from '../../types/rpc/round-state-detail.cjs';
|
|
3
3
|
import type { Client } from '../../../clients/types.cjs';
|
|
4
4
|
export declare function getRoundState(client: Client, param: ParamsRound): Promise<RoundStateDetail>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ParamsRound } from '../../types/rpc/params-round.mjs';
|
|
2
|
-
import { RoundStateDetail } from '../../types/
|
|
2
|
+
import { RoundStateDetail } from '../../types/rpc/round-state-detail.mjs';
|
|
3
3
|
import type { Client } from '../../../clients/types.mjs';
|
|
4
4
|
export declare function getRoundState(client: Client, param: ParamsRound): Promise<RoundStateDetail>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './accountHeightsToDownload.cjs';
|
|
2
2
|
export * from './accountHeightsToUpload.cjs';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './calculateSpentByForwardCoin.cjs';
|
|
4
4
|
export * from './clientMessage.cjs';
|
|
5
5
|
export * from './downloadAccountTxs.cjs';
|
|
6
6
|
export * from './echo.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './accountHeightsToDownload.mjs';
|
|
2
2
|
export * from './accountHeightsToUpload.mjs';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './calculateSpentByForwardCoin.mjs';
|
|
4
4
|
export * from './clientMessage.mjs';
|
|
5
5
|
export * from './downloadAccountTxs.mjs';
|
|
6
6
|
export * from './echo.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsForwardCoin } from '../../types/rpc/params-forward-coin.cjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.cjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.cjs';
|
|
4
|
+
export declare function forwardCoin(client: WalletClient, param: ParamsForwardCoin): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsForwardCoin } from '../../types/rpc/params-forward-coin.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function forwardCoin(client: WalletClient, param: ParamsForwardCoin): Promise<RpcCreateTxResult>;
|
|
@@ -7,6 +7,7 @@ export * from './closeAccount.cjs';
|
|
|
7
7
|
export * from './createAssetObject.cjs';
|
|
8
8
|
export * from './createToken.cjs';
|
|
9
9
|
export * from './createVme.cjs';
|
|
10
|
+
export * from './forwardCoin.cjs';
|
|
10
11
|
export * from './freezeAccount.cjs';
|
|
11
12
|
export * from './lockStake.cjs';
|
|
12
13
|
export * from './openAccount.cjs';
|
|
@@ -15,6 +16,5 @@ export * from './provideScript.cjs';
|
|
|
15
16
|
export * from './requestDataTrade.cjs';
|
|
16
17
|
export * from './transferAssetObject.cjs';
|
|
17
18
|
export * from './transferCoin.cjs';
|
|
18
|
-
export * from './transferCoinExpress.cjs';
|
|
19
19
|
export * from './transferToken.cjs';
|
|
20
20
|
export * from './unlockStake.cjs';
|
|
@@ -7,6 +7,7 @@ export * from './closeAccount.mjs';
|
|
|
7
7
|
export * from './createAssetObject.mjs';
|
|
8
8
|
export * from './createToken.mjs';
|
|
9
9
|
export * from './createVme.mjs';
|
|
10
|
+
export * from './forwardCoin.mjs';
|
|
10
11
|
export * from './freezeAccount.mjs';
|
|
11
12
|
export * from './lockStake.mjs';
|
|
12
13
|
export * from './openAccount.mjs';
|
|
@@ -15,6 +16,5 @@ export * from './provideScript.mjs';
|
|
|
15
16
|
export * from './requestDataTrade.mjs';
|
|
16
17
|
export * from './transferAssetObject.mjs';
|
|
17
18
|
export * from './transferCoin.mjs';
|
|
18
|
-
export * from './transferCoinExpress.mjs';
|
|
19
19
|
export * from './transferToken.mjs';
|
|
20
20
|
export * from './unlockStake.mjs';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ParamsAccount } from './types/rpc/params-account.cjs';
|
|
2
2
|
import type { ParamsAccounts } from './types/rpc/params-accounts.cjs';
|
|
3
|
-
import type {
|
|
4
|
-
import type { ParamsContractLog } from './types/rpc/params-contract-log.cjs';
|
|
3
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
5
4
|
import type { ParamsCreateNode } from './types/rpc/params-create-node.cjs';
|
|
6
5
|
import type { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.cjs';
|
|
7
6
|
import type { ParamsGetHomeShard } from './types/rpc/params-get-home-shard.cjs';
|
|
@@ -13,6 +12,7 @@ import type { ParamsRequestVme } from './types/rpc/params-request-vme.cjs';
|
|
|
13
12
|
import type { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transaction.cjs';
|
|
14
13
|
import type { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.cjs';
|
|
15
14
|
import type { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.cjs';
|
|
15
|
+
import type { ParamsVmeLog } from './types/rpc/params-vme-log.cjs';
|
|
16
16
|
import type { Client } from '../clients/types.cjs';
|
|
17
17
|
export declare const debugPublicActions: (client: Client) => {
|
|
18
18
|
allHeights: () => Promise<import("../index.cjs").RpcAccountHeight[]>;
|
|
@@ -25,7 +25,6 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
25
25
|
gameChainCmd: (param: ParamsGameChainCmd) => Promise<import("../index.cjs").RpcGameChainCmdResult>;
|
|
26
26
|
getAccountsBalances: (param: ParamsAccounts) => Promise<import("../index.cjs").RpcGetAccountsBalancesResult>;
|
|
27
27
|
getAccountsHeights: (param: ParamsAccounts) => Promise<import("../index.cjs").RpcGetAccountsHeightsResult>;
|
|
28
|
-
getContractLog: (param: ParamsContractLog) => Promise<import("../index.cjs").RpcGetContractLogResult>;
|
|
29
28
|
getGuestsInfo: () => Promise<import("../index.cjs").RpcGetGuestsInfoResult>;
|
|
30
29
|
getHomeShard: (param: ParamsGetHomeShard) => Promise<import("../index.cjs").RpcGetHomeShardResult>;
|
|
31
30
|
getImportAccount: (params: ParamsGetImportAccount) => Promise<import("../index.cjs").RpcGetImportAccountResult>;
|
|
@@ -34,6 +33,7 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
34
33
|
getNodeBlocks: () => Promise<import("../index.cjs").RpcGetNodeBlocksResult>;
|
|
35
34
|
getPeerPool: () => Promise<string[]>;
|
|
36
35
|
getPeersInfo: () => Promise<import("../index.cjs").GetPeersInfo>;
|
|
36
|
+
getVmeLog: (param: ParamsVmeLog) => Promise<import("../index.cjs").RpcGetVmeLogResult>;
|
|
37
37
|
importAccount: (params: ParamsImportAccount) => Promise<import("../index.cjs").RpcImportAccountResult>;
|
|
38
38
|
initReliableNodes: (param: ParamsInitReliableNodes) => Promise<import("../index.cjs").RpcBoolResult>;
|
|
39
39
|
noArgsRets: () => Promise<any>;
|
|
@@ -43,5 +43,5 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
43
43
|
sendRawTransaction: (params: ParamsSendRawTransaction) => Promise<import("../index.cjs").RpcSendRawTransactionResult>;
|
|
44
44
|
setImportAccountTx: (params: ParamsSetImportAccountTx) => Promise<import("../index.cjs").RpcSetImportAccountTxResult>;
|
|
45
45
|
setReliableNode: (param: ParamsSetReliableNode) => Promise<import("../index.cjs").RpcBoolResult>;
|
|
46
|
-
|
|
46
|
+
viewVme: (param: ParamsCallVme) => Promise<import("../index.cjs").RpcViewVmeResult>;
|
|
47
47
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ParamsAccount } from './types/rpc/params-account.mjs';
|
|
2
2
|
import type { ParamsAccounts } from './types/rpc/params-accounts.mjs';
|
|
3
|
-
import type {
|
|
4
|
-
import type { ParamsContractLog } from './types/rpc/params-contract-log.mjs';
|
|
3
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
|
|
5
4
|
import type { ParamsCreateNode } from './types/rpc/params-create-node.mjs';
|
|
6
5
|
import type { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.mjs';
|
|
7
6
|
import type { ParamsGetHomeShard } from './types/rpc/params-get-home-shard.mjs';
|
|
@@ -13,6 +12,7 @@ import type { ParamsRequestVme } from './types/rpc/params-request-vme.mjs';
|
|
|
13
12
|
import type { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transaction.mjs';
|
|
14
13
|
import type { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.mjs';
|
|
15
14
|
import type { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.mjs';
|
|
15
|
+
import type { ParamsVmeLog } from './types/rpc/params-vme-log.mjs';
|
|
16
16
|
import type { Client } from '../clients/types.mjs';
|
|
17
17
|
export declare const debugPublicActions: (client: Client) => {
|
|
18
18
|
allHeights: () => Promise<import("../index.mjs").RpcAccountHeight[]>;
|
|
@@ -25,7 +25,6 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
25
25
|
gameChainCmd: (param: ParamsGameChainCmd) => Promise<import("../index.mjs").RpcGameChainCmdResult>;
|
|
26
26
|
getAccountsBalances: (param: ParamsAccounts) => Promise<import("../index.mjs").RpcGetAccountsBalancesResult>;
|
|
27
27
|
getAccountsHeights: (param: ParamsAccounts) => Promise<import("../index.mjs").RpcGetAccountsHeightsResult>;
|
|
28
|
-
getContractLog: (param: ParamsContractLog) => Promise<import("../index.mjs").RpcGetContractLogResult>;
|
|
29
28
|
getGuestsInfo: () => Promise<import("../index.mjs").RpcGetGuestsInfoResult>;
|
|
30
29
|
getHomeShard: (param: ParamsGetHomeShard) => Promise<import("../index.mjs").RpcGetHomeShardResult>;
|
|
31
30
|
getImportAccount: (params: ParamsGetImportAccount) => Promise<import("../index.mjs").RpcGetImportAccountResult>;
|
|
@@ -34,6 +33,7 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
34
33
|
getNodeBlocks: () => Promise<import("../index.mjs").RpcGetNodeBlocksResult>;
|
|
35
34
|
getPeerPool: () => Promise<string[]>;
|
|
36
35
|
getPeersInfo: () => Promise<import("../index.mjs").GetPeersInfo>;
|
|
36
|
+
getVmeLog: (param: ParamsVmeLog) => Promise<import("../index.mjs").RpcGetVmeLogResult>;
|
|
37
37
|
importAccount: (params: ParamsImportAccount) => Promise<import("../index.mjs").RpcImportAccountResult>;
|
|
38
38
|
initReliableNodes: (param: ParamsInitReliableNodes) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
39
39
|
noArgsRets: () => Promise<any>;
|
|
@@ -43,5 +43,5 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
43
43
|
sendRawTransaction: (params: ParamsSendRawTransaction) => Promise<import("../index.mjs").RpcSendRawTransactionResult>;
|
|
44
44
|
setImportAccountTx: (params: ParamsSetImportAccountTx) => Promise<import("../index.mjs").RpcSetImportAccountTxResult>;
|
|
45
45
|
setReliableNode: (param: ParamsSetReliableNode) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
46
|
-
|
|
46
|
+
viewVme: (param: ParamsCallVme) => Promise<import("../index.mjs").RpcViewVmeResult>;
|
|
47
47
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ParamsCreateContract } from './types/rpc/params-create-contract.cjs';
|
|
1
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
3
2
|
import type { ParamsCreateSynthAccount } from './types/rpc/params-create-synth-account.cjs';
|
|
4
3
|
import type { ParamsPostDataToSynthAccount } from './types/rpc/params-post-data-to-synth-account.cjs';
|
|
5
4
|
import type { WalletClient } from '../clients/types.cjs';
|
|
6
5
|
export declare const debugWalletActions: (client: WalletClient) => {
|
|
7
|
-
|
|
8
|
-
createContract: (param: ParamsCreateContract) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
6
|
+
callVme: (param: ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
9
7
|
createSynthAccount: (param: ParamsCreateSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
10
8
|
postDataToSynthAccount: (param: ParamsPostDataToSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
|
|
11
9
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ParamsCreateContract } from './types/rpc/params-create-contract.mjs';
|
|
1
|
+
import type { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
|
|
3
2
|
import type { ParamsCreateSynthAccount } from './types/rpc/params-create-synth-account.mjs';
|
|
4
3
|
import type { ParamsPostDataToSynthAccount } from './types/rpc/params-post-data-to-synth-account.mjs';
|
|
5
4
|
import type { WalletClient } from '../clients/types.mjs';
|
|
6
5
|
export declare const debugWalletActions: (client: WalletClient) => {
|
|
7
|
-
|
|
8
|
-
createContract: (param: ParamsCreateContract) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
6
|
+
callVme: (param: ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
9
7
|
createSynthAccount: (param: ParamsCreateSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
10
8
|
postDataToSynthAccount: (param: ParamsPostDataToSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
|
|
11
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-
|
|
1
|
+
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-Bd8C-fZB', '../chunks/lclib-Bv86gksL', '../chunks/tslib.es6-D29rxPkW', '../chunks/rpc-C4n7t9y0', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8'], (function (exports, wasm, debugWalletActions, lclib, tslib_es6, rpc, base, account) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// Automatically generated file. DO NOT EDIT.
|
|
4
4
|
|
|
@@ -7,9 +7,8 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
7
7
|
allHeights: debugWalletActions.allHeights,
|
|
8
8
|
balanceGrantList: debugWalletActions.balanceGrantList,
|
|
9
9
|
balanceList: debugWalletActions.balanceList,
|
|
10
|
-
|
|
10
|
+
callVme: debugWalletActions.callVme,
|
|
11
11
|
createAccount: debugWalletActions.createAccount,
|
|
12
|
-
createContract: debugWalletActions.createContract,
|
|
13
12
|
createNode: debugWalletActions.createNode,
|
|
14
13
|
createSynthAccount: debugWalletActions.createSynthAccount,
|
|
15
14
|
dumpAllAccounts: debugWalletActions.dumpAllAccounts,
|
|
@@ -17,7 +16,6 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
17
16
|
gameChainCmd: debugWalletActions.gameChainCmd,
|
|
18
17
|
getAccountsBalances: debugWalletActions.getAccountsBalances,
|
|
19
18
|
getAccountsHeights: debugWalletActions.getAccountsHeights,
|
|
20
|
-
getContractLog: debugWalletActions.getContractLog,
|
|
21
19
|
getGuestsInfo: debugWalletActions.getGuestsInfo,
|
|
22
20
|
getHomeShard: debugWalletActions.getHomeShard,
|
|
23
21
|
getImportAccount: debugWalletActions.getImportAccount,
|
|
@@ -26,6 +24,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
26
24
|
getNodeBlocks: debugWalletActions.getNodeBlocks,
|
|
27
25
|
getPeerPool: debugWalletActions.getPeerPool,
|
|
28
26
|
getPeersInfo: debugWalletActions.getPeersInfo,
|
|
27
|
+
getVmeLog: debugWalletActions.getVmeLog,
|
|
29
28
|
importAccount: debugWalletActions.importAccount,
|
|
30
29
|
initReliableNodes: debugWalletActions.initReliableNodes,
|
|
31
30
|
noArgsRets: debugWalletActions.noArgsRets,
|
|
@@ -36,7 +35,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
36
35
|
sendRawTransaction: debugWalletActions.sendRawTransaction,
|
|
37
36
|
setImportAccountTx: debugWalletActions.setImportAccountTx,
|
|
38
37
|
setReliableNode: debugWalletActions.setReliableNode,
|
|
39
|
-
|
|
38
|
+
viewVme: debugWalletActions.viewVme
|
|
40
39
|
});
|
|
41
40
|
|
|
42
41
|
exports.calculateTxLinkHash = wasm.calculateTxLinkHash;
|
|
@@ -90,7 +89,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
90
89
|
exports.accountHeightsToUpload = debugWalletActions.accountHeightsToUpload;
|
|
91
90
|
exports.becomeGuest = debugWalletActions.becomeGuest;
|
|
92
91
|
exports.becomeHost = debugWalletActions.becomeHost;
|
|
93
|
-
exports.
|
|
92
|
+
exports.calculateSpentByForwardCoin = debugWalletActions.calculateSpentByForwardCoin;
|
|
94
93
|
exports.changeKey = debugWalletActions.changeKey;
|
|
95
94
|
exports.changeVkey = debugWalletActions.changeVkey;
|
|
96
95
|
exports.clientMessage = debugWalletActions.clientMessage;
|
|
@@ -103,6 +102,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
103
102
|
exports.downloadAccountTxs = debugWalletActions.downloadAccountTxs;
|
|
104
103
|
exports.echo = debugWalletActions.echo$1;
|
|
105
104
|
exports.findDuplicateSubscriber = debugWalletActions.findDuplicateSubscriber;
|
|
105
|
+
exports.forwardCoin = debugWalletActions.forwardCoin;
|
|
106
106
|
exports.freezeAccount = debugWalletActions.freezeAccount;
|
|
107
107
|
exports.generateLatestStoredDataProof = debugWalletActions.generateLatestStoredDataProof;
|
|
108
108
|
exports.getAccountAssetList = debugWalletActions.getAccountAssetList;
|
|
@@ -138,7 +138,6 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BfX1
|
|
|
138
138
|
exports.subscribeAddress = debugWalletActions.subscribeAddress;
|
|
139
139
|
exports.transferAssetObject = debugWalletActions.transferAssetObject;
|
|
140
140
|
exports.transferCoin = debugWalletActions.transferCoin;
|
|
141
|
-
exports.transferCoinExpress = debugWalletActions.transferCoinExpress;
|
|
142
141
|
exports.transferToken = debugWalletActions.transferToken;
|
|
143
142
|
exports.unlockStake = debugWalletActions.unlockStake;
|
|
144
143
|
exports.uploadAccountTxs = debugWalletActions.uploadAccountTxs;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
4
|
-
var debugWalletActions = require('../chunks/debugWalletActions-
|
|
4
|
+
var debugWalletActions = require('../chunks/debugWalletActions-DIQY8cBm.cjs');
|
|
5
5
|
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
6
6
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
7
7
|
require('../chunks/rpc-DwWIkUva.cjs');
|
|
@@ -15,9 +15,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
15
15
|
allHeights: debugWalletActions.allHeights,
|
|
16
16
|
balanceGrantList: debugWalletActions.balanceGrantList,
|
|
17
17
|
balanceList: debugWalletActions.balanceList,
|
|
18
|
-
|
|
18
|
+
callVme: debugWalletActions.callVme,
|
|
19
19
|
createAccount: debugWalletActions.createAccount,
|
|
20
|
-
createContract: debugWalletActions.createContract,
|
|
21
20
|
createNode: debugWalletActions.createNode,
|
|
22
21
|
createSynthAccount: debugWalletActions.createSynthAccount,
|
|
23
22
|
dumpAllAccounts: debugWalletActions.dumpAllAccounts,
|
|
@@ -25,7 +24,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
25
24
|
gameChainCmd: debugWalletActions.gameChainCmd,
|
|
26
25
|
getAccountsBalances: debugWalletActions.getAccountsBalances,
|
|
27
26
|
getAccountsHeights: debugWalletActions.getAccountsHeights,
|
|
28
|
-
getContractLog: debugWalletActions.getContractLog,
|
|
29
27
|
getGuestsInfo: debugWalletActions.getGuestsInfo,
|
|
30
28
|
getHomeShard: debugWalletActions.getHomeShard,
|
|
31
29
|
getImportAccount: debugWalletActions.getImportAccount,
|
|
@@ -34,6 +32,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
34
32
|
getNodeBlocks: debugWalletActions.getNodeBlocks,
|
|
35
33
|
getPeerPool: debugWalletActions.getPeerPool,
|
|
36
34
|
getPeersInfo: debugWalletActions.getPeersInfo,
|
|
35
|
+
getVmeLog: debugWalletActions.getVmeLog,
|
|
37
36
|
importAccount: debugWalletActions.importAccount,
|
|
38
37
|
initReliableNodes: debugWalletActions.initReliableNodes,
|
|
39
38
|
noArgsRets: debugWalletActions.noArgsRets,
|
|
@@ -44,7 +43,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
44
43
|
sendRawTransaction: debugWalletActions.sendRawTransaction,
|
|
45
44
|
setImportAccountTx: debugWalletActions.setImportAccountTx,
|
|
46
45
|
setReliableNode: debugWalletActions.setReliableNode,
|
|
47
|
-
|
|
46
|
+
viewVme: debugWalletActions.viewVme
|
|
48
47
|
});
|
|
49
48
|
|
|
50
49
|
exports.calculateTxLinkHash = wasm.calculateTxLinkHash;
|
|
@@ -98,7 +97,7 @@ exports.accountHeightsToDownload = debugWalletActions.accountHeightsToDownload;
|
|
|
98
97
|
exports.accountHeightsToUpload = debugWalletActions.accountHeightsToUpload;
|
|
99
98
|
exports.becomeGuest = debugWalletActions.becomeGuest;
|
|
100
99
|
exports.becomeHost = debugWalletActions.becomeHost;
|
|
101
|
-
exports.
|
|
100
|
+
exports.calculateSpentByForwardCoin = debugWalletActions.calculateSpentByForwardCoin;
|
|
102
101
|
exports.changeKey = debugWalletActions.changeKey;
|
|
103
102
|
exports.changeVkey = debugWalletActions.changeVkey;
|
|
104
103
|
exports.clientMessage = debugWalletActions.clientMessage;
|
|
@@ -111,6 +110,7 @@ exports.debugWalletActions = debugWalletActions.debugWalletActions;
|
|
|
111
110
|
exports.downloadAccountTxs = debugWalletActions.downloadAccountTxs;
|
|
112
111
|
exports.echo = debugWalletActions.echo$1;
|
|
113
112
|
exports.findDuplicateSubscriber = debugWalletActions.findDuplicateSubscriber;
|
|
113
|
+
exports.forwardCoin = debugWalletActions.forwardCoin;
|
|
114
114
|
exports.freezeAccount = debugWalletActions.freezeAccount;
|
|
115
115
|
exports.generateLatestStoredDataProof = debugWalletActions.generateLatestStoredDataProof;
|
|
116
116
|
exports.getAccountAssetList = debugWalletActions.getAccountAssetList;
|
|
@@ -146,7 +146,6 @@ exports.setHost = debugWalletActions.setHost;
|
|
|
146
146
|
exports.subscribeAddress = debugWalletActions.subscribeAddress;
|
|
147
147
|
exports.transferAssetObject = debugWalletActions.transferAssetObject;
|
|
148
148
|
exports.transferCoin = debugWalletActions.transferCoin;
|
|
149
|
-
exports.transferCoinExpress = debugWalletActions.transferCoinExpress;
|
|
150
149
|
exports.transferToken = debugWalletActions.transferToken;
|
|
151
150
|
exports.unlockStake = debugWalletActions.unlockStake;
|
|
152
151
|
exports.uploadAccountTxs = debugWalletActions.uploadAccountTxs;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { b as calculateTxLinkHash, d as compileCoreScript, e as convertAddressToData, f as convertAddressToHex, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, n as convertDataToHex, o as convertDataToString, p as convertHexToAddress, q as convertHexToBase32, r as convertHexToData, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof, T as verifyTx } from '../chunks/wasm-CLXJDrJA.js';
|
|
2
|
-
import { a as allHeights, b as balanceGrantList, c as balanceList, d as
|
|
3
|
-
export {
|
|
2
|
+
import { a as allHeights, b as balanceGrantList, c as balanceList, d as callVme, e as createAccount, f as createNode, g as createSynthAccount, h as dumpAllAccounts, i as echo, j as gameChainCmd, k as getAccountsBalances, l as getAccountsHeights, m as getGuestsInfo, n as getHomeShard, o as getImportAccount, p as getImportAccountLog, q as getKeys, r as getNodeBlocks, s as getPeerPool, t as getPeersInfo, u as getVmeLog, v as importAccount, w as initReliableNodes, x as noArgsRets, y as nodeCmd, z as postDataToSynthAccount, A as removeHoldTxs, B as requestVme, C as sendRawTransaction, D as setImportAccountTx, E as setReliableNode, F as viewVme } from '../chunks/debugWalletActions-qkesE_0m.js';
|
|
3
|
+
export { G as acceptScript, H as accountHeightsToDownload, I as accountHeightsToUpload, J as becomeGuest, K as becomeHost, L as calculateSpentByForwardCoin, M as changeKey, N as changeVkey, O as clientMessage, P as closeAccount, Q as createAssetObject, R as createToken, S as createVme, T as debugPublicActions, U as debugWalletActions, V as downloadAccountTxs, W as echo, X as findDuplicateSubscriber, Y as forwardCoin, Z as freezeAccount, _ as generateLatestStoredDataProof, $ as getAccountAssetList, a0 as getAccountAssetObject, a1 as getAccountDetail, a2 as getAccountHistory, a3 as getAccountTokenList, a4 as getConciseNodeStatus, a5 as getGenesisAccount, a6 as getIdentityProof, a7 as getInactiveTxList, a8 as getMontInfoList, a9 as getNodeStatus, aa as getOwnerBalance, ab as getRoundState, ac as getRoundStatesList, ad as getShardOfAccount, ae as getSyncState, af as getTx, ag as getWorldRoundState, ah as getWorldRoundStatesList, ai as hasSystemToken, aj as lockStake, ak as makeTxProof, al as openAccount, am as postData, an as provideScript, ao as publicActions, ap as queryAddress, aq as readTxListWitness, ar as requestDataTrade, as as setHost, at as subscribeAddress, au as transferAssetObject, av as transferCoin, aw as transferToken, ax as unlockStake, ay as uploadAccountTxs, az as verifyAndSignChallenge, aA as verifyIdentityProof, aB as verifyLatestStoredDataProof, aC as verifyTxListWitness, aD as walletActions } from '../chunks/debugWalletActions-qkesE_0m.js';
|
|
4
4
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
5
5
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
6
6
|
import '../chunks/rpc-BlPk44QH.js';
|
|
@@ -14,9 +14,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
14
14
|
allHeights: allHeights,
|
|
15
15
|
balanceGrantList: balanceGrantList,
|
|
16
16
|
balanceList: balanceList,
|
|
17
|
-
|
|
17
|
+
callVme: callVme,
|
|
18
18
|
createAccount: createAccount,
|
|
19
|
-
createContract: createContract,
|
|
20
19
|
createNode: createNode,
|
|
21
20
|
createSynthAccount: createSynthAccount,
|
|
22
21
|
dumpAllAccounts: dumpAllAccounts,
|
|
@@ -24,7 +23,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
24
23
|
gameChainCmd: gameChainCmd,
|
|
25
24
|
getAccountsBalances: getAccountsBalances,
|
|
26
25
|
getAccountsHeights: getAccountsHeights,
|
|
27
|
-
getContractLog: getContractLog,
|
|
28
26
|
getGuestsInfo: getGuestsInfo,
|
|
29
27
|
getHomeShard: getHomeShard,
|
|
30
28
|
getImportAccount: getImportAccount,
|
|
@@ -33,6 +31,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
33
31
|
getNodeBlocks: getNodeBlocks,
|
|
34
32
|
getPeerPool: getPeerPool,
|
|
35
33
|
getPeersInfo: getPeersInfo,
|
|
34
|
+
getVmeLog: getVmeLog,
|
|
36
35
|
importAccount: importAccount,
|
|
37
36
|
initReliableNodes: initReliableNodes,
|
|
38
37
|
noArgsRets: noArgsRets,
|
|
@@ -43,7 +42,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
43
42
|
sendRawTransaction: sendRawTransaction,
|
|
44
43
|
setImportAccountTx: setImportAccountTx,
|
|
45
44
|
setReliableNode: setReliableNode,
|
|
46
|
-
|
|
45
|
+
viewVme: viewVme
|
|
47
46
|
});
|
|
48
47
|
|
|
49
48
|
export { index as debug };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnionToOptional } from '../index.cjs';
|
|
2
|
-
import { TxAcceptScript, TxAcceptScriptAfterTimeLock,
|
|
3
|
-
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock |
|
|
2
|
+
import { TxAcceptScript, TxAcceptScriptAfterTimeLock, TxActivateAllRes, TxActivateAssetObject, TxActivateCoin, TxActivateDataSynthAccount, TxActivateFoundationReserve, TxActivateIncentive, TxActivateLockStakeForVme, TxActivateOpenSynthAccount, TxActivateOpenVme, TxActivateToken, TxActivateVmeResult, TxActivateVmeReward, TxActivateVmeTransfer, TxBecomeGuest, TxBecomeHost, TxBurnAssetObject, TxBurnToken, TxCallVme, TxChangeFoundationAccount, TxChangeKeypair, TxChangeVKey, TxCloseAccount, TxCreateAssetObject, TxCreateSynthAccount, TxCreateToken, TxCreateVme, TxDummy, TxFinalize, TxForwardAssetObject, TxForwardCoin, TxForwardToken, TxFreezeAccount, TxGenesisAccount, TxLeadDirectVtx, TxLeadVtx, TxLockStakeForVme, TxOpenAccount, TxPostData, TxPostDataSynthAccount, TxProvideScript, TxRestoreResHash, TxRevoke, TxTransferAssetObject, TxTransferCoin, TxTransferToken, TxUnlockStake, TxVmeBlankReward, TxVmeBlock, TxVmeTransferReward } from './types/tx/index.cjs';
|
|
3
|
+
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock | TxActivateAllRes | TxActivateAssetObject | TxActivateCoin | TxActivateDataSynthAccount | TxActivateFoundationReserve | TxActivateIncentive | TxActivateLockStakeForVme | TxActivateOpenSynthAccount | TxActivateOpenVme | TxActivateToken | TxActivateVmeResult | TxActivateVmeReward | TxActivateVmeTransfer | TxBecomeGuest | TxBecomeHost | TxBurnAssetObject | TxBurnToken | TxCallVme | TxChangeFoundationAccount | TxChangeKeypair | TxChangeVKey | TxCloseAccount | TxCreateAssetObject | TxCreateSynthAccount | TxCreateToken | TxCreateVme | TxDummy | TxFinalize | TxForwardAssetObject | TxForwardCoin | TxForwardToken | TxFreezeAccount | TxGenesisAccount | TxLeadDirectVtx | TxLeadVtx | TxLockStakeForVme | TxOpenAccount | TxPostData | TxPostDataSynthAccount | TxProvideScript | TxRestoreResHash | TxRevoke | TxTransferAssetObject | TxTransferCoin | TxTransferToken | TxUnlockStake | TxVmeBlankReward | TxVmeBlock | TxVmeTransferReward;
|
|
4
4
|
export type LocusTx = UnionToOptional<Txs>;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnionToOptional } from '../index.mjs';
|
|
2
|
-
import { TxAcceptScript, TxAcceptScriptAfterTimeLock,
|
|
3
|
-
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock |
|
|
2
|
+
import { TxAcceptScript, TxAcceptScriptAfterTimeLock, TxActivateAllRes, TxActivateAssetObject, TxActivateCoin, TxActivateDataSynthAccount, TxActivateFoundationReserve, TxActivateIncentive, TxActivateLockStakeForVme, TxActivateOpenSynthAccount, TxActivateOpenVme, TxActivateToken, TxActivateVmeResult, TxActivateVmeReward, TxActivateVmeTransfer, TxBecomeGuest, TxBecomeHost, TxBurnAssetObject, TxBurnToken, TxCallVme, TxChangeFoundationAccount, TxChangeKeypair, TxChangeVKey, TxCloseAccount, TxCreateAssetObject, TxCreateSynthAccount, TxCreateToken, TxCreateVme, TxDummy, TxFinalize, TxForwardAssetObject, TxForwardCoin, TxForwardToken, TxFreezeAccount, TxGenesisAccount, TxLeadDirectVtx, TxLeadVtx, TxLockStakeForVme, TxOpenAccount, TxPostData, TxPostDataSynthAccount, TxProvideScript, TxRestoreResHash, TxRevoke, TxTransferAssetObject, TxTransferCoin, TxTransferToken, TxUnlockStake, TxVmeBlankReward, TxVmeBlock, TxVmeTransferReward } from './types/tx/index.mjs';
|
|
3
|
+
type Txs = TxAcceptScript | TxAcceptScriptAfterTimeLock | TxActivateAllRes | TxActivateAssetObject | TxActivateCoin | TxActivateDataSynthAccount | TxActivateFoundationReserve | TxActivateIncentive | TxActivateLockStakeForVme | TxActivateOpenSynthAccount | TxActivateOpenVme | TxActivateToken | TxActivateVmeResult | TxActivateVmeReward | TxActivateVmeTransfer | TxBecomeGuest | TxBecomeHost | TxBurnAssetObject | TxBurnToken | TxCallVme | TxChangeFoundationAccount | TxChangeKeypair | TxChangeVKey | TxCloseAccount | TxCreateAssetObject | TxCreateSynthAccount | TxCreateToken | TxCreateVme | TxDummy | TxFinalize | TxForwardAssetObject | TxForwardCoin | TxForwardToken | TxFreezeAccount | TxGenesisAccount | TxLeadDirectVtx | TxLeadVtx | TxLockStakeForVme | TxOpenAccount | TxPostData | TxPostDataSynthAccount | TxProvideScript | TxRestoreResHash | TxRevoke | TxTransferAssetObject | TxTransferCoin | TxTransferToken | TxUnlockStake | TxVmeBlankReward | TxVmeBlock | TxVmeTransferReward;
|
|
4
4
|
export type LocusTx = UnionToOptional<Txs>;
|
|
5
5
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { ParamsAccount } from './types/rpc/params-account.cjs';
|
|
|
3
3
|
import type { ParamsAccountAndIndex } from './types/rpc/params-account-and-index.cjs';
|
|
4
4
|
import type { ParamsAccountHeights } from './types/rpc/params-account-heights.cjs';
|
|
5
5
|
import type { ParamsAccountHistory } from './types/rpc/params-account-history.cjs';
|
|
6
|
-
import type {
|
|
6
|
+
import type { ParamsCalculateSpentByForwardCoin } from './types/rpc/params-calculate-spent-by-forward-coin.cjs';
|
|
7
7
|
import type { ParamsDownloadAccountTxs } from './types/rpc/params-download-account-txs.cjs';
|
|
8
8
|
import type { ParamsFindDuplicateSubscriber } from './types/rpc/params-find-duplicate-subscriber.cjs';
|
|
9
9
|
import type { ParamsGenerateLatestStoredDataProof } from './types/rpc/params-generate-latest-stored-data-proof.cjs';
|
|
@@ -27,7 +27,7 @@ import type { Client } from '../clients/types.cjs';
|
|
|
27
27
|
export declare const publicActions: (client: Client) => {
|
|
28
28
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.cjs").HeightsResult>;
|
|
29
29
|
accountHeightsToUpload: (param: ParamsAccountHeights) => Promise<import("../index.cjs").UploadHeightsResult>;
|
|
30
|
-
|
|
30
|
+
calculateSpentByForwardCoin: (param: ParamsCalculateSpentByForwardCoin) => Promise<import("../index.cjs").RpcCalculateSpentByForwardCoinResult>;
|
|
31
31
|
clientMessage: (param: ParamStr) => Promise<any>;
|
|
32
32
|
downloadAccountTxs: (param: ParamsDownloadAccountTxs) => Promise<import("../index.cjs").OutputDownloadAccountTxs>;
|
|
33
33
|
echo: (str: string) => Promise<string>;
|
|
@@ -3,7 +3,7 @@ import type { ParamsAccount } from './types/rpc/params-account.mjs';
|
|
|
3
3
|
import type { ParamsAccountAndIndex } from './types/rpc/params-account-and-index.mjs';
|
|
4
4
|
import type { ParamsAccountHeights } from './types/rpc/params-account-heights.mjs';
|
|
5
5
|
import type { ParamsAccountHistory } from './types/rpc/params-account-history.mjs';
|
|
6
|
-
import type {
|
|
6
|
+
import type { ParamsCalculateSpentByForwardCoin } from './types/rpc/params-calculate-spent-by-forward-coin.mjs';
|
|
7
7
|
import type { ParamsDownloadAccountTxs } from './types/rpc/params-download-account-txs.mjs';
|
|
8
8
|
import type { ParamsFindDuplicateSubscriber } from './types/rpc/params-find-duplicate-subscriber.mjs';
|
|
9
9
|
import type { ParamsGenerateLatestStoredDataProof } from './types/rpc/params-generate-latest-stored-data-proof.mjs';
|
|
@@ -27,7 +27,7 @@ import type { Client } from '../clients/types.mjs';
|
|
|
27
27
|
export declare const publicActions: (client: Client) => {
|
|
28
28
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.mjs").HeightsResult>;
|
|
29
29
|
accountHeightsToUpload: (param: ParamsAccountHeights) => Promise<import("../index.mjs").UploadHeightsResult>;
|
|
30
|
-
|
|
30
|
+
calculateSpentByForwardCoin: (param: ParamsCalculateSpentByForwardCoin) => Promise<import("../index.mjs").RpcCalculateSpentByForwardCoinResult>;
|
|
31
31
|
clientMessage: (param: ParamStr) => Promise<any>;
|
|
32
32
|
downloadAccountTxs: (param: ParamsDownloadAccountTxs) => Promise<import("../index.mjs").OutputDownloadAccountTxs>;
|
|
33
33
|
echo: (str: string) => Promise<string>;
|