@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
@@ -1,5 +1,5 @@
1
1
  import { TxBase } from '../common/tx-base.mjs';
2
2
  import { TxNoSignature } from '../common/tx-no-signature.mjs';
3
- export type TxContractBlankReward = TxBase & TxNoSignature & {
3
+ export type TxVmeBlankReward = TxBase & TxNoSignature & {
4
4
  refHeight: number;
5
5
  };
@@ -1,6 +1,7 @@
1
1
  import { TxBase } from '../common/tx-base.cjs';
2
2
  import { TxNoSignature } from '../common/tx-no-signature.cjs';
3
3
  import { VmEngineBlock } from '../common/vm-engine-block.cjs';
4
- export type TxVmEngineBlock = TxBase & TxNoSignature & {
4
+ export type TxVmeBlock = TxBase & TxNoSignature & {
5
5
  block: VmEngineBlock;
6
+ gathered: string;
6
7
  };
@@ -1,6 +1,7 @@
1
1
  import { TxBase } from '../common/tx-base.mjs';
2
2
  import { TxNoSignature } from '../common/tx-no-signature.mjs';
3
3
  import { VmEngineBlock } from '../common/vm-engine-block.mjs';
4
- export type TxVmEngineBlock = TxBase & TxNoSignature & {
4
+ export type TxVmeBlock = TxBase & TxNoSignature & {
5
5
  block: VmEngineBlock;
6
+ gathered: string;
6
7
  };
@@ -1,6 +1,6 @@
1
1
  import { TxBase } from '../common/tx-base.cjs';
2
2
  import { TxNoSignature } from '../common/tx-no-signature.cjs';
3
- export type TxContractTransferReward = TxBase & TxNoSignature & {
3
+ export type TxVmeTransferReward = TxBase & TxNoSignature & {
4
4
  target: string;
5
5
  rewardAmount: string;
6
6
  gathered: string;
@@ -1,6 +1,6 @@
1
1
  import { TxBase } from '../common/tx-base.mjs';
2
2
  import { TxNoSignature } from '../common/tx-no-signature.mjs';
3
- export type TxContractTransferReward = TxBase & TxNoSignature & {
3
+ export type TxVmeTransferReward = TxBase & TxNoSignature & {
4
4
  target: string;
5
5
  rewardAmount: string;
6
6
  gathered: string;
@@ -8,6 +8,7 @@ import type { ParamsCloseAccount } from './types/rpc/params-close-account.cjs';
8
8
  import type { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.cjs';
9
9
  import type { ParamsCreateToken } from './types/rpc/params-create-token.cjs';
10
10
  import type { ParamsCreateVme } from './types/rpc/params-create-vme.cjs';
11
+ import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.cjs';
11
12
  import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.cjs';
12
13
  import type { ParamsLockStake } from './types/rpc/params-lock-stake.cjs';
13
14
  import type { ParamsOpenAccount } from './types/rpc/params-open-account.cjs';
@@ -15,7 +16,6 @@ import type { ParamsProvideScript } from './types/rpc/params-provide-script.cjs'
15
16
  import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.cjs';
16
17
  import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.cjs';
17
18
  import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.cjs';
18
- import type { ParamsTransferCoinExpress } from './types/rpc/params-transfer-coin-express.cjs';
19
19
  import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.cjs';
20
20
  import type { ParamsUnlockStake } from './types/rpc/params-unlock-stake.cjs';
21
21
  import type { WalletClient } from '../clients/types.cjs';
@@ -29,6 +29,7 @@ export declare const walletActions: (client: WalletClient) => {
29
29
  createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
30
30
  createToken: (param: ParamsCreateToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
31
31
  createVme: (param: ParamsCreateVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
+ forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
33
  freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
33
34
  lockStake: (params: ParamsLockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
34
35
  openAccount: (param: ParamsOpenAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -37,7 +38,6 @@ export declare const walletActions: (client: WalletClient) => {
37
38
  requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.cjs").RpcDataTradeResult>;
38
39
  transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
39
40
  transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
40
- transferCoinExpress: (param: ParamsTransferCoinExpress) => Promise<import("../index.cjs").RpcCreateTxResult>;
41
41
  transferToken: (params: ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
42
42
  unlockStake: (params: ParamsUnlockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
43
43
  };
@@ -8,6 +8,7 @@ import type { ParamsCloseAccount } from './types/rpc/params-close-account.mjs';
8
8
  import type { ParamsCreateAssetObject } from './types/rpc/params-create-asset-object.mjs';
9
9
  import type { ParamsCreateToken } from './types/rpc/params-create-token.mjs';
10
10
  import type { ParamsCreateVme } from './types/rpc/params-create-vme.mjs';
11
+ import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.mjs';
11
12
  import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.mjs';
12
13
  import type { ParamsLockStake } from './types/rpc/params-lock-stake.mjs';
13
14
  import type { ParamsOpenAccount } from './types/rpc/params-open-account.mjs';
@@ -15,7 +16,6 @@ import type { ParamsProvideScript } from './types/rpc/params-provide-script.mjs'
15
16
  import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.mjs';
16
17
  import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.mjs';
17
18
  import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.mjs';
18
- import type { ParamsTransferCoinExpress } from './types/rpc/params-transfer-coin-express.mjs';
19
19
  import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.mjs';
20
20
  import type { ParamsUnlockStake } from './types/rpc/params-unlock-stake.mjs';
21
21
  import type { WalletClient } from '../clients/types.mjs';
@@ -29,6 +29,7 @@ export declare const walletActions: (client: WalletClient) => {
29
29
  createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
30
30
  createToken: (param: ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
31
31
  createVme: (param: ParamsCreateVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
+ forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
33
  freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
33
34
  lockStake: (params: ParamsLockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
34
35
  openAccount: (param: ParamsOpenAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
@@ -37,7 +38,6 @@ export declare const walletActions: (client: WalletClient) => {
37
38
  requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.mjs").RpcDataTradeResult>;
38
39
  transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
39
40
  transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
40
- transferCoinExpress: (param: ParamsTransferCoinExpress) => Promise<import("../index.mjs").RpcCreateTxResult>;
41
41
  transferToken: (params: ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
42
42
  unlockStake: (params: ParamsUnlockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
43
43
  };
Binary file
@@ -2,13 +2,12 @@
2
2
  const AddressClass = Object.freeze({
3
3
  User: 0,
4
4
  Synthetic: 1,
5
- Contract: 2,
6
- VmEngine: 3,
7
- UserToken: 4,
8
- ContractToken: 5,
9
- Observer: 6,
10
- AssetNFT: 7,
11
- AssetToken: 8,
5
+ VmEngine: 2,
6
+ Derived: 3,
7
+ Token: 4,
8
+ Observer: 5,
9
+ AssetNFT: 6,
10
+ AssetToken: 7,
12
11
  });
13
12
 
14
13
  export { AddressClass as A };
@@ -4,13 +4,12 @@
4
4
  const AddressClass = Object.freeze({
5
5
  User: 0,
6
6
  Synthetic: 1,
7
- Contract: 2,
8
- VmEngine: 3,
9
- UserToken: 4,
10
- ContractToken: 5,
11
- Observer: 6,
12
- AssetNFT: 7,
13
- AssetToken: 8,
7
+ VmEngine: 2,
8
+ Derived: 3,
9
+ Token: 4,
10
+ Observer: 5,
11
+ AssetNFT: 6,
12
+ AssetToken: 7,
14
13
  });
15
14
 
16
15
  exports.AddressClass = AddressClass;
@@ -4,13 +4,12 @@ define(['exports'], (function (exports) { 'use strict';
4
4
  const AddressClass = Object.freeze({
5
5
  User: 0,
6
6
  Synthetic: 1,
7
- Contract: 2,
8
- VmEngine: 3,
9
- UserToken: 4,
10
- ContractToken: 5,
11
- Observer: 6,
12
- AssetNFT: 7,
13
- AssetToken: 8,
7
+ VmEngine: 2,
8
+ Derived: 3,
9
+ Token: 4,
10
+ Observer: 5,
11
+ AssetNFT: 6,
12
+ AssetToken: 7,
14
13
  });
15
14
 
16
15
  exports.AddressClass = AddressClass;
@@ -15,9 +15,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
15
15
  }
16
16
 
17
17
  // Automatically generated file. DO NOT EDIT.
18
- function calculateSpentByExpress(client, param) {
18
+ function calculateSpentByForwardCoin(client, param) {
19
19
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
20
- return client.request({ method: 'locus_calculateSpentByExpress', params: [param] });
20
+ return client.request({ method: 'locus_calculateSpentByForwardCoin', params: [param] });
21
21
  });
22
22
  }
23
23
 
@@ -270,7 +270,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
270
270
  const publicActions = (client) => ({
271
271
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
272
272
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
273
- calculateSpentByExpress: (param) => calculateSpentByExpress(client, param),
273
+ calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(client, param),
274
274
  clientMessage: (param) => clientMessage(client, param),
275
275
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
276
276
  echo: (str) => echo$1(client, str),
@@ -502,6 +502,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
502
502
  });
503
503
  }
504
504
 
505
+ // Automatically generated file. DO NOT EDIT.
506
+ function forwardCoin(client, param) {
507
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
508
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardCoin', params: [param] });
509
+ const signed = yield _signLocusTransaction(client.account, prepared);
510
+ return _sendPreparedTransaction(client, signed);
511
+ });
512
+ }
513
+
505
514
  // Automatically generated file. DO NOT EDIT.
506
515
  function freezeAccount(client, params) {
507
516
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -574,15 +583,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
574
583
  });
575
584
  }
576
585
 
577
- // Automatically generated file. DO NOT EDIT.
578
- function transferCoinExpress(client, param) {
579
- return tslib_es6.__awaiter(this, void 0, void 0, function* () {
580
- const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoinExpress', params: [param] });
581
- const signed = yield _signLocusTransaction(client.account, prepared);
582
- return _sendPreparedTransaction(client, signed);
583
- });
584
- }
585
-
586
586
  // Automatically generated file. DO NOT EDIT.
587
587
  function transferToken(client, params) {
588
588
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -612,6 +612,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
612
612
  createAssetObject: (param) => createAssetObject(client, param),
613
613
  createToken: (param) => createToken(client, param),
614
614
  createVme: (param) => createVme(client, param),
615
+ forwardCoin: (param) => forwardCoin(client, param),
615
616
  freezeAccount: (params) => freezeAccount(client, params),
616
617
  lockStake: (params) => lockStake(client, params),
617
618
  openAccount: (param) => openAccount(client, param),
@@ -620,7 +621,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
620
621
  requestDataTrade: (params) => requestDataTrade(client, params),
621
622
  transferAssetObject: (params) => transferAssetObject(client, params),
622
623
  transferCoin: (param) => transferCoin(client, param),
623
- transferCoinExpress: (param) => transferCoinExpress(client, param),
624
624
  transferToken: (params) => transferToken(client, params),
625
625
  unlockStake: (params) => unlockStake(client, params),
626
626
  });
@@ -695,13 +695,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
695
695
  });
696
696
  }
697
697
 
698
- // Automatically generated file. DO NOT EDIT.
699
- function getContractLog(client, param) {
700
- return tslib_es6.__awaiter(this, void 0, void 0, function* () {
701
- return client.request({ method: 'debug_getContractLog', params: [param] });
702
- });
703
- }
704
-
705
698
  // Automatically generated file. DO NOT EDIT.
706
699
  function getGuestsInfo(client) {
707
700
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -758,6 +751,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
758
751
  });
759
752
  }
760
753
 
754
+ // Automatically generated file. DO NOT EDIT.
755
+ function getVmeLog(client, param) {
756
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
757
+ return client.request({ method: 'debug_getVmeLog', params: [param] });
758
+ });
759
+ }
760
+
761
761
  // Automatically generated file. DO NOT EDIT.
762
762
  function importAccount(client, params) {
763
763
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -822,9 +822,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
822
822
  }
823
823
 
824
824
  // Automatically generated file. DO NOT EDIT.
825
- function viewContract(client, param) {
825
+ function viewVme(client, param) {
826
826
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
827
- return client.request({ method: 'debug_viewContract', params: [param] });
827
+ return client.request({ method: 'debug_viewVme', params: [param] });
828
828
  });
829
829
  }
830
830
 
@@ -840,7 +840,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
840
840
  gameChainCmd: (param) => gameChainCmd(client, param),
841
841
  getAccountsBalances: (param) => getAccountsBalances(client, param),
842
842
  getAccountsHeights: (param) => getAccountsHeights(client, param),
843
- getContractLog: (param) => getContractLog(client, param),
844
843
  getGuestsInfo: () => getGuestsInfo(client),
845
844
  getHomeShard: (param) => getHomeShard(client, param),
846
845
  getImportAccount: (params) => getImportAccount(client, params),
@@ -849,6 +848,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
849
848
  getNodeBlocks: () => getNodeBlocks(client),
850
849
  getPeerPool: () => getPeerPool(client),
851
850
  getPeersInfo: () => getPeersInfo(client),
851
+ getVmeLog: (param) => getVmeLog(client, param),
852
852
  importAccount: (params) => importAccount(client, params),
853
853
  initReliableNodes: (param) => initReliableNodes(client, param),
854
854
  noArgsRets: () => noArgsRets(client),
@@ -858,22 +858,13 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
858
858
  sendRawTransaction: (params) => sendRawTransaction(client, params),
859
859
  setImportAccountTx: (params) => setImportAccountTx(client, params),
860
860
  setReliableNode: (param) => setReliableNode(client, param),
861
- viewContract: (param) => viewContract(client, param),
861
+ viewVme: (param) => viewVme(client, param),
862
862
  });
863
863
 
864
864
  // Automatically generated file. DO NOT EDIT.
865
- function callContract(client, param) {
866
- return tslib_es6.__awaiter(this, void 0, void 0, function* () {
867
- const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
868
- const signed = yield _signLocusTransaction(client.account, prepared);
869
- return _sendPreparedTransaction(client, signed);
870
- });
871
- }
872
-
873
- // Automatically generated file. DO NOT EDIT.
874
- function createContract(client, param) {
865
+ function callVme(client, param) {
875
866
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
876
- const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
867
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callVme', params: [param] });
877
868
  const signed = yield _signLocusTransaction(client.account, prepared);
878
869
  return _sendPreparedTransaction(client, signed);
879
870
  });
@@ -899,8 +890,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
899
890
 
900
891
  // Automatically generated file. DO NOT EDIT.
901
892
  const debugWalletActions = (client) => ({
902
- callContract: (param) => callContract(client, param),
903
- createContract: (param) => createContract(client, param),
893
+ callVme: (param) => callVme(client, param),
904
894
  createSynthAccount: (param) => createSynthAccount(client, param),
905
895
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
906
896
  });
@@ -913,15 +903,14 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
913
903
  exports.balanceList = balanceList;
914
904
  exports.becomeGuest = becomeGuest;
915
905
  exports.becomeHost = becomeHost;
916
- exports.calculateSpentByExpress = calculateSpentByExpress;
917
- exports.callContract = callContract;
906
+ exports.calculateSpentByForwardCoin = calculateSpentByForwardCoin;
907
+ exports.callVme = callVme;
918
908
  exports.changeKey = changeKey;
919
909
  exports.changeVkey = changeVkey;
920
910
  exports.clientMessage = clientMessage;
921
911
  exports.closeAccount = closeAccount;
922
912
  exports.createAccount = createAccount;
923
913
  exports.createAssetObject = createAssetObject;
924
- exports.createContract = createContract;
925
914
  exports.createNode = createNode;
926
915
  exports.createSynthAccount = createSynthAccount;
927
916
  exports.createToken = createToken;
@@ -933,6 +922,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
933
922
  exports.echo = echo;
934
923
  exports.echo$1 = echo$1;
935
924
  exports.findDuplicateSubscriber = findDuplicateSubscriber;
925
+ exports.forwardCoin = forwardCoin;
936
926
  exports.freezeAccount = freezeAccount;
937
927
  exports.gameChainCmd = gameChainCmd;
938
928
  exports.generateLatestStoredDataProof = generateLatestStoredDataProof;
@@ -944,7 +934,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
944
934
  exports.getAccountsBalances = getAccountsBalances;
945
935
  exports.getAccountsHeights = getAccountsHeights;
946
936
  exports.getConciseNodeStatus = getConciseNodeStatus;
947
- exports.getContractLog = getContractLog;
948
937
  exports.getGenesisAccount = getGenesisAccount;
949
938
  exports.getGuestsInfo = getGuestsInfo;
950
939
  exports.getHomeShard = getHomeShard;
@@ -964,6 +953,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
964
953
  exports.getShardOfAccount = getShardOfAccount;
965
954
  exports.getSyncState = getSyncState;
966
955
  exports.getTx = getTx;
956
+ exports.getVmeLog = getVmeLog;
967
957
  exports.getWorldRoundState = getWorldRoundState;
968
958
  exports.getWorldRoundStatesList = getWorldRoundStatesList;
969
959
  exports.hasSystemToken = hasSystemToken;
@@ -990,7 +980,6 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
990
980
  exports.subscribeAddress = subscribeAddress;
991
981
  exports.transferAssetObject = transferAssetObject;
992
982
  exports.transferCoin = transferCoin;
993
- exports.transferCoinExpress = transferCoinExpress;
994
983
  exports.transferToken = transferToken;
995
984
  exports.unlockStake = unlockStake;
996
985
  exports.uploadAccountTxs = uploadAccountTxs;
@@ -998,7 +987,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
998
987
  exports.verifyIdentityProof = verifyIdentityProof;
999
988
  exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
1000
989
  exports.verifyTxListWitness = verifyTxListWitness;
1001
- exports.viewContract = viewContract;
990
+ exports.viewVme = viewVme;
1002
991
  exports.walletActions = walletActions;
1003
992
 
1004
993
  }));
@@ -19,9 +19,9 @@ function accountHeightsToUpload(client, param) {
19
19
  }
20
20
 
21
21
  // Automatically generated file. DO NOT EDIT.
22
- function calculateSpentByExpress(client, param) {
22
+ function calculateSpentByForwardCoin(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_calculateSpentByForwardCoin', params: [param] });
25
25
  });
26
26
  }
27
27
 
@@ -274,7 +274,7 @@ function verifyTxListWitness(client, params) {
274
274
  const publicActions = (client) => ({
275
275
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
276
276
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
277
- calculateSpentByExpress: (param) => calculateSpentByExpress(client, param),
277
+ calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(client, param),
278
278
  clientMessage: (param) => clientMessage(client, param),
279
279
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
280
280
  echo: (str) => echo$1(client, str),
@@ -506,6 +506,15 @@ function createVme(client, param) {
506
506
  });
507
507
  }
508
508
 
509
+ // Automatically generated file. DO NOT EDIT.
510
+ function forwardCoin(client, param) {
511
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
512
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardCoin', params: [param] });
513
+ const signed = yield _signLocusTransaction(client.account, prepared);
514
+ return _sendPreparedTransaction(client, signed);
515
+ });
516
+ }
517
+
509
518
  // Automatically generated file. DO NOT EDIT.
510
519
  function freezeAccount(client, params) {
511
520
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -578,15 +587,6 @@ function transferCoin(client, param) {
578
587
  });
579
588
  }
580
589
 
581
- // Automatically generated file. DO NOT EDIT.
582
- function transferCoinExpress(client, param) {
583
- return tslib_es6.__awaiter(this, void 0, void 0, function* () {
584
- const prepared = yield _prepareTransaction(client, { method: 'locus_transferCoinExpress', params: [param] });
585
- const signed = yield _signLocusTransaction(client.account, prepared);
586
- return _sendPreparedTransaction(client, signed);
587
- });
588
- }
589
-
590
590
  // Automatically generated file. DO NOT EDIT.
591
591
  function transferToken(client, params) {
592
592
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -616,6 +616,7 @@ const walletActions = (client) => ({
616
616
  createAssetObject: (param) => createAssetObject(client, param),
617
617
  createToken: (param) => createToken(client, param),
618
618
  createVme: (param) => createVme(client, param),
619
+ forwardCoin: (param) => forwardCoin(client, param),
619
620
  freezeAccount: (params) => freezeAccount(client, params),
620
621
  lockStake: (params) => lockStake(client, params),
621
622
  openAccount: (param) => openAccount(client, param),
@@ -624,7 +625,6 @@ const walletActions = (client) => ({
624
625
  requestDataTrade: (params) => requestDataTrade(client, params),
625
626
  transferAssetObject: (params) => transferAssetObject(client, params),
626
627
  transferCoin: (param) => transferCoin(client, param),
627
- transferCoinExpress: (param) => transferCoinExpress(client, param),
628
628
  transferToken: (params) => transferToken(client, params),
629
629
  unlockStake: (params) => unlockStake(client, params),
630
630
  });
@@ -699,13 +699,6 @@ function getAccountsHeights(client, param) {
699
699
  });
700
700
  }
701
701
 
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
702
  // Automatically generated file. DO NOT EDIT.
710
703
  function getGuestsInfo(client) {
711
704
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -762,6 +755,13 @@ function getPeersInfo(client) {
762
755
  });
763
756
  }
764
757
 
758
+ // Automatically generated file. DO NOT EDIT.
759
+ function getVmeLog(client, param) {
760
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
761
+ return client.request({ method: 'debug_getVmeLog', params: [param] });
762
+ });
763
+ }
764
+
765
765
  // Automatically generated file. DO NOT EDIT.
766
766
  function importAccount(client, params) {
767
767
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -826,9 +826,9 @@ function setReliableNode(client, param) {
826
826
  }
827
827
 
828
828
  // Automatically generated file. DO NOT EDIT.
829
- function viewContract(client, param) {
829
+ function viewVme(client, param) {
830
830
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
831
- return client.request({ method: 'debug_viewContract', params: [param] });
831
+ return client.request({ method: 'debug_viewVme', params: [param] });
832
832
  });
833
833
  }
834
834
 
@@ -844,7 +844,6 @@ const debugPublicActions = (client) => ({
844
844
  gameChainCmd: (param) => gameChainCmd(client, param),
845
845
  getAccountsBalances: (param) => getAccountsBalances(client, param),
846
846
  getAccountsHeights: (param) => getAccountsHeights(client, param),
847
- getContractLog: (param) => getContractLog(client, param),
848
847
  getGuestsInfo: () => getGuestsInfo(client),
849
848
  getHomeShard: (param) => getHomeShard(client, param),
850
849
  getImportAccount: (params) => getImportAccount(client, params),
@@ -853,6 +852,7 @@ const debugPublicActions = (client) => ({
853
852
  getNodeBlocks: () => getNodeBlocks(client),
854
853
  getPeerPool: () => getPeerPool(client),
855
854
  getPeersInfo: () => getPeersInfo(client),
855
+ getVmeLog: (param) => getVmeLog(client, param),
856
856
  importAccount: (params) => importAccount(client, params),
857
857
  initReliableNodes: (param) => initReliableNodes(client, param),
858
858
  noArgsRets: () => noArgsRets(client),
@@ -862,22 +862,13 @@ const debugPublicActions = (client) => ({
862
862
  sendRawTransaction: (params) => sendRawTransaction(client, params),
863
863
  setImportAccountTx: (params) => setImportAccountTx(client, params),
864
864
  setReliableNode: (param) => setReliableNode(client, param),
865
- viewContract: (param) => viewContract(client, param),
865
+ viewVme: (param) => viewVme(client, param),
866
866
  });
867
867
 
868
868
  // Automatically generated file. DO NOT EDIT.
869
- function callContract(client, param) {
870
- return tslib_es6.__awaiter(this, void 0, void 0, function* () {
871
- const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
872
- const signed = yield _signLocusTransaction(client.account, prepared);
873
- return _sendPreparedTransaction(client, signed);
874
- });
875
- }
876
-
877
- // Automatically generated file. DO NOT EDIT.
878
- function createContract(client, param) {
869
+ function callVme(client, param) {
879
870
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
880
- const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
871
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callVme', params: [param] });
881
872
  const signed = yield _signLocusTransaction(client.account, prepared);
882
873
  return _sendPreparedTransaction(client, signed);
883
874
  });
@@ -903,8 +894,7 @@ function postDataToSynthAccount(client, param) {
903
894
 
904
895
  // Automatically generated file. DO NOT EDIT.
905
896
  const debugWalletActions = (client) => ({
906
- callContract: (param) => callContract(client, param),
907
- createContract: (param) => createContract(client, param),
897
+ callVme: (param) => callVme(client, param),
908
898
  createSynthAccount: (param) => createSynthAccount(client, param),
909
899
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
910
900
  });
@@ -917,15 +907,14 @@ exports.balanceGrantList = balanceGrantList;
917
907
  exports.balanceList = balanceList;
918
908
  exports.becomeGuest = becomeGuest;
919
909
  exports.becomeHost = becomeHost;
920
- exports.calculateSpentByExpress = calculateSpentByExpress;
921
- exports.callContract = callContract;
910
+ exports.calculateSpentByForwardCoin = calculateSpentByForwardCoin;
911
+ exports.callVme = callVme;
922
912
  exports.changeKey = changeKey;
923
913
  exports.changeVkey = changeVkey;
924
914
  exports.clientMessage = clientMessage;
925
915
  exports.closeAccount = closeAccount;
926
916
  exports.createAccount = createAccount;
927
917
  exports.createAssetObject = createAssetObject;
928
- exports.createContract = createContract;
929
918
  exports.createNode = createNode;
930
919
  exports.createSynthAccount = createSynthAccount;
931
920
  exports.createToken = createToken;
@@ -937,6 +926,7 @@ exports.dumpAllAccounts = dumpAllAccounts;
937
926
  exports.echo = echo;
938
927
  exports.echo$1 = echo$1;
939
928
  exports.findDuplicateSubscriber = findDuplicateSubscriber;
929
+ exports.forwardCoin = forwardCoin;
940
930
  exports.freezeAccount = freezeAccount;
941
931
  exports.gameChainCmd = gameChainCmd;
942
932
  exports.generateLatestStoredDataProof = generateLatestStoredDataProof;
@@ -948,7 +938,6 @@ exports.getAccountTokenList = getAccountTokenList;
948
938
  exports.getAccountsBalances = getAccountsBalances;
949
939
  exports.getAccountsHeights = getAccountsHeights;
950
940
  exports.getConciseNodeStatus = getConciseNodeStatus;
951
- exports.getContractLog = getContractLog;
952
941
  exports.getGenesisAccount = getGenesisAccount;
953
942
  exports.getGuestsInfo = getGuestsInfo;
954
943
  exports.getHomeShard = getHomeShard;
@@ -968,6 +957,7 @@ exports.getRoundStatesList = getRoundStatesList;
968
957
  exports.getShardOfAccount = getShardOfAccount;
969
958
  exports.getSyncState = getSyncState;
970
959
  exports.getTx = getTx;
960
+ exports.getVmeLog = getVmeLog;
971
961
  exports.getWorldRoundState = getWorldRoundState;
972
962
  exports.getWorldRoundStatesList = getWorldRoundStatesList;
973
963
  exports.hasSystemToken = hasSystemToken;
@@ -994,7 +984,6 @@ exports.setReliableNode = setReliableNode;
994
984
  exports.subscribeAddress = subscribeAddress;
995
985
  exports.transferAssetObject = transferAssetObject;
996
986
  exports.transferCoin = transferCoin;
997
- exports.transferCoinExpress = transferCoinExpress;
998
987
  exports.transferToken = transferToken;
999
988
  exports.unlockStake = unlockStake;
1000
989
  exports.uploadAccountTxs = uploadAccountTxs;
@@ -1002,5 +991,5 @@ exports.verifyAndSignChallenge = verifyAndSignChallenge;
1002
991
  exports.verifyIdentityProof = verifyIdentityProof;
1003
992
  exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
1004
993
  exports.verifyTxListWitness = verifyTxListWitness;
1005
- exports.viewContract = viewContract;
994
+ exports.viewVme = viewVme;
1006
995
  exports.walletActions = walletActions;