@locuschain/lib 0.2.6 → 0.2.7
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/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/getHoldTxDir.d.cts +3 -0
- package/dist/autogen/actions/public/getHoldTxDir.d.mts +3 -0
- package/dist/autogen/actions/public/getHoldTxFlushSeq.d.cts +3 -0
- package/dist/autogen/actions/public/getHoldTxFlushSeq.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 +6 -2
- package/dist/autogen/actions/public/index.d.mts +6 -2
- package/dist/autogen/actions/public/shutdown.d.cts +3 -0
- package/dist/autogen/actions/public/shutdown.d.mts +3 -0
- package/dist/autogen/index.amd.js +10 -3
- package/dist/autogen/index.cjs.cjs +11 -4
- package/dist/autogen/index.esm.js +3 -3
- package/dist/autogen/publicActions.d.cts +8 -4
- package/dist/autogen/publicActions.d.mts +8 -4
- package/dist/autogen/rpc-api-spec.d.cts +14 -6
- package/dist/autogen/rpc-api-spec.d.mts +14 -6
- 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/rpc/index.d.cts +8 -4
- package/dist/autogen/types/rpc/index.d.mts +8 -4
- 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/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-get-hold-tx-dir-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-hold-tx-dir-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-hold-tx-flush-seq-result.d.cts +4 -0
- package/dist/autogen/types/rpc/rpc-get-hold-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/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-BWgEnPR5.js → debugWalletActions-BYqoNvYZ.js} +44 -8
- package/dist/chunks/{debugWalletActions-Dh5poX8K.js → debugWalletActions-DNB4coHM.js} +39 -7
- package/dist/chunks/{debugWalletActions-CjqVQSZX.cjs → debugWalletActions-WhGBP-BW.cjs} +44 -8
- 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/{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 +6 -2
- package/dist/clients/createLocusPublicClient.d.mts +6 -2
- package/dist/clients/index.amd.js +1 -1
- package/dist/clients/index.cjs.cjs +1 -1
- package/dist/clients/index.esm.js +1 -1
- package/dist/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 +3 -3
- package/dist/index.esm.js +3 -3
- 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/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
|
@@ -7,8 +7,8 @@ export * from './params-account-history.cjs';
|
|
|
7
7
|
export * from './params-accounts.cjs';
|
|
8
8
|
export * from './params-become-guest.cjs';
|
|
9
9
|
export * from './params-become-host.cjs';
|
|
10
|
-
export * from './params-calculate-
|
|
11
|
-
export * from './params-calculate-
|
|
10
|
+
export * from './params-calculate-available-by-forward.cjs';
|
|
11
|
+
export * from './params-calculate-available-by-forward-list.cjs';
|
|
12
12
|
export * from './params-call-vme.cjs';
|
|
13
13
|
export * from './params-change-key.cjs';
|
|
14
14
|
export * from './params-change-vkey.cjs';
|
|
@@ -69,8 +69,8 @@ export * from './params-vme-log.cjs';
|
|
|
69
69
|
export * from './result-dump-accounts.cjs';
|
|
70
70
|
export * from './round-state-detail.cjs';
|
|
71
71
|
export * from './rpc-bool-result.cjs';
|
|
72
|
-
export * from './rpc-calculate-
|
|
73
|
-
export * from './rpc-calculate-
|
|
72
|
+
export * from './rpc-calculate-available-by-forward-list-result.cjs';
|
|
73
|
+
export * from './rpc-calculate-available-by-forward-result.cjs';
|
|
74
74
|
export * from './rpc-create-account-result.cjs';
|
|
75
75
|
export * from './rpc-create-node-result.cjs';
|
|
76
76
|
export * from './rpc-create-tx-result.cjs';
|
|
@@ -87,11 +87,14 @@ export * from './rpc-get-accounts-heights-result.cjs';
|
|
|
87
87
|
export * from './rpc-get-concise-node-status-result.cjs';
|
|
88
88
|
export * from './rpc-get-genesis-account-result.cjs';
|
|
89
89
|
export * from './rpc-get-guests-info-result.cjs';
|
|
90
|
+
export * from './rpc-get-hold-tx-dir-result.cjs';
|
|
91
|
+
export * from './rpc-get-hold-tx-flush-seq-result.cjs';
|
|
90
92
|
export * from './rpc-get-home-shard-result.cjs';
|
|
91
93
|
export * from './rpc-get-identity-proof-result.cjs';
|
|
92
94
|
export * from './rpc-get-import-account-result.cjs';
|
|
93
95
|
export * from './rpc-get-inactive-tx-list-result.cjs';
|
|
94
96
|
export * from './rpc-get-keys-result.cjs';
|
|
97
|
+
export * from './rpc-get-launch-command-result.cjs';
|
|
95
98
|
export * from './rpc-get-mont-info-list-result.cjs';
|
|
96
99
|
export * from './rpc-get-node-blocks-result.cjs';
|
|
97
100
|
export * from './rpc-get-node-status-result.cjs';
|
|
@@ -111,6 +114,7 @@ export * from './rpc-read-tx-list-witness-result.cjs';
|
|
|
111
114
|
export * from './rpc-request-vme-result.cjs';
|
|
112
115
|
export * from './rpc-send-raw-transaction-result.cjs';
|
|
113
116
|
export * from './rpc-set-import-account-tx-result.cjs';
|
|
117
|
+
export * from './rpc-shutdown-result.cjs';
|
|
114
118
|
export * from './rpc-subscribe-address-result.cjs';
|
|
115
119
|
export * from './rpc-verify-and-sign-challenge-result.cjs';
|
|
116
120
|
export * from './rpc-verify-identity-proof-result.cjs';
|
|
@@ -7,8 +7,8 @@ export * from './params-account-history.mjs';
|
|
|
7
7
|
export * from './params-accounts.mjs';
|
|
8
8
|
export * from './params-become-guest.mjs';
|
|
9
9
|
export * from './params-become-host.mjs';
|
|
10
|
-
export * from './params-calculate-
|
|
11
|
-
export * from './params-calculate-
|
|
10
|
+
export * from './params-calculate-available-by-forward.mjs';
|
|
11
|
+
export * from './params-calculate-available-by-forward-list.mjs';
|
|
12
12
|
export * from './params-call-vme.mjs';
|
|
13
13
|
export * from './params-change-key.mjs';
|
|
14
14
|
export * from './params-change-vkey.mjs';
|
|
@@ -69,8 +69,8 @@ export * from './params-vme-log.mjs';
|
|
|
69
69
|
export * from './result-dump-accounts.mjs';
|
|
70
70
|
export * from './round-state-detail.mjs';
|
|
71
71
|
export * from './rpc-bool-result.mjs';
|
|
72
|
-
export * from './rpc-calculate-
|
|
73
|
-
export * from './rpc-calculate-
|
|
72
|
+
export * from './rpc-calculate-available-by-forward-list-result.mjs';
|
|
73
|
+
export * from './rpc-calculate-available-by-forward-result.mjs';
|
|
74
74
|
export * from './rpc-create-account-result.mjs';
|
|
75
75
|
export * from './rpc-create-node-result.mjs';
|
|
76
76
|
export * from './rpc-create-tx-result.mjs';
|
|
@@ -87,11 +87,14 @@ export * from './rpc-get-accounts-heights-result.mjs';
|
|
|
87
87
|
export * from './rpc-get-concise-node-status-result.mjs';
|
|
88
88
|
export * from './rpc-get-genesis-account-result.mjs';
|
|
89
89
|
export * from './rpc-get-guests-info-result.mjs';
|
|
90
|
+
export * from './rpc-get-hold-tx-dir-result.mjs';
|
|
91
|
+
export * from './rpc-get-hold-tx-flush-seq-result.mjs';
|
|
90
92
|
export * from './rpc-get-home-shard-result.mjs';
|
|
91
93
|
export * from './rpc-get-identity-proof-result.mjs';
|
|
92
94
|
export * from './rpc-get-import-account-result.mjs';
|
|
93
95
|
export * from './rpc-get-inactive-tx-list-result.mjs';
|
|
94
96
|
export * from './rpc-get-keys-result.mjs';
|
|
97
|
+
export * from './rpc-get-launch-command-result.mjs';
|
|
95
98
|
export * from './rpc-get-mont-info-list-result.mjs';
|
|
96
99
|
export * from './rpc-get-node-blocks-result.mjs';
|
|
97
100
|
export * from './rpc-get-node-status-result.mjs';
|
|
@@ -111,6 +114,7 @@ export * from './rpc-read-tx-list-witness-result.mjs';
|
|
|
111
114
|
export * from './rpc-request-vme-result.mjs';
|
|
112
115
|
export * from './rpc-send-raw-transaction-result.mjs';
|
|
113
116
|
export * from './rpc-set-import-account-tx-result.mjs';
|
|
117
|
+
export * from './rpc-shutdown-result.mjs';
|
|
114
118
|
export * from './rpc-subscribe-address-result.mjs';
|
|
115
119
|
export * from './rpc-verify-and-sign-challenge-result.mjs';
|
|
116
120
|
export * from './rpc-verify-identity-proof-result.mjs';
|
|
@@ -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;
|
|
@@ -15,16 +15,16 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// Automatically generated file. DO NOT EDIT.
|
|
18
|
-
function
|
|
18
|
+
function calculateAvailableByForward(client, param) {
|
|
19
19
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
-
return client.request({ method: '
|
|
20
|
+
return client.request({ method: 'locus_calculateAvailableByForward', params: [param] });
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// Automatically generated file. DO NOT EDIT.
|
|
25
|
-
function
|
|
25
|
+
function calculateAvailableByForwardList(client, param) {
|
|
26
26
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
27
|
-
return client.request({ method: '
|
|
27
|
+
return client.request({ method: 'locus_calculateAvailableByForwardList', params: [param] });
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -112,6 +112,20 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
// Automatically generated file. DO NOT EDIT.
|
|
116
|
+
function getHoldTxDir(client) {
|
|
117
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
118
|
+
return client.request({ method: 'locus_getHoldTxDir', params: [] });
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Automatically generated file. DO NOT EDIT.
|
|
123
|
+
function getHoldTxFlushSeq(client) {
|
|
124
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
125
|
+
return client.request({ method: 'locus_getHoldTxFlushSeq', params: [] });
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
|
|
115
129
|
// Automatically generated file. DO NOT EDIT.
|
|
116
130
|
function getIdentityProof(client, param) {
|
|
117
131
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -126,6 +140,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
126
140
|
});
|
|
127
141
|
}
|
|
128
142
|
|
|
143
|
+
// Automatically generated file. DO NOT EDIT.
|
|
144
|
+
function getLaunchCommand(client) {
|
|
145
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
return client.request({ method: 'locus_getLaunchCommand', params: [] });
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
|
|
129
150
|
// Automatically generated file. DO NOT EDIT.
|
|
130
151
|
function getMontInfoList(client, param) {
|
|
131
152
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -238,6 +259,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
238
259
|
});
|
|
239
260
|
}
|
|
240
261
|
|
|
262
|
+
// Automatically generated file. DO NOT EDIT.
|
|
263
|
+
function shutdown(client) {
|
|
264
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
265
|
+
return client.request({ method: 'locus_shutdown', params: [] });
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
|
|
241
269
|
// Automatically generated file. DO NOT EDIT.
|
|
242
270
|
function subscribeAddress(client, params) {
|
|
243
271
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -298,8 +326,8 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
298
326
|
const publicActions = (client) => ({
|
|
299
327
|
accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
|
|
300
328
|
accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
|
|
301
|
-
|
|
302
|
-
|
|
329
|
+
calculateAvailableByForward: (param) => calculateAvailableByForward(client, param),
|
|
330
|
+
calculateAvailableByForwardList: (param) => calculateAvailableByForwardList(client, param),
|
|
303
331
|
clientMessage: (param) => clientMessage(client, param),
|
|
304
332
|
downloadAccountTxs: (param) => downloadAccountTxs(client, param),
|
|
305
333
|
echo: (str) => echo$1(client, str),
|
|
@@ -312,8 +340,11 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
312
340
|
getAccountTokenList: (params) => getAccountTokenList(client, params),
|
|
313
341
|
getConciseNodeStatus: () => getConciseNodeStatus(client),
|
|
314
342
|
getGenesisAccount: () => getGenesisAccount(client),
|
|
343
|
+
getHoldTxDir: () => getHoldTxDir(client),
|
|
344
|
+
getHoldTxFlushSeq: () => getHoldTxFlushSeq(client),
|
|
315
345
|
getIdentityProof: (param) => getIdentityProof(client, param),
|
|
316
346
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
347
|
+
getLaunchCommand: () => getLaunchCommand(client),
|
|
317
348
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
318
349
|
getNodeStatus: () => getNodeStatus(client),
|
|
319
350
|
getNodeVersion: () => getNodeVersion(client),
|
|
@@ -330,6 +361,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
330
361
|
queryAddress: (params) => queryAddress(client, params),
|
|
331
362
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
332
363
|
setHost: (param) => setHost(client, param),
|
|
364
|
+
shutdown: () => shutdown(client),
|
|
333
365
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
334
366
|
upliftProofW: (params) => upliftProofW(client, params),
|
|
335
367
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
@@ -995,8 +1027,8 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
995
1027
|
exports.balanceList = balanceList;
|
|
996
1028
|
exports.becomeGuest = becomeGuest;
|
|
997
1029
|
exports.becomeHost = becomeHost;
|
|
998
|
-
exports.
|
|
999
|
-
exports.
|
|
1030
|
+
exports.calculateAvailableByForward = calculateAvailableByForward;
|
|
1031
|
+
exports.calculateAvailableByForwardList = calculateAvailableByForwardList;
|
|
1000
1032
|
exports.callContract = callContract;
|
|
1001
1033
|
exports.callVme = callVme;
|
|
1002
1034
|
exports.changeKey = changeKey;
|
|
@@ -1033,12 +1065,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
1033
1065
|
exports.getConciseNodeStatus = getConciseNodeStatus;
|
|
1034
1066
|
exports.getGenesisAccount = getGenesisAccount;
|
|
1035
1067
|
exports.getGuestsInfo = getGuestsInfo;
|
|
1068
|
+
exports.getHoldTxDir = getHoldTxDir;
|
|
1069
|
+
exports.getHoldTxFlushSeq = getHoldTxFlushSeq;
|
|
1036
1070
|
exports.getHomeShard = getHomeShard;
|
|
1037
1071
|
exports.getIdentityProof = getIdentityProof;
|
|
1038
1072
|
exports.getImportAccount = getImportAccount;
|
|
1039
1073
|
exports.getImportAccountLog = getImportAccountLog;
|
|
1040
1074
|
exports.getInactiveTxList = getInactiveTxList;
|
|
1041
1075
|
exports.getKeys = getKeys;
|
|
1076
|
+
exports.getLaunchCommand = getLaunchCommand;
|
|
1042
1077
|
exports.getMontInfoList = getMontInfoList;
|
|
1043
1078
|
exports.getNodeBlocks = getNodeBlocks;
|
|
1044
1079
|
exports.getNodeStatus = getNodeStatus;
|
|
@@ -1075,6 +1110,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
1075
1110
|
exports.setHost = setHost;
|
|
1076
1111
|
exports.setImportAccountTx = setImportAccountTx;
|
|
1077
1112
|
exports.setReliableNode = setReliableNode;
|
|
1113
|
+
exports.shutdown = shutdown;
|
|
1078
1114
|
exports.subscribeAddress = subscribeAddress;
|
|
1079
1115
|
exports.transfer = transfer;
|
|
1080
1116
|
exports.transferAllRes = transferAllRes;
|
|
@@ -17,16 +17,16 @@ function accountHeightsToUpload(client, param) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
// Automatically generated file. DO NOT EDIT.
|
|
20
|
-
function
|
|
20
|
+
function calculateAvailableByForward(client, param) {
|
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
return client.request({ method: '
|
|
22
|
+
return client.request({ method: 'locus_calculateAvailableByForward', params: [param] });
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// Automatically generated file. DO NOT EDIT.
|
|
27
|
-
function
|
|
27
|
+
function calculateAvailableByForwardList(client, param) {
|
|
28
28
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
return client.request({ method: '
|
|
29
|
+
return client.request({ method: 'locus_calculateAvailableByForwardList', params: [param] });
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -114,6 +114,20 @@ function getGenesisAccount(client) {
|
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
// Automatically generated file. DO NOT EDIT.
|
|
118
|
+
function getHoldTxDir(client) {
|
|
119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
return client.request({ method: 'locus_getHoldTxDir', params: [] });
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Automatically generated file. DO NOT EDIT.
|
|
125
|
+
function getHoldTxFlushSeq(client) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
return client.request({ method: 'locus_getHoldTxFlushSeq', params: [] });
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
|
|
117
131
|
// Automatically generated file. DO NOT EDIT.
|
|
118
132
|
function getIdentityProof(client, param) {
|
|
119
133
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -128,6 +142,13 @@ function getInactiveTxList(client, param) {
|
|
|
128
142
|
});
|
|
129
143
|
}
|
|
130
144
|
|
|
145
|
+
// Automatically generated file. DO NOT EDIT.
|
|
146
|
+
function getLaunchCommand(client) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
return client.request({ method: 'locus_getLaunchCommand', params: [] });
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
|
|
131
152
|
// Automatically generated file. DO NOT EDIT.
|
|
132
153
|
function getMontInfoList(client, param) {
|
|
133
154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -240,6 +261,13 @@ function setHost(client, param) {
|
|
|
240
261
|
});
|
|
241
262
|
}
|
|
242
263
|
|
|
264
|
+
// Automatically generated file. DO NOT EDIT.
|
|
265
|
+
function shutdown(client) {
|
|
266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
267
|
+
return client.request({ method: 'locus_shutdown', params: [] });
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
|
|
243
271
|
// Automatically generated file. DO NOT EDIT.
|
|
244
272
|
function subscribeAddress(client, params) {
|
|
245
273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -300,8 +328,8 @@ function verifyTxListWitness(client, params) {
|
|
|
300
328
|
const publicActions = (client) => ({
|
|
301
329
|
accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
|
|
302
330
|
accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
|
|
303
|
-
|
|
304
|
-
|
|
331
|
+
calculateAvailableByForward: (param) => calculateAvailableByForward(client, param),
|
|
332
|
+
calculateAvailableByForwardList: (param) => calculateAvailableByForwardList(client, param),
|
|
305
333
|
clientMessage: (param) => clientMessage(client, param),
|
|
306
334
|
downloadAccountTxs: (param) => downloadAccountTxs(client, param),
|
|
307
335
|
echo: (str) => echo$1(client, str),
|
|
@@ -314,8 +342,11 @@ const publicActions = (client) => ({
|
|
|
314
342
|
getAccountTokenList: (params) => getAccountTokenList(client, params),
|
|
315
343
|
getConciseNodeStatus: () => getConciseNodeStatus(client),
|
|
316
344
|
getGenesisAccount: () => getGenesisAccount(client),
|
|
345
|
+
getHoldTxDir: () => getHoldTxDir(client),
|
|
346
|
+
getHoldTxFlushSeq: () => getHoldTxFlushSeq(client),
|
|
317
347
|
getIdentityProof: (param) => getIdentityProof(client, param),
|
|
318
348
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
349
|
+
getLaunchCommand: () => getLaunchCommand(client),
|
|
319
350
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
320
351
|
getNodeStatus: () => getNodeStatus(client),
|
|
321
352
|
getNodeVersion: () => getNodeVersion(client),
|
|
@@ -332,6 +363,7 @@ const publicActions = (client) => ({
|
|
|
332
363
|
queryAddress: (params) => queryAddress(client, params),
|
|
333
364
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
334
365
|
setHost: (param) => setHost(client, param),
|
|
366
|
+
shutdown: () => shutdown(client),
|
|
335
367
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
336
368
|
upliftProofW: (params) => upliftProofW(client, params),
|
|
337
369
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
@@ -989,4 +1021,4 @@ const debugWalletActions = (client) => ({
|
|
|
989
1021
|
postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
|
|
990
1022
|
});
|
|
991
1023
|
|
|
992
|
-
export { forwardAssetObject as $, nodeCmd as A, postDataToSynthAccount as B, removeHoldTxs as C, requestVme as D, sendRawTransaction as E, setImportAccountTx as F, setReliableNode as G, viewVme as H, acceptScript as I, accountHeightsToDownload as J, accountHeightsToUpload as K, becomeGuest as L, becomeHost as M,
|
|
1024
|
+
export { forwardAssetObject as $, nodeCmd as A, postDataToSynthAccount as B, removeHoldTxs as C, requestVme as D, sendRawTransaction as E, setImportAccountTx as F, setReliableNode as G, viewVme as H, acceptScript as I, accountHeightsToDownload as J, accountHeightsToUpload as K, becomeGuest as L, becomeHost as M, calculateAvailableByForward as N, calculateAvailableByForwardList as O, changeKey as P, changeVkey as Q, clientMessage as R, closeAccount as S, createAssetObject as T, createToken as U, createVme as V, debugPublicActions as W, debugWalletActions as X, downloadAccountTxs as Y, echo$1 as Z, findDuplicateSubscriber as _, allHeights as a, forwardCoin as a0, forwardToken as a1, freezeAccount as a2, generateLatestStoredDataProof as a3, getAccountAssetList as a4, getAccountAssetObject as a5, getAccountDetail as a6, getAccountHistory as a7, getAccountTokenList as a8, getConciseNodeStatus as a9, requestDataTrade as aA, setHost as aB, shutdown as aC, subscribeAddress as aD, transfer as aE, transferAllRes as aF, transferAssetObject as aG, transferCoin as aH, transferToken as aI, unlockStake as aJ, upliftProofW as aK, uploadAccountTxs as aL, verifyAndSignChallenge as aM, verifyIdentityProof as aN, verifyLatestStoredDataProof as aO, verifyProofW as aP, verifyTxListWitness as aQ, walletActions as aR, getGenesisAccount as aa, getHoldTxDir as ab, getHoldTxFlushSeq as ac, getIdentityProof as ad, getInactiveTxList as ae, getLaunchCommand as af, getMontInfoList as ag, getNodeStatus as ah, getNodeVersion as ai, getOwnerBalance as aj, getRoundState as ak, getRoundStatesList as al, getShardOfAccount as am, getSyncState as an, getTx as ao, getWorldRoundState as ap, getWorldRoundStatesList as aq, hasSystemToken as ar, lockStake as as, makeTxProof as at, openAccount as au, postData as av, provideScript as aw, publicActions as ax, queryAddress as ay, readTxListWitness as az, balanceGrantList as b, balanceList as c, callContract as d, callVme as e, createAccount as f, createContract as g, createNode as h, createSynthAccount as i, dumpAllAccounts as j, echo as k, gameChainCmd as l, getAccountsBalances as m, getAccountsHeights as n, getGuestsInfo as o, getHomeShard as p, getImportAccount as q, getImportAccountLog as r, getKeys as s, getNodeBlocks as t, getPeerPool as u, getPeersInfo as v, getVmeLog as w, importAccount as x, initReliableNodes as y, noArgsRets as z };
|
|
@@ -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 getHoldTxDir(client) {
|
|
121
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
return client.request({ method: 'locus_getHoldTxDir', params: [] });
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Automatically generated file. DO NOT EDIT.
|
|
127
|
+
function getHoldTxFlushSeq(client) {
|
|
128
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
return client.request({ method: 'locus_getHoldTxFlushSeq', 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* () {
|
|
@@ -302,8 +330,8 @@ function verifyTxListWitness(client, params) {
|
|
|
302
330
|
const publicActions = (client) => ({
|
|
303
331
|
accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
|
|
304
332
|
accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
|
|
305
|
-
|
|
306
|
-
|
|
333
|
+
calculateAvailableByForward: (param) => calculateAvailableByForward(client, param),
|
|
334
|
+
calculateAvailableByForwardList: (param) => calculateAvailableByForwardList(client, param),
|
|
307
335
|
clientMessage: (param) => clientMessage(client, param),
|
|
308
336
|
downloadAccountTxs: (param) => downloadAccountTxs(client, param),
|
|
309
337
|
echo: (str) => echo$1(client, str),
|
|
@@ -316,8 +344,11 @@ const publicActions = (client) => ({
|
|
|
316
344
|
getAccountTokenList: (params) => getAccountTokenList(client, params),
|
|
317
345
|
getConciseNodeStatus: () => getConciseNodeStatus(client),
|
|
318
346
|
getGenesisAccount: () => getGenesisAccount(client),
|
|
347
|
+
getHoldTxDir: () => getHoldTxDir(client),
|
|
348
|
+
getHoldTxFlushSeq: () => getHoldTxFlushSeq(client),
|
|
319
349
|
getIdentityProof: (param) => getIdentityProof(client, param),
|
|
320
350
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
351
|
+
getLaunchCommand: () => getLaunchCommand(client),
|
|
321
352
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
322
353
|
getNodeStatus: () => getNodeStatus(client),
|
|
323
354
|
getNodeVersion: () => getNodeVersion(client),
|
|
@@ -334,6 +365,7 @@ const publicActions = (client) => ({
|
|
|
334
365
|
queryAddress: (params) => queryAddress(client, params),
|
|
335
366
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
336
367
|
setHost: (param) => setHost(client, param),
|
|
368
|
+
shutdown: () => shutdown(client),
|
|
337
369
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
338
370
|
upliftProofW: (params) => upliftProofW(client, params),
|
|
339
371
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
@@ -999,8 +1031,8 @@ exports.balanceGrantList = balanceGrantList;
|
|
|
999
1031
|
exports.balanceList = balanceList;
|
|
1000
1032
|
exports.becomeGuest = becomeGuest;
|
|
1001
1033
|
exports.becomeHost = becomeHost;
|
|
1002
|
-
exports.
|
|
1003
|
-
exports.
|
|
1034
|
+
exports.calculateAvailableByForward = calculateAvailableByForward;
|
|
1035
|
+
exports.calculateAvailableByForwardList = calculateAvailableByForwardList;
|
|
1004
1036
|
exports.callContract = callContract;
|
|
1005
1037
|
exports.callVme = callVme;
|
|
1006
1038
|
exports.changeKey = changeKey;
|
|
@@ -1037,12 +1069,15 @@ exports.getAccountsHeights = getAccountsHeights;
|
|
|
1037
1069
|
exports.getConciseNodeStatus = getConciseNodeStatus;
|
|
1038
1070
|
exports.getGenesisAccount = getGenesisAccount;
|
|
1039
1071
|
exports.getGuestsInfo = getGuestsInfo;
|
|
1072
|
+
exports.getHoldTxDir = getHoldTxDir;
|
|
1073
|
+
exports.getHoldTxFlushSeq = getHoldTxFlushSeq;
|
|
1040
1074
|
exports.getHomeShard = getHomeShard;
|
|
1041
1075
|
exports.getIdentityProof = getIdentityProof;
|
|
1042
1076
|
exports.getImportAccount = getImportAccount;
|
|
1043
1077
|
exports.getImportAccountLog = getImportAccountLog;
|
|
1044
1078
|
exports.getInactiveTxList = getInactiveTxList;
|
|
1045
1079
|
exports.getKeys = getKeys;
|
|
1080
|
+
exports.getLaunchCommand = getLaunchCommand;
|
|
1046
1081
|
exports.getMontInfoList = getMontInfoList;
|
|
1047
1082
|
exports.getNodeBlocks = getNodeBlocks;
|
|
1048
1083
|
exports.getNodeStatus = getNodeStatus;
|
|
@@ -1079,6 +1114,7 @@ exports.sendRawTransaction = sendRawTransaction;
|
|
|
1079
1114
|
exports.setHost = setHost;
|
|
1080
1115
|
exports.setImportAccountTx = setImportAccountTx;
|
|
1081
1116
|
exports.setReliableNode = setReliableNode;
|
|
1117
|
+
exports.shutdown = shutdown;
|
|
1082
1118
|
exports.subscribeAddress = subscribeAddress;
|
|
1083
1119
|
exports.transfer = transfer;
|
|
1084
1120
|
exports.transferAllRes = transferAllRes;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createAccountAndKeystore, l as loadMasterKeystore, a as loadNormalKeystore } from './wasm-
|
|
1
|
+
import { c as createAccountAndKeystore, l as loadMasterKeystore, a as loadNormalKeystore } from './wasm-CU215LGW.js';
|
|
2
2
|
import { B as BaseError } from './base-BQXfRsuw.js';
|
|
3
3
|
import { D as DegenerateKeyError } from './account-FZT9LH_s.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './wasm-
|
|
1
|
+
define(['exports', './wasm-gROtmFm6', './base-B_kRRfsf', './account-BSrvZ7S8'], (function (exports, wasm, base, account) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 새 dual-key keystore 를 만들고 결과 JSON array 를 master / normal 두
|