@locuschain/lib 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/accounts/index.amd.js +1 -1
  2. package/dist/accounts/index.cjs.cjs +2 -2
  3. package/dist/accounts/index.esm.js +2 -2
  4. package/dist/autogen/actions/debug/public/buildDirectCall.d.cts +4 -0
  5. package/dist/autogen/actions/debug/public/buildDirectCall.d.mts +4 -0
  6. package/dist/autogen/actions/debug/public/index.d.cts +3 -1
  7. package/dist/autogen/actions/debug/public/index.d.mts +3 -1
  8. package/dist/autogen/actions/debug/public/removeHomeTxs.d.cts +4 -0
  9. package/dist/autogen/actions/debug/public/removeHomeTxs.d.mts +4 -0
  10. package/dist/autogen/actions/debug/public/submitDirectCall.d.cts +4 -0
  11. package/dist/autogen/actions/debug/public/submitDirectCall.d.mts +4 -0
  12. package/dist/autogen/actions/public/calculateAvailableByForward.d.cts +4 -0
  13. package/dist/autogen/actions/public/calculateAvailableByForward.d.mts +4 -0
  14. package/dist/autogen/actions/public/calculateAvailableByForwardList.d.cts +4 -0
  15. package/dist/autogen/actions/public/calculateAvailableByForwardList.d.mts +4 -0
  16. package/dist/autogen/actions/public/getHomeTxDir.d.cts +3 -0
  17. package/dist/autogen/actions/public/getHomeTxDir.d.mts +3 -0
  18. package/dist/autogen/actions/public/getHomeTxFlushSeq.d.cts +3 -0
  19. package/dist/autogen/actions/public/getHomeTxFlushSeq.d.mts +3 -0
  20. package/dist/autogen/actions/public/getLaunchCommand.d.cts +3 -0
  21. package/dist/autogen/actions/public/getLaunchCommand.d.mts +3 -0
  22. package/dist/autogen/actions/public/index.d.cts +7 -2
  23. package/dist/autogen/actions/public/index.d.mts +7 -2
  24. package/dist/autogen/actions/public/shutdown.d.cts +3 -0
  25. package/dist/autogen/actions/public/shutdown.d.mts +3 -0
  26. package/dist/autogen/actions/public/waitHomeTxChange.d.cts +4 -0
  27. package/dist/autogen/actions/public/waitHomeTxChange.d.mts +4 -0
  28. package/dist/autogen/debugPublicActions.d.cts +6 -2
  29. package/dist/autogen/debugPublicActions.d.mts +6 -2
  30. package/dist/autogen/index.amd.js +14 -4
  31. package/dist/autogen/index.cjs.cjs +15 -5
  32. package/dist/autogen/index.esm.js +6 -4
  33. package/dist/autogen/publicActions.d.cts +10 -4
  34. package/dist/autogen/publicActions.d.mts +10 -4
  35. package/dist/autogen/rpc-api-spec.d.cts +25 -8
  36. package/dist/autogen/rpc-api-spec.d.mts +25 -8
  37. package/dist/autogen/types/common/{forward-spent-item.d.cts → forward-available-item.d.cts} +1 -1
  38. package/dist/autogen/types/common/{forward-spent-item.d.mts → forward-available-item.d.mts} +1 -1
  39. package/dist/autogen/types/common/index.d.cts +1 -1
  40. package/dist/autogen/types/common/index.d.mts +1 -1
  41. package/dist/autogen/types/consts/tx-type.d.cts +1 -1
  42. package/dist/autogen/types/consts/tx-type.d.mts +1 -1
  43. package/dist/autogen/types/consts/tx-types.d.cts +1 -1
  44. package/dist/autogen/types/consts/tx-types.d.mts +1 -1
  45. package/dist/autogen/types/rpc/index.d.cts +15 -5
  46. package/dist/autogen/types/rpc/index.d.mts +15 -5
  47. package/dist/autogen/types/rpc/params-build-direct-call.d.cts +8 -0
  48. package/dist/autogen/types/rpc/params-build-direct-call.d.mts +8 -0
  49. package/dist/autogen/types/rpc/params-calculate-available-by-forward-list.d.cts +3 -0
  50. package/dist/autogen/types/rpc/params-calculate-available-by-forward-list.d.mts +3 -0
  51. package/dist/autogen/types/rpc/{params-calculate-spent-by-forward.d.cts → params-calculate-available-by-forward.d.cts} +1 -1
  52. package/dist/autogen/types/rpc/{params-calculate-spent-by-forward.d.mts → params-calculate-available-by-forward.d.mts} +1 -1
  53. package/dist/autogen/types/rpc/{params-remove-hold-txs.d.cts → params-remove-home-txs.d.cts} +1 -1
  54. package/dist/autogen/types/rpc/{params-remove-hold-txs.d.mts → params-remove-home-txs.d.mts} +1 -1
  55. package/dist/autogen/types/rpc/params-submit-direct-call.d.cts +4 -0
  56. package/dist/autogen/types/rpc/params-submit-direct-call.d.mts +4 -0
  57. package/dist/autogen/types/rpc/params-wait-home-tx-change.d.cts +4 -0
  58. package/dist/autogen/types/rpc/params-wait-home-tx-change.d.mts +4 -0
  59. package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.cts +5 -0
  60. package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.mts +5 -0
  61. package/dist/autogen/types/rpc/rpc-calculate-available-by-forward-list-result.d.cts +4 -0
  62. package/dist/autogen/types/rpc/rpc-calculate-available-by-forward-list-result.d.mts +4 -0
  63. package/dist/autogen/types/rpc/{rpc-calculate-spent-by-forward-result.d.cts → rpc-calculate-available-by-forward-result.d.cts} +1 -1
  64. package/dist/autogen/types/rpc/{rpc-calculate-spent-by-forward-result.d.mts → rpc-calculate-available-by-forward-result.d.mts} +1 -1
  65. package/dist/autogen/types/rpc/rpc-direct-call-result.d.cts +4 -0
  66. package/dist/autogen/types/rpc/rpc-direct-call-result.d.mts +4 -0
  67. package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.cts +3 -0
  68. package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.mts +3 -0
  69. package/dist/autogen/types/rpc/rpc-get-home-tx-flush-seq-result.d.cts +4 -0
  70. package/dist/autogen/types/rpc/rpc-get-home-tx-flush-seq-result.d.mts +4 -0
  71. package/dist/autogen/types/rpc/rpc-get-launch-command-result.d.cts +4 -0
  72. package/dist/autogen/types/rpc/rpc-get-launch-command-result.d.mts +4 -0
  73. package/dist/autogen/types/rpc/rpc-shutdown-result.d.cts +3 -0
  74. package/dist/autogen/types/rpc/rpc-shutdown-result.d.mts +3 -0
  75. package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.cts +5 -0
  76. package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.mts +5 -0
  77. package/dist/autogen/wasm/lclib.wasm +0 -0
  78. package/dist/autogen/wasm.d.cts +3 -0
  79. package/dist/autogen/wasm.d.mts +3 -0
  80. package/dist/chunks/{debugWalletActions-CjqVQSZX.cjs → debugWalletActions-BWSVjiFW.cjs} +75 -12
  81. package/dist/chunks/{debugWalletActions-BWgEnPR5.js → debugWalletActions-DoZUAnEj.js} +75 -12
  82. package/dist/chunks/{debugWalletActions-Dh5poX8K.js → debugWalletActions-LMoV1T5I.js} +66 -10
  83. package/dist/chunks/{keystore-B86UzV8A.js → keystore-BPU22XT-.js} +1 -1
  84. package/dist/chunks/{keystore-BUskzeOs.cjs → keystore-DS8JZhXs.cjs} +1 -1
  85. package/dist/chunks/{keystore-y1JlFTKh.js → keystore-JnuLzkLn.js} +1 -1
  86. package/dist/chunks/{tx-type-khL8tWtn.cjs → tx-type-CKrHKEwY.cjs} +1 -1
  87. package/dist/chunks/{tx-type-BUN9nEQ6.js → tx-type-CXyml-9n.js} +1 -1
  88. package/dist/chunks/{tx-type-DYAaL3xz.js → tx-type-Dyjdmlv8.js} +1 -1
  89. package/dist/chunks/{wasm-CLXJDrJA.js → wasm-CU215LGW.js} +10 -1
  90. package/dist/chunks/{wasm-BYOKRR31.cjs → wasm-dbtq7eri.cjs} +12 -0
  91. package/dist/chunks/{wasm-CkFW222S.js → wasm-gROtmFm6.js} +12 -0
  92. package/dist/clients/createLocusPublicClient.d.cts +10 -3
  93. package/dist/clients/createLocusPublicClient.d.mts +10 -3
  94. package/dist/clients/index.amd.js +1 -1
  95. package/dist/clients/index.cjs.cjs +1 -1
  96. package/dist/clients/index.esm.js +1 -1
  97. package/dist/constant/index.amd.js +2 -2
  98. package/dist/constant/index.cjs.cjs +2 -2
  99. package/dist/constant/index.d.cts +2 -2
  100. package/dist/constant/index.d.mts +2 -2
  101. package/dist/constant/index.esm.js +2 -2
  102. package/dist/contracts/index.amd.js +1 -1
  103. package/dist/contracts/index.cjs.cjs +1 -1
  104. package/dist/contracts/index.esm.js +1 -1
  105. package/dist/index.amd.js +1 -1
  106. package/dist/index.cjs.cjs +4 -4
  107. package/dist/index.esm.js +4 -4
  108. package/dist/utils/index.amd.js +4 -1
  109. package/dist/utils/index.cjs.cjs +5 -2
  110. package/dist/utils/index.esm.js +3 -3
  111. package/package.json +1 -1
  112. package/dist/autogen/actions/debug/public/removeHoldTxs.d.cts +0 -4
  113. package/dist/autogen/actions/debug/public/removeHoldTxs.d.mts +0 -4
  114. package/dist/autogen/actions/public/calculateSpentByForward.d.cts +0 -4
  115. package/dist/autogen/actions/public/calculateSpentByForward.d.mts +0 -4
  116. package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +0 -4
  117. package/dist/autogen/actions/public/calculateSpentByForwardList.d.mts +0 -4
  118. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +0 -3
  119. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +0 -3
  120. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.cts +0 -4
  121. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +0 -4
@@ -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 calculateSpentByForward(client, param) {
18
+ function calculateAvailableByForward(client, param) {
19
19
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
20
- return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
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 calculateSpentByForwardList(client, param) {
25
+ function calculateAvailableByForwardList(client, param) {
26
26
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
27
- return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
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 getHomeTxDir(client) {
117
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
118
+ return client.request({ method: 'locus_getHomeTxDir', params: [] });
119
+ });
120
+ }
121
+
122
+ // Automatically generated file. DO NOT EDIT.
123
+ function getHomeTxFlushSeq(client) {
124
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
125
+ return client.request({ method: 'locus_getHomeTxFlushSeq', 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* () {
@@ -294,12 +322,19 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
294
322
  });
295
323
  }
296
324
 
325
+ // Automatically generated file. DO NOT EDIT.
326
+ function waitHomeTxChange(client, params) {
327
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
328
+ return client.request({ method: 'locus_waitHomeTxChange', params: [params] });
329
+ });
330
+ }
331
+
297
332
  // Automatically generated file. DO NOT EDIT.
298
333
  const publicActions = (client) => ({
299
334
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
300
335
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
301
- calculateSpentByForward: (param) => calculateSpentByForward(client, param),
302
- calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
336
+ calculateAvailableByForward: (param) => calculateAvailableByForward(client, param),
337
+ calculateAvailableByForwardList: (param) => calculateAvailableByForwardList(client, param),
303
338
  clientMessage: (param) => clientMessage(client, param),
304
339
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
305
340
  echo: (str) => echo$1(client, str),
@@ -312,8 +347,11 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
312
347
  getAccountTokenList: (params) => getAccountTokenList(client, params),
313
348
  getConciseNodeStatus: () => getConciseNodeStatus(client),
314
349
  getGenesisAccount: () => getGenesisAccount(client),
350
+ getHomeTxDir: () => getHomeTxDir(client),
351
+ getHomeTxFlushSeq: () => getHomeTxFlushSeq(client),
315
352
  getIdentityProof: (param) => getIdentityProof(client, param),
316
353
  getInactiveTxList: (param) => getInactiveTxList(client, param),
354
+ getLaunchCommand: () => getLaunchCommand(client),
317
355
  getMontInfoList: (param) => getMontInfoList(client, param),
318
356
  getNodeStatus: () => getNodeStatus(client),
319
357
  getNodeVersion: () => getNodeVersion(client),
@@ -330,6 +368,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
330
368
  queryAddress: (params) => queryAddress(client, params),
331
369
  readTxListWitness: (params) => readTxListWitness(client, params),
332
370
  setHost: (param) => setHost(client, param),
371
+ shutdown: () => shutdown(client),
333
372
  subscribeAddress: (params) => subscribeAddress(client, params),
334
373
  upliftProofW: (params) => upliftProofW(client, params),
335
374
  uploadAccountTxs: (param) => uploadAccountTxs(client, param),
@@ -338,6 +377,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
338
377
  verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
339
378
  verifyProofW: (params) => verifyProofW(client, params),
340
379
  verifyTxListWitness: (params) => verifyTxListWitness(client, params),
380
+ waitHomeTxChange: (params) => waitHomeTxChange(client, params),
341
381
  });
342
382
 
343
383
  /**
@@ -718,6 +758,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
718
758
  });
719
759
  }
720
760
 
761
+ // Automatically generated file. DO NOT EDIT.
762
+ function buildDirectCall(client, param) {
763
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
764
+ return client.request({ method: 'debug_buildDirectCall', params: [param] });
765
+ });
766
+ }
767
+
721
768
  // Automatically generated file. DO NOT EDIT.
722
769
  function createAccount(client) {
723
770
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -859,9 +906,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
859
906
  }
860
907
 
861
908
  // Automatically generated file. DO NOT EDIT.
862
- function removeHoldTxs(client, param) {
909
+ function removeHomeTxs(client, param) {
863
910
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
864
- return client.request({ method: 'debug_removeHoldTxs', params: [param] });
911
+ return client.request({ method: 'debug_removeHomeTxs', params: [param] });
865
912
  });
866
913
  }
867
914
 
@@ -893,6 +940,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
893
940
  });
894
941
  }
895
942
 
943
+ // Automatically generated file. DO NOT EDIT.
944
+ function submitDirectCall(client, param) {
945
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
946
+ return client.request({ method: 'debug_submitDirectCall', params: [param] });
947
+ });
948
+ }
949
+
896
950
  // Automatically generated file. DO NOT EDIT.
897
951
  function viewVme(client, param) {
898
952
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -905,6 +959,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
905
959
  allHeights: () => allHeights(client),
906
960
  balanceGrantList: () => balanceGrantList(client),
907
961
  balanceList: () => balanceList(client),
962
+ buildDirectCall: (param) => buildDirectCall(client, param),
908
963
  createAccount: () => createAccount(client),
909
964
  createNode: (param) => createNode(client, param),
910
965
  dumpAllAccounts: () => dumpAllAccounts(client),
@@ -925,11 +980,12 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
925
980
  initReliableNodes: (param) => initReliableNodes(client, param),
926
981
  noArgsRets: () => noArgsRets(client),
927
982
  nodeCmd: (cmd) => nodeCmd(client, cmd),
928
- removeHoldTxs: (param) => removeHoldTxs(client, param),
983
+ removeHomeTxs: (param) => removeHomeTxs(client, param),
929
984
  requestVme: (params) => requestVme(client, params),
930
985
  sendRawTransaction: (params) => sendRawTransaction(client, params),
931
986
  setImportAccountTx: (params) => setImportAccountTx(client, params),
932
987
  setReliableNode: (param) => setReliableNode(client, param),
988
+ submitDirectCall: (param) => submitDirectCall(client, param),
933
989
  viewVme: (param) => viewVme(client, param),
934
990
  });
935
991
 
@@ -995,8 +1051,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
995
1051
  exports.balanceList = balanceList;
996
1052
  exports.becomeGuest = becomeGuest;
997
1053
  exports.becomeHost = becomeHost;
998
- exports.calculateSpentByForward = calculateSpentByForward;
999
- exports.calculateSpentByForwardList = calculateSpentByForwardList;
1054
+ exports.buildDirectCall = buildDirectCall;
1055
+ exports.calculateAvailableByForward = calculateAvailableByForward;
1056
+ exports.calculateAvailableByForwardList = calculateAvailableByForwardList;
1000
1057
  exports.callContract = callContract;
1001
1058
  exports.callVme = callVme;
1002
1059
  exports.changeKey = changeKey;
@@ -1034,11 +1091,14 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
1034
1091
  exports.getGenesisAccount = getGenesisAccount;
1035
1092
  exports.getGuestsInfo = getGuestsInfo;
1036
1093
  exports.getHomeShard = getHomeShard;
1094
+ exports.getHomeTxDir = getHomeTxDir;
1095
+ exports.getHomeTxFlushSeq = getHomeTxFlushSeq;
1037
1096
  exports.getIdentityProof = getIdentityProof;
1038
1097
  exports.getImportAccount = getImportAccount;
1039
1098
  exports.getImportAccountLog = getImportAccountLog;
1040
1099
  exports.getInactiveTxList = getInactiveTxList;
1041
1100
  exports.getKeys = getKeys;
1101
+ exports.getLaunchCommand = getLaunchCommand;
1042
1102
  exports.getMontInfoList = getMontInfoList;
1043
1103
  exports.getNodeBlocks = getNodeBlocks;
1044
1104
  exports.getNodeStatus = getNodeStatus;
@@ -1068,13 +1128,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
1068
1128
  exports.publicActions = publicActions;
1069
1129
  exports.queryAddress = queryAddress;
1070
1130
  exports.readTxListWitness = readTxListWitness;
1071
- exports.removeHoldTxs = removeHoldTxs;
1131
+ exports.removeHomeTxs = removeHomeTxs;
1072
1132
  exports.requestDataTrade = requestDataTrade;
1073
1133
  exports.requestVme = requestVme;
1074
1134
  exports.sendRawTransaction = sendRawTransaction;
1075
1135
  exports.setHost = setHost;
1076
1136
  exports.setImportAccountTx = setImportAccountTx;
1077
1137
  exports.setReliableNode = setReliableNode;
1138
+ exports.shutdown = shutdown;
1139
+ exports.submitDirectCall = submitDirectCall;
1078
1140
  exports.subscribeAddress = subscribeAddress;
1079
1141
  exports.transfer = transfer;
1080
1142
  exports.transferAllRes = transferAllRes;
@@ -1090,6 +1152,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
1090
1152
  exports.verifyProofW = verifyProofW;
1091
1153
  exports.verifyTxListWitness = verifyTxListWitness;
1092
1154
  exports.viewVme = viewVme;
1155
+ exports.waitHomeTxChange = waitHomeTxChange;
1093
1156
  exports.walletActions = walletActions;
1094
1157
 
1095
1158
  }));
@@ -17,16 +17,16 @@ function accountHeightsToUpload(client, param) {
17
17
  }
18
18
 
19
19
  // Automatically generated file. DO NOT EDIT.
20
- function calculateSpentByForward(client, param) {
20
+ function calculateAvailableByForward(client, param) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
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 calculateSpentByForwardList(client, param) {
27
+ function calculateAvailableByForwardList(client, param) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
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 getHomeTxDir(client) {
119
+ return __awaiter(this, void 0, void 0, function* () {
120
+ return client.request({ method: 'locus_getHomeTxDir', params: [] });
121
+ });
122
+ }
123
+
124
+ // Automatically generated file. DO NOT EDIT.
125
+ function getHomeTxFlushSeq(client) {
126
+ return __awaiter(this, void 0, void 0, function* () {
127
+ return client.request({ method: 'locus_getHomeTxFlushSeq', 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* () {
@@ -296,12 +324,19 @@ function verifyTxListWitness(client, params) {
296
324
  });
297
325
  }
298
326
 
327
+ // Automatically generated file. DO NOT EDIT.
328
+ function waitHomeTxChange(client, params) {
329
+ return __awaiter(this, void 0, void 0, function* () {
330
+ return client.request({ method: 'locus_waitHomeTxChange', params: [params] });
331
+ });
332
+ }
333
+
299
334
  // Automatically generated file. DO NOT EDIT.
300
335
  const publicActions = (client) => ({
301
336
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
302
337
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
303
- calculateSpentByForward: (param) => calculateSpentByForward(client, param),
304
- calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
338
+ calculateAvailableByForward: (param) => calculateAvailableByForward(client, param),
339
+ calculateAvailableByForwardList: (param) => calculateAvailableByForwardList(client, param),
305
340
  clientMessage: (param) => clientMessage(client, param),
306
341
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
307
342
  echo: (str) => echo$1(client, str),
@@ -314,8 +349,11 @@ const publicActions = (client) => ({
314
349
  getAccountTokenList: (params) => getAccountTokenList(client, params),
315
350
  getConciseNodeStatus: () => getConciseNodeStatus(client),
316
351
  getGenesisAccount: () => getGenesisAccount(client),
352
+ getHomeTxDir: () => getHomeTxDir(client),
353
+ getHomeTxFlushSeq: () => getHomeTxFlushSeq(client),
317
354
  getIdentityProof: (param) => getIdentityProof(client, param),
318
355
  getInactiveTxList: (param) => getInactiveTxList(client, param),
356
+ getLaunchCommand: () => getLaunchCommand(client),
319
357
  getMontInfoList: (param) => getMontInfoList(client, param),
320
358
  getNodeStatus: () => getNodeStatus(client),
321
359
  getNodeVersion: () => getNodeVersion(client),
@@ -332,6 +370,7 @@ const publicActions = (client) => ({
332
370
  queryAddress: (params) => queryAddress(client, params),
333
371
  readTxListWitness: (params) => readTxListWitness(client, params),
334
372
  setHost: (param) => setHost(client, param),
373
+ shutdown: () => shutdown(client),
335
374
  subscribeAddress: (params) => subscribeAddress(client, params),
336
375
  upliftProofW: (params) => upliftProofW(client, params),
337
376
  uploadAccountTxs: (param) => uploadAccountTxs(client, param),
@@ -340,6 +379,7 @@ const publicActions = (client) => ({
340
379
  verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
341
380
  verifyProofW: (params) => verifyProofW(client, params),
342
381
  verifyTxListWitness: (params) => verifyTxListWitness(client, params),
382
+ waitHomeTxChange: (params) => waitHomeTxChange(client, params),
343
383
  });
344
384
 
345
385
  /**
@@ -720,6 +760,13 @@ function balanceList(client) {
720
760
  });
721
761
  }
722
762
 
763
+ // Automatically generated file. DO NOT EDIT.
764
+ function buildDirectCall(client, param) {
765
+ return __awaiter(this, void 0, void 0, function* () {
766
+ return client.request({ method: 'debug_buildDirectCall', params: [param] });
767
+ });
768
+ }
769
+
723
770
  // Automatically generated file. DO NOT EDIT.
724
771
  function createAccount(client) {
725
772
  return __awaiter(this, void 0, void 0, function* () {
@@ -861,9 +908,9 @@ function nodeCmd(client, cmd) {
861
908
  }
862
909
 
863
910
  // Automatically generated file. DO NOT EDIT.
864
- function removeHoldTxs(client, param) {
911
+ function removeHomeTxs(client, param) {
865
912
  return __awaiter(this, void 0, void 0, function* () {
866
- return client.request({ method: 'debug_removeHoldTxs', params: [param] });
913
+ return client.request({ method: 'debug_removeHomeTxs', params: [param] });
867
914
  });
868
915
  }
869
916
 
@@ -895,6 +942,13 @@ function setReliableNode(client, param) {
895
942
  });
896
943
  }
897
944
 
945
+ // Automatically generated file. DO NOT EDIT.
946
+ function submitDirectCall(client, param) {
947
+ return __awaiter(this, void 0, void 0, function* () {
948
+ return client.request({ method: 'debug_submitDirectCall', params: [param] });
949
+ });
950
+ }
951
+
898
952
  // Automatically generated file. DO NOT EDIT.
899
953
  function viewVme(client, param) {
900
954
  return __awaiter(this, void 0, void 0, function* () {
@@ -907,6 +961,7 @@ const debugPublicActions = (client) => ({
907
961
  allHeights: () => allHeights(client),
908
962
  balanceGrantList: () => balanceGrantList(client),
909
963
  balanceList: () => balanceList(client),
964
+ buildDirectCall: (param) => buildDirectCall(client, param),
910
965
  createAccount: () => createAccount(client),
911
966
  createNode: (param) => createNode(client, param),
912
967
  dumpAllAccounts: () => dumpAllAccounts(client),
@@ -927,11 +982,12 @@ const debugPublicActions = (client) => ({
927
982
  initReliableNodes: (param) => initReliableNodes(client, param),
928
983
  noArgsRets: () => noArgsRets(client),
929
984
  nodeCmd: (cmd) => nodeCmd(client, cmd),
930
- removeHoldTxs: (param) => removeHoldTxs(client, param),
985
+ removeHomeTxs: (param) => removeHomeTxs(client, param),
931
986
  requestVme: (params) => requestVme(client, params),
932
987
  sendRawTransaction: (params) => sendRawTransaction(client, params),
933
988
  setImportAccountTx: (params) => setImportAccountTx(client, params),
934
989
  setReliableNode: (param) => setReliableNode(client, param),
990
+ submitDirectCall: (param) => submitDirectCall(client, param),
935
991
  viewVme: (param) => viewVme(client, param),
936
992
  });
937
993
 
@@ -989,4 +1045,4 @@ const debugWalletActions = (client) => ({
989
1045
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
990
1046
  });
991
1047
 
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 };
1048
+ export { echo$1 as $, noArgsRets as A, nodeCmd as B, postDataToSynthAccount as C, removeHomeTxs as D, requestVme as E, sendRawTransaction as F, setImportAccountTx as G, setReliableNode as H, submitDirectCall as I, viewVme as J, acceptScript as K, accountHeightsToDownload as L, accountHeightsToUpload as M, becomeGuest as N, becomeHost as O, calculateAvailableByForward as P, calculateAvailableByForwardList as Q, changeKey as R, changeVkey as S, clientMessage as T, closeAccount as U, createAssetObject as V, createToken as W, createVme as X, debugPublicActions as Y, debugWalletActions as Z, downloadAccountTxs as _, allHeights as a, findDuplicateSubscriber as a0, forwardAssetObject as a1, forwardCoin as a2, forwardToken as a3, freezeAccount as a4, generateLatestStoredDataProof as a5, getAccountAssetList as a6, getAccountAssetObject as a7, getAccountDetail as a8, getAccountHistory as a9, queryAddress as aA, readTxListWitness as aB, requestDataTrade as aC, setHost as aD, shutdown as aE, subscribeAddress as aF, transfer as aG, transferAllRes as aH, transferAssetObject as aI, transferCoin as aJ, transferToken as aK, unlockStake as aL, upliftProofW as aM, uploadAccountTxs as aN, verifyAndSignChallenge as aO, verifyIdentityProof as aP, verifyLatestStoredDataProof as aQ, verifyProofW as aR, verifyTxListWitness as aS, waitHomeTxChange as aT, walletActions as aU, getAccountTokenList as aa, getConciseNodeStatus as ab, getGenesisAccount as ac, getHomeTxDir as ad, getHomeTxFlushSeq as ae, getIdentityProof as af, getInactiveTxList as ag, getLaunchCommand as ah, getMontInfoList as ai, getNodeStatus as aj, getNodeVersion as ak, getOwnerBalance as al, getRoundState as am, getRoundStatesList as an, getShardOfAccount as ao, getSyncState as ap, getTx as aq, getWorldRoundState as ar, getWorldRoundStatesList as as, hasSystemToken as at, lockStake as au, makeTxProof as av, openAccount as aw, postData as ax, provideScript as ay, publicActions as az, balanceGrantList as b, balanceList as c, buildDirectCall as d, callContract as e, callVme as f, createAccount as g, createContract as h, createNode as i, createSynthAccount as j, dumpAllAccounts as k, echo as l, gameChainCmd as m, getAccountsBalances as n, getAccountsHeights as o, getGuestsInfo as p, getHomeShard as q, getImportAccount as r, getImportAccountLog as s, getKeys as t, getNodeBlocks as u, getPeerPool as v, getPeersInfo as w, getVmeLog as x, importAccount as y, initReliableNodes as z };
@@ -1,4 +1,4 @@
1
- import { c as createAccountAndKeystore, l as loadMasterKeystore, a as loadNormalKeystore } from './wasm-CLXJDrJA.js';
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,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var wasm = require('./wasm-BYOKRR31.cjs');
3
+ var wasm = require('./wasm-dbtq7eri.cjs');
4
4
  var base = require('./base-Cy5SSYLF.cjs');
5
5
  var account = require('./account-BAsiKnSL.cjs');
6
6
 
@@ -1,4 +1,4 @@
1
- define(['exports', './wasm-CkFW222S', './base-B_kRRfsf', './account-BSrvZ7S8'], (function (exports, wasm, base, account) { 'use strict';
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 두
@@ -48,7 +48,7 @@ const TxType = Object.freeze({
48
48
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
49
49
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
50
50
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
51
- CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
51
+ CREATE_VME: 'TX_CREATE_VME',
52
52
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
53
53
  VME_BLOCK: 'TX_VME_BLOCK',
54
54
  CALL_VME: 'TX_CALL_VME',
@@ -46,7 +46,7 @@ const TxType = Object.freeze({
46
46
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
47
47
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
48
48
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
49
- CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
49
+ CREATE_VME: 'TX_CREATE_VME',
50
50
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
51
51
  VME_BLOCK: 'TX_VME_BLOCK',
52
52
  CALL_VME: 'TX_CALL_VME',
@@ -48,7 +48,7 @@ define(['exports'], (function (exports) { 'use strict';
48
48
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
49
49
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
50
50
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
51
- CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
51
+ CREATE_VME: 'TX_CREATE_VME',
52
52
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
53
53
  VME_BLOCK: 'TX_VME_BLOCK',
54
54
  CALL_VME: 'TX_CALL_VME',
@@ -87,6 +87,9 @@ const createNormalKey = (params) => {
87
87
  const createNormalKeystore = (params) => {
88
88
  return callWasm('createNormalKeystore', [params]);
89
89
  };
90
+ const decodeSubId = (subIdString) => {
91
+ return callWasm('decodeSubId', [subIdString]);
92
+ };
90
93
  const decodeTxs = (params) => {
91
94
  return callWasm('decodeTxs', [params]);
92
95
  };
@@ -99,6 +102,12 @@ const deriveKeysFromMnemonicAndPath = (params) => {
99
102
  const disCompileCoreScript = (params) => {
100
103
  return callWasm('disCompileCoreScript', [params]);
101
104
  };
105
+ const encodeFuncData = (op, dataHex) => {
106
+ return callWasm('encodeFuncData', [op, dataHex]);
107
+ };
108
+ const encodeSubId = (hexString) => {
109
+ return callWasm('encodeSubId', [hexString]);
110
+ };
102
111
  const encodeTxCurrency = (params) => {
103
112
  return callWasm('encodeTxCurrency', [params]);
104
113
  };
@@ -163,4 +172,4 @@ const verifyTx = (jsonTx) => {
163
172
  return callWasm('verifyTx', [jsonTx]);
164
173
  };
165
174
 
166
- export { disCompileCoreScript as A, encodeTxCurrency as B, encodeTxNumber as C, generateMnemonic as D, generateMnemonicBySeed as E, getDefFromCoreScript as F, getHomeShard as G, getLibraryVersions as H, gzipAndEncode as I, hash as J, isGrantConsumingTx as K, makeCurrency as L, sign as M, signByMasterKey as N, signKeyBind as O, testCoreScript as P, verify as Q, verifyByMasterKey as R, verifyMerkleProof as S, verifyTx as T, loadNormalKeystore as a, calculateTxLinkHash as b, createAccountAndKeystore as c, compileCoreScript as d, convertAddressToData as e, convertAddressToHex as f, convertBase32ToData as g, convertBase32ToHex as h, convertCurrency as i, convertDataTo as j, convertDataToAddress as k, loadMasterKeystore as l, convertDataToBase32 as m, convertDataToHex as n, convertDataToString as o, convertHexToAddress as p, convertHexToBase32 as q, convertHexToData as r, convertStringToData as s, convertToData as t, createMasterKeystore as u, createNormalKey as v, createNormalKeystore as w, decodeTxs as x, deriveKeysFromMnemonic as y, deriveKeysFromMnemonicAndPath as z };
175
+ export { deriveKeysFromMnemonicAndPath as A, disCompileCoreScript as B, encodeFuncData as C, encodeSubId as D, encodeTxCurrency as E, encodeTxNumber as F, generateMnemonic as G, generateMnemonicBySeed as H, getDefFromCoreScript as I, getHomeShard as J, getLibraryVersions as K, gzipAndEncode as L, hash as M, isGrantConsumingTx as N, makeCurrency as O, sign as P, signByMasterKey as Q, signKeyBind as R, testCoreScript as S, verify as T, verifyByMasterKey as U, verifyMerkleProof as V, verifyTx as W, loadNormalKeystore as a, calculateTxLinkHash as b, createAccountAndKeystore as c, compileCoreScript as d, convertAddressToData as e, convertAddressToHex as f, convertBase32ToData as g, convertBase32ToHex as h, convertCurrency as i, convertDataTo as j, convertDataToAddress as k, loadMasterKeystore as l, convertDataToBase32 as m, convertDataToHex as n, convertDataToString as o, convertHexToAddress as p, convertHexToBase32 as q, convertHexToData as r, convertStringToData as s, convertToData as t, createMasterKeystore as u, createNormalKey as v, createNormalKeystore as w, decodeSubId as x, decodeTxs as y, deriveKeysFromMnemonic as z };
@@ -89,6 +89,9 @@ const createNormalKey = (params) => {
89
89
  const createNormalKeystore = (params) => {
90
90
  return callWasm('createNormalKeystore', [params]);
91
91
  };
92
+ const decodeSubId = (subIdString) => {
93
+ return callWasm('decodeSubId', [subIdString]);
94
+ };
92
95
  const decodeTxs = (params) => {
93
96
  return callWasm('decodeTxs', [params]);
94
97
  };
@@ -101,6 +104,12 @@ const deriveKeysFromMnemonicAndPath = (params) => {
101
104
  const disCompileCoreScript = (params) => {
102
105
  return callWasm('disCompileCoreScript', [params]);
103
106
  };
107
+ const encodeFuncData = (op, dataHex) => {
108
+ return callWasm('encodeFuncData', [op, dataHex]);
109
+ };
110
+ const encodeSubId = (hexString) => {
111
+ return callWasm('encodeSubId', [hexString]);
112
+ };
104
113
  const encodeTxCurrency = (params) => {
105
114
  return callWasm('encodeTxCurrency', [params]);
106
115
  };
@@ -186,10 +195,13 @@ exports.createAccountAndKeystore = createAccountAndKeystore;
186
195
  exports.createMasterKeystore = createMasterKeystore;
187
196
  exports.createNormalKey = createNormalKey;
188
197
  exports.createNormalKeystore = createNormalKeystore;
198
+ exports.decodeSubId = decodeSubId;
189
199
  exports.decodeTxs = decodeTxs;
190
200
  exports.deriveKeysFromMnemonic = deriveKeysFromMnemonic;
191
201
  exports.deriveKeysFromMnemonicAndPath = deriveKeysFromMnemonicAndPath;
192
202
  exports.disCompileCoreScript = disCompileCoreScript;
203
+ exports.encodeFuncData = encodeFuncData;
204
+ exports.encodeSubId = encodeSubId;
193
205
  exports.encodeTxCurrency = encodeTxCurrency;
194
206
  exports.encodeTxNumber = encodeTxNumber;
195
207
  exports.generateMnemonic = generateMnemonic;
@@ -87,6 +87,9 @@ define(['exports', './lclib-Bv86gksL'], (function (exports, lclib) { 'use strict
87
87
  const createNormalKeystore = (params) => {
88
88
  return callWasm('createNormalKeystore', [params]);
89
89
  };
90
+ const decodeSubId = (subIdString) => {
91
+ return callWasm('decodeSubId', [subIdString]);
92
+ };
90
93
  const decodeTxs = (params) => {
91
94
  return callWasm('decodeTxs', [params]);
92
95
  };
@@ -99,6 +102,12 @@ define(['exports', './lclib-Bv86gksL'], (function (exports, lclib) { 'use strict
99
102
  const disCompileCoreScript = (params) => {
100
103
  return callWasm('disCompileCoreScript', [params]);
101
104
  };
105
+ const encodeFuncData = (op, dataHex) => {
106
+ return callWasm('encodeFuncData', [op, dataHex]);
107
+ };
108
+ const encodeSubId = (hexString) => {
109
+ return callWasm('encodeSubId', [hexString]);
110
+ };
102
111
  const encodeTxCurrency = (params) => {
103
112
  return callWasm('encodeTxCurrency', [params]);
104
113
  };
@@ -184,10 +193,13 @@ define(['exports', './lclib-Bv86gksL'], (function (exports, lclib) { 'use strict
184
193
  exports.createMasterKeystore = createMasterKeystore;
185
194
  exports.createNormalKey = createNormalKey;
186
195
  exports.createNormalKeystore = createNormalKeystore;
196
+ exports.decodeSubId = decodeSubId;
187
197
  exports.decodeTxs = decodeTxs;
188
198
  exports.deriveKeysFromMnemonic = deriveKeysFromMnemonic;
189
199
  exports.deriveKeysFromMnemonicAndPath = deriveKeysFromMnemonicAndPath;
190
200
  exports.disCompileCoreScript = disCompileCoreScript;
201
+ exports.encodeFuncData = encodeFuncData;
202
+ exports.encodeSubId = encodeSubId;
191
203
  exports.encodeTxCurrency = encodeTxCurrency;
192
204
  exports.encodeTxNumber = encodeTxNumber;
193
205
  exports.generateMnemonic = generateMnemonic;
@@ -32,6 +32,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
32
32
  readonly allHeights: () => Promise<import("../index.cjs").RpcAccountHeight[]>;
33
33
  readonly balanceGrantList: () => Promise<string[]>;
34
34
  readonly balanceList: () => Promise<string[]>;
35
+ readonly buildDirectCall: (param: import("../index.cjs").ParamsBuildDirectCall) => Promise<import("../index.cjs").RpcBuildDirectCallResult>;
35
36
  readonly createAccount: () => Promise<import("../index.cjs").RpcCreateAccountResult>;
36
37
  readonly createNode: (param: import("../index.cjs").ParamsCreateNode) => Promise<import("../index.cjs").RpcCreateNodeResult>;
37
38
  readonly dumpAllAccounts: () => Promise<import("../index.cjs").ResultDumpAccounts>;
@@ -52,16 +53,17 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
52
53
  readonly initReliableNodes: (param: import("../index.cjs").ParamsInitReliableNodes) => Promise<import("../index.cjs").RpcBoolResult>;
53
54
  readonly noArgsRets: () => Promise<any>;
54
55
  readonly nodeCmd: (cmd: string) => Promise<import("../index.cjs").RpcNodeCmdResult>;
55
- readonly removeHoldTxs: (param: import("../index.cjs").ParamsRemoveHoldTxs) => Promise<import("../index.cjs").RetTypeBase>;
56
+ readonly removeHomeTxs: (param: import("../index.cjs").ParamsRemoveHomeTxs) => Promise<import("../index.cjs").RetTypeBase>;
56
57
  readonly requestVme: (params: import("../index.cjs").ParamsRequestVme) => Promise<import("../index.cjs").RpcRequestVmeResult>;
57
58
  readonly sendRawTransaction: (params: import("../index.cjs").ParamsSendRawTransaction) => Promise<import("../index.cjs").RpcSendRawTransactionResult>;
58
59
  readonly setImportAccountTx: (params: import("../index.cjs").ParamsSetImportAccountTx) => Promise<import("../index.cjs").RpcSetImportAccountTxResult>;
59
60
  readonly setReliableNode: (param: import("../index.cjs").ParamsSetReliableNode) => Promise<import("../index.cjs").RpcBoolResult>;
61
+ readonly submitDirectCall: (param: import("../index.cjs").ParamsSubmitDirectCall) => Promise<import("../index.cjs").RpcDirectCallResult>;
60
62
  readonly viewVme: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcViewVmeResult>;
61
63
  readonly accountHeightsToDownload: (param: import("../index.cjs").ParamsAccountHeights) => Promise<import("../index.cjs").HeightsResult>;
62
64
  readonly accountHeightsToUpload: (param: import("../index.cjs").ParamsAccountHeights) => Promise<import("../index.cjs").UploadHeightsResult>;
63
- readonly calculateSpentByForward: (param: import("../index.cjs").ParamsCalculateSpentByForward) => Promise<import("../index.cjs").RpcCalculateSpentByForwardResult>;
64
- readonly calculateSpentByForwardList: (param: import("../index.cjs").ParamsCalculateSpentByForwardList) => Promise<import("../index.cjs").RpcCalculateSpentByForwardListResult>;
65
+ readonly calculateAvailableByForward: (param: import("../index.cjs").ParamsCalculateAvailableByForward) => Promise<import("../index.cjs").RpcCalculateAvailableByForwardResult>;
66
+ readonly calculateAvailableByForwardList: (param: import("../index.cjs").ParamsCalculateAvailableByForwardList) => Promise<import("../index.cjs").RpcCalculateAvailableByForwardListResult>;
65
67
  readonly clientMessage: (param: import("../index.cjs").ParamStr) => Promise<any>;
66
68
  readonly downloadAccountTxs: (param: import("../index.cjs").ParamsDownloadAccountTxs) => Promise<import("../index.cjs").OutputDownloadAccountTxs>;
67
69
  readonly findDuplicateSubscriber: (params: import("../index.cjs").ParamsFindDuplicateSubscriber) => Promise<import("../index.cjs").RpcFindDuplicateSubscriberResult>;
@@ -73,8 +75,11 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
73
75
  readonly getAccountTokenList: (params: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetAccountTokenListResult>;
74
76
  readonly getConciseNodeStatus: () => Promise<import("../index.cjs").RpcGetConciseNodeStatusResult>;
75
77
  readonly getGenesisAccount: () => Promise<import("../index.cjs").RpcGetGenesisAccountResult>;
78
+ readonly getHomeTxDir: () => Promise<import("../index.cjs").RpcGetHomeTxDirResult>;
79
+ readonly getHomeTxFlushSeq: () => Promise<import("../index.cjs").RpcGetHomeTxFlushSeqResult>;
76
80
  readonly getIdentityProof: (param: import("../index.cjs").ParamsGetIdentityProof) => Promise<import("../index.cjs").RpcGetIdentityProofResult>;
77
81
  readonly getInactiveTxList: (param: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetInactiveTxListResult>;
82
+ readonly getLaunchCommand: () => Promise<import("../index.cjs").RpcGetLaunchCommandResult>;
78
83
  readonly getMontInfoList: (param: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetMontInfoListResult>;
79
84
  readonly getNodeStatus: () => Promise<import("../index.cjs").RpcGetNodeStatusResult>;
80
85
  readonly getNodeVersion: () => Promise<import("../index.cjs").RpcGetNodeVersionResult>;
@@ -91,6 +96,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
91
96
  readonly queryAddress: (params: import("../index.cjs").ParamsQueryAddress) => Promise<import("../index.cjs").RpcQueryAddressResult>;
92
97
  readonly readTxListWitness: (params: import("../index.cjs").ParamsReadTxList) => Promise<import("../index.cjs").RpcReadTxListWitnessResult>;
93
98
  readonly setHost: (param: import("../index.cjs").ParamsSetHost) => Promise<boolean>;
99
+ readonly shutdown: () => Promise<import("../index.cjs").RpcShutdownResult>;
94
100
  readonly subscribeAddress: (params: import("../index.cjs").ParamsSubscribeAddress) => Promise<import("../index.cjs").RpcSubscribeAddressResult>;
95
101
  readonly upliftProofW: (params: import("../index.cjs").ParamsUpliftProofW) => Promise<import("../index.cjs").RpcProofWResult>;
96
102
  readonly uploadAccountTxs: (param: import("../index.cjs").ParamsUploadAccountTxs) => Promise<number[]>;
@@ -99,6 +105,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
99
105
  readonly verifyLatestStoredDataProof: (params: import("../index.cjs").ParamsLatestStoredDataProof) => Promise<boolean>;
100
106
  readonly verifyProofW: (params: import("../index.cjs").ParamsVerifyProofW) => Promise<boolean>;
101
107
  readonly verifyTxListWitness: (params: import("../index.cjs").ParamsTxListWitness) => Promise<boolean>;
108
+ readonly waitHomeTxChange: (params: import("../index.cjs").ParamsWaitHomeTxChange) => Promise<import("../index.cjs").RpcWaitHomeTxChangeResult>;
102
109
  };
103
110
  /** 추론된 반환 타입 — 이 클라이언트를 담는 필드/변수의 타입 선언에 사용. */
104
111
  export type LocusPublicClient = ReturnType<typeof createLocusPublicClient>;