@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,50 +1,51 @@
1
1
  export * from './tx-accept-script.mjs';
2
2
  export * from './tx-accept-script-after-time-lock.mjs';
3
- export * from './tx-activate-all-assets.mjs';
3
+ export * from './tx-activate-all-res.mjs';
4
4
  export * from './tx-activate-asset-object.mjs';
5
- export * from './tx-activate-call-contract.mjs';
6
5
  export * from './tx-activate-coin.mjs';
7
- export * from './tx-activate-contract-result.mjs';
8
- export * from './tx-activate-contract-reward.mjs';
9
- export * from './tx-activate-contract-transfer.mjs';
10
6
  export * from './tx-activate-data-synth-account.mjs';
11
7
  export * from './tx-activate-foundation-reserve.mjs';
12
8
  export * from './tx-activate-incentive.mjs';
13
9
  export * from './tx-activate-lock-stake-for-vme.mjs';
14
- export * from './tx-activate-open-contract.mjs';
15
10
  export * from './tx-activate-open-synth-account.mjs';
16
- export * from './tx-activate-open-vm-engine.mjs';
11
+ export * from './tx-activate-open-vme.mjs';
17
12
  export * from './tx-activate-token.mjs';
13
+ export * from './tx-activate-vme-result.mjs';
14
+ export * from './tx-activate-vme-reward.mjs';
15
+ export * from './tx-activate-vme-transfer.mjs';
18
16
  export * from './tx-become-guest.mjs';
19
17
  export * from './tx-become-host.mjs';
20
18
  export * from './tx-burn-asset-object.mjs';
21
19
  export * from './tx-burn-token.mjs';
22
- export * from './tx-call-contract.mjs';
20
+ export * from './tx-call-vme.mjs';
23
21
  export * from './tx-change-foundation-account.mjs';
24
22
  export * from './tx-change-keypair.mjs';
25
23
  export * from './tx-change-vkey.mjs';
26
24
  export * from './tx-close-account.mjs';
27
- export * from './tx-contract-blank-reward.mjs';
28
- export * from './tx-contract-transfer-reward.mjs';
29
25
  export * from './tx-create-asset-object.mjs';
30
- export * from './tx-create-contract.mjs';
31
26
  export * from './tx-create-synth-account.mjs';
32
27
  export * from './tx-create-token.mjs';
33
- export * from './tx-create-vm-engine.mjs';
28
+ export * from './tx-create-vme.mjs';
34
29
  export * from './tx-dummy.mjs';
35
30
  export * from './tx-finalize.mjs';
31
+ export * from './tx-forward-asset-object.mjs';
32
+ export * from './tx-forward-coin.mjs';
33
+ export * from './tx-forward-token.mjs';
36
34
  export * from './tx-freeze-account.mjs';
37
35
  export * from './tx-genesis-account.mjs';
36
+ export * from './tx-lead-direct-vtx.mjs';
38
37
  export * from './tx-lead-vtx.mjs';
39
38
  export * from './tx-lock-stake-for-vme.mjs';
40
39
  export * from './tx-open-account.mjs';
41
40
  export * from './tx-post-data.mjs';
42
41
  export * from './tx-post-data-synth-account.mjs';
43
42
  export * from './tx-provide-script.mjs';
43
+ export * from './tx-restore-res-hash.mjs';
44
44
  export * from './tx-revoke.mjs';
45
45
  export * from './tx-transfer-asset-object.mjs';
46
46
  export * from './tx-transfer-coin.mjs';
47
- export * from './tx-transfer-coin-express.mjs';
48
47
  export * from './tx-transfer-token.mjs';
49
48
  export * from './tx-unlock-stake.mjs';
50
- export * from './tx-vm-engine-block.mjs';
49
+ export * from './tx-vme-blank-reward.mjs';
50
+ export * from './tx-vme-block.mjs';
51
+ export * from './tx-vme-transfer-reward.mjs';
@@ -1,15 +1,16 @@
1
- import { AssetProofObjects } from '../common/asset-proof-objects.cjs';
1
+ import { AssetObject } from '../common/asset-object.cjs';
2
2
  import { RefTxInfo } from '../common/ref-tx-info.cjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.cjs';
4
4
  import { TxBase } from '../common/tx-base.cjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.cjs';
6
- export type TxActivateAllAssets = TxBase & TxVSignature & {
6
+ export type TxActivateAllRes = TxBase & TxVSignature & {
7
7
  refLink: RefTxInfo;
8
8
  amount: string;
9
9
  balance: string;
10
10
  tokens: TokenValueAB[];
11
11
  tokenProof: string;
12
12
  tokenHash: string;
13
+ assets: AssetObject[];
14
+ assetProof: string;
13
15
  assetHash: string;
14
- assetProofObjects: AssetProofObjects;
15
16
  };
@@ -1,15 +1,16 @@
1
- import { AssetProofObjects } from '../common/asset-proof-objects.mjs';
1
+ import { AssetObject } from '../common/asset-object.mjs';
2
2
  import { RefTxInfo } from '../common/ref-tx-info.mjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.mjs';
4
4
  import { TxBase } from '../common/tx-base.mjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.mjs';
6
- export type TxActivateAllAssets = TxBase & TxVSignature & {
6
+ export type TxActivateAllRes = TxBase & TxVSignature & {
7
7
  refLink: RefTxInfo;
8
8
  amount: string;
9
9
  balance: string;
10
10
  tokens: TokenValueAB[];
11
11
  tokenProof: string;
12
12
  tokenHash: string;
13
+ assets: AssetObject[];
14
+ assetProof: string;
13
15
  assetHash: string;
14
- assetProofObjects: AssetProofObjects;
15
16
  };
@@ -1,9 +1,11 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { RefTxInfo } from '../common/ref-tx-info.cjs';
3
3
  import { TxBase } from '../common/tx-base.cjs';
4
4
  import { TxVSignature } from '../common/tx-vsignature.cjs';
5
5
  export type TxActivateAssetObject = TxBase & TxVSignature & {
6
6
  refLink: RefTxInfo;
7
7
  balance: string;
8
- assetObjects: AssetObjectTransfer;
8
+ assets: AssetTransferInfo[];
9
+ assetProof: string;
10
+ assetHash: string;
9
11
  };
@@ -1,9 +1,11 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { RefTxInfo } from '../common/ref-tx-info.mjs';
3
3
  import { TxBase } from '../common/tx-base.mjs';
4
4
  import { TxVSignature } from '../common/tx-vsignature.mjs';
5
5
  export type TxActivateAssetObject = TxBase & TxVSignature & {
6
6
  refLink: RefTxInfo;
7
7
  balance: string;
8
- assetObjects: AssetObjectTransfer;
8
+ assets: AssetTransferInfo[];
9
+ assetProof: string;
10
+ assetHash: string;
9
11
  };
@@ -2,7 +2,7 @@ import { RefTxInfo } from '../common/ref-tx-info.cjs';
2
2
  import { TxBase } from '../common/tx-base.cjs';
3
3
  import { TxNoSignature } from '../common/tx-no-signature.cjs';
4
4
  import { VmeLockStake } from '../common/vme-lock-stake.cjs';
5
- export type TxActivateOpenVmEngine = TxBase & TxNoSignature & {
5
+ export type TxActivateOpenVme = TxBase & TxNoSignature & {
6
6
  refLink: RefTxInfo;
7
7
  sysType: string;
8
8
  sysId: string;
@@ -2,7 +2,7 @@ import { RefTxInfo } from '../common/ref-tx-info.mjs';
2
2
  import { TxBase } from '../common/tx-base.mjs';
3
3
  import { TxNoSignature } from '../common/tx-no-signature.mjs';
4
4
  import { VmeLockStake } from '../common/vme-lock-stake.mjs';
5
- export type TxActivateOpenVmEngine = TxBase & TxNoSignature & {
5
+ export type TxActivateOpenVme = TxBase & TxNoSignature & {
6
6
  refLink: RefTxInfo;
7
7
  sysType: string;
8
8
  sysId: string;
@@ -1,11 +1,11 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { RefVtx } from '../common/ref-vtx.cjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.cjs';
4
4
  import { TxBase } from '../common/tx-base.cjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.cjs';
6
6
  import { VmTxState } from '../common/vm-tx-state.cjs';
7
- export type TxActivateContractResult = TxBase & TxVSignature & {
8
- contract: string;
7
+ export type TxActivateVmeResult = TxBase & TxVSignature & {
8
+ vmeId: string;
9
9
  vmResult: VmTxState;
10
10
  refVmResult: RefVtx;
11
11
  callIndex: number;
@@ -14,5 +14,7 @@ export type TxActivateContractResult = TxBase & TxVSignature & {
14
14
  tokenBalances: TokenValueAB[];
15
15
  tokenProof: string;
16
16
  tokenHash: string;
17
- assetObjects: AssetObjectTransfer;
17
+ assets: AssetTransferInfo[];
18
+ assetProof: string;
19
+ assetHash: string;
18
20
  };
@@ -1,11 +1,11 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { RefVtx } from '../common/ref-vtx.mjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.mjs';
4
4
  import { TxBase } from '../common/tx-base.mjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.mjs';
6
6
  import { VmTxState } from '../common/vm-tx-state.mjs';
7
- export type TxActivateContractResult = TxBase & TxVSignature & {
8
- contract: string;
7
+ export type TxActivateVmeResult = TxBase & TxVSignature & {
8
+ vmeId: string;
9
9
  vmResult: VmTxState;
10
10
  refVmResult: RefVtx;
11
11
  callIndex: number;
@@ -14,5 +14,7 @@ export type TxActivateContractResult = TxBase & TxVSignature & {
14
14
  tokenBalances: TokenValueAB[];
15
15
  tokenProof: string;
16
16
  tokenHash: string;
17
- assetObjects: AssetObjectTransfer;
17
+ assets: AssetTransferInfo[];
18
+ assetProof: string;
19
+ assetHash: string;
18
20
  };
@@ -1,7 +1,7 @@
1
1
  import { RefTxInfo } from '../common/ref-tx-info.cjs';
2
2
  import { TxBase } from '../common/tx-base.cjs';
3
3
  import { TxVSignature } from '../common/tx-vsignature.cjs';
4
- export type TxActivateContractReward = TxBase & TxVSignature & {
4
+ export type TxActivateVmeReward = TxBase & TxVSignature & {
5
5
  refLink: RefTxInfo;
6
6
  amount: string;
7
7
  balance: string;
@@ -1,7 +1,7 @@
1
1
  import { RefTxInfo } from '../common/ref-tx-info.mjs';
2
2
  import { TxBase } from '../common/tx-base.mjs';
3
3
  import { TxVSignature } from '../common/tx-vsignature.mjs';
4
- export type TxActivateContractReward = TxBase & TxVSignature & {
4
+ export type TxActivateVmeReward = TxBase & TxVSignature & {
5
5
  refLink: RefTxInfo;
6
6
  amount: string;
7
7
  balance: string;
@@ -1,15 +1,17 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { RefVtx } from '../common/ref-vtx.cjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.cjs';
4
4
  import { TxBase } from '../common/tx-base.cjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.cjs';
6
- export type TxActivateContractTransfer = TxBase & TxVSignature & {
7
- contract: string;
6
+ export type TxActivateVmeTransfer = TxBase & TxVSignature & {
7
+ vmeId: string;
8
8
  refVmResult: RefVtx;
9
9
  amount: string;
10
10
  balance: string;
11
11
  tokenBalances: TokenValueAB[];
12
12
  tokenProof: string;
13
13
  tokenHash: string;
14
- assetObjects: AssetObjectTransfer;
14
+ assets: AssetTransferInfo[];
15
+ assetProof: string;
16
+ assetHash: string;
15
17
  };
@@ -1,15 +1,17 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { RefVtx } from '../common/ref-vtx.mjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.mjs';
4
4
  import { TxBase } from '../common/tx-base.mjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.mjs';
6
- export type TxActivateContractTransfer = TxBase & TxVSignature & {
7
- contract: string;
6
+ export type TxActivateVmeTransfer = TxBase & TxVSignature & {
7
+ vmeId: string;
8
8
  refVmResult: RefVtx;
9
9
  amount: string;
10
10
  balance: string;
11
11
  tokenBalances: TokenValueAB[];
12
12
  tokenProof: string;
13
13
  tokenHash: string;
14
- assetObjects: AssetObjectTransfer;
14
+ assets: AssetTransferInfo[];
15
+ assetProof: string;
16
+ assetHash: string;
15
17
  };
@@ -1,8 +1,10 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { TxBase } from '../common/tx-base.cjs';
3
3
  import { TxSignature } from '../common/tx-signature.cjs';
4
4
  export type TxBurnAssetObject = TxBase & TxSignature & {
5
5
  balance: string;
6
6
  target: string;
7
- assetObjects: AssetObjectTransfer;
7
+ assets: AssetTransferInfo[];
8
+ assetProof: string;
9
+ assetHash: string;
8
10
  };
@@ -1,8 +1,10 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { TxBase } from '../common/tx-base.mjs';
3
3
  import { TxSignature } from '../common/tx-signature.mjs';
4
4
  export type TxBurnAssetObject = TxBase & TxSignature & {
5
5
  balance: string;
6
6
  target: string;
7
- assetObjects: AssetObjectTransfer;
7
+ assets: AssetTransferInfo[];
8
+ assetProof: string;
9
+ assetHash: string;
8
10
  };
@@ -1,17 +1,18 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { TokenValueAB } from '../common/token-value-ab.cjs';
3
3
  import { TxBase } from '../common/tx-base.cjs';
4
4
  import { TxSignature } from '../common/tx-signature.cjs';
5
- export type TxCreateContract = TxBase & TxSignature & {
6
- target: string;
5
+ export type TxCallVme = TxBase & TxSignature & {
6
+ vmeId: string;
7
+ subId: string;
7
8
  fuelLimit: string;
8
9
  amount: string;
9
10
  balance: string;
10
11
  tokens: TokenValueAB[];
11
12
  tokenProof: string;
12
13
  tokenHash: string;
13
- assetObjects: AssetObjectTransfer;
14
- until: number;
15
- sysId: string;
16
- code: string;
14
+ assets: AssetTransferInfo[];
15
+ assetProof: string;
16
+ assetHash: string;
17
+ callData: string;
17
18
  };
@@ -1,17 +1,18 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { TokenValueAB } from '../common/token-value-ab.mjs';
3
3
  import { TxBase } from '../common/tx-base.mjs';
4
4
  import { TxSignature } from '../common/tx-signature.mjs';
5
- export type TxCreateContract = TxBase & TxSignature & {
6
- target: string;
5
+ export type TxCallVme = TxBase & TxSignature & {
6
+ vmeId: string;
7
+ subId: string;
7
8
  fuelLimit: string;
8
9
  amount: string;
9
10
  balance: string;
10
11
  tokens: TokenValueAB[];
11
12
  tokenProof: string;
12
13
  tokenHash: string;
13
- assetObjects: AssetObjectTransfer;
14
- until: number;
15
- sysId: string;
16
- code: string;
14
+ assets: AssetTransferInfo[];
15
+ assetProof: string;
16
+ assetHash: string;
17
+ callData: string;
17
18
  };
@@ -1,4 +1,4 @@
1
- import { AssetProofObjects } from '../common/asset-proof-objects.cjs';
1
+ import { AssetObject } from '../common/asset-object.cjs';
2
2
  import { TokenValuePair } from '../common/token-value-pair.cjs';
3
3
  import { TxBase } from '../common/tx-base.cjs';
4
4
  import { TxNoSignature } from '../common/tx-no-signature.cjs';
@@ -8,5 +8,5 @@ export type TxCloseAccount = TxBase & TxNoSignature & {
8
8
  target: string;
9
9
  amount: string;
10
10
  tokenAmounts: TokenValuePair[];
11
- assetProofObjects: AssetProofObjects;
11
+ assets: AssetObject[];
12
12
  };
@@ -1,4 +1,4 @@
1
- import { AssetProofObjects } from '../common/asset-proof-objects.mjs';
1
+ import { AssetObject } from '../common/asset-object.mjs';
2
2
  import { TokenValuePair } from '../common/token-value-pair.mjs';
3
3
  import { TxBase } from '../common/tx-base.mjs';
4
4
  import { TxNoSignature } from '../common/tx-no-signature.mjs';
@@ -8,5 +8,5 @@ export type TxCloseAccount = TxBase & TxNoSignature & {
8
8
  target: string;
9
9
  amount: string;
10
10
  tokenAmounts: TokenValuePair[];
11
- assetProofObjects: AssetProofObjects;
11
+ assets: AssetObject[];
12
12
  };
@@ -1,6 +1,6 @@
1
1
  import { TxBase } from '../common/tx-base.cjs';
2
2
  import { TxSignature } from '../common/tx-signature.cjs';
3
- export type TxCreateVmEngine = TxBase & TxSignature & {
3
+ export type TxCreateVme = TxBase & TxSignature & {
4
4
  balance: string;
5
5
  sysId: string;
6
6
  sysType: string;
@@ -1,6 +1,6 @@
1
1
  import { TxBase } from '../common/tx-base.mjs';
2
2
  import { TxSignature } from '../common/tx-signature.mjs';
3
- export type TxCreateVmEngine = TxBase & TxSignature & {
3
+ export type TxCreateVme = TxBase & TxSignature & {
4
4
  balance: string;
5
5
  sysId: string;
6
6
  sysType: string;
@@ -0,0 +1,10 @@
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
+ import { RefTxInfo } from '../common/ref-tx-info.cjs';
3
+ import { TxBase } from '../common/tx-base.cjs';
4
+ import { TxSignature } from '../common/tx-signature.cjs';
5
+ export type TxForwardAssetObject = TxBase & TxSignature & {
6
+ source: RefTxInfo;
7
+ target: string;
8
+ assets: AssetTransferInfo[];
9
+ balance: string;
10
+ };
@@ -0,0 +1,10 @@
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
+ import { RefTxInfo } from '../common/ref-tx-info.mjs';
3
+ import { TxBase } from '../common/tx-base.mjs';
4
+ import { TxSignature } from '../common/tx-signature.mjs';
5
+ export type TxForwardAssetObject = TxBase & TxSignature & {
6
+ source: RefTxInfo;
7
+ target: string;
8
+ assets: AssetTransferInfo[];
9
+ balance: string;
10
+ };
@@ -1,8 +1,9 @@
1
1
  import { RefTxInfo } from '../common/ref-tx-info.cjs';
2
2
  import { TxBase } from '../common/tx-base.cjs';
3
3
  import { TxSignature } from '../common/tx-signature.cjs';
4
- export type TxTransferCoinExpress = TxBase & TxSignature & {
4
+ export type TxForwardCoin = TxBase & TxSignature & {
5
5
  source: RefTxInfo;
6
6
  target: string;
7
7
  amount: string;
8
+ balance: string;
8
9
  };
@@ -1,8 +1,9 @@
1
1
  import { RefTxInfo } from '../common/ref-tx-info.mjs';
2
2
  import { TxBase } from '../common/tx-base.mjs';
3
3
  import { TxSignature } from '../common/tx-signature.mjs';
4
- export type TxTransferCoinExpress = TxBase & TxSignature & {
4
+ export type TxForwardCoin = TxBase & TxSignature & {
5
5
  source: RefTxInfo;
6
6
  target: string;
7
7
  amount: string;
8
+ balance: string;
8
9
  };
@@ -0,0 +1,10 @@
1
+ import { RefTxInfo } from '../common/ref-tx-info.cjs';
2
+ import { TokenValuePair } from '../common/token-value-pair.cjs';
3
+ import { TxBase } from '../common/tx-base.cjs';
4
+ import { TxSignature } from '../common/tx-signature.cjs';
5
+ export type TxForwardToken = TxBase & TxSignature & {
6
+ source: RefTxInfo;
7
+ target: string;
8
+ tokens: TokenValuePair[];
9
+ balance: string;
10
+ };
@@ -0,0 +1,10 @@
1
+ import { RefTxInfo } from '../common/ref-tx-info.mjs';
2
+ import { TokenValuePair } from '../common/token-value-pair.mjs';
3
+ import { TxBase } from '../common/tx-base.mjs';
4
+ import { TxSignature } from '../common/tx-signature.mjs';
5
+ export type TxForwardToken = TxBase & TxSignature & {
6
+ source: RefTxInfo;
7
+ target: string;
8
+ tokens: TokenValuePair[];
9
+ balance: string;
10
+ };
@@ -0,0 +1,11 @@
1
+ import { TokenValuePair } from '../common/token-value-pair.cjs';
2
+ import { TxBase } from '../common/tx-base.cjs';
3
+ import { TxNoSignature } from '../common/tx-no-signature.cjs';
4
+ export type TxLeadDirectVtx = TxBase & TxNoSignature & {
5
+ vmeId: string;
6
+ target: string;
7
+ amount: string;
8
+ tokenAmount: TokenValuePair[];
9
+ callerAddr: string;
10
+ nonce: number;
11
+ };
@@ -0,0 +1,11 @@
1
+ import { TokenValuePair } from '../common/token-value-pair.mjs';
2
+ import { TxBase } from '../common/tx-base.mjs';
3
+ import { TxNoSignature } from '../common/tx-no-signature.mjs';
4
+ export type TxLeadDirectVtx = TxBase & TxNoSignature & {
5
+ vmeId: string;
6
+ target: string;
7
+ amount: string;
8
+ tokenAmount: TokenValuePair[];
9
+ callerAddr: string;
10
+ nonce: number;
11
+ };
@@ -2,7 +2,7 @@ import { TokenValuePair } from '../common/token-value-pair.cjs';
2
2
  import { TxBase } from '../common/tx-base.cjs';
3
3
  import { TxNoSignature } from '../common/tx-no-signature.cjs';
4
4
  export type TxLeadVtx = TxBase & TxNoSignature & {
5
- contract: string;
5
+ vmeId: string;
6
6
  target: string;
7
7
  amount: string;
8
8
  tokenAmount: TokenValuePair[];
@@ -2,7 +2,7 @@ import { TokenValuePair } from '../common/token-value-pair.mjs';
2
2
  import { TxBase } from '../common/tx-base.mjs';
3
3
  import { TxNoSignature } from '../common/tx-no-signature.mjs';
4
4
  export type TxLeadVtx = TxBase & TxNoSignature & {
5
- contract: string;
5
+ vmeId: string;
6
6
  target: string;
7
7
  amount: string;
8
8
  tokenAmount: TokenValuePair[];
@@ -2,15 +2,11 @@ import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
2
2
  import { TokenValueAB } from '../common/token-value-ab.cjs';
3
3
  import { TxBase } from '../common/tx-base.cjs';
4
4
  import { TxSignature } from '../common/tx-signature.cjs';
5
- export type TxCallContract = TxBase & TxSignature & {
6
- target: string;
7
- fuelLimit: string;
8
- amount: string;
5
+ export type TxRestoreResHash = TxBase & TxSignature & {
9
6
  balance: string;
10
- tokens: TokenValueAB[];
11
- tokenProof: string;
7
+ backupFrom: number;
8
+ backupTo: number;
9
+ tokenBalances: TokenValueAB[];
12
10
  tokenHash: string;
13
11
  assetObjects: AssetObjectTransfer;
14
- func: string;
15
- argData: string;
16
12
  };
@@ -2,15 +2,11 @@ import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
2
2
  import { TokenValueAB } from '../common/token-value-ab.mjs';
3
3
  import { TxBase } from '../common/tx-base.mjs';
4
4
  import { TxSignature } from '../common/tx-signature.mjs';
5
- export type TxCallContract = TxBase & TxSignature & {
6
- target: string;
7
- fuelLimit: string;
8
- amount: string;
5
+ export type TxRestoreResHash = TxBase & TxSignature & {
9
6
  balance: string;
10
- tokens: TokenValueAB[];
11
- tokenProof: string;
7
+ backupFrom: number;
8
+ backupTo: number;
9
+ tokenBalances: TokenValueAB[];
12
10
  tokenHash: string;
13
11
  assetObjects: AssetObjectTransfer;
14
- func: string;
15
- argData: string;
16
12
  };
@@ -1,4 +1,4 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { RefTxInfo } from '../common/ref-tx-info.cjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.cjs';
4
4
  import { TxBase } from '../common/tx-base.cjs';
@@ -11,6 +11,8 @@ export type TxRevoke = TxBase & TxVSignature & {
11
11
  tokenBalances: TokenValueAB[];
12
12
  tokenProof: string;
13
13
  tokenHash: string;
14
- assetObjects: AssetObjectTransfer;
14
+ assets: AssetTransferInfo[];
15
+ assetProof: string;
16
+ assetHash: string;
15
17
  optional: VmeInfo;
16
18
  };
@@ -1,4 +1,4 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { RefTxInfo } from '../common/ref-tx-info.mjs';
3
3
  import { TokenValueAB } from '../common/token-value-ab.mjs';
4
4
  import { TxBase } from '../common/tx-base.mjs';
@@ -11,6 +11,8 @@ export type TxRevoke = TxBase & TxVSignature & {
11
11
  tokenBalances: TokenValueAB[];
12
12
  tokenProof: string;
13
13
  tokenHash: string;
14
- assetObjects: AssetObjectTransfer;
14
+ assets: AssetTransferInfo[];
15
+ assetProof: string;
16
+ assetHash: string;
15
17
  optional: VmeInfo;
16
18
  };
@@ -1,8 +1,10 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.cjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
2
  import { TxBase } from '../common/tx-base.cjs';
3
3
  import { TxSignature } from '../common/tx-signature.cjs';
4
4
  export type TxTransferAssetObject = TxBase & TxSignature & {
5
5
  balance: string;
6
6
  target: string;
7
- assetObjects: AssetObjectTransfer;
7
+ assets: AssetTransferInfo[];
8
+ assetProof: string;
9
+ assetHash: string;
8
10
  };
@@ -1,8 +1,10 @@
1
- import { AssetObjectTransfer } from '../common/asset-object-transfer.mjs';
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
2
  import { TxBase } from '../common/tx-base.mjs';
3
3
  import { TxSignature } from '../common/tx-signature.mjs';
4
4
  export type TxTransferAssetObject = TxBase & TxSignature & {
5
5
  balance: string;
6
6
  target: string;
7
- assetObjects: AssetObjectTransfer;
7
+ assets: AssetTransferInfo[];
8
+ assetProof: string;
9
+ assetHash: string;
8
10
  };
@@ -1,5 +1,5 @@
1
1
  import { TxBase } from '../common/tx-base.cjs';
2
2
  import { TxNoSignature } from '../common/tx-no-signature.cjs';
3
- export type TxContractBlankReward = TxBase & TxNoSignature & {
3
+ export type TxVmeBlankReward = TxBase & TxNoSignature & {
4
4
  refHeight: number;
5
5
  };