@bitgo/sdk-coin-sui 3.0.5 → 3.0.6
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 +68 -68
- package/dist/src/lib/mystenlab/builder/TransactionDataBlock.d.ts +79 -79
- package/dist/src/lib/mystenlab/builder/Transactions.d.ts +91 -91
- package/dist/src/lib/mystenlab/types/coin.d.ts +4 -4
- package/dist/src/lib/mystenlab/types/events.d.ts +12 -12
- package/dist/src/lib/mystenlab/types/objects.d.ts +88 -88
- package/dist/src/lib/mystenlab/types/transactions.d.ts +893 -893
- package/dist/src/lib/transferTransaction.d.ts.map +1 -1
- package/dist/src/lib/transferTransaction.js +3 -12
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +4 -14
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Infer } from 'superstruct';
|
|
2
2
|
export declare const CoinStruct: import("superstruct").Struct<{
|
|
3
|
-
digest: string;
|
|
4
3
|
version: number;
|
|
4
|
+
digest: string;
|
|
5
5
|
coinType: string;
|
|
6
6
|
previousTransaction: string;
|
|
7
7
|
coinObjectId: string;
|
|
@@ -19,8 +19,8 @@ export declare const CoinStruct: import("superstruct").Struct<{
|
|
|
19
19
|
export declare type CoinStruct = Infer<typeof CoinStruct>;
|
|
20
20
|
export declare const PaginatedCoins: import("superstruct").Struct<{
|
|
21
21
|
data: {
|
|
22
|
-
digest: string;
|
|
23
22
|
version: number;
|
|
23
|
+
digest: string;
|
|
24
24
|
coinType: string;
|
|
25
25
|
previousTransaction: string;
|
|
26
26
|
coinObjectId: string;
|
|
@@ -31,16 +31,16 @@ export declare const PaginatedCoins: import("superstruct").Struct<{
|
|
|
31
31
|
hasNextPage: boolean;
|
|
32
32
|
}, {
|
|
33
33
|
data: import("superstruct").Struct<{
|
|
34
|
-
digest: string;
|
|
35
34
|
version: number;
|
|
35
|
+
digest: string;
|
|
36
36
|
coinType: string;
|
|
37
37
|
previousTransaction: string;
|
|
38
38
|
coinObjectId: string;
|
|
39
39
|
balance: number;
|
|
40
40
|
lockedUntilEpoch: number | null;
|
|
41
41
|
}[], import("superstruct").Struct<{
|
|
42
|
-
digest: string;
|
|
43
42
|
version: number;
|
|
43
|
+
digest: string;
|
|
44
44
|
coinType: string;
|
|
45
45
|
previousTransaction: string;
|
|
46
46
|
coinObjectId: string;
|
|
@@ -8,14 +8,14 @@ export declare const EventId: import("superstruct").Struct<{
|
|
|
8
8
|
eventSeq: import("superstruct").Struct<number, null>;
|
|
9
9
|
}>;
|
|
10
10
|
export declare const SuiEvent: import("superstruct").Struct<{
|
|
11
|
-
type: string;
|
|
12
|
-
sender: string;
|
|
13
11
|
id: {
|
|
14
12
|
txDigest: string;
|
|
15
13
|
eventSeq: number;
|
|
16
14
|
};
|
|
17
15
|
packageId: string;
|
|
18
16
|
transactionModule: string;
|
|
17
|
+
sender: string;
|
|
18
|
+
type: string;
|
|
19
19
|
parsedJson?: Record<string, any> | undefined;
|
|
20
20
|
bcs?: string | undefined;
|
|
21
21
|
timestampMs?: number | undefined;
|
|
@@ -79,14 +79,14 @@ export declare type SuiEventFilter = {
|
|
|
79
79
|
};
|
|
80
80
|
export declare const PaginatedEvents: import("superstruct").Struct<{
|
|
81
81
|
data: {
|
|
82
|
-
type: string;
|
|
83
|
-
sender: string;
|
|
84
82
|
id: {
|
|
85
83
|
txDigest: string;
|
|
86
84
|
eventSeq: number;
|
|
87
85
|
};
|
|
88
86
|
packageId: string;
|
|
89
87
|
transactionModule: string;
|
|
88
|
+
sender: string;
|
|
89
|
+
type: string;
|
|
90
90
|
parsedJson?: Record<string, any> | undefined;
|
|
91
91
|
bcs?: string | undefined;
|
|
92
92
|
timestampMs?: number | undefined;
|
|
@@ -98,26 +98,26 @@ export declare const PaginatedEvents: import("superstruct").Struct<{
|
|
|
98
98
|
hasNextPage: boolean;
|
|
99
99
|
}, {
|
|
100
100
|
data: import("superstruct").Struct<{
|
|
101
|
-
type: string;
|
|
102
|
-
sender: string;
|
|
103
101
|
id: {
|
|
104
102
|
txDigest: string;
|
|
105
103
|
eventSeq: number;
|
|
106
104
|
};
|
|
107
105
|
packageId: string;
|
|
108
106
|
transactionModule: string;
|
|
107
|
+
sender: string;
|
|
108
|
+
type: string;
|
|
109
109
|
parsedJson?: Record<string, any> | undefined;
|
|
110
110
|
bcs?: string | undefined;
|
|
111
111
|
timestampMs?: number | undefined;
|
|
112
112
|
}[], import("superstruct").Struct<{
|
|
113
|
-
type: string;
|
|
114
|
-
sender: string;
|
|
115
113
|
id: {
|
|
116
114
|
txDigest: string;
|
|
117
115
|
eventSeq: number;
|
|
118
116
|
};
|
|
119
117
|
packageId: string;
|
|
120
118
|
transactionModule: string;
|
|
119
|
+
sender: string;
|
|
120
|
+
type: string;
|
|
121
121
|
parsedJson?: Record<string, any> | undefined;
|
|
122
122
|
bcs?: string | undefined;
|
|
123
123
|
timestampMs?: number | undefined;
|
|
@@ -149,14 +149,14 @@ export declare type SubscriptionId = Infer<typeof SubscriptionId>;
|
|
|
149
149
|
export declare const SubscriptionEvent: import("superstruct").Struct<{
|
|
150
150
|
subscription: number;
|
|
151
151
|
result: {
|
|
152
|
-
type: string;
|
|
153
|
-
sender: string;
|
|
154
152
|
id: {
|
|
155
153
|
txDigest: string;
|
|
156
154
|
eventSeq: number;
|
|
157
155
|
};
|
|
158
156
|
packageId: string;
|
|
159
157
|
transactionModule: string;
|
|
158
|
+
sender: string;
|
|
159
|
+
type: string;
|
|
160
160
|
parsedJson?: Record<string, any> | undefined;
|
|
161
161
|
bcs?: string | undefined;
|
|
162
162
|
timestampMs?: number | undefined;
|
|
@@ -164,14 +164,14 @@ export declare const SubscriptionEvent: import("superstruct").Struct<{
|
|
|
164
164
|
}, {
|
|
165
165
|
subscription: import("superstruct").Struct<number, null>;
|
|
166
166
|
result: import("superstruct").Struct<{
|
|
167
|
-
type: string;
|
|
168
|
-
sender: string;
|
|
169
167
|
id: {
|
|
170
168
|
txDigest: string;
|
|
171
169
|
eventSeq: number;
|
|
172
170
|
};
|
|
173
171
|
packageId: string;
|
|
174
172
|
transactionModule: string;
|
|
173
|
+
sender: string;
|
|
174
|
+
type: string;
|
|
175
175
|
parsedJson?: Record<string, any> | undefined;
|
|
176
176
|
bcs?: string | undefined;
|
|
177
177
|
timestampMs?: number | undefined;
|
|
@@ -4,9 +4,9 @@ import { OwnedObjectRef } from './transactions';
|
|
|
4
4
|
export declare const ObjectType: import("superstruct").Struct<string, null>;
|
|
5
5
|
export declare type ObjectType = Infer<typeof ObjectType>;
|
|
6
6
|
export declare const SuiObjectRef: import("superstruct").Struct<{
|
|
7
|
-
digest: string;
|
|
8
7
|
objectId: string;
|
|
9
8
|
version: string | number;
|
|
9
|
+
digest: string;
|
|
10
10
|
}, {
|
|
11
11
|
/** Base64 string representing the object digest */
|
|
12
12
|
digest: import("superstruct").Struct<string, null>;
|
|
@@ -17,23 +17,23 @@ export declare const SuiObjectRef: import("superstruct").Struct<{
|
|
|
17
17
|
}>;
|
|
18
18
|
export declare type SuiObjectRef = Infer<typeof SuiObjectRef>;
|
|
19
19
|
export declare const SuiGasData: import("superstruct").Struct<{
|
|
20
|
-
budget: number;
|
|
21
|
-
price: number;
|
|
22
20
|
payment: {
|
|
23
|
-
digest: string;
|
|
24
21
|
objectId: string;
|
|
25
22
|
version: string | number;
|
|
23
|
+
digest: string;
|
|
26
24
|
}[];
|
|
27
25
|
owner: string;
|
|
26
|
+
price: number;
|
|
27
|
+
budget: number;
|
|
28
28
|
}, {
|
|
29
29
|
payment: import("superstruct").Struct<{
|
|
30
|
-
digest: string;
|
|
31
30
|
objectId: string;
|
|
32
31
|
version: string | number;
|
|
33
|
-
}[], import("superstruct").Struct<{
|
|
34
32
|
digest: string;
|
|
33
|
+
}[], import("superstruct").Struct<{
|
|
35
34
|
objectId: string;
|
|
36
35
|
version: string | number;
|
|
36
|
+
digest: string;
|
|
37
37
|
}, {
|
|
38
38
|
/** Base64 string representing the object digest */
|
|
39
39
|
digest: import("superstruct").Struct<string, null>;
|
|
@@ -50,9 +50,9 @@ export declare const SuiGasData: import("superstruct").Struct<{
|
|
|
50
50
|
export declare type SuiGasData = Infer<typeof SuiGasData>;
|
|
51
51
|
export declare const SuiObjectInfo: import("superstruct").Struct<{
|
|
52
52
|
type: string;
|
|
53
|
-
digest: string;
|
|
54
53
|
objectId: string;
|
|
55
54
|
version: string | number;
|
|
55
|
+
digest: string;
|
|
56
56
|
owner: {
|
|
57
57
|
AddressOwner: string;
|
|
58
58
|
} | {
|
|
@@ -75,9 +75,9 @@ export declare const SuiObjectInfo: import("superstruct").Struct<{
|
|
|
75
75
|
};
|
|
76
76
|
} | "Immutable", null>;
|
|
77
77
|
previousTransaction: import("superstruct").Struct<string, null>;
|
|
78
|
-
digest: import("superstruct").Struct<string, null>;
|
|
79
78
|
objectId: import("superstruct").Struct<string, null>;
|
|
80
79
|
version: import("superstruct").Struct<string | number, null>;
|
|
80
|
+
digest: import("superstruct").Struct<string, null>;
|
|
81
81
|
}>;
|
|
82
82
|
export declare type SuiObjectInfo = Infer<typeof SuiObjectInfo>;
|
|
83
83
|
export declare const ObjectContentFields: import("superstruct").Struct<Record<string, any>, null>;
|
|
@@ -150,19 +150,10 @@ export declare const MIST_PER_SUI: bigint;
|
|
|
150
150
|
export declare const ObjectDigest: import("superstruct").Struct<string, null>;
|
|
151
151
|
export declare type ObjectDigest = Infer<typeof ObjectDigest>;
|
|
152
152
|
export declare const SuiObjectData: import("superstruct").Struct<{
|
|
153
|
-
digest: string;
|
|
154
153
|
objectId: string;
|
|
155
154
|
version: number;
|
|
155
|
+
digest: string;
|
|
156
156
|
type?: string | undefined;
|
|
157
|
-
owner?: {
|
|
158
|
-
AddressOwner: string;
|
|
159
|
-
} | {
|
|
160
|
-
ObjectOwner: string;
|
|
161
|
-
} | {
|
|
162
|
-
Shared: {
|
|
163
|
-
initial_shared_version: number;
|
|
164
|
-
};
|
|
165
|
-
} | "Immutable" | undefined;
|
|
166
157
|
bcs?: {
|
|
167
158
|
type: string;
|
|
168
159
|
fields: Record<string, any>;
|
|
@@ -173,6 +164,15 @@ export declare const SuiObjectData: import("superstruct").Struct<{
|
|
|
173
164
|
dataType: "package";
|
|
174
165
|
moduleMap: Record<string, string>;
|
|
175
166
|
} | undefined;
|
|
167
|
+
owner?: {
|
|
168
|
+
AddressOwner: string;
|
|
169
|
+
} | {
|
|
170
|
+
ObjectOwner: string;
|
|
171
|
+
} | {
|
|
172
|
+
Shared: {
|
|
173
|
+
initial_shared_version: number;
|
|
174
|
+
};
|
|
175
|
+
} | "Immutable" | undefined;
|
|
176
176
|
storageRebate?: number | undefined;
|
|
177
177
|
previousTransaction?: string | undefined;
|
|
178
178
|
content?: {
|
|
@@ -275,9 +275,9 @@ export declare const ObjectStatus: import("superstruct").Struct<"Exists" | "NotE
|
|
|
275
275
|
export declare type ObjectStatus = Infer<typeof ObjectStatus>;
|
|
276
276
|
export declare const GetOwnedObjectsResponse: import("superstruct").Struct<{
|
|
277
277
|
type: string;
|
|
278
|
-
digest: string;
|
|
279
278
|
objectId: string;
|
|
280
279
|
version: string | number;
|
|
280
|
+
digest: string;
|
|
281
281
|
owner: {
|
|
282
282
|
AddressOwner: string;
|
|
283
283
|
} | {
|
|
@@ -290,9 +290,9 @@ export declare const GetOwnedObjectsResponse: import("superstruct").Struct<{
|
|
|
290
290
|
previousTransaction: string;
|
|
291
291
|
}[], import("superstruct").Struct<{
|
|
292
292
|
type: string;
|
|
293
|
-
digest: string;
|
|
294
293
|
objectId: string;
|
|
295
294
|
version: string | number;
|
|
295
|
+
digest: string;
|
|
296
296
|
owner: {
|
|
297
297
|
AddressOwner: string;
|
|
298
298
|
} | {
|
|
@@ -315,15 +315,15 @@ export declare const GetOwnedObjectsResponse: import("superstruct").Struct<{
|
|
|
315
315
|
};
|
|
316
316
|
} | "Immutable", null>;
|
|
317
317
|
previousTransaction: import("superstruct").Struct<string, null>;
|
|
318
|
-
digest: import("superstruct").Struct<string, null>;
|
|
319
318
|
objectId: import("superstruct").Struct<string, null>;
|
|
320
319
|
version: import("superstruct").Struct<string | number, null>;
|
|
320
|
+
digest: import("superstruct").Struct<string, null>;
|
|
321
321
|
}>>;
|
|
322
322
|
export declare type GetOwnedObjectsResponse = Infer<typeof GetOwnedObjectsResponse>;
|
|
323
323
|
export declare const SuiObjectResponseError: import("superstruct").Struct<{
|
|
324
324
|
tag: string;
|
|
325
|
-
digest?: string | undefined;
|
|
326
325
|
version?: number | undefined;
|
|
326
|
+
digest?: string | undefined;
|
|
327
327
|
object_id?: string | undefined;
|
|
328
328
|
}, {
|
|
329
329
|
tag: import("superstruct").Struct<string, null>;
|
|
@@ -334,19 +334,10 @@ export declare const SuiObjectResponseError: import("superstruct").Struct<{
|
|
|
334
334
|
export declare type SuiObjectResponseError = Infer<typeof SuiObjectResponseError>;
|
|
335
335
|
export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
336
336
|
data?: {
|
|
337
|
-
digest: string;
|
|
338
337
|
objectId: string;
|
|
339
338
|
version: number;
|
|
339
|
+
digest: string;
|
|
340
340
|
type?: string | undefined;
|
|
341
|
-
owner?: {
|
|
342
|
-
AddressOwner: string;
|
|
343
|
-
} | {
|
|
344
|
-
ObjectOwner: string;
|
|
345
|
-
} | {
|
|
346
|
-
Shared: {
|
|
347
|
-
initial_shared_version: number;
|
|
348
|
-
};
|
|
349
|
-
} | "Immutable" | undefined;
|
|
350
341
|
bcs?: {
|
|
351
342
|
type: string;
|
|
352
343
|
fields: Record<string, any>;
|
|
@@ -357,6 +348,15 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
357
348
|
dataType: "package";
|
|
358
349
|
moduleMap: Record<string, string>;
|
|
359
350
|
} | undefined;
|
|
351
|
+
owner?: {
|
|
352
|
+
AddressOwner: string;
|
|
353
|
+
} | {
|
|
354
|
+
ObjectOwner: string;
|
|
355
|
+
} | {
|
|
356
|
+
Shared: {
|
|
357
|
+
initial_shared_version: number;
|
|
358
|
+
};
|
|
359
|
+
} | "Immutable" | undefined;
|
|
360
360
|
storageRebate?: number | undefined;
|
|
361
361
|
previousTransaction?: string | undefined;
|
|
362
362
|
content?: {
|
|
@@ -372,25 +372,16 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
372
372
|
} | undefined;
|
|
373
373
|
error?: {
|
|
374
374
|
tag: string;
|
|
375
|
-
digest?: string | undefined;
|
|
376
375
|
version?: number | undefined;
|
|
376
|
+
digest?: string | undefined;
|
|
377
377
|
object_id?: string | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
data: import("superstruct").Struct<{
|
|
381
|
-
digest: string;
|
|
382
381
|
objectId: string;
|
|
383
382
|
version: number;
|
|
383
|
+
digest: string;
|
|
384
384
|
type?: string | undefined;
|
|
385
|
-
owner?: {
|
|
386
|
-
AddressOwner: string;
|
|
387
|
-
} | {
|
|
388
|
-
ObjectOwner: string;
|
|
389
|
-
} | {
|
|
390
|
-
Shared: {
|
|
391
|
-
initial_shared_version: number;
|
|
392
|
-
};
|
|
393
|
-
} | "Immutable" | undefined;
|
|
394
385
|
bcs?: {
|
|
395
386
|
type: string;
|
|
396
387
|
fields: Record<string, any>;
|
|
@@ -401,6 +392,15 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
401
392
|
dataType: "package";
|
|
402
393
|
moduleMap: Record<string, string>;
|
|
403
394
|
} | undefined;
|
|
395
|
+
owner?: {
|
|
396
|
+
AddressOwner: string;
|
|
397
|
+
} | {
|
|
398
|
+
ObjectOwner: string;
|
|
399
|
+
} | {
|
|
400
|
+
Shared: {
|
|
401
|
+
initial_shared_version: number;
|
|
402
|
+
};
|
|
403
|
+
} | "Immutable" | undefined;
|
|
404
404
|
storageRebate?: number | undefined;
|
|
405
405
|
previousTransaction?: string | undefined;
|
|
406
406
|
content?: {
|
|
@@ -479,8 +479,8 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
479
479
|
}>;
|
|
480
480
|
error: import("superstruct").Struct<{
|
|
481
481
|
tag: string;
|
|
482
|
-
digest?: string | undefined;
|
|
483
482
|
version?: number | undefined;
|
|
483
|
+
digest?: string | undefined;
|
|
484
484
|
object_id?: string | undefined;
|
|
485
485
|
} | undefined, {
|
|
486
486
|
tag: import("superstruct").Struct<string, null>;
|
|
@@ -529,19 +529,10 @@ export declare type CheckpointedObjectId = Infer<typeof CheckpointedObjectId>;
|
|
|
529
529
|
export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
530
530
|
data: {
|
|
531
531
|
data?: {
|
|
532
|
-
digest: string;
|
|
533
532
|
objectId: string;
|
|
534
533
|
version: number;
|
|
534
|
+
digest: string;
|
|
535
535
|
type?: string | undefined;
|
|
536
|
-
owner?: {
|
|
537
|
-
AddressOwner: string;
|
|
538
|
-
} | {
|
|
539
|
-
ObjectOwner: string;
|
|
540
|
-
} | {
|
|
541
|
-
Shared: {
|
|
542
|
-
initial_shared_version: number;
|
|
543
|
-
};
|
|
544
|
-
} | "Immutable" | undefined;
|
|
545
536
|
bcs?: {
|
|
546
537
|
type: string;
|
|
547
538
|
fields: Record<string, any>;
|
|
@@ -552,6 +543,15 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
552
543
|
dataType: "package";
|
|
553
544
|
moduleMap: Record<string, string>;
|
|
554
545
|
} | undefined;
|
|
546
|
+
owner?: {
|
|
547
|
+
AddressOwner: string;
|
|
548
|
+
} | {
|
|
549
|
+
ObjectOwner: string;
|
|
550
|
+
} | {
|
|
551
|
+
Shared: {
|
|
552
|
+
initial_shared_version: number;
|
|
553
|
+
};
|
|
554
|
+
} | "Immutable" | undefined;
|
|
555
555
|
storageRebate?: number | undefined;
|
|
556
556
|
previousTransaction?: string | undefined;
|
|
557
557
|
content?: {
|
|
@@ -567,8 +567,8 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
567
567
|
} | undefined;
|
|
568
568
|
error?: {
|
|
569
569
|
tag: string;
|
|
570
|
-
digest?: string | undefined;
|
|
571
570
|
version?: number | undefined;
|
|
571
|
+
digest?: string | undefined;
|
|
572
572
|
object_id?: string | undefined;
|
|
573
573
|
} | undefined;
|
|
574
574
|
}[];
|
|
@@ -580,19 +580,10 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
580
580
|
}, {
|
|
581
581
|
data: import("superstruct").Struct<{
|
|
582
582
|
data?: {
|
|
583
|
-
digest: string;
|
|
584
583
|
objectId: string;
|
|
585
584
|
version: number;
|
|
585
|
+
digest: string;
|
|
586
586
|
type?: string | undefined;
|
|
587
|
-
owner?: {
|
|
588
|
-
AddressOwner: string;
|
|
589
|
-
} | {
|
|
590
|
-
ObjectOwner: string;
|
|
591
|
-
} | {
|
|
592
|
-
Shared: {
|
|
593
|
-
initial_shared_version: number;
|
|
594
|
-
};
|
|
595
|
-
} | "Immutable" | undefined;
|
|
596
587
|
bcs?: {
|
|
597
588
|
type: string;
|
|
598
589
|
fields: Record<string, any>;
|
|
@@ -603,6 +594,15 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
603
594
|
dataType: "package";
|
|
604
595
|
moduleMap: Record<string, string>;
|
|
605
596
|
} | undefined;
|
|
597
|
+
owner?: {
|
|
598
|
+
AddressOwner: string;
|
|
599
|
+
} | {
|
|
600
|
+
ObjectOwner: string;
|
|
601
|
+
} | {
|
|
602
|
+
Shared: {
|
|
603
|
+
initial_shared_version: number;
|
|
604
|
+
};
|
|
605
|
+
} | "Immutable" | undefined;
|
|
606
606
|
storageRebate?: number | undefined;
|
|
607
607
|
previousTransaction?: string | undefined;
|
|
608
608
|
content?: {
|
|
@@ -618,25 +618,16 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
618
618
|
} | undefined;
|
|
619
619
|
error?: {
|
|
620
620
|
tag: string;
|
|
621
|
-
digest?: string | undefined;
|
|
622
621
|
version?: number | undefined;
|
|
622
|
+
digest?: string | undefined;
|
|
623
623
|
object_id?: string | undefined;
|
|
624
624
|
} | undefined;
|
|
625
625
|
}[], import("superstruct").Struct<{
|
|
626
626
|
data?: {
|
|
627
|
-
digest: string;
|
|
628
627
|
objectId: string;
|
|
629
628
|
version: number;
|
|
629
|
+
digest: string;
|
|
630
630
|
type?: string | undefined;
|
|
631
|
-
owner?: {
|
|
632
|
-
AddressOwner: string;
|
|
633
|
-
} | {
|
|
634
|
-
ObjectOwner: string;
|
|
635
|
-
} | {
|
|
636
|
-
Shared: {
|
|
637
|
-
initial_shared_version: number;
|
|
638
|
-
};
|
|
639
|
-
} | "Immutable" | undefined;
|
|
640
631
|
bcs?: {
|
|
641
632
|
type: string;
|
|
642
633
|
fields: Record<string, any>;
|
|
@@ -647,6 +638,15 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
647
638
|
dataType: "package";
|
|
648
639
|
moduleMap: Record<string, string>;
|
|
649
640
|
} | undefined;
|
|
641
|
+
owner?: {
|
|
642
|
+
AddressOwner: string;
|
|
643
|
+
} | {
|
|
644
|
+
ObjectOwner: string;
|
|
645
|
+
} | {
|
|
646
|
+
Shared: {
|
|
647
|
+
initial_shared_version: number;
|
|
648
|
+
};
|
|
649
|
+
} | "Immutable" | undefined;
|
|
650
650
|
storageRebate?: number | undefined;
|
|
651
651
|
previousTransaction?: string | undefined;
|
|
652
652
|
content?: {
|
|
@@ -662,25 +662,16 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
662
662
|
} | undefined;
|
|
663
663
|
error?: {
|
|
664
664
|
tag: string;
|
|
665
|
-
digest?: string | undefined;
|
|
666
665
|
version?: number | undefined;
|
|
666
|
+
digest?: string | undefined;
|
|
667
667
|
object_id?: string | undefined;
|
|
668
668
|
} | undefined;
|
|
669
669
|
}, {
|
|
670
670
|
data: import("superstruct").Struct<{
|
|
671
|
-
digest: string;
|
|
672
671
|
objectId: string;
|
|
673
672
|
version: number;
|
|
673
|
+
digest: string;
|
|
674
674
|
type?: string | undefined;
|
|
675
|
-
owner?: {
|
|
676
|
-
AddressOwner: string;
|
|
677
|
-
} | {
|
|
678
|
-
ObjectOwner: string;
|
|
679
|
-
} | {
|
|
680
|
-
Shared: {
|
|
681
|
-
initial_shared_version: number;
|
|
682
|
-
};
|
|
683
|
-
} | "Immutable" | undefined;
|
|
684
675
|
bcs?: {
|
|
685
676
|
type: string;
|
|
686
677
|
fields: Record<string, any>;
|
|
@@ -691,6 +682,15 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
691
682
|
dataType: "package";
|
|
692
683
|
moduleMap: Record<string, string>;
|
|
693
684
|
} | undefined;
|
|
685
|
+
owner?: {
|
|
686
|
+
AddressOwner: string;
|
|
687
|
+
} | {
|
|
688
|
+
ObjectOwner: string;
|
|
689
|
+
} | {
|
|
690
|
+
Shared: {
|
|
691
|
+
initial_shared_version: number;
|
|
692
|
+
};
|
|
693
|
+
} | "Immutable" | undefined;
|
|
694
694
|
storageRebate?: number | undefined;
|
|
695
695
|
previousTransaction?: string | undefined;
|
|
696
696
|
content?: {
|
|
@@ -769,8 +769,8 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
769
769
|
}>;
|
|
770
770
|
error: import("superstruct").Struct<{
|
|
771
771
|
tag: string;
|
|
772
|
-
digest?: string | undefined;
|
|
773
772
|
version?: number | undefined;
|
|
773
|
+
digest?: string | undefined;
|
|
774
774
|
object_id?: string | undefined;
|
|
775
775
|
} | undefined, {
|
|
776
776
|
tag: import("superstruct").Struct<string, null>;
|