@locuschain/lib 0.2.4 → 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.
Files changed (127) hide show
  1. package/dist/accounts/index.amd.js +1 -1
  2. package/dist/accounts/index.cjs.cjs +1 -1
  3. package/dist/accounts/index.esm.js +1 -1
  4. package/dist/autogen/actions/debug/wallet/callContract.d.cts +4 -0
  5. package/dist/autogen/actions/debug/wallet/callContract.d.mts +4 -0
  6. package/dist/autogen/actions/debug/wallet/createContract.d.cts +4 -0
  7. package/dist/autogen/actions/debug/wallet/createContract.d.mts +4 -0
  8. package/dist/autogen/actions/debug/wallet/index.d.cts +2 -0
  9. package/dist/autogen/actions/debug/wallet/index.d.mts +2 -0
  10. package/dist/autogen/actions/public/calculateSpentByForward.d.cts +4 -0
  11. package/dist/autogen/actions/public/calculateSpentByForward.d.mts +4 -0
  12. package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +4 -0
  13. package/dist/autogen/actions/public/calculateSpentByForwardList.d.mts +4 -0
  14. package/dist/autogen/actions/public/getNodeVersion.d.cts +3 -0
  15. package/dist/autogen/actions/public/getNodeVersion.d.mts +3 -0
  16. package/dist/autogen/actions/public/index.d.cts +5 -1
  17. package/dist/autogen/actions/public/index.d.mts +5 -1
  18. package/dist/autogen/actions/public/upliftProofW.d.cts +4 -0
  19. package/dist/autogen/actions/public/upliftProofW.d.mts +4 -0
  20. package/dist/autogen/actions/public/verifyProofW.d.cts +3 -0
  21. package/dist/autogen/actions/public/verifyProofW.d.mts +3 -0
  22. package/dist/autogen/actions/wallet/forwardAssetObject.d.cts +4 -0
  23. package/dist/autogen/actions/wallet/forwardAssetObject.d.mts +4 -0
  24. package/dist/autogen/actions/wallet/forwardToken.d.cts +4 -0
  25. package/dist/autogen/actions/wallet/forwardToken.d.mts +4 -0
  26. package/dist/autogen/actions/wallet/index.d.cts +4 -0
  27. package/dist/autogen/actions/wallet/index.d.mts +4 -0
  28. package/dist/autogen/actions/wallet/transfer.d.cts +4 -0
  29. package/dist/autogen/actions/wallet/transfer.d.mts +4 -0
  30. package/dist/autogen/actions/wallet/transferAllRes.d.cts +4 -0
  31. package/dist/autogen/actions/wallet/transferAllRes.d.mts +4 -0
  32. package/dist/autogen/debugWalletActions.d.cts +3 -0
  33. package/dist/autogen/debugWalletActions.d.mts +3 -0
  34. package/dist/autogen/index.amd.js +12 -2
  35. package/dist/autogen/index.cjs.cjs +12 -2
  36. package/dist/autogen/index.esm.js +4 -2
  37. package/dist/autogen/locus-tx.d.cts +2 -2
  38. package/dist/autogen/locus-tx.d.mts +2 -2
  39. package/dist/autogen/publicActions.d.cts +9 -2
  40. package/dist/autogen/publicActions.d.mts +9 -2
  41. package/dist/autogen/rpc-api-spec.d.cts +24 -3
  42. package/dist/autogen/rpc-api-spec.d.mts +24 -3
  43. package/dist/autogen/types/common/contract-exec-status.d.cts +2 -1
  44. package/dist/autogen/types/common/contract-exec-status.d.mts +2 -1
  45. package/dist/autogen/types/common/forward-spent-item.d.cts +9 -0
  46. package/dist/autogen/types/common/forward-spent-item.d.mts +9 -0
  47. package/dist/autogen/types/common/index.d.cts +3 -0
  48. package/dist/autogen/types/common/index.d.mts +3 -0
  49. package/dist/autogen/types/common/params-transfer-asset.d.cts +4 -0
  50. package/dist/autogen/types/common/params-transfer-asset.d.mts +4 -0
  51. package/dist/autogen/types/common/res-changed-entry.d.cts +3 -2
  52. package/dist/autogen/types/common/res-changed-entry.d.mts +3 -2
  53. package/dist/autogen/types/common/res-state-value.d.cts +5 -0
  54. package/dist/autogen/types/common/res-state-value.d.mts +5 -0
  55. package/dist/autogen/types/consts/tx-type.d.cts +3 -1
  56. package/dist/autogen/types/consts/tx-type.d.mts +3 -1
  57. package/dist/autogen/types/consts/tx-types.d.cts +15 -1
  58. package/dist/autogen/types/consts/tx-types.d.mts +15 -1
  59. package/dist/autogen/types/rpc/index.d.cts +13 -2
  60. package/dist/autogen/types/rpc/index.d.mts +13 -2
  61. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +3 -0
  62. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +3 -0
  63. package/dist/autogen/types/rpc/{params-calculate-spent-by-forward-coin.d.cts → params-calculate-spent-by-forward.d.cts} +1 -1
  64. package/dist/autogen/types/rpc/{params-calculate-spent-by-forward-coin.d.mts → params-calculate-spent-by-forward.d.mts} +1 -1
  65. package/dist/autogen/types/rpc/params-create-contract.d.cts +15 -0
  66. package/dist/autogen/types/rpc/params-create-contract.d.mts +15 -0
  67. package/dist/autogen/types/rpc/params-forward-asset-object.d.cts +7 -0
  68. package/dist/autogen/types/rpc/params-forward-asset-object.d.mts +7 -0
  69. package/dist/autogen/types/rpc/params-forward-token.d.cts +7 -0
  70. package/dist/autogen/types/rpc/params-forward-token.d.mts +7 -0
  71. package/dist/autogen/types/rpc/params-transfer-all-res.d.cts +14 -0
  72. package/dist/autogen/types/rpc/params-transfer-all-res.d.mts +14 -0
  73. package/dist/autogen/types/rpc/params-transfer-tokens.d.cts +0 -4
  74. package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +0 -4
  75. package/dist/autogen/types/rpc/params-transfer.d.cts +10 -0
  76. package/dist/autogen/types/rpc/params-transfer.d.mts +10 -0
  77. package/dist/autogen/types/rpc/params-uplift-proof-w.d.cts +6 -0
  78. package/dist/autogen/types/rpc/params-uplift-proof-w.d.mts +6 -0
  79. package/dist/autogen/types/rpc/params-verify-proof-w.d.cts +6 -0
  80. package/dist/autogen/types/rpc/params-verify-proof-w.d.mts +6 -0
  81. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.cts +4 -0
  82. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +4 -0
  83. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.cts +7 -0
  84. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.mts +7 -0
  85. package/dist/autogen/types/rpc/rpc-get-node-status-result.d.cts +1 -0
  86. package/dist/autogen/types/rpc/rpc-get-node-status-result.d.mts +1 -0
  87. package/dist/autogen/types/rpc/rpc-get-node-version-result.d.cts +3 -0
  88. package/dist/autogen/types/rpc/rpc-get-node-version-result.d.mts +3 -0
  89. package/dist/autogen/types/rpc/rpc-proof-wresult.d.cts +3 -0
  90. package/dist/autogen/types/rpc/rpc-proof-wresult.d.mts +3 -0
  91. package/dist/autogen/types/tx/index.d.cts +1 -0
  92. package/dist/autogen/types/tx/index.d.mts +1 -0
  93. package/dist/autogen/types/tx/tx-activate-vme-result.d.cts +1 -0
  94. package/dist/autogen/types/tx/tx-activate-vme-result.d.mts +1 -0
  95. package/dist/autogen/types/tx/tx-activate-vme-transfer.d.cts +1 -0
  96. package/dist/autogen/types/tx/tx-activate-vme-transfer.d.mts +1 -0
  97. package/dist/autogen/types/tx/tx-transfer-all-res.d.cts +15 -0
  98. package/dist/autogen/types/tx/tx-transfer-all-res.d.mts +15 -0
  99. package/dist/autogen/walletActions.d.cts +8 -0
  100. package/dist/autogen/walletActions.d.mts +8 -0
  101. package/dist/autogen/wasm/lclib.wasm +0 -0
  102. package/dist/chunks/{debugWalletActions-Bd8C-fZB.js → debugWalletActions-BWgEnPR5.js} +106 -4
  103. package/dist/chunks/{debugWalletActions-DIQY8cBm.cjs → debugWalletActions-CjqVQSZX.cjs} +106 -4
  104. package/dist/chunks/{debugWalletActions-qkesE_0m.js → debugWalletActions-Dh5poX8K.js} +96 -4
  105. package/dist/chunks/{tx-type-D_IH9tdK.js → tx-type-BUN9nEQ6.js} +3 -1
  106. package/dist/chunks/{tx-type-CnfCIc5p.js → tx-type-DYAaL3xz.js} +3 -1
  107. package/dist/chunks/{tx-type-CjORX0H2.cjs → tx-type-khL8tWtn.cjs} +3 -1
  108. package/dist/clients/createLocusPublicClient.d.cts +5 -1
  109. package/dist/clients/createLocusPublicClient.d.mts +5 -1
  110. package/dist/clients/createLocusWalletClient.d.cts +6 -0
  111. package/dist/clients/createLocusWalletClient.d.mts +6 -0
  112. package/dist/clients/index.amd.js +1 -1
  113. package/dist/clients/index.cjs.cjs +1 -1
  114. package/dist/clients/index.esm.js +1 -1
  115. package/dist/constant/index.amd.js +18 -4
  116. package/dist/constant/index.cjs.cjs +18 -4
  117. package/dist/constant/index.d.cts +18 -2
  118. package/dist/constant/index.d.mts +18 -2
  119. package/dist/constant/index.esm.js +18 -4
  120. package/dist/index.amd.js +1 -1
  121. package/dist/index.cjs.cjs +2 -2
  122. package/dist/index.esm.js +2 -2
  123. package/package.json +1 -1
  124. package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.cts +0 -4
  125. package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.mts +0 -4
  126. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.cts +0 -3
  127. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.mts +0 -3
@@ -17,9 +17,16 @@ function accountHeightsToUpload(client, param) {
17
17
  }
18
18
 
19
19
  // Automatically generated file. DO NOT EDIT.
20
- function calculateSpentByForwardCoin(client, param) {
20
+ function calculateSpentByForward(client, param) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- return client.request({ method: 'locus_calculateSpentByForwardCoin', params: [param] });
22
+ return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
23
+ });
24
+ }
25
+
26
+ // Automatically generated file. DO NOT EDIT.
27
+ function calculateSpentByForwardList(client, param) {
28
+ return __awaiter(this, void 0, void 0, function* () {
29
+ return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
23
30
  });
24
31
  }
25
32
 
@@ -135,6 +142,13 @@ function getNodeStatus(client) {
135
142
  });
136
143
  }
137
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
+
138
152
  // Automatically generated file. DO NOT EDIT.
139
153
  function getOwnerBalance(client) {
140
154
  return __awaiter(this, void 0, void 0, function* () {
@@ -233,6 +247,13 @@ function subscribeAddress(client, params) {
233
247
  });
234
248
  }
235
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
+
236
257
  // Automatically generated file. DO NOT EDIT.
237
258
  function uploadAccountTxs(client, param) {
238
259
  return __awaiter(this, void 0, void 0, function* () {
@@ -261,6 +282,13 @@ function verifyLatestStoredDataProof(client, params) {
261
282
  });
262
283
  }
263
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
+
264
292
  // Automatically generated file. DO NOT EDIT.
265
293
  function verifyTxListWitness(client, params) {
266
294
  return __awaiter(this, void 0, void 0, function* () {
@@ -272,7 +300,8 @@ function verifyTxListWitness(client, params) {
272
300
  const publicActions = (client) => ({
273
301
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
274
302
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
275
- calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(client, param),
303
+ calculateSpentByForward: (param) => calculateSpentByForward(client, param),
304
+ calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
276
305
  clientMessage: (param) => clientMessage(client, param),
277
306
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
278
307
  echo: (str) => echo$1(client, str),
@@ -289,6 +318,7 @@ const publicActions = (client) => ({
289
318
  getInactiveTxList: (param) => getInactiveTxList(client, param),
290
319
  getMontInfoList: (param) => getMontInfoList(client, param),
291
320
  getNodeStatus: () => getNodeStatus(client),
321
+ getNodeVersion: () => getNodeVersion(client),
292
322
  getOwnerBalance: () => getOwnerBalance(client),
293
323
  getRoundState: (param) => getRoundState(client, param),
294
324
  getRoundStatesList: (param) => getRoundStatesList(client, param),
@@ -303,10 +333,12 @@ const publicActions = (client) => ({
303
333
  readTxListWitness: (params) => readTxListWitness(client, params),
304
334
  setHost: (param) => setHost(client, param),
305
335
  subscribeAddress: (params) => subscribeAddress(client, params),
336
+ upliftProofW: (params) => upliftProofW(client, params),
306
337
  uploadAccountTxs: (param) => uploadAccountTxs(client, param),
307
338
  verifyAndSignChallenge: (param) => verifyAndSignChallenge(client, param),
308
339
  verifyIdentityProof: (param) => verifyIdentityProof(client, param),
309
340
  verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
341
+ verifyProofW: (params) => verifyProofW(client, params),
310
342
  verifyTxListWitness: (params) => verifyTxListWitness(client, params),
311
343
  });
312
344
 
@@ -504,6 +536,15 @@ function createVme(client, param) {
504
536
  });
505
537
  }
506
538
 
539
+ // Automatically generated file. DO NOT EDIT.
540
+ function forwardAssetObject(client, params) {
541
+ return __awaiter(this, void 0, void 0, function* () {
542
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardAssetObject', params: [params] });
543
+ const signed = yield _signLocusTransaction(client.account, prepared);
544
+ return _sendPreparedTransaction(client, signed);
545
+ });
546
+ }
547
+
507
548
  // Automatically generated file. DO NOT EDIT.
508
549
  function forwardCoin(client, param) {
509
550
  return __awaiter(this, void 0, void 0, function* () {
@@ -513,6 +554,15 @@ function forwardCoin(client, param) {
513
554
  });
514
555
  }
515
556
 
557
+ // Automatically generated file. DO NOT EDIT.
558
+ function forwardToken(client, params) {
559
+ return __awaiter(this, void 0, void 0, function* () {
560
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardToken', params: [params] });
561
+ const signed = yield _signLocusTransaction(client.account, prepared);
562
+ return _sendPreparedTransaction(client, signed);
563
+ });
564
+ }
565
+
516
566
  // Automatically generated file. DO NOT EDIT.
517
567
  function freezeAccount(client, params) {
518
568
  return __awaiter(this, void 0, void 0, function* () {
@@ -567,6 +617,24 @@ function requestDataTrade(client, params) {
567
617
  });
568
618
  }
569
619
 
620
+ // Automatically generated file. DO NOT EDIT.
621
+ function transfer(client, params) {
622
+ return __awaiter(this, void 0, void 0, function* () {
623
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
624
+ const signed = yield _signLocusTransaction(client.account, prepared);
625
+ return _sendPreparedTransaction(client, signed);
626
+ });
627
+ }
628
+
629
+ // Automatically generated file. DO NOT EDIT.
630
+ function transferAllRes(client, params) {
631
+ return __awaiter(this, void 0, void 0, function* () {
632
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
633
+ const signed = yield _signLocusTransaction(client.account, prepared);
634
+ return _sendPreparedTransaction(client, signed);
635
+ });
636
+ }
637
+
570
638
  // Automatically generated file. DO NOT EDIT.
571
639
  function transferAssetObject(client, params) {
572
640
  return __awaiter(this, void 0, void 0, function* () {
@@ -614,13 +682,17 @@ const walletActions = (client) => ({
614
682
  createAssetObject: (param) => createAssetObject(client, param),
615
683
  createToken: (param) => createToken(client, param),
616
684
  createVme: (param) => createVme(client, param),
685
+ forwardAssetObject: (params) => forwardAssetObject(client, params),
617
686
  forwardCoin: (param) => forwardCoin(client, param),
687
+ forwardToken: (params) => forwardToken(client, params),
618
688
  freezeAccount: (params) => freezeAccount(client, params),
619
689
  lockStake: (params) => lockStake(client, params),
620
690
  openAccount: (param) => openAccount(client, param),
621
691
  postData: (params) => postData(client, params),
622
692
  provideScript: (params) => provideScript(client, params),
623
693
  requestDataTrade: (params) => requestDataTrade(client, params),
694
+ transfer: (params) => transfer(client, params),
695
+ transferAllRes: (params) => transferAllRes(client, params),
624
696
  transferAssetObject: (params) => transferAssetObject(client, params),
625
697
  transferCoin: (param) => transferCoin(client, param),
626
698
  transferToken: (params) => transferToken(client, params),
@@ -863,6 +935,15 @@ const debugPublicActions = (client) => ({
863
935
  viewVme: (param) => viewVme(client, param),
864
936
  });
865
937
 
938
+ // Automatically generated file. DO NOT EDIT.
939
+ function callContract(client, param) {
940
+ return __awaiter(this, void 0, void 0, function* () {
941
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
942
+ const signed = yield _signLocusTransaction(client.account, prepared);
943
+ return _sendPreparedTransaction(client, signed);
944
+ });
945
+ }
946
+
866
947
  // Automatically generated file. DO NOT EDIT.
867
948
  function callVme(client, param) {
868
949
  return __awaiter(this, void 0, void 0, function* () {
@@ -872,6 +953,15 @@ function callVme(client, param) {
872
953
  });
873
954
  }
874
955
 
956
+ // Automatically generated file. DO NOT EDIT.
957
+ function createContract(client, param) {
958
+ return __awaiter(this, void 0, void 0, function* () {
959
+ const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
960
+ const signed = yield _signLocusTransaction(client.account, prepared);
961
+ return _sendPreparedTransaction(client, signed);
962
+ });
963
+ }
964
+
875
965
  // Automatically generated file. DO NOT EDIT.
876
966
  function createSynthAccount(client, param) {
877
967
  return __awaiter(this, void 0, void 0, function* () {
@@ -892,9 +982,11 @@ function postDataToSynthAccount(client, param) {
892
982
 
893
983
  // Automatically generated file. DO NOT EDIT.
894
984
  const debugWalletActions = (client) => ({
985
+ callContract: (param) => callContract(client, param),
895
986
  callVme: (param) => callVme(client, param),
987
+ createContract: (param) => createContract(client, param),
896
988
  createSynthAccount: (param) => createSynthAccount(client, param),
897
989
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
898
990
  });
899
991
 
900
- export { getAccountAssetList as $, removeHoldTxs as A, requestVme as B, sendRawTransaction as C, setImportAccountTx as D, setReliableNode as E, viewVme as F, acceptScript as G, accountHeightsToDownload as H, accountHeightsToUpload as I, becomeGuest as J, becomeHost as K, calculateSpentByForwardCoin as L, changeKey as M, changeVkey as N, clientMessage as O, closeAccount as P, createAssetObject as Q, createToken as R, createVme as S, debugPublicActions as T, debugWalletActions as U, downloadAccountTxs as V, echo$1 as W, findDuplicateSubscriber as X, forwardCoin as Y, freezeAccount as Z, generateLatestStoredDataProof as _, allHeights as a, getAccountAssetObject as a0, getAccountDetail as a1, getAccountHistory as a2, getAccountTokenList as a3, getConciseNodeStatus as a4, getGenesisAccount as a5, getIdentityProof as a6, getInactiveTxList as a7, getMontInfoList as a8, getNodeStatus as a9, verifyIdentityProof as aA, verifyLatestStoredDataProof as aB, verifyTxListWitness as aC, walletActions as aD, getOwnerBalance as aa, getRoundState as ab, getRoundStatesList as ac, getShardOfAccount as ad, getSyncState as ae, getTx as af, getWorldRoundState as ag, getWorldRoundStatesList as ah, hasSystemToken as ai, lockStake as aj, makeTxProof as ak, openAccount as al, postData as am, provideScript as an, publicActions as ao, queryAddress as ap, readTxListWitness as aq, requestDataTrade as ar, setHost as as, subscribeAddress as at, transferAssetObject as au, transferCoin as av, transferToken as aw, unlockStake as ax, uploadAccountTxs as ay, verifyAndSignChallenge as az, balanceGrantList as b, balanceList as c, callVme as d, createAccount as e, createNode as f, createSynthAccount as g, dumpAllAccounts as h, echo as i, gameChainCmd as j, getAccountsBalances as k, getAccountsHeights as l, getGuestsInfo as m, getHomeShard as n, getImportAccount as o, getImportAccountLog as p, getKeys as q, getNodeBlocks as r, getPeerPool as s, getPeersInfo as t, getVmeLog as u, importAccount as v, initReliableNodes as w, noArgsRets as x, nodeCmd as y, postDataToSynthAccount as z };
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 };
@@ -29,6 +29,8 @@ const TxType = Object.freeze({
29
29
  FORWARD_ASSETOBJECT: 'TX_FORWARD_ASSETOBJECT',
30
30
  ACTIVATE_ASSETOBJECT: 'TX_ACTIVATE_ASSETOBJECT',
31
31
  BURN_ASSETOBJECT: 'TX_BURN_ASSETOBJECT',
32
+ TRANSFER_ALL_RES: 'TX_TRANSFER_ALL_RES',
33
+ TRANSFER_ALL_RES_FEE: 'TX_TRANSFER_ALL_RES_FEE',
32
34
  REVOKE: 'TX_REVOKE',
33
35
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
34
36
  ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
@@ -44,7 +46,7 @@ const TxType = Object.freeze({
44
46
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
45
47
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
46
48
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
47
- CREATE_VME: 'TX_CREATE_VME',
49
+ CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
48
50
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
49
51
  VME_BLOCK: 'TX_VME_BLOCK',
50
52
  CALL_VME: 'TX_CALL_VME',
@@ -31,6 +31,8 @@ define(['exports'], (function (exports) { 'use strict';
31
31
  FORWARD_ASSETOBJECT: 'TX_FORWARD_ASSETOBJECT',
32
32
  ACTIVATE_ASSETOBJECT: 'TX_ACTIVATE_ASSETOBJECT',
33
33
  BURN_ASSETOBJECT: 'TX_BURN_ASSETOBJECT',
34
+ TRANSFER_ALL_RES: 'TX_TRANSFER_ALL_RES',
35
+ TRANSFER_ALL_RES_FEE: 'TX_TRANSFER_ALL_RES_FEE',
34
36
  REVOKE: 'TX_REVOKE',
35
37
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
36
38
  ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
@@ -46,7 +48,7 @@ define(['exports'], (function (exports) { 'use strict';
46
48
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
47
49
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
48
50
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
49
- CREATE_VME: 'TX_CREATE_VME',
51
+ CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
50
52
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
51
53
  VME_BLOCK: 'TX_VME_BLOCK',
52
54
  CALL_VME: 'TX_CALL_VME',
@@ -31,6 +31,8 @@ const TxType = Object.freeze({
31
31
  FORWARD_ASSETOBJECT: 'TX_FORWARD_ASSETOBJECT',
32
32
  ACTIVATE_ASSETOBJECT: 'TX_ACTIVATE_ASSETOBJECT',
33
33
  BURN_ASSETOBJECT: 'TX_BURN_ASSETOBJECT',
34
+ TRANSFER_ALL_RES: 'TX_TRANSFER_ALL_RES',
35
+ TRANSFER_ALL_RES_FEE: 'TX_TRANSFER_ALL_RES_FEE',
34
36
  REVOKE: 'TX_REVOKE',
35
37
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
36
38
  ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
@@ -46,7 +48,7 @@ const TxType = Object.freeze({
46
48
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
47
49
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
48
50
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
49
- CREATE_VME: 'TX_CREATE_VME',
51
+ CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
50
52
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
51
53
  VME_BLOCK: 'TX_VME_BLOCK',
52
54
  CALL_VME: 'TX_CALL_VME',
@@ -60,7 +60,8 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
60
60
  readonly viewVme: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcViewVmeResult>;
61
61
  readonly accountHeightsToDownload: (param: import("../index.cjs").ParamsAccountHeights) => Promise<import("../index.cjs").HeightsResult>;
62
62
  readonly accountHeightsToUpload: (param: import("../index.cjs").ParamsAccountHeights) => Promise<import("../index.cjs").UploadHeightsResult>;
63
- readonly calculateSpentByForwardCoin: (param: import("../index.cjs").ParamsCalculateSpentByForwardCoin) => Promise<import("../index.cjs").RpcCalculateSpentByForwardCoinResult>;
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>;
64
65
  readonly clientMessage: (param: import("../index.cjs").ParamStr) => Promise<any>;
65
66
  readonly downloadAccountTxs: (param: import("../index.cjs").ParamsDownloadAccountTxs) => Promise<import("../index.cjs").OutputDownloadAccountTxs>;
66
67
  readonly findDuplicateSubscriber: (params: import("../index.cjs").ParamsFindDuplicateSubscriber) => Promise<import("../index.cjs").RpcFindDuplicateSubscriberResult>;
@@ -76,6 +77,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
76
77
  readonly getInactiveTxList: (param: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetInactiveTxListResult>;
77
78
  readonly getMontInfoList: (param: import("../index.cjs").ParamsAccount) => Promise<import("../index.cjs").RpcGetMontInfoListResult>;
78
79
  readonly getNodeStatus: () => Promise<import("../index.cjs").RpcGetNodeStatusResult>;
80
+ readonly getNodeVersion: () => Promise<import("../index.cjs").RpcGetNodeVersionResult>;
79
81
  readonly getOwnerBalance: () => Promise<import("../index.cjs").RpcAccountsBalancesResult[]>;
80
82
  readonly getRoundState: (param: import("../index.cjs").ParamsRound) => Promise<import("../index.cjs").RoundStateDetail>;
81
83
  readonly getRoundStatesList: (param: import("../index.cjs").ParamsRS) => Promise<import("../index.cjs").RoundStateAbstract[]>;
@@ -90,10 +92,12 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
90
92
  readonly readTxListWitness: (params: import("../index.cjs").ParamsReadTxList) => Promise<import("../index.cjs").RpcReadTxListWitnessResult>;
91
93
  readonly setHost: (param: import("../index.cjs").ParamsSetHost) => Promise<boolean>;
92
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>;
93
96
  readonly uploadAccountTxs: (param: import("../index.cjs").ParamsUploadAccountTxs) => Promise<number[]>;
94
97
  readonly verifyAndSignChallenge: (param: import("../index.cjs").ParamsVerifyAndSignChallenge) => Promise<import("../index.cjs").RpcVerifyAndSignChallengeResult>;
95
98
  readonly verifyIdentityProof: (param: import("../index.cjs").ParamsVerifyIdentityProof) => Promise<import("../index.cjs").RpcVerifyIdentityProofResult>;
96
99
  readonly verifyLatestStoredDataProof: (params: import("../index.cjs").ParamsLatestStoredDataProof) => Promise<boolean>;
100
+ readonly verifyProofW: (params: import("../index.cjs").ParamsVerifyProofW) => Promise<boolean>;
97
101
  readonly verifyTxListWitness: (params: import("../index.cjs").ParamsTxListWitness) => Promise<boolean>;
98
102
  };
99
103
  /** 추론된 반환 타입 — 이 클라이언트를 담는 필드/변수의 타입 선언에 사용. */
@@ -60,7 +60,8 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
60
60
  readonly viewVme: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcViewVmeResult>;
61
61
  readonly accountHeightsToDownload: (param: import("../index.mjs").ParamsAccountHeights) => Promise<import("../index.mjs").HeightsResult>;
62
62
  readonly accountHeightsToUpload: (param: import("../index.mjs").ParamsAccountHeights) => Promise<import("../index.mjs").UploadHeightsResult>;
63
- readonly calculateSpentByForwardCoin: (param: import("../index.mjs").ParamsCalculateSpentByForwardCoin) => Promise<import("../index.mjs").RpcCalculateSpentByForwardCoinResult>;
63
+ readonly calculateSpentByForward: (param: import("../index.mjs").ParamsCalculateSpentByForward) => Promise<import("../index.mjs").RpcCalculateSpentByForwardResult>;
64
+ readonly calculateSpentByForwardList: (param: import("../index.mjs").ParamsCalculateSpentByForwardList) => Promise<import("../index.mjs").RpcCalculateSpentByForwardListResult>;
64
65
  readonly clientMessage: (param: import("../index.mjs").ParamStr) => Promise<any>;
65
66
  readonly downloadAccountTxs: (param: import("../index.mjs").ParamsDownloadAccountTxs) => Promise<import("../index.mjs").OutputDownloadAccountTxs>;
66
67
  readonly findDuplicateSubscriber: (params: import("../index.mjs").ParamsFindDuplicateSubscriber) => Promise<import("../index.mjs").RpcFindDuplicateSubscriberResult>;
@@ -76,6 +77,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
76
77
  readonly getInactiveTxList: (param: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetInactiveTxListResult>;
77
78
  readonly getMontInfoList: (param: import("../index.mjs").ParamsAccount) => Promise<import("../index.mjs").RpcGetMontInfoListResult>;
78
79
  readonly getNodeStatus: () => Promise<import("../index.mjs").RpcGetNodeStatusResult>;
80
+ readonly getNodeVersion: () => Promise<import("../index.mjs").RpcGetNodeVersionResult>;
79
81
  readonly getOwnerBalance: () => Promise<import("../index.mjs").RpcAccountsBalancesResult[]>;
80
82
  readonly getRoundState: (param: import("../index.mjs").ParamsRound) => Promise<import("../index.mjs").RoundStateDetail>;
81
83
  readonly getRoundStatesList: (param: import("../index.mjs").ParamsRS) => Promise<import("../index.mjs").RoundStateAbstract[]>;
@@ -90,10 +92,12 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
90
92
  readonly readTxListWitness: (params: import("../index.mjs").ParamsReadTxList) => Promise<import("../index.mjs").RpcReadTxListWitnessResult>;
91
93
  readonly setHost: (param: import("../index.mjs").ParamsSetHost) => Promise<boolean>;
92
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>;
93
96
  readonly uploadAccountTxs: (param: import("../index.mjs").ParamsUploadAccountTxs) => Promise<number[]>;
94
97
  readonly verifyAndSignChallenge: (param: import("../index.mjs").ParamsVerifyAndSignChallenge) => Promise<import("../index.mjs").RpcVerifyAndSignChallengeResult>;
95
98
  readonly verifyIdentityProof: (param: import("../index.mjs").ParamsVerifyIdentityProof) => Promise<import("../index.mjs").RpcVerifyIdentityProofResult>;
96
99
  readonly verifyLatestStoredDataProof: (params: import("../index.mjs").ParamsLatestStoredDataProof) => Promise<boolean>;
100
+ readonly verifyProofW: (params: import("../index.mjs").ParamsVerifyProofW) => Promise<boolean>;
97
101
  readonly verifyTxListWitness: (params: import("../index.mjs").ParamsTxListWitness) => Promise<boolean>;
98
102
  };
99
103
  /** 추론된 반환 타입 — 이 클라이언트를 담는 필드/변수의 타입 선언에 사용. */
@@ -28,7 +28,9 @@ export type CreateLocusWalletClientArgs = {
28
28
  * 읽기 전용 RPC 는 {@link createLocusPublicClient} 참고.
29
29
  */
30
30
  export declare function createLocusWalletClient(args: CreateLocusWalletClientArgs): import("./types.cjs").Client<DualKeyAccount> & {
31
+ readonly callContract: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
31
32
  readonly callVme: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
33
+ readonly createContract: (param: import("../index.cjs").ParamsCreateContract) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
34
  readonly createSynthAccount: (param: import("../index.cjs").ParamsCreateSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
33
35
  readonly postDataToSynthAccount: (param: import("../index.cjs").ParamsPostDataToSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
34
36
  readonly acceptScript: (params: import("../index.cjs").ParamsAcceptScript) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -40,13 +42,17 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
40
42
  readonly createAssetObject: (param: import("../index.cjs").ParamsCreateAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
41
43
  readonly createToken: (param: import("../index.cjs").ParamsCreateToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
42
44
  readonly createVme: (param: import("../index.cjs").ParamsCreateVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
45
+ readonly forwardAssetObject: (params: import("../index.cjs").ParamsForwardAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
43
46
  readonly forwardCoin: (param: import("../index.cjs").ParamsForwardCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
47
+ readonly forwardToken: (params: import("../index.cjs").ParamsForwardToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
44
48
  readonly freezeAccount: (params: import("../index.cjs").ParamsFreezeAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
45
49
  readonly lockStake: (params: import("../index.cjs").ParamsLockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
46
50
  readonly openAccount: (param: import("../index.cjs").ParamsOpenAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
47
51
  readonly postData: (params: import("../index.cjs").InputParamsDataTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
48
52
  readonly provideScript: (params: import("../index.cjs").ParamsProvideScript) => Promise<import("../index.cjs").RpcCreateTxResult>;
49
53
  readonly requestDataTrade: (params: import("../index.cjs").ParamsRequestDataTrade) => Promise<import("../index.cjs").RpcDataTradeResult>;
54
+ readonly transfer: (params: import("../index.cjs").ParamsTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
55
+ readonly transferAllRes: (params: import("../index.cjs").ParamsTransferAllRes) => Promise<import("../index.cjs").RpcCreateTxResult>;
50
56
  readonly transferAssetObject: (params: import("../index.cjs").ParamsTransferAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
51
57
  readonly transferCoin: (param: import("../index.cjs").ParamsTransferCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
52
58
  readonly transferToken: (params: import("../index.cjs").ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -28,7 +28,9 @@ export type CreateLocusWalletClientArgs = {
28
28
  * 읽기 전용 RPC 는 {@link createLocusPublicClient} 참고.
29
29
  */
30
30
  export declare function createLocusWalletClient(args: CreateLocusWalletClientArgs): import("./types.mjs").Client<DualKeyAccount> & {
31
+ readonly callContract: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
31
32
  readonly callVme: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
33
+ readonly createContract: (param: import("../index.mjs").ParamsCreateContract) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
34
  readonly createSynthAccount: (param: import("../index.mjs").ParamsCreateSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
33
35
  readonly postDataToSynthAccount: (param: import("../index.mjs").ParamsPostDataToSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
34
36
  readonly acceptScript: (params: import("../index.mjs").ParamsAcceptScript) => Promise<import("../index.mjs").RpcCreateTxResult>;
@@ -40,13 +42,17 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
40
42
  readonly createAssetObject: (param: import("../index.mjs").ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
41
43
  readonly createToken: (param: import("../index.mjs").ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
42
44
  readonly createVme: (param: import("../index.mjs").ParamsCreateVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
45
+ readonly forwardAssetObject: (params: import("../index.mjs").ParamsForwardAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
43
46
  readonly forwardCoin: (param: import("../index.mjs").ParamsForwardCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
47
+ readonly forwardToken: (params: import("../index.mjs").ParamsForwardToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
44
48
  readonly freezeAccount: (params: import("../index.mjs").ParamsFreezeAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
45
49
  readonly lockStake: (params: import("../index.mjs").ParamsLockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
46
50
  readonly openAccount: (param: import("../index.mjs").ParamsOpenAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
47
51
  readonly postData: (params: import("../index.mjs").InputParamsDataTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
48
52
  readonly provideScript: (params: import("../index.mjs").ParamsProvideScript) => Promise<import("../index.mjs").RpcCreateTxResult>;
49
53
  readonly requestDataTrade: (params: import("../index.mjs").ParamsRequestDataTrade) => Promise<import("../index.mjs").RpcDataTradeResult>;
54
+ readonly transfer: (params: import("../index.mjs").ParamsTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
55
+ readonly transferAllRes: (params: import("../index.mjs").ParamsTransferAllRes) => Promise<import("../index.mjs").RpcCreateTxResult>;
50
56
  readonly transferAssetObject: (params: import("../index.mjs").ParamsTransferAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
51
57
  readonly transferCoin: (param: import("../index.mjs").ParamsTransferCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
52
58
  readonly transferToken: (params: import("../index.mjs").ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
@@ -1,4 +1,4 @@
1
- define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-Bd8C-fZB', '../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';
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-DIQY8cBm.cjs');
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 { ao as publicActions, T as debugPublicActions, aD as walletActions, U as debugWalletActions } from '../chunks/debugWalletActions-qkesE_0m.js';
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';
@@ -1,4 +1,4 @@
1
- define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-CnfCIc5p'], (function (exports, addressClass, txType) { 'use strict';
1
+ define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-DYAaL3xz'], (function (exports, addressClass, txType) { 'use strict';
2
2
 
3
3
  // Automatically generated file. DO NOT EDIT.
4
4
  const CurrencyUnit = Object.freeze({
@@ -236,12 +236,12 @@ define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-CnfCIc
236
236
  "useGrant": false,
237
237
  "useFee": true
238
238
  },
239
- "TX_CREATE_VME": {
240
- "fee": "10000000000000",
239
+ "TX_CREATE_VME_FEE": {
240
+ "fee": "1000000000000000",
241
241
  "grant": 0,
242
242
  "sizeBased": false,
243
243
  "useGrant": false,
244
- "useFee": false
244
+ "useFee": true
245
245
  },
246
246
  "TX_FINALIZE": {
247
247
  "fee": "10000000000000",
@@ -362,6 +362,20 @@ define(['exports', '../chunks/address-class-CDo766LJ', '../chunks/tx-type-CnfCIc
362
362
  "useGrant": false,
363
363
  "useFee": true
364
364
  },
365
+ "TX_TRANSFER_ALL_RES": {
366
+ "fee": "10000000000000",
367
+ "grant": 1000,
368
+ "sizeBased": false,
369
+ "useGrant": true,
370
+ "useFee": false
371
+ },
372
+ "TX_TRANSFER_ALL_RES_FEE": {
373
+ "fee": "0",
374
+ "grant": 0,
375
+ "sizeBased": true,
376
+ "useGrant": false,
377
+ "useFee": true
378
+ },
365
379
  "TX_TRANSFER_ASSETOBJECT": {
366
380
  "fee": "10000000000000",
367
381
  "grant": 1000,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var addressClass = require('../chunks/address-class-B8b7mx1K.cjs');
4
- var txType = require('../chunks/tx-type-CjORX0H2.cjs');
4
+ var txType = require('../chunks/tx-type-khL8tWtn.cjs');
5
5
 
6
6
  // Automatically generated file. DO NOT EDIT.
7
7
  const CurrencyUnit = Object.freeze({
@@ -239,12 +239,12 @@ const TxTypes$1 = {
239
239
  "useGrant": false,
240
240
  "useFee": true
241
241
  },
242
- "TX_CREATE_VME": {
243
- "fee": "10000000000000",
242
+ "TX_CREATE_VME_FEE": {
243
+ "fee": "1000000000000000",
244
244
  "grant": 0,
245
245
  "sizeBased": false,
246
246
  "useGrant": false,
247
- "useFee": false
247
+ "useFee": true
248
248
  },
249
249
  "TX_FINALIZE": {
250
250
  "fee": "10000000000000",
@@ -365,6 +365,20 @@ const TxTypes$1 = {
365
365
  "useGrant": false,
366
366
  "useFee": true
367
367
  },
368
+ "TX_TRANSFER_ALL_RES": {
369
+ "fee": "10000000000000",
370
+ "grant": 1000,
371
+ "sizeBased": false,
372
+ "useGrant": true,
373
+ "useFee": false
374
+ },
375
+ "TX_TRANSFER_ALL_RES_FEE": {
376
+ "fee": "0",
377
+ "grant": 0,
378
+ "sizeBased": true,
379
+ "useGrant": false,
380
+ "useFee": true
381
+ },
368
382
  "TX_TRANSFER_ASSETOBJECT": {
369
383
  "fee": "10000000000000",
370
384
  "grant": 1000,
@@ -216,7 +216,7 @@ export declare const TxTypes: {
216
216
  useGrant: boolean;
217
217
  useFee: boolean;
218
218
  };
219
- TX_CREATE_VME: {
219
+ TX_CREATE_VME_FEE: {
220
220
  fee: string;
221
221
  grant: number;
222
222
  sizeBased: boolean;
@@ -342,6 +342,20 @@ export declare const TxTypes: {
342
342
  useGrant: boolean;
343
343
  useFee: boolean;
344
344
  };
345
+ TX_TRANSFER_ALL_RES: {
346
+ fee: string;
347
+ grant: number;
348
+ sizeBased: boolean;
349
+ useGrant: boolean;
350
+ useFee: boolean;
351
+ };
352
+ TX_TRANSFER_ALL_RES_FEE: {
353
+ fee: string;
354
+ grant: number;
355
+ sizeBased: boolean;
356
+ useGrant: boolean;
357
+ useFee: boolean;
358
+ };
345
359
  TX_TRANSFER_ASSETOBJECT: {
346
360
  fee: string;
347
361
  grant: number;
@@ -444,6 +458,8 @@ export declare const TxType: Readonly<{
444
458
  readonly FORWARD_ASSETOBJECT: "TX_FORWARD_ASSETOBJECT";
445
459
  readonly ACTIVATE_ASSETOBJECT: "TX_ACTIVATE_ASSETOBJECT";
446
460
  readonly BURN_ASSETOBJECT: "TX_BURN_ASSETOBJECT";
461
+ readonly TRANSFER_ALL_RES: "TX_TRANSFER_ALL_RES";
462
+ readonly TRANSFER_ALL_RES_FEE: "TX_TRANSFER_ALL_RES_FEE";
447
463
  readonly REVOKE: "TX_REVOKE";
448
464
  readonly CLOSE_ACCOUNT: "TX_CLOSE_ACCOUNT";
449
465
  readonly ACTIVATE_ALL_RES: "TX_ACTIVATE_ALL_RES";
@@ -459,7 +475,7 @@ export declare const TxType: Readonly<{
459
475
  readonly LOCK_STAKE_FOR_VME: "TX_LOCK_STAKE_FOR_VME";
460
476
  readonly ACTIVATE_LOCK_STAKE_FOR_VME: "TX_ACTIVATE_LOCK_STAKE_FOR_VME";
461
477
  readonly UNLOCK_STAKE: "TX_UNLOCK_STAKE";
462
- readonly CREATE_VME: "TX_CREATE_VME";
478
+ readonly CREATE_VME_FEE: "TX_CREATE_VME_FEE";
463
479
  readonly ACTIVATE_OPEN_VME: "TX_ACTIVATE_OPEN_VME";
464
480
  readonly VME_BLOCK: "TX_VME_BLOCK";
465
481
  readonly CALL_VME: "TX_CALL_VME";
@@ -216,7 +216,7 @@ export declare const TxTypes: {
216
216
  useGrant: boolean;
217
217
  useFee: boolean;
218
218
  };
219
- TX_CREATE_VME: {
219
+ TX_CREATE_VME_FEE: {
220
220
  fee: string;
221
221
  grant: number;
222
222
  sizeBased: boolean;
@@ -342,6 +342,20 @@ export declare const TxTypes: {
342
342
  useGrant: boolean;
343
343
  useFee: boolean;
344
344
  };
345
+ TX_TRANSFER_ALL_RES: {
346
+ fee: string;
347
+ grant: number;
348
+ sizeBased: boolean;
349
+ useGrant: boolean;
350
+ useFee: boolean;
351
+ };
352
+ TX_TRANSFER_ALL_RES_FEE: {
353
+ fee: string;
354
+ grant: number;
355
+ sizeBased: boolean;
356
+ useGrant: boolean;
357
+ useFee: boolean;
358
+ };
345
359
  TX_TRANSFER_ASSETOBJECT: {
346
360
  fee: string;
347
361
  grant: number;
@@ -444,6 +458,8 @@ export declare const TxType: Readonly<{
444
458
  readonly FORWARD_ASSETOBJECT: "TX_FORWARD_ASSETOBJECT";
445
459
  readonly ACTIVATE_ASSETOBJECT: "TX_ACTIVATE_ASSETOBJECT";
446
460
  readonly BURN_ASSETOBJECT: "TX_BURN_ASSETOBJECT";
461
+ readonly TRANSFER_ALL_RES: "TX_TRANSFER_ALL_RES";
462
+ readonly TRANSFER_ALL_RES_FEE: "TX_TRANSFER_ALL_RES_FEE";
447
463
  readonly REVOKE: "TX_REVOKE";
448
464
  readonly CLOSE_ACCOUNT: "TX_CLOSE_ACCOUNT";
449
465
  readonly ACTIVATE_ALL_RES: "TX_ACTIVATE_ALL_RES";
@@ -459,7 +475,7 @@ export declare const TxType: Readonly<{
459
475
  readonly LOCK_STAKE_FOR_VME: "TX_LOCK_STAKE_FOR_VME";
460
476
  readonly ACTIVATE_LOCK_STAKE_FOR_VME: "TX_ACTIVATE_LOCK_STAKE_FOR_VME";
461
477
  readonly UNLOCK_STAKE: "TX_UNLOCK_STAKE";
462
- readonly CREATE_VME: "TX_CREATE_VME";
478
+ readonly CREATE_VME_FEE: "TX_CREATE_VME_FEE";
463
479
  readonly ACTIVATE_OPEN_VME: "TX_ACTIVATE_OPEN_VME";
464
480
  readonly VME_BLOCK: "TX_VME_BLOCK";
465
481
  readonly CALL_VME: "TX_CALL_VME";