@locuschain/lib 0.2.7 → 0.2.8

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 (81) 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/buildDirectCall.d.cts +4 -0
  5. package/dist/autogen/actions/debug/public/buildDirectCall.d.mts +4 -0
  6. package/dist/autogen/actions/debug/public/index.d.cts +3 -1
  7. package/dist/autogen/actions/debug/public/index.d.mts +3 -1
  8. package/dist/autogen/actions/debug/public/removeHomeTxs.d.cts +4 -0
  9. package/dist/autogen/actions/debug/public/removeHomeTxs.d.mts +4 -0
  10. package/dist/autogen/actions/debug/public/submitDirectCall.d.cts +4 -0
  11. package/dist/autogen/actions/debug/public/submitDirectCall.d.mts +4 -0
  12. package/dist/autogen/actions/public/getHomeTxDir.d.cts +3 -0
  13. package/dist/autogen/actions/public/getHomeTxDir.d.mts +3 -0
  14. package/dist/autogen/actions/public/getHomeTxFlushSeq.d.cts +3 -0
  15. package/dist/autogen/actions/public/getHomeTxFlushSeq.d.mts +3 -0
  16. package/dist/autogen/actions/public/index.d.cts +3 -2
  17. package/dist/autogen/actions/public/index.d.mts +3 -2
  18. package/dist/autogen/actions/public/waitHomeTxChange.d.cts +4 -0
  19. package/dist/autogen/actions/public/waitHomeTxChange.d.mts +4 -0
  20. package/dist/autogen/debugPublicActions.d.cts +6 -2
  21. package/dist/autogen/debugPublicActions.d.mts +6 -2
  22. package/dist/autogen/index.amd.js +7 -4
  23. package/dist/autogen/index.cjs.cjs +7 -4
  24. package/dist/autogen/index.esm.js +5 -3
  25. package/dist/autogen/publicActions.d.cts +4 -2
  26. package/dist/autogen/publicActions.d.mts +4 -2
  27. package/dist/autogen/rpc-api-spec.d.cts +15 -6
  28. package/dist/autogen/rpc-api-spec.d.mts +15 -6
  29. package/dist/autogen/types/consts/tx-type.d.cts +1 -1
  30. package/dist/autogen/types/consts/tx-type.d.mts +1 -1
  31. package/dist/autogen/types/consts/tx-types.d.cts +1 -1
  32. package/dist/autogen/types/consts/tx-types.d.mts +1 -1
  33. package/dist/autogen/types/rpc/index.d.cts +9 -3
  34. package/dist/autogen/types/rpc/index.d.mts +9 -3
  35. package/dist/autogen/types/rpc/params-build-direct-call.d.cts +8 -0
  36. package/dist/autogen/types/rpc/params-build-direct-call.d.mts +8 -0
  37. package/dist/autogen/types/rpc/{params-remove-hold-txs.d.cts → params-remove-home-txs.d.cts} +1 -1
  38. package/dist/autogen/types/rpc/{params-remove-hold-txs.d.mts → params-remove-home-txs.d.mts} +1 -1
  39. package/dist/autogen/types/rpc/params-submit-direct-call.d.cts +4 -0
  40. package/dist/autogen/types/rpc/params-submit-direct-call.d.mts +4 -0
  41. package/dist/autogen/types/rpc/params-wait-home-tx-change.d.cts +4 -0
  42. package/dist/autogen/types/rpc/params-wait-home-tx-change.d.mts +4 -0
  43. package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.cts +5 -0
  44. package/dist/autogen/types/rpc/rpc-build-direct-call-result.d.mts +5 -0
  45. package/dist/autogen/types/rpc/rpc-direct-call-result.d.cts +4 -0
  46. package/dist/autogen/types/rpc/rpc-direct-call-result.d.mts +4 -0
  47. package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.cts +3 -0
  48. package/dist/autogen/types/rpc/rpc-get-home-tx-dir-result.d.mts +3 -0
  49. package/dist/autogen/types/rpc/{rpc-get-hold-tx-flush-seq-result.d.cts → rpc-get-home-tx-flush-seq-result.d.cts} +1 -1
  50. package/dist/autogen/types/rpc/{rpc-get-hold-tx-flush-seq-result.d.mts → rpc-get-home-tx-flush-seq-result.d.mts} +1 -1
  51. package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.cts +5 -0
  52. package/dist/autogen/types/rpc/rpc-wait-home-tx-change-result.d.mts +5 -0
  53. package/dist/autogen/wasm/lclib.wasm +0 -0
  54. package/dist/chunks/{debugWalletActions-WhGBP-BW.cjs → debugWalletActions-BWSVjiFW.cjs} +39 -12
  55. package/dist/chunks/{debugWalletActions-BYqoNvYZ.js → debugWalletActions-DoZUAnEj.js} +39 -12
  56. package/dist/chunks/{debugWalletActions-DNB4coHM.js → debugWalletActions-LMoV1T5I.js} +34 -10
  57. package/dist/chunks/{tx-type-khL8tWtn.cjs → tx-type-CKrHKEwY.cjs} +1 -1
  58. package/dist/chunks/{tx-type-BUN9nEQ6.js → tx-type-CXyml-9n.js} +1 -1
  59. package/dist/chunks/{tx-type-DYAaL3xz.js → tx-type-Dyjdmlv8.js} +1 -1
  60. package/dist/clients/createLocusPublicClient.d.cts +6 -3
  61. package/dist/clients/createLocusPublicClient.d.mts +6 -3
  62. package/dist/clients/index.amd.js +1 -1
  63. package/dist/clients/index.cjs.cjs +1 -1
  64. package/dist/clients/index.esm.js +1 -1
  65. package/dist/constant/index.amd.js +2 -2
  66. package/dist/constant/index.cjs.cjs +2 -2
  67. package/dist/constant/index.d.cts +2 -2
  68. package/dist/constant/index.d.mts +2 -2
  69. package/dist/constant/index.esm.js +2 -2
  70. package/dist/index.amd.js +1 -1
  71. package/dist/index.cjs.cjs +2 -2
  72. package/dist/index.esm.js +2 -2
  73. package/package.json +1 -1
  74. package/dist/autogen/actions/debug/public/removeHoldTxs.d.cts +0 -4
  75. package/dist/autogen/actions/debug/public/removeHoldTxs.d.mts +0 -4
  76. package/dist/autogen/actions/public/getHoldTxDir.d.cts +0 -3
  77. package/dist/autogen/actions/public/getHoldTxDir.d.mts +0 -3
  78. package/dist/autogen/actions/public/getHoldTxFlushSeq.d.cts +0 -3
  79. package/dist/autogen/actions/public/getHoldTxFlushSeq.d.mts +0 -3
  80. package/dist/autogen/types/rpc/rpc-get-hold-tx-dir-result.d.cts +0 -3
  81. package/dist/autogen/types/rpc/rpc-get-hold-tx-dir-result.d.mts +0 -3
@@ -16,6 +16,7 @@ import { ParamsAccount } from './types/rpc/params-account.mjs';
16
16
  import { ParamsAccounts } from './types/rpc/params-accounts.mjs';
17
17
  import { ParamsBecomeGuest } from './types/rpc/params-become-guest.mjs';
18
18
  import { ParamsBecomeHost } from './types/rpc/params-become-host.mjs';
19
+ import { ParamsBuildDirectCall } from './types/rpc/params-build-direct-call.mjs';
19
20
  import { ParamsCalculateAvailableByForwardList } from './types/rpc/params-calculate-available-by-forward-list.mjs';
20
21
  import { ParamsCalculateAvailableByForward } from './types/rpc/params-calculate-available-by-forward.mjs';
21
22
  import { ParamsCallVme } from './types/rpc/params-call-vme.mjs';
@@ -50,7 +51,7 @@ import { ParamsPostDataToSynthAccount } from './types/rpc/params-post-data-to-sy
50
51
  import { ParamsProvideScript } from './types/rpc/params-provide-script.mjs';
51
52
  import { ParamsQueryAddress } from './types/rpc/params-query-address.mjs';
52
53
  import { ParamsReadTxList } from './types/rpc/params-read-tx-list.mjs';
53
- import { ParamsRemoveHoldTxs } from './types/rpc/params-remove-hold-txs.mjs';
54
+ import { ParamsRemoveHomeTxs } from './types/rpc/params-remove-home-txs.mjs';
54
55
  import { ParamsRequestDataTrade } from './types/rpc/params-request-data-trade.mjs';
55
56
  import { ParamsRequestVme } from './types/rpc/params-request-vme.mjs';
56
57
  import { ParamsRoundList } from './types/rpc/params-round-list.mjs';
@@ -60,6 +61,7 @@ import { ParamsSendRawTransaction } from './types/rpc/params-send-raw-transactio
60
61
  import { ParamsSetHost } from './types/rpc/params-set-host.mjs';
61
62
  import { ParamsSetImportAccountTx } from './types/rpc/params-set-import-account-tx.mjs';
62
63
  import { ParamsSetReliableNode } from './types/rpc/params-set-reliable-node.mjs';
64
+ import { ParamsSubmitDirectCall } from './types/rpc/params-submit-direct-call.mjs';
63
65
  import { ParamsSubscribeAddress } from './types/rpc/params-subscribe-address.mjs';
64
66
  import { ParamsTransferAllRes } from './types/rpc/params-transfer-all-res.mjs';
65
67
  import { ParamsTransferAssetObject } from './types/rpc/params-transfer-asset-object.mjs';
@@ -75,14 +77,17 @@ import { ParamsVerifyAndSignChallenge } from './types/rpc/params-verify-and-sign
75
77
  import { ParamsVerifyIdentityProof } from './types/rpc/params-verify-identity-proof.mjs';
76
78
  import { ParamsVerifyProofW } from './types/rpc/params-verify-proof-w.mjs';
77
79
  import { ParamsVmeLog } from './types/rpc/params-vme-log.mjs';
80
+ import { ParamsWaitHomeTxChange } from './types/rpc/params-wait-home-tx-change.mjs';
78
81
  import { ResultDumpAccounts } from './types/rpc/result-dump-accounts.mjs';
79
82
  import { RoundStateDetail } from './types/rpc/round-state-detail.mjs';
80
83
  import { RpcBoolResult } from './types/rpc/rpc-bool-result.mjs';
84
+ import { RpcBuildDirectCallResult } from './types/rpc/rpc-build-direct-call-result.mjs';
81
85
  import { RpcCalculateAvailableByForwardListResult } from './types/rpc/rpc-calculate-available-by-forward-list-result.mjs';
82
86
  import { RpcCalculateAvailableByForwardResult } from './types/rpc/rpc-calculate-available-by-forward-result.mjs';
83
87
  import { RpcCreateAccountResult } from './types/rpc/rpc-create-account-result.mjs';
84
88
  import { RpcCreateNodeResult } from './types/rpc/rpc-create-node-result.mjs';
85
89
  import { RpcCreateTxResult } from './types/rpc/rpc-create-tx-result.mjs';
90
+ import { RpcDirectCallResult } from './types/rpc/rpc-direct-call-result.mjs';
86
91
  import { RpcFindDuplicateSubscriberResult } from './types/rpc/rpc-find-duplicate-subscriber-result.mjs';
87
92
  import { RpcGameChainCmdResult } from './types/rpc/rpc-game-chain-cmd-result.mjs';
88
93
  import { RpcGenerateLatestStoredDataProofResult } from './types/rpc/rpc-generate-latest-stored-data-proof-result.mjs';
@@ -96,9 +101,9 @@ import { RpcGetAccountsHeightsResult } from './types/rpc/rpc-get-accounts-height
96
101
  import { RpcGetConciseNodeStatusResult } from './types/rpc/rpc-get-concise-node-status-result.mjs';
97
102
  import { RpcGetGenesisAccountResult } from './types/rpc/rpc-get-genesis-account-result.mjs';
98
103
  import { RpcGetGuestsInfoResult } from './types/rpc/rpc-get-guests-info-result.mjs';
99
- import { RpcGetHoldTxDirResult } from './types/rpc/rpc-get-hold-tx-dir-result.mjs';
100
- import { RpcGetHoldTxFlushSeqResult } from './types/rpc/rpc-get-hold-tx-flush-seq-result.mjs';
101
104
  import { RpcGetHomeShardResult } from './types/rpc/rpc-get-home-shard-result.mjs';
105
+ import { RpcGetHomeTxDirResult } from './types/rpc/rpc-get-home-tx-dir-result.mjs';
106
+ import { RpcGetHomeTxFlushSeqResult } from './types/rpc/rpc-get-home-tx-flush-seq-result.mjs';
102
107
  import { RpcGetIdentityProofResult } from './types/rpc/rpc-get-identity-proof-result.mjs';
103
108
  import { RpcGetImportAccountResult } from './types/rpc/rpc-get-import-account-result.mjs';
104
109
  import { RpcGetInactiveTxListResult } from './types/rpc/rpc-get-inactive-tx-list-result.mjs';
@@ -128,11 +133,13 @@ import { RpcSubscribeAddressResult } from './types/rpc/rpc-subscribe-address-res
128
133
  import { RpcVerifyAndSignChallengeResult } from './types/rpc/rpc-verify-and-sign-challenge-result.mjs';
129
134
  import { RpcVerifyIdentityProofResult } from './types/rpc/rpc-verify-identity-proof-result.mjs';
130
135
  import { RpcViewVmeResult } from './types/rpc/rpc-view-vme-result.mjs';
136
+ import { RpcWaitHomeTxChangeResult } from './types/rpc/rpc-wait-home-tx-change-result.mjs';
131
137
  import { UploadHeightsResult } from './types/rpc/upload-heights-result.mjs';
132
138
  export interface RpcApiSpec {
133
139
  debug_allHeights(): Promise<RpcAccountHeight[]>;
134
140
  debug_balanceGrantList(): Promise<string[]>;
135
141
  debug_balanceList(): Promise<string[]>;
142
+ debug_buildDirectCall(param: ParamsBuildDirectCall): Promise<RpcBuildDirectCallResult>;
136
143
  debug_callContract(param: ParamsCallVme): Promise<RpcCreateTxResult>;
137
144
  debug_callVme(param: ParamsCallVme): Promise<RpcCreateTxResult>;
138
145
  debug_createAccount(): Promise<RpcCreateAccountResult>;
@@ -158,11 +165,12 @@ export interface RpcApiSpec {
158
165
  debug_noArgsRets(): Promise<any>;
159
166
  debug_nodeCmd(cmd: string): Promise<RpcNodeCmdResult>;
160
167
  debug_postDataToSynthAccount(param: ParamsPostDataToSynthAccount): Promise<RpcCreateTxResult>;
161
- debug_removeHoldTxs(param: ParamsRemoveHoldTxs): Promise<RetTypeBase>;
168
+ debug_removeHomeTxs(param: ParamsRemoveHomeTxs): Promise<RetTypeBase>;
162
169
  debug_requestVme(params: ParamsRequestVme): Promise<RpcRequestVmeResult>;
163
170
  debug_sendRawTransaction(params: ParamsSendRawTransaction): Promise<RpcSendRawTransactionResult>;
164
171
  debug_setImportAccountTx(params: ParamsSetImportAccountTx): Promise<RpcSetImportAccountTxResult>;
165
172
  debug_setReliableNode(param: ParamsSetReliableNode): Promise<RpcBoolResult>;
173
+ debug_submitDirectCall(param: ParamsSubmitDirectCall): Promise<RpcDirectCallResult>;
166
174
  debug_viewVme(param: ParamsCallVme): Promise<RpcViewVmeResult>;
167
175
  locus_acceptScript(params: ParamsAcceptScript): Promise<RpcCreateTxResult>;
168
176
  locus_accountHeightsToDownload(param: ParamsAccountHeights): Promise<HeightsResult>;
@@ -193,8 +201,8 @@ export interface RpcApiSpec {
193
201
  locus_getAccountTokenList(params: ParamsAccount): Promise<RpcGetAccountTokenListResult>;
194
202
  locus_getConciseNodeStatus(): Promise<RpcGetConciseNodeStatusResult>;
195
203
  locus_getGenesisAccount(): Promise<RpcGetGenesisAccountResult>;
196
- locus_getHoldTxDir(): Promise<RpcGetHoldTxDirResult>;
197
- locus_getHoldTxFlushSeq(): Promise<RpcGetHoldTxFlushSeqResult>;
204
+ locus_getHomeTxDir(): Promise<RpcGetHomeTxDirResult>;
205
+ locus_getHomeTxFlushSeq(): Promise<RpcGetHomeTxFlushSeqResult>;
198
206
  locus_getIdentityProof(param: ParamsGetIdentityProof): Promise<RpcGetIdentityProofResult>;
199
207
  locus_getInactiveTxList(param: ParamsAccount): Promise<RpcGetInactiveTxListResult>;
200
208
  locus_getLaunchCommand(): Promise<RpcGetLaunchCommandResult>;
@@ -234,4 +242,5 @@ export interface RpcApiSpec {
234
242
  locus_verifyLatestStoredDataProof(params: ParamsLatestStoredDataProof): Promise<boolean>;
235
243
  locus_verifyProofW(params: ParamsVerifyProofW): Promise<boolean>;
236
244
  locus_verifyTxListWitness(params: ParamsTxListWitness): Promise<boolean>;
245
+ locus_waitHomeTxChange(params: ParamsWaitHomeTxChange): Promise<RpcWaitHomeTxChangeResult>;
237
246
  }
@@ -45,7 +45,7 @@ export declare const TxType: Readonly<{
45
45
  readonly LOCK_STAKE_FOR_VME: "TX_LOCK_STAKE_FOR_VME";
46
46
  readonly ACTIVATE_LOCK_STAKE_FOR_VME: "TX_ACTIVATE_LOCK_STAKE_FOR_VME";
47
47
  readonly UNLOCK_STAKE: "TX_UNLOCK_STAKE";
48
- readonly CREATE_VME_FEE: "TX_CREATE_VME_FEE";
48
+ readonly CREATE_VME: "TX_CREATE_VME";
49
49
  readonly ACTIVATE_OPEN_VME: "TX_ACTIVATE_OPEN_VME";
50
50
  readonly VME_BLOCK: "TX_VME_BLOCK";
51
51
  readonly CALL_VME: "TX_CALL_VME";
@@ -45,7 +45,7 @@ export declare const TxType: Readonly<{
45
45
  readonly LOCK_STAKE_FOR_VME: "TX_LOCK_STAKE_FOR_VME";
46
46
  readonly ACTIVATE_LOCK_STAKE_FOR_VME: "TX_ACTIVATE_LOCK_STAKE_FOR_VME";
47
47
  readonly UNLOCK_STAKE: "TX_UNLOCK_STAKE";
48
- readonly CREATE_VME_FEE: "TX_CREATE_VME_FEE";
48
+ readonly CREATE_VME: "TX_CREATE_VME";
49
49
  readonly ACTIVATE_OPEN_VME: "TX_ACTIVATE_OPEN_VME";
50
50
  readonly VME_BLOCK: "TX_VME_BLOCK";
51
51
  readonly CALL_VME: "TX_CALL_VME";
@@ -216,7 +216,7 @@ export declare const TxTypes: {
216
216
  useGrant: boolean;
217
217
  useFee: boolean;
218
218
  };
219
- TX_CREATE_VME_FEE: {
219
+ TX_CREATE_VME: {
220
220
  fee: string;
221
221
  grant: number;
222
222
  sizeBased: boolean;
@@ -216,7 +216,7 @@ export declare const TxTypes: {
216
216
  useGrant: boolean;
217
217
  useFee: boolean;
218
218
  };
219
- TX_CREATE_VME_FEE: {
219
+ TX_CREATE_VME: {
220
220
  fee: string;
221
221
  grant: number;
222
222
  sizeBased: boolean;
@@ -7,6 +7,7 @@ export * from './params-account-history.cjs';
7
7
  export * from './params-accounts.cjs';
8
8
  export * from './params-become-guest.cjs';
9
9
  export * from './params-become-host.cjs';
10
+ export * from './params-build-direct-call.cjs';
10
11
  export * from './params-calculate-available-by-forward.cjs';
11
12
  export * from './params-calculate-available-by-forward-list.cjs';
12
13
  export * from './params-call-vme.cjs';
@@ -42,7 +43,7 @@ export * from './params-provide-script.cjs';
42
43
  export * from './params-query-address.cjs';
43
44
  export * from './params-rs.cjs';
44
45
  export * from './params-read-tx-list.cjs';
45
- export * from './params-remove-hold-txs.cjs';
46
+ export * from './params-remove-home-txs.cjs';
46
47
  export * from './params-request-data-trade.cjs';
47
48
  export * from './params-request-vme.cjs';
48
49
  export * from './params-round.cjs';
@@ -51,6 +52,7 @@ export * from './params-send-raw-transaction.cjs';
51
52
  export * from './params-set-host.cjs';
52
53
  export * from './params-set-import-account-tx.cjs';
53
54
  export * from './params-set-reliable-node.cjs';
55
+ export * from './params-submit-direct-call.cjs';
54
56
  export * from './params-subscribe-address.cjs';
55
57
  export * from './params-transfer.cjs';
56
58
  export * from './params-transfer-all-res.cjs';
@@ -66,14 +68,17 @@ export * from './params-verify-and-sign-challenge.cjs';
66
68
  export * from './params-verify-identity-proof.cjs';
67
69
  export * from './params-verify-proof-w.cjs';
68
70
  export * from './params-vme-log.cjs';
71
+ export * from './params-wait-home-tx-change.cjs';
69
72
  export * from './result-dump-accounts.cjs';
70
73
  export * from './round-state-detail.cjs';
71
74
  export * from './rpc-bool-result.cjs';
75
+ export * from './rpc-build-direct-call-result.cjs';
72
76
  export * from './rpc-calculate-available-by-forward-list-result.cjs';
73
77
  export * from './rpc-calculate-available-by-forward-result.cjs';
74
78
  export * from './rpc-create-account-result.cjs';
75
79
  export * from './rpc-create-node-result.cjs';
76
80
  export * from './rpc-create-tx-result.cjs';
81
+ export * from './rpc-direct-call-result.cjs';
77
82
  export * from './rpc-find-duplicate-subscriber-result.cjs';
78
83
  export * from './rpc-game-chain-cmd-result.cjs';
79
84
  export * from './rpc-generate-latest-stored-data-proof-result.cjs';
@@ -87,9 +92,9 @@ export * from './rpc-get-accounts-heights-result.cjs';
87
92
  export * from './rpc-get-concise-node-status-result.cjs';
88
93
  export * from './rpc-get-genesis-account-result.cjs';
89
94
  export * from './rpc-get-guests-info-result.cjs';
90
- export * from './rpc-get-hold-tx-dir-result.cjs';
91
- export * from './rpc-get-hold-tx-flush-seq-result.cjs';
92
95
  export * from './rpc-get-home-shard-result.cjs';
96
+ export * from './rpc-get-home-tx-dir-result.cjs';
97
+ export * from './rpc-get-home-tx-flush-seq-result.cjs';
93
98
  export * from './rpc-get-identity-proof-result.cjs';
94
99
  export * from './rpc-get-import-account-result.cjs';
95
100
  export * from './rpc-get-inactive-tx-list-result.cjs';
@@ -119,4 +124,5 @@ export * from './rpc-subscribe-address-result.cjs';
119
124
  export * from './rpc-verify-and-sign-challenge-result.cjs';
120
125
  export * from './rpc-verify-identity-proof-result.cjs';
121
126
  export * from './rpc-view-vme-result.cjs';
127
+ export * from './rpc-wait-home-tx-change-result.cjs';
122
128
  export * from './upload-heights-result.cjs';
@@ -7,6 +7,7 @@ export * from './params-account-history.mjs';
7
7
  export * from './params-accounts.mjs';
8
8
  export * from './params-become-guest.mjs';
9
9
  export * from './params-become-host.mjs';
10
+ export * from './params-build-direct-call.mjs';
10
11
  export * from './params-calculate-available-by-forward.mjs';
11
12
  export * from './params-calculate-available-by-forward-list.mjs';
12
13
  export * from './params-call-vme.mjs';
@@ -42,7 +43,7 @@ export * from './params-provide-script.mjs';
42
43
  export * from './params-query-address.mjs';
43
44
  export * from './params-rs.mjs';
44
45
  export * from './params-read-tx-list.mjs';
45
- export * from './params-remove-hold-txs.mjs';
46
+ export * from './params-remove-home-txs.mjs';
46
47
  export * from './params-request-data-trade.mjs';
47
48
  export * from './params-request-vme.mjs';
48
49
  export * from './params-round.mjs';
@@ -51,6 +52,7 @@ export * from './params-send-raw-transaction.mjs';
51
52
  export * from './params-set-host.mjs';
52
53
  export * from './params-set-import-account-tx.mjs';
53
54
  export * from './params-set-reliable-node.mjs';
55
+ export * from './params-submit-direct-call.mjs';
54
56
  export * from './params-subscribe-address.mjs';
55
57
  export * from './params-transfer.mjs';
56
58
  export * from './params-transfer-all-res.mjs';
@@ -66,14 +68,17 @@ export * from './params-verify-and-sign-challenge.mjs';
66
68
  export * from './params-verify-identity-proof.mjs';
67
69
  export * from './params-verify-proof-w.mjs';
68
70
  export * from './params-vme-log.mjs';
71
+ export * from './params-wait-home-tx-change.mjs';
69
72
  export * from './result-dump-accounts.mjs';
70
73
  export * from './round-state-detail.mjs';
71
74
  export * from './rpc-bool-result.mjs';
75
+ export * from './rpc-build-direct-call-result.mjs';
72
76
  export * from './rpc-calculate-available-by-forward-list-result.mjs';
73
77
  export * from './rpc-calculate-available-by-forward-result.mjs';
74
78
  export * from './rpc-create-account-result.mjs';
75
79
  export * from './rpc-create-node-result.mjs';
76
80
  export * from './rpc-create-tx-result.mjs';
81
+ export * from './rpc-direct-call-result.mjs';
77
82
  export * from './rpc-find-duplicate-subscriber-result.mjs';
78
83
  export * from './rpc-game-chain-cmd-result.mjs';
79
84
  export * from './rpc-generate-latest-stored-data-proof-result.mjs';
@@ -87,9 +92,9 @@ export * from './rpc-get-accounts-heights-result.mjs';
87
92
  export * from './rpc-get-concise-node-status-result.mjs';
88
93
  export * from './rpc-get-genesis-account-result.mjs';
89
94
  export * from './rpc-get-guests-info-result.mjs';
90
- export * from './rpc-get-hold-tx-dir-result.mjs';
91
- export * from './rpc-get-hold-tx-flush-seq-result.mjs';
92
95
  export * from './rpc-get-home-shard-result.mjs';
96
+ export * from './rpc-get-home-tx-dir-result.mjs';
97
+ export * from './rpc-get-home-tx-flush-seq-result.mjs';
93
98
  export * from './rpc-get-identity-proof-result.mjs';
94
99
  export * from './rpc-get-import-account-result.mjs';
95
100
  export * from './rpc-get-inactive-tx-list-result.mjs';
@@ -119,4 +124,5 @@ export * from './rpc-subscribe-address-result.mjs';
119
124
  export * from './rpc-verify-and-sign-challenge-result.mjs';
120
125
  export * from './rpc-verify-identity-proof-result.mjs';
121
126
  export * from './rpc-view-vme-result.mjs';
127
+ export * from './rpc-wait-home-tx-change-result.mjs';
122
128
  export * from './upload-heights-result.mjs';
@@ -0,0 +1,8 @@
1
+ export type ParamsBuildDirectCall = {
2
+ callerAccount: string;
3
+ vmeId: string;
4
+ subId: string;
5
+ nonce: number;
6
+ deadline: number;
7
+ callData: string;
8
+ };
@@ -0,0 +1,8 @@
1
+ export type ParamsBuildDirectCall = {
2
+ callerAccount: string;
3
+ vmeId: string;
4
+ subId: string;
5
+ nonce: number;
6
+ deadline: number;
7
+ callData: string;
8
+ };
@@ -1,4 +1,4 @@
1
- export type ParamsRemoveHoldTxs = {
1
+ export type ParamsRemoveHomeTxs = {
2
2
  account: string;
3
3
  height: number;
4
4
  count: number;
@@ -1,4 +1,4 @@
1
- export type ParamsRemoveHoldTxs = {
1
+ export type ParamsRemoveHomeTxs = {
2
2
  account: string;
3
3
  height: number;
4
4
  count: number;
@@ -0,0 +1,4 @@
1
+ export type ParamsSubmitDirectCall = {
2
+ request: string;
3
+ sign: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export type ParamsSubmitDirectCall = {
2
+ request: string;
3
+ sign: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export type ParamsWaitHomeTxChange = {
2
+ sinceSeq: number;
3
+ timeoutMs: number;
4
+ };
@@ -0,0 +1,4 @@
1
+ export type ParamsWaitHomeTxChange = {
2
+ sinceSeq: number;
3
+ timeoutMs: number;
4
+ };
@@ -0,0 +1,5 @@
1
+ export type RpcBuildDirectCallResult = {
2
+ signableHash: string;
3
+ request: string;
4
+ proofRound: number;
5
+ };
@@ -0,0 +1,5 @@
1
+ export type RpcBuildDirectCallResult = {
2
+ signableHash: string;
3
+ request: string;
4
+ proofRound: number;
5
+ };
@@ -0,0 +1,4 @@
1
+ export type RpcDirectCallResult = {
2
+ accepted: boolean;
3
+ error: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export type RpcDirectCallResult = {
2
+ accepted: boolean;
3
+ error: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ export type RpcGetHomeTxDirResult = {
2
+ dir: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ export type RpcGetHomeTxDirResult = {
2
+ dir: string;
3
+ };
@@ -1,4 +1,4 @@
1
- export type RpcGetHoldTxFlushSeqResult = {
1
+ export type RpcGetHomeTxFlushSeqResult = {
2
2
  flushSeq: number;
3
3
  lastFlushUnixMs: number;
4
4
  };
@@ -1,4 +1,4 @@
1
- export type RpcGetHoldTxFlushSeqResult = {
1
+ export type RpcGetHomeTxFlushSeqResult = {
2
2
  flushSeq: number;
3
3
  lastFlushUnixMs: number;
4
4
  };
@@ -0,0 +1,5 @@
1
+ export type RpcWaitHomeTxChangeResult = {
2
+ flushSeq: number;
3
+ lastFlushUnixMs: number;
4
+ changed: boolean;
5
+ };
@@ -0,0 +1,5 @@
1
+ export type RpcWaitHomeTxChangeResult = {
2
+ flushSeq: number;
3
+ lastFlushUnixMs: number;
4
+ changed: boolean;
5
+ };
Binary file
@@ -117,16 +117,16 @@ function getGenesisAccount(client) {
117
117
  }
118
118
 
119
119
  // Automatically generated file. DO NOT EDIT.
120
- function getHoldTxDir(client) {
120
+ function getHomeTxDir(client) {
121
121
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
122
- return client.request({ method: 'locus_getHoldTxDir', params: [] });
122
+ return client.request({ method: 'locus_getHomeTxDir', params: [] });
123
123
  });
124
124
  }
125
125
 
126
126
  // Automatically generated file. DO NOT EDIT.
127
- function getHoldTxFlushSeq(client) {
127
+ function getHomeTxFlushSeq(client) {
128
128
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
129
- return client.request({ method: 'locus_getHoldTxFlushSeq', params: [] });
129
+ return client.request({ method: 'locus_getHomeTxFlushSeq', params: [] });
130
130
  });
131
131
  }
132
132
 
@@ -326,6 +326,13 @@ function verifyTxListWitness(client, params) {
326
326
  });
327
327
  }
328
328
 
329
+ // Automatically generated file. DO NOT EDIT.
330
+ function waitHomeTxChange(client, params) {
331
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
332
+ return client.request({ method: 'locus_waitHomeTxChange', params: [params] });
333
+ });
334
+ }
335
+
329
336
  // Automatically generated file. DO NOT EDIT.
330
337
  const publicActions = (client) => ({
331
338
  accountHeightsToDownload: (param) => accountHeightsToDownload(client, param),
@@ -344,8 +351,8 @@ const publicActions = (client) => ({
344
351
  getAccountTokenList: (params) => getAccountTokenList(client, params),
345
352
  getConciseNodeStatus: () => getConciseNodeStatus(client),
346
353
  getGenesisAccount: () => getGenesisAccount(client),
347
- getHoldTxDir: () => getHoldTxDir(client),
348
- getHoldTxFlushSeq: () => getHoldTxFlushSeq(client),
354
+ getHomeTxDir: () => getHomeTxDir(client),
355
+ getHomeTxFlushSeq: () => getHomeTxFlushSeq(client),
349
356
  getIdentityProof: (param) => getIdentityProof(client, param),
350
357
  getInactiveTxList: (param) => getInactiveTxList(client, param),
351
358
  getLaunchCommand: () => getLaunchCommand(client),
@@ -374,6 +381,7 @@ const publicActions = (client) => ({
374
381
  verifyLatestStoredDataProof: (params) => verifyLatestStoredDataProof(client, params),
375
382
  verifyProofW: (params) => verifyProofW(client, params),
376
383
  verifyTxListWitness: (params) => verifyTxListWitness(client, params),
384
+ waitHomeTxChange: (params) => waitHomeTxChange(client, params),
377
385
  });
378
386
 
379
387
  /**
@@ -754,6 +762,13 @@ function balanceList(client) {
754
762
  });
755
763
  }
756
764
 
765
+ // Automatically generated file. DO NOT EDIT.
766
+ function buildDirectCall(client, param) {
767
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
768
+ return client.request({ method: 'debug_buildDirectCall', params: [param] });
769
+ });
770
+ }
771
+
757
772
  // Automatically generated file. DO NOT EDIT.
758
773
  function createAccount(client) {
759
774
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -895,9 +910,9 @@ function nodeCmd(client, cmd) {
895
910
  }
896
911
 
897
912
  // Automatically generated file. DO NOT EDIT.
898
- function removeHoldTxs(client, param) {
913
+ function removeHomeTxs(client, param) {
899
914
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
900
- return client.request({ method: 'debug_removeHoldTxs', params: [param] });
915
+ return client.request({ method: 'debug_removeHomeTxs', params: [param] });
901
916
  });
902
917
  }
903
918
 
@@ -929,6 +944,13 @@ function setReliableNode(client, param) {
929
944
  });
930
945
  }
931
946
 
947
+ // Automatically generated file. DO NOT EDIT.
948
+ function submitDirectCall(client, param) {
949
+ return tslib_es6.__awaiter(this, void 0, void 0, function* () {
950
+ return client.request({ method: 'debug_submitDirectCall', params: [param] });
951
+ });
952
+ }
953
+
932
954
  // Automatically generated file. DO NOT EDIT.
933
955
  function viewVme(client, param) {
934
956
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
@@ -941,6 +963,7 @@ const debugPublicActions = (client) => ({
941
963
  allHeights: () => allHeights(client),
942
964
  balanceGrantList: () => balanceGrantList(client),
943
965
  balanceList: () => balanceList(client),
966
+ buildDirectCall: (param) => buildDirectCall(client, param),
944
967
  createAccount: () => createAccount(client),
945
968
  createNode: (param) => createNode(client, param),
946
969
  dumpAllAccounts: () => dumpAllAccounts(client),
@@ -961,11 +984,12 @@ const debugPublicActions = (client) => ({
961
984
  initReliableNodes: (param) => initReliableNodes(client, param),
962
985
  noArgsRets: () => noArgsRets(client),
963
986
  nodeCmd: (cmd) => nodeCmd(client, cmd),
964
- removeHoldTxs: (param) => removeHoldTxs(client, param),
987
+ removeHomeTxs: (param) => removeHomeTxs(client, param),
965
988
  requestVme: (params) => requestVme(client, params),
966
989
  sendRawTransaction: (params) => sendRawTransaction(client, params),
967
990
  setImportAccountTx: (params) => setImportAccountTx(client, params),
968
991
  setReliableNode: (param) => setReliableNode(client, param),
992
+ submitDirectCall: (param) => submitDirectCall(client, param),
969
993
  viewVme: (param) => viewVme(client, param),
970
994
  });
971
995
 
@@ -1031,6 +1055,7 @@ exports.balanceGrantList = balanceGrantList;
1031
1055
  exports.balanceList = balanceList;
1032
1056
  exports.becomeGuest = becomeGuest;
1033
1057
  exports.becomeHost = becomeHost;
1058
+ exports.buildDirectCall = buildDirectCall;
1034
1059
  exports.calculateAvailableByForward = calculateAvailableByForward;
1035
1060
  exports.calculateAvailableByForwardList = calculateAvailableByForwardList;
1036
1061
  exports.callContract = callContract;
@@ -1069,9 +1094,9 @@ exports.getAccountsHeights = getAccountsHeights;
1069
1094
  exports.getConciseNodeStatus = getConciseNodeStatus;
1070
1095
  exports.getGenesisAccount = getGenesisAccount;
1071
1096
  exports.getGuestsInfo = getGuestsInfo;
1072
- exports.getHoldTxDir = getHoldTxDir;
1073
- exports.getHoldTxFlushSeq = getHoldTxFlushSeq;
1074
1097
  exports.getHomeShard = getHomeShard;
1098
+ exports.getHomeTxDir = getHomeTxDir;
1099
+ exports.getHomeTxFlushSeq = getHomeTxFlushSeq;
1075
1100
  exports.getIdentityProof = getIdentityProof;
1076
1101
  exports.getImportAccount = getImportAccount;
1077
1102
  exports.getImportAccountLog = getImportAccountLog;
@@ -1107,7 +1132,7 @@ exports.provideScript = provideScript;
1107
1132
  exports.publicActions = publicActions;
1108
1133
  exports.queryAddress = queryAddress;
1109
1134
  exports.readTxListWitness = readTxListWitness;
1110
- exports.removeHoldTxs = removeHoldTxs;
1135
+ exports.removeHomeTxs = removeHomeTxs;
1111
1136
  exports.requestDataTrade = requestDataTrade;
1112
1137
  exports.requestVme = requestVme;
1113
1138
  exports.sendRawTransaction = sendRawTransaction;
@@ -1115,6 +1140,7 @@ exports.setHost = setHost;
1115
1140
  exports.setImportAccountTx = setImportAccountTx;
1116
1141
  exports.setReliableNode = setReliableNode;
1117
1142
  exports.shutdown = shutdown;
1143
+ exports.submitDirectCall = submitDirectCall;
1118
1144
  exports.subscribeAddress = subscribeAddress;
1119
1145
  exports.transfer = transfer;
1120
1146
  exports.transferAllRes = transferAllRes;
@@ -1130,4 +1156,5 @@ exports.verifyLatestStoredDataProof = verifyLatestStoredDataProof;
1130
1156
  exports.verifyProofW = verifyProofW;
1131
1157
  exports.verifyTxListWitness = verifyTxListWitness;
1132
1158
  exports.viewVme = viewVme;
1159
+ exports.waitHomeTxChange = waitHomeTxChange;
1133
1160
  exports.walletActions = walletActions;