@locuschain/lib 0.2.5 → 0.2.6
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/autogen/actions/public/getNodeVersion.d.cts +3 -0
- package/dist/autogen/actions/public/getNodeVersion.d.mts +3 -0
- package/dist/autogen/actions/public/index.d.cts +3 -0
- package/dist/autogen/actions/public/index.d.mts +3 -0
- package/dist/autogen/actions/public/upliftProofW.d.cts +4 -0
- package/dist/autogen/actions/public/upliftProofW.d.mts +4 -0
- package/dist/autogen/actions/public/verifyProofW.d.cts +3 -0
- package/dist/autogen/actions/public/verifyProofW.d.mts +3 -0
- package/dist/autogen/index.amd.js +4 -1
- package/dist/autogen/index.cjs.cjs +4 -1
- package/dist/autogen/index.esm.js +2 -2
- package/dist/autogen/publicActions.d.cts +5 -0
- package/dist/autogen/publicActions.d.mts +5 -0
- package/dist/autogen/rpc-api-spec.d.cts +7 -0
- package/dist/autogen/rpc-api-spec.d.mts +7 -0
- package/dist/autogen/types/rpc/index.d.cts +4 -0
- package/dist/autogen/types/rpc/index.d.mts +4 -0
- package/dist/autogen/types/rpc/params-uplift-proof-w.d.cts +6 -0
- package/dist/autogen/types/rpc/params-uplift-proof-w.d.mts +6 -0
- package/dist/autogen/types/rpc/params-verify-proof-w.d.cts +6 -0
- package/dist/autogen/types/rpc/params-verify-proof-w.d.mts +6 -0
- package/dist/autogen/types/rpc/rpc-get-node-status-result.d.cts +1 -0
- package/dist/autogen/types/rpc/rpc-get-node-status-result.d.mts +1 -0
- package/dist/autogen/types/rpc/rpc-get-node-version-result.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-get-node-version-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-proof-wresult.d.cts +3 -0
- package/dist/autogen/types/rpc/rpc-proof-wresult.d.mts +3 -0
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/chunks/{debugWalletActions-D3FUuxE6.js → debugWalletActions-BWgEnPR5.js} +27 -0
- package/dist/chunks/{debugWalletActions-DTcup4BP.cjs → debugWalletActions-CjqVQSZX.cjs} +27 -0
- package/dist/chunks/{debugWalletActions-A_93DKNp.js → debugWalletActions-Dh5poX8K.js} +25 -1
- package/dist/clients/createLocusPublicClient.d.cts +3 -0
- package/dist/clients/createLocusPublicClient.d.mts +3 -0
- 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/index.amd.js +1 -1
- package/dist/index.cjs.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export * from './getIdentityProof.cjs';
|
|
|
18
18
|
export * from './getInactiveTxList.cjs';
|
|
19
19
|
export * from './getMontInfoList.cjs';
|
|
20
20
|
export * from './getNodeStatus.cjs';
|
|
21
|
+
export * from './getNodeVersion.cjs';
|
|
21
22
|
export * from './getOwnerBalance.cjs';
|
|
22
23
|
export * from './getRoundState.cjs';
|
|
23
24
|
export * from './getRoundStatesList.cjs';
|
|
@@ -32,8 +33,10 @@ export * from './queryAddress.cjs';
|
|
|
32
33
|
export * from './readTxListWitness.cjs';
|
|
33
34
|
export * from './setHost.cjs';
|
|
34
35
|
export * from './subscribeAddress.cjs';
|
|
36
|
+
export * from './upliftProofW.cjs';
|
|
35
37
|
export * from './uploadAccountTxs.cjs';
|
|
36
38
|
export * from './verifyAndSignChallenge.cjs';
|
|
37
39
|
export * from './verifyIdentityProof.cjs';
|
|
38
40
|
export * from './verifyLatestStoredDataProof.cjs';
|
|
41
|
+
export * from './verifyProofW.cjs';
|
|
39
42
|
export * from './verifyTxListWitness.cjs';
|
|
@@ -18,6 +18,7 @@ export * from './getIdentityProof.mjs';
|
|
|
18
18
|
export * from './getInactiveTxList.mjs';
|
|
19
19
|
export * from './getMontInfoList.mjs';
|
|
20
20
|
export * from './getNodeStatus.mjs';
|
|
21
|
+
export * from './getNodeVersion.mjs';
|
|
21
22
|
export * from './getOwnerBalance.mjs';
|
|
22
23
|
export * from './getRoundState.mjs';
|
|
23
24
|
export * from './getRoundStatesList.mjs';
|
|
@@ -32,8 +33,10 @@ export * from './queryAddress.mjs';
|
|
|
32
33
|
export * from './readTxListWitness.mjs';
|
|
33
34
|
export * from './setHost.mjs';
|
|
34
35
|
export * from './subscribeAddress.mjs';
|
|
36
|
+
export * from './upliftProofW.mjs';
|
|
35
37
|
export * from './uploadAccountTxs.mjs';
|
|
36
38
|
export * from './verifyAndSignChallenge.mjs';
|
|
37
39
|
export * from './verifyIdentityProof.mjs';
|
|
38
40
|
export * from './verifyLatestStoredDataProof.mjs';
|
|
41
|
+
export * from './verifyProofW.mjs';
|
|
39
42
|
export * from './verifyTxListWitness.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsUpliftProofW } from '../../types/rpc/params-uplift-proof-w.cjs';
|
|
2
|
+
import { RpcProofWResult } from '../../types/rpc/rpc-proof-wresult.cjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.cjs';
|
|
4
|
+
export declare function upliftProofW(client: Client, params: ParamsUpliftProofW): Promise<RpcProofWResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsUpliftProofW } from '../../types/rpc/params-uplift-proof-w.mjs';
|
|
2
|
+
import { RpcProofWResult } from '../../types/rpc/rpc-proof-wresult.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function upliftProofW(client: Client, params: ParamsUpliftProofW): Promise<RpcProofWResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-
|
|
1
|
+
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BWgEnPR5', '../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
|
|
|
@@ -121,6 +121,7 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-D3FU
|
|
|
121
121
|
exports.getInactiveTxList = debugWalletActions.getInactiveTxList;
|
|
122
122
|
exports.getMontInfoList = debugWalletActions.getMontInfoList;
|
|
123
123
|
exports.getNodeStatus = debugWalletActions.getNodeStatus;
|
|
124
|
+
exports.getNodeVersion = debugWalletActions.getNodeVersion;
|
|
124
125
|
exports.getOwnerBalance = debugWalletActions.getOwnerBalance;
|
|
125
126
|
exports.getRoundState = debugWalletActions.getRoundState;
|
|
126
127
|
exports.getRoundStatesList = debugWalletActions.getRoundStatesList;
|
|
@@ -147,10 +148,12 @@ define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-D3FU
|
|
|
147
148
|
exports.transferCoin = debugWalletActions.transferCoin;
|
|
148
149
|
exports.transferToken = debugWalletActions.transferToken;
|
|
149
150
|
exports.unlockStake = debugWalletActions.unlockStake;
|
|
151
|
+
exports.upliftProofW = debugWalletActions.upliftProofW;
|
|
150
152
|
exports.uploadAccountTxs = debugWalletActions.uploadAccountTxs;
|
|
151
153
|
exports.verifyAndSignChallenge = debugWalletActions.verifyAndSignChallenge;
|
|
152
154
|
exports.verifyIdentityProof = debugWalletActions.verifyIdentityProof;
|
|
153
155
|
exports.verifyLatestStoredDataProof = debugWalletActions.verifyLatestStoredDataProof;
|
|
156
|
+
exports.verifyProofW = debugWalletActions.verifyProofW;
|
|
154
157
|
exports.verifyTxListWitness = debugWalletActions.verifyTxListWitness;
|
|
155
158
|
exports.walletActions = debugWalletActions.walletActions;
|
|
156
159
|
exports.debug = index;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
4
|
-
var debugWalletActions = require('../chunks/debugWalletActions-
|
|
4
|
+
var debugWalletActions = require('../chunks/debugWalletActions-CjqVQSZX.cjs');
|
|
5
5
|
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
6
6
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
7
7
|
require('../chunks/rpc-DwWIkUva.cjs');
|
|
@@ -129,6 +129,7 @@ exports.getIdentityProof = debugWalletActions.getIdentityProof;
|
|
|
129
129
|
exports.getInactiveTxList = debugWalletActions.getInactiveTxList;
|
|
130
130
|
exports.getMontInfoList = debugWalletActions.getMontInfoList;
|
|
131
131
|
exports.getNodeStatus = debugWalletActions.getNodeStatus;
|
|
132
|
+
exports.getNodeVersion = debugWalletActions.getNodeVersion;
|
|
132
133
|
exports.getOwnerBalance = debugWalletActions.getOwnerBalance;
|
|
133
134
|
exports.getRoundState = debugWalletActions.getRoundState;
|
|
134
135
|
exports.getRoundStatesList = debugWalletActions.getRoundStatesList;
|
|
@@ -155,10 +156,12 @@ exports.transferAssetObject = debugWalletActions.transferAssetObject;
|
|
|
155
156
|
exports.transferCoin = debugWalletActions.transferCoin;
|
|
156
157
|
exports.transferToken = debugWalletActions.transferToken;
|
|
157
158
|
exports.unlockStake = debugWalletActions.unlockStake;
|
|
159
|
+
exports.upliftProofW = debugWalletActions.upliftProofW;
|
|
158
160
|
exports.uploadAccountTxs = debugWalletActions.uploadAccountTxs;
|
|
159
161
|
exports.verifyAndSignChallenge = debugWalletActions.verifyAndSignChallenge;
|
|
160
162
|
exports.verifyIdentityProof = debugWalletActions.verifyIdentityProof;
|
|
161
163
|
exports.verifyLatestStoredDataProof = debugWalletActions.verifyLatestStoredDataProof;
|
|
164
|
+
exports.verifyProofW = debugWalletActions.verifyProofW;
|
|
162
165
|
exports.verifyTxListWitness = debugWalletActions.verifyTxListWitness;
|
|
163
166
|
exports.walletActions = debugWalletActions.walletActions;
|
|
164
167
|
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 decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof, T as verifyTx } from '../chunks/wasm-CLXJDrJA.js';
|
|
2
|
-
import { a as allHeights, b as balanceGrantList, c as balanceList, d as callContract, e as callVme, f as createAccount, g as createContract, h as createNode, i as createSynthAccount, j as dumpAllAccounts, k as echo, l as gameChainCmd, m as getAccountsBalances, n as getAccountsHeights, o as getGuestsInfo, p as getHomeShard, q as getImportAccount, r as getImportAccountLog, s as getKeys, t as getNodeBlocks, u as getPeerPool, v as getPeersInfo, w as getVmeLog, x as importAccount, y as initReliableNodes, z as noArgsRets, A as nodeCmd, B as postDataToSynthAccount, C as removeHoldTxs, D as requestVme, E as sendRawTransaction, F as setImportAccountTx, G as setReliableNode, H as viewVme } from '../chunks/debugWalletActions-
|
|
3
|
-
export { I as acceptScript, J as accountHeightsToDownload, K as accountHeightsToUpload, L as becomeGuest, M as becomeHost, N as calculateSpentByForward, O as calculateSpentByForwardList, P as changeKey, Q as changeVkey, R as clientMessage, S as closeAccount, T as createAssetObject, U as createToken, V as createVme, W as debugPublicActions, X as debugWalletActions, Y as downloadAccountTxs, Z as echo, _ as findDuplicateSubscriber, $ as forwardAssetObject, a0 as forwardCoin, a1 as forwardToken, a2 as freezeAccount, a3 as generateLatestStoredDataProof, a4 as getAccountAssetList, a5 as getAccountAssetObject, a6 as getAccountDetail, a7 as getAccountHistory, a8 as getAccountTokenList, a9 as getConciseNodeStatus, aa as getGenesisAccount, ab as getIdentityProof, ac as getInactiveTxList, ad as getMontInfoList, ae as getNodeStatus, af as
|
|
2
|
+
import { a as allHeights, b as balanceGrantList, c as balanceList, d as callContract, e as callVme, f as createAccount, g as createContract, h as createNode, i as createSynthAccount, j as dumpAllAccounts, k as echo, l as gameChainCmd, m as getAccountsBalances, n as getAccountsHeights, o as getGuestsInfo, p as getHomeShard, q as getImportAccount, r as getImportAccountLog, s as getKeys, t as getNodeBlocks, u as getPeerPool, v as getPeersInfo, w as getVmeLog, x as importAccount, y as initReliableNodes, z as noArgsRets, A as nodeCmd, B as postDataToSynthAccount, C as removeHoldTxs, D as requestVme, E as sendRawTransaction, F as setImportAccountTx, G as setReliableNode, H as viewVme } from '../chunks/debugWalletActions-Dh5poX8K.js';
|
|
3
|
+
export { I as acceptScript, J as accountHeightsToDownload, K as accountHeightsToUpload, L as becomeGuest, M as becomeHost, N as calculateSpentByForward, O as calculateSpentByForwardList, P as changeKey, Q as changeVkey, R as clientMessage, S as closeAccount, T as createAssetObject, U as createToken, V as createVme, W as debugPublicActions, X as debugWalletActions, Y as downloadAccountTxs, Z as echo, _ as findDuplicateSubscriber, $ as forwardAssetObject, a0 as forwardCoin, a1 as forwardToken, a2 as freezeAccount, a3 as generateLatestStoredDataProof, a4 as getAccountAssetList, a5 as getAccountAssetObject, a6 as getAccountDetail, a7 as getAccountHistory, a8 as getAccountTokenList, a9 as getConciseNodeStatus, aa as getGenesisAccount, ab as getIdentityProof, ac as getInactiveTxList, ad as getMontInfoList, ae as getNodeStatus, af as getNodeVersion, ag as getOwnerBalance, ah as getRoundState, ai as getRoundStatesList, aj as getShardOfAccount, ak as getSyncState, al as getTx, am as getWorldRoundState, an as getWorldRoundStatesList, ao as hasSystemToken, ap as lockStake, aq as makeTxProof, ar as openAccount, as as postData, at as provideScript, au as publicActions, av as queryAddress, aw as readTxListWitness, ax as requestDataTrade, ay as setHost, az as subscribeAddress, aA as transfer, aB as transferAllRes, aC as transferAssetObject, aD as transferCoin, aE as transferToken, aF as unlockStake, aG as upliftProofW, aH as uploadAccountTxs, aI as verifyAndSignChallenge, aJ as verifyIdentityProof, aK as verifyLatestStoredDataProof, aL as verifyProofW, aM as verifyTxListWitness, aN as walletActions } from '../chunks/debugWalletActions-Dh5poX8K.js';
|
|
4
4
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
5
5
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
6
6
|
import '../chunks/rpc-BlPk44QH.js';
|
|
@@ -21,9 +21,11 @@ import type { ParamsSetHost } from './types/rpc/params-set-host.cjs';
|
|
|
21
21
|
import type { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.cjs';
|
|
22
22
|
import type { ParamsTxList } from './types/rpc/params-tx-list.cjs';
|
|
23
23
|
import type { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.cjs';
|
|
24
|
+
import type { ParamsUpliftProofW } from './types/rpc/params-uplift-proof-w.cjs';
|
|
24
25
|
import type { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.cjs';
|
|
25
26
|
import type { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.cjs';
|
|
26
27
|
import type { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.cjs';
|
|
28
|
+
import type { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.cjs';
|
|
27
29
|
import type { Client } from '../clients/types.cjs';
|
|
28
30
|
export declare const publicActions: (client: Client) => {
|
|
29
31
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.cjs").HeightsResult>;
|
|
@@ -46,6 +48,7 @@ export declare const publicActions: (client: Client) => {
|
|
|
46
48
|
getInactiveTxList: (param: ParamsAccount) => Promise<import("../index.cjs").RpcGetInactiveTxListResult>;
|
|
47
49
|
getMontInfoList: (param: ParamsAccount) => Promise<import("../index.cjs").RpcGetMontInfoListResult>;
|
|
48
50
|
getNodeStatus: () => Promise<import("../index.cjs").RpcGetNodeStatusResult>;
|
|
51
|
+
getNodeVersion: () => Promise<import("../index.cjs").RpcGetNodeVersionResult>;
|
|
49
52
|
getOwnerBalance: () => Promise<import("../index.cjs").RpcAccountsBalancesResult[]>;
|
|
50
53
|
getRoundState: (param: ParamsRound) => Promise<import("../index.cjs").RoundStateDetail>;
|
|
51
54
|
getRoundStatesList: (param: ParamsRS) => Promise<import("../index.cjs").RoundStateAbstract[]>;
|
|
@@ -60,9 +63,11 @@ export declare const publicActions: (client: Client) => {
|
|
|
60
63
|
readTxListWitness: (params: ParamsReadTxList) => Promise<import("../index.cjs").RpcReadTxListWitnessResult>;
|
|
61
64
|
setHost: (param: ParamsSetHost) => Promise<boolean>;
|
|
62
65
|
subscribeAddress: (params: ParamsSubscribeAddress) => Promise<import("../index.cjs").RpcSubscribeAddressResult>;
|
|
66
|
+
upliftProofW: (params: ParamsUpliftProofW) => Promise<import("../index.cjs").RpcProofWResult>;
|
|
63
67
|
uploadAccountTxs: (param: ParamsUploadAccountTxs) => Promise<number[]>;
|
|
64
68
|
verifyAndSignChallenge: (param: ParamsVerifyAndSignChallenge) => Promise<import("../index.cjs").RpcVerifyAndSignChallengeResult>;
|
|
65
69
|
verifyIdentityProof: (param: ParamsVerifyIdentityProof) => Promise<import("../index.cjs").RpcVerifyIdentityProofResult>;
|
|
66
70
|
verifyLatestStoredDataProof: (params: ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
71
|
+
verifyProofW: (params: ParamsVerifyProofW) => Promise<boolean>;
|
|
67
72
|
verifyTxListWitness: (params: ParamsTxListWitness) => Promise<boolean>;
|
|
68
73
|
};
|
|
@@ -21,9 +21,11 @@ import type { ParamsSetHost } from './types/rpc/params-set-host.mjs';
|
|
|
21
21
|
import type { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.mjs';
|
|
22
22
|
import type { ParamsTxList } from './types/rpc/params-tx-list.mjs';
|
|
23
23
|
import type { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.mjs';
|
|
24
|
+
import type { ParamsUpliftProofW } from './types/rpc/params-uplift-proof-w.mjs';
|
|
24
25
|
import type { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.mjs';
|
|
25
26
|
import type { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.mjs';
|
|
26
27
|
import type { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.mjs';
|
|
28
|
+
import type { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.mjs';
|
|
27
29
|
import type { Client } from '../clients/types.mjs';
|
|
28
30
|
export declare const publicActions: (client: Client) => {
|
|
29
31
|
accountHeightsToDownload: (param: ParamsAccountHeights) => Promise<import("../index.mjs").HeightsResult>;
|
|
@@ -46,6 +48,7 @@ export declare const publicActions: (client: Client) => {
|
|
|
46
48
|
getInactiveTxList: (param: ParamsAccount) => Promise<import("../index.mjs").RpcGetInactiveTxListResult>;
|
|
47
49
|
getMontInfoList: (param: ParamsAccount) => Promise<import("../index.mjs").RpcGetMontInfoListResult>;
|
|
48
50
|
getNodeStatus: () => Promise<import("../index.mjs").RpcGetNodeStatusResult>;
|
|
51
|
+
getNodeVersion: () => Promise<import("../index.mjs").RpcGetNodeVersionResult>;
|
|
49
52
|
getOwnerBalance: () => Promise<import("../index.mjs").RpcAccountsBalancesResult[]>;
|
|
50
53
|
getRoundState: (param: ParamsRound) => Promise<import("../index.mjs").RoundStateDetail>;
|
|
51
54
|
getRoundStatesList: (param: ParamsRS) => Promise<import("../index.mjs").RoundStateAbstract[]>;
|
|
@@ -60,9 +63,11 @@ export declare const publicActions: (client: Client) => {
|
|
|
60
63
|
readTxListWitness: (params: ParamsReadTxList) => Promise<import("../index.mjs").RpcReadTxListWitnessResult>;
|
|
61
64
|
setHost: (param: ParamsSetHost) => Promise<boolean>;
|
|
62
65
|
subscribeAddress: (params: ParamsSubscribeAddress) => Promise<import("../index.mjs").RpcSubscribeAddressResult>;
|
|
66
|
+
upliftProofW: (params: ParamsUpliftProofW) => Promise<import("../index.mjs").RpcProofWResult>;
|
|
63
67
|
uploadAccountTxs: (param: ParamsUploadAccountTxs) => Promise<number[]>;
|
|
64
68
|
verifyAndSignChallenge: (param: ParamsVerifyAndSignChallenge) => Promise<import("../index.mjs").RpcVerifyAndSignChallengeResult>;
|
|
65
69
|
verifyIdentityProof: (param: ParamsVerifyIdentityProof) => Promise<import("../index.mjs").RpcVerifyIdentityProofResult>;
|
|
66
70
|
verifyLatestStoredDataProof: (params: ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
71
|
+
verifyProofW: (params: ParamsVerifyProofW) => Promise<boolean>;
|
|
67
72
|
verifyTxListWitness: (params: ParamsTxListWitness) => Promise<boolean>;
|
|
68
73
|
};
|
|
@@ -69,9 +69,11 @@ import { ParamsTransfer } from './types/rpc/params-transfer.cjs';
|
|
|
69
69
|
import { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.cjs';
|
|
70
70
|
import { ParamsTxList } from './types/rpc/params-tx-list.cjs';
|
|
71
71
|
import { ParamsUnlockStake } from './types/rpc/params-unlock-stake.cjs';
|
|
72
|
+
import { ParamsUpliftProofW } from './types/rpc/params-uplift-proof-w.cjs';
|
|
72
73
|
import { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.cjs';
|
|
73
74
|
import { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.cjs';
|
|
74
75
|
import { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.cjs';
|
|
76
|
+
import { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.cjs';
|
|
75
77
|
import { ParamsVmeLog } from './types/rpc/params-vme-log.cjs';
|
|
76
78
|
import { ResultDumpAccounts } from './types/rpc/result-dump-accounts.cjs';
|
|
77
79
|
import { RoundStateDetail } from './types/rpc/round-state-detail.cjs';
|
|
@@ -102,6 +104,7 @@ import { RpcGetKeysResult } from './types/rpc/rpc-get-keys-result.cjs';
|
|
|
102
104
|
import { RpcGetMontInfoListResult } from './types/rpc/rpc-get-mont-info-list-result.cjs';
|
|
103
105
|
import { RpcGetNodeBlocksResult } from './types/rpc/rpc-get-node-blocks-result.cjs';
|
|
104
106
|
import { RpcGetNodeStatusResult } from './types/rpc/rpc-get-node-status-result.cjs';
|
|
107
|
+
import { RpcGetNodeVersionResult } from './types/rpc/rpc-get-node-version-result.cjs';
|
|
105
108
|
import { RpcGetShardOfAccountResult } from './types/rpc/rpc-get-shard-of-account-result.cjs';
|
|
106
109
|
import { RpcGetSyncStateResult } from './types/rpc/rpc-get-sync-state-result.cjs';
|
|
107
110
|
import { RpcGetTxResult } from './types/rpc/rpc-get-tx-result.cjs';
|
|
@@ -111,6 +114,7 @@ import { RpcGetWorldRoundStatesListResult } from './types/rpc/rpc-get-world-roun
|
|
|
111
114
|
import { RpcHasSystemTokenResult } from './types/rpc/rpc-has-system-token-result.cjs';
|
|
112
115
|
import { RpcImportAccountResult } from './types/rpc/rpc-import-account-result.cjs';
|
|
113
116
|
import { RpcNodeCmdResult } from './types/rpc/rpc-node-cmd-result.cjs';
|
|
117
|
+
import { RpcProofWResult } from './types/rpc/rpc-proof-wresult.cjs';
|
|
114
118
|
import { RpcQueryAddressResult } from './types/rpc/rpc-query-address-result.cjs';
|
|
115
119
|
import { RpcReadTxListWitnessResult } from './types/rpc/rpc-read-tx-list-witness-result.cjs';
|
|
116
120
|
import { RpcRequestVmeResult } from './types/rpc/rpc-request-vme-result.cjs';
|
|
@@ -189,6 +193,7 @@ export interface RpcApiSpec {
|
|
|
189
193
|
locus_getInactiveTxList(param: ParamsAccount): Promise<RpcGetInactiveTxListResult>;
|
|
190
194
|
locus_getMontInfoList(param: ParamsAccount): Promise<RpcGetMontInfoListResult>;
|
|
191
195
|
locus_getNodeStatus(): Promise<RpcGetNodeStatusResult>;
|
|
196
|
+
locus_getNodeVersion(): Promise<RpcGetNodeVersionResult>;
|
|
192
197
|
locus_getOwnerBalance(): Promise<RpcAccountsBalancesResult[]>;
|
|
193
198
|
locus_getRoundState(param: ParamsRound): Promise<RoundStateDetail>;
|
|
194
199
|
locus_getRoundStatesList(param: ParamsRS): Promise<RoundStateAbstract[]>;
|
|
@@ -214,9 +219,11 @@ export interface RpcApiSpec {
|
|
|
214
219
|
locus_transferCoin(param: ParamsTransferCoin): Promise<RpcCreateTxResult>;
|
|
215
220
|
locus_transferToken(params: ParamsTransferTokens): Promise<RpcCreateTxResult>;
|
|
216
221
|
locus_unlockStake(params: ParamsUnlockStake): Promise<RpcCreateTxResult>;
|
|
222
|
+
locus_upliftProofW(params: ParamsUpliftProofW): Promise<RpcProofWResult>;
|
|
217
223
|
locus_uploadAccountTxs(param: ParamsUploadAccountTxs): Promise<number[]>;
|
|
218
224
|
locus_verifyAndSignChallenge(param: ParamsVerifyAndSignChallenge): Promise<RpcVerifyAndSignChallengeResult>;
|
|
219
225
|
locus_verifyIdentityProof(param: ParamsVerifyIdentityProof): Promise<RpcVerifyIdentityProofResult>;
|
|
220
226
|
locus_verifyLatestStoredDataProof(params: ParamsLatestStoredDataProof): Promise<boolean>;
|
|
227
|
+
locus_verifyProofW(params: ParamsVerifyProofW): Promise<boolean>;
|
|
221
228
|
locus_verifyTxListWitness(params: ParamsTxListWitness): Promise<boolean>;
|
|
222
229
|
}
|
|
@@ -69,9 +69,11 @@ import { ParamsTransfer } from './types/rpc/params-transfer.mjs';
|
|
|
69
69
|
import { ParamsTxListWitness } from './types/rpc/params-tx-list-witness.mjs';
|
|
70
70
|
import { ParamsTxList } from './types/rpc/params-tx-list.mjs';
|
|
71
71
|
import { ParamsUnlockStake } from './types/rpc/params-unlock-stake.mjs';
|
|
72
|
+
import { ParamsUpliftProofW } from './types/rpc/params-uplift-proof-w.mjs';
|
|
72
73
|
import { ParamsUploadAccountTxs } from './types/rpc/params-upload-account-txs.mjs';
|
|
73
74
|
import { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign-challenge.mjs';
|
|
74
75
|
import { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.mjs';
|
|
76
|
+
import { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.mjs';
|
|
75
77
|
import { ParamsVmeLog } from './types/rpc/params-vme-log.mjs';
|
|
76
78
|
import { ResultDumpAccounts } from './types/rpc/result-dump-accounts.mjs';
|
|
77
79
|
import { RoundStateDetail } from './types/rpc/round-state-detail.mjs';
|
|
@@ -102,6 +104,7 @@ import { RpcGetKeysResult } from './types/rpc/rpc-get-keys-result.mjs';
|
|
|
102
104
|
import { RpcGetMontInfoListResult } from './types/rpc/rpc-get-mont-info-list-result.mjs';
|
|
103
105
|
import { RpcGetNodeBlocksResult } from './types/rpc/rpc-get-node-blocks-result.mjs';
|
|
104
106
|
import { RpcGetNodeStatusResult } from './types/rpc/rpc-get-node-status-result.mjs';
|
|
107
|
+
import { RpcGetNodeVersionResult } from './types/rpc/rpc-get-node-version-result.mjs';
|
|
105
108
|
import { RpcGetShardOfAccountResult } from './types/rpc/rpc-get-shard-of-account-result.mjs';
|
|
106
109
|
import { RpcGetSyncStateResult } from './types/rpc/rpc-get-sync-state-result.mjs';
|
|
107
110
|
import { RpcGetTxResult } from './types/rpc/rpc-get-tx-result.mjs';
|
|
@@ -111,6 +114,7 @@ import { RpcGetWorldRoundStatesListResult } from './types/rpc/rpc-get-world-roun
|
|
|
111
114
|
import { RpcHasSystemTokenResult } from './types/rpc/rpc-has-system-token-result.mjs';
|
|
112
115
|
import { RpcImportAccountResult } from './types/rpc/rpc-import-account-result.mjs';
|
|
113
116
|
import { RpcNodeCmdResult } from './types/rpc/rpc-node-cmd-result.mjs';
|
|
117
|
+
import { RpcProofWResult } from './types/rpc/rpc-proof-wresult.mjs';
|
|
114
118
|
import { RpcQueryAddressResult } from './types/rpc/rpc-query-address-result.mjs';
|
|
115
119
|
import { RpcReadTxListWitnessResult } from './types/rpc/rpc-read-tx-list-witness-result.mjs';
|
|
116
120
|
import { RpcRequestVmeResult } from './types/rpc/rpc-request-vme-result.mjs';
|
|
@@ -189,6 +193,7 @@ export interface RpcApiSpec {
|
|
|
189
193
|
locus_getInactiveTxList(param: ParamsAccount): Promise<RpcGetInactiveTxListResult>;
|
|
190
194
|
locus_getMontInfoList(param: ParamsAccount): Promise<RpcGetMontInfoListResult>;
|
|
191
195
|
locus_getNodeStatus(): Promise<RpcGetNodeStatusResult>;
|
|
196
|
+
locus_getNodeVersion(): Promise<RpcGetNodeVersionResult>;
|
|
192
197
|
locus_getOwnerBalance(): Promise<RpcAccountsBalancesResult[]>;
|
|
193
198
|
locus_getRoundState(param: ParamsRound): Promise<RoundStateDetail>;
|
|
194
199
|
locus_getRoundStatesList(param: ParamsRS): Promise<RoundStateAbstract[]>;
|
|
@@ -214,9 +219,11 @@ export interface RpcApiSpec {
|
|
|
214
219
|
locus_transferCoin(param: ParamsTransferCoin): Promise<RpcCreateTxResult>;
|
|
215
220
|
locus_transferToken(params: ParamsTransferTokens): Promise<RpcCreateTxResult>;
|
|
216
221
|
locus_unlockStake(params: ParamsUnlockStake): Promise<RpcCreateTxResult>;
|
|
222
|
+
locus_upliftProofW(params: ParamsUpliftProofW): Promise<RpcProofWResult>;
|
|
217
223
|
locus_uploadAccountTxs(param: ParamsUploadAccountTxs): Promise<number[]>;
|
|
218
224
|
locus_verifyAndSignChallenge(param: ParamsVerifyAndSignChallenge): Promise<RpcVerifyAndSignChallengeResult>;
|
|
219
225
|
locus_verifyIdentityProof(param: ParamsVerifyIdentityProof): Promise<RpcVerifyIdentityProofResult>;
|
|
220
226
|
locus_verifyLatestStoredDataProof(params: ParamsLatestStoredDataProof): Promise<boolean>;
|
|
227
|
+
locus_verifyProofW(params: ParamsVerifyProofW): Promise<boolean>;
|
|
221
228
|
locus_verifyTxListWitness(params: ParamsTxListWitness): Promise<boolean>;
|
|
222
229
|
}
|
|
@@ -60,9 +60,11 @@ export * from './params-transfer-tokens.cjs';
|
|
|
60
60
|
export * from './params-tx-list.cjs';
|
|
61
61
|
export * from './params-tx-list-witness.cjs';
|
|
62
62
|
export * from './params-unlock-stake.cjs';
|
|
63
|
+
export * from './params-uplift-proof-w.cjs';
|
|
63
64
|
export * from './params-upload-account-txs.cjs';
|
|
64
65
|
export * from './params-verify-and-sign-challenge.cjs';
|
|
65
66
|
export * from './params-verify-identity-proof.cjs';
|
|
67
|
+
export * from './params-verify-proof-w.cjs';
|
|
66
68
|
export * from './params-vme-log.cjs';
|
|
67
69
|
export * from './result-dump-accounts.cjs';
|
|
68
70
|
export * from './round-state-detail.cjs';
|
|
@@ -93,6 +95,7 @@ export * from './rpc-get-keys-result.cjs';
|
|
|
93
95
|
export * from './rpc-get-mont-info-list-result.cjs';
|
|
94
96
|
export * from './rpc-get-node-blocks-result.cjs';
|
|
95
97
|
export * from './rpc-get-node-status-result.cjs';
|
|
98
|
+
export * from './rpc-get-node-version-result.cjs';
|
|
96
99
|
export * from './rpc-get-shard-of-account-result.cjs';
|
|
97
100
|
export * from './rpc-get-sync-state-result.cjs';
|
|
98
101
|
export * from './rpc-get-tx-result.cjs';
|
|
@@ -102,6 +105,7 @@ export * from './rpc-get-world-round-states-list-result.cjs';
|
|
|
102
105
|
export * from './rpc-has-system-token-result.cjs';
|
|
103
106
|
export * from './rpc-import-account-result.cjs';
|
|
104
107
|
export * from './rpc-node-cmd-result.cjs';
|
|
108
|
+
export * from './rpc-proof-wresult.cjs';
|
|
105
109
|
export * from './rpc-query-address-result.cjs';
|
|
106
110
|
export * from './rpc-read-tx-list-witness-result.cjs';
|
|
107
111
|
export * from './rpc-request-vme-result.cjs';
|
|
@@ -60,9 +60,11 @@ export * from './params-transfer-tokens.mjs';
|
|
|
60
60
|
export * from './params-tx-list.mjs';
|
|
61
61
|
export * from './params-tx-list-witness.mjs';
|
|
62
62
|
export * from './params-unlock-stake.mjs';
|
|
63
|
+
export * from './params-uplift-proof-w.mjs';
|
|
63
64
|
export * from './params-upload-account-txs.mjs';
|
|
64
65
|
export * from './params-verify-and-sign-challenge.mjs';
|
|
65
66
|
export * from './params-verify-identity-proof.mjs';
|
|
67
|
+
export * from './params-verify-proof-w.mjs';
|
|
66
68
|
export * from './params-vme-log.mjs';
|
|
67
69
|
export * from './result-dump-accounts.mjs';
|
|
68
70
|
export * from './round-state-detail.mjs';
|
|
@@ -93,6 +95,7 @@ export * from './rpc-get-keys-result.mjs';
|
|
|
93
95
|
export * from './rpc-get-mont-info-list-result.mjs';
|
|
94
96
|
export * from './rpc-get-node-blocks-result.mjs';
|
|
95
97
|
export * from './rpc-get-node-status-result.mjs';
|
|
98
|
+
export * from './rpc-get-node-version-result.mjs';
|
|
96
99
|
export * from './rpc-get-shard-of-account-result.mjs';
|
|
97
100
|
export * from './rpc-get-sync-state-result.mjs';
|
|
98
101
|
export * from './rpc-get-tx-result.mjs';
|
|
@@ -102,6 +105,7 @@ export * from './rpc-get-world-round-states-list-result.mjs';
|
|
|
102
105
|
export * from './rpc-has-system-token-result.mjs';
|
|
103
106
|
export * from './rpc-import-account-result.mjs';
|
|
104
107
|
export * from './rpc-node-cmd-result.mjs';
|
|
108
|
+
export * from './rpc-proof-wresult.mjs';
|
|
105
109
|
export * from './rpc-query-address-result.mjs';
|
|
106
110
|
export * from './rpc-read-tx-list-witness-result.mjs';
|
|
107
111
|
export * from './rpc-request-vme-result.mjs';
|
|
Binary file
|
|
@@ -140,6 +140,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
// Automatically generated file. DO NOT EDIT.
|
|
144
|
+
function getNodeVersion(client) {
|
|
145
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
return client.request({ method: 'locus_getNodeVersion', params: [] });
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
|
|
143
150
|
// Automatically generated file. DO NOT EDIT.
|
|
144
151
|
function getOwnerBalance(client) {
|
|
145
152
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -238,6 +245,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
238
245
|
});
|
|
239
246
|
}
|
|
240
247
|
|
|
248
|
+
// Automatically generated file. DO NOT EDIT.
|
|
249
|
+
function upliftProofW(client, params) {
|
|
250
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
251
|
+
return client.request({ method: 'locus_upliftProofW', params: [params] });
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
|
|
241
255
|
// Automatically generated file. DO NOT EDIT.
|
|
242
256
|
function uploadAccountTxs(client, param) {
|
|
243
257
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -266,6 +280,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
266
280
|
});
|
|
267
281
|
}
|
|
268
282
|
|
|
283
|
+
// Automatically generated file. DO NOT EDIT.
|
|
284
|
+
function verifyProofW(client, params) {
|
|
285
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
286
|
+
return client.request({ method: 'locus_verifyProofW', params: [params] });
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
|
|
269
290
|
// Automatically generated file. DO NOT EDIT.
|
|
270
291
|
function verifyTxListWitness(client, params) {
|
|
271
292
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -295,6 +316,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
295
316
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
296
317
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
297
318
|
getNodeStatus: () => getNodeStatus(client),
|
|
319
|
+
getNodeVersion: () => getNodeVersion(client),
|
|
298
320
|
getOwnerBalance: () => getOwnerBalance(client),
|
|
299
321
|
getRoundState: (param) => getRoundState(client, param),
|
|
300
322
|
getRoundStatesList: (param) => getRoundStatesList(client, param),
|
|
@@ -309,10 +331,12 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
309
331
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
310
332
|
setHost: (param) => setHost(client, param),
|
|
311
333
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
334
|
+
upliftProofW: (params) => upliftProofW(client, params),
|
|
312
335
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
313
336
|
verifyAndSignChallenge: (param) => verifyAndSignChallenge(client, param),
|
|
314
337
|
verifyIdentityProof: (param) => verifyIdentityProof(client, param),
|
|
315
338
|
verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
|
|
339
|
+
verifyProofW: (params) => verifyProofW(client, params),
|
|
316
340
|
verifyTxListWitness: (params) => verifyTxListWitness(client, params),
|
|
317
341
|
});
|
|
318
342
|
|
|
@@ -1018,6 +1042,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
1018
1042
|
exports.getMontInfoList = getMontInfoList;
|
|
1019
1043
|
exports.getNodeBlocks = getNodeBlocks;
|
|
1020
1044
|
exports.getNodeStatus = getNodeStatus;
|
|
1045
|
+
exports.getNodeVersion = getNodeVersion;
|
|
1021
1046
|
exports.getOwnerBalance = getOwnerBalance;
|
|
1022
1047
|
exports.getPeerPool = getPeerPool;
|
|
1023
1048
|
exports.getPeersInfo = getPeersInfo;
|
|
@@ -1057,10 +1082,12 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
|
|
|
1057
1082
|
exports.transferCoin = transferCoin;
|
|
1058
1083
|
exports.transferToken = transferToken;
|
|
1059
1084
|
exports.unlockStake = unlockStake;
|
|
1085
|
+
exports.upliftProofW = upliftProofW;
|
|
1060
1086
|
exports.uploadAccountTxs = uploadAccountTxs;
|
|
1061
1087
|
exports.verifyAndSignChallenge = verifyAndSignChallenge;
|
|
1062
1088
|
exports.verifyIdentityProof = verifyIdentityProof;
|
|
1063
1089
|
exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
|
|
1090
|
+
exports.verifyProofW = verifyProofW;
|
|
1064
1091
|
exports.verifyTxListWitness = verifyTxListWitness;
|
|
1065
1092
|
exports.viewVme = viewVme;
|
|
1066
1093
|
exports.walletActions = walletActions;
|
|
@@ -144,6 +144,13 @@ function getNodeStatus(client) {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
// Automatically generated file. DO NOT EDIT.
|
|
148
|
+
function getNodeVersion(client) {
|
|
149
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
return client.request({ method: 'locus_getNodeVersion', params: [] });
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
|
|
147
154
|
// Automatically generated file. DO NOT EDIT.
|
|
148
155
|
function getOwnerBalance(client) {
|
|
149
156
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -242,6 +249,13 @@ function subscribeAddress(client, params) {
|
|
|
242
249
|
});
|
|
243
250
|
}
|
|
244
251
|
|
|
252
|
+
// Automatically generated file. DO NOT EDIT.
|
|
253
|
+
function upliftProofW(client, params) {
|
|
254
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
return client.request({ method: 'locus_upliftProofW', params: [params] });
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
|
|
245
259
|
// Automatically generated file. DO NOT EDIT.
|
|
246
260
|
function uploadAccountTxs(client, param) {
|
|
247
261
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -270,6 +284,13 @@ function verifyLatestStoredDataProof(client, params) {
|
|
|
270
284
|
});
|
|
271
285
|
}
|
|
272
286
|
|
|
287
|
+
// Automatically generated file. DO NOT EDIT.
|
|
288
|
+
function verifyProofW(client, params) {
|
|
289
|
+
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
290
|
+
return client.request({ method: 'locus_verifyProofW', params: [params] });
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
|
|
273
294
|
// Automatically generated file. DO NOT EDIT.
|
|
274
295
|
function verifyTxListWitness(client, params) {
|
|
275
296
|
return tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -299,6 +320,7 @@ const publicActions = (client) => ({
|
|
|
299
320
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
300
321
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
301
322
|
getNodeStatus: () => getNodeStatus(client),
|
|
323
|
+
getNodeVersion: () => getNodeVersion(client),
|
|
302
324
|
getOwnerBalance: () => getOwnerBalance(client),
|
|
303
325
|
getRoundState: (param) => getRoundState(client, param),
|
|
304
326
|
getRoundStatesList: (param) => getRoundStatesList(client, param),
|
|
@@ -313,10 +335,12 @@ const publicActions = (client) => ({
|
|
|
313
335
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
314
336
|
setHost: (param) => setHost(client, param),
|
|
315
337
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
338
|
+
upliftProofW: (params) => upliftProofW(client, params),
|
|
316
339
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
317
340
|
verifyAndSignChallenge: (param) => verifyAndSignChallenge(client, param),
|
|
318
341
|
verifyIdentityProof: (param) => verifyIdentityProof(client, param),
|
|
319
342
|
verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
|
|
343
|
+
verifyProofW: (params) => verifyProofW(client, params),
|
|
320
344
|
verifyTxListWitness: (params) => verifyTxListWitness(client, params),
|
|
321
345
|
});
|
|
322
346
|
|
|
@@ -1022,6 +1046,7 @@ exports.getKeys = getKeys;
|
|
|
1022
1046
|
exports.getMontInfoList = getMontInfoList;
|
|
1023
1047
|
exports.getNodeBlocks = getNodeBlocks;
|
|
1024
1048
|
exports.getNodeStatus = getNodeStatus;
|
|
1049
|
+
exports.getNodeVersion = getNodeVersion;
|
|
1025
1050
|
exports.getOwnerBalance = getOwnerBalance;
|
|
1026
1051
|
exports.getPeerPool = getPeerPool;
|
|
1027
1052
|
exports.getPeersInfo = getPeersInfo;
|
|
@@ -1061,10 +1086,12 @@ exports.transferAssetObject = transferAssetObject;
|
|
|
1061
1086
|
exports.transferCoin = transferCoin;
|
|
1062
1087
|
exports.transferToken = transferToken;
|
|
1063
1088
|
exports.unlockStake = unlockStake;
|
|
1089
|
+
exports.upliftProofW = upliftProofW;
|
|
1064
1090
|
exports.uploadAccountTxs = uploadAccountTxs;
|
|
1065
1091
|
exports.verifyAndSignChallenge = verifyAndSignChallenge;
|
|
1066
1092
|
exports.verifyIdentityProof = verifyIdentityProof;
|
|
1067
1093
|
exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
|
|
1094
|
+
exports.verifyProofW = verifyProofW;
|
|
1068
1095
|
exports.verifyTxListWitness = verifyTxListWitness;
|
|
1069
1096
|
exports.viewVme = viewVme;
|
|
1070
1097
|
exports.walletActions = walletActions;
|
|
@@ -142,6 +142,13 @@ function getNodeStatus(client) {
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
// Automatically generated file. DO NOT EDIT.
|
|
146
|
+
function getNodeVersion(client) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
return client.request({ method: 'locus_getNodeVersion', params: [] });
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
|
|
145
152
|
// Automatically generated file. DO NOT EDIT.
|
|
146
153
|
function getOwnerBalance(client) {
|
|
147
154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -240,6 +247,13 @@ function subscribeAddress(client, params) {
|
|
|
240
247
|
});
|
|
241
248
|
}
|
|
242
249
|
|
|
250
|
+
// Automatically generated file. DO NOT EDIT.
|
|
251
|
+
function upliftProofW(client, params) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
return client.request({ method: 'locus_upliftProofW', params: [params] });
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
|
|
243
257
|
// Automatically generated file. DO NOT EDIT.
|
|
244
258
|
function uploadAccountTxs(client, param) {
|
|
245
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -268,6 +282,13 @@ function verifyLatestStoredDataProof(client, params) {
|
|
|
268
282
|
});
|
|
269
283
|
}
|
|
270
284
|
|
|
285
|
+
// Automatically generated file. DO NOT EDIT.
|
|
286
|
+
function verifyProofW(client, params) {
|
|
287
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
288
|
+
return client.request({ method: 'locus_verifyProofW', params: [params] });
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
|
|
271
292
|
// Automatically generated file. DO NOT EDIT.
|
|
272
293
|
function verifyTxListWitness(client, params) {
|
|
273
294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -297,6 +318,7 @@ const publicActions = (client) => ({
|
|
|
297
318
|
getInactiveTxList: (param) => getInactiveTxList(client, param),
|
|
298
319
|
getMontInfoList: (param) => getMontInfoList(client, param),
|
|
299
320
|
getNodeStatus: () => getNodeStatus(client),
|
|
321
|
+
getNodeVersion: () => getNodeVersion(client),
|
|
300
322
|
getOwnerBalance: () => getOwnerBalance(client),
|
|
301
323
|
getRoundState: (param) => getRoundState(client, param),
|
|
302
324
|
getRoundStatesList: (param) => getRoundStatesList(client, param),
|
|
@@ -311,10 +333,12 @@ const publicActions = (client) => ({
|
|
|
311
333
|
readTxListWitness: (params) => readTxListWitness(client, params),
|
|
312
334
|
setHost: (param) => setHost(client, param),
|
|
313
335
|
subscribeAddress: (params) => subscribeAddress(client, params),
|
|
336
|
+
upliftProofW: (params) => upliftProofW(client, params),
|
|
314
337
|
uploadAccountTxs: (param) => uploadAccountTxs(client, param),
|
|
315
338
|
verifyAndSignChallenge: (param) => verifyAndSignChallenge(client, param),
|
|
316
339
|
verifyIdentityProof: (param) => verifyIdentityProof(client, param),
|
|
317
340
|
verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
|
|
341
|
+
verifyProofW: (params) => verifyProofW(client, params),
|
|
318
342
|
verifyTxListWitness: (params) => verifyTxListWitness(client, params),
|
|
319
343
|
});
|
|
320
344
|
|
|
@@ -965,4 +989,4 @@ const debugWalletActions = (client) => ({
|
|
|
965
989
|
postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
|
|
966
990
|
});
|
|
967
991
|
|
|
968
|
-
export { forwardAssetObject as $, nodeCmd as A, postDataToSynthAccount as B, removeHoldTxs as C, requestVme as D, sendRawTransaction as E, setImportAccountTx as F, setReliableNode as G, viewVme as H, acceptScript as I, accountHeightsToDownload as J, accountHeightsToUpload as K, becomeGuest as L, becomeHost as M, calculateSpentByForward as N, calculateSpentByForwardList as O, changeKey as P, changeVkey as Q, clientMessage as R, closeAccount as S, createAssetObject as T, createToken as U, createVme as V, debugPublicActions as W, debugWalletActions as X, downloadAccountTxs as Y, echo$1 as Z, findDuplicateSubscriber as _, allHeights as a, forwardCoin as a0, forwardToken as a1, freezeAccount as a2, generateLatestStoredDataProof as a3, getAccountAssetList as a4, getAccountAssetObject as a5, getAccountDetail as a6, getAccountHistory as a7, getAccountTokenList as a8, getConciseNodeStatus as a9,
|
|
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, calculateSpentByForward as N, calculateSpentByForwardList as O, changeKey as P, changeVkey as Q, clientMessage as R, closeAccount as S, createAssetObject as T, createToken as U, createVme as V, debugPublicActions as W, debugWalletActions as X, downloadAccountTxs as Y, echo$1 as Z, findDuplicateSubscriber as _, allHeights as a, forwardCoin as a0, forwardToken as a1, freezeAccount as a2, generateLatestStoredDataProof as a3, getAccountAssetList as a4, getAccountAssetObject as a5, getAccountDetail as a6, getAccountHistory as a7, getAccountTokenList as a8, getConciseNodeStatus as a9, transfer as aA, transferAllRes as aB, transferAssetObject as aC, transferCoin as aD, transferToken as aE, unlockStake as aF, upliftProofW as aG, uploadAccountTxs as aH, verifyAndSignChallenge as aI, verifyIdentityProof as aJ, verifyLatestStoredDataProof as aK, verifyProofW as aL, verifyTxListWitness as aM, walletActions as aN, getGenesisAccount as aa, getIdentityProof as ab, getInactiveTxList as ac, getMontInfoList as ad, getNodeStatus as ae, getNodeVersion as af, getOwnerBalance as ag, getRoundState as ah, getRoundStatesList as ai, getShardOfAccount as aj, getSyncState as ak, getTx as al, getWorldRoundState as am, getWorldRoundStatesList as an, hasSystemToken as ao, lockStake as ap, makeTxProof as aq, openAccount as ar, postData as as, provideScript as at, publicActions as au, queryAddress as av, readTxListWitness as aw, requestDataTrade as ax, setHost as ay, subscribeAddress 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 };
|
|
@@ -77,6 +77,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
77
77
|
readonly getInactiveTxList: (param: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetInactiveTxListResult>;
|
|
78
78
|
readonly getMontInfoList: (param: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetMontInfoListResult>;
|
|
79
79
|
readonly getNodeStatus: () => Promise<import("../index.cjs").RpcGetNodeStatusResult>;
|
|
80
|
+
readonly getNodeVersion: () => Promise<import("../index.cjs").RpcGetNodeVersionResult>;
|
|
80
81
|
readonly getOwnerBalance: () => Promise<import("../index.cjs").RpcAccountsBalancesResult[]>;
|
|
81
82
|
readonly getRoundState: (param: import("../index.cjs").ParamsRound) => Promise<import("../index.cjs").RoundStateDetail>;
|
|
82
83
|
readonly getRoundStatesList: (param: import("../index.cjs").ParamsRS) => Promise<import("../index.cjs").RoundStateAbstract[]>;
|
|
@@ -91,10 +92,12 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
91
92
|
readonly readTxListWitness: (params: import("../index.cjs").ParamsReadTxList) => Promise<import("../index.cjs").RpcReadTxListWitnessResult>;
|
|
92
93
|
readonly setHost: (param: import("../index.cjs").ParamsSetHost) => Promise<boolean>;
|
|
93
94
|
readonly subscribeAddress: (params: import("../index.cjs").ParamsSubscribeAddress) => Promise<import("../index.cjs").RpcSubscribeAddressResult>;
|
|
95
|
+
readonly upliftProofW: (params: import("../index.cjs").ParamsUpliftProofW) => Promise<import("../index.cjs").RpcProofWResult>;
|
|
94
96
|
readonly uploadAccountTxs: (param: import("../index.cjs").ParamsUploadAccountTxs) => Promise<number[]>;
|
|
95
97
|
readonly verifyAndSignChallenge: (param: import("../index.cjs").ParamsVerifyAndSignChallenge) => Promise<import("../index.cjs").RpcVerifyAndSignChallengeResult>;
|
|
96
98
|
readonly verifyIdentityProof: (param: import("../index.cjs").ParamsVerifyIdentityProof) => Promise<import("../index.cjs").RpcVerifyIdentityProofResult>;
|
|
97
99
|
readonly verifyLatestStoredDataProof: (params: import("../index.cjs").ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
100
|
+
readonly verifyProofW: (params: import("../index.cjs").ParamsVerifyProofW) => Promise<boolean>;
|
|
98
101
|
readonly verifyTxListWitness: (params: import("../index.cjs").ParamsTxListWitness) => Promise<boolean>;
|
|
99
102
|
};
|
|
100
103
|
/** 추론된 반환 타입 — 이 클라이언트를 담는 필드/변수의 타입 선언에 사용. */
|
|
@@ -77,6 +77,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
77
77
|
readonly getInactiveTxList: (param: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetInactiveTxListResult>;
|
|
78
78
|
readonly getMontInfoList: (param: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetMontInfoListResult>;
|
|
79
79
|
readonly getNodeStatus: () => Promise<import("../index.mjs").RpcGetNodeStatusResult>;
|
|
80
|
+
readonly getNodeVersion: () => Promise<import("../index.mjs").RpcGetNodeVersionResult>;
|
|
80
81
|
readonly getOwnerBalance: () => Promise<import("../index.mjs").RpcAccountsBalancesResult[]>;
|
|
81
82
|
readonly getRoundState: (param: import("../index.mjs").ParamsRound) => Promise<import("../index.mjs").RoundStateDetail>;
|
|
82
83
|
readonly getRoundStatesList: (param: import("../index.mjs").ParamsRS) => Promise<import("../index.mjs").RoundStateAbstract[]>;
|
|
@@ -91,10 +92,12 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
|
|
|
91
92
|
readonly readTxListWitness: (params: import("../index.mjs").ParamsReadTxList) => Promise<import("../index.mjs").RpcReadTxListWitnessResult>;
|
|
92
93
|
readonly setHost: (param: import("../index.mjs").ParamsSetHost) => Promise<boolean>;
|
|
93
94
|
readonly subscribeAddress: (params: import("../index.mjs").ParamsSubscribeAddress) => Promise<import("../index.mjs").RpcSubscribeAddressResult>;
|
|
95
|
+
readonly upliftProofW: (params: import("../index.mjs").ParamsUpliftProofW) => Promise<import("../index.mjs").RpcProofWResult>;
|
|
94
96
|
readonly uploadAccountTxs: (param: import("../index.mjs").ParamsUploadAccountTxs) => Promise<number[]>;
|
|
95
97
|
readonly verifyAndSignChallenge: (param: import("../index.mjs").ParamsVerifyAndSignChallenge) => Promise<import("../index.mjs").RpcVerifyAndSignChallengeResult>;
|
|
96
98
|
readonly verifyIdentityProof: (param: import("../index.mjs").ParamsVerifyIdentityProof) => Promise<import("../index.mjs").RpcVerifyIdentityProofResult>;
|
|
97
99
|
readonly verifyLatestStoredDataProof: (params: import("../index.mjs").ParamsLatestStoredDataProof) => Promise<boolean>;
|
|
100
|
+
readonly verifyProofW: (params: import("../index.mjs").ParamsVerifyProofW) => Promise<boolean>;
|
|
98
101
|
readonly verifyTxListWitness: (params: import("../index.mjs").ParamsTxListWitness) => Promise<boolean>;
|
|
99
102
|
};
|
|
100
103
|
/** 추론된 반환 타입 — 이 클라이언트를 담는 필드/변수의 타입 선언에 사용. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-
|
|
1
|
+
define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-BWgEnPR5', '../chunks/tslib.es6-D29rxPkW', '../transports/index.amd', '../chunks/rpc-C4n7t9y0', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/transport-BBAz1kmP'], (function (exports, lclib, debugWalletActions, tslib_es6, transports, rpc, base, account, transport) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createClient(args) {
|
|
4
4
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
4
|
-
var debugWalletActions = require('../chunks/debugWalletActions-
|
|
4
|
+
var debugWalletActions = require('../chunks/debugWalletActions-CjqVQSZX.cjs');
|
|
5
5
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
6
6
|
var transports = require('../transports/index.cjs.cjs');
|
|
7
7
|
require('../chunks/rpc-DwWIkUva.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunks/lclib-j2x9RvDY.js';
|
|
2
|
-
import {
|
|
2
|
+
import { au as publicActions, W as debugPublicActions, aN as walletActions, X as debugWalletActions } from '../chunks/debugWalletActions-Dh5poX8K.js';
|
|
3
3
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
4
4
|
import { http } from '../transports/index.esm.js';
|
|
5
5
|
import '../chunks/rpc-BlPk44QH.js';
|
package/dist/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './clients/index.amd', './transports/index.amd', './accounts/index.amd', './chunks/base-B_kRRfsf', './chunks/rpc-C4n7t9y0', './chunks/transport-BBAz1kmP', './chunks/account-BSrvZ7S8', './contracts/index.amd', './constant/index.amd', './chunks/keystore-y1JlFTKh', './chunks/lclib-Bv86gksL', './chunks/tslib.es6-D29rxPkW', './chunks/debugWalletActions-
|
|
1
|
+
define(['exports', './clients/index.amd', './transports/index.amd', './accounts/index.amd', './chunks/base-B_kRRfsf', './chunks/rpc-C4n7t9y0', './chunks/transport-BBAz1kmP', './chunks/account-BSrvZ7S8', './contracts/index.amd', './constant/index.amd', './chunks/keystore-y1JlFTKh', './chunks/lclib-Bv86gksL', './chunks/tslib.es6-D29rxPkW', './chunks/debugWalletActions-BWgEnPR5', './chunks/tx-type-DYAaL3xz', './chunks/wasm-CkFW222S', './chunks/ethers.esm.min-wXex1HuX', './chunks/address-class-CDo766LJ'], (function (exports, clients, transports, accounts, base, rpc, transport, account, contracts, constant, keystore, lclib, tslib_es6, debugWalletActions, txType, wasm, ethers_esm_min, addressClass) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
package/dist/index.cjs.cjs
CHANGED
|
@@ -12,7 +12,7 @@ var constant = require('./constant/index.cjs.cjs');
|
|
|
12
12
|
var keystore = require('./chunks/keystore-BUskzeOs.cjs');
|
|
13
13
|
require('./chunks/lclib-rGyKpClJ.cjs');
|
|
14
14
|
require('./chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
15
|
-
require('./chunks/debugWalletActions-
|
|
15
|
+
require('./chunks/debugWalletActions-CjqVQSZX.cjs');
|
|
16
16
|
require('./chunks/tx-type-khL8tWtn.cjs');
|
|
17
17
|
require('./chunks/wasm-BYOKRR31.cjs');
|
|
18
18
|
require('./chunks/ethers.esm.min-BBQs5Urm.cjs');
|
package/dist/index.esm.js
CHANGED
|
@@ -10,7 +10,7 @@ export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount,
|
|
|
10
10
|
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from './chunks/keystore-B86UzV8A.js';
|
|
11
11
|
import './chunks/lclib-j2x9RvDY.js';
|
|
12
12
|
import './chunks/tslib.es6-WQS2tr1v.js';
|
|
13
|
-
import './chunks/debugWalletActions-
|
|
13
|
+
import './chunks/debugWalletActions-Dh5poX8K.js';
|
|
14
14
|
import './chunks/tx-type-BUN9nEQ6.js';
|
|
15
15
|
import './chunks/wasm-CLXJDrJA.js';
|
|
16
16
|
import './chunks/ethers.esm.min-CiOJmj8w.js';
|