@locuschain/lib 0.2.3 → 0.2.5

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 (227) 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/callContract.d.cts +2 -2
  11. package/dist/autogen/actions/debug/wallet/callContract.d.mts +2 -2
  12. package/dist/autogen/actions/debug/wallet/callVme.d.cts +4 -0
  13. package/dist/autogen/actions/debug/wallet/callVme.d.mts +4 -0
  14. package/dist/autogen/actions/debug/wallet/index.d.cts +1 -0
  15. package/dist/autogen/actions/debug/wallet/index.d.mts +1 -0
  16. package/dist/autogen/actions/public/calculateSpentByForward.d.cts +4 -0
  17. package/dist/autogen/actions/public/calculateSpentByForward.d.mts +4 -0
  18. package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +4 -0
  19. package/dist/autogen/actions/public/calculateSpentByForwardList.d.mts +4 -0
  20. package/dist/autogen/actions/public/getRoundState.d.cts +1 -1
  21. package/dist/autogen/actions/public/getRoundState.d.mts +1 -1
  22. package/dist/autogen/actions/public/index.d.cts +2 -1
  23. package/dist/autogen/actions/public/index.d.mts +2 -1
  24. package/dist/autogen/actions/wallet/forwardAssetObject.d.cts +4 -0
  25. package/dist/autogen/actions/wallet/forwardAssetObject.d.mts +4 -0
  26. package/dist/autogen/actions/wallet/forwardCoin.d.cts +4 -0
  27. package/dist/autogen/actions/wallet/forwardCoin.d.mts +4 -0
  28. package/dist/autogen/actions/wallet/forwardToken.d.cts +4 -0
  29. package/dist/autogen/actions/wallet/forwardToken.d.mts +4 -0
  30. package/dist/autogen/actions/wallet/index.d.cts +5 -1
  31. package/dist/autogen/actions/wallet/index.d.mts +5 -1
  32. package/dist/autogen/actions/wallet/transfer.d.cts +4 -0
  33. package/dist/autogen/actions/wallet/transfer.d.mts +4 -0
  34. package/dist/autogen/actions/wallet/transferAllRes.d.cts +4 -0
  35. package/dist/autogen/actions/wallet/transferAllRes.d.mts +4 -0
  36. package/dist/autogen/debugPublicActions.d.cts +4 -4
  37. package/dist/autogen/debugPublicActions.d.mts +4 -4
  38. package/dist/autogen/debugWalletActions.d.cts +3 -2
  39. package/dist/autogen/debugWalletActions.d.mts +3 -2
  40. package/dist/autogen/index.amd.js +11 -5
  41. package/dist/autogen/index.cjs.cjs +11 -5
  42. package/dist/autogen/index.esm.js +5 -4
  43. package/dist/autogen/locus-tx.d.cts +2 -2
  44. package/dist/autogen/locus-tx.d.mts +2 -2
  45. package/dist/autogen/publicActions.d.cts +4 -2
  46. package/dist/autogen/publicActions.d.mts +4 -2
  47. package/dist/autogen/rpc-api-spec.d.cts +25 -13
  48. package/dist/autogen/rpc-api-spec.d.mts +25 -13
  49. package/dist/autogen/types/common/asset-object-meta.d.cts +2 -0
  50. package/dist/autogen/types/common/asset-object-meta.d.mts +2 -0
  51. package/dist/autogen/types/common/asset-object-transfer.d.cts +0 -2
  52. package/dist/autogen/types/common/asset-object-transfer.d.mts +0 -2
  53. package/dist/autogen/types/common/asset-object.d.cts +2 -1
  54. package/dist/autogen/types/common/asset-object.d.mts +2 -1
  55. package/dist/autogen/types/common/caller-key-proof.d.cts +8 -0
  56. package/dist/autogen/types/common/caller-key-proof.d.mts +8 -0
  57. package/dist/autogen/types/common/contract-exec-status.d.cts +2 -1
  58. package/dist/autogen/types/common/contract-exec-status.d.mts +2 -1
  59. package/dist/autogen/types/common/direct-call-request.d.cts +11 -0
  60. package/dist/autogen/types/common/direct-call-request.d.mts +11 -0
  61. package/dist/autogen/types/common/forward-spent-item.d.cts +9 -0
  62. package/dist/autogen/types/common/forward-spent-item.d.mts +9 -0
  63. package/dist/autogen/types/common/index.d.cts +9 -2
  64. package/dist/autogen/types/common/index.d.mts +9 -2
  65. package/dist/autogen/types/common/merkle-proof-multi-meta.d.cts +2 -0
  66. package/dist/autogen/types/common/merkle-proof-multi-meta.d.mts +2 -0
  67. package/dist/autogen/types/common/params-transfer-asset.d.cts +4 -0
  68. package/dist/autogen/types/common/params-transfer-asset.d.mts +4 -0
  69. package/dist/autogen/types/common/ref-vtx.d.cts +0 -1
  70. package/dist/autogen/types/common/ref-vtx.d.mts +0 -1
  71. package/dist/autogen/types/common/res-changed-entry.d.cts +6 -0
  72. package/dist/autogen/types/common/res-changed-entry.d.mts +6 -0
  73. package/dist/autogen/types/common/res-state-value.d.cts +5 -0
  74. package/dist/autogen/types/common/res-state-value.d.mts +5 -0
  75. package/dist/autogen/types/common/transfer-info.d.cts +0 -1
  76. package/dist/autogen/types/common/transfer-info.d.mts +0 -1
  77. package/dist/autogen/types/common/tx-base.d.cts +1 -1
  78. package/dist/autogen/types/common/tx-base.d.mts +1 -1
  79. package/dist/autogen/types/common/tx-restore-res-hash-proof.d.cts +9 -0
  80. package/dist/autogen/types/common/tx-restore-res-hash-proof.d.mts +9 -0
  81. package/dist/autogen/types/common/vm-engine-block.d.cts +6 -0
  82. package/dist/autogen/types/common/vm-engine-block.d.mts +6 -0
  83. package/dist/autogen/types/common/vm-tx-state.d.cts +5 -7
  84. package/dist/autogen/types/common/vm-tx-state.d.mts +5 -7
  85. package/dist/autogen/types/consts/address-class.d.cts +6 -7
  86. package/dist/autogen/types/consts/address-class.d.mts +6 -7
  87. package/dist/autogen/types/consts/tx-type.d.cts +16 -14
  88. package/dist/autogen/types/consts/tx-type.d.mts +16 -14
  89. package/dist/autogen/types/consts/tx-types.d.cts +59 -45
  90. package/dist/autogen/types/consts/tx-types.d.mts +59 -45
  91. package/dist/autogen/types/rpc/index.d.cts +14 -7
  92. package/dist/autogen/types/rpc/index.d.mts +14 -7
  93. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +3 -0
  94. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +3 -0
  95. package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.cts → params-calculate-spent-by-forward.d.cts} +1 -1
  96. package/dist/autogen/types/rpc/{params-calculate-spent-by-express.d.mts → params-calculate-spent-by-forward.d.mts} +1 -1
  97. package/dist/autogen/types/rpc/{params-call-contract.d.cts → params-call-vme.d.cts} +4 -4
  98. package/dist/autogen/types/rpc/{params-call-contract.d.mts → params-call-vme.d.mts} +4 -4
  99. package/dist/autogen/types/rpc/params-create-contract.d.cts +1 -0
  100. package/dist/autogen/types/rpc/params-create-contract.d.mts +1 -0
  101. package/dist/autogen/types/rpc/params-forward-asset-object.d.cts +7 -0
  102. package/dist/autogen/types/rpc/params-forward-asset-object.d.mts +7 -0
  103. package/dist/autogen/types/rpc/{params-transfer-coin-express.d.cts → params-forward-coin.d.cts} +1 -1
  104. package/dist/autogen/types/rpc/{params-transfer-coin-express.d.mts → params-forward-coin.d.mts} +1 -1
  105. package/dist/autogen/types/rpc/params-forward-token.d.cts +7 -0
  106. package/dist/autogen/types/rpc/params-forward-token.d.mts +7 -0
  107. package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.cts +2 -1
  108. package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.mts +2 -1
  109. package/dist/autogen/types/rpc/params-request-vme.d.cts +1 -0
  110. package/dist/autogen/types/rpc/params-request-vme.d.mts +1 -0
  111. package/dist/autogen/types/rpc/params-transfer-all-res.d.cts +14 -0
  112. package/dist/autogen/types/rpc/params-transfer-all-res.d.mts +14 -0
  113. package/dist/autogen/types/rpc/params-transfer-tokens.d.cts +0 -4
  114. package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +0 -4
  115. package/dist/autogen/types/rpc/params-transfer.d.cts +10 -0
  116. package/dist/autogen/types/rpc/params-transfer.d.mts +10 -0
  117. package/dist/autogen/types/rpc/{params-contract-log.d.cts → params-vme-log.d.cts} +3 -2
  118. package/dist/autogen/types/rpc/{params-contract-log.d.mts → params-vme-log.d.mts} +3 -2
  119. package/dist/autogen/types/{common → rpc}/round-state-detail.d.cts +1 -1
  120. package/dist/autogen/types/{common → rpc}/round-state-detail.d.mts +1 -1
  121. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.cts +4 -0
  122. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +4 -0
  123. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.cts +7 -0
  124. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.mts +7 -0
  125. package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.cts +3 -0
  126. package/dist/autogen/types/rpc/rpc-get-vme-log-result.d.mts +3 -0
  127. package/dist/autogen/types/rpc/rpc-view-vme-result.d.cts +3 -0
  128. package/dist/autogen/types/rpc/rpc-view-vme-result.d.mts +3 -0
  129. package/dist/autogen/types/tx/index.d.cts +16 -14
  130. package/dist/autogen/types/tx/index.d.mts +16 -14
  131. package/dist/autogen/types/tx/{tx-activate-all-assets.d.cts → tx-activate-all-res.d.cts} +4 -3
  132. package/dist/autogen/types/tx/{tx-activate-all-assets.d.mts → tx-activate-all-res.d.mts} +4 -3
  133. package/dist/autogen/types/tx/tx-activate-asset-object.d.cts +4 -2
  134. package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +4 -2
  135. package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.cts → tx-activate-open-vme.d.cts} +1 -1
  136. package/dist/autogen/types/tx/{tx-activate-open-vm-engine.d.mts → tx-activate-open-vme.d.mts} +1 -1
  137. package/dist/autogen/types/tx/{tx-activate-contract-result.d.cts → tx-activate-vme-result.d.cts} +7 -4
  138. package/dist/autogen/types/tx/{tx-activate-contract-result.d.mts → tx-activate-vme-result.d.mts} +7 -4
  139. package/dist/autogen/types/tx/{tx-activate-contract-reward.d.cts → tx-activate-vme-reward.d.cts} +1 -1
  140. package/dist/autogen/types/tx/{tx-activate-contract-reward.d.mts → tx-activate-vme-reward.d.mts} +1 -1
  141. package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.cts → tx-activate-vme-transfer.d.cts} +7 -4
  142. package/dist/autogen/types/tx/{tx-activate-contract-transfer.d.mts → tx-activate-vme-transfer.d.mts} +7 -4
  143. package/dist/autogen/types/tx/tx-burn-asset-object.d.cts +4 -2
  144. package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +4 -2
  145. package/dist/autogen/types/tx/tx-call-vme.d.cts +18 -0
  146. package/dist/autogen/types/tx/tx-call-vme.d.mts +18 -0
  147. package/dist/autogen/types/tx/tx-close-account.d.cts +2 -2
  148. package/dist/autogen/types/tx/tx-close-account.d.mts +2 -2
  149. package/dist/autogen/types/tx/{tx-create-vm-engine.d.cts → tx-create-vme.d.cts} +1 -1
  150. package/dist/autogen/types/tx/{tx-create-vm-engine.d.mts → tx-create-vme.d.mts} +1 -1
  151. package/dist/autogen/types/tx/tx-forward-asset-object.d.cts +10 -0
  152. package/dist/autogen/types/tx/tx-forward-asset-object.d.mts +10 -0
  153. package/dist/autogen/types/tx/{tx-transfer-coin-express.d.cts → tx-forward-coin.d.cts} +2 -1
  154. package/dist/autogen/types/tx/{tx-transfer-coin-express.d.mts → tx-forward-coin.d.mts} +2 -1
  155. package/dist/autogen/types/tx/tx-forward-token.d.cts +10 -0
  156. package/dist/autogen/types/tx/tx-forward-token.d.mts +10 -0
  157. package/dist/autogen/types/tx/tx-lead-direct-vtx.d.cts +11 -0
  158. package/dist/autogen/types/tx/tx-lead-direct-vtx.d.mts +11 -0
  159. package/dist/autogen/types/tx/tx-lead-vtx.d.cts +1 -1
  160. package/dist/autogen/types/tx/tx-lead-vtx.d.mts +1 -1
  161. package/dist/autogen/types/tx/{tx-call-contract.d.cts → tx-restore-res-hash.d.cts} +4 -8
  162. package/dist/autogen/types/tx/{tx-call-contract.d.mts → tx-restore-res-hash.d.mts} +4 -8
  163. package/dist/autogen/types/tx/tx-revoke.d.cts +4 -2
  164. package/dist/autogen/types/tx/tx-revoke.d.mts +4 -2
  165. package/dist/autogen/types/tx/{tx-create-contract.d.cts → tx-transfer-all-res.d.cts} +5 -7
  166. package/dist/autogen/types/tx/{tx-create-contract.d.mts → tx-transfer-all-res.d.mts} +5 -7
  167. package/dist/autogen/types/tx/tx-transfer-asset-object.d.cts +4 -2
  168. package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +4 -2
  169. package/dist/autogen/types/tx/{tx-contract-blank-reward.d.cts → tx-vme-blank-reward.d.cts} +1 -1
  170. package/dist/autogen/types/tx/{tx-contract-blank-reward.d.mts → tx-vme-blank-reward.d.mts} +1 -1
  171. package/dist/autogen/types/tx/{tx-vm-engine-block.d.cts → tx-vme-block.d.cts} +2 -1
  172. package/dist/autogen/types/tx/{tx-vm-engine-block.d.mts → tx-vme-block.d.mts} +2 -1
  173. package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.cts → tx-vme-transfer-reward.d.cts} +1 -1
  174. package/dist/autogen/types/tx/{tx-contract-transfer-reward.d.mts → tx-vme-transfer-reward.d.mts} +1 -1
  175. package/dist/autogen/walletActions.d.cts +10 -2
  176. package/dist/autogen/walletActions.d.mts +10 -2
  177. package/dist/autogen/wasm/lclib.wasm +0 -0
  178. package/dist/chunks/{address-class-CHAZYhdZ.js → address-class-3IzotplG.js} +6 -7
  179. package/dist/chunks/{address-class-Cjy48Uqk.cjs → address-class-B8b7mx1K.cjs} +6 -7
  180. package/dist/chunks/{address-class-Dp7aNQb2.js → address-class-CDo766LJ.js} +6 -7
  181. package/dist/chunks/{debugWalletActions-B96f4kZc.js → debugWalletActions-A_93DKNp.js} +80 -22
  182. package/dist/chunks/{debugWalletActions-BfX1doiz.js → debugWalletActions-D3FUuxE6.js} +89 -25
  183. package/dist/chunks/{debugWalletActions-iCZ1H6xc.cjs → debugWalletActions-DTcup4BP.cjs} +89 -25
  184. package/dist/chunks/{tx-type-BPkhMGad.js → tx-type-BUN9nEQ6.js} +16 -14
  185. package/dist/chunks/{tx-type-CS4wIUJ8.js → tx-type-DYAaL3xz.js} +16 -14
  186. package/dist/chunks/{tx-type-DI_nKG8B.cjs → tx-type-khL8tWtn.cjs} +16 -14
  187. package/dist/clients/createLocusPublicClient.d.cts +4 -3
  188. package/dist/clients/createLocusPublicClient.d.mts +4 -3
  189. package/dist/clients/createLocusWalletClient.d.cts +7 -2
  190. package/dist/clients/createLocusWalletClient.d.mts +7 -2
  191. package/dist/clients/index.amd.js +1 -1
  192. package/dist/clients/index.cjs.cjs +1 -1
  193. package/dist/clients/index.esm.js +1 -1
  194. package/dist/constant/index.amd.js +80 -66
  195. package/dist/constant/index.cjs.cjs +81 -67
  196. package/dist/constant/index.d.cts +81 -66
  197. package/dist/constant/index.d.mts +81 -66
  198. package/dist/constant/index.esm.js +81 -67
  199. package/dist/index.amd.js +1 -1
  200. package/dist/index.cjs.cjs +3 -3
  201. package/dist/index.esm.js +3 -3
  202. package/dist/utils/index.amd.js +3 -6
  203. package/dist/utils/index.cjs.cjs +3 -6
  204. package/dist/utils/index.d.cts +3 -4
  205. package/dist/utils/index.d.mts +3 -4
  206. package/dist/utils/index.esm.js +4 -6
  207. package/package.json +1 -1
  208. package/dist/autogen/actions/debug/public/getContractLog.d.cts +0 -4
  209. package/dist/autogen/actions/debug/public/getContractLog.d.mts +0 -4
  210. package/dist/autogen/actions/debug/public/viewContract.d.cts +0 -4
  211. package/dist/autogen/actions/debug/public/viewContract.d.mts +0 -4
  212. package/dist/autogen/actions/public/calculateSpentByExpress.d.cts +0 -4
  213. package/dist/autogen/actions/public/calculateSpentByExpress.d.mts +0 -4
  214. package/dist/autogen/actions/wallet/transferCoinExpress.d.cts +0 -4
  215. package/dist/autogen/actions/wallet/transferCoinExpress.d.mts +0 -4
  216. package/dist/autogen/types/common/asset-proof-objects.d.cts +0 -5
  217. package/dist/autogen/types/common/asset-proof-objects.d.mts +0 -5
  218. package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.cts +0 -3
  219. package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.mts +0 -3
  220. package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.cts +0 -3
  221. package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.mts +0 -3
  222. package/dist/autogen/types/rpc/rpc-view-contract-result.d.cts +0 -3
  223. package/dist/autogen/types/rpc/rpc-view-contract-result.d.mts +0 -3
  224. package/dist/autogen/types/tx/tx-activate-call-contract.d.cts +0 -15
  225. package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +0 -15
  226. package/dist/autogen/types/tx/tx-activate-open-contract.d.cts +0 -15
  227. package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +0 -15
@@ -19,9 +19,16 @@ function accountHeightsToUpload(client, param) {
19
19
  }
20
20
 
21
21
  // Automatically generated file. DO NOT EDIT.
22
- function calculateSpentByExpress(client, param) {
22
+ function calculateSpentByForward(client, param) {
23
23
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
24
- return client.request({ method: 'locus_calculateSpentByExpress', params: [param] });
24
+ return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
25
+ });
26
+ }
27
+
28
+ // Automatically generated file. DO NOT EDIT.
29
+ function calculateSpentByForwardList(client, param) {
30
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
31
+ return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
25
32
  });
26
33
  }
27
34
 
@@ -274,7 +281,8 @@ function verifyTxListWitness(client, params) {
274
281
  const publicActions = (client) => ({
275
282
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
276
283
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
277
- calculateSpentByExpress: (param) => calculateSpentByExpress(client, param),
284
+ calculateSpentByForward: (param) => calculateSpentByForward(client, param),
285
+ calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
278
286
  clientMessage: (param) => clientMessage(client, param),
279
287
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
280
288
  echo: (str) => echo$1(client, str),
@@ -506,6 +514,33 @@ function createVme(client, param) {
506
514
  });
507
515
  }
508
516
 
517
+ // Automatically generated file. DO NOT EDIT.
518
+ function forwardAssetObject(client, params) {
519
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
520
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardAssetObject', params: [params] });
521
+ const signed = yield _signLocusTransaction(client.account, prepared);
522
+ return _sendPreparedTransaction(client, signed);
523
+ });
524
+ }
525
+
526
+ // Automatically generated file. DO NOT EDIT.
527
+ function forwardCoin(client, param) {
528
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
529
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardCoin', params: [param] });
530
+ const signed = yield _signLocusTransaction(client.account, prepared);
531
+ return _sendPreparedTransaction(client, signed);
532
+ });
533
+ }
534
+
535
+ // Automatically generated file. DO NOT EDIT.
536
+ function forwardToken(client, params) {
537
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
538
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardToken', params: [params] });
539
+ const signed = yield _signLocusTransaction(client.account, prepared);
540
+ return _sendPreparedTransaction(client, signed);
541
+ });
542
+ }
543
+
509
544
  // Automatically generated file. DO NOT EDIT.
510
545
  function freezeAccount(client, params) {
511
546
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -561,27 +596,36 @@ function requestDataTrade(client, params) {
561
596
  }
562
597
 
563
598
  // Automatically generated file. DO NOT EDIT.
564
- function transferAssetObject(client, params) {
599
+ function transfer(client, params) {
565
600
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
566
- const prepared = yield _prepareTransaction(client, { method: 'locus_transferAssetObject', params: [params] });
601
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
567
602
  const signed = yield _signLocusTransaction(client.account, prepared);
568
603
  return _sendPreparedTransaction(client, signed);
569
604
  });
570
605
  }
571
606
 
572
607
  // Automatically generated file. DO NOT EDIT.
573
- function transferCoin(client, param) {
608
+ function transferAllRes(client, params) {
574
609
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
575
- const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoin', params: [param] });
610
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
576
611
  const signed = yield _signLocusTransaction(client.account, prepared);
577
612
  return _sendPreparedTransaction(client, signed);
578
613
  });
579
614
  }
580
615
 
581
616
  // Automatically generated file. DO NOT EDIT.
582
- function transferCoinExpress(client, param) {
617
+ function transferAssetObject(client, params) {
583
618
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
584
- const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoinExpress', params: [param] });
619
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferAssetObject', params: [params] });
620
+ const signed = yield _signLocusTransaction(client.account, prepared);
621
+ return _sendPreparedTransaction(client, signed);
622
+ });
623
+ }
624
+
625
+ // Automatically generated file. DO NOT EDIT.
626
+ function transferCoin(client, param) {
627
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
628
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoin', params: [param] });
585
629
  const signed = yield _signLocusTransaction(client.account, prepared);
586
630
  return _sendPreparedTransaction(client, signed);
587
631
  });
@@ -616,15 +660,19 @@ const walletActions = (client) => ({
616
660
  createAssetObject: (param) => createAssetObject(client, param),
617
661
  createToken: (param) => createToken(client, param),
618
662
  createVme: (param) => createVme(client, param),
663
+ forwardAssetObject: (params) => forwardAssetObject(client, params),
664
+ forwardCoin: (param) => forwardCoin(client, param),
665
+ forwardToken: (params) => forwardToken(client, params),
619
666
  freezeAccount: (params) => freezeAccount(client, params),
620
667
  lockStake: (params) => lockStake(client, params),
621
668
  openAccount: (param) => openAccount(client, param),
622
669
  postData: (params) => postData(client, params),
623
670
  provideScript: (params) => provideScript(client, params),
624
671
  requestDataTrade: (params) => requestDataTrade(client, params),
672
+ transfer: (params) => transfer(client, params),
673
+ transferAllRes: (params) => transferAllRes(client, params),
625
674
  transferAssetObject: (params) => transferAssetObject(client, params),
626
675
  transferCoin: (param) => transferCoin(client, param),
627
- transferCoinExpress: (param) => transferCoinExpress(client, param),
628
676
  transferToken: (params) => transferToken(client, params),
629
677
  unlockStake: (params) => unlockStake(client, params),
630
678
  });
@@ -699,13 +747,6 @@ function getAccountsHeights(client, param) {
699
747
  });
700
748
  }
701
749
 
702
- // Automatically generated file. DO NOT EDIT.
703
- function getContractLog(client, param) {
704
- return tslib_es6.__awaiter(this, void 0, void 0, function* () {
705
- return client.request({ method: 'debug_getContractLog', params: [param] });
706
- });
707
- }
708
-
709
750
  // Automatically generated file. DO NOT EDIT.
710
751
  function getGuestsInfo(client) {
711
752
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -762,6 +803,13 @@ function getPeersInfo(client) {
762
803
  });
763
804
  }
764
805
 
806
+ // Automatically generated file. DO NOT EDIT.
807
+ function getVmeLog(client, param) {
808
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
809
+ return client.request({ method: 'debug_getVmeLog', params: [param] });
810
+ });
811
+ }
812
+
765
813
  // Automatically generated file. DO NOT EDIT.
766
814
  function importAccount(client, params) {
767
815
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -826,9 +874,9 @@ function setReliableNode(client, param) {
826
874
  }
827
875
 
828
876
  // Automatically generated file. DO NOT EDIT.
829
- function viewContract(client, param) {
877
+ function viewVme(client, param) {
830
878
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
831
- return client.request({ method: 'debug_viewContract', params: [param] });
879
+ return client.request({ method: 'debug_viewVme', params: [param] });
832
880
  });
833
881
  }
834
882
 
@@ -844,7 +892,6 @@ const debugPublicActions = (client) => ({
844
892
  gameChainCmd: (param) => gameChainCmd(client, param),
845
893
  getAccountsBalances: (param) => getAccountsBalances(client, param),
846
894
  getAccountsHeights: (param) => getAccountsHeights(client, param),
847
- getContractLog: (param) => getContractLog(client, param),
848
895
  getGuestsInfo: () => getGuestsInfo(client),
849
896
  getHomeShard: (param) => getHomeShard(client, param),
850
897
  getImportAccount: (params) => getImportAccount(client, params),
@@ -853,6 +900,7 @@ const debugPublicActions = (client) => ({
853
900
  getNodeBlocks: () => getNodeBlocks(client),
854
901
  getPeerPool: () => getPeerPool(client),
855
902
  getPeersInfo: () => getPeersInfo(client),
903
+ getVmeLog: (param) => getVmeLog(client, param),
856
904
  importAccount: (params) => importAccount(client, params),
857
905
  initReliableNodes: (param) => initReliableNodes(client, param),
858
906
  noArgsRets: () => noArgsRets(client),
@@ -862,7 +910,7 @@ const debugPublicActions = (client) => ({
862
910
  sendRawTransaction: (params) => sendRawTransaction(client, params),
863
911
  setImportAccountTx: (params) => setImportAccountTx(client, params),
864
912
  setReliableNode: (param) => setReliableNode(client, param),
865
- viewContract: (param) => viewContract(client, param),
913
+ viewVme: (param) => viewVme(client, param),
866
914
  });
867
915
 
868
916
  // Automatically generated file. DO NOT EDIT.
@@ -874,6 +922,15 @@ function callContract(client, param) {
874
922
  });
875
923
  }
876
924
 
925
+ // Automatically generated file. DO NOT EDIT.
926
+ function callVme(client, param) {
927
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
928
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callVme', params: [param] });
929
+ const signed = yield _signLocusTransaction(client.account, prepared);
930
+ return _sendPreparedTransaction(client, signed);
931
+ });
932
+ }
933
+
877
934
  // Automatically generated file. DO NOT EDIT.
878
935
  function createContract(client, param) {
879
936
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -904,6 +961,7 @@ function postDataToSynthAccount(client, param) {
904
961
  // Automatically generated file. DO NOT EDIT.
905
962
  const debugWalletActions = (client) => ({
906
963
  callContract: (param) => callContract(client, param),
964
+ callVme: (param) => callVme(client, param),
907
965
  createContract: (param) => createContract(client, param),
908
966
  createSynthAccount: (param) => createSynthAccount(client, param),
909
967
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
@@ -917,8 +975,10 @@ exports.balanceGrantList = balanceGrantList;
917
975
  exports.balanceList = balanceList;
918
976
  exports.becomeGuest = becomeGuest;
919
977
  exports.becomeHost = becomeHost;
920
- exports.calculateSpentByExpress = calculateSpentByExpress;
978
+ exports.calculateSpentByForward = calculateSpentByForward;
979
+ exports.calculateSpentByForwardList = calculateSpentByForwardList;
921
980
  exports.callContract = callContract;
981
+ exports.callVme = callVme;
922
982
  exports.changeKey = changeKey;
923
983
  exports.changeVkey = changeVkey;
924
984
  exports.clientMessage = clientMessage;
@@ -937,6 +997,9 @@ exports.dumpAllAccounts = dumpAllAccounts;
937
997
  exports.echo = echo;
938
998
  exports.echo$1 = echo$1;
939
999
  exports.findDuplicateSubscriber = findDuplicateSubscriber;
1000
+ exports.forwardAssetObject = forwardAssetObject;
1001
+ exports.forwardCoin = forwardCoin;
1002
+ exports.forwardToken = forwardToken;
940
1003
  exports.freezeAccount = freezeAccount;
941
1004
  exports.gameChainCmd = gameChainCmd;
942
1005
  exports.generateLatestStoredDataProof = generateLatestStoredDataProof;
@@ -948,7 +1011,6 @@ exports.getAccountTokenList = getAccountTokenList;
948
1011
  exports.getAccountsBalances = getAccountsBalances;
949
1012
  exports.getAccountsHeights = getAccountsHeights;
950
1013
  exports.getConciseNodeStatus = getConciseNodeStatus;
951
- exports.getContractLog = getContractLog;
952
1014
  exports.getGenesisAccount = getGenesisAccount;
953
1015
  exports.getGuestsInfo = getGuestsInfo;
954
1016
  exports.getHomeShard = getHomeShard;
@@ -968,6 +1030,7 @@ exports.getRoundStatesList = getRoundStatesList;
968
1030
  exports.getShardOfAccount = getShardOfAccount;
969
1031
  exports.getSyncState = getSyncState;
970
1032
  exports.getTx = getTx;
1033
+ exports.getVmeLog = getVmeLog;
971
1034
  exports.getWorldRoundState = getWorldRoundState;
972
1035
  exports.getWorldRoundStatesList = getWorldRoundStatesList;
973
1036
  exports.hasSystemToken = hasSystemToken;
@@ -992,9 +1055,10 @@ exports.setHost = setHost;
992
1055
  exports.setImportAccountTx = setImportAccountTx;
993
1056
  exports.setReliableNode = setReliableNode;
994
1057
  exports.subscribeAddress = subscribeAddress;
1058
+ exports.transfer = transfer;
1059
+ exports.transferAllRes = transferAllRes;
995
1060
  exports.transferAssetObject = transferAssetObject;
996
1061
  exports.transferCoin = transferCoin;
997
- exports.transferCoinExpress = transferCoinExpress;
998
1062
  exports.transferToken = transferToken;
999
1063
  exports.unlockStake = unlockStake;
1000
1064
  exports.uploadAccountTxs = uploadAccountTxs;
@@ -1002,5 +1066,5 @@ exports.verifyAndSignChallenge = verifyAndSignChallenge;
1002
1066
  exports.verifyIdentityProof = verifyIdentityProof;
1003
1067
  exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
1004
1068
  exports.verifyTxListWitness = verifyTxListWitness;
1005
- exports.viewContract = viewContract;
1069
+ exports.viewVme = viewVme;
1006
1070
  exports.walletActions = walletActions;
@@ -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,20 @@ 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',
32
+ TRANSFER_ALL_RES: 'TX_TRANSFER_ALL_RES',
33
+ TRANSFER_ALL_RES_FEE: 'TX_TRANSFER_ALL_RES_FEE',
30
34
  REVOKE: 'TX_REVOKE',
31
35
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
32
- ACTIVATE_ALL_ASSETS: 'TX_ACTIVATE_ALL_ASSETS',
36
+ ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
33
37
  PROVIDE_SCRIPT: 'TX_PROVIDE_SCRIPT',
34
38
  ACCEPT_SCRIPT: 'TX_ACCEPT_SCRIPT',
35
39
  ACCEPT_SCRIPT_AFTER_TIMELOCK: 'TX_ACCEPT_SCRIPT_AFTER_TIMELOCK',
@@ -42,22 +46,20 @@ const TxType = Object.freeze({
42
46
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
43
47
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
44
48
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
45
- CREATE_VME: 'TX_CREATE_VME',
49
+ CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
46
50
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
47
51
  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',
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',
59
59
  FREEZE_ACCOUNT: 'TX_FREEZE_ACCOUNT',
60
+ RESTORE_RESHASH: 'TX_RESTORE_RESHASH',
60
61
  LEAD_VTX: 'TX_LEAD_VTX',
62
+ LEAD_DIRECT_VTX: 'TX_LEAD_DIRECT_VTX',
61
63
  FINALIZE: 'TX_FINALIZE',
62
64
  });
63
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,20 @@ 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',
34
+ TRANSFER_ALL_RES: 'TX_TRANSFER_ALL_RES',
35
+ TRANSFER_ALL_RES_FEE: 'TX_TRANSFER_ALL_RES_FEE',
32
36
  REVOKE: 'TX_REVOKE',
33
37
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
34
- ACTIVATE_ALL_ASSETS: 'TX_ACTIVATE_ALL_ASSETS',
38
+ ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
35
39
  PROVIDE_SCRIPT: 'TX_PROVIDE_SCRIPT',
36
40
  ACCEPT_SCRIPT: 'TX_ACCEPT_SCRIPT',
37
41
  ACCEPT_SCRIPT_AFTER_TIMELOCK: 'TX_ACCEPT_SCRIPT_AFTER_TIMELOCK',
@@ -44,22 +48,20 @@ define(['exports'], (function (exports) { 'use strict';
44
48
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
45
49
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
46
50
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
47
- CREATE_VME: 'TX_CREATE_VME',
51
+ CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
48
52
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
49
53
  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',
54
+ CALL_VME: 'TX_CALL_VME',
55
+ CALL_VME_FEE: 'TX_CALL_VME_FEE',
56
+ ACTIVATE_VME_TRANSFER: 'TX_ACTIVATE_VME_TRANSFER',
57
+ ACTIVATE_VME_RESULT: 'TX_ACTIVATE_VME_RESULT',
58
+ VME_TRANSFER_REWARD: 'TX_VME_TRANSFER_REWARD',
59
+ VME_BLANK_REWARD: 'TX_VME_BLANK_REWARD',
60
+ ACTIVATE_VME_REWARD: 'TX_ACTIVATE_VME_REWARD',
61
61
  FREEZE_ACCOUNT: 'TX_FREEZE_ACCOUNT',
62
+ RESTORE_RESHASH: 'TX_RESTORE_RESHASH',
62
63
  LEAD_VTX: 'TX_LEAD_VTX',
64
+ LEAD_DIRECT_VTX: 'TX_LEAD_DIRECT_VTX',
63
65
  FINALIZE: 'TX_FINALIZE',
64
66
  });
65
67
 
@@ -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,20 @@ 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',
34
+ TRANSFER_ALL_RES: 'TX_TRANSFER_ALL_RES',
35
+ TRANSFER_ALL_RES_FEE: 'TX_TRANSFER_ALL_RES_FEE',
32
36
  REVOKE: 'TX_REVOKE',
33
37
  CLOSE_ACCOUNT: 'TX_CLOSE_ACCOUNT',
34
- ACTIVATE_ALL_ASSETS: 'TX_ACTIVATE_ALL_ASSETS',
38
+ ACTIVATE_ALL_RES: 'TX_ACTIVATE_ALL_RES',
35
39
  PROVIDE_SCRIPT: 'TX_PROVIDE_SCRIPT',
36
40
  ACCEPT_SCRIPT: 'TX_ACCEPT_SCRIPT',
37
41
  ACCEPT_SCRIPT_AFTER_TIMELOCK: 'TX_ACCEPT_SCRIPT_AFTER_TIMELOCK',
@@ -44,22 +48,20 @@ const TxType = Object.freeze({
44
48
  LOCK_STAKE_FOR_VME: 'TX_LOCK_STAKE_FOR_VME',
45
49
  ACTIVATE_LOCK_STAKE_FOR_VME: 'TX_ACTIVATE_LOCK_STAKE_FOR_VME',
46
50
  UNLOCK_STAKE: 'TX_UNLOCK_STAKE',
47
- CREATE_VME: 'TX_CREATE_VME',
51
+ CREATE_VME_FEE: 'TX_CREATE_VME_FEE',
48
52
  ACTIVATE_OPEN_VME: 'TX_ACTIVATE_OPEN_VME',
49
53
  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',
54
+ CALL_VME: 'TX_CALL_VME',
55
+ CALL_VME_FEE: 'TX_CALL_VME_FEE',
56
+ ACTIVATE_VME_TRANSFER: 'TX_ACTIVATE_VME_TRANSFER',
57
+ ACTIVATE_VME_RESULT: 'TX_ACTIVATE_VME_RESULT',
58
+ VME_TRANSFER_REWARD: 'TX_VME_TRANSFER_REWARD',
59
+ VME_BLANK_REWARD: 'TX_VME_BLANK_REWARD',
60
+ ACTIVATE_VME_REWARD: 'TX_ACTIVATE_VME_REWARD',
61
61
  FREEZE_ACCOUNT: 'TX_FREEZE_ACCOUNT',
62
+ RESTORE_RESHASH: 'TX_RESTORE_RESHASH',
62
63
  LEAD_VTX: 'TX_LEAD_VTX',
64
+ LEAD_DIRECT_VTX: 'TX_LEAD_DIRECT_VTX',
63
65
  FINALIZE: 'TX_FINALIZE',
64
66
  });
65
67
 
@@ -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,11 @@ 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 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>;
@@ -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,11 @@ 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 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>;
@@ -28,7 +28,8 @@ 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>;
31
+ readonly callContract: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
+ readonly callVme: (param: import("../index.cjs").ParamsCallVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
33
  readonly createContract: (param: import("../index.cjs").ParamsCreateContract) => Promise<import("../index.cjs").RpcCreateTxResult>;
33
34
  readonly createSynthAccount: (param: import("../index.cjs").ParamsCreateSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
34
35
  readonly postDataToSynthAccount: (param: import("../index.cjs").ParamsPostDataToSynthAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -41,15 +42,19 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
41
42
  readonly createAssetObject: (param: import("../index.cjs").ParamsCreateAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
42
43
  readonly createToken: (param: import("../index.cjs").ParamsCreateToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
43
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>;
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
- readonly transferCoinExpress: (param: import("../index.cjs").ParamsTransferCoinExpress) => Promise<import("../index.cjs").RpcCreateTxResult>;
53
58
  readonly transferToken: (params: import("../index.cjs").ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
54
59
  readonly unlockStake: (params: import("../index.cjs").ParamsUnlockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
55
60
  };
@@ -28,7 +28,8 @@ 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>;
31
+ readonly callContract: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
+ readonly callVme: (param: import("../index.mjs").ParamsCallVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
33
  readonly createContract: (param: import("../index.mjs").ParamsCreateContract) => Promise<import("../index.mjs").RpcCreateTxResult>;
33
34
  readonly createSynthAccount: (param: import("../index.mjs").ParamsCreateSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
34
35
  readonly postDataToSynthAccount: (param: import("../index.mjs").ParamsPostDataToSynthAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
@@ -41,15 +42,19 @@ export declare function createLocusWalletClient(args: CreateLocusWalletClientArg
41
42
  readonly createAssetObject: (param: import("../index.mjs").ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
42
43
  readonly createToken: (param: import("../index.mjs").ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
43
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>;
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
- readonly transferCoinExpress: (param: import("../index.mjs").ParamsTransferCoinExpress) => Promise<import("../index.mjs").RpcCreateTxResult>;
53
58
  readonly transferToken: (params: import("../index.mjs").ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
54
59
  readonly unlockStake: (params: import("../index.mjs").ParamsUnlockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
55
60
  };
@@ -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-D3FUuxE6', '../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-DTcup4BP.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 { at as publicActions, W as debugPublicActions, aK as walletActions, X as debugWalletActions } from '../chunks/debugWalletActions-A_93DKNp.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';