@haneullabs/wallet-sdk 0.1.0

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 (133) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +1 -0
  3. package/dist/cjs/auto-approvals/analyzer.d.ts +71 -0
  4. package/dist/cjs/auto-approvals/analyzer.js +70 -0
  5. package/dist/cjs/auto-approvals/analyzer.js.map +7 -0
  6. package/dist/cjs/auto-approvals/index.d.ts +6 -0
  7. package/dist/cjs/auto-approvals/index.js +33 -0
  8. package/dist/cjs/auto-approvals/index.js.map +7 -0
  9. package/dist/cjs/auto-approvals/intent.d.ts +5 -0
  10. package/dist/cjs/auto-approvals/intent.js +65 -0
  11. package/dist/cjs/auto-approvals/intent.js.map +7 -0
  12. package/dist/cjs/auto-approvals/manager.d.ts +31 -0
  13. package/dist/cjs/auto-approvals/manager.js +328 -0
  14. package/dist/cjs/auto-approvals/manager.js.map +7 -0
  15. package/dist/cjs/auto-approvals/schemas/index.d.ts +4 -0
  16. package/dist/cjs/auto-approvals/schemas/index.js +28 -0
  17. package/dist/cjs/auto-approvals/schemas/index.js.map +7 -0
  18. package/dist/cjs/auto-approvals/schemas/policy.d.ts +145 -0
  19. package/dist/cjs/auto-approvals/schemas/policy.js +79 -0
  20. package/dist/cjs/auto-approvals/schemas/policy.js.map +7 -0
  21. package/dist/cjs/auto-approvals/schemas/state.d.ts +115 -0
  22. package/dist/cjs/auto-approvals/schemas/state.js +49 -0
  23. package/dist/cjs/auto-approvals/schemas/state.js.map +7 -0
  24. package/dist/cjs/index.d.ts +2 -0
  25. package/dist/cjs/index.js +20 -0
  26. package/dist/cjs/index.js.map +7 -0
  27. package/dist/cjs/package.json +5 -0
  28. package/dist/cjs/transaction-analyzer/analyzer.d.ts +34 -0
  29. package/dist/cjs/transaction-analyzer/analyzer.js +94 -0
  30. package/dist/cjs/transaction-analyzer/analyzer.js.map +7 -0
  31. package/dist/cjs/transaction-analyzer/index.d.ts +9 -0
  32. package/dist/cjs/transaction-analyzer/index.js +28 -0
  33. package/dist/cjs/transaction-analyzer/index.js.map +7 -0
  34. package/dist/cjs/transaction-analyzer/rules/accessLevel.d.ts +29 -0
  35. package/dist/cjs/transaction-analyzer/rules/accessLevel.js +106 -0
  36. package/dist/cjs/transaction-analyzer/rules/accessLevel.js.map +7 -0
  37. package/dist/cjs/transaction-analyzer/rules/coin-flows.d.ts +313 -0
  38. package/dist/cjs/transaction-analyzer/rules/coin-flows.js +179 -0
  39. package/dist/cjs/transaction-analyzer/rules/coin-flows.js.map +7 -0
  40. package/dist/cjs/transaction-analyzer/rules/coin-value.d.ts +42 -0
  41. package/dist/cjs/transaction-analyzer/rules/coin-value.js +60 -0
  42. package/dist/cjs/transaction-analyzer/rules/coin-value.js.map +7 -0
  43. package/dist/cjs/transaction-analyzer/rules/coins.d.ts +337 -0
  44. package/dist/cjs/transaction-analyzer/rules/coins.js +78 -0
  45. package/dist/cjs/transaction-analyzer/rules/coins.js.map +7 -0
  46. package/dist/cjs/transaction-analyzer/rules/commands.d.ts +366 -0
  47. package/dist/cjs/transaction-analyzer/rules/commands.js +148 -0
  48. package/dist/cjs/transaction-analyzer/rules/commands.js.map +7 -0
  49. package/dist/cjs/transaction-analyzer/rules/core.d.ts +314 -0
  50. package/dist/cjs/transaction-analyzer/rules/core.js +73 -0
  51. package/dist/cjs/transaction-analyzer/rules/core.js.map +7 -0
  52. package/dist/cjs/transaction-analyzer/rules/functions.d.ts +292 -0
  53. package/dist/cjs/transaction-analyzer/rules/functions.js +58 -0
  54. package/dist/cjs/transaction-analyzer/rules/functions.js.map +7 -0
  55. package/dist/cjs/transaction-analyzer/rules/index.d.ts +2244 -0
  56. package/dist/cjs/transaction-analyzer/rules/index.js +52 -0
  57. package/dist/cjs/transaction-analyzer/rules/index.js.map +7 -0
  58. package/dist/cjs/transaction-analyzer/rules/inputs.d.ts +313 -0
  59. package/dist/cjs/transaction-analyzer/rules/inputs.js +49 -0
  60. package/dist/cjs/transaction-analyzer/rules/inputs.js.map +7 -0
  61. package/dist/cjs/transaction-analyzer/rules/objects.d.ts +359 -0
  62. package/dist/cjs/transaction-analyzer/rules/objects.js +124 -0
  63. package/dist/cjs/transaction-analyzer/rules/objects.js.map +7 -0
  64. package/dist/cjs/util.d.ts +5 -0
  65. package/dist/cjs/util.js +17 -0
  66. package/dist/cjs/util.js.map +7 -0
  67. package/dist/esm/auto-approvals/analyzer.d.ts +71 -0
  68. package/dist/esm/auto-approvals/analyzer.js +50 -0
  69. package/dist/esm/auto-approvals/analyzer.js.map +7 -0
  70. package/dist/esm/auto-approvals/index.d.ts +6 -0
  71. package/dist/esm/auto-approvals/index.js +12 -0
  72. package/dist/esm/auto-approvals/index.js.map +7 -0
  73. package/dist/esm/auto-approvals/intent.d.ts +5 -0
  74. package/dist/esm/auto-approvals/intent.js +45 -0
  75. package/dist/esm/auto-approvals/intent.js.map +7 -0
  76. package/dist/esm/auto-approvals/manager.d.ts +31 -0
  77. package/dist/esm/auto-approvals/manager.js +308 -0
  78. package/dist/esm/auto-approvals/manager.js.map +7 -0
  79. package/dist/esm/auto-approvals/schemas/index.d.ts +4 -0
  80. package/dist/esm/auto-approvals/schemas/index.js +8 -0
  81. package/dist/esm/auto-approvals/schemas/index.js.map +7 -0
  82. package/dist/esm/auto-approvals/schemas/policy.d.ts +145 -0
  83. package/dist/esm/auto-approvals/schemas/policy.js +49 -0
  84. package/dist/esm/auto-approvals/schemas/policy.js.map +7 -0
  85. package/dist/esm/auto-approvals/schemas/state.d.ts +115 -0
  86. package/dist/esm/auto-approvals/schemas/state.js +19 -0
  87. package/dist/esm/auto-approvals/schemas/state.js.map +7 -0
  88. package/dist/esm/index.d.ts +2 -0
  89. package/dist/esm/index.js +3 -0
  90. package/dist/esm/index.js.map +7 -0
  91. package/dist/esm/package.json +5 -0
  92. package/dist/esm/transaction-analyzer/analyzer.d.ts +34 -0
  93. package/dist/esm/transaction-analyzer/analyzer.js +74 -0
  94. package/dist/esm/transaction-analyzer/analyzer.js.map +7 -0
  95. package/dist/esm/transaction-analyzer/index.d.ts +9 -0
  96. package/dist/esm/transaction-analyzer/index.js +8 -0
  97. package/dist/esm/transaction-analyzer/index.js.map +7 -0
  98. package/dist/esm/transaction-analyzer/rules/accessLevel.d.ts +29 -0
  99. package/dist/esm/transaction-analyzer/rules/accessLevel.js +86 -0
  100. package/dist/esm/transaction-analyzer/rules/accessLevel.js.map +7 -0
  101. package/dist/esm/transaction-analyzer/rules/coin-flows.d.ts +313 -0
  102. package/dist/esm/transaction-analyzer/rules/coin-flows.js +159 -0
  103. package/dist/esm/transaction-analyzer/rules/coin-flows.js.map +7 -0
  104. package/dist/esm/transaction-analyzer/rules/coin-value.d.ts +42 -0
  105. package/dist/esm/transaction-analyzer/rules/coin-value.js +40 -0
  106. package/dist/esm/transaction-analyzer/rules/coin-value.js.map +7 -0
  107. package/dist/esm/transaction-analyzer/rules/coins.d.ts +337 -0
  108. package/dist/esm/transaction-analyzer/rules/coins.js +58 -0
  109. package/dist/esm/transaction-analyzer/rules/coins.js.map +7 -0
  110. package/dist/esm/transaction-analyzer/rules/commands.d.ts +366 -0
  111. package/dist/esm/transaction-analyzer/rules/commands.js +128 -0
  112. package/dist/esm/transaction-analyzer/rules/commands.js.map +7 -0
  113. package/dist/esm/transaction-analyzer/rules/core.d.ts +314 -0
  114. package/dist/esm/transaction-analyzer/rules/core.js +53 -0
  115. package/dist/esm/transaction-analyzer/rules/core.js.map +7 -0
  116. package/dist/esm/transaction-analyzer/rules/functions.d.ts +292 -0
  117. package/dist/esm/transaction-analyzer/rules/functions.js +38 -0
  118. package/dist/esm/transaction-analyzer/rules/functions.js.map +7 -0
  119. package/dist/esm/transaction-analyzer/rules/index.d.ts +2244 -0
  120. package/dist/esm/transaction-analyzer/rules/index.js +32 -0
  121. package/dist/esm/transaction-analyzer/rules/index.js.map +7 -0
  122. package/dist/esm/transaction-analyzer/rules/inputs.d.ts +313 -0
  123. package/dist/esm/transaction-analyzer/rules/inputs.js +29 -0
  124. package/dist/esm/transaction-analyzer/rules/inputs.js.map +7 -0
  125. package/dist/esm/transaction-analyzer/rules/objects.d.ts +359 -0
  126. package/dist/esm/transaction-analyzer/rules/objects.js +104 -0
  127. package/dist/esm/transaction-analyzer/rules/objects.js.map +7 -0
  128. package/dist/esm/util.d.ts +5 -0
  129. package/dist/esm/util.js +1 -0
  130. package/dist/esm/util.js.map +7 -0
  131. package/dist/tsconfig.esm.tsbuildinfo +1 -0
  132. package/dist/tsconfig.tsbuildinfo +1 -0
  133. package/package.json +59 -0
@@ -0,0 +1,2244 @@
1
+ export declare const analyzers: {
2
+ accessLevel: import("../analyzer.js").Analyzer<Record<string, "read" | "mutate" | "transfer">, {
3
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
4
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
5
+ };
6
+ }, {
7
+ commands: import("./commands.js").AnalyzedCommand[];
8
+ objects: {
9
+ ownerAddress: string | null;
10
+ id: string;
11
+ version: string;
12
+ digest: string;
13
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
14
+ type: string;
15
+ content: PromiseLike<Uint8Array>;
16
+ previousTransaction: string | null;
17
+ }[];
18
+ gasCoins: {
19
+ coinType: string;
20
+ balance: bigint;
21
+ ownerAddress: string | null;
22
+ id: string;
23
+ version: string;
24
+ digest: string;
25
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
26
+ type: string;
27
+ content: PromiseLike<Uint8Array>;
28
+ previousTransaction: string | null;
29
+ }[];
30
+ }>;
31
+ balanceChanges: import("../analyzer.js").Analyzer<import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.BalanceChange[], {
32
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
33
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
34
+ };
35
+ transactionResponse?: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.TransactionResponse | undefined;
36
+ }, {
37
+ transactionResponse: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.TransactionResponse;
38
+ }>;
39
+ bytes: import("../analyzer.js").Analyzer<Uint8Array<ArrayBufferLike>, {
40
+ client: import("@haneullabs/haneul/dist/cjs/experimental/core.js").ClientWithCoreApi;
41
+ }, {}>;
42
+ coinFlows: import("../analyzer.js").Analyzer<{
43
+ outflows: import("./coin-flows.js").CoinFlow[];
44
+ }, {
45
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
46
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
47
+ };
48
+ }, {
49
+ data: {
50
+ version: 2;
51
+ sender?: string | null | undefined;
52
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
53
+ None: true;
54
+ Epoch: string | number;
55
+ }, "None" | "Epoch"> | null | undefined;
56
+ gasData: {
57
+ budget: string | number | null;
58
+ price: string | number | null;
59
+ owner: string | null;
60
+ payment: {
61
+ objectId: string;
62
+ version: string | number;
63
+ digest: string;
64
+ }[] | null;
65
+ };
66
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
67
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
68
+ ImmOrOwnedObject: {
69
+ objectId: string;
70
+ version: string | number;
71
+ digest: string;
72
+ };
73
+ SharedObject: {
74
+ objectId: string;
75
+ initialSharedVersion: string | number;
76
+ mutable: boolean;
77
+ };
78
+ Receiving: {
79
+ objectId: string;
80
+ version: string | number;
81
+ digest: string;
82
+ };
83
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
84
+ Pure: {
85
+ bytes: string;
86
+ };
87
+ UnresolvedPure: {
88
+ value: unknown;
89
+ };
90
+ UnresolvedObject: {
91
+ objectId: string;
92
+ version?: string | number | null | undefined;
93
+ digest?: string | null | undefined;
94
+ initialSharedVersion?: string | number | null | undefined;
95
+ mutable?: boolean | null | undefined;
96
+ };
97
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
98
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
99
+ MoveCall: {
100
+ package: string;
101
+ module: string;
102
+ function: string;
103
+ typeArguments: string[];
104
+ arguments: ({
105
+ $kind: "GasCoin";
106
+ GasCoin: true;
107
+ } | {
108
+ $kind: "Input";
109
+ Input: number;
110
+ type?: "pure";
111
+ } | {
112
+ $kind: "Input";
113
+ Input: number;
114
+ type?: "object";
115
+ } | {
116
+ $kind: "Result";
117
+ Result: number;
118
+ } | {
119
+ $kind: "NestedResult";
120
+ NestedResult: [number, number];
121
+ })[];
122
+ _argumentTypes?: {
123
+ ref: "&" | "&mut" | null;
124
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
125
+ }[] | null | undefined;
126
+ };
127
+ TransferObjects: {
128
+ objects: ({
129
+ $kind: "GasCoin";
130
+ GasCoin: true;
131
+ } | {
132
+ $kind: "Input";
133
+ Input: number;
134
+ type?: "pure";
135
+ } | {
136
+ $kind: "Input";
137
+ Input: number;
138
+ type?: "object";
139
+ } | {
140
+ $kind: "Result";
141
+ Result: number;
142
+ } | {
143
+ $kind: "NestedResult";
144
+ NestedResult: [number, number];
145
+ })[];
146
+ address: {
147
+ $kind: "GasCoin";
148
+ GasCoin: true;
149
+ } | {
150
+ $kind: "Input";
151
+ Input: number;
152
+ type?: "pure";
153
+ } | {
154
+ $kind: "Input";
155
+ Input: number;
156
+ type?: "object";
157
+ } | {
158
+ $kind: "Result";
159
+ Result: number;
160
+ } | {
161
+ $kind: "NestedResult";
162
+ NestedResult: [number, number];
163
+ };
164
+ };
165
+ SplitCoins: {
166
+ coin: {
167
+ $kind: "GasCoin";
168
+ GasCoin: true;
169
+ } | {
170
+ $kind: "Input";
171
+ Input: number;
172
+ type?: "pure";
173
+ } | {
174
+ $kind: "Input";
175
+ Input: number;
176
+ type?: "object";
177
+ } | {
178
+ $kind: "Result";
179
+ Result: number;
180
+ } | {
181
+ $kind: "NestedResult";
182
+ NestedResult: [number, number];
183
+ };
184
+ amounts: ({
185
+ $kind: "GasCoin";
186
+ GasCoin: true;
187
+ } | {
188
+ $kind: "Input";
189
+ Input: number;
190
+ type?: "pure";
191
+ } | {
192
+ $kind: "Input";
193
+ Input: number;
194
+ type?: "object";
195
+ } | {
196
+ $kind: "Result";
197
+ Result: number;
198
+ } | {
199
+ $kind: "NestedResult";
200
+ NestedResult: [number, number];
201
+ })[];
202
+ };
203
+ MergeCoins: {
204
+ destination: {
205
+ $kind: "GasCoin";
206
+ GasCoin: true;
207
+ } | {
208
+ $kind: "Input";
209
+ Input: number;
210
+ type?: "pure";
211
+ } | {
212
+ $kind: "Input";
213
+ Input: number;
214
+ type?: "object";
215
+ } | {
216
+ $kind: "Result";
217
+ Result: number;
218
+ } | {
219
+ $kind: "NestedResult";
220
+ NestedResult: [number, number];
221
+ };
222
+ sources: ({
223
+ $kind: "GasCoin";
224
+ GasCoin: true;
225
+ } | {
226
+ $kind: "Input";
227
+ Input: number;
228
+ type?: "pure";
229
+ } | {
230
+ $kind: "Input";
231
+ Input: number;
232
+ type?: "object";
233
+ } | {
234
+ $kind: "Result";
235
+ Result: number;
236
+ } | {
237
+ $kind: "NestedResult";
238
+ NestedResult: [number, number];
239
+ })[];
240
+ };
241
+ Publish: {
242
+ modules: string[];
243
+ dependencies: string[];
244
+ };
245
+ MakeMoveVec: {
246
+ type: string | null;
247
+ elements: ({
248
+ $kind: "GasCoin";
249
+ GasCoin: true;
250
+ } | {
251
+ $kind: "Input";
252
+ Input: number;
253
+ type?: "pure";
254
+ } | {
255
+ $kind: "Input";
256
+ Input: number;
257
+ type?: "object";
258
+ } | {
259
+ $kind: "Result";
260
+ Result: number;
261
+ } | {
262
+ $kind: "NestedResult";
263
+ NestedResult: [number, number];
264
+ })[];
265
+ };
266
+ Upgrade: {
267
+ modules: string[];
268
+ dependencies: string[];
269
+ package: string;
270
+ ticket: {
271
+ $kind: "GasCoin";
272
+ GasCoin: true;
273
+ } | {
274
+ $kind: "Input";
275
+ Input: number;
276
+ type?: "pure";
277
+ } | {
278
+ $kind: "Input";
279
+ Input: number;
280
+ type?: "object";
281
+ } | {
282
+ $kind: "Result";
283
+ Result: number;
284
+ } | {
285
+ $kind: "NestedResult";
286
+ NestedResult: [number, number];
287
+ };
288
+ };
289
+ $Intent: {
290
+ name: string;
291
+ inputs: {
292
+ [x: string]: {
293
+ $kind: "GasCoin";
294
+ GasCoin: true;
295
+ } | {
296
+ $kind: "Input";
297
+ Input: number;
298
+ type?: "pure";
299
+ } | {
300
+ $kind: "Input";
301
+ Input: number;
302
+ type?: "object";
303
+ } | {
304
+ $kind: "Result";
305
+ Result: number;
306
+ } | {
307
+ $kind: "NestedResult";
308
+ NestedResult: [number, number];
309
+ } | ({
310
+ $kind: "GasCoin";
311
+ GasCoin: true;
312
+ } | {
313
+ $kind: "Input";
314
+ Input: number;
315
+ type?: "pure";
316
+ } | {
317
+ $kind: "Input";
318
+ Input: number;
319
+ type?: "object";
320
+ } | {
321
+ $kind: "Result";
322
+ Result: number;
323
+ } | {
324
+ $kind: "NestedResult";
325
+ NestedResult: [number, number];
326
+ })[];
327
+ };
328
+ data: {
329
+ [x: string]: unknown;
330
+ };
331
+ };
332
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
333
+ };
334
+ commands: import("./commands.js").AnalyzedCommand[];
335
+ inputs: import("./inputs.js").AnalyzedCommandInput[];
336
+ coins: any;
337
+ gasCoins: {
338
+ coinType: string;
339
+ balance: bigint;
340
+ ownerAddress: string | null;
341
+ id: string;
342
+ version: string;
343
+ digest: string;
344
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
345
+ type: string;
346
+ content: PromiseLike<Uint8Array>;
347
+ previousTransaction: string | null;
348
+ }[];
349
+ }>;
350
+ coins: import("../analyzer.js").Analyzer<any, {
351
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
352
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
353
+ };
354
+ }, {
355
+ objects: {
356
+ ownerAddress: string | null;
357
+ id: string;
358
+ version: string;
359
+ digest: string;
360
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
361
+ type: string;
362
+ content: PromiseLike<Uint8Array>;
363
+ previousTransaction: string | null;
364
+ }[];
365
+ }>;
366
+ coinValues: import("../analyzer.js").Analyzer<{
367
+ total: number;
368
+ coinTypesWithoutPrice: string[];
369
+ coinTypes: {
370
+ coinType: string;
371
+ decimals: number;
372
+ price: number;
373
+ amount: bigint;
374
+ convertedAmount: number;
375
+ }[];
376
+ }, {
377
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
378
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
379
+ };
380
+ getCoinPrices: (coinTypes: string[]) => Promise<{
381
+ coinType: string;
382
+ decimals: number;
383
+ price: number | null;
384
+ }[]>;
385
+ }, {
386
+ coinFlows: {
387
+ outflows: import("./coin-flows.js").CoinFlow[];
388
+ };
389
+ }>;
390
+ commands: import("../analyzer.js").Analyzer<import("./commands.js").AnalyzedCommand[], {
391
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
392
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
393
+ };
394
+ }, {
395
+ data: {
396
+ version: 2;
397
+ sender?: string | null | undefined;
398
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
399
+ None: true;
400
+ Epoch: string | number;
401
+ }, "None" | "Epoch"> | null | undefined;
402
+ gasData: {
403
+ budget: string | number | null;
404
+ price: string | number | null;
405
+ owner: string | null;
406
+ payment: {
407
+ objectId: string;
408
+ version: string | number;
409
+ digest: string;
410
+ }[] | null;
411
+ };
412
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
413
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
414
+ ImmOrOwnedObject: {
415
+ objectId: string;
416
+ version: string | number;
417
+ digest: string;
418
+ };
419
+ SharedObject: {
420
+ objectId: string;
421
+ initialSharedVersion: string | number;
422
+ mutable: boolean;
423
+ };
424
+ Receiving: {
425
+ objectId: string;
426
+ version: string | number;
427
+ digest: string;
428
+ };
429
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
430
+ Pure: {
431
+ bytes: string;
432
+ };
433
+ UnresolvedPure: {
434
+ value: unknown;
435
+ };
436
+ UnresolvedObject: {
437
+ objectId: string;
438
+ version?: string | number | null | undefined;
439
+ digest?: string | null | undefined;
440
+ initialSharedVersion?: string | number | null | undefined;
441
+ mutable?: boolean | null | undefined;
442
+ };
443
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
444
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
445
+ MoveCall: {
446
+ package: string;
447
+ module: string;
448
+ function: string;
449
+ typeArguments: string[];
450
+ arguments: ({
451
+ $kind: "GasCoin";
452
+ GasCoin: true;
453
+ } | {
454
+ $kind: "Input";
455
+ Input: number;
456
+ type?: "pure";
457
+ } | {
458
+ $kind: "Input";
459
+ Input: number;
460
+ type?: "object";
461
+ } | {
462
+ $kind: "Result";
463
+ Result: number;
464
+ } | {
465
+ $kind: "NestedResult";
466
+ NestedResult: [number, number];
467
+ })[];
468
+ _argumentTypes?: {
469
+ ref: "&" | "&mut" | null;
470
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
471
+ }[] | null | undefined;
472
+ };
473
+ TransferObjects: {
474
+ objects: ({
475
+ $kind: "GasCoin";
476
+ GasCoin: true;
477
+ } | {
478
+ $kind: "Input";
479
+ Input: number;
480
+ type?: "pure";
481
+ } | {
482
+ $kind: "Input";
483
+ Input: number;
484
+ type?: "object";
485
+ } | {
486
+ $kind: "Result";
487
+ Result: number;
488
+ } | {
489
+ $kind: "NestedResult";
490
+ NestedResult: [number, number];
491
+ })[];
492
+ address: {
493
+ $kind: "GasCoin";
494
+ GasCoin: true;
495
+ } | {
496
+ $kind: "Input";
497
+ Input: number;
498
+ type?: "pure";
499
+ } | {
500
+ $kind: "Input";
501
+ Input: number;
502
+ type?: "object";
503
+ } | {
504
+ $kind: "Result";
505
+ Result: number;
506
+ } | {
507
+ $kind: "NestedResult";
508
+ NestedResult: [number, number];
509
+ };
510
+ };
511
+ SplitCoins: {
512
+ coin: {
513
+ $kind: "GasCoin";
514
+ GasCoin: true;
515
+ } | {
516
+ $kind: "Input";
517
+ Input: number;
518
+ type?: "pure";
519
+ } | {
520
+ $kind: "Input";
521
+ Input: number;
522
+ type?: "object";
523
+ } | {
524
+ $kind: "Result";
525
+ Result: number;
526
+ } | {
527
+ $kind: "NestedResult";
528
+ NestedResult: [number, number];
529
+ };
530
+ amounts: ({
531
+ $kind: "GasCoin";
532
+ GasCoin: true;
533
+ } | {
534
+ $kind: "Input";
535
+ Input: number;
536
+ type?: "pure";
537
+ } | {
538
+ $kind: "Input";
539
+ Input: number;
540
+ type?: "object";
541
+ } | {
542
+ $kind: "Result";
543
+ Result: number;
544
+ } | {
545
+ $kind: "NestedResult";
546
+ NestedResult: [number, number];
547
+ })[];
548
+ };
549
+ MergeCoins: {
550
+ destination: {
551
+ $kind: "GasCoin";
552
+ GasCoin: true;
553
+ } | {
554
+ $kind: "Input";
555
+ Input: number;
556
+ type?: "pure";
557
+ } | {
558
+ $kind: "Input";
559
+ Input: number;
560
+ type?: "object";
561
+ } | {
562
+ $kind: "Result";
563
+ Result: number;
564
+ } | {
565
+ $kind: "NestedResult";
566
+ NestedResult: [number, number];
567
+ };
568
+ sources: ({
569
+ $kind: "GasCoin";
570
+ GasCoin: true;
571
+ } | {
572
+ $kind: "Input";
573
+ Input: number;
574
+ type?: "pure";
575
+ } | {
576
+ $kind: "Input";
577
+ Input: number;
578
+ type?: "object";
579
+ } | {
580
+ $kind: "Result";
581
+ Result: number;
582
+ } | {
583
+ $kind: "NestedResult";
584
+ NestedResult: [number, number];
585
+ })[];
586
+ };
587
+ Publish: {
588
+ modules: string[];
589
+ dependencies: string[];
590
+ };
591
+ MakeMoveVec: {
592
+ type: string | null;
593
+ elements: ({
594
+ $kind: "GasCoin";
595
+ GasCoin: true;
596
+ } | {
597
+ $kind: "Input";
598
+ Input: number;
599
+ type?: "pure";
600
+ } | {
601
+ $kind: "Input";
602
+ Input: number;
603
+ type?: "object";
604
+ } | {
605
+ $kind: "Result";
606
+ Result: number;
607
+ } | {
608
+ $kind: "NestedResult";
609
+ NestedResult: [number, number];
610
+ })[];
611
+ };
612
+ Upgrade: {
613
+ modules: string[];
614
+ dependencies: string[];
615
+ package: string;
616
+ ticket: {
617
+ $kind: "GasCoin";
618
+ GasCoin: true;
619
+ } | {
620
+ $kind: "Input";
621
+ Input: number;
622
+ type?: "pure";
623
+ } | {
624
+ $kind: "Input";
625
+ Input: number;
626
+ type?: "object";
627
+ } | {
628
+ $kind: "Result";
629
+ Result: number;
630
+ } | {
631
+ $kind: "NestedResult";
632
+ NestedResult: [number, number];
633
+ };
634
+ };
635
+ $Intent: {
636
+ name: string;
637
+ inputs: {
638
+ [x: string]: {
639
+ $kind: "GasCoin";
640
+ GasCoin: true;
641
+ } | {
642
+ $kind: "Input";
643
+ Input: number;
644
+ type?: "pure";
645
+ } | {
646
+ $kind: "Input";
647
+ Input: number;
648
+ type?: "object";
649
+ } | {
650
+ $kind: "Result";
651
+ Result: number;
652
+ } | {
653
+ $kind: "NestedResult";
654
+ NestedResult: [number, number];
655
+ } | ({
656
+ $kind: "GasCoin";
657
+ GasCoin: true;
658
+ } | {
659
+ $kind: "Input";
660
+ Input: number;
661
+ type?: "pure";
662
+ } | {
663
+ $kind: "Input";
664
+ Input: number;
665
+ type?: "object";
666
+ } | {
667
+ $kind: "Result";
668
+ Result: number;
669
+ } | {
670
+ $kind: "NestedResult";
671
+ NestedResult: [number, number];
672
+ })[];
673
+ };
674
+ data: {
675
+ [x: string]: unknown;
676
+ };
677
+ };
678
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
679
+ };
680
+ moveFunctions: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.FunctionResponse[];
681
+ inputs: import("./inputs.js").AnalyzedCommandInput[];
682
+ }>;
683
+ data: import("../analyzer.js").Analyzer<{
684
+ version: 2;
685
+ sender?: string | null | undefined;
686
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
687
+ None: true;
688
+ Epoch: string | number;
689
+ }, "None" | "Epoch"> | null | undefined;
690
+ gasData: {
691
+ budget: string | number | null;
692
+ price: string | number | null;
693
+ owner: string | null;
694
+ payment: {
695
+ objectId: string;
696
+ version: string | number;
697
+ digest: string;
698
+ }[] | null;
699
+ };
700
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
701
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
702
+ ImmOrOwnedObject: {
703
+ objectId: string;
704
+ version: string | number;
705
+ digest: string;
706
+ };
707
+ SharedObject: {
708
+ objectId: string;
709
+ initialSharedVersion: string | number;
710
+ mutable: boolean;
711
+ };
712
+ Receiving: {
713
+ objectId: string;
714
+ version: string | number;
715
+ digest: string;
716
+ };
717
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
718
+ Pure: {
719
+ bytes: string;
720
+ };
721
+ UnresolvedPure: {
722
+ value: unknown;
723
+ };
724
+ UnresolvedObject: {
725
+ objectId: string;
726
+ version?: string | number | null | undefined;
727
+ digest?: string | null | undefined;
728
+ initialSharedVersion?: string | number | null | undefined;
729
+ mutable?: boolean | null | undefined;
730
+ };
731
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
732
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
733
+ MoveCall: {
734
+ package: string;
735
+ module: string;
736
+ function: string;
737
+ typeArguments: string[];
738
+ arguments: ({
739
+ $kind: "GasCoin";
740
+ GasCoin: true;
741
+ } | {
742
+ $kind: "Input";
743
+ Input: number;
744
+ type?: "pure";
745
+ } | {
746
+ $kind: "Input";
747
+ Input: number;
748
+ type?: "object";
749
+ } | {
750
+ $kind: "Result";
751
+ Result: number;
752
+ } | {
753
+ $kind: "NestedResult";
754
+ NestedResult: [number, number];
755
+ })[];
756
+ _argumentTypes?: {
757
+ ref: "&" | "&mut" | null;
758
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
759
+ }[] | null | undefined;
760
+ };
761
+ TransferObjects: {
762
+ objects: ({
763
+ $kind: "GasCoin";
764
+ GasCoin: true;
765
+ } | {
766
+ $kind: "Input";
767
+ Input: number;
768
+ type?: "pure";
769
+ } | {
770
+ $kind: "Input";
771
+ Input: number;
772
+ type?: "object";
773
+ } | {
774
+ $kind: "Result";
775
+ Result: number;
776
+ } | {
777
+ $kind: "NestedResult";
778
+ NestedResult: [number, number];
779
+ })[];
780
+ address: {
781
+ $kind: "GasCoin";
782
+ GasCoin: true;
783
+ } | {
784
+ $kind: "Input";
785
+ Input: number;
786
+ type?: "pure";
787
+ } | {
788
+ $kind: "Input";
789
+ Input: number;
790
+ type?: "object";
791
+ } | {
792
+ $kind: "Result";
793
+ Result: number;
794
+ } | {
795
+ $kind: "NestedResult";
796
+ NestedResult: [number, number];
797
+ };
798
+ };
799
+ SplitCoins: {
800
+ coin: {
801
+ $kind: "GasCoin";
802
+ GasCoin: true;
803
+ } | {
804
+ $kind: "Input";
805
+ Input: number;
806
+ type?: "pure";
807
+ } | {
808
+ $kind: "Input";
809
+ Input: number;
810
+ type?: "object";
811
+ } | {
812
+ $kind: "Result";
813
+ Result: number;
814
+ } | {
815
+ $kind: "NestedResult";
816
+ NestedResult: [number, number];
817
+ };
818
+ amounts: ({
819
+ $kind: "GasCoin";
820
+ GasCoin: true;
821
+ } | {
822
+ $kind: "Input";
823
+ Input: number;
824
+ type?: "pure";
825
+ } | {
826
+ $kind: "Input";
827
+ Input: number;
828
+ type?: "object";
829
+ } | {
830
+ $kind: "Result";
831
+ Result: number;
832
+ } | {
833
+ $kind: "NestedResult";
834
+ NestedResult: [number, number];
835
+ })[];
836
+ };
837
+ MergeCoins: {
838
+ destination: {
839
+ $kind: "GasCoin";
840
+ GasCoin: true;
841
+ } | {
842
+ $kind: "Input";
843
+ Input: number;
844
+ type?: "pure";
845
+ } | {
846
+ $kind: "Input";
847
+ Input: number;
848
+ type?: "object";
849
+ } | {
850
+ $kind: "Result";
851
+ Result: number;
852
+ } | {
853
+ $kind: "NestedResult";
854
+ NestedResult: [number, number];
855
+ };
856
+ sources: ({
857
+ $kind: "GasCoin";
858
+ GasCoin: true;
859
+ } | {
860
+ $kind: "Input";
861
+ Input: number;
862
+ type?: "pure";
863
+ } | {
864
+ $kind: "Input";
865
+ Input: number;
866
+ type?: "object";
867
+ } | {
868
+ $kind: "Result";
869
+ Result: number;
870
+ } | {
871
+ $kind: "NestedResult";
872
+ NestedResult: [number, number];
873
+ })[];
874
+ };
875
+ Publish: {
876
+ modules: string[];
877
+ dependencies: string[];
878
+ };
879
+ MakeMoveVec: {
880
+ type: string | null;
881
+ elements: ({
882
+ $kind: "GasCoin";
883
+ GasCoin: true;
884
+ } | {
885
+ $kind: "Input";
886
+ Input: number;
887
+ type?: "pure";
888
+ } | {
889
+ $kind: "Input";
890
+ Input: number;
891
+ type?: "object";
892
+ } | {
893
+ $kind: "Result";
894
+ Result: number;
895
+ } | {
896
+ $kind: "NestedResult";
897
+ NestedResult: [number, number];
898
+ })[];
899
+ };
900
+ Upgrade: {
901
+ modules: string[];
902
+ dependencies: string[];
903
+ package: string;
904
+ ticket: {
905
+ $kind: "GasCoin";
906
+ GasCoin: true;
907
+ } | {
908
+ $kind: "Input";
909
+ Input: number;
910
+ type?: "pure";
911
+ } | {
912
+ $kind: "Input";
913
+ Input: number;
914
+ type?: "object";
915
+ } | {
916
+ $kind: "Result";
917
+ Result: number;
918
+ } | {
919
+ $kind: "NestedResult";
920
+ NestedResult: [number, number];
921
+ };
922
+ };
923
+ $Intent: {
924
+ name: string;
925
+ inputs: {
926
+ [x: string]: {
927
+ $kind: "GasCoin";
928
+ GasCoin: true;
929
+ } | {
930
+ $kind: "Input";
931
+ Input: number;
932
+ type?: "pure";
933
+ } | {
934
+ $kind: "Input";
935
+ Input: number;
936
+ type?: "object";
937
+ } | {
938
+ $kind: "Result";
939
+ Result: number;
940
+ } | {
941
+ $kind: "NestedResult";
942
+ NestedResult: [number, number];
943
+ } | ({
944
+ $kind: "GasCoin";
945
+ GasCoin: true;
946
+ } | {
947
+ $kind: "Input";
948
+ Input: number;
949
+ type?: "pure";
950
+ } | {
951
+ $kind: "Input";
952
+ Input: number;
953
+ type?: "object";
954
+ } | {
955
+ $kind: "Result";
956
+ Result: number;
957
+ } | {
958
+ $kind: "NestedResult";
959
+ NestedResult: [number, number];
960
+ })[];
961
+ };
962
+ data: {
963
+ [x: string]: unknown;
964
+ };
965
+ };
966
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
967
+ }, {
968
+ client: import("@haneullabs/haneul/dist/cjs/experimental/core.js").ClientWithCoreApi;
969
+ }, {
970
+ bytes: Uint8Array<ArrayBufferLike>;
971
+ }>;
972
+ digest: import("../analyzer.js").Analyzer<string, {
973
+ client: import("@haneullabs/haneul/dist/cjs/experimental/core.js").ClientWithCoreApi;
974
+ }, {
975
+ bytes: Uint8Array<ArrayBufferLike>;
976
+ }>;
977
+ transactionResponse: import("../analyzer.js").Analyzer<import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.TransactionResponse, {
978
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
979
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
980
+ };
981
+ transactionResponse?: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.TransactionResponse | undefined;
982
+ }, {
983
+ bytes: Uint8Array<ArrayBufferLike>;
984
+ }>;
985
+ gasCoins: import("../analyzer.js").Analyzer<{
986
+ coinType: string;
987
+ balance: bigint;
988
+ ownerAddress: string | null;
989
+ id: string;
990
+ version: string;
991
+ digest: string;
992
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
993
+ type: string;
994
+ content: PromiseLike<Uint8Array>;
995
+ previousTransaction: string | null;
996
+ }[], {
997
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
998
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
999
+ };
1000
+ }, {
1001
+ objectsById: Map<string, {
1002
+ ownerAddress: string | null;
1003
+ id: string;
1004
+ version: string;
1005
+ digest: string;
1006
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
1007
+ type: string;
1008
+ content: PromiseLike<Uint8Array>;
1009
+ previousTransaction: string | null;
1010
+ }>;
1011
+ data: {
1012
+ version: 2;
1013
+ sender?: string | null | undefined;
1014
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1015
+ None: true;
1016
+ Epoch: string | number;
1017
+ }, "None" | "Epoch"> | null | undefined;
1018
+ gasData: {
1019
+ budget: string | number | null;
1020
+ price: string | number | null;
1021
+ owner: string | null;
1022
+ payment: {
1023
+ objectId: string;
1024
+ version: string | number;
1025
+ digest: string;
1026
+ }[] | null;
1027
+ };
1028
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1029
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1030
+ ImmOrOwnedObject: {
1031
+ objectId: string;
1032
+ version: string | number;
1033
+ digest: string;
1034
+ };
1035
+ SharedObject: {
1036
+ objectId: string;
1037
+ initialSharedVersion: string | number;
1038
+ mutable: boolean;
1039
+ };
1040
+ Receiving: {
1041
+ objectId: string;
1042
+ version: string | number;
1043
+ digest: string;
1044
+ };
1045
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1046
+ Pure: {
1047
+ bytes: string;
1048
+ };
1049
+ UnresolvedPure: {
1050
+ value: unknown;
1051
+ };
1052
+ UnresolvedObject: {
1053
+ objectId: string;
1054
+ version?: string | number | null | undefined;
1055
+ digest?: string | null | undefined;
1056
+ initialSharedVersion?: string | number | null | undefined;
1057
+ mutable?: boolean | null | undefined;
1058
+ };
1059
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
1060
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1061
+ MoveCall: {
1062
+ package: string;
1063
+ module: string;
1064
+ function: string;
1065
+ typeArguments: string[];
1066
+ arguments: ({
1067
+ $kind: "GasCoin";
1068
+ GasCoin: true;
1069
+ } | {
1070
+ $kind: "Input";
1071
+ Input: number;
1072
+ type?: "pure";
1073
+ } | {
1074
+ $kind: "Input";
1075
+ Input: number;
1076
+ type?: "object";
1077
+ } | {
1078
+ $kind: "Result";
1079
+ Result: number;
1080
+ } | {
1081
+ $kind: "NestedResult";
1082
+ NestedResult: [number, number];
1083
+ })[];
1084
+ _argumentTypes?: {
1085
+ ref: "&" | "&mut" | null;
1086
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
1087
+ }[] | null | undefined;
1088
+ };
1089
+ TransferObjects: {
1090
+ objects: ({
1091
+ $kind: "GasCoin";
1092
+ GasCoin: true;
1093
+ } | {
1094
+ $kind: "Input";
1095
+ Input: number;
1096
+ type?: "pure";
1097
+ } | {
1098
+ $kind: "Input";
1099
+ Input: number;
1100
+ type?: "object";
1101
+ } | {
1102
+ $kind: "Result";
1103
+ Result: number;
1104
+ } | {
1105
+ $kind: "NestedResult";
1106
+ NestedResult: [number, number];
1107
+ })[];
1108
+ address: {
1109
+ $kind: "GasCoin";
1110
+ GasCoin: true;
1111
+ } | {
1112
+ $kind: "Input";
1113
+ Input: number;
1114
+ type?: "pure";
1115
+ } | {
1116
+ $kind: "Input";
1117
+ Input: number;
1118
+ type?: "object";
1119
+ } | {
1120
+ $kind: "Result";
1121
+ Result: number;
1122
+ } | {
1123
+ $kind: "NestedResult";
1124
+ NestedResult: [number, number];
1125
+ };
1126
+ };
1127
+ SplitCoins: {
1128
+ coin: {
1129
+ $kind: "GasCoin";
1130
+ GasCoin: true;
1131
+ } | {
1132
+ $kind: "Input";
1133
+ Input: number;
1134
+ type?: "pure";
1135
+ } | {
1136
+ $kind: "Input";
1137
+ Input: number;
1138
+ type?: "object";
1139
+ } | {
1140
+ $kind: "Result";
1141
+ Result: number;
1142
+ } | {
1143
+ $kind: "NestedResult";
1144
+ NestedResult: [number, number];
1145
+ };
1146
+ amounts: ({
1147
+ $kind: "GasCoin";
1148
+ GasCoin: true;
1149
+ } | {
1150
+ $kind: "Input";
1151
+ Input: number;
1152
+ type?: "pure";
1153
+ } | {
1154
+ $kind: "Input";
1155
+ Input: number;
1156
+ type?: "object";
1157
+ } | {
1158
+ $kind: "Result";
1159
+ Result: number;
1160
+ } | {
1161
+ $kind: "NestedResult";
1162
+ NestedResult: [number, number];
1163
+ })[];
1164
+ };
1165
+ MergeCoins: {
1166
+ destination: {
1167
+ $kind: "GasCoin";
1168
+ GasCoin: true;
1169
+ } | {
1170
+ $kind: "Input";
1171
+ Input: number;
1172
+ type?: "pure";
1173
+ } | {
1174
+ $kind: "Input";
1175
+ Input: number;
1176
+ type?: "object";
1177
+ } | {
1178
+ $kind: "Result";
1179
+ Result: number;
1180
+ } | {
1181
+ $kind: "NestedResult";
1182
+ NestedResult: [number, number];
1183
+ };
1184
+ sources: ({
1185
+ $kind: "GasCoin";
1186
+ GasCoin: true;
1187
+ } | {
1188
+ $kind: "Input";
1189
+ Input: number;
1190
+ type?: "pure";
1191
+ } | {
1192
+ $kind: "Input";
1193
+ Input: number;
1194
+ type?: "object";
1195
+ } | {
1196
+ $kind: "Result";
1197
+ Result: number;
1198
+ } | {
1199
+ $kind: "NestedResult";
1200
+ NestedResult: [number, number];
1201
+ })[];
1202
+ };
1203
+ Publish: {
1204
+ modules: string[];
1205
+ dependencies: string[];
1206
+ };
1207
+ MakeMoveVec: {
1208
+ type: string | null;
1209
+ elements: ({
1210
+ $kind: "GasCoin";
1211
+ GasCoin: true;
1212
+ } | {
1213
+ $kind: "Input";
1214
+ Input: number;
1215
+ type?: "pure";
1216
+ } | {
1217
+ $kind: "Input";
1218
+ Input: number;
1219
+ type?: "object";
1220
+ } | {
1221
+ $kind: "Result";
1222
+ Result: number;
1223
+ } | {
1224
+ $kind: "NestedResult";
1225
+ NestedResult: [number, number];
1226
+ })[];
1227
+ };
1228
+ Upgrade: {
1229
+ modules: string[];
1230
+ dependencies: string[];
1231
+ package: string;
1232
+ ticket: {
1233
+ $kind: "GasCoin";
1234
+ GasCoin: true;
1235
+ } | {
1236
+ $kind: "Input";
1237
+ Input: number;
1238
+ type?: "pure";
1239
+ } | {
1240
+ $kind: "Input";
1241
+ Input: number;
1242
+ type?: "object";
1243
+ } | {
1244
+ $kind: "Result";
1245
+ Result: number;
1246
+ } | {
1247
+ $kind: "NestedResult";
1248
+ NestedResult: [number, number];
1249
+ };
1250
+ };
1251
+ $Intent: {
1252
+ name: string;
1253
+ inputs: {
1254
+ [x: string]: {
1255
+ $kind: "GasCoin";
1256
+ GasCoin: true;
1257
+ } | {
1258
+ $kind: "Input";
1259
+ Input: number;
1260
+ type?: "pure";
1261
+ } | {
1262
+ $kind: "Input";
1263
+ Input: number;
1264
+ type?: "object";
1265
+ } | {
1266
+ $kind: "Result";
1267
+ Result: number;
1268
+ } | {
1269
+ $kind: "NestedResult";
1270
+ NestedResult: [number, number];
1271
+ } | ({
1272
+ $kind: "GasCoin";
1273
+ GasCoin: true;
1274
+ } | {
1275
+ $kind: "Input";
1276
+ Input: number;
1277
+ type?: "pure";
1278
+ } | {
1279
+ $kind: "Input";
1280
+ Input: number;
1281
+ type?: "object";
1282
+ } | {
1283
+ $kind: "Result";
1284
+ Result: number;
1285
+ } | {
1286
+ $kind: "NestedResult";
1287
+ NestedResult: [number, number];
1288
+ })[];
1289
+ };
1290
+ data: {
1291
+ [x: string]: unknown;
1292
+ };
1293
+ };
1294
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
1295
+ };
1296
+ }>;
1297
+ inputs: import("../analyzer.js").Analyzer<import("./inputs.js").AnalyzedCommandInput[], {
1298
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
1299
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
1300
+ };
1301
+ }, {
1302
+ data: {
1303
+ version: 2;
1304
+ sender?: string | null | undefined;
1305
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1306
+ None: true;
1307
+ Epoch: string | number;
1308
+ }, "None" | "Epoch"> | null | undefined;
1309
+ gasData: {
1310
+ budget: string | number | null;
1311
+ price: string | number | null;
1312
+ owner: string | null;
1313
+ payment: {
1314
+ objectId: string;
1315
+ version: string | number;
1316
+ digest: string;
1317
+ }[] | null;
1318
+ };
1319
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1320
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1321
+ ImmOrOwnedObject: {
1322
+ objectId: string;
1323
+ version: string | number;
1324
+ digest: string;
1325
+ };
1326
+ SharedObject: {
1327
+ objectId: string;
1328
+ initialSharedVersion: string | number;
1329
+ mutable: boolean;
1330
+ };
1331
+ Receiving: {
1332
+ objectId: string;
1333
+ version: string | number;
1334
+ digest: string;
1335
+ };
1336
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1337
+ Pure: {
1338
+ bytes: string;
1339
+ };
1340
+ UnresolvedPure: {
1341
+ value: unknown;
1342
+ };
1343
+ UnresolvedObject: {
1344
+ objectId: string;
1345
+ version?: string | number | null | undefined;
1346
+ digest?: string | null | undefined;
1347
+ initialSharedVersion?: string | number | null | undefined;
1348
+ mutable?: boolean | null | undefined;
1349
+ };
1350
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
1351
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1352
+ MoveCall: {
1353
+ package: string;
1354
+ module: string;
1355
+ function: string;
1356
+ typeArguments: string[];
1357
+ arguments: ({
1358
+ $kind: "GasCoin";
1359
+ GasCoin: true;
1360
+ } | {
1361
+ $kind: "Input";
1362
+ Input: number;
1363
+ type?: "pure";
1364
+ } | {
1365
+ $kind: "Input";
1366
+ Input: number;
1367
+ type?: "object";
1368
+ } | {
1369
+ $kind: "Result";
1370
+ Result: number;
1371
+ } | {
1372
+ $kind: "NestedResult";
1373
+ NestedResult: [number, number];
1374
+ })[];
1375
+ _argumentTypes?: {
1376
+ ref: "&" | "&mut" | null;
1377
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
1378
+ }[] | null | undefined;
1379
+ };
1380
+ TransferObjects: {
1381
+ objects: ({
1382
+ $kind: "GasCoin";
1383
+ GasCoin: true;
1384
+ } | {
1385
+ $kind: "Input";
1386
+ Input: number;
1387
+ type?: "pure";
1388
+ } | {
1389
+ $kind: "Input";
1390
+ Input: number;
1391
+ type?: "object";
1392
+ } | {
1393
+ $kind: "Result";
1394
+ Result: number;
1395
+ } | {
1396
+ $kind: "NestedResult";
1397
+ NestedResult: [number, number];
1398
+ })[];
1399
+ address: {
1400
+ $kind: "GasCoin";
1401
+ GasCoin: true;
1402
+ } | {
1403
+ $kind: "Input";
1404
+ Input: number;
1405
+ type?: "pure";
1406
+ } | {
1407
+ $kind: "Input";
1408
+ Input: number;
1409
+ type?: "object";
1410
+ } | {
1411
+ $kind: "Result";
1412
+ Result: number;
1413
+ } | {
1414
+ $kind: "NestedResult";
1415
+ NestedResult: [number, number];
1416
+ };
1417
+ };
1418
+ SplitCoins: {
1419
+ coin: {
1420
+ $kind: "GasCoin";
1421
+ GasCoin: true;
1422
+ } | {
1423
+ $kind: "Input";
1424
+ Input: number;
1425
+ type?: "pure";
1426
+ } | {
1427
+ $kind: "Input";
1428
+ Input: number;
1429
+ type?: "object";
1430
+ } | {
1431
+ $kind: "Result";
1432
+ Result: number;
1433
+ } | {
1434
+ $kind: "NestedResult";
1435
+ NestedResult: [number, number];
1436
+ };
1437
+ amounts: ({
1438
+ $kind: "GasCoin";
1439
+ GasCoin: true;
1440
+ } | {
1441
+ $kind: "Input";
1442
+ Input: number;
1443
+ type?: "pure";
1444
+ } | {
1445
+ $kind: "Input";
1446
+ Input: number;
1447
+ type?: "object";
1448
+ } | {
1449
+ $kind: "Result";
1450
+ Result: number;
1451
+ } | {
1452
+ $kind: "NestedResult";
1453
+ NestedResult: [number, number];
1454
+ })[];
1455
+ };
1456
+ MergeCoins: {
1457
+ destination: {
1458
+ $kind: "GasCoin";
1459
+ GasCoin: true;
1460
+ } | {
1461
+ $kind: "Input";
1462
+ Input: number;
1463
+ type?: "pure";
1464
+ } | {
1465
+ $kind: "Input";
1466
+ Input: number;
1467
+ type?: "object";
1468
+ } | {
1469
+ $kind: "Result";
1470
+ Result: number;
1471
+ } | {
1472
+ $kind: "NestedResult";
1473
+ NestedResult: [number, number];
1474
+ };
1475
+ sources: ({
1476
+ $kind: "GasCoin";
1477
+ GasCoin: true;
1478
+ } | {
1479
+ $kind: "Input";
1480
+ Input: number;
1481
+ type?: "pure";
1482
+ } | {
1483
+ $kind: "Input";
1484
+ Input: number;
1485
+ type?: "object";
1486
+ } | {
1487
+ $kind: "Result";
1488
+ Result: number;
1489
+ } | {
1490
+ $kind: "NestedResult";
1491
+ NestedResult: [number, number];
1492
+ })[];
1493
+ };
1494
+ Publish: {
1495
+ modules: string[];
1496
+ dependencies: string[];
1497
+ };
1498
+ MakeMoveVec: {
1499
+ type: string | null;
1500
+ elements: ({
1501
+ $kind: "GasCoin";
1502
+ GasCoin: true;
1503
+ } | {
1504
+ $kind: "Input";
1505
+ Input: number;
1506
+ type?: "pure";
1507
+ } | {
1508
+ $kind: "Input";
1509
+ Input: number;
1510
+ type?: "object";
1511
+ } | {
1512
+ $kind: "Result";
1513
+ Result: number;
1514
+ } | {
1515
+ $kind: "NestedResult";
1516
+ NestedResult: [number, number];
1517
+ })[];
1518
+ };
1519
+ Upgrade: {
1520
+ modules: string[];
1521
+ dependencies: string[];
1522
+ package: string;
1523
+ ticket: {
1524
+ $kind: "GasCoin";
1525
+ GasCoin: true;
1526
+ } | {
1527
+ $kind: "Input";
1528
+ Input: number;
1529
+ type?: "pure";
1530
+ } | {
1531
+ $kind: "Input";
1532
+ Input: number;
1533
+ type?: "object";
1534
+ } | {
1535
+ $kind: "Result";
1536
+ Result: number;
1537
+ } | {
1538
+ $kind: "NestedResult";
1539
+ NestedResult: [number, number];
1540
+ };
1541
+ };
1542
+ $Intent: {
1543
+ name: string;
1544
+ inputs: {
1545
+ [x: string]: {
1546
+ $kind: "GasCoin";
1547
+ GasCoin: true;
1548
+ } | {
1549
+ $kind: "Input";
1550
+ Input: number;
1551
+ type?: "pure";
1552
+ } | {
1553
+ $kind: "Input";
1554
+ Input: number;
1555
+ type?: "object";
1556
+ } | {
1557
+ $kind: "Result";
1558
+ Result: number;
1559
+ } | {
1560
+ $kind: "NestedResult";
1561
+ NestedResult: [number, number];
1562
+ } | ({
1563
+ $kind: "GasCoin";
1564
+ GasCoin: true;
1565
+ } | {
1566
+ $kind: "Input";
1567
+ Input: number;
1568
+ type?: "pure";
1569
+ } | {
1570
+ $kind: "Input";
1571
+ Input: number;
1572
+ type?: "object";
1573
+ } | {
1574
+ $kind: "Result";
1575
+ Result: number;
1576
+ } | {
1577
+ $kind: "NestedResult";
1578
+ NestedResult: [number, number];
1579
+ })[];
1580
+ };
1581
+ data: {
1582
+ [x: string]: unknown;
1583
+ };
1584
+ };
1585
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
1586
+ };
1587
+ objectsById: Map<string, {
1588
+ ownerAddress: string | null;
1589
+ id: string;
1590
+ version: string;
1591
+ digest: string;
1592
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
1593
+ type: string;
1594
+ content: PromiseLike<Uint8Array>;
1595
+ previousTransaction: string | null;
1596
+ }>;
1597
+ }>;
1598
+ moveFunctions: import("../analyzer.js").Analyzer<import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.FunctionResponse[], {
1599
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
1600
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
1601
+ };
1602
+ }, {
1603
+ data: {
1604
+ version: 2;
1605
+ sender?: string | null | undefined;
1606
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1607
+ None: true;
1608
+ Epoch: string | number;
1609
+ }, "None" | "Epoch"> | null | undefined;
1610
+ gasData: {
1611
+ budget: string | number | null;
1612
+ price: string | number | null;
1613
+ owner: string | null;
1614
+ payment: {
1615
+ objectId: string;
1616
+ version: string | number;
1617
+ digest: string;
1618
+ }[] | null;
1619
+ };
1620
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1621
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1622
+ ImmOrOwnedObject: {
1623
+ objectId: string;
1624
+ version: string | number;
1625
+ digest: string;
1626
+ };
1627
+ SharedObject: {
1628
+ objectId: string;
1629
+ initialSharedVersion: string | number;
1630
+ mutable: boolean;
1631
+ };
1632
+ Receiving: {
1633
+ objectId: string;
1634
+ version: string | number;
1635
+ digest: string;
1636
+ };
1637
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1638
+ Pure: {
1639
+ bytes: string;
1640
+ };
1641
+ UnresolvedPure: {
1642
+ value: unknown;
1643
+ };
1644
+ UnresolvedObject: {
1645
+ objectId: string;
1646
+ version?: string | number | null | undefined;
1647
+ digest?: string | null | undefined;
1648
+ initialSharedVersion?: string | number | null | undefined;
1649
+ mutable?: boolean | null | undefined;
1650
+ };
1651
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
1652
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1653
+ MoveCall: {
1654
+ package: string;
1655
+ module: string;
1656
+ function: string;
1657
+ typeArguments: string[];
1658
+ arguments: ({
1659
+ $kind: "GasCoin";
1660
+ GasCoin: true;
1661
+ } | {
1662
+ $kind: "Input";
1663
+ Input: number;
1664
+ type?: "pure";
1665
+ } | {
1666
+ $kind: "Input";
1667
+ Input: number;
1668
+ type?: "object";
1669
+ } | {
1670
+ $kind: "Result";
1671
+ Result: number;
1672
+ } | {
1673
+ $kind: "NestedResult";
1674
+ NestedResult: [number, number];
1675
+ })[];
1676
+ _argumentTypes?: {
1677
+ ref: "&" | "&mut" | null;
1678
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
1679
+ }[] | null | undefined;
1680
+ };
1681
+ TransferObjects: {
1682
+ objects: ({
1683
+ $kind: "GasCoin";
1684
+ GasCoin: true;
1685
+ } | {
1686
+ $kind: "Input";
1687
+ Input: number;
1688
+ type?: "pure";
1689
+ } | {
1690
+ $kind: "Input";
1691
+ Input: number;
1692
+ type?: "object";
1693
+ } | {
1694
+ $kind: "Result";
1695
+ Result: number;
1696
+ } | {
1697
+ $kind: "NestedResult";
1698
+ NestedResult: [number, number];
1699
+ })[];
1700
+ address: {
1701
+ $kind: "GasCoin";
1702
+ GasCoin: true;
1703
+ } | {
1704
+ $kind: "Input";
1705
+ Input: number;
1706
+ type?: "pure";
1707
+ } | {
1708
+ $kind: "Input";
1709
+ Input: number;
1710
+ type?: "object";
1711
+ } | {
1712
+ $kind: "Result";
1713
+ Result: number;
1714
+ } | {
1715
+ $kind: "NestedResult";
1716
+ NestedResult: [number, number];
1717
+ };
1718
+ };
1719
+ SplitCoins: {
1720
+ coin: {
1721
+ $kind: "GasCoin";
1722
+ GasCoin: true;
1723
+ } | {
1724
+ $kind: "Input";
1725
+ Input: number;
1726
+ type?: "pure";
1727
+ } | {
1728
+ $kind: "Input";
1729
+ Input: number;
1730
+ type?: "object";
1731
+ } | {
1732
+ $kind: "Result";
1733
+ Result: number;
1734
+ } | {
1735
+ $kind: "NestedResult";
1736
+ NestedResult: [number, number];
1737
+ };
1738
+ amounts: ({
1739
+ $kind: "GasCoin";
1740
+ GasCoin: true;
1741
+ } | {
1742
+ $kind: "Input";
1743
+ Input: number;
1744
+ type?: "pure";
1745
+ } | {
1746
+ $kind: "Input";
1747
+ Input: number;
1748
+ type?: "object";
1749
+ } | {
1750
+ $kind: "Result";
1751
+ Result: number;
1752
+ } | {
1753
+ $kind: "NestedResult";
1754
+ NestedResult: [number, number];
1755
+ })[];
1756
+ };
1757
+ MergeCoins: {
1758
+ destination: {
1759
+ $kind: "GasCoin";
1760
+ GasCoin: true;
1761
+ } | {
1762
+ $kind: "Input";
1763
+ Input: number;
1764
+ type?: "pure";
1765
+ } | {
1766
+ $kind: "Input";
1767
+ Input: number;
1768
+ type?: "object";
1769
+ } | {
1770
+ $kind: "Result";
1771
+ Result: number;
1772
+ } | {
1773
+ $kind: "NestedResult";
1774
+ NestedResult: [number, number];
1775
+ };
1776
+ sources: ({
1777
+ $kind: "GasCoin";
1778
+ GasCoin: true;
1779
+ } | {
1780
+ $kind: "Input";
1781
+ Input: number;
1782
+ type?: "pure";
1783
+ } | {
1784
+ $kind: "Input";
1785
+ Input: number;
1786
+ type?: "object";
1787
+ } | {
1788
+ $kind: "Result";
1789
+ Result: number;
1790
+ } | {
1791
+ $kind: "NestedResult";
1792
+ NestedResult: [number, number];
1793
+ })[];
1794
+ };
1795
+ Publish: {
1796
+ modules: string[];
1797
+ dependencies: string[];
1798
+ };
1799
+ MakeMoveVec: {
1800
+ type: string | null;
1801
+ elements: ({
1802
+ $kind: "GasCoin";
1803
+ GasCoin: true;
1804
+ } | {
1805
+ $kind: "Input";
1806
+ Input: number;
1807
+ type?: "pure";
1808
+ } | {
1809
+ $kind: "Input";
1810
+ Input: number;
1811
+ type?: "object";
1812
+ } | {
1813
+ $kind: "Result";
1814
+ Result: number;
1815
+ } | {
1816
+ $kind: "NestedResult";
1817
+ NestedResult: [number, number];
1818
+ })[];
1819
+ };
1820
+ Upgrade: {
1821
+ modules: string[];
1822
+ dependencies: string[];
1823
+ package: string;
1824
+ ticket: {
1825
+ $kind: "GasCoin";
1826
+ GasCoin: true;
1827
+ } | {
1828
+ $kind: "Input";
1829
+ Input: number;
1830
+ type?: "pure";
1831
+ } | {
1832
+ $kind: "Input";
1833
+ Input: number;
1834
+ type?: "object";
1835
+ } | {
1836
+ $kind: "Result";
1837
+ Result: number;
1838
+ } | {
1839
+ $kind: "NestedResult";
1840
+ NestedResult: [number, number];
1841
+ };
1842
+ };
1843
+ $Intent: {
1844
+ name: string;
1845
+ inputs: {
1846
+ [x: string]: {
1847
+ $kind: "GasCoin";
1848
+ GasCoin: true;
1849
+ } | {
1850
+ $kind: "Input";
1851
+ Input: number;
1852
+ type?: "pure";
1853
+ } | {
1854
+ $kind: "Input";
1855
+ Input: number;
1856
+ type?: "object";
1857
+ } | {
1858
+ $kind: "Result";
1859
+ Result: number;
1860
+ } | {
1861
+ $kind: "NestedResult";
1862
+ NestedResult: [number, number];
1863
+ } | ({
1864
+ $kind: "GasCoin";
1865
+ GasCoin: true;
1866
+ } | {
1867
+ $kind: "Input";
1868
+ Input: number;
1869
+ type?: "pure";
1870
+ } | {
1871
+ $kind: "Input";
1872
+ Input: number;
1873
+ type?: "object";
1874
+ } | {
1875
+ $kind: "Result";
1876
+ Result: number;
1877
+ } | {
1878
+ $kind: "NestedResult";
1879
+ NestedResult: [number, number];
1880
+ })[];
1881
+ };
1882
+ data: {
1883
+ [x: string]: unknown;
1884
+ };
1885
+ };
1886
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
1887
+ };
1888
+ }>;
1889
+ objectIds: import("../analyzer.js").Analyzer<string[], {
1890
+ client: import("@haneullabs/haneul/dist/cjs/experimental/core.js").ClientWithCoreApi;
1891
+ }, {
1892
+ data: {
1893
+ version: 2;
1894
+ sender?: string | null | undefined;
1895
+ expiration?: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1896
+ None: true;
1897
+ Epoch: string | number;
1898
+ }, "None" | "Epoch"> | null | undefined;
1899
+ gasData: {
1900
+ budget: string | number | null;
1901
+ price: string | number | null;
1902
+ owner: string | null;
1903
+ payment: {
1904
+ objectId: string;
1905
+ version: string | number;
1906
+ digest: string;
1907
+ }[] | null;
1908
+ };
1909
+ inputs: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1910
+ Object: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1911
+ ImmOrOwnedObject: {
1912
+ objectId: string;
1913
+ version: string | number;
1914
+ digest: string;
1915
+ };
1916
+ SharedObject: {
1917
+ objectId: string;
1918
+ initialSharedVersion: string | number;
1919
+ mutable: boolean;
1920
+ };
1921
+ Receiving: {
1922
+ objectId: string;
1923
+ version: string | number;
1924
+ digest: string;
1925
+ };
1926
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1927
+ Pure: {
1928
+ bytes: string;
1929
+ };
1930
+ UnresolvedPure: {
1931
+ value: unknown;
1932
+ };
1933
+ UnresolvedObject: {
1934
+ objectId: string;
1935
+ version?: string | number | null | undefined;
1936
+ digest?: string | null | undefined;
1937
+ initialSharedVersion?: string | number | null | undefined;
1938
+ mutable?: boolean | null | undefined;
1939
+ };
1940
+ }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
1941
+ commands: import("@haneullabs/bcs").EnumOutputShapeWithKeys<{
1942
+ MoveCall: {
1943
+ package: string;
1944
+ module: string;
1945
+ function: string;
1946
+ typeArguments: string[];
1947
+ arguments: ({
1948
+ $kind: "GasCoin";
1949
+ GasCoin: true;
1950
+ } | {
1951
+ $kind: "Input";
1952
+ Input: number;
1953
+ type?: "pure";
1954
+ } | {
1955
+ $kind: "Input";
1956
+ Input: number;
1957
+ type?: "object";
1958
+ } | {
1959
+ $kind: "Result";
1960
+ Result: number;
1961
+ } | {
1962
+ $kind: "NestedResult";
1963
+ NestedResult: [number, number];
1964
+ })[];
1965
+ _argumentTypes?: {
1966
+ ref: "&" | "&mut" | null;
1967
+ body: import("@haneullabs/haneul/dist/cjs/transactions/index.js").OpenMoveTypeSignatureBody;
1968
+ }[] | null | undefined;
1969
+ };
1970
+ TransferObjects: {
1971
+ objects: ({
1972
+ $kind: "GasCoin";
1973
+ GasCoin: true;
1974
+ } | {
1975
+ $kind: "Input";
1976
+ Input: number;
1977
+ type?: "pure";
1978
+ } | {
1979
+ $kind: "Input";
1980
+ Input: number;
1981
+ type?: "object";
1982
+ } | {
1983
+ $kind: "Result";
1984
+ Result: number;
1985
+ } | {
1986
+ $kind: "NestedResult";
1987
+ NestedResult: [number, number];
1988
+ })[];
1989
+ address: {
1990
+ $kind: "GasCoin";
1991
+ GasCoin: true;
1992
+ } | {
1993
+ $kind: "Input";
1994
+ Input: number;
1995
+ type?: "pure";
1996
+ } | {
1997
+ $kind: "Input";
1998
+ Input: number;
1999
+ type?: "object";
2000
+ } | {
2001
+ $kind: "Result";
2002
+ Result: number;
2003
+ } | {
2004
+ $kind: "NestedResult";
2005
+ NestedResult: [number, number];
2006
+ };
2007
+ };
2008
+ SplitCoins: {
2009
+ coin: {
2010
+ $kind: "GasCoin";
2011
+ GasCoin: true;
2012
+ } | {
2013
+ $kind: "Input";
2014
+ Input: number;
2015
+ type?: "pure";
2016
+ } | {
2017
+ $kind: "Input";
2018
+ Input: number;
2019
+ type?: "object";
2020
+ } | {
2021
+ $kind: "Result";
2022
+ Result: number;
2023
+ } | {
2024
+ $kind: "NestedResult";
2025
+ NestedResult: [number, number];
2026
+ };
2027
+ amounts: ({
2028
+ $kind: "GasCoin";
2029
+ GasCoin: true;
2030
+ } | {
2031
+ $kind: "Input";
2032
+ Input: number;
2033
+ type?: "pure";
2034
+ } | {
2035
+ $kind: "Input";
2036
+ Input: number;
2037
+ type?: "object";
2038
+ } | {
2039
+ $kind: "Result";
2040
+ Result: number;
2041
+ } | {
2042
+ $kind: "NestedResult";
2043
+ NestedResult: [number, number];
2044
+ })[];
2045
+ };
2046
+ MergeCoins: {
2047
+ destination: {
2048
+ $kind: "GasCoin";
2049
+ GasCoin: true;
2050
+ } | {
2051
+ $kind: "Input";
2052
+ Input: number;
2053
+ type?: "pure";
2054
+ } | {
2055
+ $kind: "Input";
2056
+ Input: number;
2057
+ type?: "object";
2058
+ } | {
2059
+ $kind: "Result";
2060
+ Result: number;
2061
+ } | {
2062
+ $kind: "NestedResult";
2063
+ NestedResult: [number, number];
2064
+ };
2065
+ sources: ({
2066
+ $kind: "GasCoin";
2067
+ GasCoin: true;
2068
+ } | {
2069
+ $kind: "Input";
2070
+ Input: number;
2071
+ type?: "pure";
2072
+ } | {
2073
+ $kind: "Input";
2074
+ Input: number;
2075
+ type?: "object";
2076
+ } | {
2077
+ $kind: "Result";
2078
+ Result: number;
2079
+ } | {
2080
+ $kind: "NestedResult";
2081
+ NestedResult: [number, number];
2082
+ })[];
2083
+ };
2084
+ Publish: {
2085
+ modules: string[];
2086
+ dependencies: string[];
2087
+ };
2088
+ MakeMoveVec: {
2089
+ type: string | null;
2090
+ elements: ({
2091
+ $kind: "GasCoin";
2092
+ GasCoin: true;
2093
+ } | {
2094
+ $kind: "Input";
2095
+ Input: number;
2096
+ type?: "pure";
2097
+ } | {
2098
+ $kind: "Input";
2099
+ Input: number;
2100
+ type?: "object";
2101
+ } | {
2102
+ $kind: "Result";
2103
+ Result: number;
2104
+ } | {
2105
+ $kind: "NestedResult";
2106
+ NestedResult: [number, number];
2107
+ })[];
2108
+ };
2109
+ Upgrade: {
2110
+ modules: string[];
2111
+ dependencies: string[];
2112
+ package: string;
2113
+ ticket: {
2114
+ $kind: "GasCoin";
2115
+ GasCoin: true;
2116
+ } | {
2117
+ $kind: "Input";
2118
+ Input: number;
2119
+ type?: "pure";
2120
+ } | {
2121
+ $kind: "Input";
2122
+ Input: number;
2123
+ type?: "object";
2124
+ } | {
2125
+ $kind: "Result";
2126
+ Result: number;
2127
+ } | {
2128
+ $kind: "NestedResult";
2129
+ NestedResult: [number, number];
2130
+ };
2131
+ };
2132
+ $Intent: {
2133
+ name: string;
2134
+ inputs: {
2135
+ [x: string]: {
2136
+ $kind: "GasCoin";
2137
+ GasCoin: true;
2138
+ } | {
2139
+ $kind: "Input";
2140
+ Input: number;
2141
+ type?: "pure";
2142
+ } | {
2143
+ $kind: "Input";
2144
+ Input: number;
2145
+ type?: "object";
2146
+ } | {
2147
+ $kind: "Result";
2148
+ Result: number;
2149
+ } | {
2150
+ $kind: "NestedResult";
2151
+ NestedResult: [number, number];
2152
+ } | ({
2153
+ $kind: "GasCoin";
2154
+ GasCoin: true;
2155
+ } | {
2156
+ $kind: "Input";
2157
+ Input: number;
2158
+ type?: "pure";
2159
+ } | {
2160
+ $kind: "Input";
2161
+ Input: number;
2162
+ type?: "object";
2163
+ } | {
2164
+ $kind: "Result";
2165
+ Result: number;
2166
+ } | {
2167
+ $kind: "NestedResult";
2168
+ NestedResult: [number, number];
2169
+ })[];
2170
+ };
2171
+ data: {
2172
+ [x: string]: unknown;
2173
+ };
2174
+ };
2175
+ }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
2176
+ };
2177
+ }>;
2178
+ objects: import("../analyzer.js").Analyzer<{
2179
+ ownerAddress: string | null;
2180
+ id: string;
2181
+ version: string;
2182
+ digest: string;
2183
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
2184
+ type: string;
2185
+ content: PromiseLike<Uint8Array>;
2186
+ previousTransaction: string | null;
2187
+ }[], {
2188
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
2189
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
2190
+ };
2191
+ }, {
2192
+ objectIds: string[];
2193
+ }>;
2194
+ objectsById: import("../analyzer.js").Analyzer<Map<string, {
2195
+ ownerAddress: string | null;
2196
+ id: string;
2197
+ version: string;
2198
+ digest: string;
2199
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
2200
+ type: string;
2201
+ content: PromiseLike<Uint8Array>;
2202
+ previousTransaction: string | null;
2203
+ }>, {
2204
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
2205
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
2206
+ };
2207
+ }, {
2208
+ objects: {
2209
+ ownerAddress: string | null;
2210
+ id: string;
2211
+ version: string;
2212
+ digest: string;
2213
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
2214
+ type: string;
2215
+ content: PromiseLike<Uint8Array>;
2216
+ previousTransaction: string | null;
2217
+ }[];
2218
+ }>;
2219
+ ownedObjects: import("../analyzer.js").Analyzer<{
2220
+ ownerAddress: string | null;
2221
+ id: string;
2222
+ version: string;
2223
+ digest: string;
2224
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
2225
+ type: string;
2226
+ content: PromiseLike<Uint8Array>;
2227
+ previousTransaction: string | null;
2228
+ }[], {
2229
+ client: import("@haneullabs/haneul/dist/cjs/experimental/client.js").Experimental_BaseClient & {
2230
+ core: import("@haneullabs/haneul/dist/cjs/experimental/core.js").Experimental_CoreClient;
2231
+ };
2232
+ }, {
2233
+ objects: {
2234
+ ownerAddress: string | null;
2235
+ id: string;
2236
+ version: string;
2237
+ digest: string;
2238
+ owner: import("@haneullabs/haneul/dist/cjs/experimental/types.js").Experimental_HaneulClientTypes.ObjectOwner;
2239
+ type: string;
2240
+ content: PromiseLike<Uint8Array>;
2241
+ previousTransaction: string | null;
2242
+ }[];
2243
+ }>;
2244
+ };