@locuschain/lib 0.2.3 → 0.2.4

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 (195) 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/public/getVmeLog.d.cts +4 -0
  5. package/dist/autogen/actions/debug/public/getVmeLog.d.mts +4 -0
  6. package/dist/autogen/actions/debug/public/index.d.cts +2 -2
  7. package/dist/autogen/actions/debug/public/index.d.mts +2 -2
  8. package/dist/autogen/actions/debug/public/viewVme.d.cts +4 -0
  9. package/dist/autogen/actions/debug/public/viewVme.d.mts +4 -0
  10. package/dist/autogen/actions/debug/wallet/callVme.d.cts +4 -0
  11. package/dist/autogen/actions/debug/wallet/callVme.d.mts +4 -0
  12. package/dist/autogen/actions/debug/wallet/index.d.cts +1 -2
  13. package/dist/autogen/actions/debug/wallet/index.d.mts +1 -2
  14. package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.cts +4 -0
  15. package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.mts +4 -0
  16. package/dist/autogen/actions/public/getRoundState.d.cts +1 -1
  17. package/dist/autogen/actions/public/getRoundState.d.mts +1 -1
  18. package/dist/autogen/actions/public/index.d.cts +1 -1
  19. package/dist/autogen/actions/public/index.d.mts +1 -1
  20. package/dist/autogen/actions/wallet/forwardCoin.d.cts +4 -0
  21. package/dist/autogen/actions/wallet/forwardCoin.d.mts +4 -0
  22. package/dist/autogen/actions/wallet/index.d.cts +1 -1
  23. package/dist/autogen/actions/wallet/index.d.mts +1 -1
  24. package/dist/autogen/debugPublicActions.d.cts +4 -4
  25. package/dist/autogen/debugPublicActions.d.mts +4 -4
  26. package/dist/autogen/debugWalletActions.d.cts +2 -4
  27. package/dist/autogen/debugWalletActions.d.mts +2 -4
  28. package/dist/autogen/index.amd.js +6 -7
  29. package/dist/autogen/index.cjs.cjs +6 -7
  30. package/dist/autogen/index.esm.js +5 -6
  31. package/dist/autogen/locus-tx.d.cts +2 -2
  32. package/dist/autogen/locus-tx.d.mts +2 -2
  33. package/dist/autogen/publicActions.d.cts +2 -2
  34. package/dist/autogen/publicActions.d.mts +2 -2
  35. package/dist/autogen/rpc-api-spec.d.cts +13 -15
  36. package/dist/autogen/rpc-api-spec.d.mts +13 -15
  37. package/dist/autogen/types/common/asset-object-meta.d.cts +2 -0
  38. package/dist/autogen/types/common/asset-object-meta.d.mts +2 -0
  39. package/dist/autogen/types/common/asset-object-transfer.d.cts +0 -2
  40. package/dist/autogen/types/common/asset-object-transfer.d.mts +0 -2
  41. package/dist/autogen/types/common/asset-object.d.cts +2 -1
  42. package/dist/autogen/types/common/asset-object.d.mts +2 -1
  43. package/dist/autogen/types/common/caller-key-proof.d.cts +8 -0
  44. package/dist/autogen/types/common/caller-key-proof.d.mts +8 -0
  45. package/dist/autogen/types/common/direct-call-request.d.cts +11 -0
  46. package/dist/autogen/types/common/direct-call-request.d.mts +11 -0
  47. package/dist/autogen/types/common/index.d.cts +6 -2
  48. package/dist/autogen/types/common/index.d.mts +6 -2
  49. package/dist/autogen/types/common/merkle-proof-multi-meta.d.cts +2 -0
  50. package/dist/autogen/types/common/merkle-proof-multi-meta.d.mts +2 -0
  51. package/dist/autogen/types/common/ref-vtx.d.cts +0 -1
  52. package/dist/autogen/types/common/ref-vtx.d.mts +0 -1
  53. package/dist/autogen/types/common/res-changed-entry.d.cts +5 -0
  54. package/dist/autogen/types/common/res-changed-entry.d.mts +5 -0
  55. package/dist/autogen/types/common/transfer-info.d.cts +0 -1
  56. package/dist/autogen/types/common/transfer-info.d.mts +0 -1
  57. package/dist/autogen/types/common/tx-base.d.cts +1 -1
  58. package/dist/autogen/types/common/tx-base.d.mts +1 -1
  59. package/dist/autogen/types/common/tx-restore-res-hash-proof.d.cts +9 -0
  60. package/dist/autogen/types/common/tx-restore-res-hash-proof.d.mts +9 -0
  61. package/dist/autogen/types/common/vm-engine-block.d.cts +6 -0
  62. package/dist/autogen/types/common/vm-engine-block.d.mts +6 -0
  63. package/dist/autogen/types/common/vm-tx-state.d.cts +5 -7
  64. package/dist/autogen/types/common/vm-tx-state.d.mts +5 -7
  65. package/dist/autogen/types/consts/address-class.d.cts +6 -7
  66. package/dist/autogen/types/consts/address-class.d.mts +6 -7
  67. package/dist/autogen/types/consts/tx-type.d.cts +13 -13
  68. package/dist/autogen/types/consts/tx-type.d.mts +13 -13
  69. package/dist/autogen/types/consts/tx-types.d.cts +46 -46
  70. package/dist/autogen/types/consts/tx-types.d.mts +46 -46
  71. package/dist/autogen/types/rpc/index.d.cts +8 -8
  72. package/dist/autogen/types/rpc/index.d.mts +8 -8
  73. package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.cts → params-calculate-spent-by-forward-coin.d.cts} +1 -1
  74. package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward-coin.d.mts} +1 -1
  75. package/dist/autogen/types/rpc/{params-call-contract.d.cts → params-call-vme.d.cts} +4 -4
  76. package/dist/autogen/types/rpc/{params-call-contract.d.mts → params-call-vme.d.mts} +4 -4
  77. package/dist/autogen/types/rpc/{params-transfer-coin-express.d.cts → params-forward-coin.d.cts} +1 -1
  78. package/dist/autogen/types/rpc/{params-transfer-coin-express.d.mts → params-forward-coin.d.mts} +1 -1
  79. package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.cts +2 -1
  80. package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.mts +2 -1
  81. package/dist/autogen/types/rpc/params-request-vme.d.cts +1 -0
  82. package/dist/autogen/types/rpc/params-request-vme.d.mts +1 -0
  83. package/dist/autogen/types/rpc/{params-contract-log.d.cts → params-vme-log.d.cts} +3 -2
  84. package/dist/autogen/types/rpc/{params-contract-log.d.mts → params-vme-log.d.mts} +3 -2
  85. package/dist/autogen/types/{common → rpc}/round-state-detail.d.cts +1 -1
  86. package/dist/autogen/types/{common → rpc}/round-state-detail.d.mts +1 -1
  87. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.cts +3 -0
  88. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.mts +3 -0
  89. package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.cts +3 -0
  90. package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.mts +3 -0
  91. package/dist/autogen/types/rpc/rpc-view-vme-result.d.cts +3 -0
  92. package/dist/autogen/types/rpc/rpc-view-vme-result.d.mts +3 -0
  93. package/dist/autogen/types/tx/index.d.cts +15 -14
  94. package/dist/autogen/types/tx/index.d.mts +15 -14
  95. package/dist/autogen/types/tx/{tx-activate-all-assets.d.cts → tx-activate-all-res.d.cts} +4 -3
  96. package/dist/autogen/types/tx/{tx-activate-all-assets.d.mts → tx-activate-all-res.d.mts} +4 -3
  97. package/dist/autogen/types/tx/tx-activate-asset-object.d.cts +4 -2
  98. package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +4 -2
  99. package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.cts → tx-activate-open-vme.d.cts} +1 -1
  100. package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.mts → tx-activate-open-vme.d.mts} +1 -1
  101. package/dist/autogen/types/tx/{tx-activate-contract-result.d.cts → tx-activate-vme-result.d.cts} +6 -4
  102. package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts} +6 -4
  103. package/dist/autogen/types/tx/{tx-activate-contract-reward.d.cts → tx-activate-vme-reward.d.cts} +1 -1
  104. package/dist/autogen/types/tx/{tx-activate-contract-reward.d.mts → tx-activate-vme-reward.d.mts} +1 -1
  105. package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.cts → tx-activate-vme-transfer.d.cts} +6 -4
  106. package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts} +6 -4
  107. package/dist/autogen/types/tx/tx-burn-asset-object.d.cts +4 -2
  108. package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +4 -2
  109. package/dist/autogen/types/tx/{tx-create-contract.d.cts → tx-call-vme.d.cts} +8 -7
  110. package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-call-vme.d.mts} +8 -7
  111. package/dist/autogen/types/tx/tx-close-account.d.cts +2 -2
  112. package/dist/autogen/types/tx/tx-close-account.d.mts +2 -2
  113. package/dist/autogen/types/tx/{tx-create-vm-engine.d.cts → tx-create-vme.d.cts} +1 -1
  114. package/dist/autogen/types/tx/{tx-create-vm-engine.d.mts → tx-create-vme.d.mts} +1 -1
  115. package/dist/autogen/types/tx/tx-forward-asset-object.d.cts +10 -0
  116. package/dist/autogen/types/tx/tx-forward-asset-object.d.mts +10 -0
  117. package/dist/autogen/types/tx/{tx-transfer-coin-express.d.cts → tx-forward-coin.d.cts} +2 -1
  118. package/dist/autogen/types/tx/{tx-transfer-coin-express.d.mts → tx-forward-coin.d.mts} +2 -1
  119. package/dist/autogen/types/tx/tx-forward-token.d.cts +10 -0
  120. package/dist/autogen/types/tx/tx-forward-token.d.mts +10 -0
  121. package/dist/autogen/types/tx/tx-lead-direct-vtx.d.cts +11 -0
  122. package/dist/autogen/types/tx/tx-lead-direct-vtx.d.mts +11 -0
  123. package/dist/autogen/types/tx/tx-lead-vtx.d.cts +1 -1
  124. package/dist/autogen/types/tx/tx-lead-vtx.d.mts +1 -1
  125. package/dist/autogen/types/tx/{tx-call-contract.d.cts → tx-restore-res-hash.d.cts} +4 -8
  126. package/dist/autogen/types/tx/{tx-call-contract.d.mts → tx-restore-res-hash.d.mts} +4 -8
  127. package/dist/autogen/types/tx/tx-revoke.d.cts +4 -2
  128. package/dist/autogen/types/tx/tx-revoke.d.mts +4 -2
  129. package/dist/autogen/types/tx/tx-transfer-asset-object.d.cts +4 -2
  130. package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +4 -2
  131. package/dist/autogen/types/tx/{tx-contract-blank-reward.d.cts → tx-vme-blank-reward.d.cts} +1 -1
  132. package/dist/autogen/types/tx/{tx-contract-blank-reward.d.mts → tx-vme-blank-reward.d.mts} +1 -1
  133. package/dist/autogen/types/tx/{tx-vm-engine-block.d.cts → tx-vme-block.d.cts} +2 -1
  134. package/dist/autogen/types/tx/{tx-vm-engine-block.d.mts → tx-vme-block.d.mts} +2 -1
  135. package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.cts → tx-vme-transfer-reward.d.cts} +1 -1
  136. package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.mts → tx-vme-transfer-reward.d.mts} +1 -1
  137. package/dist/autogen/walletActions.d.cts +2 -2
  138. package/dist/autogen/walletActions.d.mts +2 -2
  139. package/dist/autogen/wasm/lclib.wasm +0 -0
  140. package/dist/chunks/{address-class-CHAZYhdZ.js → address-class-3IzotplG.js} +6 -7
  141. package/dist/chunks/{address-class-Cjy48Uqk.cjs → address-class-B8b7mx1K.cjs} +6 -7
  142. package/dist/chunks/{address-class-Dp7aNQb2.js → address-class-CDo766LJ.js} +6 -7
  143. package/dist/chunks/{debugWalletActions-BfX1doiz.js → debugWalletActions-Bd8C-fZB.js} +32 -43
  144. package/dist/chunks/{debugWalletActions-iCZ1H6xc.cjs → debugWalletActions-DIQY8cBm.cjs} +32 -43
  145. package/dist/chunks/{debugWalletActions-B96f4kZc.js → debugWalletActions-qkesE_0m.js} +28 -38
  146. package/dist/chunks/{tx-type-DI_nKG8B.cjs → tx-type-CjORX0H2.cjs} +13 -13
  147. package/dist/chunks/{tx-type-CS4wIUJ8.js → tx-type-CnfCIc5p.js} +13 -13
  148. package/dist/chunks/{tx-type-BPkhMGad.js → tx-type-D_IH9tdK.js} +13 -13
  149. package/dist/clients/createLocusPublicClient.d.cts +3 -3
  150. package/dist/clients/createLocusPublicClient.d.mts +3 -3
  151. package/dist/clients/createLocusWalletClient.d.cts +2 -3
  152. package/dist/clients/createLocusWalletClient.d.mts +2 -3
  153. package/dist/clients/index.amd.js +1 -1
  154. package/dist/clients/index.cjs.cjs +1 -1
  155. package/dist/clients/index.esm.js +1 -1
  156. package/dist/constant/index.amd.js +63 -63
  157. package/dist/constant/index.cjs.cjs +64 -64
  158. package/dist/constant/index.d.cts +65 -66
  159. package/dist/constant/index.d.mts +65 -66
  160. package/dist/constant/index.esm.js +64 -64
  161. package/dist/index.amd.js +1 -1
  162. package/dist/index.cjs.cjs +3 -3
  163. package/dist/index.esm.js +3 -3
  164. package/dist/utils/index.amd.js +3 -6
  165. package/dist/utils/index.cjs.cjs +3 -6
  166. package/dist/utils/index.d.cts +3 -4
  167. package/dist/utils/index.d.mts +3 -4
  168. package/dist/utils/index.esm.js +4 -6
  169. package/package.json +1 -1
  170. package/dist/autogen/actions/debug/public/getContractLog.d.cts +0 -4
  171. package/dist/autogen/actions/debug/public/getContractLog.d.mts +0 -4
  172. package/dist/autogen/actions/debug/public/viewContract.d.cts +0 -4
  173. package/dist/autogen/actions/debug/public/viewContract.d.mts +0 -4
  174. package/dist/autogen/actions/debug/wallet/callContract.d.cts +0 -4
  175. package/dist/autogen/actions/debug/wallet/callContract.d.mts +0 -4
  176. package/dist/autogen/actions/debug/wallet/createContract.d.cts +0 -4
  177. package/dist/autogen/actions/debug/wallet/createContract.d.mts +0 -4
  178. package/dist/autogen/actions/public/calculateSpentByExpress.d.cts +0 -4
  179. package/dist/autogen/actions/public/calculateSpentByExpress.d.mts +0 -4
  180. package/dist/autogen/actions/wallet/transferCoinExpress.d.cts +0 -4
  181. package/dist/autogen/actions/wallet/transferCoinExpress.d.mts +0 -4
  182. package/dist/autogen/types/common/asset-proof-objects.d.cts +0 -5
  183. package/dist/autogen/types/common/asset-proof-objects.d.mts +0 -5
  184. package/dist/autogen/types/rpc/params-create-contract.d.cts +0 -14
  185. package/dist/autogen/types/rpc/params-create-contract.d.mts +0 -14
  186. package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.cts +0 -3
  187. package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.mts +0 -3
  188. package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.cts +0 -3
  189. package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.mts +0 -3
  190. package/dist/autogen/types/rpc/rpc-view-contract-result.d.cts +0 -3
  191. package/dist/autogen/types/rpc/rpc-view-contract-result.d.mts +0 -3
  192. package/dist/autogen/types/tx/tx-activate-call-contract.d.cts +0 -15
  193. package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +0 -15
  194. package/dist/autogen/types/tx/tx-activate-open-contract.d.cts +0 -15
  195. package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +0 -15
@@ -17,9 +17,9 @@ function accountHeightsToUpload(client, param) {
17
17
  }
18
18
 
19
19
  // Automatically generated file. DO NOT EDIT.
20
- function calculateSpentByExpress(client, param) {
20
+ function calculateSpentByForwardCoin(client, param) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- return client.request({ method: 'locus_calculateSpentByExpress', params: [param] });
22
+ return client.request({ method: 'locus_calculateSpentByForwardCoin', params: [param] });
23
23
  });
24
24
  }
25
25
 
@@ -272,7 +272,7 @@ function verifyTxListWitness(client, params) {
272
272
  const publicActions = (client) => ({
273
273
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
274
274
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
275
- calculateSpentByExpress: (param) => calculateSpentByExpress(client, param),
275
+ calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(client, param),
276
276
  clientMessage: (param) => clientMessage(client, param),
277
277
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
278
278
  echo: (str) => echo$1(client, str),
@@ -504,6 +504,15 @@ function createVme(client, param) {
504
504
  });
505
505
  }
506
506
 
507
+ // Automatically generated file. DO NOT EDIT.
508
+ function forwardCoin(client, param) {
509
+ return __awaiter(this, void 0, void 0, function* () {
510
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardCoin', params: [param] });
511
+ const signed = yield _signLocusTransaction(client.account, prepared);
512
+ return _sendPreparedTransaction(client, signed);
513
+ });
514
+ }
515
+
507
516
  // Automatically generated file. DO NOT EDIT.
508
517
  function freezeAccount(client, params) {
509
518
  return __awaiter(this, void 0, void 0, function* () {
@@ -576,15 +585,6 @@ function transferCoin(client, param) {
576
585
  });
577
586
  }
578
587
 
579
- // Automatically generated file. DO NOT EDIT.
580
- function transferCoinExpress(client, param) {
581
- return __awaiter(this, void 0, void 0, function* () {
582
- const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoinExpress', params: [param] });
583
- const signed = yield _signLocusTransaction(client.account, prepared);
584
- return _sendPreparedTransaction(client, signed);
585
- });
586
- }
587
-
588
588
  // Automatically generated file. DO NOT EDIT.
589
589
  function transferToken(client, params) {
590
590
  return __awaiter(this, void 0, void 0, function* () {
@@ -614,6 +614,7 @@ const walletActions = (client) => ({
614
614
  createAssetObject: (param) => createAssetObject(client, param),
615
615
  createToken: (param) => createToken(client, param),
616
616
  createVme: (param) => createVme(client, param),
617
+ forwardCoin: (param) => forwardCoin(client, param),
617
618
  freezeAccount: (params) => freezeAccount(client, params),
618
619
  lockStake: (params) => lockStake(client, params),
619
620
  openAccount: (param) => openAccount(client, param),
@@ -622,7 +623,6 @@ const walletActions = (client) => ({
622
623
  requestDataTrade: (params) => requestDataTrade(client, params),
623
624
  transferAssetObject: (params) => transferAssetObject(client, params),
624
625
  transferCoin: (param) => transferCoin(client, param),
625
- transferCoinExpress: (param) => transferCoinExpress(client, param),
626
626
  transferToken: (params) => transferToken(client, params),
627
627
  unlockStake: (params) => unlockStake(client, params),
628
628
  });
@@ -697,13 +697,6 @@ function getAccountsHeights(client, param) {
697
697
  });
698
698
  }
699
699
 
700
- // Automatically generated file. DO NOT EDIT.
701
- function getContractLog(client, param) {
702
- return __awaiter(this, void 0, void 0, function* () {
703
- return client.request({ method: 'debug_getContractLog', params: [param] });
704
- });
705
- }
706
-
707
700
  // Automatically generated file. DO NOT EDIT.
708
701
  function getGuestsInfo(client) {
709
702
  return __awaiter(this, void 0, void 0, function* () {
@@ -760,6 +753,13 @@ function getPeersInfo(client) {
760
753
  });
761
754
  }
762
755
 
756
+ // Automatically generated file. DO NOT EDIT.
757
+ function getVmeLog(client, param) {
758
+ return __awaiter(this, void 0, void 0, function* () {
759
+ return client.request({ method: 'debug_getVmeLog', params: [param] });
760
+ });
761
+ }
762
+
763
763
  // Automatically generated file. DO NOT EDIT.
764
764
  function importAccount(client, params) {
765
765
  return __awaiter(this, void 0, void 0, function* () {
@@ -824,9 +824,9 @@ function setReliableNode(client, param) {
824
824
  }
825
825
 
826
826
  // Automatically generated file. DO NOT EDIT.
827
- function viewContract(client, param) {
827
+ function viewVme(client, param) {
828
828
  return __awaiter(this, void 0, void 0, function* () {
829
- return client.request({ method: 'debug_viewContract', params: [param] });
829
+ return client.request({ method: 'debug_viewVme', params: [param] });
830
830
  });
831
831
  }
832
832
 
@@ -842,7 +842,6 @@ const debugPublicActions = (client) => ({
842
842
  gameChainCmd: (param) => gameChainCmd(client, param),
843
843
  getAccountsBalances: (param) => getAccountsBalances(client, param),
844
844
  getAccountsHeights: (param) => getAccountsHeights(client, param),
845
- getContractLog: (param) => getContractLog(client, param),
846
845
  getGuestsInfo: () => getGuestsInfo(client),
847
846
  getHomeShard: (param) => getHomeShard(client, param),
848
847
  getImportAccount: (params) => getImportAccount(client, params),
@@ -851,6 +850,7 @@ const debugPublicActions = (client) => ({
851
850
  getNodeBlocks: () => getNodeBlocks(client),
852
851
  getPeerPool: () => getPeerPool(client),
853
852
  getPeersInfo: () => getPeersInfo(client),
853
+ getVmeLog: (param) => getVmeLog(client, param),
854
854
  importAccount: (params) => importAccount(client, params),
855
855
  initReliableNodes: (param) => initReliableNodes(client, param),
856
856
  noArgsRets: () => noArgsRets(client),
@@ -860,22 +860,13 @@ const debugPublicActions = (client) => ({
860
860
  sendRawTransaction: (params) => sendRawTransaction(client, params),
861
861
  setImportAccountTx: (params) => setImportAccountTx(client, params),
862
862
  setReliableNode: (param) => setReliableNode(client, param),
863
- viewContract: (param) => viewContract(client, param),
863
+ viewVme: (param) => viewVme(client, param),
864
864
  });
865
865
 
866
866
  // Automatically generated file. DO NOT EDIT.
867
- function callContract(client, param) {
868
- return __awaiter(this, void 0, void 0, function* () {
869
- const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
870
- const signed = yield _signLocusTransaction(client.account, prepared);
871
- return _sendPreparedTransaction(client, signed);
872
- });
873
- }
874
-
875
- // Automatically generated file. DO NOT EDIT.
876
- function createContract(client, param) {
867
+ function callVme(client, param) {
877
868
  return __awaiter(this, void 0, void 0, function* () {
878
- const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
869
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callVme', params: [param] });
879
870
  const signed = yield _signLocusTransaction(client.account, prepared);
880
871
  return _sendPreparedTransaction(client, signed);
881
872
  });
@@ -901,10 +892,9 @@ function postDataToSynthAccount(client, param) {
901
892
 
902
893
  // Automatically generated file. DO NOT EDIT.
903
894
  const debugWalletActions = (client) => ({
904
- callContract: (param) => callContract(client, param),
905
- createContract: (param) => createContract(client, param),
895
+ callVme: (param) => callVme(client, param),
906
896
  createSynthAccount: (param) => createSynthAccount(client, param),
907
897
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
908
898
  });
909
899
 
910
- export { getAccountAssetList as $, postDataToSynthAccount as A, removeHoldTxs as B, requestVme as C, sendRawTransaction as D, setImportAccountTx as E, setReliableNode as F, viewContract as G, acceptScript as H, accountHeightsToDownload as I, accountHeightsToUpload as J, becomeGuest as K, becomeHost as L, calculateSpentByExpress as M, changeKey as N, changeVkey as O, clientMessage as P, closeAccount as Q, createAssetObject as R, createToken as S, createVme as T, debugPublicActions as U, debugWalletActions as V, downloadAccountTxs as W, echo$1 as X, findDuplicateSubscriber 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, verifyAndSignChallenge as aA, verifyIdentityProof as aB, verifyLatestStoredDataProof as aC, verifyTxListWitness as aD, walletActions as aE, 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, transferCoinExpress as aw, transferToken as ax, unlockStake as ay, uploadAccountTxs as az, balanceGrantList as b, balanceList as c, callContract as d, createAccount as e, createContract as f, createNode as g, createSynthAccount as h, dumpAllAccounts as i, echo as j, gameChainCmd as k, getAccountsBalances as l, getAccountsHeights as m, getContractLog 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, importAccount as w, initReliableNodes as x, noArgsRets as y, nodeCmd as z };
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 };
@@ -8,7 +8,7 @@ const TxType = Object.freeze({
8
8
  BECOME_GUEST: 'TX_BECOME_GUEST',
9
9
  TRANSFER_COIN: 'TX_TRANSFER_COIN',
10
10
  TRANSFER_COIN_FEE: 'TX_TRANSFER_COIN_FEE',
11
- TRANSFER_COIN_EXPRESS: 'TX_TRANSFER_COIN_EXPRESS',
11
+ FORWARD_COIN: 'TX_FORWARD_COIN',
12
12
  ACTIVATE_COIN: 'TX_ACTIVATE_COIN',
13
13
  ACTIVATE_INCENTIVE: 'TX_ACTIVATE_INCENTIVE',
14
14
  ACTIVATE_FOUNDATION_RESERVE: 'TX_ACTIVATE_FOUNDATION_RESERVE',
@@ -22,16 +22,18 @@ const TxType = Object.freeze({
22
22
  BURN_TOKEN: 'TX_BURN_TOKEN',
23
23
  TRANSFER_TOKEN: 'TX_TRANSFER_TOKEN',
24
24
  TRANSFER_TOKEN_FEE: 'TX_TRANSFER_TOKEN_FEE',
25
+ FORWARD_TOKEN: 'TX_FORWARD_TOKEN',
25
26
  ACTIVATE_TOKEN: 'TX_ACTIVATE_TOKEN',
26
27
  CREATE_ASSETOBJECT: 'TX_CREATE_ASSETOBJECT',
27
28
  CREATE_ASSETOBJECT_FEE: 'TX_CREATE_ASSETOBJECT_FEE',
28
29
  TRANSFER_ASSETOBJECT: 'TX_TRANSFER_ASSETOBJECT',
29
30
  TRANSFER_ASSETOBJECT_FEE: 'TX_TRANSFER_ASSETOBJECT_FEE',
31
+ FORWARD_ASSETOBJECT: 'TX_FORWARD_ASSETOBJECT',
30
32
  ACTIVATE_ASSETOBJECT: 'TX_ACTIVATE_ASSETOBJECT',
31
33
  BURN_ASSETOBJECT: 'TX_BURN_ASSETOBJECT',
32
34
  REVOKE: 'TX_REVOKE',
33
35
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
34
- ACTIVATE_ALL_ASSETS: 'TX_ACTIVATE_ALL_ASSETS',
36
+ ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
35
37
  PROVIDE_SCRIPT: 'TX_PROVIDE_SCRIPT',
36
38
  ACCEPT_SCRIPT: 'TX_ACCEPT_SCRIPT',
37
39
  ACCEPT_SCRIPT_AFTER_TIMELOCK: 'TX_ACCEPT_SCRIPT_AFTER_TIMELOCK',
@@ -47,19 +49,17 @@ const TxType = Object.freeze({
47
49
  CREATE_VME: 'TX_CREATE_VME',
48
50
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
49
51
  VME_BLOCK: 'TX_VME_BLOCK',
50
- CREATE_CONTRACT: 'TX_CREATE_CONTRACT',
51
- CREATE_CONTRACT_FEE: 'TX_CREATE_CONTRACT_FEE',
52
- CALL_CONTRACT: 'TX_CALL_CONTRACT',
53
- CALL_CONTRACT_FEE: 'TX_CALL_CONTRACT_FEE',
54
- ACTIVATE_OPEN_CONTRACT: 'TX_ACTIVATE_OPEN_CONTRACT',
55
- ACTIVATE_CALL_CONTRACT: 'TX_ACTIVATE_CALL_CONTRACT',
56
- ACTIVATE_CONTRACT_TRANSFER: 'TX_ACTIVATE_CONTRACT_TRANSFER',
57
- ACTIVATE_CONTRACT_RESULT: 'TX_ACTIVATE_CONTRACT_RESULT',
58
- CONTRACT_TRANSFER_REWARD: 'TX_CONTRACT_TRANSFER_REWARD',
59
- CONTRACT_BLANK_REWARD: 'TX_CONTRACT_BLANK_REWARD',
60
- ACTIVATE_CONTRACT_REWARD: 'TX_ACTIVATE_CONTRACT_REWARD',
52
+ CALL_VME: 'TX_CALL_VME',
53
+ CALL_VME_FEE: 'TX_CALL_VME_FEE',
54
+ ACTIVATE_VME_TRANSFER: 'TX_ACTIVATE_VME_TRANSFER',
55
+ ACTIVATE_VME_RESULT: 'TX_ACTIVATE_VME_RESULT',
56
+ VME_TRANSFER_REWARD: 'TX_VME_TRANSFER_REWARD',
57
+ VME_BLANK_REWARD: 'TX_VME_BLANK_REWARD',
58
+ ACTIVATE_VME_REWARD: 'TX_ACTIVATE_VME_REWARD',
61
59
  FREEZE_ACCOUNT: 'TX_FREEZE_ACCOUNT',
60
+ RESTORE_RESHASH: 'TX_RESTORE_RESHASH',
62
61
  LEAD_VTX: 'TX_LEAD_VTX',
62
+ LEAD_DIRECT_VTX: 'TX_LEAD_DIRECT_VTX',
63
63
  FINALIZE: 'TX_FINALIZE',
64
64
  });
65
65
 
@@ -8,7 +8,7 @@ define(['exports'], (function (exports) { 'use strict';
8
8
  BECOME_GUEST: 'TX_BECOME_GUEST',
9
9
  TRANSFER_COIN: 'TX_TRANSFER_COIN',
10
10
  TRANSFER_COIN_FEE: 'TX_TRANSFER_COIN_FEE',
11
- TRANSFER_COIN_EXPRESS: 'TX_TRANSFER_COIN_EXPRESS',
11
+ FORWARD_COIN: 'TX_FORWARD_COIN',
12
12
  ACTIVATE_COIN: 'TX_ACTIVATE_COIN',
13
13
  ACTIVATE_INCENTIVE: 'TX_ACTIVATE_INCENTIVE',
14
14
  ACTIVATE_FOUNDATION_RESERVE: 'TX_ACTIVATE_FOUNDATION_RESERVE',
@@ -22,16 +22,18 @@ define(['exports'], (function (exports) { 'use strict';
22
22
  BURN_TOKEN: 'TX_BURN_TOKEN',
23
23
  TRANSFER_TOKEN: 'TX_TRANSFER_TOKEN',
24
24
  TRANSFER_TOKEN_FEE: 'TX_TRANSFER_TOKEN_FEE',
25
+ FORWARD_TOKEN: 'TX_FORWARD_TOKEN',
25
26
  ACTIVATE_TOKEN: 'TX_ACTIVATE_TOKEN',
26
27
  CREATE_ASSETOBJECT: 'TX_CREATE_ASSETOBJECT',
27
28
  CREATE_ASSETOBJECT_FEE: 'TX_CREATE_ASSETOBJECT_FEE',
28
29
  TRANSFER_ASSETOBJECT: 'TX_TRANSFER_ASSETOBJECT',
29
30
  TRANSFER_ASSETOBJECT_FEE: 'TX_TRANSFER_ASSETOBJECT_FEE',
31
+ FORWARD_ASSETOBJECT: 'TX_FORWARD_ASSETOBJECT',
30
32
  ACTIVATE_ASSETOBJECT: 'TX_ACTIVATE_ASSETOBJECT',
31
33
  BURN_ASSETOBJECT: 'TX_BURN_ASSETOBJECT',
32
34
  REVOKE: 'TX_REVOKE',
33
35
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
34
- ACTIVATE_ALL_ASSETS: 'TX_ACTIVATE_ALL_ASSETS',
36
+ ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
35
37
  PROVIDE_SCRIPT: 'TX_PROVIDE_SCRIPT',
36
38
  ACCEPT_SCRIPT: 'TX_ACCEPT_SCRIPT',
37
39
  ACCEPT_SCRIPT_AFTER_TIMELOCK: 'TX_ACCEPT_SCRIPT_AFTER_TIMELOCK',
@@ -47,19 +49,17 @@ define(['exports'], (function (exports) { 'use strict';
47
49
  CREATE_VME: 'TX_CREATE_VME',
48
50
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
49
51
  VME_BLOCK: 'TX_VME_BLOCK',
50
- CREATE_CONTRACT: 'TX_CREATE_CONTRACT',
51
- CREATE_CONTRACT_FEE: 'TX_CREATE_CONTRACT_FEE',
52
- CALL_CONTRACT: 'TX_CALL_CONTRACT',
53
- CALL_CONTRACT_FEE: 'TX_CALL_CONTRACT_FEE',
54
- ACTIVATE_OPEN_CONTRACT: 'TX_ACTIVATE_OPEN_CONTRACT',
55
- ACTIVATE_CALL_CONTRACT: 'TX_ACTIVATE_CALL_CONTRACT',
56
- ACTIVATE_CONTRACT_TRANSFER: 'TX_ACTIVATE_CONTRACT_TRANSFER',
57
- ACTIVATE_CONTRACT_RESULT: 'TX_ACTIVATE_CONTRACT_RESULT',
58
- CONTRACT_TRANSFER_REWARD: 'TX_CONTRACT_TRANSFER_REWARD',
59
- CONTRACT_BLANK_REWARD: 'TX_CONTRACT_BLANK_REWARD',
60
- ACTIVATE_CONTRACT_REWARD: 'TX_ACTIVATE_CONTRACT_REWARD',
52
+ CALL_VME: 'TX_CALL_VME',
53
+ CALL_VME_FEE: 'TX_CALL_VME_FEE',
54
+ ACTIVATE_VME_TRANSFER: 'TX_ACTIVATE_VME_TRANSFER',
55
+ ACTIVATE_VME_RESULT: 'TX_ACTIVATE_VME_RESULT',
56
+ VME_TRANSFER_REWARD: 'TX_VME_TRANSFER_REWARD',
57
+ VME_BLANK_REWARD: 'TX_VME_BLANK_REWARD',
58
+ ACTIVATE_VME_REWARD: 'TX_ACTIVATE_VME_REWARD',
61
59
  FREEZE_ACCOUNT: 'TX_FREEZE_ACCOUNT',
60
+ RESTORE_RESHASH: 'TX_RESTORE_RESHASH',
62
61
  LEAD_VTX: 'TX_LEAD_VTX',
62
+ LEAD_DIRECT_VTX: 'TX_LEAD_DIRECT_VTX',
63
63
  FINALIZE: 'TX_FINALIZE',
64
64
  });
65
65
 
@@ -6,7 +6,7 @@ const TxType = Object.freeze({
6
6
  BECOME_GUEST: 'TX_BECOME_GUEST',
7
7
  TRANSFER_COIN: 'TX_TRANSFER_COIN',
8
8
  TRANSFER_COIN_FEE: 'TX_TRANSFER_COIN_FEE',
9
- TRANSFER_COIN_EXPRESS: 'TX_TRANSFER_COIN_EXPRESS',
9
+ FORWARD_COIN: 'TX_FORWARD_COIN',
10
10
  ACTIVATE_COIN: 'TX_ACTIVATE_COIN',
11
11
  ACTIVATE_INCENTIVE: 'TX_ACTIVATE_INCENTIVE',
12
12
  ACTIVATE_FOUNDATION_RESERVE: 'TX_ACTIVATE_FOUNDATION_RESERVE',
@@ -20,16 +20,18 @@ const TxType = Object.freeze({
20
20
  BURN_TOKEN: 'TX_BURN_TOKEN',
21
21
  TRANSFER_TOKEN: 'TX_TRANSFER_TOKEN',
22
22
  TRANSFER_TOKEN_FEE: 'TX_TRANSFER_TOKEN_FEE',
23
+ FORWARD_TOKEN: 'TX_FORWARD_TOKEN',
23
24
  ACTIVATE_TOKEN: 'TX_ACTIVATE_TOKEN',
24
25
  CREATE_ASSETOBJECT: 'TX_CREATE_ASSETOBJECT',
25
26
  CREATE_ASSETOBJECT_FEE: 'TX_CREATE_ASSETOBJECT_FEE',
26
27
  TRANSFER_ASSETOBJECT: 'TX_TRANSFER_ASSETOBJECT',
27
28
  TRANSFER_ASSETOBJECT_FEE: 'TX_TRANSFER_ASSETOBJECT_FEE',
29
+ FORWARD_ASSETOBJECT: 'TX_FORWARD_ASSETOBJECT',
28
30
  ACTIVATE_ASSETOBJECT: 'TX_ACTIVATE_ASSETOBJECT',
29
31
  BURN_ASSETOBJECT: 'TX_BURN_ASSETOBJECT',
30
32
  REVOKE: 'TX_REVOKE',
31
33
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
32
- ACTIVATE_ALL_ASSETS: 'TX_ACTIVATE_ALL_ASSETS',
34
+ ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
33
35
  PROVIDE_SCRIPT: 'TX_PROVIDE_SCRIPT',
34
36
  ACCEPT_SCRIPT: 'TX_ACCEPT_SCRIPT',
35
37
  ACCEPT_SCRIPT_AFTER_TIMELOCK: 'TX_ACCEPT_SCRIPT_AFTER_TIMELOCK',
@@ -45,19 +47,17 @@ const TxType = Object.freeze({
45
47
  CREATE_VME: 'TX_CREATE_VME',
46
48
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
47
49
  VME_BLOCK: 'TX_VME_BLOCK',
48
- CREATE_CONTRACT: 'TX_CREATE_CONTRACT',
49
- CREATE_CONTRACT_FEE: 'TX_CREATE_CONTRACT_FEE',
50
- CALL_CONTRACT: 'TX_CALL_CONTRACT',
51
- CALL_CONTRACT_FEE: 'TX_CALL_CONTRACT_FEE',
52
- ACTIVATE_OPEN_CONTRACT: 'TX_ACTIVATE_OPEN_CONTRACT',
53
- ACTIVATE_CALL_CONTRACT: 'TX_ACTIVATE_CALL_CONTRACT',
54
- ACTIVATE_CONTRACT_TRANSFER: 'TX_ACTIVATE_CONTRACT_TRANSFER',
55
- ACTIVATE_CONTRACT_RESULT: 'TX_ACTIVATE_CONTRACT_RESULT',
56
- CONTRACT_TRANSFER_REWARD: 'TX_CONTRACT_TRANSFER_REWARD',
57
- CONTRACT_BLANK_REWARD: 'TX_CONTRACT_BLANK_REWARD',
58
- ACTIVATE_CONTRACT_REWARD: 'TX_ACTIVATE_CONTRACT_REWARD',
50
+ CALL_VME: 'TX_CALL_VME',
51
+ CALL_VME_FEE: 'TX_CALL_VME_FEE',
52
+ ACTIVATE_VME_TRANSFER: 'TX_ACTIVATE_VME_TRANSFER',
53
+ ACTIVATE_VME_RESULT: 'TX_ACTIVATE_VME_RESULT',
54
+ VME_TRANSFER_REWARD: 'TX_VME_TRANSFER_REWARD',
55
+ VME_BLANK_REWARD: 'TX_VME_BLANK_REWARD',
56
+ ACTIVATE_VME_REWARD: 'TX_ACTIVATE_VME_REWARD',
59
57
  FREEZE_ACCOUNT: 'TX_FREEZE_ACCOUNT',
58
+ RESTORE_RESHASH: 'TX_RESTORE_RESHASH',
60
59
  LEAD_VTX: 'TX_LEAD_VTX',
60
+ LEAD_DIRECT_VTX: 'TX_LEAD_DIRECT_VTX',
61
61
  FINALIZE: 'TX_FINALIZE',
62
62
  });
63
63
 
@@ -39,7 +39,6 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
39
39
  readonly gameChainCmd: (param: import("../index.cjs").ParamsGameChainCmd) => Promise<import("../index.cjs").RpcGameChainCmdResult>;
40
40
  readonly getAccountsBalances: (param: import("../index.cjs").ParamsAccounts) => Promise<import("../index.cjs").RpcGetAccountsBalancesResult>;
41
41
  readonly getAccountsHeights: (param: import("../index.cjs").ParamsAccounts) => Promise<import("../index.cjs").RpcGetAccountsHeightsResult>;
42
- readonly getContractLog: (param: import("../index.cjs").ParamsContractLog) => Promise<import("../index.cjs").RpcGetContractLogResult>;
43
42
  readonly getGuestsInfo: () => Promise<import("../index.cjs").RpcGetGuestsInfoResult>;
44
43
  readonly getHomeShard: (param: import("../index.cjs").ParamsGetHomeShard) => Promise<import("../index.cjs").RpcGetHomeShardResult>;
45
44
  readonly getImportAccount: (params: import("../index.cjs").ParamsGetImportAccount) => Promise<import("../index.cjs").RpcGetImportAccountResult>;
@@ -48,6 +47,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
48
47
  readonly getNodeBlocks: () => Promise<import("../index.cjs").RpcGetNodeBlocksResult>;
49
48
  readonly getPeerPool: () => Promise<string[]>;
50
49
  readonly getPeersInfo: () => Promise<import("../index.cjs").GetPeersInfo>;
50
+ readonly getVmeLog: (param: import("../index.cjs").ParamsVmeLog) => Promise<import("../index.cjs").RpcGetVmeLogResult>;
51
51
  readonly importAccount: (params: import("../index.cjs").ParamsImportAccount) => Promise<import("../index.cjs").RpcImportAccountResult>;
52
52
  readonly initReliableNodes: (param: import("../index.cjs").ParamsInitReliableNodes) => Promise<import("../index.cjs").RpcBoolResult>;
53
53
  readonly noArgsRets: () => Promise<any>;
@@ -57,10 +57,10 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
57
57
  readonly sendRawTransaction: (params: import("../index.cjs").ParamsSendRawTransaction) => Promise<import("../index.cjs").RpcSendRawTransactionResult>;
58
58
  readonly setImportAccountTx: (params: import("../index.cjs").ParamsSetImportAccountTx) => Promise<import("../index.cjs").RpcSetImportAccountTxResult>;
59
59
  readonly setReliableNode: (param: import("../index.cjs").ParamsSetReliableNode) => Promise<import("../index.cjs").RpcBoolResult>;
60
- readonly viewContract: (param: import("../index.cjs").ParamsCallContract) => Promise<import("../index.cjs").RpcViewContractResult>;
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 calculateSpentByExpress: (param: import("../index.cjs").ParamsCalculateSpentByExpress) => Promise<import("../index.cjs").RpcCalculateSpentByExpressResult>;
63
+ readonly calculateSpentByForwardCoin: (param: import("../index.cjs").ParamsCalculateSpentByForwardCoin) => Promise<import("../index.cjs").RpcCalculateSpentByForwardCoinResult>;
64
64
  readonly clientMessage: (param: import("../index.cjs").ParamStr) => Promise<any>;
65
65
  readonly downloadAccountTxs: (param: import("../index.cjs").ParamsDownloadAccountTxs) => Promise<import("../index.cjs").OutputDownloadAccountTxs>;
66
66
  readonly findDuplicateSubscriber: (params: import("../index.cjs").ParamsFindDuplicateSubscriber) => Promise<import("../index.cjs").RpcFindDuplicateSubscriberResult>;
@@ -39,7 +39,6 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
39
39
  readonly gameChainCmd: (param: import("../index.mjs").ParamsGameChainCmd) => Promise<import("../index.mjs").RpcGameChainCmdResult>;
40
40
  readonly getAccountsBalances: (param: import("../index.mjs").ParamsAccounts) => Promise<import("../index.mjs").RpcGetAccountsBalancesResult>;
41
41
  readonly getAccountsHeights: (param: import("../index.mjs").ParamsAccounts) => Promise<import("../index.mjs").RpcGetAccountsHeightsResult>;
42
- readonly getContractLog: (param: import("../index.mjs").ParamsContractLog) => Promise<import("../index.mjs").RpcGetContractLogResult>;
43
42
  readonly getGuestsInfo: () => Promise<import("../index.mjs").RpcGetGuestsInfoResult>;
44
43
  readonly getHomeShard: (param: import("../index.mjs").ParamsGetHomeShard) => Promise<import("../index.mjs").RpcGetHomeShardResult>;
45
44
  readonly getImportAccount: (params: import("../index.mjs").ParamsGetImportAccount) => Promise<import("../index.mjs").RpcGetImportAccountResult>;
@@ -48,6 +47,7 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
48
47
  readonly getNodeBlocks: () => Promise<import("../index.mjs").RpcGetNodeBlocksResult>;
49
48
  readonly getPeerPool: () => Promise<string[]>;
50
49
  readonly getPeersInfo: () => Promise<import("../index.mjs").GetPeersInfo>;
50
+ readonly getVmeLog: (param: import("../index.mjs").ParamsVmeLog) => Promise<import("../index.mjs").RpcGetVmeLogResult>;
51
51
  readonly importAccount: (params: import("../index.mjs").ParamsImportAccount) => Promise<import("../index.mjs").RpcImportAccountResult>;
52
52
  readonly initReliableNodes: (param: import("../index.mjs").ParamsInitReliableNodes) => Promise<import("../index.mjs").RpcBoolResult>;
53
53
  readonly noArgsRets: () => Promise<any>;
@@ -57,10 +57,10 @@ export declare function createLocusPublicClient(args: CreateLocusPublicClientArg
57
57
  readonly sendRawTransaction: (params: import("../index.mjs").ParamsSendRawTransaction) => Promise<import("../index.mjs").RpcSendRawTransactionResult>;
58
58
  readonly setImportAccountTx: (params: import("../index.mjs").ParamsSetImportAccountTx) => Promise<import("../index.mjs").RpcSetImportAccountTxResult>;
59
59
  readonly setReliableNode: (param: import("../index.mjs").ParamsSetReliableNode) => Promise<import("../index.mjs").RpcBoolResult>;
60
- readonly viewContract: (param: import("../index.mjs").ParamsCallContract) => Promise<import("../index.mjs").RpcViewContractResult>;
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 calculateSpentByExpress: (param: import("../index.mjs").ParamsCalculateSpentByExpress) => Promise<import("../index.mjs").RpcCalculateSpentByExpressResult>;
63
+ readonly calculateSpentByForwardCoin: (param: import("../index.mjs").ParamsCalculateSpentByForwardCoin) => Promise<import("../index.mjs").RpcCalculateSpentByForwardCoinResult>;
64
64
  readonly clientMessage: (param: import("../index.mjs").ParamStr) => Promise<any>;
65
65
  readonly downloadAccountTxs: (param: import("../index.mjs").ParamsDownloadAccountTxs) => Promise<import("../index.mjs").OutputDownloadAccountTxs>;
66
66
  readonly findDuplicateSubscriber: (params: import("../index.mjs").ParamsFindDuplicateSubscriber) => Promise<import("../index.mjs").RpcFindDuplicateSubscriberResult>;
@@ -28,8 +28,7 @@ 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").ParamsCallContract) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
- readonly createContract: (param: import("../index.cjs").ParamsCreateContract) => Promise<import("../index.cjs").RpcCreateTxResult>;
31
+ readonly callVme: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
33
32
  readonly createSynthAccount: (param: import("../index.cjs").ParamsCreateSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
34
33
  readonly postDataToSynthAccount: (param: import("../index.cjs").ParamsPostDataToSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
35
34
  readonly acceptScript: (params: import("../index.cjs").ParamsAcceptScript) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -41,6 +40,7 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
41
40
  readonly createAssetObject: (param: import("../index.cjs").ParamsCreateAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
42
41
  readonly createToken: (param: import("../index.cjs").ParamsCreateToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
43
42
  readonly createVme: (param: import("../index.cjs").ParamsCreateVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
43
+ readonly forwardCoin: (param: import("../index.cjs").ParamsForwardCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
44
44
  readonly freezeAccount: (params: import("../index.cjs").ParamsFreezeAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
45
45
  readonly lockStake: (params: import("../index.cjs").ParamsLockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
46
46
  readonly openAccount: (param: import("../index.cjs").ParamsOpenAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -49,7 +49,6 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
49
49
  readonly requestDataTrade: (params: import("../index.cjs").ParamsRequestDataTrade) => Promise<import("../index.cjs").RpcDataTradeResult>;
50
50
  readonly transferAssetObject: (params: import("../index.cjs").ParamsTransferAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
51
51
  readonly transferCoin: (param: import("../index.cjs").ParamsTransferCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
52
- readonly transferCoinExpress: (param: import("../index.cjs").ParamsTransferCoinExpress) => Promise<import("../index.cjs").RpcCreateTxResult>;
53
52
  readonly transferToken: (params: import("../index.cjs").ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
54
53
  readonly unlockStake: (params: import("../index.cjs").ParamsUnlockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
55
54
  };
@@ -28,8 +28,7 @@ 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").ParamsCallContract) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
- readonly createContract: (param: import("../index.mjs").ParamsCreateContract) => Promise<import("../index.mjs").RpcCreateTxResult>;
31
+ readonly callVme: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
33
32
  readonly createSynthAccount: (param: import("../index.mjs").ParamsCreateSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
34
33
  readonly postDataToSynthAccount: (param: import("../index.mjs").ParamsPostDataToSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
35
34
  readonly acceptScript: (params: import("../index.mjs").ParamsAcceptScript) => Promise<import("../index.mjs").RpcCreateTxResult>;
@@ -41,6 +40,7 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
41
40
  readonly createAssetObject: (param: import("../index.mjs").ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
42
41
  readonly createToken: (param: import("../index.mjs").ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
43
42
  readonly createVme: (param: import("../index.mjs").ParamsCreateVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
43
+ readonly forwardCoin: (param: import("../index.mjs").ParamsForwardCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
44
44
  readonly freezeAccount: (params: import("../index.mjs").ParamsFreezeAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
45
45
  readonly lockStake: (params: import("../index.mjs").ParamsLockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
46
46
  readonly openAccount: (param: import("../index.mjs").ParamsOpenAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
@@ -49,7 +49,6 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
49
49
  readonly requestDataTrade: (params: import("../index.mjs").ParamsRequestDataTrade) => Promise<import("../index.mjs").RpcDataTradeResult>;
50
50
  readonly transferAssetObject: (params: import("../index.mjs").ParamsTransferAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
51
51
  readonly transferCoin: (param: import("../index.mjs").ParamsTransferCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
52
- readonly transferCoinExpress: (param: import("../index.mjs").ParamsTransferCoinExpress) => Promise<import("../index.mjs").RpcCreateTxResult>;
53
52
  readonly transferToken: (params: import("../index.mjs").ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
54
53
  readonly unlockStake: (params: import("../index.mjs").ParamsUnlockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
55
54
  };
@@ -1,4 +1,4 @@
1
- define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-BfX1doiz', '../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-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';
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-iCZ1H6xc.cjs');
4
+ var debugWalletActions = require('../chunks/debugWalletActions-DIQY8cBm.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, U as debugPublicActions, aE as walletActions, V as debugWalletActions } from '../chunks/debugWalletActions-B96f4kZc.js';
2
+ import { ao as publicActions, T as debugPublicActions, aD as walletActions, U as debugWalletActions } from '../chunks/debugWalletActions-qkesE_0m.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';