@iota/isc-sdk 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 (75) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +39 -0
  3. package/README.md +2 -2
  4. package/dist/cjs/api/EvmRpcClient.d.ts +1 -0
  5. package/dist/cjs/api/EvmRpcClient.d.ts.map +1 -0
  6. package/dist/cjs/api/index.d.ts +1 -0
  7. package/dist/cjs/api/index.d.ts.map +1 -0
  8. package/dist/cjs/bcs.d.ts +457 -813
  9. package/dist/cjs/bcs.d.ts.map +1 -0
  10. package/dist/cjs/constants.d.ts +1 -0
  11. package/dist/cjs/constants.d.ts.map +1 -0
  12. package/dist/cjs/enums/contracts.enums.d.ts +1 -0
  13. package/dist/cjs/enums/contracts.enums.d.ts.map +1 -0
  14. package/dist/cjs/enums/index.d.ts +1 -0
  15. package/dist/cjs/enums/index.d.ts.map +1 -0
  16. package/dist/cjs/index.d.ts +1 -0
  17. package/dist/cjs/index.d.ts.map +1 -0
  18. package/dist/cjs/isc.d.ts +1 -0
  19. package/dist/cjs/isc.d.ts.map +1 -0
  20. package/dist/cjs/move_bcs.d.ts +62 -101
  21. package/dist/cjs/move_bcs.d.ts.map +1 -0
  22. package/dist/cjs/transaction.d.ts +1 -0
  23. package/dist/cjs/transaction.d.ts.map +1 -0
  24. package/dist/cjs/types/assetsResponse.d.ts +1 -0
  25. package/dist/cjs/types/assetsResponse.d.ts.map +1 -0
  26. package/dist/cjs/types/chainData.d.ts +1 -0
  27. package/dist/cjs/types/chainData.d.ts.map +1 -0
  28. package/dist/cjs/types/index.d.ts +1 -0
  29. package/dist/cjs/types/index.d.ts.map +1 -0
  30. package/dist/cjs/utils/getHname.d.ts +1 -0
  31. package/dist/cjs/utils/getHname.d.ts.map +1 -0
  32. package/dist/cjs/utils/index.d.ts +1 -0
  33. package/dist/cjs/utils/index.d.ts.map +1 -0
  34. package/dist/esm/api/EvmRpcClient.d.ts +1 -0
  35. package/dist/esm/api/EvmRpcClient.d.ts.map +1 -0
  36. package/dist/esm/api/index.d.ts +1 -0
  37. package/dist/esm/api/index.d.ts.map +1 -0
  38. package/dist/esm/bcs.d.ts +457 -813
  39. package/dist/esm/bcs.d.ts.map +1 -0
  40. package/dist/esm/constants.d.ts +1 -0
  41. package/dist/esm/constants.d.ts.map +1 -0
  42. package/dist/esm/enums/contracts.enums.d.ts +1 -0
  43. package/dist/esm/enums/contracts.enums.d.ts.map +1 -0
  44. package/dist/esm/enums/index.d.ts +1 -0
  45. package/dist/esm/enums/index.d.ts.map +1 -0
  46. package/dist/esm/index.d.ts +1 -0
  47. package/dist/esm/index.d.ts.map +1 -0
  48. package/dist/esm/isc.d.ts +1 -0
  49. package/dist/esm/isc.d.ts.map +1 -0
  50. package/dist/esm/move_bcs.d.ts +62 -101
  51. package/dist/esm/move_bcs.d.ts.map +1 -0
  52. package/dist/esm/transaction.d.ts +1 -0
  53. package/dist/esm/transaction.d.ts.map +1 -0
  54. package/dist/esm/types/assetsResponse.d.ts +1 -0
  55. package/dist/esm/types/assetsResponse.d.ts.map +1 -0
  56. package/dist/esm/types/chainData.d.ts +1 -0
  57. package/dist/esm/types/chainData.d.ts.map +1 -0
  58. package/dist/esm/types/index.d.ts +1 -0
  59. package/dist/esm/types/index.d.ts.map +1 -0
  60. package/dist/esm/utils/getHname.d.ts +1 -0
  61. package/dist/esm/utils/getHname.d.ts.map +1 -0
  62. package/dist/esm/utils/index.d.ts +1 -0
  63. package/dist/esm/utils/index.d.ts.map +1 -0
  64. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  65. package/dist/tsconfig.tsbuildinfo +1 -1
  66. package/examples/L1AddressL2funds.ts +3 -0
  67. package/examples/anchor.ts +3 -0
  68. package/examples/assetsBag.ts +3 -0
  69. package/examples/tokens.ts +3 -0
  70. package/package.json +6 -6
  71. package/tests/L1ToL2Tokens.spec.ts +5 -2
  72. package/tests/getHname.spec.ts +3 -0
  73. package/tests/utils.ts +5 -2
  74. package/typedoc.json +6 -0
  75. package/vitest.config.ts +3 -0
package/dist/esm/bcs.d.ts CHANGED
@@ -1,617 +1,365 @@
1
- export declare const IotagoObjectRef: import("@iota/iota-sdk/bcs").BcsType<{
2
- objectID: number[];
3
- version: string;
4
- digest: number[];
5
- }, {
6
- objectID: Iterable<number> & {
1
+ export declare const IotagoObjectRef: import("@iota/iota-sdk/bcs").BcsStruct<{
2
+ objectID: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
7
3
  length: number;
8
- };
9
- version: string | number | bigint;
10
- digest: Iterable<number> & {
11
- length: number;
12
- };
13
- }>;
14
- export declare const IscmoveAssetsBag: import("@iota/iota-sdk/bcs").BcsType<{
15
- iD: number[];
16
- size: string;
17
- }, {
18
- iD: Iterable<number> & {
4
+ }, string>;
5
+ version: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
6
+ digest: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
19
7
  length: number;
20
- };
21
- size: string | number | bigint;
22
- }>;
23
- export declare const IscAssets: import("@iota/iota-sdk/bcs").BcsType<{
24
- coins: Map<string, string>;
25
- objects: Map<number[], string>;
26
- }, {
27
- coins: Map<string, string | number | bigint>;
28
- objects: Map<Iterable<number> & {
8
+ }, string>;
9
+ }, string>;
10
+ export declare const IscmoveAssetsBag: import("@iota/iota-sdk/bcs").BcsStruct<{
11
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
29
12
  length: number;
30
13
  }, string>;
31
- }>;
32
- export declare const IscmoveReferent_AssetsBag: import("@iota/iota-sdk/bcs").BcsType<{
33
- iD: number[];
34
- value: {
35
- iD: number[];
36
- size: string;
37
- };
38
- }, {
39
- iD: Iterable<number> & {
14
+ size: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
15
+ }, string>;
16
+ export declare const IscAssets: import("@iota/iota-sdk/bcs").BcsStruct<{
17
+ coins: import("@iota/iota-sdk/bcs").BcsType<Map<string, string>, Map<string, string | number | bigint>, `Map<${string}, u64>`>;
18
+ objects: import("@iota/iota-sdk/bcs").BcsType<Map<number[], string>, Map<Iterable<number> & {
40
19
  length: number;
41
- };
42
- value: {
43
- iD: Iterable<number> & {
20
+ }, string>, `Map<${string}, ${string}>`>;
21
+ }, string>;
22
+ export declare const IscmoveReferent_AssetsBag: import("@iota/iota-sdk/bcs").BcsStruct<{
23
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
24
+ length: number;
25
+ }, string>;
26
+ value: import("@iota/iota-sdk/bcs").BcsStruct<{
27
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
44
28
  length: number;
45
- };
46
- size: string | number | bigint;
47
- };
48
- }>;
49
- export declare const IscmoveAnchor: import("@iota/iota-sdk/bcs").BcsType<{
50
- iD: number[];
51
- assets: {
52
- iD: number[];
53
- value: {
54
- iD: number[];
55
- size: string;
56
- };
57
- };
58
- stateMetadata: number[];
59
- stateIndex: number;
60
- }, {
61
- iD: Iterable<number> & {
29
+ }, string>;
30
+ size: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
31
+ }, string>;
32
+ }, string>;
33
+ export declare const IscmoveAnchor: import("@iota/iota-sdk/bcs").BcsStruct<{
34
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
62
35
  length: number;
63
- };
64
- assets: {
65
- iD: Iterable<number> & {
36
+ }, string>;
37
+ assets: import("@iota/iota-sdk/bcs").BcsStruct<{
38
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
66
39
  length: number;
67
- };
68
- value: {
69
- iD: Iterable<number> & {
40
+ }, string>;
41
+ value: import("@iota/iota-sdk/bcs").BcsStruct<{
42
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
70
43
  length: number;
71
- };
72
- size: string | number | bigint;
73
- };
74
- };
75
- stateMetadata: Iterable<number> & {
44
+ }, string>;
45
+ size: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
46
+ }, string>;
47
+ }, string>;
48
+ stateMetadata: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
76
49
  length: number;
77
- };
78
- stateIndex: number;
79
- }>;
80
- export declare const IscmoveRefWithObject_Anchor: import("@iota/iota-sdk/bcs").BcsType<{
81
- objectRef: {
82
- objectID: number[];
83
- version: string;
84
- digest: number[];
85
- };
86
- object: {
87
- iD: number[];
88
- assets: {
89
- iD: number[];
90
- value: {
91
- iD: number[];
92
- size: string;
93
- };
94
- };
95
- stateMetadata: number[];
96
- stateIndex: number;
97
- };
98
- owner: number[];
99
- }, {
100
- objectRef: {
101
- objectID: Iterable<number> & {
50
+ }, string>;
51
+ stateIndex: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
52
+ }, string>;
53
+ export declare const IscmoveRefWithObject_Anchor: import("@iota/iota-sdk/bcs").BcsStruct<{
54
+ objectRef: import("@iota/iota-sdk/bcs").BcsStruct<{
55
+ objectID: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
102
56
  length: number;
103
- };
104
- version: string | number | bigint;
105
- digest: Iterable<number> & {
57
+ }, string>;
58
+ version: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
59
+ digest: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
106
60
  length: number;
107
- };
108
- };
109
- object: {
110
- iD: Iterable<number> & {
61
+ }, string>;
62
+ }, string>;
63
+ object: import("@iota/iota-sdk/bcs").BcsStruct<{
64
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
111
65
  length: number;
112
- };
113
- assets: {
114
- iD: Iterable<number> & {
66
+ }, string>;
67
+ assets: import("@iota/iota-sdk/bcs").BcsStruct<{
68
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
115
69
  length: number;
116
- };
117
- value: {
118
- iD: Iterable<number> & {
70
+ }, string>;
71
+ value: import("@iota/iota-sdk/bcs").BcsStruct<{
72
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
119
73
  length: number;
120
- };
121
- size: string | number | bigint;
122
- };
123
- };
124
- stateMetadata: Iterable<number> & {
74
+ }, string>;
75
+ size: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
76
+ }, string>;
77
+ }, string>;
78
+ stateMetadata: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
125
79
  length: number;
126
- };
127
- stateIndex: number;
128
- };
129
- owner: Iterable<number> & {
80
+ }, string>;
81
+ stateIndex: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
82
+ }, string>;
83
+ owner: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
130
84
  length: number;
131
- };
132
- }>;
133
- export declare const IscStateAnchor: import("@iota/iota-sdk/bcs").BcsType<{
134
- anchor: {
135
- objectRef: {
136
- objectID: number[];
137
- version: string;
138
- digest: number[];
139
- };
140
- object: {
141
- iD: number[];
142
- assets: {
143
- iD: number[];
144
- value: {
145
- iD: number[];
146
- size: string;
147
- };
148
- };
149
- stateMetadata: number[];
150
- stateIndex: number;
151
- };
152
- owner: number[];
153
- };
154
- iscPackage: number[];
155
- }, {
156
- anchor: {
157
- objectRef: {
158
- objectID: Iterable<number> & {
85
+ }, string>;
86
+ }, string>;
87
+ export declare const IscStateAnchor: import("@iota/iota-sdk/bcs").BcsStruct<{
88
+ anchor: import("@iota/iota-sdk/bcs").BcsStruct<{
89
+ objectRef: import("@iota/iota-sdk/bcs").BcsStruct<{
90
+ objectID: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
159
91
  length: number;
160
- };
161
- version: string | number | bigint;
162
- digest: Iterable<number> & {
92
+ }, string>;
93
+ version: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
94
+ digest: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
163
95
  length: number;
164
- };
165
- };
166
- object: {
167
- iD: Iterable<number> & {
96
+ }, string>;
97
+ }, string>;
98
+ object: import("@iota/iota-sdk/bcs").BcsStruct<{
99
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
168
100
  length: number;
169
- };
170
- assets: {
171
- iD: Iterable<number> & {
101
+ }, string>;
102
+ assets: import("@iota/iota-sdk/bcs").BcsStruct<{
103
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
172
104
  length: number;
173
- };
174
- value: {
175
- iD: Iterable<number> & {
105
+ }, string>;
106
+ value: import("@iota/iota-sdk/bcs").BcsStruct<{
107
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
176
108
  length: number;
177
- };
178
- size: string | number | bigint;
179
- };
180
- };
181
- stateMetadata: Iterable<number> & {
109
+ }, string>;
110
+ size: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
111
+ }, string>;
112
+ }, string>;
113
+ stateMetadata: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
182
114
  length: number;
183
- };
184
- stateIndex: number;
185
- };
186
- owner: Iterable<number> & {
115
+ }, string>;
116
+ stateIndex: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
117
+ }, string>;
118
+ owner: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
187
119
  length: number;
188
- };
189
- };
190
- iscPackage: Iterable<number> & {
120
+ }, string>;
121
+ }, string>;
122
+ iscPackage: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
191
123
  length: number;
192
- };
193
- }>;
194
- export declare const CoinType: import("@iota/iota-sdk/bcs").BcsType<{
195
- s: string;
196
- }, {
197
- s: string;
198
- }>;
199
- export declare const ParametersBaseToken: import("@iota/iota-sdk/bcs").BcsType<{
200
- name: string;
201
- tickerSymbol: string;
202
- unit: string;
203
- subunit: string;
204
- decimals: number;
205
- useMetricPrefix: boolean;
206
- coinType: {
207
- s: string;
208
- };
209
- totalSupply: string;
210
- }, {
211
- name: string;
212
- tickerSymbol: string;
213
- unit: string;
214
- subunit: string;
215
- decimals: number;
216
- useMetricPrefix: boolean;
217
- coinType: {
218
- s: string;
219
- };
220
- totalSupply: string | number | bigint;
221
- }>;
222
- export declare const IotajsonrpcBigInt: import("@iota/iota-sdk/bcs").BcsType<{
223
- int: string;
224
- }, {
225
- int: string | number | bigint;
226
- }>;
227
- export declare const ParametersProtocol: import("@iota/iota-sdk/bcs").BcsType<{
228
- epoch: {
229
- int: string;
230
- };
231
- protocolVersion: {
232
- int: string;
233
- };
234
- systemStateVersion: {
235
- int: string;
236
- };
237
- iotaTotalSupply: {
238
- int: string;
239
- };
240
- referenceGasPrice: {
241
- int: string;
242
- };
243
- epochStartTimestampMs: {
244
- int: string;
245
- };
246
- epochDurationMs: {
247
- int: string;
248
- };
249
- }, {
250
- epoch: {
251
- int: string | number | bigint;
252
- };
253
- protocolVersion: {
254
- int: string | number | bigint;
255
- };
256
- systemStateVersion: {
257
- int: string | number | bigint;
258
- };
259
- iotaTotalSupply: {
260
- int: string | number | bigint;
261
- };
262
- referenceGasPrice: {
263
- int: string | number | bigint;
264
- };
265
- epochStartTimestampMs: {
266
- int: string | number | bigint;
267
- };
268
- epochDurationMs: {
269
- int: string | number | bigint;
270
- };
271
- }>;
272
- export declare const ParametersL1Params: import("@iota/iota-sdk/bcs").BcsType<{
273
- protocol: {
274
- epoch: {
275
- int: string;
276
- };
277
- protocolVersion: {
278
- int: string;
279
- };
280
- systemStateVersion: {
281
- int: string;
282
- };
283
- iotaTotalSupply: {
284
- int: string;
285
- };
286
- referenceGasPrice: {
287
- int: string;
288
- };
289
- epochStartTimestampMs: {
290
- int: string;
291
- };
292
- epochDurationMs: {
293
- int: string;
294
- };
295
- };
296
- baseToken: {
297
- name: string;
298
- tickerSymbol: string;
299
- unit: string;
300
- subunit: string;
301
- decimals: number;
302
- useMetricPrefix: boolean;
303
- coinType: {
304
- s: string;
305
- };
306
- totalSupply: string;
307
- };
308
- }, {
309
- protocol: {
310
- epoch: {
311
- int: string | number | bigint;
312
- };
313
- protocolVersion: {
314
- int: string | number | bigint;
315
- };
316
- systemStateVersion: {
317
- int: string | number | bigint;
318
- };
319
- iotaTotalSupply: {
320
- int: string | number | bigint;
321
- };
322
- referenceGasPrice: {
323
- int: string | number | bigint;
324
- };
325
- epochStartTimestampMs: {
326
- int: string | number | bigint;
327
- };
328
- epochDurationMs: {
329
- int: string | number | bigint;
330
- };
331
- };
332
- baseToken: {
333
- name: string;
334
- tickerSymbol: string;
335
- unit: string;
336
- subunit: string;
337
- decimals: number;
338
- useMetricPrefix: boolean;
339
- coinType: {
340
- s: string;
341
- };
342
- totalSupply: string | number | bigint;
343
- };
344
- }>;
345
- export declare const BlocklogBlockInfo: import("@iota/iota-sdk/bcs").BcsType<{
346
- schemaVersion: number;
347
- blockIndex: number;
348
- timestamp: string;
349
- previousAnchor: {
350
- anchor: {
351
- objectRef: {
352
- objectID: number[];
353
- version: string;
354
- digest: number[];
355
- };
356
- object: {
357
- iD: number[];
358
- assets: {
359
- iD: number[];
360
- value: {
361
- iD: number[];
362
- size: string;
363
- };
364
- };
365
- stateMetadata: number[];
366
- stateIndex: number;
367
- };
368
- owner: number[];
369
- };
370
- iscPackage: number[];
371
- };
372
- l1Params: {
373
- protocol: {
374
- epoch: {
375
- int: string;
376
- };
377
- protocolVersion: {
378
- int: string;
379
- };
380
- systemStateVersion: {
381
- int: string;
382
- };
383
- iotaTotalSupply: {
384
- int: string;
385
- };
386
- referenceGasPrice: {
387
- int: string;
388
- };
389
- epochStartTimestampMs: {
390
- int: string;
391
- };
392
- epochDurationMs: {
393
- int: string;
394
- };
395
- };
396
- baseToken: {
397
- name: string;
398
- tickerSymbol: string;
399
- unit: string;
400
- subunit: string;
401
- decimals: number;
402
- useMetricPrefix: boolean;
403
- coinType: {
404
- s: string;
405
- };
406
- totalSupply: string;
407
- };
408
- };
409
- totalRequests: number;
410
- numSuccessfulRequests: number;
411
- numOffLedgerRequests: number;
412
- gasBurned: string;
413
- gasFeeCharged: string;
414
- }, {
415
- schemaVersion: number;
416
- blockIndex: number;
417
- timestamp: string | number | bigint;
418
- previousAnchor: {
419
- anchor: {
420
- objectRef: {
421
- objectID: Iterable<number> & {
124
+ }, string>;
125
+ }, string>;
126
+ export declare const CoinType: import("@iota/iota-sdk/bcs").BcsStruct<{
127
+ s: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
128
+ }, string>;
129
+ export declare const ParametersBaseToken: import("@iota/iota-sdk/bcs").BcsStruct<{
130
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
131
+ tickerSymbol: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
132
+ unit: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
133
+ subunit: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
134
+ decimals: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
135
+ useMetricPrefix: import("@iota/iota-sdk/bcs").BcsType<boolean, boolean, "bool">;
136
+ coinType: import("@iota/iota-sdk/bcs").BcsStruct<{
137
+ s: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
138
+ }, string>;
139
+ totalSupply: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
140
+ }, string>;
141
+ export declare const IotajsonrpcBigInt: import("@iota/iota-sdk/bcs").BcsStruct<{
142
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
143
+ }, string>;
144
+ export declare const ParametersProtocol: import("@iota/iota-sdk/bcs").BcsStruct<{
145
+ epoch: import("@iota/iota-sdk/bcs").BcsStruct<{
146
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
147
+ }, string>;
148
+ protocolVersion: import("@iota/iota-sdk/bcs").BcsStruct<{
149
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
150
+ }, string>;
151
+ systemStateVersion: import("@iota/iota-sdk/bcs").BcsStruct<{
152
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
153
+ }, string>;
154
+ iotaTotalSupply: import("@iota/iota-sdk/bcs").BcsStruct<{
155
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
156
+ }, string>;
157
+ referenceGasPrice: import("@iota/iota-sdk/bcs").BcsStruct<{
158
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
159
+ }, string>;
160
+ epochStartTimestampMs: import("@iota/iota-sdk/bcs").BcsStruct<{
161
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
162
+ }, string>;
163
+ epochDurationMs: import("@iota/iota-sdk/bcs").BcsStruct<{
164
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
165
+ }, string>;
166
+ }, string>;
167
+ export declare const ParametersL1Params: import("@iota/iota-sdk/bcs").BcsStruct<{
168
+ protocol: import("@iota/iota-sdk/bcs").BcsStruct<{
169
+ epoch: import("@iota/iota-sdk/bcs").BcsStruct<{
170
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
171
+ }, string>;
172
+ protocolVersion: import("@iota/iota-sdk/bcs").BcsStruct<{
173
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
174
+ }, string>;
175
+ systemStateVersion: import("@iota/iota-sdk/bcs").BcsStruct<{
176
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
177
+ }, string>;
178
+ iotaTotalSupply: import("@iota/iota-sdk/bcs").BcsStruct<{
179
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
180
+ }, string>;
181
+ referenceGasPrice: import("@iota/iota-sdk/bcs").BcsStruct<{
182
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
183
+ }, string>;
184
+ epochStartTimestampMs: import("@iota/iota-sdk/bcs").BcsStruct<{
185
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
186
+ }, string>;
187
+ epochDurationMs: import("@iota/iota-sdk/bcs").BcsStruct<{
188
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
189
+ }, string>;
190
+ }, string>;
191
+ baseToken: import("@iota/iota-sdk/bcs").BcsStruct<{
192
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
193
+ tickerSymbol: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
194
+ unit: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
195
+ subunit: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
196
+ decimals: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
197
+ useMetricPrefix: import("@iota/iota-sdk/bcs").BcsType<boolean, boolean, "bool">;
198
+ coinType: import("@iota/iota-sdk/bcs").BcsStruct<{
199
+ s: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
200
+ }, string>;
201
+ totalSupply: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
202
+ }, string>;
203
+ }, string>;
204
+ export declare const BlocklogBlockInfo: import("@iota/iota-sdk/bcs").BcsStruct<{
205
+ schemaVersion: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
206
+ blockIndex: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
207
+ timestamp: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
208
+ previousAnchor: import("@iota/iota-sdk/bcs").BcsStruct<{
209
+ anchor: import("@iota/iota-sdk/bcs").BcsStruct<{
210
+ objectRef: import("@iota/iota-sdk/bcs").BcsStruct<{
211
+ objectID: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
422
212
  length: number;
423
- };
424
- version: string | number | bigint;
425
- digest: Iterable<number> & {
213
+ }, string>;
214
+ version: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
215
+ digest: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
426
216
  length: number;
427
- };
428
- };
429
- object: {
430
- iD: Iterable<number> & {
217
+ }, string>;
218
+ }, string>;
219
+ object: import("@iota/iota-sdk/bcs").BcsStruct<{
220
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
431
221
  length: number;
432
- };
433
- assets: {
434
- iD: Iterable<number> & {
222
+ }, string>;
223
+ assets: import("@iota/iota-sdk/bcs").BcsStruct<{
224
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
435
225
  length: number;
436
- };
437
- value: {
438
- iD: Iterable<number> & {
226
+ }, string>;
227
+ value: import("@iota/iota-sdk/bcs").BcsStruct<{
228
+ iD: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
439
229
  length: number;
440
- };
441
- size: string | number | bigint;
442
- };
443
- };
444
- stateMetadata: Iterable<number> & {
230
+ }, string>;
231
+ size: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
232
+ }, string>;
233
+ }, string>;
234
+ stateMetadata: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
445
235
  length: number;
446
- };
447
- stateIndex: number;
448
- };
449
- owner: Iterable<number> & {
236
+ }, string>;
237
+ stateIndex: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
238
+ }, string>;
239
+ owner: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
450
240
  length: number;
451
- };
452
- };
453
- iscPackage: Iterable<number> & {
241
+ }, string>;
242
+ }, string>;
243
+ iscPackage: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
454
244
  length: number;
455
- };
456
- };
457
- l1Params: {
458
- protocol: {
459
- epoch: {
460
- int: string | number | bigint;
461
- };
462
- protocolVersion: {
463
- int: string | number | bigint;
464
- };
465
- systemStateVersion: {
466
- int: string | number | bigint;
467
- };
468
- iotaTotalSupply: {
469
- int: string | number | bigint;
470
- };
471
- referenceGasPrice: {
472
- int: string | number | bigint;
473
- };
474
- epochStartTimestampMs: {
475
- int: string | number | bigint;
476
- };
477
- epochDurationMs: {
478
- int: string | number | bigint;
479
- };
480
- };
481
- baseToken: {
482
- name: string;
483
- tickerSymbol: string;
484
- unit: string;
485
- subunit: string;
486
- decimals: number;
487
- useMetricPrefix: boolean;
488
- coinType: {
489
- s: string;
490
- };
491
- totalSupply: string | number | bigint;
492
- };
493
- };
494
- totalRequests: number;
495
- numSuccessfulRequests: number;
496
- numOffLedgerRequests: number;
497
- gasBurned: string | number | bigint;
498
- gasFeeCharged: string | number | bigint;
499
- }>;
500
- export declare const IscCallTarget: import("@iota/iota-sdk/bcs").BcsType<{
501
- contract: number;
502
- entryPoint: number;
503
- }, {
504
- contract: number;
505
- entryPoint: number;
506
- }>;
507
- export declare const IscMessage: import("@iota/iota-sdk/bcs").BcsType<{
508
- target: {
509
- contract: number;
510
- entryPoint: number;
511
- };
512
- params: number[][];
513
- }, {
514
- target: {
515
- contract: number;
516
- entryPoint: number;
517
- };
518
- params: Iterable<Iterable<number> & {
245
+ }, string>;
246
+ }, string>;
247
+ l1Params: import("@iota/iota-sdk/bcs").BcsStruct<{
248
+ protocol: import("@iota/iota-sdk/bcs").BcsStruct<{
249
+ epoch: import("@iota/iota-sdk/bcs").BcsStruct<{
250
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
251
+ }, string>;
252
+ protocolVersion: import("@iota/iota-sdk/bcs").BcsStruct<{
253
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
254
+ }, string>;
255
+ systemStateVersion: import("@iota/iota-sdk/bcs").BcsStruct<{
256
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
257
+ }, string>;
258
+ iotaTotalSupply: import("@iota/iota-sdk/bcs").BcsStruct<{
259
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
260
+ }, string>;
261
+ referenceGasPrice: import("@iota/iota-sdk/bcs").BcsStruct<{
262
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
263
+ }, string>;
264
+ epochStartTimestampMs: import("@iota/iota-sdk/bcs").BcsStruct<{
265
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
266
+ }, string>;
267
+ epochDurationMs: import("@iota/iota-sdk/bcs").BcsStruct<{
268
+ int: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
269
+ }, string>;
270
+ }, string>;
271
+ baseToken: import("@iota/iota-sdk/bcs").BcsStruct<{
272
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
273
+ tickerSymbol: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
274
+ unit: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
275
+ subunit: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
276
+ decimals: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
277
+ useMetricPrefix: import("@iota/iota-sdk/bcs").BcsType<boolean, boolean, "bool">;
278
+ coinType: import("@iota/iota-sdk/bcs").BcsStruct<{
279
+ s: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
280
+ }, string>;
281
+ totalSupply: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
282
+ }, string>;
283
+ }, string>;
284
+ totalRequests: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
285
+ numSuccessfulRequests: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
286
+ numOffLedgerRequests: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
287
+ gasBurned: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
288
+ gasFeeCharged: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
289
+ }, string>;
290
+ export declare const IscCallTarget: import("@iota/iota-sdk/bcs").BcsStruct<{
291
+ contract: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
292
+ entryPoint: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
293
+ }, string>;
294
+ export declare const IscMessage: import("@iota/iota-sdk/bcs").BcsStruct<{
295
+ target: import("@iota/iota-sdk/bcs").BcsStruct<{
296
+ contract: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
297
+ entryPoint: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
298
+ }, string>;
299
+ params: import("@iota/iota-sdk/bcs").BcsType<number[][], Iterable<Iterable<number> & {
519
300
  length: number;
520
301
  }> & {
521
302
  length: number;
522
- };
523
- }>;
524
- export declare const CryptolibPublicKey: import("@iota/iota-sdk/bcs").BcsType<{
525
- key: number[];
526
- }, {
527
- key: Iterable<number> & {
303
+ }, string>;
304
+ }, string>;
305
+ export declare const CryptolibPublicKey: import("@iota/iota-sdk/bcs").BcsStruct<{
306
+ key: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
528
307
  length: number;
529
- };
530
- }>;
531
- export declare const CryptolibSignature: import("@iota/iota-sdk/bcs").BcsType<{
532
- signatureScheme: number;
533
- publicKey: {
534
- key: number[];
535
- };
536
- signature: number[];
537
- }, {
538
- signatureScheme: number;
539
- publicKey: {
540
- key: Iterable<number> & {
308
+ }, string>;
309
+ }, string>;
310
+ export declare const CryptolibSignature: import("@iota/iota-sdk/bcs").BcsStruct<{
311
+ signatureScheme: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
312
+ publicKey: import("@iota/iota-sdk/bcs").BcsStruct<{
313
+ key: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
541
314
  length: number;
542
- };
543
- };
544
- signature: Iterable<number> & {
315
+ }, string>;
316
+ }, string>;
317
+ signature: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
545
318
  length: number;
546
- };
547
- }>;
548
- export declare const RootContractRecord: import("@iota/iota-sdk/bcs").BcsType<{
549
- name: string;
550
- }, {
551
- name: string;
552
- }>;
553
- export declare const LoTuple2_Hname_ContractRecord: import("@iota/iota-sdk/bcs").BcsType<{
554
- a: number;
555
- b: {
556
- name: string;
557
- };
558
- }, {
559
- a: number;
560
- b: {
561
- name: string;
562
- };
563
- }>;
564
- export declare const IscContractAgentID: import("@iota/iota-sdk/bcs").BcsType<{
565
- hname: number;
566
- }, {
567
- hname: number;
568
- }>;
569
- export declare const IscEthereumAddressAgentID: import("@iota/iota-sdk/bcs").BcsType<{
570
- eth: number[];
571
- }, {
572
- eth: Iterable<number> & {
319
+ }, string>;
320
+ }, string>;
321
+ export declare const RootContractRecord: import("@iota/iota-sdk/bcs").BcsStruct<{
322
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
323
+ }, string>;
324
+ export declare const LoTuple2_Hname_ContractRecord: import("@iota/iota-sdk/bcs").BcsStruct<{
325
+ a: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
326
+ b: import("@iota/iota-sdk/bcs").BcsStruct<{
327
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
328
+ }, string>;
329
+ }, string>;
330
+ export declare const IscContractAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
331
+ hname: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
332
+ }, string>;
333
+ export declare const IscEthereumAddressAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
334
+ eth: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
573
335
  length: number;
574
- };
575
- }>;
576
- export declare const IscNilAgentID: import("@iota/iota-sdk/bcs").BcsType<{}, {}>;
577
- export declare const IscAddressAgentID: import("@iota/iota-sdk/bcs").BcsType<{
578
- a: number[];
579
- }, {
580
- a: Iterable<number> & {
336
+ }, string>;
337
+ }, string>;
338
+ export declare const IscNilAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{}, string>;
339
+ export declare const IscAddressAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
340
+ a: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
581
341
  length: number;
582
- };
583
- }>;
584
- export declare const IscAgentID: import("@iota/iota-sdk/bcs").BcsType<import("@iota/bcs").EnumOutputShapeWithKeys<{
585
- NoType: true;
586
- AddressAgentID: {
587
- a: number[];
588
- };
589
- ContractAgentID: {
590
- hname: number;
591
- };
592
- EthereumAddressAgentID: {
593
- eth: number[];
594
- };
595
- NilAgentID: {};
596
- }, "NoType" | "AddressAgentID" | "ContractAgentID" | "EthereumAddressAgentID" | "NilAgentID">, import("@iota/bcs").EnumInputShape<{
597
- NoType: boolean | object | null;
598
- AddressAgentID: {
599
- a: Iterable<number> & {
342
+ }, string>;
343
+ }, string>;
344
+ export declare const IscAgentID: import("@iota/iota-sdk/bcs").BcsEnum<{
345
+ NoType: null;
346
+ AddressAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
347
+ a: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
600
348
  length: number;
601
- };
602
- };
603
- ContractAgentID: {
604
- hname: number;
605
- };
606
- EthereumAddressAgentID: {
607
- eth: Iterable<number> & {
349
+ }, string>;
350
+ }, string>;
351
+ ContractAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
352
+ hname: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
353
+ }, string>;
354
+ EthereumAddressAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
355
+ eth: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
608
356
  length: number;
609
- };
610
- };
611
- NilAgentID: {};
612
- }>>;
613
- export declare const balanceInputs: import("@iota/iota-sdk/bcs").BcsType<{
614
- agentID: import("@iota/bcs").EnumOutputShapeWithKeys<{
357
+ }, string>;
358
+ }, string>;
359
+ NilAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{}, string>;
360
+ }, "IscAgentID">;
361
+ export declare const balanceInputs: import("@iota/iota-sdk/bcs").BcsStruct<{
362
+ agentID: import("@iota/iota-sdk/bcs").BcsType<import("@iota/bcs").EnumOutputShapeWithKeys<{
615
363
  NoType: true;
616
364
  AddressAgentID: {
617
365
  a: number[];
@@ -623,9 +371,7 @@ export declare const balanceInputs: import("@iota/iota-sdk/bcs").BcsType<{
623
371
  eth: number[];
624
372
  };
625
373
  NilAgentID: {};
626
- }, "NoType" | "AddressAgentID" | "ContractAgentID" | "EthereumAddressAgentID" | "NilAgentID"> | null;
627
- }, {
628
- agentID: import("@iota/bcs").EnumInputShape<{
374
+ }, "NoType" | "AddressAgentID" | "ContractAgentID" | "EthereumAddressAgentID" | "NilAgentID"> | null, import("@iota/bcs").EnumInputShape<{
629
375
  NoType: boolean | object | null;
630
376
  AddressAgentID: {
631
377
  a: Iterable<number> & {
@@ -641,19 +387,17 @@ export declare const balanceInputs: import("@iota/iota-sdk/bcs").BcsType<{
641
387
  };
642
388
  };
643
389
  NilAgentID: {};
644
- }> | null | undefined;
645
- }>;
646
- export declare const balanceOutputs: import("@iota/iota-sdk/bcs").BcsType<{
647
- coinBalances: Map<{
390
+ }> | null | undefined, "Option<IscAgentID>">;
391
+ }, string>;
392
+ export declare const balanceOutputs: import("@iota/iota-sdk/bcs").BcsStruct<{
393
+ coinBalances: import("@iota/iota-sdk/bcs").BcsType<Map<{
648
394
  s: string;
649
- }, string>;
650
- }, {
651
- coinBalances: Map<{
395
+ }, string>, Map<{
652
396
  s: string;
653
- }, string | number | bigint>;
654
- }>;
655
- export declare const balanceBaseTokenEVMInputs: import("@iota/iota-sdk/bcs").BcsType<{
656
- agentID: import("@iota/bcs").EnumOutputShapeWithKeys<{
397
+ }, string | number | bigint>, `Map<${string}, u64>`>;
398
+ }, string>;
399
+ export declare const balanceBaseTokenEVMInputs: import("@iota/iota-sdk/bcs").BcsStruct<{
400
+ agentID: import("@iota/iota-sdk/bcs").BcsType<import("@iota/bcs").EnumOutputShapeWithKeys<{
657
401
  NoType: true;
658
402
  AddressAgentID: {
659
403
  a: number[];
@@ -665,9 +409,7 @@ export declare const balanceBaseTokenEVMInputs: import("@iota/iota-sdk/bcs").Bcs
665
409
  eth: number[];
666
410
  };
667
411
  NilAgentID: {};
668
- }, "NoType" | "AddressAgentID" | "ContractAgentID" | "EthereumAddressAgentID" | "NilAgentID"> | null;
669
- }, {
670
- agentID: import("@iota/bcs").EnumInputShape<{
412
+ }, "NoType" | "AddressAgentID" | "ContractAgentID" | "EthereumAddressAgentID" | "NilAgentID"> | null, import("@iota/bcs").EnumInputShape<{
671
413
  NoType: boolean | object | null;
672
414
  AddressAgentID: {
673
415
  a: Iterable<number> & {
@@ -683,210 +425,122 @@ export declare const balanceBaseTokenEVMInputs: import("@iota/iota-sdk/bcs").Bcs
683
425
  };
684
426
  };
685
427
  NilAgentID: {};
686
- }> | null | undefined;
687
- }>;
688
- export declare const balanceBaseTokenEVMOutputs: import("@iota/iota-sdk/bcs").BcsType<{
689
- evmBaseTokenBalance: string;
690
- }, {
691
- evmBaseTokenBalance: string | number | bigint;
692
- }>;
693
- export declare const AtomicnoCopy: import("@iota/iota-sdk/bcs").BcsType<{}, {}>;
694
- export declare const Atomicalign64: import("@iota/iota-sdk/bcs").BcsType<{}, {}>;
695
- export declare const IscEvent: import("@iota/iota-sdk/bcs").BcsType<{
696
- contractID: number;
697
- topic: string;
698
- timestamp: string;
699
- payload: number[];
700
- }, {
701
- contractID: number;
702
- topic: string;
703
- timestamp: string | number | bigint;
704
- payload: Iterable<number> & {
428
+ }> | null | undefined, "Option<IscAgentID>">;
429
+ }, string>;
430
+ export declare const balanceBaseTokenEVMOutputs: import("@iota/iota-sdk/bcs").BcsStruct<{
431
+ evmBaseTokenBalance: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u256">;
432
+ }, string>;
433
+ export declare const AtomicnoCopy: import("@iota/iota-sdk/bcs").BcsStruct<{}, string>;
434
+ export declare const Atomicalign64: import("@iota/iota-sdk/bcs").BcsStruct<{}, string>;
435
+ export declare const IscEvent: import("@iota/iota-sdk/bcs").BcsStruct<{
436
+ contractID: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
437
+ topic: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
438
+ timestamp: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
439
+ payload: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
705
440
  length: number;
706
- };
707
- }>;
708
- export declare const UtilRatio32: import("@iota/iota-sdk/bcs").BcsType<{
709
- a: number;
710
- b: number;
711
- }, {
712
- a: number;
713
- b: number;
714
- }>;
715
- export declare const GasFeePolicy: import("@iota/iota-sdk/bcs").BcsType<{
716
- eVMGasRatio: {
717
- a: number;
718
- b: number;
719
- };
720
- gasPerToken: {
721
- a: number;
722
- b: number;
723
- };
724
- validatorFeeShare: number;
725
- }, {
726
- eVMGasRatio: {
727
- a: number;
728
- b: number;
729
- };
730
- gasPerToken: {
731
- a: number;
732
- b: number;
733
- };
734
- validatorFeeShare: number;
735
- }>;
736
- export declare const GasLimits: import("@iota/iota-sdk/bcs").BcsType<{
737
- maxGasPerBlock: string;
738
- minGasPerRequest: string;
739
- maxGasPerRequest: string;
740
- maxGasExternalViewCall: string;
741
- }, {
742
- maxGasPerBlock: string | number | bigint;
743
- minGasPerRequest: string | number | bigint;
744
- maxGasPerRequest: string | number | bigint;
745
- maxGasExternalViewCall: string | number | bigint;
746
- }>;
747
- export declare const IscPublicChainMetadata: import("@iota/iota-sdk/bcs").BcsType<{
748
- eVMJsonRPCURL: string;
749
- eVMWebSocketURL: string;
750
- name: string;
751
- description: string;
752
- website: string;
753
- }, {
754
- eVMJsonRPCURL: string;
755
- eVMWebSocketURL: string;
756
- name: string;
757
- description: string;
758
- website: string;
759
- }>;
760
- export declare const IscChainInfo: import("@iota/iota-sdk/bcs").BcsType<{
761
- chainID: number[];
762
- chainOwnerID: import("@iota/bcs").EnumOutputShapeWithKeys<{
763
- NoType: true;
764
- AddressAgentID: {
765
- a: number[];
766
- };
767
- ContractAgentID: {
768
- hname: number;
769
- };
770
- EthereumAddressAgentID: {
771
- eth: number[];
772
- };
773
- NilAgentID: {};
774
- }, "NoType" | "AddressAgentID" | "ContractAgentID" | "EthereumAddressAgentID" | "NilAgentID">;
775
- gasFeePolicy: {
776
- eVMGasRatio: {
777
- a: number;
778
- b: number;
779
- };
780
- gasPerToken: {
781
- a: number;
782
- b: number;
783
- };
784
- validatorFeeShare: number;
785
- };
786
- gasLimits: {
787
- maxGasPerBlock: string;
788
- minGasPerRequest: string;
789
- maxGasPerRequest: string;
790
- maxGasExternalViewCall: string;
791
- };
792
- blockKeepAmount: Uint8Array<ArrayBufferLike>;
793
- publicURL: string;
794
- metadata: {
795
- eVMJsonRPCURL: string;
796
- eVMWebSocketURL: string;
797
- name: string;
798
- description: string;
799
- website: string;
800
- };
801
- }, {
802
- chainID: Iterable<number> & {
441
+ }, string>;
442
+ }, string>;
443
+ export declare const UtilRatio32: import("@iota/iota-sdk/bcs").BcsStruct<{
444
+ a: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
445
+ b: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
446
+ }, string>;
447
+ export declare const GasFeePolicy: import("@iota/iota-sdk/bcs").BcsStruct<{
448
+ eVMGasRatio: import("@iota/iota-sdk/bcs").BcsStruct<{
449
+ a: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
450
+ b: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
451
+ }, string>;
452
+ gasPerToken: import("@iota/iota-sdk/bcs").BcsStruct<{
453
+ a: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
454
+ b: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
455
+ }, string>;
456
+ validatorFeeShare: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
457
+ }, string>;
458
+ export declare const GasLimits: import("@iota/iota-sdk/bcs").BcsStruct<{
459
+ maxGasPerBlock: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
460
+ minGasPerRequest: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
461
+ maxGasPerRequest: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
462
+ maxGasExternalViewCall: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
463
+ }, string>;
464
+ export declare const IscPublicChainMetadata: import("@iota/iota-sdk/bcs").BcsStruct<{
465
+ eVMJsonRPCURL: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
466
+ eVMWebSocketURL: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
467
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
468
+ description: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
469
+ website: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
470
+ }, string>;
471
+ export declare const IscChainInfo: import("@iota/iota-sdk/bcs").BcsStruct<{
472
+ chainID: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
803
473
  length: number;
804
- };
805
- chainOwnerID: import("@iota/bcs").EnumInputShape<{
806
- NoType: boolean | object | null;
807
- AddressAgentID: {
808
- a: Iterable<number> & {
474
+ }, string>;
475
+ chainOwnerID: import("@iota/iota-sdk/bcs").BcsEnum<{
476
+ NoType: null;
477
+ AddressAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
478
+ a: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
809
479
  length: number;
810
- };
811
- };
812
- ContractAgentID: {
813
- hname: number;
814
- };
815
- EthereumAddressAgentID: {
816
- eth: Iterable<number> & {
480
+ }, string>;
481
+ }, string>;
482
+ ContractAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
483
+ hname: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
484
+ }, string>;
485
+ EthereumAddressAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{
486
+ eth: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
817
487
  length: number;
818
- };
819
- };
820
- NilAgentID: {};
821
- }>;
822
- gasFeePolicy: {
823
- eVMGasRatio: {
824
- a: number;
825
- b: number;
826
- };
827
- gasPerToken: {
828
- a: number;
829
- b: number;
830
- };
831
- validatorFeeShare: number;
832
- };
833
- gasLimits: {
834
- maxGasPerBlock: string | number | bigint;
835
- minGasPerRequest: string | number | bigint;
836
- maxGasPerRequest: string | number | bigint;
837
- maxGasExternalViewCall: string | number | bigint;
838
- };
839
- blockKeepAmount: Iterable<number>;
840
- publicURL: string;
841
- metadata: {
842
- eVMJsonRPCURL: string;
843
- eVMWebSocketURL: string;
844
- name: string;
845
- description: string;
846
- website: string;
847
- };
848
- }>;
849
- export declare const IscVMErrorCode: import("@iota/iota-sdk/bcs").BcsType<{
850
- contractID: number;
851
- iD: number;
852
- }, {
853
- contractID: number;
854
- iD: number;
855
- }>;
856
- export declare const GasBurnRecord: import("@iota/iota-sdk/bcs").BcsType<{
857
- code: number;
858
- gasBurned: string;
859
- }, {
860
- code: number;
861
- gasBurned: string | number | bigint;
862
- }>;
863
- export declare const IscVMErrorParam: import("@iota/iota-sdk/bcs").BcsType<import("@iota/bcs").EnumOutputShapeWithKeys<{
864
- NoType: true;
865
- uint16: number;
866
- int64: Uint8Array<ArrayBufferLike>;
867
- string: string;
868
- uint8: number;
869
- int32: Uint8Array<ArrayBufferLike>;
870
- uint64: string;
871
- int16: Uint8Array<ArrayBufferLike>;
872
- uint32: number;
873
- }, "string" | "NoType" | "uint16" | "int64" | "uint8" | "int32" | "uint64" | "int16" | "uint32">, import("@iota/bcs").EnumInputShape<{
874
- NoType: boolean | object | null;
875
- uint16: number;
876
- int64: Iterable<number>;
877
- string: string;
878
- uint8: number;
879
- int32: Iterable<number>;
880
- uint64: string | number | bigint;
881
- int16: Iterable<number>;
882
- uint32: number;
883
- }>>;
884
- export declare const IscUnresolvedVMError: import("@iota/iota-sdk/bcs").BcsType<{
885
- errorCode: {
886
- contractID: number;
887
- iD: number;
888
- };
889
- params: import("@iota/bcs").EnumOutputShapeWithKeys<{
488
+ }, string>;
489
+ }, string>;
490
+ NilAgentID: import("@iota/iota-sdk/bcs").BcsStruct<{}, string>;
491
+ }, "IscAgentID">;
492
+ gasFeePolicy: import("@iota/iota-sdk/bcs").BcsStruct<{
493
+ eVMGasRatio: import("@iota/iota-sdk/bcs").BcsStruct<{
494
+ a: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
495
+ b: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
496
+ }, string>;
497
+ gasPerToken: import("@iota/iota-sdk/bcs").BcsStruct<{
498
+ a: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
499
+ b: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
500
+ }, string>;
501
+ validatorFeeShare: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
502
+ }, string>;
503
+ gasLimits: import("@iota/iota-sdk/bcs").BcsStruct<{
504
+ maxGasPerBlock: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
505
+ minGasPerRequest: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
506
+ maxGasPerRequest: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
507
+ maxGasExternalViewCall: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
508
+ }, string>;
509
+ blockKeepAmount: import("@iota/iota-sdk/bcs").BcsType<Uint8Array<ArrayBufferLike>, Iterable<number>, "bytes[4]">;
510
+ publicURL: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
511
+ metadata: import("@iota/iota-sdk/bcs").BcsStruct<{
512
+ eVMJsonRPCURL: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
513
+ eVMWebSocketURL: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
514
+ name: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
515
+ description: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
516
+ website: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
517
+ }, string>;
518
+ }, string>;
519
+ export declare const IscVMErrorCode: import("@iota/iota-sdk/bcs").BcsStruct<{
520
+ contractID: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
521
+ iD: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
522
+ }, string>;
523
+ export declare const GasBurnRecord: import("@iota/iota-sdk/bcs").BcsStruct<{
524
+ code: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
525
+ gasBurned: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
526
+ }, string>;
527
+ export declare const IscVMErrorParam: import("@iota/iota-sdk/bcs").BcsEnum<{
528
+ NoType: null;
529
+ uint16: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
530
+ int64: import("@iota/iota-sdk/bcs").BcsType<Uint8Array<ArrayBufferLike>, Iterable<number>, "bytes[8]">;
531
+ string: import("@iota/iota-sdk/bcs").BcsType<string, string, string>;
532
+ uint8: import("@iota/iota-sdk/bcs").BcsType<number, number, "u8">;
533
+ int32: import("@iota/iota-sdk/bcs").BcsType<Uint8Array<ArrayBufferLike>, Iterable<number>, "bytes[4]">;
534
+ uint64: import("@iota/iota-sdk/bcs").BcsType<string, string | number | bigint, "u64">;
535
+ int16: import("@iota/iota-sdk/bcs").BcsType<Uint8Array<ArrayBufferLike>, Iterable<number>, "bytes[2]">;
536
+ uint32: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
537
+ }, "IscVMErrorParam">;
538
+ export declare const IscUnresolvedVMError: import("@iota/iota-sdk/bcs").BcsStruct<{
539
+ errorCode: import("@iota/iota-sdk/bcs").BcsStruct<{
540
+ contractID: import("@iota/iota-sdk/bcs").BcsType<number, number, "u32">;
541
+ iD: import("@iota/iota-sdk/bcs").BcsType<number, number, "u16">;
542
+ }, string>;
543
+ params: import("@iota/iota-sdk/bcs").BcsType<import("@iota/bcs").EnumOutputShapeWithKeys<{
890
544
  NoType: true;
891
545
  uint16: number;
892
546
  int64: Uint8Array<ArrayBufferLike>;
@@ -896,13 +550,7 @@ export declare const IscUnresolvedVMError: import("@iota/iota-sdk/bcs").BcsType<
896
550
  uint64: string;
897
551
  int16: Uint8Array<ArrayBufferLike>;
898
552
  uint32: number;
899
- }, "string" | "NoType" | "uint16" | "int64" | "uint8" | "int32" | "uint64" | "int16" | "uint32">[];
900
- }, {
901
- errorCode: {
902
- contractID: number;
903
- iD: number;
904
- };
905
- params: Iterable<import("@iota/bcs").EnumInputShape<{
553
+ }, "string" | "NoType" | "uint16" | "int64" | "uint8" | "int32" | "uint64" | "int16" | "uint32">[], Iterable<import("@iota/bcs").EnumInputShape<{
906
554
  NoType: boolean | object | null;
907
555
  uint16: number;
908
556
  int64: Iterable<number>;
@@ -914,31 +562,27 @@ export declare const IscUnresolvedVMError: import("@iota/iota-sdk/bcs").BcsType<
914
562
  uint32: number;
915
563
  }>> & {
916
564
  length: number;
917
- };
918
- }>;
919
- export declare const GasBurnLog: import("@iota/iota-sdk/bcs").BcsType<{
920
- records: {
565
+ }, string>;
566
+ }, string>;
567
+ export declare const GasBurnLog: import("@iota/iota-sdk/bcs").BcsStruct<{
568
+ records: import("@iota/iota-sdk/bcs").BcsType<{
921
569
  code: number;
922
570
  gasBurned: string;
923
- }[];
924
- }, {
925
- records: Iterable<{
571
+ }[], Iterable<{
926
572
  code: number;
927
573
  gasBurned: string | number | bigint;
928
574
  }> & {
929
575
  length: number;
930
- };
931
- }>;
932
- export declare const TypesAccessTuple: import("@iota/iota-sdk/bcs").BcsType<{
933
- address: number[];
934
- storageKeys: number[][];
935
- }, {
936
- address: Iterable<number> & {
576
+ }, string>;
577
+ }, string>;
578
+ export declare const TypesAccessTuple: import("@iota/iota-sdk/bcs").BcsStruct<{
579
+ address: import("@iota/iota-sdk/bcs").BcsType<number[], Iterable<number> & {
937
580
  length: number;
938
- };
939
- storageKeys: Iterable<Iterable<number> & {
581
+ }, string>;
582
+ storageKeys: import("@iota/iota-sdk/bcs").BcsType<number[][], Iterable<Iterable<number> & {
940
583
  length: number;
941
584
  }> & {
942
585
  length: number;
943
- };
944
- }>;
586
+ }, string>;
587
+ }, string>;
588
+ //# sourceMappingURL=bcs.d.ts.map