@locuschain/lib 0.2.6 → 0.2.8
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 +2 -2
- package/dist/accounts/index.esm.js +2 -2
- 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/calculateAvailableByForward.d.cts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForward.d.mts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForwardList.d.cts +4 -0
- package/dist/autogen/actions/public/calculateAvailableByForwardList.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/getLaunchCommand.d.cts +3 -0
- package/dist/autogen/actions/public/getLaunchCommand.d.mts +3 -0
- package/dist/autogen/actions/public/index.d.cts +7 -2
- package/dist/autogen/actions/public/index.d.mts +7 -2
- package/dist/autogen/actions/public/shutdown.d.cts +3 -0
- package/dist/autogen/actions/public/shutdown.d.mts +3 -0
- 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 +14 -4
- package/dist/autogen/index.cjs.cjs +15 -5
- package/dist/autogen/index.esm.js +6 -4
- package/dist/autogen/publicActions.d.cts +10 -4
- package/dist/autogen/publicActions.d.mts +10 -4
- package/dist/autogen/rpc-api-spec.d.cts +25 -8
- package/dist/autogen/rpc-api-spec.d.mts +25 -8
- package/dist/autogen/types/common/{forward-spent-item.d.cts → forward-available-item.d.cts} +1 -1
- package/dist/autogen/types/common/{forward-spent-item.d.mts → forward-available-item.d.mts} +1 -1
- package/dist/autogen/types/common/index.d.cts +1 -1
- package/dist/autogen/types/common/index.d.mts +1 -1
- 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 +15 -5
- package/dist/autogen/types/rpc/index.d.mts +15 -5
- 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-calculate-available-by-forward-list.d.cts +3 -0
- package/dist/autogen/types/rpc/params-calculate-available-by-forward-list.d.mts +3 -0
- package/dist/autogen/types/rpc/{params-calculate-spent-by-forward.d.cts → params-calculate-available-by-forward.d.cts} +1 -1
- package/dist/autogen/types/rpc/{params-calculate-spent-by-forward.d.mts → params-calculate-available-by-forward.d.mts} +1 -1
- 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-calculate-available-by-forward-list-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-calculate-available-by-forward-list-result.d.mts +4 -0
- package/dist/autogen/types/rpc/{rpc-calculate-spent-by-forward-result.d.cts → rpc-calculate-available-by-forward-result.d.cts} +1 -1
- package/dist/autogen/types/rpc/{rpc-calculate-spent-by-forward-result.d.mts → rpc-calculate-available-by-forward-result.d.mts} +1 -1
- 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-home-tx-flush-seq-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-home-tx-flush-seq-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-launch-command-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-launch-command-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-shutdown-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-shutdown-result.d.mts +3 -0
- 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/autogen/wasm.d.cts +3 -0
- package/dist/autogen/wasm.d.mts +3 -0
- package/dist/chunks/{debugWalletActions-CjqVQSZX.cjs → debugWalletActions-BWSVjiFW.cjs} +75 -12
- package/dist/chunks/{debugWalletActions-BWgEnPR5.js → debugWalletActions-DoZUAnEj.js} +75 -12
- package/dist/chunks/{debugWalletActions-Dh5poX8K.js → debugWalletActions-LMoV1T5I.js} +66 -10
- package/dist/chunks/{keystore-B86UzV8A.js → keystore-BPU22XT-.js} +1 -1
- package/dist/chunks/{keystore-BUskzeOs.cjs → keystore-DS8JZhXs.cjs} +1 -1
- package/dist/chunks/{keystore-y1JlFTKh.js → keystore-JnuLzkLn.js} +1 -1
- 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/chunks/{wasm-CLXJDrJA.js → wasm-CU215LGW.js} +10 -1
- package/dist/chunks/{wasm-BYOKRR31.cjs → wasm-dbtq7eri.cjs} +12 -0
- package/dist/chunks/{wasm-CkFW222S.js → wasm-gROtmFm6.js} +12 -0
- package/dist/clients/createLocusPublicClient.d.cts +10 -3
- package/dist/clients/createLocusPublicClient.d.mts +10 -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/index.amd.js +1 -1
- package/dist/contracts/index.cjs.cjs +1 -1
- package/dist/contracts/index.esm.js +1 -1
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/utils/index.amd.js +4 -1
- package/dist/utils/index.cjs.cjs +5 -2
- package/dist/utils/index.esm.js +3 -3
- package/package.json +1 -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/calculateSpentByForward.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForward.d.mts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +0 -4
- package/dist/autogen/actions/public/calculateSpentByForwardList.d.mts +0 -4
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +0 -3
- package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +0 -3
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.cts +0 -4
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ParamsTokenValuePair } from '../common/params-token-value-pair.cjs';
|
|
2
2
|
import { ParamsTransferAsset } from '../common/params-transfer-asset.cjs';
|
|
3
|
-
export type
|
|
3
|
+
export type RpcCalculateAvailableByForwardResult = {
|
|
4
4
|
amount: string;
|
|
5
5
|
tokenAmounts: ParamsTokenValuePair[];
|
|
6
6
|
assets: ParamsTransferAsset[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ParamsTokenValuePair } from '../common/params-token-value-pair.mjs';
|
|
2
2
|
import { ParamsTransferAsset } from '../common/params-transfer-asset.mjs';
|
|
3
|
-
export type
|
|
3
|
+
export type RpcCalculateAvailableByForwardResult = {
|
|
4
4
|
amount: string;
|
|
5
5
|
tokenAmounts: ParamsTokenValuePair[];
|
|
6
6
|
assets: ParamsTransferAsset[];
|
|
Binary file
|
package/dist/autogen/wasm.d.cts
CHANGED
|
@@ -45,10 +45,13 @@ export declare const createAccountAndKeystore: (params: ParamCreateAccountAndKey
|
|
|
45
45
|
export declare const createMasterKeystore: (params: ParamCreateMasterKeystore) => string;
|
|
46
46
|
export declare const createNormalKey: (params: ParamCreateNormalKey) => string;
|
|
47
47
|
export declare const createNormalKeystore: (params: ParamCreateNormalKeystore) => string;
|
|
48
|
+
export declare const decodeSubId: (subIdString: string) => string;
|
|
48
49
|
export declare const decodeTxs: (params: ParamTxs) => string;
|
|
49
50
|
export declare const deriveKeysFromMnemonic: (params: ParamDeriveKeysFromMnemonic) => string;
|
|
50
51
|
export declare const deriveKeysFromMnemonicAndPath: (params: ParamDeriveKeysFromMnemonicAndPath) => string;
|
|
51
52
|
export declare const disCompileCoreScript: (params: ParamCodeCoreScript) => string;
|
|
53
|
+
export declare const encodeFuncData: (op: number, dataHex: string) => string;
|
|
54
|
+
export declare const encodeSubId: (hexString: string) => string;
|
|
52
55
|
export declare const encodeTxCurrency: (params: ParamEncodeTxCurrency) => string;
|
|
53
56
|
export declare const encodeTxNumber: (params: ParamEncodeTxNumber) => string;
|
|
54
57
|
export declare const generateMnemonic: (params: ParamGenerateMnemonic) => string;
|
package/dist/autogen/wasm.d.mts
CHANGED
|
@@ -45,10 +45,13 @@ export declare const createAccountAndKeystore: (params: ParamCreateAccountAndKey
|
|
|
45
45
|
export declare const createMasterKeystore: (params: ParamCreateMasterKeystore) => string;
|
|
46
46
|
export declare const createNormalKey: (params: ParamCreateNormalKey) => string;
|
|
47
47
|
export declare const createNormalKeystore: (params: ParamCreateNormalKeystore) => string;
|
|
48
|
+
export declare const decodeSubId: (subIdString: string) => string;
|
|
48
49
|
export declare const decodeTxs: (params: ParamTxs) => string;
|
|
49
50
|
export declare const deriveKeysFromMnemonic: (params: ParamDeriveKeysFromMnemonic) => string;
|
|
50
51
|
export declare const deriveKeysFromMnemonicAndPath: (params: ParamDeriveKeysFromMnemonicAndPath) => string;
|
|
51
52
|
export declare const disCompileCoreScript: (params: ParamCodeCoreScript) => string;
|
|
53
|
+
export declare const encodeFuncData: (op: number, dataHex: string) => string;
|
|
54
|
+
export declare const encodeSubId: (hexString: string) => string;
|
|
52
55
|
export declare const encodeTxCurrency: (params: ParamEncodeTxCurrency) => string;
|
|
53
56
|
export declare const encodeTxNumber: (params: ParamEncodeTxNumber) => string;
|
|
54
57
|
export declare const generateMnemonic: (params: ParamGenerateMnemonic) => string;
|
|
@@ -19,16 +19,16 @@ function accountHeightsToUpload(client, param) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// Automatically generated file. DO NOT EDIT.
|
|
22
|
-
function
|
|
22
|
+
function calculateAvailableByForward(client, param) {
|
|
23
23
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return client.request({ method: '
|
|
24
|
+
return client.request({ method: 'locus_calculateAvailableByForward', params: [param] });
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// Automatically generated file. DO NOT EDIT.
|
|
29
|
-
function
|
|
29
|
+
function calculateAvailableByForwardList(client, param) {
|
|
30
30
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
31
|
-
return client.request({ method: '
|
|
31
|
+
return client.request({ method: 'locus_calculateAvailableByForwardList', params: [param] });
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -116,6 +116,20 @@ function getGenesisAccount(client) {
|
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
// Automatically generated file. DO NOT EDIT.
|
|
120
|
+
function getHomeTxDir(client) {
|
|
121
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
return client.request({ method: 'locus_getHomeTxDir', params: [] });
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Automatically generated file. DO NOT EDIT.
|
|
127
|
+
function getHomeTxFlushSeq(client) {
|
|
128
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
return client.request({ method: 'locus_getHomeTxFlushSeq', params: [] });
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
|
|
119
133
|
// Automatically generated file. DO NOT EDIT.
|
|
120
134
|
function getIdentityProof(client, param) {
|
|
121
135
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -130,6 +144,13 @@ function getInactiveTxList(client, param) {
|
|
|
130
144
|
});
|
|
131
145
|
}
|
|
132
146
|
|
|
147
|
+
// Automatically generated file. DO NOT EDIT.
|
|
148
|
+
function getLaunchCommand(client) {
|
|
149
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
return client.request({ method: 'locus_getLaunchCommand', params: [] });
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
|
|
133
154
|
// Automatically generated file. DO NOT EDIT.
|
|
134
155
|
function getMontInfoList(client, param) {
|
|
135
156
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -242,6 +263,13 @@ function setHost(client, param) {
|
|
|
242
263
|
});
|
|
243
264
|
}
|
|
244
265
|
|
|
266
|
+
// Automatically generated file. DO NOT EDIT.
|
|
267
|
+
function shutdown(client) {
|
|
268
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
return client.request({ method: 'locus_shutdown', params: [] });
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
|
|
245
273
|
// Automatically generated file. DO NOT EDIT.
|
|
246
274
|
function subscribeAddress(client, params) {
|
|
247
275
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -298,12 +326,19 @@ function verifyTxListWitness(client, params) {
|
|
|
298
326
|
});
|
|
299
327
|
}
|
|
300
328
|
|
|
329
|
+
// Automatically generated file. DO NOT EDIT.
|
|
330
|
+
function waitHomeTxChange(client, params) {
|
|
331
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
332
|
+
return client.request({ method: 'locus_waitHomeTxChange', params: [params] });
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
|
|
301
336
|
// Automatically generated file. DO NOT EDIT.
|
|
302
337
|
const publicActions = (client) => ({
|
|
303
338
|
accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
|
|
304
339
|
accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
|
|
305
|
-
|
|
306
|
-
|
|
340
|
+
calculateAvailableByForward: (param) => calculateAvailableByForward(client, param),
|
|
341
|
+
calculateAvailableByForwardList: (param) => calculateAvailableByForwardList(client, param),
|
|
307
342
|
clientMessage: (param) => clientMessage(client, param),
|
|
308
343
|
downloadAccountTxs: (param) => downloadAccountTxs(client, param),
|
|
309
344
|
echo: (str) => echo$1(client, str),
|
|
@@ -316,8 +351,11 @@ const publicActions = (client) => ({
|
|
|
316
351
|
getAccountTokenList: (params) => getAccountTokenList(client, params),
|
|
317
352
|
getConciseNodeStatus: () => getConciseNodeStatus(client),
|
|
318
353
|
getGenesisAccount: () => getGenesisAccount(client),
|
|
354
|
+
getHomeTxDir: () => getHomeTxDir(client),
|
|
355
|
+
getHomeTxFlushSeq: () => getHomeTxFlushSeq(client),
|
|
319
356
|
getIdentityProof: (param) => getIdentityProof(client, param),
|
|
320
357
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
358
|
+
getLaunchCommand: () => getLaunchCommand(client),
|
|
321
359
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
322
360
|
getNodeStatus: () => getNodeStatus(client),
|
|
323
361
|
getNodeVersion: () => getNodeVersion(client),
|
|
@@ -334,6 +372,7 @@ const publicActions = (client) => ({
|
|
|
334
372
|
queryAddress: (params) => queryAddress(client, params),
|
|
335
373
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
336
374
|
setHost: (param) => setHost(client, param),
|
|
375
|
+
shutdown: () => shutdown(client),
|
|
337
376
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
338
377
|
upliftProofW: (params) => upliftProofW(client, params),
|
|
339
378
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
@@ -342,6 +381,7 @@ const publicActions = (client) => ({
|
|
|
342
381
|
verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
|
|
343
382
|
verifyProofW: (params) => verifyProofW(client, params),
|
|
344
383
|
verifyTxListWitness: (params) => verifyTxListWitness(client, params),
|
|
384
|
+
waitHomeTxChange: (params) => waitHomeTxChange(client, params),
|
|
345
385
|
});
|
|
346
386
|
|
|
347
387
|
/**
|
|
@@ -722,6 +762,13 @@ function balanceList(client) {
|
|
|
722
762
|
});
|
|
723
763
|
}
|
|
724
764
|
|
|
765
|
+
// Automatically generated file. DO NOT EDIT.
|
|
766
|
+
function buildDirectCall(client, param) {
|
|
767
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
768
|
+
return client.request({ method: 'debug_buildDirectCall', params: [param] });
|
|
769
|
+
});
|
|
770
|
+
}
|
|
771
|
+
|
|
725
772
|
// Automatically generated file. DO NOT EDIT.
|
|
726
773
|
function createAccount(client) {
|
|
727
774
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -863,9 +910,9 @@ function nodeCmd(client, cmd) {
|
|
|
863
910
|
}
|
|
864
911
|
|
|
865
912
|
// Automatically generated file. DO NOT EDIT.
|
|
866
|
-
function
|
|
913
|
+
function removeHomeTxs(client, param) {
|
|
867
914
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
868
|
-
return client.request({ method: '
|
|
915
|
+
return client.request({ method: 'debug_removeHomeTxs', params: [param] });
|
|
869
916
|
});
|
|
870
917
|
}
|
|
871
918
|
|
|
@@ -897,6 +944,13 @@ function setReliableNode(client, param) {
|
|
|
897
944
|
});
|
|
898
945
|
}
|
|
899
946
|
|
|
947
|
+
// Automatically generated file. DO NOT EDIT.
|
|
948
|
+
function submitDirectCall(client, param) {
|
|
949
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
950
|
+
return client.request({ method: 'debug_submitDirectCall', params: [param] });
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
|
|
900
954
|
// Automatically generated file. DO NOT EDIT.
|
|
901
955
|
function viewVme(client, param) {
|
|
902
956
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -909,6 +963,7 @@ const debugPublicActions = (client) => ({
|
|
|
909
963
|
allHeights: () => allHeights(client),
|
|
910
964
|
balanceGrantList: () => balanceGrantList(client),
|
|
911
965
|
balanceList: () => balanceList(client),
|
|
966
|
+
buildDirectCall: (param) => buildDirectCall(client, param),
|
|
912
967
|
createAccount: () => createAccount(client),
|
|
913
968
|
createNode: (param) => createNode(client, param),
|
|
914
969
|
dumpAllAccounts: () => dumpAllAccounts(client),
|
|
@@ -929,11 +984,12 @@ const debugPublicActions = (client) => ({
|
|
|
929
984
|
initReliableNodes: (param) => initReliableNodes(client, param),
|
|
930
985
|
noArgsRets: () => noArgsRets(client),
|
|
931
986
|
nodeCmd: (cmd) => nodeCmd(client, cmd),
|
|
932
|
-
|
|
987
|
+
removeHomeTxs: (param) => removeHomeTxs(client, param),
|
|
933
988
|
requestVme: (params) => requestVme(client, params),
|
|
934
989
|
sendRawTransaction: (params) => sendRawTransaction(client, params),
|
|
935
990
|
setImportAccountTx: (params) => setImportAccountTx(client, params),
|
|
936
991
|
setReliableNode: (param) => setReliableNode(client, param),
|
|
992
|
+
submitDirectCall: (param) => submitDirectCall(client, param),
|
|
937
993
|
viewVme: (param) => viewVme(client, param),
|
|
938
994
|
});
|
|
939
995
|
|
|
@@ -999,8 +1055,9 @@ exports.balanceGrantList = balanceGrantList;
|
|
|
999
1055
|
exports.balanceList = balanceList;
|
|
1000
1056
|
exports.becomeGuest = becomeGuest;
|
|
1001
1057
|
exports.becomeHost = becomeHost;
|
|
1002
|
-
exports.
|
|
1003
|
-
exports.
|
|
1058
|
+
exports.buildDirectCall = buildDirectCall;
|
|
1059
|
+
exports.calculateAvailableByForward = calculateAvailableByForward;
|
|
1060
|
+
exports.calculateAvailableByForwardList = calculateAvailableByForwardList;
|
|
1004
1061
|
exports.callContract = callContract;
|
|
1005
1062
|
exports.callVme = callVme;
|
|
1006
1063
|
exports.changeKey = changeKey;
|
|
@@ -1038,11 +1095,14 @@ exports.getConciseNodeStatus = getConciseNodeStatus;
|
|
|
1038
1095
|
exports.getGenesisAccount = getGenesisAccount;
|
|
1039
1096
|
exports.getGuestsInfo = getGuestsInfo;
|
|
1040
1097
|
exports.getHomeShard = getHomeShard;
|
|
1098
|
+
exports.getHomeTxDir = getHomeTxDir;
|
|
1099
|
+
exports.getHomeTxFlushSeq = getHomeTxFlushSeq;
|
|
1041
1100
|
exports.getIdentityProof = getIdentityProof;
|
|
1042
1101
|
exports.getImportAccount = getImportAccount;
|
|
1043
1102
|
exports.getImportAccountLog = getImportAccountLog;
|
|
1044
1103
|
exports.getInactiveTxList = getInactiveTxList;
|
|
1045
1104
|
exports.getKeys = getKeys;
|
|
1105
|
+
exports.getLaunchCommand = getLaunchCommand;
|
|
1046
1106
|
exports.getMontInfoList = getMontInfoList;
|
|
1047
1107
|
exports.getNodeBlocks = getNodeBlocks;
|
|
1048
1108
|
exports.getNodeStatus = getNodeStatus;
|
|
@@ -1072,13 +1132,15 @@ exports.provideScript = provideScript;
|
|
|
1072
1132
|
exports.publicActions = publicActions;
|
|
1073
1133
|
exports.queryAddress = queryAddress;
|
|
1074
1134
|
exports.readTxListWitness = readTxListWitness;
|
|
1075
|
-
exports.
|
|
1135
|
+
exports.removeHomeTxs = removeHomeTxs;
|
|
1076
1136
|
exports.requestDataTrade = requestDataTrade;
|
|
1077
1137
|
exports.requestVme = requestVme;
|
|
1078
1138
|
exports.sendRawTransaction = sendRawTransaction;
|
|
1079
1139
|
exports.setHost = setHost;
|
|
1080
1140
|
exports.setImportAccountTx = setImportAccountTx;
|
|
1081
1141
|
exports.setReliableNode = setReliableNode;
|
|
1142
|
+
exports.shutdown = shutdown;
|
|
1143
|
+
exports.submitDirectCall = submitDirectCall;
|
|
1082
1144
|
exports.subscribeAddress = subscribeAddress;
|
|
1083
1145
|
exports.transfer = transfer;
|
|
1084
1146
|
exports.transferAllRes = transferAllRes;
|
|
@@ -1094,4 +1156,5 @@ exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
|
|
|
1094
1156
|
exports.verifyProofW = verifyProofW;
|
|
1095
1157
|
exports.verifyTxListWitness = verifyTxListWitness;
|
|
1096
1158
|
exports.viewVme = viewVme;
|
|
1159
|
+
exports.waitHomeTxChange = waitHomeTxChange;
|
|
1097
1160
|
exports.walletActions = walletActions;
|