@locuschain/lib 0.2.4 → 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 (111) hide show
  1. package/dist/accounts/index.amd.js +1 -1
  2. package/dist/accounts/index.cjs.cjs +1 -1
  3. package/dist/accounts/index.esm.js +1 -1
  4. package/dist/autogen/actions/debug/wallet/callContract.d.cts +4 -0
  5. package/dist/autogen/actions/debug/wallet/callContract.d.mts +4 -0
  6. package/dist/autogen/actions/debug/wallet/createContract.d.cts +4 -0
  7. package/dist/autogen/actions/debug/wallet/createContract.d.mts +4 -0
  8. package/dist/autogen/actions/debug/wallet/index.d.cts +2 -0
  9. package/dist/autogen/actions/debug/wallet/index.d.mts +2 -0
  10. package/dist/autogen/actions/public/calculateSpentByForward.d.cts +4 -0
  11. package/dist/autogen/actions/public/calculateSpentByForward.d.mts +4 -0
  12. package/dist/autogen/actions/public/calculateSpentByForwardList.d.cts +4 -0
  13. package/dist/autogen/actions/public/calculateSpentByForwardList.d.mts +4 -0
  14. package/dist/autogen/actions/public/index.d.cts +2 -1
  15. package/dist/autogen/actions/public/index.d.mts +2 -1
  16. package/dist/autogen/actions/wallet/forwardAssetObject.d.cts +4 -0
  17. package/dist/autogen/actions/wallet/forwardAssetObject.d.mts +4 -0
  18. package/dist/autogen/actions/wallet/forwardToken.d.cts +4 -0
  19. package/dist/autogen/actions/wallet/forwardToken.d.mts +4 -0
  20. package/dist/autogen/actions/wallet/index.d.cts +4 -0
  21. package/dist/autogen/actions/wallet/index.d.mts +4 -0
  22. package/dist/autogen/actions/wallet/transfer.d.cts +4 -0
  23. package/dist/autogen/actions/wallet/transfer.d.mts +4 -0
  24. package/dist/autogen/actions/wallet/transferAllRes.d.cts +4 -0
  25. package/dist/autogen/actions/wallet/transferAllRes.d.mts +4 -0
  26. package/dist/autogen/debugWalletActions.d.cts +3 -0
  27. package/dist/autogen/debugWalletActions.d.mts +3 -0
  28. package/dist/autogen/index.amd.js +9 -2
  29. package/dist/autogen/index.cjs.cjs +9 -2
  30. package/dist/autogen/index.esm.js +4 -2
  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 +4 -2
  34. package/dist/autogen/publicActions.d.mts +4 -2
  35. package/dist/autogen/rpc-api-spec.d.cts +17 -3
  36. package/dist/autogen/rpc-api-spec.d.mts +17 -3
  37. package/dist/autogen/types/common/contract-exec-status.d.cts +2 -1
  38. package/dist/autogen/types/common/contract-exec-status.d.mts +2 -1
  39. package/dist/autogen/types/common/forward-spent-item.d.cts +9 -0
  40. package/dist/autogen/types/common/forward-spent-item.d.mts +9 -0
  41. package/dist/autogen/types/common/index.d.cts +3 -0
  42. package/dist/autogen/types/common/index.d.mts +3 -0
  43. package/dist/autogen/types/common/params-transfer-asset.d.cts +4 -0
  44. package/dist/autogen/types/common/params-transfer-asset.d.mts +4 -0
  45. package/dist/autogen/types/common/res-changed-entry.d.cts +3 -2
  46. package/dist/autogen/types/common/res-changed-entry.d.mts +3 -2
  47. package/dist/autogen/types/common/res-state-value.d.cts +5 -0
  48. package/dist/autogen/types/common/res-state-value.d.mts +5 -0
  49. package/dist/autogen/types/consts/tx-type.d.cts +3 -1
  50. package/dist/autogen/types/consts/tx-type.d.mts +3 -1
  51. package/dist/autogen/types/consts/tx-types.d.cts +15 -1
  52. package/dist/autogen/types/consts/tx-types.d.mts +15 -1
  53. package/dist/autogen/types/rpc/index.d.cts +9 -2
  54. package/dist/autogen/types/rpc/index.d.mts +9 -2
  55. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.cts +3 -0
  56. package/dist/autogen/types/rpc/params-calculate-spent-by-forward-list.d.mts +3 -0
  57. package/dist/autogen/types/rpc/{params-calculate-spent-by-forward-coin.d.cts → params-calculate-spent-by-forward.d.cts} +1 -1
  58. package/dist/autogen/types/rpc/{params-calculate-spent-by-forward-coin.d.mts → params-calculate-spent-by-forward.d.mts} +1 -1
  59. package/dist/autogen/types/rpc/params-create-contract.d.cts +15 -0
  60. package/dist/autogen/types/rpc/params-create-contract.d.mts +15 -0
  61. package/dist/autogen/types/rpc/params-forward-asset-object.d.cts +7 -0
  62. package/dist/autogen/types/rpc/params-forward-asset-object.d.mts +7 -0
  63. package/dist/autogen/types/rpc/params-forward-token.d.cts +7 -0
  64. package/dist/autogen/types/rpc/params-forward-token.d.mts +7 -0
  65. package/dist/autogen/types/rpc/params-transfer-all-res.d.cts +14 -0
  66. package/dist/autogen/types/rpc/params-transfer-all-res.d.mts +14 -0
  67. package/dist/autogen/types/rpc/params-transfer-tokens.d.cts +0 -4
  68. package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +0 -4
  69. package/dist/autogen/types/rpc/params-transfer.d.cts +10 -0
  70. package/dist/autogen/types/rpc/params-transfer.d.mts +10 -0
  71. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.cts +4 -0
  72. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-list-result.d.mts +4 -0
  73. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.cts +7 -0
  74. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-result.d.mts +7 -0
  75. package/dist/autogen/types/tx/index.d.cts +1 -0
  76. package/dist/autogen/types/tx/index.d.mts +1 -0
  77. package/dist/autogen/types/tx/tx-activate-vme-result.d.cts +1 -0
  78. package/dist/autogen/types/tx/tx-activate-vme-result.d.mts +1 -0
  79. package/dist/autogen/types/tx/tx-activate-vme-transfer.d.cts +1 -0
  80. package/dist/autogen/types/tx/tx-activate-vme-transfer.d.mts +1 -0
  81. package/dist/autogen/types/tx/tx-transfer-all-res.d.cts +15 -0
  82. package/dist/autogen/types/tx/tx-transfer-all-res.d.mts +15 -0
  83. package/dist/autogen/walletActions.d.cts +8 -0
  84. package/dist/autogen/walletActions.d.mts +8 -0
  85. package/dist/autogen/wasm/lclib.wasm +0 -0
  86. package/dist/chunks/{debugWalletActions-qkesE_0m.js → debugWalletActions-A_93DKNp.js} +72 -4
  87. package/dist/chunks/{debugWalletActions-Bd8C-fZB.js → debugWalletActions-D3FUuxE6.js} +79 -4
  88. package/dist/chunks/{debugWalletActions-DIQY8cBm.cjs → debugWalletActions-DTcup4BP.cjs} +79 -4
  89. package/dist/chunks/{tx-type-D_IH9tdK.js → tx-type-BUN9nEQ6.js} +3 -1
  90. package/dist/chunks/{tx-type-CnfCIc5p.js → tx-type-DYAaL3xz.js} +3 -1
  91. package/dist/chunks/{tx-type-CjORX0H2.cjs → tx-type-khL8tWtn.cjs} +3 -1
  92. package/dist/clients/createLocusPublicClient.d.cts +2 -1
  93. package/dist/clients/createLocusPublicClient.d.mts +2 -1
  94. package/dist/clients/createLocusWalletClient.d.cts +6 -0
  95. package/dist/clients/createLocusWalletClient.d.mts +6 -0
  96. package/dist/clients/index.amd.js +1 -1
  97. package/dist/clients/index.cjs.cjs +1 -1
  98. package/dist/clients/index.esm.js +1 -1
  99. package/dist/constant/index.amd.js +18 -4
  100. package/dist/constant/index.cjs.cjs +18 -4
  101. package/dist/constant/index.d.cts +18 -2
  102. package/dist/constant/index.d.mts +18 -2
  103. package/dist/constant/index.esm.js +18 -4
  104. package/dist/index.amd.js +1 -1
  105. package/dist/index.cjs.cjs +2 -2
  106. package/dist/index.esm.js +2 -2
  107. package/package.json +1 -1
  108. package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.cts +0 -4
  109. package/dist/autogen/actions/public/calculateSpentByForwardCoin.d.mts +0 -4
  110. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.cts +0 -3
  111. package/dist/autogen/types/rpc/rpc-calculate-spent-by-forward-coin-result.d.mts +0 -3
@@ -6,6 +6,7 @@ import { TxVSignature } from '../common/tx-vsignature.mjs';
6
6
  import { VmTxState } from '../common/vm-tx-state.mjs';
7
7
  export type TxActivateVmeResult = TxBase & TxVSignature & {
8
8
  vmeId: string;
9
+ subId: string;
9
10
  vmResult: VmTxState;
10
11
  refVmResult: RefVtx;
11
12
  callIndex: number;
@@ -5,6 +5,7 @@ import { TxBase } from '../common/tx-base.cjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.cjs';
6
6
  export type TxActivateVmeTransfer = TxBase & TxVSignature & {
7
7
  vmeId: string;
8
+ subId: string;
8
9
  refVmResult: RefVtx;
9
10
  amount: string;
10
11
  balance: string;
@@ -5,6 +5,7 @@ import { TxBase } from '../common/tx-base.mjs';
5
5
  import { TxVSignature } from '../common/tx-vsignature.mjs';
6
6
  export type TxActivateVmeTransfer = TxBase & TxVSignature & {
7
7
  vmeId: string;
8
+ subId: string;
8
9
  refVmResult: RefVtx;
9
10
  amount: string;
10
11
  balance: string;
@@ -0,0 +1,15 @@
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.cjs';
2
+ import { TokenValueAB } from '../common/token-value-ab.cjs';
3
+ import { TxBase } from '../common/tx-base.cjs';
4
+ import { TxSignature } from '../common/tx-signature.cjs';
5
+ export type TxTransferAllRes = TxBase & TxSignature & {
6
+ target: string;
7
+ amount: string;
8
+ balance: string;
9
+ tokens: TokenValueAB[];
10
+ tokenProof: string;
11
+ tokenHash: string;
12
+ assets: AssetTransferInfo[];
13
+ assetProof: string;
14
+ assetHash: string;
15
+ };
@@ -0,0 +1,15 @@
1
+ import { AssetTransferInfo } from '../common/asset-transfer-info.mjs';
2
+ import { TokenValueAB } from '../common/token-value-ab.mjs';
3
+ import { TxBase } from '../common/tx-base.mjs';
4
+ import { TxSignature } from '../common/tx-signature.mjs';
5
+ export type TxTransferAllRes = TxBase & TxSignature & {
6
+ target: string;
7
+ amount: string;
8
+ balance: string;
9
+ tokens: TokenValueAB[];
10
+ tokenProof: string;
11
+ tokenHash: string;
12
+ assets: AssetTransferInfo[];
13
+ assetProof: string;
14
+ assetHash: string;
15
+ };
@@ -8,12 +8,16 @@ 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 { ParamsForwardAssetObject } from './types/rpc/params-forward-asset-object.cjs';
11
12
  import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.cjs';
13
+ import type { ParamsForwardToken } from './types/rpc/params-forward-token.cjs';
12
14
  import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.cjs';
13
15
  import type { ParamsLockStake } from './types/rpc/params-lock-stake.cjs';
14
16
  import type { ParamsOpenAccount } from './types/rpc/params-open-account.cjs';
15
17
  import type { ParamsProvideScript } from './types/rpc/params-provide-script.cjs';
16
18
  import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.cjs';
19
+ import type { ParamsTransfer } from './types/rpc/params-transfer.cjs';
20
+ import type { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.cjs';
17
21
  import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.cjs';
18
22
  import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.cjs';
19
23
  import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.cjs';
@@ -29,13 +33,17 @@ export declare const walletActions: (client: WalletClient) => {
29
33
  createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
30
34
  createToken: (param: ParamsCreateToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
31
35
  createVme: (param: ParamsCreateVme) => Promise<import("../index.cjs").RpcCreateTxResult>;
36
+ forwardAssetObject: (params: ParamsForwardAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
32
37
  forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
38
+ forwardToken: (params: ParamsForwardToken) => Promise<import("../index.cjs").RpcCreateTxResult>;
33
39
  freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
34
40
  lockStake: (params: ParamsLockStake) => Promise<import("../index.cjs").RpcCreateTxResult>;
35
41
  openAccount: (param: ParamsOpenAccount) => Promise<import("../index.cjs").RpcCreateTxResult>;
36
42
  postData: (params: InputParamsDataTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
37
43
  provideScript: (params: ParamsProvideScript) => Promise<import("../index.cjs").RpcCreateTxResult>;
38
44
  requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.cjs").RpcDataTradeResult>;
45
+ transfer: (params: ParamsTransfer) => Promise<import("../index.cjs").RpcCreateTxResult>;
46
+ transferAllRes: (params: ParamsTransferAllRes) => Promise<import("../index.cjs").RpcCreateTxResult>;
39
47
  transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.cjs").RpcCreateTxResult>;
40
48
  transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.cjs").RpcCreateTxResult>;
41
49
  transferToken: (params: ParamsTransferTokens) => Promise<import("../index.cjs").RpcCreateTxResult>;
@@ -8,12 +8,16 @@ 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 { ParamsForwardAssetObject } from './types/rpc/params-forward-asset-object.mjs';
11
12
  import type { ParamsForwardCoin } from './types/rpc/params-forward-coin.mjs';
13
+ import type { ParamsForwardToken } from './types/rpc/params-forward-token.mjs';
12
14
  import type { ParamsFreezeAccount } from './types/rpc/params-freeze-account.mjs';
13
15
  import type { ParamsLockStake } from './types/rpc/params-lock-stake.mjs';
14
16
  import type { ParamsOpenAccount } from './types/rpc/params-open-account.mjs';
15
17
  import type { ParamsProvideScript } from './types/rpc/params-provide-script.mjs';
16
18
  import type { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.mjs';
19
+ import type { ParamsTransfer } from './types/rpc/params-transfer.mjs';
20
+ import type { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.mjs';
17
21
  import type { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.mjs';
18
22
  import type { ParamsTransferCoin } from './types/rpc/params-transfer-coin.mjs';
19
23
  import type { ParamsTransferTokens } from './types/rpc/params-transfer-tokens.mjs';
@@ -29,13 +33,17 @@ export declare const walletActions: (client: WalletClient) => {
29
33
  createAssetObject: (param: ParamsCreateAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
30
34
  createToken: (param: ParamsCreateToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
31
35
  createVme: (param: ParamsCreateVme) => Promise<import("../index.mjs").RpcCreateTxResult>;
36
+ forwardAssetObject: (params: ParamsForwardAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
32
37
  forwardCoin: (param: ParamsForwardCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
38
+ forwardToken: (params: ParamsForwardToken) => Promise<import("../index.mjs").RpcCreateTxResult>;
33
39
  freezeAccount: (params: ParamsFreezeAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
34
40
  lockStake: (params: ParamsLockStake) => Promise<import("../index.mjs").RpcCreateTxResult>;
35
41
  openAccount: (param: ParamsOpenAccount) => Promise<import("../index.mjs").RpcCreateTxResult>;
36
42
  postData: (params: InputParamsDataTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
37
43
  provideScript: (params: ParamsProvideScript) => Promise<import("../index.mjs").RpcCreateTxResult>;
38
44
  requestDataTrade: (params: ParamsRequestDataTrade) => Promise<import("../index.mjs").RpcDataTradeResult>;
45
+ transfer: (params: ParamsTransfer) => Promise<import("../index.mjs").RpcCreateTxResult>;
46
+ transferAllRes: (params: ParamsTransferAllRes) => Promise<import("../index.mjs").RpcCreateTxResult>;
39
47
  transferAssetObject: (params: ParamsTransferAssetObject) => Promise<import("../index.mjs").RpcCreateTxResult>;
40
48
  transferCoin: (param: ParamsTransferCoin) => Promise<import("../index.mjs").RpcCreateTxResult>;
41
49
  transferToken: (params: ParamsTransferTokens) => Promise<import("../index.mjs").RpcCreateTxResult>;
Binary file
@@ -17,9 +17,16 @@ function accountHeightsToUpload(client, param) {
17
17
  }
18
18
 
19
19
  // Automatically generated file. DO NOT EDIT.
20
- function calculateSpentByForwardCoin(client, param) {
20
+ function calculateSpentByForward(client, param) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- return client.request({ method: 'locus_calculateSpentByForwardCoin', params: [param] });
22
+ return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
23
+ });
24
+ }
25
+
26
+ // Automatically generated file. DO NOT EDIT.
27
+ function calculateSpentByForwardList(client, param) {
28
+ return __awaiter(this, void 0, void 0, function* () {
29
+ return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
23
30
  });
24
31
  }
25
32
 
@@ -272,7 +279,8 @@ function verifyTxListWitness(client, params) {
272
279
  const publicActions = (client) => ({
273
280
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
274
281
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
275
- calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(client, param),
282
+ calculateSpentByForward: (param) => calculateSpentByForward(client, param),
283
+ calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
276
284
  clientMessage: (param) => clientMessage(client, param),
277
285
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
278
286
  echo: (str) => echo$1(client, str),
@@ -504,6 +512,15 @@ function createVme(client, param) {
504
512
  });
505
513
  }
506
514
 
515
+ // Automatically generated file. DO NOT EDIT.
516
+ function forwardAssetObject(client, params) {
517
+ return __awaiter(this, void 0, void 0, function* () {
518
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardAssetObject', params: [params] });
519
+ const signed = yield _signLocusTransaction(client.account, prepared);
520
+ return _sendPreparedTransaction(client, signed);
521
+ });
522
+ }
523
+
507
524
  // Automatically generated file. DO NOT EDIT.
508
525
  function forwardCoin(client, param) {
509
526
  return __awaiter(this, void 0, void 0, function* () {
@@ -513,6 +530,15 @@ function forwardCoin(client, param) {
513
530
  });
514
531
  }
515
532
 
533
+ // Automatically generated file. DO NOT EDIT.
534
+ function forwardToken(client, params) {
535
+ return __awaiter(this, void 0, void 0, function* () {
536
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardToken', params: [params] });
537
+ const signed = yield _signLocusTransaction(client.account, prepared);
538
+ return _sendPreparedTransaction(client, signed);
539
+ });
540
+ }
541
+
516
542
  // Automatically generated file. DO NOT EDIT.
517
543
  function freezeAccount(client, params) {
518
544
  return __awaiter(this, void 0, void 0, function* () {
@@ -567,6 +593,24 @@ function requestDataTrade(client, params) {
567
593
  });
568
594
  }
569
595
 
596
+ // Automatically generated file. DO NOT EDIT.
597
+ function transfer(client, params) {
598
+ return __awaiter(this, void 0, void 0, function* () {
599
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
600
+ const signed = yield _signLocusTransaction(client.account, prepared);
601
+ return _sendPreparedTransaction(client, signed);
602
+ });
603
+ }
604
+
605
+ // Automatically generated file. DO NOT EDIT.
606
+ function transferAllRes(client, params) {
607
+ return __awaiter(this, void 0, void 0, function* () {
608
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
609
+ const signed = yield _signLocusTransaction(client.account, prepared);
610
+ return _sendPreparedTransaction(client, signed);
611
+ });
612
+ }
613
+
570
614
  // Automatically generated file. DO NOT EDIT.
571
615
  function transferAssetObject(client, params) {
572
616
  return __awaiter(this, void 0, void 0, function* () {
@@ -614,13 +658,17 @@ const walletActions = (client) => ({
614
658
  createAssetObject: (param) => createAssetObject(client, param),
615
659
  createToken: (param) => createToken(client, param),
616
660
  createVme: (param) => createVme(client, param),
661
+ forwardAssetObject: (params) => forwardAssetObject(client, params),
617
662
  forwardCoin: (param) => forwardCoin(client, param),
663
+ forwardToken: (params) => forwardToken(client, params),
618
664
  freezeAccount: (params) => freezeAccount(client, params),
619
665
  lockStake: (params) => lockStake(client, params),
620
666
  openAccount: (param) => openAccount(client, param),
621
667
  postData: (params) => postData(client, params),
622
668
  provideScript: (params) => provideScript(client, params),
623
669
  requestDataTrade: (params) => requestDataTrade(client, params),
670
+ transfer: (params) => transfer(client, params),
671
+ transferAllRes: (params) => transferAllRes(client, params),
624
672
  transferAssetObject: (params) => transferAssetObject(client, params),
625
673
  transferCoin: (param) => transferCoin(client, param),
626
674
  transferToken: (params) => transferToken(client, params),
@@ -863,6 +911,15 @@ const debugPublicActions = (client) => ({
863
911
  viewVme: (param) => viewVme(client, param),
864
912
  });
865
913
 
914
+ // Automatically generated file. DO NOT EDIT.
915
+ function callContract(client, param) {
916
+ return __awaiter(this, void 0, void 0, function* () {
917
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
918
+ const signed = yield _signLocusTransaction(client.account, prepared);
919
+ return _sendPreparedTransaction(client, signed);
920
+ });
921
+ }
922
+
866
923
  // Automatically generated file. DO NOT EDIT.
867
924
  function callVme(client, param) {
868
925
  return __awaiter(this, void 0, void 0, function* () {
@@ -872,6 +929,15 @@ function callVme(client, param) {
872
929
  });
873
930
  }
874
931
 
932
+ // Automatically generated file. DO NOT EDIT.
933
+ function createContract(client, param) {
934
+ return __awaiter(this, void 0, void 0, function* () {
935
+ const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
936
+ const signed = yield _signLocusTransaction(client.account, prepared);
937
+ return _sendPreparedTransaction(client, signed);
938
+ });
939
+ }
940
+
875
941
  // Automatically generated file. DO NOT EDIT.
876
942
  function createSynthAccount(client, param) {
877
943
  return __awaiter(this, void 0, void 0, function* () {
@@ -892,9 +958,11 @@ function postDataToSynthAccount(client, param) {
892
958
 
893
959
  // Automatically generated file. DO NOT EDIT.
894
960
  const debugWalletActions = (client) => ({
961
+ callContract: (param) => callContract(client, param),
895
962
  callVme: (param) => callVme(client, param),
963
+ createContract: (param) => createContract(client, param),
896
964
  createSynthAccount: (param) => createSynthAccount(client, param),
897
965
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
898
966
  });
899
967
 
900
- export { getAccountAssetList as $, removeHoldTxs as A, requestVme as B, sendRawTransaction as C, setImportAccountTx as D, setReliableNode as E, viewVme as F, acceptScript as G, accountHeightsToDownload as H, accountHeightsToUpload as I, becomeGuest as J, becomeHost as K, calculateSpentByForwardCoin as L, changeKey as M, changeVkey as N, clientMessage as O, closeAccount as P, createAssetObject as Q, createToken as R, createVme as S, debugPublicActions as T, debugWalletActions as U, downloadAccountTxs as V, echo$1 as W, findDuplicateSubscriber as X, forwardCoin as Y, freezeAccount as Z, generateLatestStoredDataProof as _, allHeights as a, getAccountAssetObject as a0, getAccountDetail as a1, getAccountHistory as a2, getAccountTokenList as a3, getConciseNodeStatus as a4, getGenesisAccount as a5, getIdentityProof as a6, getInactiveTxList as a7, getMontInfoList as a8, getNodeStatus as a9, verifyIdentityProof as aA, verifyLatestStoredDataProof as aB, verifyTxListWitness as aC, walletActions as aD, getOwnerBalance as aa, getRoundState as ab, getRoundStatesList as ac, getShardOfAccount as ad, getSyncState as ae, getTx as af, getWorldRoundState as ag, getWorldRoundStatesList as ah, hasSystemToken as ai, lockStake as aj, makeTxProof as ak, openAccount as al, postData as am, provideScript as an, publicActions as ao, queryAddress as ap, readTxListWitness as aq, requestDataTrade as ar, setHost as as, subscribeAddress as at, transferAssetObject as au, transferCoin as av, transferToken as aw, unlockStake as ax, uploadAccountTxs as ay, verifyAndSignChallenge as az, balanceGrantList as b, balanceList as c, callVme as d, createAccount as e, createNode as f, createSynthAccount as g, dumpAllAccounts as h, echo as i, gameChainCmd as j, getAccountsBalances as k, getAccountsHeights as l, getGuestsInfo as m, getHomeShard as n, getImportAccount as o, getImportAccountLog as p, getKeys as q, getNodeBlocks as r, getPeerPool as s, getPeersInfo as t, getVmeLog as u, importAccount as v, initReliableNodes as w, noArgsRets as x, nodeCmd as y, postDataToSynthAccount as z };
968
+ export { forwardAssetObject as $, nodeCmd as A, postDataToSynthAccount as B, removeHoldTxs as C, requestVme as D, sendRawTransaction as E, setImportAccountTx as F, setReliableNode as G, viewVme as H, acceptScript as I, accountHeightsToDownload as J, accountHeightsToUpload as K, becomeGuest as L, becomeHost as M, calculateSpentByForward as N, calculateSpentByForwardList as O, changeKey as P, changeVkey as Q, clientMessage as R, closeAccount as S, createAssetObject as T, createToken as U, createVme as V, debugPublicActions as W, debugWalletActions as X, downloadAccountTxs as Y, echo$1 as Z, findDuplicateSubscriber as _, allHeights as a, forwardCoin as a0, forwardToken as a1, freezeAccount as a2, generateLatestStoredDataProof as a3, getAccountAssetList as a4, getAccountAssetObject as a5, getAccountDetail as a6, getAccountHistory as a7, getAccountTokenList as a8, getConciseNodeStatus as a9, transferAllRes as aA, transferAssetObject as aB, transferCoin as aC, transferToken as aD, unlockStake as aE, uploadAccountTxs as aF, verifyAndSignChallenge as aG, verifyIdentityProof as aH, verifyLatestStoredDataProof as aI, verifyTxListWitness as aJ, walletActions as aK, getGenesisAccount as aa, getIdentityProof as ab, getInactiveTxList as ac, getMontInfoList as ad, getNodeStatus as ae, getOwnerBalance as af, getRoundState as ag, getRoundStatesList as ah, getShardOfAccount as ai, getSyncState as aj, getTx as ak, getWorldRoundState as al, getWorldRoundStatesList as am, hasSystemToken as an, lockStake as ao, makeTxProof as ap, openAccount as aq, postData as ar, provideScript as as, publicActions as at, queryAddress as au, readTxListWitness as av, requestDataTrade as aw, setHost as ax, subscribeAddress as ay, transfer as az, balanceGrantList as b, balanceList as c, callContract as d, callVme as e, createAccount as f, createContract as g, createNode as h, createSynthAccount as i, dumpAllAccounts as j, echo as k, gameChainCmd as l, getAccountsBalances as m, getAccountsHeights as n, getGuestsInfo as o, getHomeShard as p, getImportAccount as q, getImportAccountLog as r, getKeys as s, getNodeBlocks as t, getPeerPool as u, getPeersInfo as v, getVmeLog as w, importAccount as x, initReliableNodes as y, noArgsRets as z };
@@ -15,9 +15,16 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
15
15
  }
16
16
 
17
17
  // Automatically generated file. DO NOT EDIT.
18
- function calculateSpentByForwardCoin(client, param) {
18
+ function calculateSpentByForward(client, param) {
19
19
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
20
- return client.request({ method: 'locus_calculateSpentByForwardCoin', params: [param] });
20
+ return client.request({ method: 'locus_calculateSpentByForward', params: [param] });
21
+ });
22
+ }
23
+
24
+ // Automatically generated file. DO NOT EDIT.
25
+ function calculateSpentByForwardList(client, param) {
26
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
27
+ return client.request({ method: 'locus_calculateSpentByForwardList', params: [param] });
21
28
  });
22
29
  }
23
30
 
@@ -270,7 +277,8 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
270
277
  const publicActions = (client) => ({
271
278
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
272
279
  accountHeightsToUpload: (param) => accountHeightsToUpload(client, param),
273
- calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(client, param),
280
+ calculateSpentByForward: (param) => calculateSpentByForward(client, param),
281
+ calculateSpentByForwardList: (param) => calculateSpentByForwardList(client, param),
274
282
  clientMessage: (param) => clientMessage(client, param),
275
283
  downloadAccountTxs: (param) => downloadAccountTxs(client, param),
276
284
  echo: (str) => echo$1(client, str),
@@ -502,6 +510,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
502
510
  });
503
511
  }
504
512
 
513
+ // Automatically generated file. DO NOT EDIT.
514
+ function forwardAssetObject(client, params) {
515
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
516
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardAssetObject', params: [params] });
517
+ const signed = yield _signLocusTransaction(client.account, prepared);
518
+ return _sendPreparedTransaction(client, signed);
519
+ });
520
+ }
521
+
505
522
  // Automatically generated file. DO NOT EDIT.
506
523
  function forwardCoin(client, param) {
507
524
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -511,6 +528,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
511
528
  });
512
529
  }
513
530
 
531
+ // Automatically generated file. DO NOT EDIT.
532
+ function forwardToken(client, params) {
533
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
534
+ const prepared = yield _prepareTransaction(client, { method: 'locus_forwardToken', params: [params] });
535
+ const signed = yield _signLocusTransaction(client.account, prepared);
536
+ return _sendPreparedTransaction(client, signed);
537
+ });
538
+ }
539
+
514
540
  // Automatically generated file. DO NOT EDIT.
515
541
  function freezeAccount(client, params) {
516
542
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -565,6 +591,24 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
565
591
  });
566
592
  }
567
593
 
594
+ // Automatically generated file. DO NOT EDIT.
595
+ function transfer(client, params) {
596
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
597
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
598
+ const signed = yield _signLocusTransaction(client.account, prepared);
599
+ return _sendPreparedTransaction(client, signed);
600
+ });
601
+ }
602
+
603
+ // Automatically generated file. DO NOT EDIT.
604
+ function transferAllRes(client, params) {
605
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
606
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
607
+ const signed = yield _signLocusTransaction(client.account, prepared);
608
+ return _sendPreparedTransaction(client, signed);
609
+ });
610
+ }
611
+
568
612
  // Automatically generated file. DO NOT EDIT.
569
613
  function transferAssetObject(client, params) {
570
614
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -612,13 +656,17 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
612
656
  createAssetObject: (param) => createAssetObject(client, param),
613
657
  createToken: (param) => createToken(client, param),
614
658
  createVme: (param) => createVme(client, param),
659
+ forwardAssetObject: (params) => forwardAssetObject(client, params),
615
660
  forwardCoin: (param) => forwardCoin(client, param),
661
+ forwardToken: (params) => forwardToken(client, params),
616
662
  freezeAccount: (params) => freezeAccount(client, params),
617
663
  lockStake: (params) => lockStake(client, params),
618
664
  openAccount: (param) => openAccount(client, param),
619
665
  postData: (params) => postData(client, params),
620
666
  provideScript: (params) => provideScript(client, params),
621
667
  requestDataTrade: (params) => requestDataTrade(client, params),
668
+ transfer: (params) => transfer(client, params),
669
+ transferAllRes: (params) => transferAllRes(client, params),
622
670
  transferAssetObject: (params) => transferAssetObject(client, params),
623
671
  transferCoin: (param) => transferCoin(client, param),
624
672
  transferToken: (params) => transferToken(client, params),
@@ -861,6 +909,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
861
909
  viewVme: (param) => viewVme(client, param),
862
910
  });
863
911
 
912
+ // Automatically generated file. DO NOT EDIT.
913
+ function callContract(client, param) {
914
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
915
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
916
+ const signed = yield _signLocusTransaction(client.account, prepared);
917
+ return _sendPreparedTransaction(client, signed);
918
+ });
919
+ }
920
+
864
921
  // Automatically generated file. DO NOT EDIT.
865
922
  function callVme(client, param) {
866
923
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -870,6 +927,15 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
870
927
  });
871
928
  }
872
929
 
930
+ // Automatically generated file. DO NOT EDIT.
931
+ function createContract(client, param) {
932
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
933
+ const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
934
+ const signed = yield _signLocusTransaction(client.account, prepared);
935
+ return _sendPreparedTransaction(client, signed);
936
+ });
937
+ }
938
+
873
939
  // Automatically generated file. DO NOT EDIT.
874
940
  function createSynthAccount(client, param) {
875
941
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -890,7 +956,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
890
956
 
891
957
  // Automatically generated file. DO NOT EDIT.
892
958
  const debugWalletActions = (client) => ({
959
+ callContract: (param) => callContract(client, param),
893
960
  callVme: (param) => callVme(client, param),
961
+ createContract: (param) => createContract(client, param),
894
962
  createSynthAccount: (param) => createSynthAccount(client, param),
895
963
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
896
964
  });
@@ -903,7 +971,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
903
971
  exports.balanceList = balanceList;
904
972
  exports.becomeGuest = becomeGuest;
905
973
  exports.becomeHost = becomeHost;
906
- exports.calculateSpentByForwardCoin = calculateSpentByForwardCoin;
974
+ exports.calculateSpentByForward = calculateSpentByForward;
975
+ exports.calculateSpentByForwardList = calculateSpentByForwardList;
976
+ exports.callContract = callContract;
907
977
  exports.callVme = callVme;
908
978
  exports.changeKey = changeKey;
909
979
  exports.changeVkey = changeVkey;
@@ -911,6 +981,7 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
911
981
  exports.closeAccount = closeAccount;
912
982
  exports.createAccount = createAccount;
913
983
  exports.createAssetObject = createAssetObject;
984
+ exports.createContract = createContract;
914
985
  exports.createNode = createNode;
915
986
  exports.createSynthAccount = createSynthAccount;
916
987
  exports.createToken = createToken;
@@ -922,7 +993,9 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
922
993
  exports.echo = echo;
923
994
  exports.echo$1 = echo$1;
924
995
  exports.findDuplicateSubscriber = findDuplicateSubscriber;
996
+ exports.forwardAssetObject = forwardAssetObject;
925
997
  exports.forwardCoin = forwardCoin;
998
+ exports.forwardToken = forwardToken;
926
999
  exports.freezeAccount = freezeAccount;
927
1000
  exports.gameChainCmd = gameChainCmd;
928
1001
  exports.generateLatestStoredDataProof = generateLatestStoredDataProof;
@@ -978,6 +1051,8 @@ define(['exports', './tslib.es6-D29rxPkW', './rpc-C4n7t9y0', './account-BSrvZ7S8
978
1051
  exports.setImportAccountTx = setImportAccountTx;
979
1052
  exports.setReliableNode = setReliableNode;
980
1053
  exports.subscribeAddress = subscribeAddress;
1054
+ exports.transfer = transfer;
1055
+ exports.transferAllRes = transferAllRes;
981
1056
  exports.transferAssetObject = transferAssetObject;
982
1057
  exports.transferCoin = transferCoin;
983
1058
  exports.transferToken = transferToken;
@@ -19,9 +19,16 @@ function accountHeightsToUpload(client, param) {
19
19
  }
20
20
 
21
21
  // Automatically generated file. DO NOT EDIT.
22
- function calculateSpentByForwardCoin(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_calculateSpentByForwardCoin', 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
- calculateSpentByForwardCoin: (param) => calculateSpentByForwardCoin(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,15 @@ 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
+
509
526
  // Automatically generated file. DO NOT EDIT.
510
527
  function forwardCoin(client, param) {
511
528
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -515,6 +532,15 @@ function forwardCoin(client, param) {
515
532
  });
516
533
  }
517
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
+
518
544
  // Automatically generated file. DO NOT EDIT.
519
545
  function freezeAccount(client, params) {
520
546
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -569,6 +595,24 @@ function requestDataTrade(client, params) {
569
595
  });
570
596
  }
571
597
 
598
+ // Automatically generated file. DO NOT EDIT.
599
+ function transfer(client, params) {
600
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
601
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transfer', params: [params] });
602
+ const signed = yield _signLocusTransaction(client.account, prepared);
603
+ return _sendPreparedTransaction(client, signed);
604
+ });
605
+ }
606
+
607
+ // Automatically generated file. DO NOT EDIT.
608
+ function transferAllRes(client, params) {
609
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
610
+ const prepared = yield _prepareTransaction(client, { method: 'locus_transferAllRes', params: [params] });
611
+ const signed = yield _signLocusTransaction(client.account, prepared);
612
+ return _sendPreparedTransaction(client, signed);
613
+ });
614
+ }
615
+
572
616
  // Automatically generated file. DO NOT EDIT.
573
617
  function transferAssetObject(client, params) {
574
618
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -616,13 +660,17 @@ 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),
619
664
  forwardCoin: (param) => forwardCoin(client, param),
665
+ forwardToken: (params) => forwardToken(client, params),
620
666
  freezeAccount: (params) => freezeAccount(client, params),
621
667
  lockStake: (params) => lockStake(client, params),
622
668
  openAccount: (param) => openAccount(client, param),
623
669
  postData: (params) => postData(client, params),
624
670
  provideScript: (params) => provideScript(client, params),
625
671
  requestDataTrade: (params) => requestDataTrade(client, params),
672
+ transfer: (params) => transfer(client, params),
673
+ transferAllRes: (params) => transferAllRes(client, params),
626
674
  transferAssetObject: (params) => transferAssetObject(client, params),
627
675
  transferCoin: (param) => transferCoin(client, param),
628
676
  transferToken: (params) => transferToken(client, params),
@@ -865,6 +913,15 @@ const debugPublicActions = (client) => ({
865
913
  viewVme: (param) => viewVme(client, param),
866
914
  });
867
915
 
916
+ // Automatically generated file. DO NOT EDIT.
917
+ function callContract(client, param) {
918
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
919
+ const prepared = yield _prepareTransaction(client, { method: 'debug_callContract', params: [param] });
920
+ const signed = yield _signLocusTransaction(client.account, prepared);
921
+ return _sendPreparedTransaction(client, signed);
922
+ });
923
+ }
924
+
868
925
  // Automatically generated file. DO NOT EDIT.
869
926
  function callVme(client, param) {
870
927
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -874,6 +931,15 @@ function callVme(client, param) {
874
931
  });
875
932
  }
876
933
 
934
+ // Automatically generated file. DO NOT EDIT.
935
+ function createContract(client, param) {
936
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
937
+ const prepared = yield _prepareTransaction(client, { method: 'debug_createContract', params: [param] });
938
+ const signed = yield _signLocusTransaction(client.account, prepared);
939
+ return _sendPreparedTransaction(client, signed);
940
+ });
941
+ }
942
+
877
943
  // Automatically generated file. DO NOT EDIT.
878
944
  function createSynthAccount(client, param) {
879
945
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -894,7 +960,9 @@ function postDataToSynthAccount(client, param) {
894
960
 
895
961
  // Automatically generated file. DO NOT EDIT.
896
962
  const debugWalletActions = (client) => ({
963
+ callContract: (param) => callContract(client, param),
897
964
  callVme: (param) => callVme(client, param),
965
+ createContract: (param) => createContract(client, param),
898
966
  createSynthAccount: (param) => createSynthAccount(client, param),
899
967
  postDataToSynthAccount: (param) => postDataToSynthAccount(client, param),
900
968
  });
@@ -907,7 +975,9 @@ exports.balanceGrantList = balanceGrantList;
907
975
  exports.balanceList = balanceList;
908
976
  exports.becomeGuest = becomeGuest;
909
977
  exports.becomeHost = becomeHost;
910
- exports.calculateSpentByForwardCoin = calculateSpentByForwardCoin;
978
+ exports.calculateSpentByForward = calculateSpentByForward;
979
+ exports.calculateSpentByForwardList = calculateSpentByForwardList;
980
+ exports.callContract = callContract;
911
981
  exports.callVme = callVme;
912
982
  exports.changeKey = changeKey;
913
983
  exports.changeVkey = changeVkey;
@@ -915,6 +985,7 @@ exports.clientMessage = clientMessage;
915
985
  exports.closeAccount = closeAccount;
916
986
  exports.createAccount = createAccount;
917
987
  exports.createAssetObject = createAssetObject;
988
+ exports.createContract = createContract;
918
989
  exports.createNode = createNode;
919
990
  exports.createSynthAccount = createSynthAccount;
920
991
  exports.createToken = createToken;
@@ -926,7 +997,9 @@ exports.dumpAllAccounts = dumpAllAccounts;
926
997
  exports.echo = echo;
927
998
  exports.echo$1 = echo$1;
928
999
  exports.findDuplicateSubscriber = findDuplicateSubscriber;
1000
+ exports.forwardAssetObject = forwardAssetObject;
929
1001
  exports.forwardCoin = forwardCoin;
1002
+ exports.forwardToken = forwardToken;
930
1003
  exports.freezeAccount = freezeAccount;
931
1004
  exports.gameChainCmd = gameChainCmd;
932
1005
  exports.generateLatestStoredDataProof = generateLatestStoredDataProof;
@@ -982,6 +1055,8 @@ exports.setHost = setHost;
982
1055
  exports.setImportAccountTx = setImportAccountTx;
983
1056
  exports.setReliableNode = setReliableNode;
984
1057
  exports.subscribeAddress = subscribeAddress;
1058
+ exports.transfer = transfer;
1059
+ exports.transferAllRes = transferAllRes;
985
1060
  exports.transferAssetObject = transferAssetObject;
986
1061
  exports.transferCoin = transferCoin;
987
1062
  exports.transferToken = transferToken;