@bitgo/sdk-coin-sui 5.0.14 → 5.0.16
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.
- package/CHANGELOG.md +8 -0
- package/dist/src/lib/mystenlab/builder/Inputs.d.ts +3 -3
- package/dist/src/lib/mystenlab/builder/TransactionBlock.d.ts +96 -96
- package/dist/src/lib/mystenlab/builder/TransactionDataBlock.d.ts +103 -103
- package/dist/src/lib/mystenlab/builder/Transactions.d.ts +187 -187
- package/dist/src/lib/mystenlab/types/events.d.ts +6 -6
- package/dist/src/lib/mystenlab/types/objects.d.ts +86 -86
- package/dist/src/lib/mystenlab/types/transactions.d.ts +610 -610
- package/dist/src/lib/mystenlab/types/validator.d.ts +4 -4
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@5.0.15...@bitgo/sdk-coin-sui@5.0.16) (2024-05-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-sui
|
|
9
|
+
|
|
10
|
+
## [5.0.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@5.0.14...@bitgo/sdk-coin-sui@5.0.15) (2024-05-28)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-sui
|
|
13
|
+
|
|
6
14
|
## [5.0.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@5.0.13...@bitgo/sdk-coin-sui@5.0.14) (2024-05-22)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @bitgo/sdk-coin-sui
|
|
@@ -8,8 +8,8 @@ export declare const PureCallArg: import("superstruct").Struct<{
|
|
|
8
8
|
export declare const ObjectCallArg: import("superstruct").Struct<{
|
|
9
9
|
Object: {
|
|
10
10
|
ImmOrOwned: {
|
|
11
|
-
objectId: string;
|
|
12
11
|
version: string | number;
|
|
12
|
+
objectId: string;
|
|
13
13
|
digest: string;
|
|
14
14
|
};
|
|
15
15
|
} | {
|
|
@@ -22,8 +22,8 @@ export declare const ObjectCallArg: import("superstruct").Struct<{
|
|
|
22
22
|
}, {
|
|
23
23
|
Object: import("superstruct").Struct<{
|
|
24
24
|
ImmOrOwned: {
|
|
25
|
-
objectId: string;
|
|
26
25
|
version: string | number;
|
|
26
|
+
objectId: string;
|
|
27
27
|
digest: string;
|
|
28
28
|
};
|
|
29
29
|
} | {
|
|
@@ -41,8 +41,8 @@ export declare const BuilderCallArg: import("superstruct").Struct<{
|
|
|
41
41
|
} | {
|
|
42
42
|
Object: {
|
|
43
43
|
ImmOrOwned: {
|
|
44
|
-
objectId: string;
|
|
45
44
|
version: string | number;
|
|
45
|
+
objectId: string;
|
|
46
46
|
digest: string;
|
|
47
47
|
};
|
|
48
48
|
} | {
|
|
@@ -30,18 +30,18 @@ export declare class TransactionBlock {
|
|
|
30
30
|
static get Transactions(): {
|
|
31
31
|
MoveCall(input: Omit<{
|
|
32
32
|
arguments: ({
|
|
33
|
-
kind: "Input";
|
|
34
33
|
index: number;
|
|
34
|
+
kind: "Input";
|
|
35
35
|
type?: "object" | "pure" | undefined;
|
|
36
36
|
value?: any;
|
|
37
37
|
} | {
|
|
38
38
|
kind: "GasCoin";
|
|
39
39
|
} | {
|
|
40
|
-
kind: "Result";
|
|
41
40
|
index: number;
|
|
41
|
+
kind: "Result";
|
|
42
42
|
} | {
|
|
43
|
-
kind: "NestedResult";
|
|
44
43
|
index: number;
|
|
44
|
+
kind: "NestedResult";
|
|
45
45
|
resultIndex: number;
|
|
46
46
|
})[];
|
|
47
47
|
kind: "MoveCall";
|
|
@@ -49,35 +49,35 @@ export declare class TransactionBlock {
|
|
|
49
49
|
target: `${string}::${string}::${string}`;
|
|
50
50
|
}, "arguments" | "kind" | "typeArguments"> & {
|
|
51
51
|
arguments?: ({
|
|
52
|
-
kind: "Input";
|
|
53
52
|
index: number;
|
|
53
|
+
kind: "Input";
|
|
54
54
|
type?: "object" | "pure" | undefined;
|
|
55
55
|
value?: any;
|
|
56
56
|
} | {
|
|
57
57
|
kind: "GasCoin";
|
|
58
58
|
} | {
|
|
59
|
-
kind: "Result";
|
|
60
59
|
index: number;
|
|
60
|
+
kind: "Result";
|
|
61
61
|
} | {
|
|
62
|
-
kind: "NestedResult";
|
|
63
62
|
index: number;
|
|
63
|
+
kind: "NestedResult";
|
|
64
64
|
resultIndex: number;
|
|
65
65
|
})[] | undefined;
|
|
66
66
|
typeArguments?: string[] | undefined;
|
|
67
67
|
}): {
|
|
68
68
|
arguments: ({
|
|
69
|
-
kind: "Input";
|
|
70
69
|
index: number;
|
|
70
|
+
kind: "Input";
|
|
71
71
|
type?: "object" | "pure" | undefined;
|
|
72
72
|
value?: any;
|
|
73
73
|
} | {
|
|
74
74
|
kind: "GasCoin";
|
|
75
75
|
} | {
|
|
76
|
-
kind: "Result";
|
|
77
76
|
index: number;
|
|
77
|
+
kind: "Result";
|
|
78
78
|
} | {
|
|
79
|
-
kind: "NestedResult";
|
|
80
79
|
index: number;
|
|
80
|
+
kind: "NestedResult";
|
|
81
81
|
resultIndex: number;
|
|
82
82
|
})[];
|
|
83
83
|
kind: "MoveCall";
|
|
@@ -85,185 +85,185 @@ export declare class TransactionBlock {
|
|
|
85
85
|
target: `${string}::${string}::${string}`;
|
|
86
86
|
};
|
|
87
87
|
TransferObjects(objects: ({
|
|
88
|
-
kind: "Input";
|
|
89
88
|
index: number;
|
|
89
|
+
kind: "Input";
|
|
90
90
|
type?: "object" | "pure" | undefined;
|
|
91
91
|
value?: any;
|
|
92
92
|
} | {
|
|
93
93
|
kind: "GasCoin";
|
|
94
94
|
} | {
|
|
95
|
-
kind: "Result";
|
|
96
95
|
index: number;
|
|
96
|
+
kind: "Result";
|
|
97
97
|
} | {
|
|
98
|
-
kind: "NestedResult";
|
|
99
98
|
index: number;
|
|
99
|
+
kind: "NestedResult";
|
|
100
100
|
resultIndex: number;
|
|
101
101
|
})[], address: {
|
|
102
|
-
kind: "Input";
|
|
103
102
|
index: number;
|
|
103
|
+
kind: "Input";
|
|
104
104
|
type?: "object" | "pure" | undefined;
|
|
105
105
|
value?: any;
|
|
106
106
|
} | {
|
|
107
107
|
kind: "GasCoin";
|
|
108
108
|
} | {
|
|
109
|
-
kind: "Result";
|
|
110
109
|
index: number;
|
|
110
|
+
kind: "Result";
|
|
111
111
|
} | {
|
|
112
|
-
kind: "NestedResult";
|
|
113
112
|
index: number;
|
|
113
|
+
kind: "NestedResult";
|
|
114
114
|
resultIndex: number;
|
|
115
115
|
}): {
|
|
116
|
-
|
|
117
|
-
kind: "Input";
|
|
116
|
+
address: {
|
|
118
117
|
index: number;
|
|
118
|
+
kind: "Input";
|
|
119
119
|
type?: "object" | "pure" | undefined;
|
|
120
120
|
value?: any;
|
|
121
121
|
} | {
|
|
122
122
|
kind: "GasCoin";
|
|
123
123
|
} | {
|
|
124
|
-
kind: "Result";
|
|
125
124
|
index: number;
|
|
125
|
+
kind: "Result";
|
|
126
126
|
} | {
|
|
127
|
-
kind: "NestedResult";
|
|
128
127
|
index: number;
|
|
128
|
+
kind: "NestedResult";
|
|
129
129
|
resultIndex: number;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
address: {
|
|
133
|
-
kind: "Input";
|
|
130
|
+
};
|
|
131
|
+
objects: ({
|
|
134
132
|
index: number;
|
|
133
|
+
kind: "Input";
|
|
135
134
|
type?: "object" | "pure" | undefined;
|
|
136
135
|
value?: any;
|
|
137
136
|
} | {
|
|
138
137
|
kind: "GasCoin";
|
|
139
138
|
} | {
|
|
140
|
-
kind: "Result";
|
|
141
139
|
index: number;
|
|
140
|
+
kind: "Result";
|
|
142
141
|
} | {
|
|
143
|
-
kind: "NestedResult";
|
|
144
142
|
index: number;
|
|
143
|
+
kind: "NestedResult";
|
|
145
144
|
resultIndex: number;
|
|
146
|
-
};
|
|
145
|
+
})[];
|
|
146
|
+
kind: "TransferObjects";
|
|
147
147
|
};
|
|
148
148
|
SplitCoins(coin: {
|
|
149
|
-
kind: "Input";
|
|
150
149
|
index: number;
|
|
150
|
+
kind: "Input";
|
|
151
151
|
type?: "object" | "pure" | undefined;
|
|
152
152
|
value?: any;
|
|
153
153
|
} | {
|
|
154
154
|
kind: "GasCoin";
|
|
155
155
|
} | {
|
|
156
|
-
kind: "Result";
|
|
157
156
|
index: number;
|
|
157
|
+
kind: "Result";
|
|
158
158
|
} | {
|
|
159
|
-
kind: "NestedResult";
|
|
160
159
|
index: number;
|
|
160
|
+
kind: "NestedResult";
|
|
161
161
|
resultIndex: number;
|
|
162
162
|
}, amounts: ({
|
|
163
|
-
kind: "Input";
|
|
164
163
|
index: number;
|
|
164
|
+
kind: "Input";
|
|
165
165
|
type?: "object" | "pure" | undefined;
|
|
166
166
|
value?: any;
|
|
167
167
|
} | {
|
|
168
168
|
kind: "GasCoin";
|
|
169
169
|
} | {
|
|
170
|
-
kind: "Result";
|
|
171
170
|
index: number;
|
|
171
|
+
kind: "Result";
|
|
172
172
|
} | {
|
|
173
|
-
kind: "NestedResult";
|
|
174
173
|
index: number;
|
|
174
|
+
kind: "NestedResult";
|
|
175
175
|
resultIndex: number;
|
|
176
176
|
})[]): {
|
|
177
|
-
kind: "SplitCoins";
|
|
178
177
|
coin: {
|
|
179
|
-
kind: "Input";
|
|
180
178
|
index: number;
|
|
179
|
+
kind: "Input";
|
|
181
180
|
type?: "object" | "pure" | undefined;
|
|
182
181
|
value?: any;
|
|
183
182
|
} | {
|
|
184
183
|
kind: "GasCoin";
|
|
185
184
|
} | {
|
|
186
|
-
kind: "Result";
|
|
187
185
|
index: number;
|
|
186
|
+
kind: "Result";
|
|
188
187
|
} | {
|
|
189
|
-
kind: "NestedResult";
|
|
190
188
|
index: number;
|
|
189
|
+
kind: "NestedResult";
|
|
191
190
|
resultIndex: number;
|
|
192
191
|
};
|
|
192
|
+
kind: "SplitCoins";
|
|
193
193
|
amounts: ({
|
|
194
|
-
kind: "Input";
|
|
195
194
|
index: number;
|
|
195
|
+
kind: "Input";
|
|
196
196
|
type?: "object" | "pure" | undefined;
|
|
197
197
|
value?: any;
|
|
198
198
|
} | {
|
|
199
199
|
kind: "GasCoin";
|
|
200
200
|
} | {
|
|
201
|
-
kind: "Result";
|
|
202
201
|
index: number;
|
|
202
|
+
kind: "Result";
|
|
203
203
|
} | {
|
|
204
|
-
kind: "NestedResult";
|
|
205
204
|
index: number;
|
|
205
|
+
kind: "NestedResult";
|
|
206
206
|
resultIndex: number;
|
|
207
207
|
})[];
|
|
208
208
|
};
|
|
209
209
|
MergeCoins(destination: {
|
|
210
|
-
kind: "Input";
|
|
211
210
|
index: number;
|
|
211
|
+
kind: "Input";
|
|
212
212
|
type?: "object" | "pure" | undefined;
|
|
213
213
|
value?: any;
|
|
214
214
|
} | {
|
|
215
215
|
kind: "GasCoin";
|
|
216
216
|
} | {
|
|
217
|
-
kind: "Result";
|
|
218
217
|
index: number;
|
|
218
|
+
kind: "Result";
|
|
219
219
|
} | {
|
|
220
|
-
kind: "NestedResult";
|
|
221
220
|
index: number;
|
|
221
|
+
kind: "NestedResult";
|
|
222
222
|
resultIndex: number;
|
|
223
223
|
}, sources: ({
|
|
224
|
-
kind: "Input";
|
|
225
224
|
index: number;
|
|
225
|
+
kind: "Input";
|
|
226
226
|
type?: "object" | "pure" | undefined;
|
|
227
227
|
value?: any;
|
|
228
228
|
} | {
|
|
229
229
|
kind: "GasCoin";
|
|
230
230
|
} | {
|
|
231
|
-
kind: "Result";
|
|
232
231
|
index: number;
|
|
232
|
+
kind: "Result";
|
|
233
233
|
} | {
|
|
234
|
-
kind: "NestedResult";
|
|
235
234
|
index: number;
|
|
235
|
+
kind: "NestedResult";
|
|
236
236
|
resultIndex: number;
|
|
237
237
|
})[]): {
|
|
238
238
|
kind: "MergeCoins";
|
|
239
239
|
destination: {
|
|
240
|
-
kind: "Input";
|
|
241
240
|
index: number;
|
|
241
|
+
kind: "Input";
|
|
242
242
|
type?: "object" | "pure" | undefined;
|
|
243
243
|
value?: any;
|
|
244
244
|
} | {
|
|
245
245
|
kind: "GasCoin";
|
|
246
246
|
} | {
|
|
247
|
-
kind: "Result";
|
|
248
247
|
index: number;
|
|
248
|
+
kind: "Result";
|
|
249
249
|
} | {
|
|
250
|
-
kind: "NestedResult";
|
|
251
250
|
index: number;
|
|
251
|
+
kind: "NestedResult";
|
|
252
252
|
resultIndex: number;
|
|
253
253
|
};
|
|
254
254
|
sources: ({
|
|
255
|
-
kind: "Input";
|
|
256
255
|
index: number;
|
|
256
|
+
kind: "Input";
|
|
257
257
|
type?: "object" | "pure" | undefined;
|
|
258
258
|
value?: any;
|
|
259
259
|
} | {
|
|
260
260
|
kind: "GasCoin";
|
|
261
261
|
} | {
|
|
262
|
-
kind: "Result";
|
|
263
262
|
index: number;
|
|
263
|
+
kind: "Result";
|
|
264
264
|
} | {
|
|
265
|
-
kind: "NestedResult";
|
|
266
265
|
index: number;
|
|
266
|
+
kind: "NestedResult";
|
|
267
267
|
resultIndex: number;
|
|
268
268
|
})[];
|
|
269
269
|
};
|
|
@@ -274,18 +274,18 @@ export declare class TransactionBlock {
|
|
|
274
274
|
};
|
|
275
275
|
MakeMoveVec({ type, objects, }: Omit<{
|
|
276
276
|
objects: ({
|
|
277
|
-
kind: "Input";
|
|
278
277
|
index: number;
|
|
278
|
+
kind: "Input";
|
|
279
279
|
type?: "object" | "pure" | undefined;
|
|
280
280
|
value?: any;
|
|
281
281
|
} | {
|
|
282
282
|
kind: "GasCoin";
|
|
283
283
|
} | {
|
|
284
|
-
kind: "Result";
|
|
285
284
|
index: number;
|
|
285
|
+
kind: "Result";
|
|
286
286
|
} | {
|
|
287
|
-
kind: "NestedResult";
|
|
288
287
|
index: number;
|
|
288
|
+
kind: "NestedResult";
|
|
289
289
|
resultIndex: number;
|
|
290
290
|
})[];
|
|
291
291
|
kind: "MakeMoveVec";
|
|
@@ -298,18 +298,18 @@ export declare class TransactionBlock {
|
|
|
298
298
|
type?: string | undefined;
|
|
299
299
|
}): {
|
|
300
300
|
objects: ({
|
|
301
|
-
kind: "Input";
|
|
302
301
|
index: number;
|
|
302
|
+
kind: "Input";
|
|
303
303
|
type?: "object" | "pure" | undefined;
|
|
304
304
|
value?: any;
|
|
305
305
|
} | {
|
|
306
306
|
kind: "GasCoin";
|
|
307
307
|
} | {
|
|
308
|
-
kind: "Result";
|
|
309
308
|
index: number;
|
|
309
|
+
kind: "Result";
|
|
310
310
|
} | {
|
|
311
|
-
kind: "NestedResult";
|
|
312
311
|
index: number;
|
|
312
|
+
kind: "NestedResult";
|
|
313
313
|
resultIndex: number;
|
|
314
314
|
})[];
|
|
315
315
|
kind: "MakeMoveVec";
|
|
@@ -326,14 +326,14 @@ export declare class TransactionBlock {
|
|
|
326
326
|
Pure: number[];
|
|
327
327
|
};
|
|
328
328
|
ObjectRef(ref: {
|
|
329
|
-
objectId: string;
|
|
330
329
|
version: string | number;
|
|
330
|
+
objectId: string;
|
|
331
331
|
digest: string;
|
|
332
332
|
}): {
|
|
333
333
|
Object: {
|
|
334
334
|
ImmOrOwned: {
|
|
335
|
-
objectId: string;
|
|
336
335
|
version: string | number;
|
|
336
|
+
objectId: string;
|
|
337
337
|
digest: string;
|
|
338
338
|
};
|
|
339
339
|
} | {
|
|
@@ -347,8 +347,8 @@ export declare class TransactionBlock {
|
|
|
347
347
|
SharedObjectRef(ref: import("../types").SharedObjectRef): {
|
|
348
348
|
Object: {
|
|
349
349
|
ImmOrOwned: {
|
|
350
|
-
objectId: string;
|
|
351
350
|
version: string | number;
|
|
351
|
+
objectId: string;
|
|
352
352
|
digest: string;
|
|
353
353
|
};
|
|
354
354
|
} | {
|
|
@@ -376,133 +376,133 @@ export declare class TransactionBlock {
|
|
|
376
376
|
version: 1;
|
|
377
377
|
transactions: ({
|
|
378
378
|
arguments: ({
|
|
379
|
-
kind: "Input";
|
|
380
379
|
index: number;
|
|
380
|
+
kind: "Input";
|
|
381
381
|
type?: "object" | "pure" | undefined;
|
|
382
382
|
value?: any;
|
|
383
383
|
} | {
|
|
384
384
|
kind: "GasCoin";
|
|
385
385
|
} | {
|
|
386
|
-
kind: "Result";
|
|
387
386
|
index: number;
|
|
387
|
+
kind: "Result";
|
|
388
388
|
} | {
|
|
389
|
-
kind: "NestedResult";
|
|
390
389
|
index: number;
|
|
390
|
+
kind: "NestedResult";
|
|
391
391
|
resultIndex: number;
|
|
392
392
|
})[];
|
|
393
393
|
kind: "MoveCall";
|
|
394
394
|
typeArguments: string[];
|
|
395
395
|
target: `${string}::${string}::${string}`;
|
|
396
396
|
} | {
|
|
397
|
-
|
|
398
|
-
kind: "Input";
|
|
397
|
+
address: {
|
|
399
398
|
index: number;
|
|
399
|
+
kind: "Input";
|
|
400
400
|
type?: "object" | "pure" | undefined;
|
|
401
401
|
value?: any;
|
|
402
402
|
} | {
|
|
403
403
|
kind: "GasCoin";
|
|
404
404
|
} | {
|
|
405
|
-
kind: "Result";
|
|
406
405
|
index: number;
|
|
406
|
+
kind: "Result";
|
|
407
407
|
} | {
|
|
408
|
-
kind: "NestedResult";
|
|
409
408
|
index: number;
|
|
409
|
+
kind: "NestedResult";
|
|
410
410
|
resultIndex: number;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
address: {
|
|
414
|
-
kind: "Input";
|
|
411
|
+
};
|
|
412
|
+
objects: ({
|
|
415
413
|
index: number;
|
|
414
|
+
kind: "Input";
|
|
416
415
|
type?: "object" | "pure" | undefined;
|
|
417
416
|
value?: any;
|
|
418
417
|
} | {
|
|
419
418
|
kind: "GasCoin";
|
|
420
419
|
} | {
|
|
421
|
-
kind: "Result";
|
|
422
420
|
index: number;
|
|
421
|
+
kind: "Result";
|
|
423
422
|
} | {
|
|
424
|
-
kind: "NestedResult";
|
|
425
423
|
index: number;
|
|
424
|
+
kind: "NestedResult";
|
|
426
425
|
resultIndex: number;
|
|
427
|
-
};
|
|
426
|
+
})[];
|
|
427
|
+
kind: "TransferObjects";
|
|
428
428
|
} | {
|
|
429
|
-
kind: "SplitCoins";
|
|
430
429
|
coin: {
|
|
431
|
-
kind: "Input";
|
|
432
430
|
index: number;
|
|
431
|
+
kind: "Input";
|
|
433
432
|
type?: "object" | "pure" | undefined;
|
|
434
433
|
value?: any;
|
|
435
434
|
} | {
|
|
436
435
|
kind: "GasCoin";
|
|
437
436
|
} | {
|
|
438
|
-
kind: "Result";
|
|
439
437
|
index: number;
|
|
438
|
+
kind: "Result";
|
|
440
439
|
} | {
|
|
441
|
-
kind: "NestedResult";
|
|
442
440
|
index: number;
|
|
441
|
+
kind: "NestedResult";
|
|
443
442
|
resultIndex: number;
|
|
444
443
|
};
|
|
444
|
+
kind: "SplitCoins";
|
|
445
445
|
amounts: ({
|
|
446
|
-
kind: "Input";
|
|
447
446
|
index: number;
|
|
447
|
+
kind: "Input";
|
|
448
448
|
type?: "object" | "pure" | undefined;
|
|
449
449
|
value?: any;
|
|
450
450
|
} | {
|
|
451
451
|
kind: "GasCoin";
|
|
452
452
|
} | {
|
|
453
|
-
kind: "Result";
|
|
454
453
|
index: number;
|
|
454
|
+
kind: "Result";
|
|
455
455
|
} | {
|
|
456
|
-
kind: "NestedResult";
|
|
457
456
|
index: number;
|
|
457
|
+
kind: "NestedResult";
|
|
458
458
|
resultIndex: number;
|
|
459
459
|
})[];
|
|
460
460
|
} | {
|
|
461
461
|
kind: "MergeCoins";
|
|
462
462
|
destination: {
|
|
463
|
-
kind: "Input";
|
|
464
463
|
index: number;
|
|
464
|
+
kind: "Input";
|
|
465
465
|
type?: "object" | "pure" | undefined;
|
|
466
466
|
value?: any;
|
|
467
467
|
} | {
|
|
468
468
|
kind: "GasCoin";
|
|
469
469
|
} | {
|
|
470
|
-
kind: "Result";
|
|
471
470
|
index: number;
|
|
471
|
+
kind: "Result";
|
|
472
472
|
} | {
|
|
473
|
-
kind: "NestedResult";
|
|
474
473
|
index: number;
|
|
474
|
+
kind: "NestedResult";
|
|
475
475
|
resultIndex: number;
|
|
476
476
|
};
|
|
477
477
|
sources: ({
|
|
478
|
-
kind: "Input";
|
|
479
478
|
index: number;
|
|
479
|
+
kind: "Input";
|
|
480
480
|
type?: "object" | "pure" | undefined;
|
|
481
481
|
value?: any;
|
|
482
482
|
} | {
|
|
483
483
|
kind: "GasCoin";
|
|
484
484
|
} | {
|
|
485
|
-
kind: "Result";
|
|
486
485
|
index: number;
|
|
486
|
+
kind: "Result";
|
|
487
487
|
} | {
|
|
488
|
-
kind: "NestedResult";
|
|
489
488
|
index: number;
|
|
489
|
+
kind: "NestedResult";
|
|
490
490
|
resultIndex: number;
|
|
491
491
|
})[];
|
|
492
492
|
} | {
|
|
493
493
|
objects: ({
|
|
494
|
-
kind: "Input";
|
|
495
494
|
index: number;
|
|
495
|
+
kind: "Input";
|
|
496
496
|
type?: "object" | "pure" | undefined;
|
|
497
497
|
value?: any;
|
|
498
498
|
} | {
|
|
499
499
|
kind: "GasCoin";
|
|
500
500
|
} | {
|
|
501
|
-
kind: "Result";
|
|
502
501
|
index: number;
|
|
502
|
+
kind: "Result";
|
|
503
503
|
} | {
|
|
504
|
-
kind: "NestedResult";
|
|
505
504
|
index: number;
|
|
505
|
+
kind: "NestedResult";
|
|
506
506
|
resultIndex: number;
|
|
507
507
|
})[];
|
|
508
508
|
kind: "MakeMoveVec";
|
|
@@ -517,18 +517,18 @@ export declare class TransactionBlock {
|
|
|
517
517
|
modules: number[][];
|
|
518
518
|
})[];
|
|
519
519
|
inputs: {
|
|
520
|
-
kind: "Input";
|
|
521
520
|
index: number;
|
|
521
|
+
kind: "Input";
|
|
522
522
|
type?: "object" | "pure" | undefined;
|
|
523
523
|
value?: any;
|
|
524
524
|
}[];
|
|
525
525
|
gasConfig: {
|
|
526
|
+
owner?: string | undefined;
|
|
526
527
|
payment?: {
|
|
527
|
-
objectId: string;
|
|
528
528
|
version: string | number;
|
|
529
|
+
objectId: string;
|
|
529
530
|
digest: string;
|
|
530
531
|
}[] | undefined;
|
|
531
|
-
owner?: string | undefined;
|
|
532
532
|
price?: string | undefined;
|
|
533
533
|
budget?: string | undefined;
|
|
534
534
|
};
|
|
@@ -553,8 +553,8 @@ export declare class TransactionBlock {
|
|
|
553
553
|
*
|
|
554
554
|
*/
|
|
555
555
|
input(type: 'object' | 'pure', value?: unknown): {
|
|
556
|
-
kind: "Input";
|
|
557
556
|
index: number;
|
|
557
|
+
kind: "Input";
|
|
558
558
|
type?: "object" | "pure" | undefined;
|
|
559
559
|
value?: any;
|
|
560
560
|
};
|
|
@@ -562,8 +562,8 @@ export declare class TransactionBlock {
|
|
|
562
562
|
* Add a new object input to the transaction.
|
|
563
563
|
*/
|
|
564
564
|
object(value: ObjectId | ObjectCallArg): {
|
|
565
|
-
kind: "Input";
|
|
566
565
|
index: number;
|
|
566
|
+
kind: "Input";
|
|
567
567
|
type?: "object" | "pure" | undefined;
|
|
568
568
|
value?: any;
|
|
569
569
|
};
|
|
@@ -581,8 +581,8 @@ export declare class TransactionBlock {
|
|
|
581
581
|
* based on how the input is used.
|
|
582
582
|
*/
|
|
583
583
|
type?: string): {
|
|
584
|
-
kind: "Input";
|
|
585
584
|
index: number;
|
|
585
|
+
kind: "Input";
|
|
586
586
|
type?: "object" | "pure" | undefined;
|
|
587
587
|
value?: any;
|
|
588
588
|
};
|