@mysten/sui 1.37.0 → 1.37.1
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 +9 -0
- package/dist/cjs/bcs/bcs.d.ts +563 -869
- package/dist/cjs/bcs/effects.d.ts +419 -729
- package/dist/cjs/bcs/index.d.ts +1005 -1591
- package/dist/cjs/bcs/index.js +3 -0
- package/dist/cjs/bcs/index.js.map +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/zklogin/bcs.d.ts +21 -37
- package/dist/esm/bcs/bcs.d.ts +563 -869
- package/dist/esm/bcs/effects.d.ts +419 -729
- package/dist/esm/bcs/index.d.ts +1005 -1591
- package/dist/esm/bcs/index.js +4 -1
- package/dist/esm/bcs/index.js.map +2 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/zklogin/bcs.d.ts +21 -37
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/bcs/index.ts +1 -1
- package/src/version.ts +1 -1
package/dist/cjs/bcs/bcs.d.ts
CHANGED
|
@@ -1,344 +1,231 @@
|
|
|
1
1
|
import type { BcsType } from '@mysten/bcs';
|
|
2
2
|
import type { TypeTag as TypeTagType } from './types.js';
|
|
3
|
-
export declare const Address: BcsType<string, string | Uint8Array<ArrayBufferLike
|
|
4
|
-
export declare const ObjectDigest: BcsType<string, string>;
|
|
5
|
-
export declare const SuiObjectRef:
|
|
6
|
-
objectId: string
|
|
7
|
-
version: string
|
|
8
|
-
digest: string
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
bytes: string;
|
|
82
|
-
};
|
|
83
|
-
Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
84
|
-
ImmOrOwnedObject: {
|
|
85
|
-
objectId: string;
|
|
86
|
-
version: string;
|
|
87
|
-
digest: string;
|
|
88
|
-
};
|
|
89
|
-
SharedObject: {
|
|
90
|
-
objectId: string;
|
|
91
|
-
initialSharedVersion: string;
|
|
92
|
-
mutable: boolean;
|
|
93
|
-
};
|
|
94
|
-
Receiving: {
|
|
95
|
-
objectId: string;
|
|
96
|
-
version: string;
|
|
97
|
-
digest: string;
|
|
98
|
-
};
|
|
99
|
-
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
100
|
-
}, "Pure" | "Object">, import("@mysten/bcs").EnumInputShape<{
|
|
101
|
-
Pure: {
|
|
102
|
-
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
103
|
-
};
|
|
104
|
-
Object: import("@mysten/bcs").EnumInputShape<{
|
|
105
|
-
ImmOrOwnedObject: {
|
|
106
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
107
|
-
version: string | number | bigint;
|
|
108
|
-
digest: string;
|
|
109
|
-
};
|
|
110
|
-
SharedObject: {
|
|
111
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
112
|
-
initialSharedVersion: string | number | bigint;
|
|
113
|
-
mutable: boolean;
|
|
114
|
-
};
|
|
115
|
-
Receiving: {
|
|
116
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
117
|
-
version: string | number | bigint;
|
|
118
|
-
digest: string;
|
|
119
|
-
};
|
|
120
|
-
}>;
|
|
121
|
-
}>>;
|
|
122
|
-
export declare const TypeTag: BcsType<string, string | TypeTagType>;
|
|
123
|
-
export declare const Argument: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
124
|
-
GasCoin: true;
|
|
125
|
-
Input: number;
|
|
126
|
-
Result: number;
|
|
127
|
-
NestedResult: [number, number];
|
|
128
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">, import("@mysten/bcs").EnumInputShape<{
|
|
129
|
-
GasCoin: boolean | object | null;
|
|
130
|
-
Input: number;
|
|
131
|
-
Result: number;
|
|
132
|
-
NestedResult: readonly [number, number];
|
|
133
|
-
}>>;
|
|
134
|
-
export declare const ProgrammableMoveCall: BcsType<{
|
|
135
|
-
package: string;
|
|
136
|
-
module: string;
|
|
137
|
-
function: string;
|
|
138
|
-
typeArguments: string[];
|
|
139
|
-
arguments: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
3
|
+
export declare const Address: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
4
|
+
export declare const ObjectDigest: BcsType<string, string, "ObjectDigest">;
|
|
5
|
+
export declare const SuiObjectRef: import("@mysten/bcs").BcsStruct<{
|
|
6
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
7
|
+
version: BcsType<string, string | number | bigint, "u64">;
|
|
8
|
+
digest: BcsType<string, string, "ObjectDigest">;
|
|
9
|
+
}, string>;
|
|
10
|
+
export declare const SharedObjectRef: import("@mysten/bcs").BcsStruct<{
|
|
11
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
12
|
+
initialSharedVersion: BcsType<string, string | number | bigint, "u64">;
|
|
13
|
+
mutable: BcsType<boolean, boolean, "bool">;
|
|
14
|
+
}, string>;
|
|
15
|
+
export declare const ObjectArg: import("@mysten/bcs").BcsEnum<{
|
|
16
|
+
ImmOrOwnedObject: import("@mysten/bcs").BcsStruct<{
|
|
17
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
18
|
+
version: BcsType<string, string | number | bigint, "u64">;
|
|
19
|
+
digest: BcsType<string, string, "ObjectDigest">;
|
|
20
|
+
}, string>;
|
|
21
|
+
SharedObject: import("@mysten/bcs").BcsStruct<{
|
|
22
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
23
|
+
initialSharedVersion: BcsType<string, string | number | bigint, "u64">;
|
|
24
|
+
mutable: BcsType<boolean, boolean, "bool">;
|
|
25
|
+
}, string>;
|
|
26
|
+
Receiving: import("@mysten/bcs").BcsStruct<{
|
|
27
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
28
|
+
version: BcsType<string, string | number | bigint, "u64">;
|
|
29
|
+
digest: BcsType<string, string, "ObjectDigest">;
|
|
30
|
+
}, string>;
|
|
31
|
+
}, "ObjectArg">;
|
|
32
|
+
export declare const Owner: import("@mysten/bcs").BcsEnum<{
|
|
33
|
+
AddressOwner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
34
|
+
ObjectOwner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
35
|
+
Shared: import("@mysten/bcs").BcsStruct<{
|
|
36
|
+
initialSharedVersion: BcsType<string, string | number | bigint, "u64">;
|
|
37
|
+
}, string>;
|
|
38
|
+
Immutable: null;
|
|
39
|
+
ConsensusAddressOwner: import("@mysten/bcs").BcsStruct<{
|
|
40
|
+
owner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
41
|
+
startVersion: BcsType<string, string | number | bigint, "u64">;
|
|
42
|
+
}, string>;
|
|
43
|
+
}, "Owner">;
|
|
44
|
+
export declare const CallArg: import("@mysten/bcs").BcsEnum<{
|
|
45
|
+
Pure: import("@mysten/bcs").BcsStruct<{
|
|
46
|
+
bytes: BcsType<string, string | Uint8Array<ArrayBufferLike>, string>;
|
|
47
|
+
}, string>;
|
|
48
|
+
Object: import("@mysten/bcs").BcsEnum<{
|
|
49
|
+
ImmOrOwnedObject: import("@mysten/bcs").BcsStruct<{
|
|
50
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
51
|
+
version: BcsType<string, string | number | bigint, "u64">;
|
|
52
|
+
digest: BcsType<string, string, "ObjectDigest">;
|
|
53
|
+
}, string>;
|
|
54
|
+
SharedObject: import("@mysten/bcs").BcsStruct<{
|
|
55
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
56
|
+
initialSharedVersion: BcsType<string, string | number | bigint, "u64">;
|
|
57
|
+
mutable: BcsType<boolean, boolean, "bool">;
|
|
58
|
+
}, string>;
|
|
59
|
+
Receiving: import("@mysten/bcs").BcsStruct<{
|
|
60
|
+
objectId: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
61
|
+
version: BcsType<string, string | number | bigint, "u64">;
|
|
62
|
+
digest: BcsType<string, string, "ObjectDigest">;
|
|
63
|
+
}, string>;
|
|
64
|
+
}, "ObjectArg">;
|
|
65
|
+
}, "CallArg">;
|
|
66
|
+
export declare const TypeTag: BcsType<string, string | TypeTagType, string>;
|
|
67
|
+
export declare const Argument: import("@mysten/bcs").BcsEnum<{
|
|
68
|
+
GasCoin: null;
|
|
69
|
+
Input: BcsType<number, number, "u16">;
|
|
70
|
+
Result: BcsType<number, number, "u16">;
|
|
71
|
+
NestedResult: import("@mysten/bcs").BcsTuple<readonly [BcsType<number, number, "u16">, BcsType<number, number, "u16">], string>;
|
|
72
|
+
}, "Argument">;
|
|
73
|
+
export declare const ProgrammableMoveCall: import("@mysten/bcs").BcsStruct<{
|
|
74
|
+
package: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
75
|
+
module: BcsType<string, string, "string">;
|
|
76
|
+
function: BcsType<string, string, "string">;
|
|
77
|
+
typeArguments: BcsType<string[], Iterable<string | TypeTagType> & {
|
|
78
|
+
length: number;
|
|
79
|
+
}, string>;
|
|
80
|
+
arguments: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
140
81
|
GasCoin: true;
|
|
141
82
|
Input: number;
|
|
142
83
|
Result: number;
|
|
143
84
|
NestedResult: [number, number];
|
|
144
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">[]
|
|
145
|
-
}, {
|
|
146
|
-
package: string | Uint8Array<ArrayBufferLike>;
|
|
147
|
-
module: string;
|
|
148
|
-
function: string;
|
|
149
|
-
typeArguments: Iterable<string | TypeTagType> & {
|
|
150
|
-
length: number;
|
|
151
|
-
};
|
|
152
|
-
arguments: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
85
|
+
}, "GasCoin" | "Input" | "Result" | "NestedResult">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
153
86
|
GasCoin: boolean | object | null;
|
|
154
87
|
Input: number;
|
|
155
88
|
Result: number;
|
|
156
89
|
NestedResult: readonly [number, number];
|
|
157
90
|
}>> & {
|
|
158
91
|
length: number;
|
|
159
|
-
}
|
|
160
|
-
}>;
|
|
161
|
-
export declare const Command:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
objects: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
176
|
-
GasCoin: true;
|
|
177
|
-
Input: number;
|
|
178
|
-
Result: number;
|
|
179
|
-
NestedResult: [number, number];
|
|
180
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">[];
|
|
181
|
-
address: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
182
|
-
GasCoin: true;
|
|
183
|
-
Input: number;
|
|
184
|
-
Result: number;
|
|
185
|
-
NestedResult: [number, number];
|
|
186
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
187
|
-
};
|
|
188
|
-
SplitCoins: {
|
|
189
|
-
coin: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
190
|
-
GasCoin: true;
|
|
191
|
-
Input: number;
|
|
192
|
-
Result: number;
|
|
193
|
-
NestedResult: [number, number];
|
|
194
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
195
|
-
amounts: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
196
|
-
GasCoin: true;
|
|
197
|
-
Input: number;
|
|
198
|
-
Result: number;
|
|
199
|
-
NestedResult: [number, number];
|
|
200
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">[];
|
|
201
|
-
};
|
|
202
|
-
MergeCoins: {
|
|
203
|
-
destination: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
204
|
-
GasCoin: true;
|
|
205
|
-
Input: number;
|
|
206
|
-
Result: number;
|
|
207
|
-
NestedResult: [number, number];
|
|
208
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
209
|
-
sources: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
210
|
-
GasCoin: true;
|
|
211
|
-
Input: number;
|
|
212
|
-
Result: number;
|
|
213
|
-
NestedResult: [number, number];
|
|
214
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">[];
|
|
215
|
-
};
|
|
216
|
-
Publish: {
|
|
217
|
-
modules: string[];
|
|
218
|
-
dependencies: string[];
|
|
219
|
-
};
|
|
220
|
-
MakeMoveVec: {
|
|
221
|
-
type: string | null;
|
|
222
|
-
elements: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
223
|
-
GasCoin: true;
|
|
224
|
-
Input: number;
|
|
225
|
-
Result: number;
|
|
226
|
-
NestedResult: [number, number];
|
|
227
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult">[];
|
|
228
|
-
};
|
|
229
|
-
Upgrade: {
|
|
230
|
-
modules: string[];
|
|
231
|
-
dependencies: string[];
|
|
232
|
-
package: string;
|
|
233
|
-
ticket: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
92
|
+
}, string>;
|
|
93
|
+
}, string>;
|
|
94
|
+
export declare const Command: import("@mysten/bcs").BcsEnum<{
|
|
95
|
+
/**
|
|
96
|
+
* A Move Call - any public Move function can be called via
|
|
97
|
+
* this transaction. The results can be used that instant to pass
|
|
98
|
+
* into the next transaction.
|
|
99
|
+
*/
|
|
100
|
+
MoveCall: import("@mysten/bcs").BcsStruct<{
|
|
101
|
+
package: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
102
|
+
module: BcsType<string, string, "string">;
|
|
103
|
+
function: BcsType<string, string, "string">;
|
|
104
|
+
typeArguments: BcsType<string[], Iterable<string | TypeTagType> & {
|
|
105
|
+
length: number;
|
|
106
|
+
}, string>;
|
|
107
|
+
arguments: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
234
108
|
GasCoin: true;
|
|
235
109
|
Input: number;
|
|
236
110
|
Result: number;
|
|
237
111
|
NestedResult: [number, number];
|
|
238
|
-
}, "GasCoin" | "Input" | "Result" | "NestedResult"
|
|
239
|
-
};
|
|
240
|
-
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">, import("@mysten/bcs").EnumInputShape<{
|
|
241
|
-
MoveCall: {
|
|
242
|
-
package: string | Uint8Array<ArrayBufferLike>;
|
|
243
|
-
module: string;
|
|
244
|
-
function: string;
|
|
245
|
-
typeArguments: Iterable<string | TypeTagType> & {
|
|
246
|
-
length: number;
|
|
247
|
-
};
|
|
248
|
-
arguments: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
112
|
+
}, "GasCoin" | "Input" | "Result" | "NestedResult">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
249
113
|
GasCoin: boolean | object | null;
|
|
250
114
|
Input: number;
|
|
251
115
|
Result: number;
|
|
252
116
|
NestedResult: readonly [number, number];
|
|
253
117
|
}>> & {
|
|
254
118
|
length: number;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
119
|
+
}, string>;
|
|
120
|
+
}, string>;
|
|
121
|
+
/**
|
|
122
|
+
* Transfer vector of objects to a receiver.
|
|
123
|
+
*/
|
|
124
|
+
TransferObjects: import("@mysten/bcs").BcsStruct<{
|
|
125
|
+
objects: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
126
|
+
GasCoin: true;
|
|
260
127
|
Input: number;
|
|
261
128
|
Result: number;
|
|
262
|
-
NestedResult:
|
|
263
|
-
}
|
|
264
|
-
length: number;
|
|
265
|
-
};
|
|
266
|
-
address: import("@mysten/bcs").EnumInputShape<{
|
|
129
|
+
NestedResult: [number, number];
|
|
130
|
+
}, "GasCoin" | "Input" | "Result" | "NestedResult">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
267
131
|
GasCoin: boolean | object | null;
|
|
268
132
|
Input: number;
|
|
269
133
|
Result: number;
|
|
270
134
|
NestedResult: readonly [number, number];
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
GasCoin:
|
|
135
|
+
}>> & {
|
|
136
|
+
length: number;
|
|
137
|
+
}, string>;
|
|
138
|
+
address: import("@mysten/bcs").BcsEnum<{
|
|
139
|
+
GasCoin: null;
|
|
140
|
+
Input: BcsType<number, number, "u16">;
|
|
141
|
+
Result: BcsType<number, number, "u16">;
|
|
142
|
+
NestedResult: import("@mysten/bcs").BcsTuple<readonly [BcsType<number, number, "u16">, BcsType<number, number, "u16">], string>;
|
|
143
|
+
}, "Argument">;
|
|
144
|
+
}, string>;
|
|
145
|
+
SplitCoins: import("@mysten/bcs").BcsStruct<{
|
|
146
|
+
coin: import("@mysten/bcs").BcsEnum<{
|
|
147
|
+
GasCoin: null;
|
|
148
|
+
Input: BcsType<number, number, "u16">;
|
|
149
|
+
Result: BcsType<number, number, "u16">;
|
|
150
|
+
NestedResult: import("@mysten/bcs").BcsTuple<readonly [BcsType<number, number, "u16">, BcsType<number, number, "u16">], string>;
|
|
151
|
+
}, "Argument">;
|
|
152
|
+
amounts: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
153
|
+
GasCoin: true;
|
|
276
154
|
Input: number;
|
|
277
155
|
Result: number;
|
|
278
|
-
NestedResult:
|
|
279
|
-
}
|
|
280
|
-
amounts: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
156
|
+
NestedResult: [number, number];
|
|
157
|
+
}, "GasCoin" | "Input" | "Result" | "NestedResult">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
281
158
|
GasCoin: boolean | object | null;
|
|
282
159
|
Input: number;
|
|
283
160
|
Result: number;
|
|
284
161
|
NestedResult: readonly [number, number];
|
|
285
162
|
}>> & {
|
|
286
163
|
length: number;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
MergeCoins: {
|
|
290
|
-
destination: import("@mysten/bcs").
|
|
291
|
-
GasCoin:
|
|
164
|
+
}, string>;
|
|
165
|
+
}, string>;
|
|
166
|
+
MergeCoins: import("@mysten/bcs").BcsStruct<{
|
|
167
|
+
destination: import("@mysten/bcs").BcsEnum<{
|
|
168
|
+
GasCoin: null;
|
|
169
|
+
Input: BcsType<number, number, "u16">;
|
|
170
|
+
Result: BcsType<number, number, "u16">;
|
|
171
|
+
NestedResult: import("@mysten/bcs").BcsTuple<readonly [BcsType<number, number, "u16">, BcsType<number, number, "u16">], string>;
|
|
172
|
+
}, "Argument">;
|
|
173
|
+
sources: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
174
|
+
GasCoin: true;
|
|
292
175
|
Input: number;
|
|
293
176
|
Result: number;
|
|
294
|
-
NestedResult:
|
|
295
|
-
}
|
|
296
|
-
sources: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
177
|
+
NestedResult: [number, number];
|
|
178
|
+
}, "GasCoin" | "Input" | "Result" | "NestedResult">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
297
179
|
GasCoin: boolean | object | null;
|
|
298
180
|
Input: number;
|
|
299
181
|
Result: number;
|
|
300
182
|
NestedResult: readonly [number, number];
|
|
301
183
|
}>> & {
|
|
302
184
|
length: number;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
Publish: {
|
|
306
|
-
modules: Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
185
|
+
}, string>;
|
|
186
|
+
}, string>;
|
|
187
|
+
Publish: import("@mysten/bcs").BcsStruct<{
|
|
188
|
+
modules: BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
307
189
|
length: number;
|
|
308
|
-
}
|
|
309
|
-
dependencies: Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
190
|
+
}, string>;
|
|
191
|
+
dependencies: BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
310
192
|
length: number;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
MakeMoveVec: {
|
|
314
|
-
type: string | null
|
|
315
|
-
elements:
|
|
193
|
+
}, string>;
|
|
194
|
+
}, string>;
|
|
195
|
+
MakeMoveVec: import("@mysten/bcs").BcsStruct<{
|
|
196
|
+
type: BcsType<string | null, string | null, string>;
|
|
197
|
+
elements: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
198
|
+
GasCoin: true;
|
|
199
|
+
Input: number;
|
|
200
|
+
Result: number;
|
|
201
|
+
NestedResult: [number, number];
|
|
202
|
+
}, "GasCoin" | "Input" | "Result" | "NestedResult">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
316
203
|
GasCoin: boolean | object | null;
|
|
317
204
|
Input: number;
|
|
318
205
|
Result: number;
|
|
319
206
|
NestedResult: readonly [number, number];
|
|
320
207
|
}>> & {
|
|
321
208
|
length: number;
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
Upgrade: {
|
|
325
|
-
modules: Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
209
|
+
}, string>;
|
|
210
|
+
}, string>;
|
|
211
|
+
Upgrade: import("@mysten/bcs").BcsStruct<{
|
|
212
|
+
modules: BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
326
213
|
length: number;
|
|
327
|
-
}
|
|
328
|
-
dependencies: Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
214
|
+
}, string>;
|
|
215
|
+
dependencies: BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
329
216
|
length: number;
|
|
330
|
-
}
|
|
331
|
-
package: string | Uint8Array<ArrayBufferLike>;
|
|
332
|
-
ticket: import("@mysten/bcs").
|
|
333
|
-
GasCoin:
|
|
334
|
-
Input: number
|
|
335
|
-
Result: number
|
|
336
|
-
NestedResult: readonly [number, number]
|
|
337
|
-
}>;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
export declare const ProgrammableTransaction:
|
|
341
|
-
inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
217
|
+
}, string>;
|
|
218
|
+
package: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
219
|
+
ticket: import("@mysten/bcs").BcsEnum<{
|
|
220
|
+
GasCoin: null;
|
|
221
|
+
Input: BcsType<number, number, "u16">;
|
|
222
|
+
Result: BcsType<number, number, "u16">;
|
|
223
|
+
NestedResult: import("@mysten/bcs").BcsTuple<readonly [BcsType<number, number, "u16">, BcsType<number, number, "u16">], string>;
|
|
224
|
+
}, "Argument">;
|
|
225
|
+
}, string>;
|
|
226
|
+
}, "Command">;
|
|
227
|
+
export declare const ProgrammableTransaction: import("@mysten/bcs").BcsStruct<{
|
|
228
|
+
inputs: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
342
229
|
Pure: {
|
|
343
230
|
bytes: string;
|
|
344
231
|
};
|
|
@@ -359,8 +246,31 @@ export declare const ProgrammableTransaction: BcsType<{
|
|
|
359
246
|
digest: string;
|
|
360
247
|
};
|
|
361
248
|
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
362
|
-
}, "Pure" | "Object">[]
|
|
363
|
-
|
|
249
|
+
}, "Pure" | "Object">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
250
|
+
Pure: {
|
|
251
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
252
|
+
};
|
|
253
|
+
Object: import("@mysten/bcs").EnumInputShape<{
|
|
254
|
+
ImmOrOwnedObject: {
|
|
255
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
256
|
+
version: string | number | bigint;
|
|
257
|
+
digest: string;
|
|
258
|
+
};
|
|
259
|
+
SharedObject: {
|
|
260
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
261
|
+
initialSharedVersion: string | number | bigint;
|
|
262
|
+
mutable: boolean;
|
|
263
|
+
};
|
|
264
|
+
Receiving: {
|
|
265
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
266
|
+
version: string | number | bigint;
|
|
267
|
+
digest: string;
|
|
268
|
+
};
|
|
269
|
+
}>;
|
|
270
|
+
}>> & {
|
|
271
|
+
length: number;
|
|
272
|
+
}, string>;
|
|
273
|
+
commands: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
364
274
|
MoveCall: {
|
|
365
275
|
package: string;
|
|
366
276
|
module: string;
|
|
@@ -439,33 +349,7 @@ export declare const ProgrammableTransaction: BcsType<{
|
|
|
439
349
|
NestedResult: [number, number];
|
|
440
350
|
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
441
351
|
};
|
|
442
|
-
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[]
|
|
443
|
-
}, {
|
|
444
|
-
inputs: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
445
|
-
Pure: {
|
|
446
|
-
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
447
|
-
};
|
|
448
|
-
Object: import("@mysten/bcs").EnumInputShape<{
|
|
449
|
-
ImmOrOwnedObject: {
|
|
450
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
451
|
-
version: string | number | bigint;
|
|
452
|
-
digest: string;
|
|
453
|
-
};
|
|
454
|
-
SharedObject: {
|
|
455
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
456
|
-
initialSharedVersion: string | number | bigint;
|
|
457
|
-
mutable: boolean;
|
|
458
|
-
};
|
|
459
|
-
Receiving: {
|
|
460
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
461
|
-
version: string | number | bigint;
|
|
462
|
-
digest: string;
|
|
463
|
-
};
|
|
464
|
-
}>;
|
|
465
|
-
}>> & {
|
|
466
|
-
length: number;
|
|
467
|
-
};
|
|
468
|
-
commands: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
352
|
+
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
469
353
|
MoveCall: {
|
|
470
354
|
package: string | Uint8Array<ArrayBufferLike>;
|
|
471
355
|
module: string;
|
|
@@ -566,11 +450,11 @@ export declare const ProgrammableTransaction: BcsType<{
|
|
|
566
450
|
};
|
|
567
451
|
}>> & {
|
|
568
452
|
length: number;
|
|
569
|
-
}
|
|
570
|
-
}>;
|
|
571
|
-
export declare const TransactionKind:
|
|
572
|
-
ProgrammableTransaction: {
|
|
573
|
-
inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
453
|
+
}, string>;
|
|
454
|
+
}, string>;
|
|
455
|
+
export declare const TransactionKind: import("@mysten/bcs").BcsEnum<{
|
|
456
|
+
ProgrammableTransaction: import("@mysten/bcs").BcsStruct<{
|
|
457
|
+
inputs: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
574
458
|
Pure: {
|
|
575
459
|
bytes: string;
|
|
576
460
|
};
|
|
@@ -591,8 +475,31 @@ export declare const TransactionKind: BcsType<import("@mysten/bcs").EnumOutputSh
|
|
|
591
475
|
digest: string;
|
|
592
476
|
};
|
|
593
477
|
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
594
|
-
}, "Pure" | "Object">[]
|
|
595
|
-
|
|
478
|
+
}, "Pure" | "Object">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
479
|
+
Pure: {
|
|
480
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
481
|
+
};
|
|
482
|
+
Object: import("@mysten/bcs").EnumInputShape<{
|
|
483
|
+
ImmOrOwnedObject: {
|
|
484
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
485
|
+
version: string | number | bigint;
|
|
486
|
+
digest: string;
|
|
487
|
+
};
|
|
488
|
+
SharedObject: {
|
|
489
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
490
|
+
initialSharedVersion: string | number | bigint;
|
|
491
|
+
mutable: boolean;
|
|
492
|
+
};
|
|
493
|
+
Receiving: {
|
|
494
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
495
|
+
version: string | number | bigint;
|
|
496
|
+
digest: string;
|
|
497
|
+
};
|
|
498
|
+
}>;
|
|
499
|
+
}>> & {
|
|
500
|
+
length: number;
|
|
501
|
+
}, string>;
|
|
502
|
+
commands: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
596
503
|
MoveCall: {
|
|
597
504
|
package: string;
|
|
598
505
|
module: string;
|
|
@@ -671,38 +578,7 @@ export declare const TransactionKind: BcsType<import("@mysten/bcs").EnumOutputSh
|
|
|
671
578
|
NestedResult: [number, number];
|
|
672
579
|
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
673
580
|
};
|
|
674
|
-
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[]
|
|
675
|
-
};
|
|
676
|
-
ChangeEpoch: true;
|
|
677
|
-
Genesis: true;
|
|
678
|
-
ConsensusCommitPrologue: true;
|
|
679
|
-
}, "ProgrammableTransaction" | "ChangeEpoch" | "Genesis" | "ConsensusCommitPrologue">, import("@mysten/bcs").EnumInputShape<{
|
|
680
|
-
ProgrammableTransaction: {
|
|
681
|
-
inputs: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
682
|
-
Pure: {
|
|
683
|
-
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
684
|
-
};
|
|
685
|
-
Object: import("@mysten/bcs").EnumInputShape<{
|
|
686
|
-
ImmOrOwnedObject: {
|
|
687
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
688
|
-
version: string | number | bigint;
|
|
689
|
-
digest: string;
|
|
690
|
-
};
|
|
691
|
-
SharedObject: {
|
|
692
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
693
|
-
initialSharedVersion: string | number | bigint;
|
|
694
|
-
mutable: boolean;
|
|
695
|
-
};
|
|
696
|
-
Receiving: {
|
|
697
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
698
|
-
version: string | number | bigint;
|
|
699
|
-
digest: string;
|
|
700
|
-
};
|
|
701
|
-
}>;
|
|
702
|
-
}>> & {
|
|
703
|
-
length: number;
|
|
704
|
-
};
|
|
705
|
-
commands: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
581
|
+
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
706
582
|
MoveCall: {
|
|
707
583
|
package: string | Uint8Array<ArrayBufferLike>;
|
|
708
584
|
module: string;
|
|
@@ -803,57 +679,44 @@ export declare const TransactionKind: BcsType<import("@mysten/bcs").EnumOutputSh
|
|
|
803
679
|
};
|
|
804
680
|
}>> & {
|
|
805
681
|
length: number;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
ChangeEpoch:
|
|
809
|
-
Genesis:
|
|
810
|
-
ConsensusCommitPrologue:
|
|
811
|
-
}
|
|
812
|
-
export declare const TransactionExpiration:
|
|
813
|
-
None:
|
|
814
|
-
Epoch: number
|
|
815
|
-
}, "
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
module: string;
|
|
822
|
-
name: string;
|
|
823
|
-
typeParams: TypeTagType[];
|
|
824
|
-
}, {
|
|
825
|
-
address: string | Uint8Array<ArrayBufferLike>;
|
|
826
|
-
module: string;
|
|
827
|
-
name: string;
|
|
828
|
-
typeParams: Iterable<TypeTagType> & {
|
|
682
|
+
}, string>;
|
|
683
|
+
}, string>;
|
|
684
|
+
ChangeEpoch: null;
|
|
685
|
+
Genesis: null;
|
|
686
|
+
ConsensusCommitPrologue: null;
|
|
687
|
+
}, "TransactionKind">;
|
|
688
|
+
export declare const TransactionExpiration: import("@mysten/bcs").BcsEnum<{
|
|
689
|
+
None: null;
|
|
690
|
+
Epoch: BcsType<number, string | number, "u64">;
|
|
691
|
+
}, "TransactionExpiration">;
|
|
692
|
+
export declare const StructTag: import("@mysten/bcs").BcsStruct<{
|
|
693
|
+
address: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
694
|
+
module: BcsType<string, string, "string">;
|
|
695
|
+
name: BcsType<string, string, "string">;
|
|
696
|
+
typeParams: BcsType<TypeTagType[], Iterable<TypeTagType> & {
|
|
829
697
|
length: number;
|
|
830
|
-
}
|
|
831
|
-
}>;
|
|
832
|
-
export declare const GasData:
|
|
833
|
-
payment: {
|
|
698
|
+
}, string>;
|
|
699
|
+
}, string>;
|
|
700
|
+
export declare const GasData: import("@mysten/bcs").BcsStruct<{
|
|
701
|
+
payment: BcsType<{
|
|
834
702
|
objectId: string;
|
|
835
703
|
version: string;
|
|
836
704
|
digest: string;
|
|
837
|
-
}[]
|
|
838
|
-
owner: string;
|
|
839
|
-
price: string;
|
|
840
|
-
budget: string;
|
|
841
|
-
}, {
|
|
842
|
-
payment: Iterable<{
|
|
705
|
+
}[], Iterable<{
|
|
843
706
|
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
844
707
|
version: string | number | bigint;
|
|
845
708
|
digest: string;
|
|
846
709
|
}> & {
|
|
847
710
|
length: number;
|
|
848
|
-
}
|
|
849
|
-
owner: string | Uint8Array<ArrayBufferLike>;
|
|
850
|
-
price: string | number | bigint
|
|
851
|
-
budget: string | number | bigint
|
|
852
|
-
}>;
|
|
853
|
-
export declare const TransactionDataV1:
|
|
854
|
-
kind: import("@mysten/bcs").
|
|
855
|
-
ProgrammableTransaction: {
|
|
856
|
-
inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
711
|
+
}, string>;
|
|
712
|
+
owner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
713
|
+
price: BcsType<string, string | number | bigint, "u64">;
|
|
714
|
+
budget: BcsType<string, string | number | bigint, "u64">;
|
|
715
|
+
}, string>;
|
|
716
|
+
export declare const TransactionDataV1: import("@mysten/bcs").BcsStruct<{
|
|
717
|
+
kind: import("@mysten/bcs").BcsEnum<{
|
|
718
|
+
ProgrammableTransaction: import("@mysten/bcs").BcsStruct<{
|
|
719
|
+
inputs: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
857
720
|
Pure: {
|
|
858
721
|
bytes: string;
|
|
859
722
|
};
|
|
@@ -874,8 +737,31 @@ export declare const TransactionDataV1: BcsType<{
|
|
|
874
737
|
digest: string;
|
|
875
738
|
};
|
|
876
739
|
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
877
|
-
}, "Pure" | "Object">[]
|
|
878
|
-
|
|
740
|
+
}, "Pure" | "Object">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
741
|
+
Pure: {
|
|
742
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
743
|
+
};
|
|
744
|
+
Object: import("@mysten/bcs").EnumInputShape<{
|
|
745
|
+
ImmOrOwnedObject: {
|
|
746
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
747
|
+
version: string | number | bigint;
|
|
748
|
+
digest: string;
|
|
749
|
+
};
|
|
750
|
+
SharedObject: {
|
|
751
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
752
|
+
initialSharedVersion: string | number | bigint;
|
|
753
|
+
mutable: boolean;
|
|
754
|
+
};
|
|
755
|
+
Receiving: {
|
|
756
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
757
|
+
version: string | number | bigint;
|
|
758
|
+
digest: string;
|
|
759
|
+
};
|
|
760
|
+
}>;
|
|
761
|
+
}>> & {
|
|
762
|
+
length: number;
|
|
763
|
+
}, string>;
|
|
764
|
+
commands: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
879
765
|
MoveCall: {
|
|
880
766
|
package: string;
|
|
881
767
|
module: string;
|
|
@@ -954,55 +840,7 @@ export declare const TransactionDataV1: BcsType<{
|
|
|
954
840
|
NestedResult: [number, number];
|
|
955
841
|
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
956
842
|
};
|
|
957
|
-
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[]
|
|
958
|
-
};
|
|
959
|
-
ChangeEpoch: true;
|
|
960
|
-
Genesis: true;
|
|
961
|
-
ConsensusCommitPrologue: true;
|
|
962
|
-
}, "ProgrammableTransaction" | "ChangeEpoch" | "Genesis" | "ConsensusCommitPrologue">;
|
|
963
|
-
sender: string;
|
|
964
|
-
gasData: {
|
|
965
|
-
payment: {
|
|
966
|
-
objectId: string;
|
|
967
|
-
version: string;
|
|
968
|
-
digest: string;
|
|
969
|
-
}[];
|
|
970
|
-
owner: string;
|
|
971
|
-
price: string;
|
|
972
|
-
budget: string;
|
|
973
|
-
};
|
|
974
|
-
expiration: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
975
|
-
None: true;
|
|
976
|
-
Epoch: number;
|
|
977
|
-
}, "None" | "Epoch">;
|
|
978
|
-
}, {
|
|
979
|
-
kind: import("@mysten/bcs").EnumInputShape<{
|
|
980
|
-
ProgrammableTransaction: {
|
|
981
|
-
inputs: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
982
|
-
Pure: {
|
|
983
|
-
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
984
|
-
};
|
|
985
|
-
Object: import("@mysten/bcs").EnumInputShape<{
|
|
986
|
-
ImmOrOwnedObject: {
|
|
987
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
988
|
-
version: string | number | bigint;
|
|
989
|
-
digest: string;
|
|
990
|
-
};
|
|
991
|
-
SharedObject: {
|
|
992
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
993
|
-
initialSharedVersion: string | number | bigint;
|
|
994
|
-
mutable: boolean;
|
|
995
|
-
};
|
|
996
|
-
Receiving: {
|
|
997
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
998
|
-
version: string | number | bigint;
|
|
999
|
-
digest: string;
|
|
1000
|
-
};
|
|
1001
|
-
}>;
|
|
1002
|
-
}>> & {
|
|
1003
|
-
length: number;
|
|
1004
|
-
};
|
|
1005
|
-
commands: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
843
|
+
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1006
844
|
MoveCall: {
|
|
1007
845
|
package: string | Uint8Array<ArrayBufferLike>;
|
|
1008
846
|
module: string;
|
|
@@ -1103,57 +941,84 @@ export declare const TransactionDataV1: BcsType<{
|
|
|
1103
941
|
};
|
|
1104
942
|
}>> & {
|
|
1105
943
|
length: number;
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
ChangeEpoch:
|
|
1109
|
-
Genesis:
|
|
1110
|
-
ConsensusCommitPrologue:
|
|
1111
|
-
}>;
|
|
1112
|
-
sender: string | Uint8Array<ArrayBufferLike>;
|
|
1113
|
-
gasData: {
|
|
1114
|
-
payment:
|
|
944
|
+
}, string>;
|
|
945
|
+
}, string>;
|
|
946
|
+
ChangeEpoch: null;
|
|
947
|
+
Genesis: null;
|
|
948
|
+
ConsensusCommitPrologue: null;
|
|
949
|
+
}, "TransactionKind">;
|
|
950
|
+
sender: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
951
|
+
gasData: import("@mysten/bcs").BcsStruct<{
|
|
952
|
+
payment: BcsType<{
|
|
953
|
+
objectId: string;
|
|
954
|
+
version: string;
|
|
955
|
+
digest: string;
|
|
956
|
+
}[], Iterable<{
|
|
1115
957
|
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1116
958
|
version: string | number | bigint;
|
|
1117
959
|
digest: string;
|
|
1118
960
|
}> & {
|
|
1119
961
|
length: number;
|
|
1120
|
-
}
|
|
1121
|
-
owner: string | Uint8Array<ArrayBufferLike>;
|
|
1122
|
-
price: string | number | bigint
|
|
1123
|
-
budget: string | number | bigint
|
|
1124
|
-
}
|
|
1125
|
-
expiration: import("@mysten/bcs").
|
|
1126
|
-
None:
|
|
1127
|
-
Epoch: string | number
|
|
1128
|
-
}>;
|
|
1129
|
-
}>;
|
|
1130
|
-
export declare const TransactionData:
|
|
1131
|
-
V1: {
|
|
1132
|
-
kind: import("@mysten/bcs").
|
|
1133
|
-
ProgrammableTransaction: {
|
|
1134
|
-
inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
962
|
+
}, string>;
|
|
963
|
+
owner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
964
|
+
price: BcsType<string, string | number | bigint, "u64">;
|
|
965
|
+
budget: BcsType<string, string | number | bigint, "u64">;
|
|
966
|
+
}, string>;
|
|
967
|
+
expiration: import("@mysten/bcs").BcsEnum<{
|
|
968
|
+
None: null;
|
|
969
|
+
Epoch: BcsType<number, string | number, "u64">;
|
|
970
|
+
}, "TransactionExpiration">;
|
|
971
|
+
}, string>;
|
|
972
|
+
export declare const TransactionData: import("@mysten/bcs").BcsEnum<{
|
|
973
|
+
V1: import("@mysten/bcs").BcsStruct<{
|
|
974
|
+
kind: import("@mysten/bcs").BcsEnum<{
|
|
975
|
+
ProgrammableTransaction: import("@mysten/bcs").BcsStruct<{
|
|
976
|
+
inputs: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1135
977
|
Pure: {
|
|
1136
978
|
bytes: string;
|
|
1137
979
|
};
|
|
1138
980
|
Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1139
981
|
ImmOrOwnedObject: {
|
|
1140
|
-
objectId: string;
|
|
1141
|
-
version: string;
|
|
982
|
+
objectId: string;
|
|
983
|
+
version: string;
|
|
984
|
+
digest: string;
|
|
985
|
+
};
|
|
986
|
+
SharedObject: {
|
|
987
|
+
objectId: string;
|
|
988
|
+
initialSharedVersion: string;
|
|
989
|
+
mutable: boolean;
|
|
990
|
+
};
|
|
991
|
+
Receiving: {
|
|
992
|
+
objectId: string;
|
|
993
|
+
version: string;
|
|
994
|
+
digest: string;
|
|
995
|
+
};
|
|
996
|
+
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
997
|
+
}, "Pure" | "Object">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
998
|
+
Pure: {
|
|
999
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
1000
|
+
};
|
|
1001
|
+
Object: import("@mysten/bcs").EnumInputShape<{
|
|
1002
|
+
ImmOrOwnedObject: {
|
|
1003
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1004
|
+
version: string | number | bigint;
|
|
1142
1005
|
digest: string;
|
|
1143
1006
|
};
|
|
1144
1007
|
SharedObject: {
|
|
1145
|
-
objectId: string
|
|
1146
|
-
initialSharedVersion: string;
|
|
1008
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1009
|
+
initialSharedVersion: string | number | bigint;
|
|
1147
1010
|
mutable: boolean;
|
|
1148
1011
|
};
|
|
1149
1012
|
Receiving: {
|
|
1150
|
-
objectId: string
|
|
1151
|
-
version: string;
|
|
1013
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1014
|
+
version: string | number | bigint;
|
|
1152
1015
|
digest: string;
|
|
1153
1016
|
};
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1017
|
+
}>;
|
|
1018
|
+
}>> & {
|
|
1019
|
+
length: number;
|
|
1020
|
+
}, string>;
|
|
1021
|
+
commands: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1157
1022
|
MoveCall: {
|
|
1158
1023
|
package: string;
|
|
1159
1024
|
module: string;
|
|
@@ -1232,58 +1097,7 @@ export declare const TransactionData: BcsType<{
|
|
|
1232
1097
|
NestedResult: [number, number];
|
|
1233
1098
|
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
1234
1099
|
};
|
|
1235
|
-
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[]
|
|
1236
|
-
};
|
|
1237
|
-
ChangeEpoch: true;
|
|
1238
|
-
Genesis: true;
|
|
1239
|
-
ConsensusCommitPrologue: true;
|
|
1240
|
-
}, "ProgrammableTransaction" | "ChangeEpoch" | "Genesis" | "ConsensusCommitPrologue">;
|
|
1241
|
-
sender: string;
|
|
1242
|
-
gasData: {
|
|
1243
|
-
payment: {
|
|
1244
|
-
objectId: string;
|
|
1245
|
-
version: string;
|
|
1246
|
-
digest: string;
|
|
1247
|
-
}[];
|
|
1248
|
-
owner: string;
|
|
1249
|
-
price: string;
|
|
1250
|
-
budget: string;
|
|
1251
|
-
};
|
|
1252
|
-
expiration: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1253
|
-
None: true;
|
|
1254
|
-
Epoch: number;
|
|
1255
|
-
}, "None" | "Epoch">;
|
|
1256
|
-
};
|
|
1257
|
-
$kind: "V1";
|
|
1258
|
-
}, {
|
|
1259
|
-
V1: {
|
|
1260
|
-
kind: import("@mysten/bcs").EnumInputShape<{
|
|
1261
|
-
ProgrammableTransaction: {
|
|
1262
|
-
inputs: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1263
|
-
Pure: {
|
|
1264
|
-
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
1265
|
-
};
|
|
1266
|
-
Object: import("@mysten/bcs").EnumInputShape<{
|
|
1267
|
-
ImmOrOwnedObject: {
|
|
1268
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1269
|
-
version: string | number | bigint;
|
|
1270
|
-
digest: string;
|
|
1271
|
-
};
|
|
1272
|
-
SharedObject: {
|
|
1273
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1274
|
-
initialSharedVersion: string | number | bigint;
|
|
1275
|
-
mutable: boolean;
|
|
1276
|
-
};
|
|
1277
|
-
Receiving: {
|
|
1278
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1279
|
-
version: string | number | bigint;
|
|
1280
|
-
digest: string;
|
|
1281
|
-
};
|
|
1282
|
-
}>;
|
|
1283
|
-
}>> & {
|
|
1284
|
-
length: number;
|
|
1285
|
-
};
|
|
1286
|
-
commands: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1100
|
+
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1287
1101
|
MoveCall: {
|
|
1288
1102
|
package: string | Uint8Array<ArrayBufferLike>;
|
|
1289
1103
|
module: string;
|
|
@@ -1384,195 +1198,134 @@ export declare const TransactionData: BcsType<{
|
|
|
1384
1198
|
};
|
|
1385
1199
|
}>> & {
|
|
1386
1200
|
length: number;
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
ChangeEpoch:
|
|
1390
|
-
Genesis:
|
|
1391
|
-
ConsensusCommitPrologue:
|
|
1392
|
-
}>;
|
|
1393
|
-
sender: string | Uint8Array<ArrayBufferLike>;
|
|
1394
|
-
gasData: {
|
|
1395
|
-
payment:
|
|
1201
|
+
}, string>;
|
|
1202
|
+
}, string>;
|
|
1203
|
+
ChangeEpoch: null;
|
|
1204
|
+
Genesis: null;
|
|
1205
|
+
ConsensusCommitPrologue: null;
|
|
1206
|
+
}, "TransactionKind">;
|
|
1207
|
+
sender: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1208
|
+
gasData: import("@mysten/bcs").BcsStruct<{
|
|
1209
|
+
payment: BcsType<{
|
|
1210
|
+
objectId: string;
|
|
1211
|
+
version: string;
|
|
1212
|
+
digest: string;
|
|
1213
|
+
}[], Iterable<{
|
|
1396
1214
|
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1397
1215
|
version: string | number | bigint;
|
|
1398
1216
|
digest: string;
|
|
1399
1217
|
}> & {
|
|
1400
1218
|
length: number;
|
|
1401
|
-
}
|
|
1402
|
-
owner: string | Uint8Array<ArrayBufferLike>;
|
|
1403
|
-
price: string | number | bigint
|
|
1404
|
-
budget: string | number | bigint
|
|
1405
|
-
}
|
|
1406
|
-
expiration: import("@mysten/bcs").
|
|
1407
|
-
None:
|
|
1408
|
-
Epoch: string | number
|
|
1409
|
-
}>;
|
|
1410
|
-
}
|
|
1411
|
-
}>;
|
|
1412
|
-
export declare const IntentScope:
|
|
1413
|
-
TransactionData:
|
|
1414
|
-
TransactionEffects:
|
|
1415
|
-
CheckpointSummary:
|
|
1416
|
-
PersonalMessage:
|
|
1417
|
-
}, "
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
version: {
|
|
1458
|
-
V0: boolean | object | null;
|
|
1459
|
-
};
|
|
1460
|
-
appId: {
|
|
1461
|
-
Sui: boolean | object | null;
|
|
1462
|
-
};
|
|
1463
|
-
}>;
|
|
1464
|
-
export declare function IntentMessage<T extends BcsType<any>>(T: T): BcsType<{
|
|
1465
|
-
intent: {
|
|
1466
|
-
scope: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1467
|
-
TransactionData: true;
|
|
1468
|
-
TransactionEffects: true;
|
|
1469
|
-
CheckpointSummary: true;
|
|
1470
|
-
PersonalMessage: true;
|
|
1471
|
-
}, "TransactionData" | "TransactionEffects" | "CheckpointSummary" | "PersonalMessage">;
|
|
1472
|
-
version: {
|
|
1473
|
-
V0: true;
|
|
1474
|
-
$kind: "V0";
|
|
1475
|
-
};
|
|
1476
|
-
appId: {
|
|
1477
|
-
Sui: true;
|
|
1478
|
-
$kind: "Sui";
|
|
1479
|
-
};
|
|
1480
|
-
};
|
|
1481
|
-
value: T extends BcsType<infer U, any> ? U : never;
|
|
1482
|
-
}, {
|
|
1483
|
-
intent: {
|
|
1484
|
-
scope: import("@mysten/bcs").EnumInputShape<{
|
|
1485
|
-
TransactionData: boolean | object | null;
|
|
1486
|
-
TransactionEffects: boolean | object | null;
|
|
1487
|
-
CheckpointSummary: boolean | object | null;
|
|
1488
|
-
PersonalMessage: boolean | object | null;
|
|
1489
|
-
}>;
|
|
1490
|
-
version: {
|
|
1491
|
-
V0: boolean | object | null;
|
|
1492
|
-
};
|
|
1493
|
-
appId: {
|
|
1494
|
-
Sui: boolean | object | null;
|
|
1495
|
-
};
|
|
1496
|
-
};
|
|
1497
|
-
value: T extends BcsType<any, infer U_1> ? U_1 : never;
|
|
1498
|
-
}>;
|
|
1499
|
-
export declare const CompressedSignature: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1500
|
-
ED25519: number[];
|
|
1501
|
-
Secp256k1: number[];
|
|
1502
|
-
Secp256r1: number[];
|
|
1503
|
-
ZkLogin: number[];
|
|
1504
|
-
Passkey: number[];
|
|
1505
|
-
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">, import("@mysten/bcs").EnumInputShape<{
|
|
1506
|
-
ED25519: Iterable<number> & {
|
|
1219
|
+
}, string>;
|
|
1220
|
+
owner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1221
|
+
price: BcsType<string, string | number | bigint, "u64">;
|
|
1222
|
+
budget: BcsType<string, string | number | bigint, "u64">;
|
|
1223
|
+
}, string>;
|
|
1224
|
+
expiration: import("@mysten/bcs").BcsEnum<{
|
|
1225
|
+
None: null;
|
|
1226
|
+
Epoch: BcsType<number, string | number, "u64">;
|
|
1227
|
+
}, "TransactionExpiration">;
|
|
1228
|
+
}, string>;
|
|
1229
|
+
}, "TransactionData">;
|
|
1230
|
+
export declare const IntentScope: import("@mysten/bcs").BcsEnum<{
|
|
1231
|
+
TransactionData: null;
|
|
1232
|
+
TransactionEffects: null;
|
|
1233
|
+
CheckpointSummary: null;
|
|
1234
|
+
PersonalMessage: null;
|
|
1235
|
+
}, "IntentScope">;
|
|
1236
|
+
export declare const IntentVersion: import("@mysten/bcs").BcsEnum<{
|
|
1237
|
+
V0: null;
|
|
1238
|
+
}, "IntentVersion">;
|
|
1239
|
+
export declare const AppId: import("@mysten/bcs").BcsEnum<{
|
|
1240
|
+
Sui: null;
|
|
1241
|
+
}, "AppId">;
|
|
1242
|
+
export declare const Intent: import("@mysten/bcs").BcsStruct<{
|
|
1243
|
+
scope: import("@mysten/bcs").BcsEnum<{
|
|
1244
|
+
TransactionData: null;
|
|
1245
|
+
TransactionEffects: null;
|
|
1246
|
+
CheckpointSummary: null;
|
|
1247
|
+
PersonalMessage: null;
|
|
1248
|
+
}, "IntentScope">;
|
|
1249
|
+
version: import("@mysten/bcs").BcsEnum<{
|
|
1250
|
+
V0: null;
|
|
1251
|
+
}, "IntentVersion">;
|
|
1252
|
+
appId: import("@mysten/bcs").BcsEnum<{
|
|
1253
|
+
Sui: null;
|
|
1254
|
+
}, "AppId">;
|
|
1255
|
+
}, string>;
|
|
1256
|
+
export declare function IntentMessage<T extends BcsType<any>>(T: T): import("@mysten/bcs").BcsStruct<{
|
|
1257
|
+
intent: import("@mysten/bcs").BcsStruct<{
|
|
1258
|
+
scope: import("@mysten/bcs").BcsEnum<{
|
|
1259
|
+
TransactionData: null;
|
|
1260
|
+
TransactionEffects: null;
|
|
1261
|
+
CheckpointSummary: null;
|
|
1262
|
+
PersonalMessage: null;
|
|
1263
|
+
}, "IntentScope">;
|
|
1264
|
+
version: import("@mysten/bcs").BcsEnum<{
|
|
1265
|
+
V0: null;
|
|
1266
|
+
}, "IntentVersion">;
|
|
1267
|
+
appId: import("@mysten/bcs").BcsEnum<{
|
|
1268
|
+
Sui: null;
|
|
1269
|
+
}, "AppId">;
|
|
1270
|
+
}, string>;
|
|
1271
|
+
value: T;
|
|
1272
|
+
}, string>;
|
|
1273
|
+
export declare const CompressedSignature: import("@mysten/bcs").BcsEnum<{
|
|
1274
|
+
ED25519: BcsType<number[], Iterable<number> & {
|
|
1507
1275
|
length: number;
|
|
1508
|
-
}
|
|
1509
|
-
Secp256k1: Iterable<number> & {
|
|
1276
|
+
}, string>;
|
|
1277
|
+
Secp256k1: BcsType<number[], Iterable<number> & {
|
|
1510
1278
|
length: number;
|
|
1511
|
-
}
|
|
1512
|
-
Secp256r1: Iterable<number> & {
|
|
1279
|
+
}, string>;
|
|
1280
|
+
Secp256r1: BcsType<number[], Iterable<number> & {
|
|
1513
1281
|
length: number;
|
|
1514
|
-
}
|
|
1515
|
-
ZkLogin: Iterable<number> & {
|
|
1282
|
+
}, string>;
|
|
1283
|
+
ZkLogin: BcsType<number[], Iterable<number> & {
|
|
1516
1284
|
length: number;
|
|
1517
|
-
}
|
|
1518
|
-
Passkey: Iterable<number> & {
|
|
1285
|
+
}, string>;
|
|
1286
|
+
Passkey: BcsType<number[], Iterable<number> & {
|
|
1519
1287
|
length: number;
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
export declare const PublicKey:
|
|
1523
|
-
ED25519: number[]
|
|
1524
|
-
Secp256k1: number[];
|
|
1525
|
-
Secp256r1: number[];
|
|
1526
|
-
ZkLogin: number[];
|
|
1527
|
-
Passkey: number[];
|
|
1528
|
-
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">, import("@mysten/bcs").EnumInputShape<{
|
|
1529
|
-
ED25519: Iterable<number> & {
|
|
1288
|
+
}, string>;
|
|
1289
|
+
}, "CompressedSignature">;
|
|
1290
|
+
export declare const PublicKey: import("@mysten/bcs").BcsEnum<{
|
|
1291
|
+
ED25519: BcsType<number[], Iterable<number> & {
|
|
1530
1292
|
length: number;
|
|
1531
|
-
}
|
|
1532
|
-
Secp256k1: Iterable<number> & {
|
|
1293
|
+
}, string>;
|
|
1294
|
+
Secp256k1: BcsType<number[], Iterable<number> & {
|
|
1533
1295
|
length: number;
|
|
1534
|
-
}
|
|
1535
|
-
Secp256r1: Iterable<number> & {
|
|
1296
|
+
}, string>;
|
|
1297
|
+
Secp256r1: BcsType<number[], Iterable<number> & {
|
|
1536
1298
|
length: number;
|
|
1537
|
-
}
|
|
1538
|
-
ZkLogin: Iterable<number> & {
|
|
1299
|
+
}, string>;
|
|
1300
|
+
ZkLogin: BcsType<number[], Iterable<number> & {
|
|
1539
1301
|
length: number;
|
|
1540
|
-
}
|
|
1541
|
-
Passkey: Iterable<number> & {
|
|
1302
|
+
}, string>;
|
|
1303
|
+
Passkey: BcsType<number[], Iterable<number> & {
|
|
1542
1304
|
length: number;
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
export declare const MultiSigPkMap:
|
|
1546
|
-
pubKey: import("@mysten/bcs").
|
|
1547
|
-
ED25519: number[]
|
|
1548
|
-
Secp256k1: number[];
|
|
1549
|
-
Secp256r1: number[];
|
|
1550
|
-
ZkLogin: number[];
|
|
1551
|
-
Passkey: number[];
|
|
1552
|
-
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">;
|
|
1553
|
-
weight: number;
|
|
1554
|
-
}, {
|
|
1555
|
-
pubKey: import("@mysten/bcs").EnumInputShape<{
|
|
1556
|
-
ED25519: Iterable<number> & {
|
|
1305
|
+
}, string>;
|
|
1306
|
+
}, "PublicKey">;
|
|
1307
|
+
export declare const MultiSigPkMap: import("@mysten/bcs").BcsStruct<{
|
|
1308
|
+
pubKey: import("@mysten/bcs").BcsEnum<{
|
|
1309
|
+
ED25519: BcsType<number[], Iterable<number> & {
|
|
1557
1310
|
length: number;
|
|
1558
|
-
}
|
|
1559
|
-
Secp256k1: Iterable<number> & {
|
|
1311
|
+
}, string>;
|
|
1312
|
+
Secp256k1: BcsType<number[], Iterable<number> & {
|
|
1560
1313
|
length: number;
|
|
1561
|
-
}
|
|
1562
|
-
Secp256r1: Iterable<number> & {
|
|
1314
|
+
}, string>;
|
|
1315
|
+
Secp256r1: BcsType<number[], Iterable<number> & {
|
|
1563
1316
|
length: number;
|
|
1564
|
-
}
|
|
1565
|
-
ZkLogin: Iterable<number> & {
|
|
1317
|
+
}, string>;
|
|
1318
|
+
ZkLogin: BcsType<number[], Iterable<number> & {
|
|
1566
1319
|
length: number;
|
|
1567
|
-
}
|
|
1568
|
-
Passkey: Iterable<number> & {
|
|
1320
|
+
}, string>;
|
|
1321
|
+
Passkey: BcsType<number[], Iterable<number> & {
|
|
1569
1322
|
length: number;
|
|
1570
|
-
}
|
|
1571
|
-
}>;
|
|
1572
|
-
weight: number
|
|
1573
|
-
}>;
|
|
1574
|
-
export declare const MultiSigPublicKey:
|
|
1575
|
-
pk_map: {
|
|
1323
|
+
}, string>;
|
|
1324
|
+
}, "PublicKey">;
|
|
1325
|
+
weight: BcsType<number, number, "u8">;
|
|
1326
|
+
}, string>;
|
|
1327
|
+
export declare const MultiSigPublicKey: import("@mysten/bcs").BcsStruct<{
|
|
1328
|
+
pk_map: BcsType<{
|
|
1576
1329
|
pubKey: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1577
1330
|
ED25519: number[];
|
|
1578
1331
|
Secp256k1: number[];
|
|
@@ -1581,10 +1334,7 @@ export declare const MultiSigPublicKey: BcsType<{
|
|
|
1581
1334
|
Passkey: number[];
|
|
1582
1335
|
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">;
|
|
1583
1336
|
weight: number;
|
|
1584
|
-
}[]
|
|
1585
|
-
threshold: number;
|
|
1586
|
-
}, {
|
|
1587
|
-
pk_map: Iterable<{
|
|
1337
|
+
}[], Iterable<{
|
|
1588
1338
|
pubKey: import("@mysten/bcs").EnumInputShape<{
|
|
1589
1339
|
ED25519: Iterable<number> & {
|
|
1590
1340
|
length: number;
|
|
@@ -1605,33 +1355,17 @@ export declare const MultiSigPublicKey: BcsType<{
|
|
|
1605
1355
|
weight: number;
|
|
1606
1356
|
}> & {
|
|
1607
1357
|
length: number;
|
|
1608
|
-
}
|
|
1609
|
-
threshold: number
|
|
1610
|
-
}>;
|
|
1611
|
-
export declare const MultiSig:
|
|
1612
|
-
sigs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1358
|
+
}, string>;
|
|
1359
|
+
threshold: BcsType<number, number, "u16">;
|
|
1360
|
+
}, string>;
|
|
1361
|
+
export declare const MultiSig: import("@mysten/bcs").BcsStruct<{
|
|
1362
|
+
sigs: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1613
1363
|
ED25519: number[];
|
|
1614
1364
|
Secp256k1: number[];
|
|
1615
1365
|
Secp256r1: number[];
|
|
1616
1366
|
ZkLogin: number[];
|
|
1617
1367
|
Passkey: number[];
|
|
1618
|
-
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">[]
|
|
1619
|
-
bitmap: number;
|
|
1620
|
-
multisig_pk: {
|
|
1621
|
-
pk_map: {
|
|
1622
|
-
pubKey: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1623
|
-
ED25519: number[];
|
|
1624
|
-
Secp256k1: number[];
|
|
1625
|
-
Secp256r1: number[];
|
|
1626
|
-
ZkLogin: number[];
|
|
1627
|
-
Passkey: number[];
|
|
1628
|
-
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">;
|
|
1629
|
-
weight: number;
|
|
1630
|
-
}[];
|
|
1631
|
-
threshold: number;
|
|
1632
|
-
};
|
|
1633
|
-
}, {
|
|
1634
|
-
sigs: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1368
|
+
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1635
1369
|
ED25519: Iterable<number> & {
|
|
1636
1370
|
length: number;
|
|
1637
1371
|
};
|
|
@@ -1649,10 +1383,19 @@ export declare const MultiSig: BcsType<{
|
|
|
1649
1383
|
};
|
|
1650
1384
|
}>> & {
|
|
1651
1385
|
length: number;
|
|
1652
|
-
}
|
|
1653
|
-
bitmap: number
|
|
1654
|
-
multisig_pk: {
|
|
1655
|
-
pk_map:
|
|
1386
|
+
}, string>;
|
|
1387
|
+
bitmap: BcsType<number, number, "u16">;
|
|
1388
|
+
multisig_pk: import("@mysten/bcs").BcsStruct<{
|
|
1389
|
+
pk_map: BcsType<{
|
|
1390
|
+
pubKey: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1391
|
+
ED25519: number[];
|
|
1392
|
+
Secp256k1: number[];
|
|
1393
|
+
Secp256r1: number[];
|
|
1394
|
+
ZkLogin: number[];
|
|
1395
|
+
Passkey: number[];
|
|
1396
|
+
}, "ED25519" | "Secp256k1" | "Secp256r1" | "ZkLogin" | "Passkey">;
|
|
1397
|
+
weight: number;
|
|
1398
|
+
}[], Iterable<{
|
|
1656
1399
|
pubKey: import("@mysten/bcs").EnumInputShape<{
|
|
1657
1400
|
ED25519: Iterable<number> & {
|
|
1658
1401
|
length: number;
|
|
@@ -1673,34 +1416,32 @@ export declare const MultiSig: BcsType<{
|
|
|
1673
1416
|
weight: number;
|
|
1674
1417
|
}> & {
|
|
1675
1418
|
length: number;
|
|
1676
|
-
}
|
|
1677
|
-
threshold: number
|
|
1678
|
-
}
|
|
1679
|
-
}>;
|
|
1680
|
-
export declare const base64String: BcsType<string, string | Uint8Array<ArrayBufferLike
|
|
1681
|
-
export declare const SenderSignedTransaction:
|
|
1682
|
-
intentMessage: {
|
|
1683
|
-
intent: {
|
|
1684
|
-
scope: import("@mysten/bcs").
|
|
1685
|
-
TransactionData:
|
|
1686
|
-
TransactionEffects:
|
|
1687
|
-
CheckpointSummary:
|
|
1688
|
-
PersonalMessage:
|
|
1689
|
-
}, "
|
|
1690
|
-
version: {
|
|
1691
|
-
V0:
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
ProgrammableTransaction: {
|
|
1703
|
-
inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1419
|
+
}, string>;
|
|
1420
|
+
threshold: BcsType<number, number, "u16">;
|
|
1421
|
+
}, string>;
|
|
1422
|
+
}, string>;
|
|
1423
|
+
export declare const base64String: BcsType<string, string | Uint8Array<ArrayBufferLike>, "vector<u8>">;
|
|
1424
|
+
export declare const SenderSignedTransaction: import("@mysten/bcs").BcsStruct<{
|
|
1425
|
+
intentMessage: import("@mysten/bcs").BcsStruct<{
|
|
1426
|
+
intent: import("@mysten/bcs").BcsStruct<{
|
|
1427
|
+
scope: import("@mysten/bcs").BcsEnum<{
|
|
1428
|
+
TransactionData: null;
|
|
1429
|
+
TransactionEffects: null;
|
|
1430
|
+
CheckpointSummary: null;
|
|
1431
|
+
PersonalMessage: null;
|
|
1432
|
+
}, "IntentScope">;
|
|
1433
|
+
version: import("@mysten/bcs").BcsEnum<{
|
|
1434
|
+
V0: null;
|
|
1435
|
+
}, "IntentVersion">;
|
|
1436
|
+
appId: import("@mysten/bcs").BcsEnum<{
|
|
1437
|
+
Sui: null;
|
|
1438
|
+
}, "AppId">;
|
|
1439
|
+
}, string>;
|
|
1440
|
+
value: import("@mysten/bcs").BcsEnum<{
|
|
1441
|
+
V1: import("@mysten/bcs").BcsStruct<{
|
|
1442
|
+
kind: import("@mysten/bcs").BcsEnum<{
|
|
1443
|
+
ProgrammableTransaction: import("@mysten/bcs").BcsStruct<{
|
|
1444
|
+
inputs: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1704
1445
|
Pure: {
|
|
1705
1446
|
bytes: string;
|
|
1706
1447
|
};
|
|
@@ -1721,8 +1462,31 @@ export declare const SenderSignedTransaction: BcsType<{
|
|
|
1721
1462
|
digest: string;
|
|
1722
1463
|
};
|
|
1723
1464
|
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
|
|
1724
|
-
}, "Pure" | "Object">[]
|
|
1725
|
-
|
|
1465
|
+
}, "Pure" | "Object">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1466
|
+
Pure: {
|
|
1467
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
1468
|
+
};
|
|
1469
|
+
Object: import("@mysten/bcs").EnumInputShape<{
|
|
1470
|
+
ImmOrOwnedObject: {
|
|
1471
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1472
|
+
version: string | number | bigint;
|
|
1473
|
+
digest: string;
|
|
1474
|
+
};
|
|
1475
|
+
SharedObject: {
|
|
1476
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1477
|
+
initialSharedVersion: string | number | bigint;
|
|
1478
|
+
mutable: boolean;
|
|
1479
|
+
};
|
|
1480
|
+
Receiving: {
|
|
1481
|
+
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1482
|
+
version: string | number | bigint;
|
|
1483
|
+
digest: string;
|
|
1484
|
+
};
|
|
1485
|
+
}>;
|
|
1486
|
+
}>> & {
|
|
1487
|
+
length: number;
|
|
1488
|
+
}, string>;
|
|
1489
|
+
commands: BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1726
1490
|
MoveCall: {
|
|
1727
1491
|
package: string;
|
|
1728
1492
|
module: string;
|
|
@@ -1801,77 +1565,7 @@ export declare const SenderSignedTransaction: BcsType<{
|
|
|
1801
1565
|
NestedResult: [number, number];
|
|
1802
1566
|
}, "GasCoin" | "Input" | "Result" | "NestedResult">;
|
|
1803
1567
|
};
|
|
1804
|
-
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[]
|
|
1805
|
-
};
|
|
1806
|
-
ChangeEpoch: true;
|
|
1807
|
-
Genesis: true;
|
|
1808
|
-
ConsensusCommitPrologue: true;
|
|
1809
|
-
}, "ProgrammableTransaction" | "ChangeEpoch" | "Genesis" | "ConsensusCommitPrologue">;
|
|
1810
|
-
sender: string;
|
|
1811
|
-
gasData: {
|
|
1812
|
-
payment: {
|
|
1813
|
-
objectId: string;
|
|
1814
|
-
version: string;
|
|
1815
|
-
digest: string;
|
|
1816
|
-
}[];
|
|
1817
|
-
owner: string;
|
|
1818
|
-
price: string;
|
|
1819
|
-
budget: string;
|
|
1820
|
-
};
|
|
1821
|
-
expiration: import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
1822
|
-
None: true;
|
|
1823
|
-
Epoch: number;
|
|
1824
|
-
}, "None" | "Epoch">;
|
|
1825
|
-
};
|
|
1826
|
-
$kind: "V1";
|
|
1827
|
-
};
|
|
1828
|
-
};
|
|
1829
|
-
txSignatures: string[];
|
|
1830
|
-
}, {
|
|
1831
|
-
intentMessage: {
|
|
1832
|
-
intent: {
|
|
1833
|
-
scope: import("@mysten/bcs").EnumInputShape<{
|
|
1834
|
-
TransactionData: boolean | object | null;
|
|
1835
|
-
TransactionEffects: boolean | object | null;
|
|
1836
|
-
CheckpointSummary: boolean | object | null;
|
|
1837
|
-
PersonalMessage: boolean | object | null;
|
|
1838
|
-
}>;
|
|
1839
|
-
version: {
|
|
1840
|
-
V0: boolean | object | null;
|
|
1841
|
-
};
|
|
1842
|
-
appId: {
|
|
1843
|
-
Sui: boolean | object | null;
|
|
1844
|
-
};
|
|
1845
|
-
};
|
|
1846
|
-
value: {
|
|
1847
|
-
V1: {
|
|
1848
|
-
kind: import("@mysten/bcs").EnumInputShape<{
|
|
1849
|
-
ProgrammableTransaction: {
|
|
1850
|
-
inputs: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1851
|
-
Pure: {
|
|
1852
|
-
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
1853
|
-
};
|
|
1854
|
-
Object: import("@mysten/bcs").EnumInputShape<{
|
|
1855
|
-
ImmOrOwnedObject: {
|
|
1856
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1857
|
-
version: string | number | bigint;
|
|
1858
|
-
digest: string;
|
|
1859
|
-
};
|
|
1860
|
-
SharedObject: {
|
|
1861
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1862
|
-
initialSharedVersion: string | number | bigint;
|
|
1863
|
-
mutable: boolean;
|
|
1864
|
-
};
|
|
1865
|
-
Receiving: {
|
|
1866
|
-
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1867
|
-
version: string | number | bigint;
|
|
1868
|
-
digest: string;
|
|
1869
|
-
};
|
|
1870
|
-
}>;
|
|
1871
|
-
}>> & {
|
|
1872
|
-
length: number;
|
|
1873
|
-
};
|
|
1874
|
-
commands: Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1568
|
+
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[], Iterable<import("@mysten/bcs").EnumInputShape<{
|
|
1875
1569
|
MoveCall: {
|
|
1876
1570
|
package: string | Uint8Array<ArrayBufferLike>;
|
|
1877
1571
|
module: string;
|
|
@@ -1972,36 +1666,40 @@ export declare const SenderSignedTransaction: BcsType<{
|
|
|
1972
1666
|
};
|
|
1973
1667
|
}>> & {
|
|
1974
1668
|
length: number;
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
ChangeEpoch:
|
|
1978
|
-
Genesis:
|
|
1979
|
-
ConsensusCommitPrologue:
|
|
1980
|
-
}>;
|
|
1981
|
-
sender: string | Uint8Array<ArrayBufferLike>;
|
|
1982
|
-
gasData: {
|
|
1983
|
-
payment:
|
|
1669
|
+
}, string>;
|
|
1670
|
+
}, string>;
|
|
1671
|
+
ChangeEpoch: null;
|
|
1672
|
+
Genesis: null;
|
|
1673
|
+
ConsensusCommitPrologue: null;
|
|
1674
|
+
}, "TransactionKind">;
|
|
1675
|
+
sender: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1676
|
+
gasData: import("@mysten/bcs").BcsStruct<{
|
|
1677
|
+
payment: BcsType<{
|
|
1678
|
+
objectId: string;
|
|
1679
|
+
version: string;
|
|
1680
|
+
digest: string;
|
|
1681
|
+
}[], Iterable<{
|
|
1984
1682
|
objectId: string | Uint8Array<ArrayBufferLike>;
|
|
1985
1683
|
version: string | number | bigint;
|
|
1986
1684
|
digest: string;
|
|
1987
1685
|
}> & {
|
|
1988
1686
|
length: number;
|
|
1989
|
-
}
|
|
1990
|
-
owner: string | Uint8Array<ArrayBufferLike>;
|
|
1991
|
-
price: string | number | bigint
|
|
1992
|
-
budget: string | number | bigint
|
|
1993
|
-
}
|
|
1994
|
-
expiration: import("@mysten/bcs").
|
|
1995
|
-
None:
|
|
1996
|
-
Epoch: string | number
|
|
1997
|
-
}>;
|
|
1998
|
-
}
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
txSignatures: Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
1687
|
+
}, string>;
|
|
1688
|
+
owner: BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1689
|
+
price: BcsType<string, string | number | bigint, "u64">;
|
|
1690
|
+
budget: BcsType<string, string | number | bigint, "u64">;
|
|
1691
|
+
}, string>;
|
|
1692
|
+
expiration: import("@mysten/bcs").BcsEnum<{
|
|
1693
|
+
None: null;
|
|
1694
|
+
Epoch: BcsType<number, string | number, "u64">;
|
|
1695
|
+
}, "TransactionExpiration">;
|
|
1696
|
+
}, string>;
|
|
1697
|
+
}, "TransactionData">;
|
|
1698
|
+
}, string>;
|
|
1699
|
+
txSignatures: BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
|
|
2002
1700
|
length: number;
|
|
2003
|
-
}
|
|
2004
|
-
}>;
|
|
1701
|
+
}, string>;
|
|
1702
|
+
}, string>;
|
|
2005
1703
|
export declare const SenderSignedData: BcsType<{
|
|
2006
1704
|
intentMessage: {
|
|
2007
1705
|
intent: {
|
|
@@ -2327,17 +2025,13 @@ export declare const SenderSignedData: BcsType<{
|
|
|
2327
2025
|
};
|
|
2328
2026
|
}> & {
|
|
2329
2027
|
length: number;
|
|
2330
|
-
}>;
|
|
2331
|
-
export declare const PasskeyAuthenticator:
|
|
2332
|
-
authenticatorData: number[]
|
|
2333
|
-
clientDataJson: string;
|
|
2334
|
-
userSignature: number[];
|
|
2335
|
-
}, {
|
|
2336
|
-
authenticatorData: Iterable<number> & {
|
|
2028
|
+
}, "SenderSignedData">;
|
|
2029
|
+
export declare const PasskeyAuthenticator: import("@mysten/bcs").BcsStruct<{
|
|
2030
|
+
authenticatorData: BcsType<number[], Iterable<number> & {
|
|
2337
2031
|
length: number;
|
|
2338
|
-
}
|
|
2339
|
-
clientDataJson: string
|
|
2340
|
-
userSignature: Iterable<number> & {
|
|
2032
|
+
}, string>;
|
|
2033
|
+
clientDataJson: BcsType<string, string, "string">;
|
|
2034
|
+
userSignature: BcsType<number[], Iterable<number> & {
|
|
2341
2035
|
length: number;
|
|
2342
|
-
}
|
|
2343
|
-
}>;
|
|
2036
|
+
}, string>;
|
|
2037
|
+
}, string>;
|