@locuschain/lib 0.2.7 → 0.2.9
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/buildDirectCall.d.cts +4 -0
- package/dist/autogen/actions/debug/public/buildDirectCall.d.mts +4 -0
- package/dist/autogen/actions/debug/public/index.d.cts +3 -1
- package/dist/autogen/actions/debug/public/index.d.mts +3 -1
- package/dist/autogen/actions/debug/public/removeHomeTxs.d.cts +4 -0
- package/dist/autogen/actions/debug/public/removeHomeTxs.d.mts +4 -0
- package/dist/autogen/actions/debug/public/submitDirectCall.d.cts +4 -0
- package/dist/autogen/actions/debug/public/submitDirectCall.d.mts +4 -0
- package/dist/autogen/actions/public/getHomeTxDir.d.cts +3 -0
- package/dist/autogen/actions/public/getHomeTxDir.d.mts +3 -0
- package/dist/autogen/actions/public/getHomeTxFlushSeq.d.cts +3 -0
- package/dist/autogen/actions/public/getHomeTxFlushSeq.d.mts +3 -0
- package/dist/autogen/actions/public/index.d.cts +3 -2
- package/dist/autogen/actions/public/index.d.mts +3 -2
- package/dist/autogen/actions/public/waitHomeTxChange.d.cts +4 -0
- package/dist/autogen/actions/public/waitHomeTxChange.d.mts +4 -0
- package/dist/autogen/debugPublicActions.d.cts +6 -2
- package/dist/autogen/debugPublicActions.d.mts +6 -2
- package/dist/autogen/index.amd.js +7 -4
- package/dist/autogen/index.cjs.cjs +7 -4
- package/dist/autogen/index.esm.js +5 -3
- package/dist/autogen/publicActions.d.cts +4 -2
- package/dist/autogen/publicActions.d.mts +4 -2
- package/dist/autogen/rpc-api-spec.d.cts +15 -6
- package/dist/autogen/rpc-api-spec.d.mts +15 -6
- package/dist/autogen/types/consts/tx-type.d.cts +1 -1
- package/dist/autogen/types/consts/tx-type.d.mts +1 -1
- package/dist/autogen/types/consts/tx-types.d.cts +1 -1
- package/dist/autogen/types/consts/tx-types.d.mts +1 -1
- package/dist/autogen/types/rpc/index.d.cts +9 -3
- package/dist/autogen/types/rpc/index.d.mts +9 -3
- package/dist/autogen/types/rpc/params-build-direct-call.d.cts +8 -0
- package/dist/autogen/types/rpc/params-build-direct-call.d.mts +8 -0
- package/dist/autogen/types/rpc/{params-remove-hold-txs.d.cts → params-remove-home-txs.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-remove-hold-txs.d.mts → params-remove-home-txs.d.mts} +1 -1
- package/dist/autogen/types/rpc/params-submit-direct-call.d.cts +4 -0
- package/dist/autogen/types/rpc/params-submit-direct-call.d.mts +4 -0
- package/dist/autogen/types/rpc/params-wait-home-tx-change.d.cts +4 -0
- package/dist/autogen/types/rpc/params-wait-home-tx-change.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-direct-call-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-direct-call-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.mts +3 -0
- package/dist/autogen/types/rpc/{rpc-get-hold-tx-flush-seq-result.d.cts → rpc-get-home-tx-flush-seq-result.d.cts} +1 -1
- package/dist/autogen/types/rpc/{rpc-get-hold-tx-flush-seq-result.d.mts → rpc-get-home-tx-flush-seq-result.d.mts} +1 -1
- package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.cts +5 -0
- package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.mts +5 -0
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/chunks/{debugWalletActions-WhGBP-BW.cjs → debugWalletActions-BWSVjiFW.cjs} +39 -12
- package/dist/chunks/{debugWalletActions-BYqoNvYZ.js → debugWalletActions-DoZUAnEj.js} +39 -12
- package/dist/chunks/{debugWalletActions-DNB4coHM.js → debugWalletActions-LMoV1T5I.js} +34 -10
- package/dist/chunks/{tx-type-khL8tWtn.cjs → tx-type-CKrHKEwY.cjs} +1 -1
- package/dist/chunks/{tx-type-BUN9nEQ6.js → tx-type-CXyml-9n.js} +1 -1
- package/dist/chunks/{tx-type-DYAaL3xz.js → tx-type-Dyjdmlv8.js} +1 -1
- package/dist/clients/createLocusPublicClient.d.cts +6 -3
- package/dist/clients/createLocusPublicClient.d.mts +6 -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 +2 -2
- package/dist/constant/index.cjs.cjs +2 -2
- package/dist/constant/index.d.cts +2 -2
- package/dist/constant/index.d.mts +2 -2
- package/dist/constant/index.esm.js +2 -2
- package/dist/contracts/getContract.d.cts +14 -4
- package/dist/contracts/getContract.d.mts +14 -4
- package/dist/contracts/index.amd.js +29 -12
- package/dist/contracts/index.cjs.cjs +29 -12
- package/dist/contracts/index.esm.js +30 -13
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +38 -1
- package/dist/autogen/actions/debug/public/removeHoldTxs.d.cts +0 -4
- package/dist/autogen/actions/debug/public/removeHoldTxs.d.mts +0 -4
- package/dist/autogen/actions/public/getHoldTxDir.d.cts +0 -3
- package/dist/autogen/actions/public/getHoldTxDir.d.mts +0 -3
- package/dist/autogen/actions/public/getHoldTxFlushSeq.d.cts +0 -3
- package/dist/autogen/actions/public/getHoldTxFlushSeq.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-get-hold-tx-dir-result.d.cts +0 -3
- package/dist/autogen/types/rpc/rpc-get-hold-tx-dir-result.d.mts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/tx-type-
|
|
1
|
+
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/tx-type-Dyjdmlv8', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/wasm-gROtmFm6', '../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-CKrHKEwY.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-dbtq7eri.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-CXyml-9n.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 { R as signKeyBind, Q as signByMasterKey, P as sign, A as deriveKeysFromMnemonicAndPath, z as deriveKeysFromMnemonic } from '../chunks/wasm-CU215LGW.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsBuildDirectCall } from '../../../types/rpc/params-build-direct-call.cjs';
|
|
2
|
+
import { RpcBuildDirectCallResult } from '../../../types/rpc/rpc-build-direct-call-result.cjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.cjs';
|
|
4
|
+
export declare function buildDirectCall(client: Client, param: ParamsBuildDirectCall): Promise<RpcBuildDirectCallResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsBuildDirectCall } from '../../../types/rpc/params-build-direct-call.mjs';
|
|
2
|
+
import { RpcBuildDirectCallResult } from '../../../types/rpc/rpc-build-direct-call-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function buildDirectCall(client: Client, param: ParamsBuildDirectCall): Promise<RpcBuildDirectCallResult>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './allHeights.cjs';
|
|
2
2
|
export * from './balanceGrantList.cjs';
|
|
3
3
|
export * from './balanceList.cjs';
|
|
4
|
+
export * from './buildDirectCall.cjs';
|
|
4
5
|
export * from './createAccount.cjs';
|
|
5
6
|
export * from './createNode.cjs';
|
|
6
7
|
export * from './dumpAllAccounts.cjs';
|
|
@@ -21,9 +22,10 @@ export * from './importAccount.cjs';
|
|
|
21
22
|
export * from './initReliableNodes.cjs';
|
|
22
23
|
export * from './noArgsRets.cjs';
|
|
23
24
|
export * from './nodeCmd.cjs';
|
|
24
|
-
export * from './
|
|
25
|
+
export * from './removeHomeTxs.cjs';
|
|
25
26
|
export * from './requestVme.cjs';
|
|
26
27
|
export * from './sendRawTransaction.cjs';
|
|
27
28
|
export * from './setImportAccountTx.cjs';
|
|
28
29
|
export * from './setReliableNode.cjs';
|
|
30
|
+
export * from './submitDirectCall.cjs';
|
|
29
31
|
export * from './viewVme.cjs';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './allHeights.mjs';
|
|
2
2
|
export * from './balanceGrantList.mjs';
|
|
3
3
|
export * from './balanceList.mjs';
|
|
4
|
+
export * from './buildDirectCall.mjs';
|
|
4
5
|
export * from './createAccount.mjs';
|
|
5
6
|
export * from './createNode.mjs';
|
|
6
7
|
export * from './dumpAllAccounts.mjs';
|
|
@@ -21,9 +22,10 @@ export * from './importAccount.mjs';
|
|
|
21
22
|
export * from './initReliableNodes.mjs';
|
|
22
23
|
export * from './noArgsRets.mjs';
|
|
23
24
|
export * from './nodeCmd.mjs';
|
|
24
|
-
export * from './
|
|
25
|
+
export * from './removeHomeTxs.mjs';
|
|
25
26
|
export * from './requestVme.mjs';
|
|
26
27
|
export * from './sendRawTransaction.mjs';
|
|
27
28
|
export * from './setImportAccountTx.mjs';
|
|
28
29
|
export * from './setReliableNode.mjs';
|
|
30
|
+
export * from './submitDirectCall.mjs';
|
|
29
31
|
export * from './viewVme.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRemoveHomeTxs } from '../../../types/rpc/params-remove-home-txs.cjs';
|
|
2
|
+
import { RetTypeBase } from '../../../types/common/ret-type-base.cjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.cjs';
|
|
4
|
+
export declare function removeHomeTxs(client: Client, param: ParamsRemoveHomeTxs): Promise<RetTypeBase>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRemoveHomeTxs } from '../../../types/rpc/params-remove-home-txs.mjs';
|
|
2
|
+
import { RetTypeBase } from '../../../types/common/ret-type-base.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function removeHomeTxs(client: Client, param: ParamsRemoveHomeTxs): Promise<RetTypeBase>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsSubmitDirectCall } from '../../../types/rpc/params-submit-direct-call.cjs';
|
|
2
|
+
import { RpcDirectCallResult } from '../../../types/rpc/rpc-direct-call-result.cjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.cjs';
|
|
4
|
+
export declare function submitDirectCall(client: Client, param: ParamsSubmitDirectCall): Promise<RpcDirectCallResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsSubmitDirectCall } from '../../../types/rpc/params-submit-direct-call.mjs';
|
|
2
|
+
import { RpcDirectCallResult } from '../../../types/rpc/rpc-direct-call-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function submitDirectCall(client: Client, param: ParamsSubmitDirectCall): Promise<RpcDirectCallResult>;
|
|
@@ -14,8 +14,8 @@ export * from './getAccountHistory.cjs';
|
|
|
14
14
|
export * from './getAccountTokenList.cjs';
|
|
15
15
|
export * from './getConciseNodeStatus.cjs';
|
|
16
16
|
export * from './getGenesisAccount.cjs';
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
17
|
+
export * from './getHomeTxDir.cjs';
|
|
18
|
+
export * from './getHomeTxFlushSeq.cjs';
|
|
19
19
|
export * from './getIdentityProof.cjs';
|
|
20
20
|
export * from './getInactiveTxList.cjs';
|
|
21
21
|
export * from './getLaunchCommand.cjs';
|
|
@@ -44,3 +44,4 @@ export * from './verifyIdentityProof.cjs';
|
|
|
44
44
|
export * from './verifyLatestStoredDataProof.cjs';
|
|
45
45
|
export * from './verifyProofW.cjs';
|
|
46
46
|
export * from './verifyTxListWitness.cjs';
|
|
47
|
+
export * from './waitHomeTxChange.cjs';
|
|
@@ -14,8 +14,8 @@ export * from './getAccountHistory.mjs';
|
|
|
14
14
|
export * from './getAccountTokenList.mjs';
|
|
15
15
|
export * from './getConciseNodeStatus.mjs';
|
|
16
16
|
export * from './getGenesisAccount.mjs';
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
17
|
+
export * from './getHomeTxDir.mjs';
|
|
18
|
+
export * from './getHomeTxFlushSeq.mjs';
|
|
19
19
|
export * from './getIdentityProof.mjs';
|
|
20
20
|
export * from './getInactiveTxList.mjs';
|
|
21
21
|
export * from './getLaunchCommand.mjs';
|
|
@@ -44,3 +44,4 @@ export * from './verifyIdentityProof.mjs';
|
|
|
44
44
|
export * from './verifyLatestStoredDataProof.mjs';
|
|
45
45
|
export * from './verifyProofW.mjs';
|
|
46
46
|
export * from './verifyTxListWitness.mjs';
|
|
47
|
+
export * from './waitHomeTxChange.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsWaitHomeTxChange } from '../../types/rpc/params-wait-home-tx-change.cjs';
|
|
2
|
+
import { RpcWaitHomeTxChangeResult } from '../../types/rpc/rpc-wait-home-tx-change-result.cjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.cjs';
|
|
4
|
+
export declare function waitHomeTxChange(client: Client, params: ParamsWaitHomeTxChange): Promise<RpcWaitHomeTxChangeResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsWaitHomeTxChange } from '../../types/rpc/params-wait-home-tx-change.mjs';
|
|
2
|
+
import { RpcWaitHomeTxChangeResult } from '../../types/rpc/rpc-wait-home-tx-change-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function waitHomeTxChange(client: Client, params: ParamsWaitHomeTxChange): Promise<RpcWaitHomeTxChangeResult>;
|
|
@@ -1,5 +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 { ParamsBuildDirectCall } from './types/rpc/params-build-direct-call.cjs';
|
|
3
4
|
import type { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
4
5
|
import type { ParamsCreateNode } from './types/rpc/params-create-node.cjs';
|
|
5
6
|
import type { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.cjs';
|
|
@@ -7,17 +8,19 @@ import type { ParamsGetHomeShard } from './types/rpc/params-get-home-shard.cjs';
|
|
|
7
8
|
import type { ParamsGetImportAccount } from './types/rpc/params-get-import-account.cjs';
|
|
8
9
|
import type { ParamsImportAccount } from './types/rpc/params-import-account.cjs';
|
|
9
10
|
import type { ParamsInitReliableNodes } from './types/rpc/params-init-reliable-nodes.cjs';
|
|
10
|
-
import type {
|
|
11
|
+
import type { ParamsRemoveHomeTxs } from './types/rpc/params-remove-home-txs.cjs';
|
|
11
12
|
import type { ParamsRequestVme } from './types/rpc/params-request-vme.cjs';
|
|
12
13
|
import type { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transaction.cjs';
|
|
13
14
|
import type { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.cjs';
|
|
14
15
|
import type { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.cjs';
|
|
16
|
+
import type { ParamsSubmitDirectCall } from './types/rpc/params-submit-direct-call.cjs';
|
|
15
17
|
import type { ParamsVmeLog } from './types/rpc/params-vme-log.cjs';
|
|
16
18
|
import type { Client } from '../clients/types.cjs';
|
|
17
19
|
export declare const debugPublicActions: (client: Client) => {
|
|
18
20
|
allHeights: () => Promise<import("../index.cjs").RpcAccountHeight[]>;
|
|
19
21
|
balanceGrantList: () => Promise<string[]>;
|
|
20
22
|
balanceList: () => Promise<string[]>;
|
|
23
|
+
buildDirectCall: (param: ParamsBuildDirectCall) => Promise<import("../index.cjs").RpcBuildDirectCallResult>;
|
|
21
24
|
createAccount: () => Promise<import("../index.cjs").RpcCreateAccountResult>;
|
|
22
25
|
createNode: (param: ParamsCreateNode) => Promise<import("../index.cjs").RpcCreateNodeResult>;
|
|
23
26
|
dumpAllAccounts: () => Promise<import("../index.cjs").ResultDumpAccounts>;
|
|
@@ -38,10 +41,11 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
38
41
|
initReliableNodes: (param: ParamsInitReliableNodes) => Promise<import("../index.cjs").RpcBoolResult>;
|
|
39
42
|
noArgsRets: () => Promise<any>;
|
|
40
43
|
nodeCmd: (cmd: string) => Promise<import("../index.cjs").RpcNodeCmdResult>;
|
|
41
|
-
|
|
44
|
+
removeHomeTxs: (param: ParamsRemoveHomeTxs) => Promise<import("../index.cjs").RetTypeBase>;
|
|
42
45
|
requestVme: (params: ParamsRequestVme) => Promise<import("../index.cjs").RpcRequestVmeResult>;
|
|
43
46
|
sendRawTransaction: (params: ParamsSendRawTransaction) => Promise<import("../index.cjs").RpcSendRawTransactionResult>;
|
|
44
47
|
setImportAccountTx: (params: ParamsSetImportAccountTx) => Promise<import("../index.cjs").RpcSetImportAccountTxResult>;
|
|
45
48
|
setReliableNode: (param: ParamsSetReliableNode) => Promise<import("../index.cjs").RpcBoolResult>;
|
|
49
|
+
submitDirectCall: (param: ParamsSubmitDirectCall) => Promise<import("../index.cjs").RpcDirectCallResult>;
|
|
46
50
|
viewVme: (param: ParamsCallVme) => Promise<import("../index.cjs").RpcViewVmeResult>;
|
|
47
51
|
};
|
|
@@ -1,5 +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 { ParamsBuildDirectCall } from './types/rpc/params-build-direct-call.mjs';
|
|
3
4
|
import type { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
|
|
4
5
|
import type { ParamsCreateNode } from './types/rpc/params-create-node.mjs';
|
|
5
6
|
import type { ParamsGameChainCmd } from './types/rpc/params-game-chain-cmd.mjs';
|
|
@@ -7,17 +8,19 @@ import type { ParamsGetHomeShard } from './types/rpc/params-get-home-shard.mjs';
|
|
|
7
8
|
import type { ParamsGetImportAccount } from './types/rpc/params-get-import-account.mjs';
|
|
8
9
|
import type { ParamsImportAccount } from './types/rpc/params-import-account.mjs';
|
|
9
10
|
import type { ParamsInitReliableNodes } from './types/rpc/params-init-reliable-nodes.mjs';
|
|
10
|
-
import type {
|
|
11
|
+
import type { ParamsRemoveHomeTxs } from './types/rpc/params-remove-home-txs.mjs';
|
|
11
12
|
import type { ParamsRequestVme } from './types/rpc/params-request-vme.mjs';
|
|
12
13
|
import type { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transaction.mjs';
|
|
13
14
|
import type { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.mjs';
|
|
14
15
|
import type { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.mjs';
|
|
16
|
+
import type { ParamsSubmitDirectCall } from './types/rpc/params-submit-direct-call.mjs';
|
|
15
17
|
import type { ParamsVmeLog } from './types/rpc/params-vme-log.mjs';
|
|
16
18
|
import type { Client } from '../clients/types.mjs';
|
|
17
19
|
export declare const debugPublicActions: (client: Client) => {
|
|
18
20
|
allHeights: () => Promise<import("../index.mjs").RpcAccountHeight[]>;
|
|
19
21
|
balanceGrantList: () => Promise<string[]>;
|
|
20
22
|
balanceList: () => Promise<string[]>;
|
|
23
|
+
buildDirectCall: (param: ParamsBuildDirectCall) => Promise<import("../index.mjs").RpcBuildDirectCallResult>;
|
|
21
24
|
createAccount: () => Promise<import("../index.mjs").RpcCreateAccountResult>;
|
|
22
25
|
createNode: (param: ParamsCreateNode) => Promise<import("../index.mjs").RpcCreateNodeResult>;
|
|
23
26
|
dumpAllAccounts: () => Promise<import("../index.mjs").ResultDumpAccounts>;
|
|
@@ -38,10 +41,11 @@ export declare const debugPublicActions: (client: Client) => {
|
|
|
38
41
|
initReliableNodes: (param: ParamsInitReliableNodes) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
39
42
|
noArgsRets: () => Promise<any>;
|
|
40
43
|
nodeCmd: (cmd: string) => Promise<import("../index.mjs").RpcNodeCmdResult>;
|
|
41
|
-
|
|
44
|
+
removeHomeTxs: (param: ParamsRemoveHomeTxs) => Promise<import("../index.mjs").RetTypeBase>;
|
|
42
45
|
requestVme: (params: ParamsRequestVme) => Promise<import("../index.mjs").RpcRequestVmeResult>;
|
|
43
46
|
sendRawTransaction: (params: ParamsSendRawTransaction) => Promise<import("../index.mjs").RpcSendRawTransactionResult>;
|
|
44
47
|
setImportAccountTx: (params: ParamsSetImportAccountTx) => Promise<import("../index.mjs").RpcSetImportAccountTxResult>;
|
|
45
48
|
setReliableNode: (param: ParamsSetReliableNode) => Promise<import("../index.mjs").RpcBoolResult>;
|
|
49
|
+
submitDirectCall: (param: ParamsSubmitDirectCall) => Promise<import("../index.mjs").RpcDirectCallResult>;
|
|
46
50
|
viewVme: (param: ParamsCallVme) => Promise<import("../index.mjs").RpcViewVmeResult>;
|
|
47
51
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/wasm-gROtmFm6', '../chunks/debugWalletActions-
|
|
1
|
+
define(['exports', '../chunks/wasm-gROtmFm6', '../chunks/debugWalletActions-DoZUAnEj', '../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,6 +7,7 @@ define(['exports', '../chunks/wasm-gROtmFm6', '../chunks/debugWalletActions-BYqo
|
|
|
7
7
|
allHeights: debugWalletActions.allHeights,
|
|
8
8
|
balanceGrantList: debugWalletActions.balanceGrantList,
|
|
9
9
|
balanceList: debugWalletActions.balanceList,
|
|
10
|
+
buildDirectCall: debugWalletActions.buildDirectCall,
|
|
10
11
|
callContract: debugWalletActions.callContract,
|
|
11
12
|
callVme: debugWalletActions.callVme,
|
|
12
13
|
createAccount: debugWalletActions.createAccount,
|
|
@@ -32,11 +33,12 @@ define(['exports', '../chunks/wasm-gROtmFm6', '../chunks/debugWalletActions-BYqo
|
|
|
32
33
|
noArgsRets: debugWalletActions.noArgsRets,
|
|
33
34
|
nodeCmd: debugWalletActions.nodeCmd,
|
|
34
35
|
postDataToSynthAccount: debugWalletActions.postDataToSynthAccount,
|
|
35
|
-
|
|
36
|
+
removeHomeTxs: debugWalletActions.removeHomeTxs,
|
|
36
37
|
requestVme: debugWalletActions.requestVme,
|
|
37
38
|
sendRawTransaction: debugWalletActions.sendRawTransaction,
|
|
38
39
|
setImportAccountTx: debugWalletActions.setImportAccountTx,
|
|
39
40
|
setReliableNode: debugWalletActions.setReliableNode,
|
|
41
|
+
submitDirectCall: debugWalletActions.submitDirectCall,
|
|
40
42
|
viewVme: debugWalletActions.viewVme
|
|
41
43
|
});
|
|
42
44
|
|
|
@@ -120,8 +122,8 @@ define(['exports', '../chunks/wasm-gROtmFm6', '../chunks/debugWalletActions-BYqo
|
|
|
120
122
|
exports.getAccountTokenList = debugWalletActions.getAccountTokenList;
|
|
121
123
|
exports.getConciseNodeStatus = debugWalletActions.getConciseNodeStatus;
|
|
122
124
|
exports.getGenesisAccount = debugWalletActions.getGenesisAccount;
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
+
exports.getHomeTxDir = debugWalletActions.getHomeTxDir;
|
|
126
|
+
exports.getHomeTxFlushSeq = debugWalletActions.getHomeTxFlushSeq;
|
|
125
127
|
exports.getIdentityProof = debugWalletActions.getIdentityProof;
|
|
126
128
|
exports.getInactiveTxList = debugWalletActions.getInactiveTxList;
|
|
127
129
|
exports.getLaunchCommand = debugWalletActions.getLaunchCommand;
|
|
@@ -162,6 +164,7 @@ define(['exports', '../chunks/wasm-gROtmFm6', '../chunks/debugWalletActions-BYqo
|
|
|
162
164
|
exports.verifyLatestStoredDataProof = debugWalletActions.verifyLatestStoredDataProof;
|
|
163
165
|
exports.verifyProofW = debugWalletActions.verifyProofW;
|
|
164
166
|
exports.verifyTxListWitness = debugWalletActions.verifyTxListWitness;
|
|
167
|
+
exports.waitHomeTxChange = debugWalletActions.waitHomeTxChange;
|
|
165
168
|
exports.walletActions = debugWalletActions.walletActions;
|
|
166
169
|
exports.debug = index;
|
|
167
170
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var wasm = require('../chunks/wasm-dbtq7eri.cjs');
|
|
4
|
-
var debugWalletActions = require('../chunks/debugWalletActions-
|
|
4
|
+
var debugWalletActions = require('../chunks/debugWalletActions-BWSVjiFW.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,6 +15,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
15
15
|
allHeights: debugWalletActions.allHeights,
|
|
16
16
|
balanceGrantList: debugWalletActions.balanceGrantList,
|
|
17
17
|
balanceList: debugWalletActions.balanceList,
|
|
18
|
+
buildDirectCall: debugWalletActions.buildDirectCall,
|
|
18
19
|
callContract: debugWalletActions.callContract,
|
|
19
20
|
callVme: debugWalletActions.callVme,
|
|
20
21
|
createAccount: debugWalletActions.createAccount,
|
|
@@ -40,11 +41,12 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
40
41
|
noArgsRets: debugWalletActions.noArgsRets,
|
|
41
42
|
nodeCmd: debugWalletActions.nodeCmd,
|
|
42
43
|
postDataToSynthAccount: debugWalletActions.postDataToSynthAccount,
|
|
43
|
-
|
|
44
|
+
removeHomeTxs: debugWalletActions.removeHomeTxs,
|
|
44
45
|
requestVme: debugWalletActions.requestVme,
|
|
45
46
|
sendRawTransaction: debugWalletActions.sendRawTransaction,
|
|
46
47
|
setImportAccountTx: debugWalletActions.setImportAccountTx,
|
|
47
48
|
setReliableNode: debugWalletActions.setReliableNode,
|
|
49
|
+
submitDirectCall: debugWalletActions.submitDirectCall,
|
|
48
50
|
viewVme: debugWalletActions.viewVme
|
|
49
51
|
});
|
|
50
52
|
|
|
@@ -128,8 +130,8 @@ exports.getAccountHistory = debugWalletActions.getAccountHistory;
|
|
|
128
130
|
exports.getAccountTokenList = debugWalletActions.getAccountTokenList;
|
|
129
131
|
exports.getConciseNodeStatus = debugWalletActions.getConciseNodeStatus;
|
|
130
132
|
exports.getGenesisAccount = debugWalletActions.getGenesisAccount;
|
|
131
|
-
exports.
|
|
132
|
-
exports.
|
|
133
|
+
exports.getHomeTxDir = debugWalletActions.getHomeTxDir;
|
|
134
|
+
exports.getHomeTxFlushSeq = debugWalletActions.getHomeTxFlushSeq;
|
|
133
135
|
exports.getIdentityProof = debugWalletActions.getIdentityProof;
|
|
134
136
|
exports.getInactiveTxList = debugWalletActions.getInactiveTxList;
|
|
135
137
|
exports.getLaunchCommand = debugWalletActions.getLaunchCommand;
|
|
@@ -170,5 +172,6 @@ exports.verifyIdentityProof = debugWalletActions.verifyIdentityProof;
|
|
|
170
172
|
exports.verifyLatestStoredDataProof = debugWalletActions.verifyLatestStoredDataProof;
|
|
171
173
|
exports.verifyProofW = debugWalletActions.verifyProofW;
|
|
172
174
|
exports.verifyTxListWitness = debugWalletActions.verifyTxListWitness;
|
|
175
|
+
exports.waitHomeTxChange = debugWalletActions.waitHomeTxChange;
|
|
173
176
|
exports.walletActions = debugWalletActions.walletActions;
|
|
174
177
|
exports.debug = index;
|
|
@@ -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 decodeSubId, y as decodeTxs, z as deriveKeysFromMnemonic, A as deriveKeysFromMnemonicAndPath, B as disCompileCoreScript, C as encodeFuncData, D as encodeSubId, E as encodeTxCurrency, F as encodeTxNumber, G as generateMnemonic, H as generateMnemonicBySeed, I as getDefFromCoreScript, J as getHomeShard, K as getLibraryVersions, L as gzipAndEncode, M as hash, N as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, O as makeCurrency, P as sign, Q as signByMasterKey, R as signKeyBind, S as testCoreScript, T as verify, U as verifyByMasterKey, V as verifyMerkleProof, W as verifyTx } from '../chunks/wasm-CU215LGW.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 buildDirectCall, e as callContract, f as callVme, g as createAccount, h as createContract, i as createNode, j as createSynthAccount, k as dumpAllAccounts, l as echo, m as gameChainCmd, n as getAccountsBalances, o as getAccountsHeights, p as getGuestsInfo, q as getHomeShard, r as getImportAccount, s as getImportAccountLog, t as getKeys, u as getNodeBlocks, v as getPeerPool, w as getPeersInfo, x as getVmeLog, y as importAccount, z as initReliableNodes, A as noArgsRets, B as nodeCmd, C as postDataToSynthAccount, D as removeHomeTxs, E as requestVme, F as sendRawTransaction, G as setImportAccountTx, H as setReliableNode, I as submitDirectCall, J as viewVme } from '../chunks/debugWalletActions-LMoV1T5I.js';
|
|
3
|
+
export { K as acceptScript, L as accountHeightsToDownload, M as accountHeightsToUpload, N as becomeGuest, O as becomeHost, P as calculateAvailableByForward, Q as calculateAvailableByForwardList, R as changeKey, S as changeVkey, T as clientMessage, U as closeAccount, V as createAssetObject, W as createToken, X as createVme, Y as debugPublicActions, Z as debugWalletActions, _ as downloadAccountTxs, $ as echo, a0 as findDuplicateSubscriber, a1 as forwardAssetObject, a2 as forwardCoin, a3 as forwardToken, a4 as freezeAccount, a5 as generateLatestStoredDataProof, a6 as getAccountAssetList, a7 as getAccountAssetObject, a8 as getAccountDetail, a9 as getAccountHistory, aa as getAccountTokenList, ab as getConciseNodeStatus, ac as getGenesisAccount, ad as getHomeTxDir, ae as getHomeTxFlushSeq, af as getIdentityProof, ag as getInactiveTxList, ah as getLaunchCommand, ai as getMontInfoList, aj as getNodeStatus, ak as getNodeVersion, al as getOwnerBalance, am as getRoundState, an as getRoundStatesList, ao as getShardOfAccount, ap as getSyncState, aq as getTx, ar as getWorldRoundState, as as getWorldRoundStatesList, at as hasSystemToken, au as lockStake, av as makeTxProof, aw as openAccount, ax as postData, ay as provideScript, az as publicActions, aA as queryAddress, aB as readTxListWitness, aC as requestDataTrade, aD as setHost, aE as shutdown, aF as subscribeAddress, aG as transfer, aH as transferAllRes, aI as transferAssetObject, aJ as transferCoin, aK as transferToken, aL as unlockStake, aM as upliftProofW, aN as uploadAccountTxs, aO as verifyAndSignChallenge, aP as verifyIdentityProof, aQ as verifyLatestStoredDataProof, aR as verifyProofW, aS as verifyTxListWitness, aT as waitHomeTxChange, aU as walletActions } from '../chunks/debugWalletActions-LMoV1T5I.js';
|
|
4
4
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
5
5
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
6
6
|
import '../chunks/rpc-BlPk44QH.js';
|
|
@@ -14,6 +14,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
14
14
|
allHeights: allHeights,
|
|
15
15
|
balanceGrantList: balanceGrantList,
|
|
16
16
|
balanceList: balanceList,
|
|
17
|
+
buildDirectCall: buildDirectCall,
|
|
17
18
|
callContract: callContract,
|
|
18
19
|
callVme: callVme,
|
|
19
20
|
createAccount: createAccount,
|
|
@@ -39,11 +40,12 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
39
40
|
noArgsRets: noArgsRets,
|
|
40
41
|
nodeCmd: nodeCmd,
|
|
41
42
|
postDataToSynthAccount: postDataToSynthAccount,
|
|
42
|
-
|
|
43
|
+
removeHomeTxs: removeHomeTxs,
|
|
43
44
|
requestVme: requestVme,
|
|
44
45
|
sendRawTransaction: sendRawTransaction,
|
|
45
46
|
setImportAccountTx: setImportAccountTx,
|
|
46
47
|
setReliableNode: setReliableNode,
|
|
48
|
+
submitDirectCall: submitDirectCall,
|
|
47
49
|
viewVme: viewVme
|
|
48
50
|
});
|
|
49
51
|
|
|
@@ -26,6 +26,7 @@ import type { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-t
|
|
|
26
26
|
import type { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.cjs';
|
|
27
27
|
import type { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.cjs';
|
|
28
28
|
import type { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.cjs';
|
|
29
|
+
import type { ParamsWaitHomeTxChange } from './types/rpc/params-wait-home-tx-change.cjs';
|
|
29
30
|
import type { Client } from '../clients/types.cjs';
|
|
30
31
|
export declare const publicActions: (client: Client) => {
|
|
31
32
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.cjs").HeightsResult>;
|
|
@@ -44,8 +45,8 @@ export declare const publicActions: (client: Client) => {
|
|
|
44
45
|
getAccountTokenList: (params: ParamsAccount) => Promise<import("../index.cjs").RpcGetAccountTokenListResult>;
|
|
45
46
|
getConciseNodeStatus: () => Promise<import("../index.cjs").RpcGetConciseNodeStatusResult>;
|
|
46
47
|
getGenesisAccount: () => Promise<import("../index.cjs").RpcGetGenesisAccountResult>;
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
getHomeTxDir: () => Promise<import("../index.cjs").RpcGetHomeTxDirResult>;
|
|
49
|
+
getHomeTxFlushSeq: () => Promise<import("../index.cjs").RpcGetHomeTxFlushSeqResult>;
|
|
49
50
|
getIdentityProof: (param: ParamsGetIdentityProof) => Promise<import("../index.cjs").RpcGetIdentityProofResult>;
|
|
50
51
|
getInactiveTxList: (param: ParamsAccount) => Promise<import("../index.cjs").RpcGetInactiveTxListResult>;
|
|
51
52
|
getLaunchCommand: () => Promise<import("../index.cjs").RpcGetLaunchCommandResult>;
|
|
@@ -74,4 +75,5 @@ export declare const publicActions: (client: Client) => {
|
|
|
74
75
|
verifyLatestStoredDataProof: (params: ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
75
76
|
verifyProofW: (params: ParamsVerifyProofW) => Promise<boolean>;
|
|
76
77
|
verifyTxListWitness: (params: ParamsTxListWitness) => Promise<boolean>;
|
|
78
|
+
waitHomeTxChange: (params: ParamsWaitHomeTxChange) => Promise<import("../index.cjs").RpcWaitHomeTxChangeResult>;
|
|
77
79
|
};
|
|
@@ -26,6 +26,7 @@ import type { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-t
|
|
|
26
26
|
import type { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.mjs';
|
|
27
27
|
import type { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.mjs';
|
|
28
28
|
import type { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.mjs';
|
|
29
|
+
import type { ParamsWaitHomeTxChange } from './types/rpc/params-wait-home-tx-change.mjs';
|
|
29
30
|
import type { Client } from '../clients/types.mjs';
|
|
30
31
|
export declare const publicActions: (client: Client) => {
|
|
31
32
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.mjs").HeightsResult>;
|
|
@@ -44,8 +45,8 @@ export declare const publicActions: (client: Client) => {
|
|
|
44
45
|
getAccountTokenList: (params: ParamsAccount) => Promise<import("../index.mjs").RpcGetAccountTokenListResult>;
|
|
45
46
|
getConciseNodeStatus: () => Promise<import("../index.mjs").RpcGetConciseNodeStatusResult>;
|
|
46
47
|
getGenesisAccount: () => Promise<import("../index.mjs").RpcGetGenesisAccountResult>;
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
getHomeTxDir: () => Promise<import("../index.mjs").RpcGetHomeTxDirResult>;
|
|
49
|
+
getHomeTxFlushSeq: () => Promise<import("../index.mjs").RpcGetHomeTxFlushSeqResult>;
|
|
49
50
|
getIdentityProof: (param: ParamsGetIdentityProof) => Promise<import("../index.mjs").RpcGetIdentityProofResult>;
|
|
50
51
|
getInactiveTxList: (param: ParamsAccount) => Promise<import("../index.mjs").RpcGetInactiveTxListResult>;
|
|
51
52
|
getLaunchCommand: () => Promise<import("../index.mjs").RpcGetLaunchCommandResult>;
|
|
@@ -74,4 +75,5 @@ export declare const publicActions: (client: Client) => {
|
|
|
74
75
|
verifyLatestStoredDataProof: (params: ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
75
76
|
verifyProofW: (params: ParamsVerifyProofW) => Promise<boolean>;
|
|
76
77
|
verifyTxListWitness: (params: ParamsTxListWitness) => Promise<boolean>;
|
|
78
|
+
waitHomeTxChange: (params: ParamsWaitHomeTxChange) => Promise<import("../index.mjs").RpcWaitHomeTxChangeResult>;
|
|
77
79
|
};
|
|
@@ -16,6 +16,7 @@ import { ParamsAccount } from './types/rpc/params-account.cjs';
|
|
|
16
16
|
import { ParamsAccounts } from './types/rpc/params-accounts.cjs';
|
|
17
17
|
import { ParamsBecomeGuest } from './types/rpc/params-become-guest.cjs';
|
|
18
18
|
import { ParamsBecomeHost } from './types/rpc/params-become-host.cjs';
|
|
19
|
+
import { ParamsBuildDirectCall } from './types/rpc/params-build-direct-call.cjs';
|
|
19
20
|
import { ParamsCalculateAvailableByForwardList } from './types/rpc/params-calculate-available-by-forward-list.cjs';
|
|
20
21
|
import { ParamsCalculateAvailableByForward } from './types/rpc/params-calculate-available-by-forward.cjs';
|
|
21
22
|
import { ParamsCallVme } from './types/rpc/params-call-vme.cjs';
|
|
@@ -50,7 +51,7 @@ import { ParamsPostDataToSynthAccount } from './types/rpc/params-post-data-to-sy
|
|
|
50
51
|
import { ParamsProvideScript } from './types/rpc/params-provide-script.cjs';
|
|
51
52
|
import { ParamsQueryAddress } from './types/rpc/params-query-address.cjs';
|
|
52
53
|
import { ParamsReadTxList } from './types/rpc/params-read-tx-list.cjs';
|
|
53
|
-
import {
|
|
54
|
+
import { ParamsRemoveHomeTxs } from './types/rpc/params-remove-home-txs.cjs';
|
|
54
55
|
import { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.cjs';
|
|
55
56
|
import { ParamsRequestVme } from './types/rpc/params-request-vme.cjs';
|
|
56
57
|
import { ParamsRoundList } from './types/rpc/params-round-list.cjs';
|
|
@@ -60,6 +61,7 @@ import { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transactio
|
|
|
60
61
|
import { ParamsSetHost } from './types/rpc/params-set-host.cjs';
|
|
61
62
|
import { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.cjs';
|
|
62
63
|
import { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.cjs';
|
|
64
|
+
import { ParamsSubmitDirectCall } from './types/rpc/params-submit-direct-call.cjs';
|
|
63
65
|
import { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.cjs';
|
|
64
66
|
import { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.cjs';
|
|
65
67
|
import { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.cjs';
|
|
@@ -75,14 +77,17 @@ import { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign
|
|
|
75
77
|
import { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.cjs';
|
|
76
78
|
import { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.cjs';
|
|
77
79
|
import { ParamsVmeLog } from './types/rpc/params-vme-log.cjs';
|
|
80
|
+
import { ParamsWaitHomeTxChange } from './types/rpc/params-wait-home-tx-change.cjs';
|
|
78
81
|
import { ResultDumpAccounts } from './types/rpc/result-dump-accounts.cjs';
|
|
79
82
|
import { RoundStateDetail } from './types/rpc/round-state-detail.cjs';
|
|
80
83
|
import { RpcBoolResult } from './types/rpc/rpc-bool-result.cjs';
|
|
84
|
+
import { RpcBuildDirectCallResult } from './types/rpc/rpc-build-direct-call-result.cjs';
|
|
81
85
|
import { RpcCalculateAvailableByForwardListResult } from './types/rpc/rpc-calculate-available-by-forward-list-result.cjs';
|
|
82
86
|
import { RpcCalculateAvailableByForwardResult } from './types/rpc/rpc-calculate-available-by-forward-result.cjs';
|
|
83
87
|
import { RpcCreateAccountResult } from './types/rpc/rpc-create-account-result.cjs';
|
|
84
88
|
import { RpcCreateNodeResult } from './types/rpc/rpc-create-node-result.cjs';
|
|
85
89
|
import { RpcCreateTxResult } from './types/rpc/rpc-create-tx-result.cjs';
|
|
90
|
+
import { RpcDirectCallResult } from './types/rpc/rpc-direct-call-result.cjs';
|
|
86
91
|
import { RpcFindDuplicateSubscriberResult } from './types/rpc/rpc-find-duplicate-subscriber-result.cjs';
|
|
87
92
|
import { RpcGameChainCmdResult } from './types/rpc/rpc-game-chain-cmd-result.cjs';
|
|
88
93
|
import { RpcGenerateLatestStoredDataProofResult } from './types/rpc/rpc-generate-latest-stored-data-proof-result.cjs';
|
|
@@ -96,9 +101,9 @@ import { RpcGetAccountsHeightsResult } from './types/rpc/rpc-get-accounts-height
|
|
|
96
101
|
import { RpcGetConciseNodeStatusResult } from './types/rpc/rpc-get-concise-node-status-result.cjs';
|
|
97
102
|
import { RpcGetGenesisAccountResult } from './types/rpc/rpc-get-genesis-account-result.cjs';
|
|
98
103
|
import { RpcGetGuestsInfoResult } from './types/rpc/rpc-get-guests-info-result.cjs';
|
|
99
|
-
import { RpcGetHoldTxDirResult } from './types/rpc/rpc-get-hold-tx-dir-result.cjs';
|
|
100
|
-
import { RpcGetHoldTxFlushSeqResult } from './types/rpc/rpc-get-hold-tx-flush-seq-result.cjs';
|
|
101
104
|
import { RpcGetHomeShardResult } from './types/rpc/rpc-get-home-shard-result.cjs';
|
|
105
|
+
import { RpcGetHomeTxDirResult } from './types/rpc/rpc-get-home-tx-dir-result.cjs';
|
|
106
|
+
import { RpcGetHomeTxFlushSeqResult } from './types/rpc/rpc-get-home-tx-flush-seq-result.cjs';
|
|
102
107
|
import { RpcGetIdentityProofResult } from './types/rpc/rpc-get-identity-proof-result.cjs';
|
|
103
108
|
import { RpcGetImportAccountResult } from './types/rpc/rpc-get-import-account-result.cjs';
|
|
104
109
|
import { RpcGetInactiveTxListResult } from './types/rpc/rpc-get-inactive-tx-list-result.cjs';
|
|
@@ -128,11 +133,13 @@ import { RpcSubscribeAddressResult } from './types/rpc/rpc-subscribe-address-res
|
|
|
128
133
|
import { RpcVerifyAndSignChallengeResult } from './types/rpc/rpc-verify-and-sign-challenge-result.cjs';
|
|
129
134
|
import { RpcVerifyIdentityProofResult } from './types/rpc/rpc-verify-identity-proof-result.cjs';
|
|
130
135
|
import { RpcViewVmeResult } from './types/rpc/rpc-view-vme-result.cjs';
|
|
136
|
+
import { RpcWaitHomeTxChangeResult } from './types/rpc/rpc-wait-home-tx-change-result.cjs';
|
|
131
137
|
import { UploadHeightsResult } from './types/rpc/upload-heights-result.cjs';
|
|
132
138
|
export interface RpcApiSpec {
|
|
133
139
|
debug_allHeights(): Promise<RpcAccountHeight[]>;
|
|
134
140
|
debug_balanceGrantList(): Promise<string[]>;
|
|
135
141
|
debug_balanceList(): Promise<string[]>;
|
|
142
|
+
debug_buildDirectCall(param: ParamsBuildDirectCall): Promise<RpcBuildDirectCallResult>;
|
|
136
143
|
debug_callContract(param: ParamsCallVme): Promise<RpcCreateTxResult>;
|
|
137
144
|
debug_callVme(param: ParamsCallVme): Promise<RpcCreateTxResult>;
|
|
138
145
|
debug_createAccount(): Promise<RpcCreateAccountResult>;
|
|
@@ -158,11 +165,12 @@ export interface RpcApiSpec {
|
|
|
158
165
|
debug_noArgsRets(): Promise<any>;
|
|
159
166
|
debug_nodeCmd(cmd: string): Promise<RpcNodeCmdResult>;
|
|
160
167
|
debug_postDataToSynthAccount(param: ParamsPostDataToSynthAccount): Promise<RpcCreateTxResult>;
|
|
161
|
-
|
|
168
|
+
debug_removeHomeTxs(param: ParamsRemoveHomeTxs): Promise<RetTypeBase>;
|
|
162
169
|
debug_requestVme(params: ParamsRequestVme): Promise<RpcRequestVmeResult>;
|
|
163
170
|
debug_sendRawTransaction(params: ParamsSendRawTransaction): Promise<RpcSendRawTransactionResult>;
|
|
164
171
|
debug_setImportAccountTx(params: ParamsSetImportAccountTx): Promise<RpcSetImportAccountTxResult>;
|
|
165
172
|
debug_setReliableNode(param: ParamsSetReliableNode): Promise<RpcBoolResult>;
|
|
173
|
+
debug_submitDirectCall(param: ParamsSubmitDirectCall): Promise<RpcDirectCallResult>;
|
|
166
174
|
debug_viewVme(param: ParamsCallVme): Promise<RpcViewVmeResult>;
|
|
167
175
|
locus_acceptScript(params: ParamsAcceptScript): Promise<RpcCreateTxResult>;
|
|
168
176
|
locus_accountHeightsToDownload(param: ParamsAccountHeights): Promise<HeightsResult>;
|
|
@@ -193,8 +201,8 @@ export interface RpcApiSpec {
|
|
|
193
201
|
locus_getAccountTokenList(params: ParamsAccount): Promise<RpcGetAccountTokenListResult>;
|
|
194
202
|
locus_getConciseNodeStatus(): Promise<RpcGetConciseNodeStatusResult>;
|
|
195
203
|
locus_getGenesisAccount(): Promise<RpcGetGenesisAccountResult>;
|
|
196
|
-
|
|
197
|
-
|
|
204
|
+
locus_getHomeTxDir(): Promise<RpcGetHomeTxDirResult>;
|
|
205
|
+
locus_getHomeTxFlushSeq(): Promise<RpcGetHomeTxFlushSeqResult>;
|
|
198
206
|
locus_getIdentityProof(param: ParamsGetIdentityProof): Promise<RpcGetIdentityProofResult>;
|
|
199
207
|
locus_getInactiveTxList(param: ParamsAccount): Promise<RpcGetInactiveTxListResult>;
|
|
200
208
|
locus_getLaunchCommand(): Promise<RpcGetLaunchCommandResult>;
|
|
@@ -234,4 +242,5 @@ export interface RpcApiSpec {
|
|
|
234
242
|
locus_verifyLatestStoredDataProof(params: ParamsLatestStoredDataProof): Promise<boolean>;
|
|
235
243
|
locus_verifyProofW(params: ParamsVerifyProofW): Promise<boolean>;
|
|
236
244
|
locus_verifyTxListWitness(params: ParamsTxListWitness): Promise<boolean>;
|
|
245
|
+
locus_waitHomeTxChange(params: ParamsWaitHomeTxChange): Promise<RpcWaitHomeTxChangeResult>;
|
|
237
246
|
}
|