@mysten/sui 1.45.0 → 1.45.2
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 +12 -0
- package/dist/cjs/transactions/Arguments.d.ts +2 -2
- package/dist/cjs/transactions/Transaction.d.ts +88 -88
- package/dist/cjs/transactions/Transaction.js +1 -0
- package/dist/cjs/transactions/Transaction.js.map +2 -2
- package/dist/cjs/transactions/TransactionData.d.ts +6 -6
- package/dist/cjs/transactions/data/internal.d.ts +107 -105
- package/dist/cjs/transactions/data/internal.js +6 -4
- package/dist/cjs/transactions/data/internal.js.map +2 -2
- package/dist/cjs/transactions/data/v1.d.ts +95 -92
- package/dist/cjs/transactions/data/v2.d.ts +15 -147
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +2 -2
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/transactions/Arguments.d.ts +2 -2
- package/dist/esm/transactions/Transaction.d.ts +88 -88
- package/dist/esm/transactions/Transaction.js +1 -0
- package/dist/esm/transactions/Transaction.js.map +2 -2
- package/dist/esm/transactions/TransactionData.d.ts +6 -6
- package/dist/esm/transactions/data/internal.d.ts +107 -105
- package/dist/esm/transactions/data/internal.js +6 -4
- package/dist/esm/transactions/data/internal.js.map +2 -2
- package/dist/esm/transactions/data/v1.d.ts +95 -92
- package/dist/esm/transactions/data/v2.d.ts +15 -147
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +2 -2
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/transactions/Transaction.ts +1 -0
- package/src/transactions/data/internal.ts +21 -14
- package/src/version.ts +2 -2
|
@@ -15,24 +15,24 @@ export declare class TransactionDataBuilder implements TransactionData {
|
|
|
15
15
|
*/
|
|
16
16
|
static getDigestFromBytes(bytes: Uint8Array): string;
|
|
17
17
|
get gasConfig(): {
|
|
18
|
+
budget: string | number | null;
|
|
19
|
+
price: string | number | null;
|
|
18
20
|
owner: string | null;
|
|
19
21
|
payment: {
|
|
20
|
-
version: string | number;
|
|
21
22
|
objectId: string;
|
|
23
|
+
version: string | number;
|
|
22
24
|
digest: string;
|
|
23
25
|
}[] | null;
|
|
24
|
-
price: string | number | null;
|
|
25
|
-
budget: string | number | null;
|
|
26
26
|
};
|
|
27
27
|
set gasConfig(value: {
|
|
28
|
+
budget: string | number | null;
|
|
29
|
+
price: string | number | null;
|
|
28
30
|
owner: string | null;
|
|
29
31
|
payment: {
|
|
30
|
-
version: string | number;
|
|
31
32
|
objectId: string;
|
|
33
|
+
version: string | number;
|
|
32
34
|
digest: string;
|
|
33
35
|
}[] | null;
|
|
34
|
-
price: string | number | null;
|
|
35
|
-
budget: string | number | null;
|
|
36
36
|
});
|
|
37
37
|
version: 2;
|
|
38
38
|
sender: string | null;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import type { EnumInputShape, EnumOutputShape } from '@mysten/bcs';
|
|
2
2
|
import type { GenericSchema, InferInput, InferOutput } from 'valibot';
|
|
3
3
|
import type { Simplify } from '@mysten/utils';
|
|
4
|
-
type
|
|
4
|
+
type EnumSchemaInput<T extends Record<string, GenericSchema<any>>> = EnumInputShape<Simplify<{
|
|
5
5
|
[K in keyof T]: InferInput<T[K]>;
|
|
6
|
-
}
|
|
6
|
+
}>>;
|
|
7
|
+
type EnumSchemaOutput<T extends Record<string, GenericSchema<any>>> = EnumOutputShape<Simplify<{
|
|
7
8
|
[K in keyof T]: InferOutput<T[K]>;
|
|
8
|
-
}
|
|
9
|
+
}>>;
|
|
10
|
+
type EnumSchema<T extends Record<string, GenericSchema<any>>> = GenericSchema<EnumSchemaInput<T>, EnumSchemaOutput<T>>;
|
|
9
11
|
export declare function safeEnum<T extends Record<string, GenericSchema<any>>>(options: T): EnumSchema<T>;
|
|
10
|
-
export declare const SuiAddress: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
11
|
-
export declare const ObjectID: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
12
|
+
export declare const SuiAddress: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
13
|
+
export declare const ObjectID: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
12
14
|
export declare const BCSBytes: import("valibot").StringSchema<undefined>;
|
|
13
|
-
export declare const JsonU64: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
15
|
+
export declare const JsonU64: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
14
16
|
export declare const ObjectRefSchema: import("valibot").ObjectSchema<{
|
|
15
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
16
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
17
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
18
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
17
19
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
18
20
|
}, undefined>;
|
|
19
21
|
export type ObjectRef = InferOutput<typeof ObjectRefSchema>;
|
|
@@ -46,14 +48,14 @@ export declare const ArgumentSchema: GenericSchema<{
|
|
|
46
48
|
}>;
|
|
47
49
|
export type Argument = InferOutput<typeof ArgumentSchema>;
|
|
48
50
|
export declare const GasDataSchema: import("valibot").ObjectSchema<{
|
|
49
|
-
readonly budget: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
50
|
-
readonly price: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
51
|
-
readonly owner: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>,
|
|
51
|
+
readonly budget: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
52
|
+
readonly price: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
53
|
+
readonly owner: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
52
54
|
readonly payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
53
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
54
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
55
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
56
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
55
57
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
56
|
-
}, undefined>, undefined>,
|
|
58
|
+
}, undefined>, undefined>, undefined>;
|
|
57
59
|
}, undefined>;
|
|
58
60
|
export type GasData = InferOutput<typeof GasDataSchema>;
|
|
59
61
|
export declare const StructTagSchema: import("valibot").ObjectSchema<{
|
|
@@ -77,12 +79,12 @@ export type OpenMoveTypeSignatureBody = 'address' | 'bool' | 'u8' | 'u16' | 'u32
|
|
|
77
79
|
};
|
|
78
80
|
export declare const OpenMoveTypeSignatureBodySchema: GenericSchema<OpenMoveTypeSignatureBody>;
|
|
79
81
|
export declare const OpenMoveTypeSignatureSchema: import("valibot").ObjectSchema<{
|
|
80
|
-
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>,
|
|
81
|
-
readonly body: GenericSchema<OpenMoveTypeSignatureBody
|
|
82
|
+
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, undefined>;
|
|
83
|
+
readonly body: GenericSchema<OpenMoveTypeSignatureBody>;
|
|
82
84
|
}, undefined>;
|
|
83
85
|
export type OpenMoveTypeSignature = InferOutput<typeof OpenMoveTypeSignatureSchema>;
|
|
84
86
|
declare const ProgrammableMoveCallSchema: import("valibot").ObjectSchema<{
|
|
85
|
-
readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
87
|
+
readonly package: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
86
88
|
readonly module: import("valibot").StringSchema<undefined>;
|
|
87
89
|
readonly function: import("valibot").StringSchema<undefined>;
|
|
88
90
|
readonly typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -112,11 +114,11 @@ declare const ProgrammableMoveCallSchema: import("valibot").ObjectSchema<{
|
|
|
112
114
|
} | {
|
|
113
115
|
$kind: "NestedResult";
|
|
114
116
|
NestedResult: [number, number];
|
|
115
|
-
}
|
|
117
|
+
}>, undefined>;
|
|
116
118
|
readonly _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
117
|
-
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>,
|
|
118
|
-
readonly body: GenericSchema<OpenMoveTypeSignatureBody
|
|
119
|
-
}, undefined>, undefined>,
|
|
119
|
+
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, undefined>;
|
|
120
|
+
readonly body: GenericSchema<OpenMoveTypeSignatureBody>;
|
|
121
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
120
122
|
}, undefined>;
|
|
121
123
|
export type ProgrammableMoveCall = InferOutput<typeof ProgrammableMoveCallSchema>;
|
|
122
124
|
export declare const $Intent: import("valibot").ObjectSchema<{
|
|
@@ -147,7 +149,7 @@ export declare const $Intent: import("valibot").ObjectSchema<{
|
|
|
147
149
|
} | {
|
|
148
150
|
$kind: "NestedResult";
|
|
149
151
|
NestedResult: [number, number];
|
|
150
|
-
}
|
|
152
|
+
}>, import("valibot").ArraySchema<GenericSchema<{
|
|
151
153
|
GasCoin: true;
|
|
152
154
|
} | {
|
|
153
155
|
Input: number;
|
|
@@ -173,12 +175,12 @@ export declare const $Intent: import("valibot").ObjectSchema<{
|
|
|
173
175
|
} | {
|
|
174
176
|
$kind: "NestedResult";
|
|
175
177
|
NestedResult: [number, number];
|
|
176
|
-
}
|
|
178
|
+
}>, undefined>], undefined>, undefined>;
|
|
177
179
|
readonly data: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnknownSchema, undefined>;
|
|
178
180
|
}, undefined>;
|
|
179
181
|
export declare const CommandSchema: EnumSchema<{
|
|
180
182
|
MoveCall: import("valibot").ObjectSchema<{
|
|
181
|
-
readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
183
|
+
readonly package: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
182
184
|
readonly module: import("valibot").StringSchema<undefined>;
|
|
183
185
|
readonly function: import("valibot").StringSchema<undefined>;
|
|
184
186
|
readonly typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -208,11 +210,11 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
208
210
|
} | {
|
|
209
211
|
$kind: "NestedResult";
|
|
210
212
|
NestedResult: [number, number];
|
|
211
|
-
}
|
|
213
|
+
}>, undefined>;
|
|
212
214
|
readonly _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
213
|
-
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>,
|
|
214
|
-
readonly body: GenericSchema<OpenMoveTypeSignatureBody
|
|
215
|
-
}, undefined>, undefined>,
|
|
215
|
+
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, undefined>;
|
|
216
|
+
readonly body: GenericSchema<OpenMoveTypeSignatureBody>;
|
|
217
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
216
218
|
}, undefined>;
|
|
217
219
|
TransferObjects: import("valibot").ObjectSchema<{
|
|
218
220
|
readonly objects: import("valibot").ArraySchema<GenericSchema<{
|
|
@@ -241,7 +243,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
241
243
|
} | {
|
|
242
244
|
$kind: "NestedResult";
|
|
243
245
|
NestedResult: [number, number];
|
|
244
|
-
}
|
|
246
|
+
}>, undefined>;
|
|
245
247
|
readonly address: GenericSchema<{
|
|
246
248
|
GasCoin: true;
|
|
247
249
|
} | {
|
|
@@ -268,7 +270,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
268
270
|
} | {
|
|
269
271
|
$kind: "NestedResult";
|
|
270
272
|
NestedResult: [number, number];
|
|
271
|
-
}
|
|
273
|
+
}>;
|
|
272
274
|
}, undefined>;
|
|
273
275
|
SplitCoins: import("valibot").ObjectSchema<{
|
|
274
276
|
readonly coin: GenericSchema<{
|
|
@@ -297,7 +299,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
297
299
|
} | {
|
|
298
300
|
$kind: "NestedResult";
|
|
299
301
|
NestedResult: [number, number];
|
|
300
|
-
}
|
|
302
|
+
}>;
|
|
301
303
|
readonly amounts: import("valibot").ArraySchema<GenericSchema<{
|
|
302
304
|
GasCoin: true;
|
|
303
305
|
} | {
|
|
@@ -324,7 +326,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
324
326
|
} | {
|
|
325
327
|
$kind: "NestedResult";
|
|
326
328
|
NestedResult: [number, number];
|
|
327
|
-
}
|
|
329
|
+
}>, undefined>;
|
|
328
330
|
}, undefined>;
|
|
329
331
|
MergeCoins: import("valibot").ObjectSchema<{
|
|
330
332
|
readonly destination: GenericSchema<{
|
|
@@ -353,7 +355,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
353
355
|
} | {
|
|
354
356
|
$kind: "NestedResult";
|
|
355
357
|
NestedResult: [number, number];
|
|
356
|
-
}
|
|
358
|
+
}>;
|
|
357
359
|
readonly sources: import("valibot").ArraySchema<GenericSchema<{
|
|
358
360
|
GasCoin: true;
|
|
359
361
|
} | {
|
|
@@ -380,14 +382,14 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
380
382
|
} | {
|
|
381
383
|
$kind: "NestedResult";
|
|
382
384
|
NestedResult: [number, number];
|
|
383
|
-
}
|
|
385
|
+
}>, undefined>;
|
|
384
386
|
}, undefined>;
|
|
385
387
|
Publish: import("valibot").ObjectSchema<{
|
|
386
388
|
readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
387
|
-
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
389
|
+
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
388
390
|
}, undefined>;
|
|
389
391
|
MakeMoveVec: import("valibot").ObjectSchema<{
|
|
390
|
-
readonly type: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>,
|
|
392
|
+
readonly type: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
391
393
|
readonly elements: import("valibot").ArraySchema<GenericSchema<{
|
|
392
394
|
GasCoin: true;
|
|
393
395
|
} | {
|
|
@@ -414,12 +416,12 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
414
416
|
} | {
|
|
415
417
|
$kind: "NestedResult";
|
|
416
418
|
NestedResult: [number, number];
|
|
417
|
-
}
|
|
419
|
+
}>, undefined>;
|
|
418
420
|
}, undefined>;
|
|
419
421
|
Upgrade: import("valibot").ObjectSchema<{
|
|
420
422
|
readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
421
|
-
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
422
|
-
readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
423
|
+
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
424
|
+
readonly package: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
423
425
|
readonly ticket: GenericSchema<{
|
|
424
426
|
GasCoin: true;
|
|
425
427
|
} | {
|
|
@@ -446,7 +448,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
446
448
|
} | {
|
|
447
449
|
$kind: "NestedResult";
|
|
448
450
|
NestedResult: [number, number];
|
|
449
|
-
}
|
|
451
|
+
}>;
|
|
450
452
|
}, undefined>;
|
|
451
453
|
$Intent: import("valibot").ObjectSchema<{
|
|
452
454
|
readonly name: import("valibot").StringSchema<undefined>;
|
|
@@ -476,7 +478,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
476
478
|
} | {
|
|
477
479
|
$kind: "NestedResult";
|
|
478
480
|
NestedResult: [number, number];
|
|
479
|
-
}
|
|
481
|
+
}>, import("valibot").ArraySchema<GenericSchema<{
|
|
480
482
|
GasCoin: true;
|
|
481
483
|
} | {
|
|
482
484
|
Input: number;
|
|
@@ -502,7 +504,7 @@ export declare const CommandSchema: EnumSchema<{
|
|
|
502
504
|
} | {
|
|
503
505
|
$kind: "NestedResult";
|
|
504
506
|
NestedResult: [number, number];
|
|
505
|
-
}
|
|
507
|
+
}>, undefined>], undefined>, undefined>;
|
|
506
508
|
readonly data: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnknownSchema, undefined>;
|
|
507
509
|
}, undefined>;
|
|
508
510
|
}>;
|
|
@@ -549,36 +551,36 @@ export type Command<Arg = Argument> = EnumOutputShape<{
|
|
|
549
551
|
}>;
|
|
550
552
|
export declare const ObjectArgSchema: EnumSchema<{
|
|
551
553
|
ImmOrOwnedObject: import("valibot").ObjectSchema<{
|
|
552
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
553
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
554
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
555
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
554
556
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
555
557
|
}, undefined>;
|
|
556
558
|
SharedObject: import("valibot").ObjectSchema<{
|
|
557
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
558
|
-
readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
559
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
560
|
+
readonly initialSharedVersion: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
559
561
|
readonly mutable: import("valibot").BooleanSchema<undefined>;
|
|
560
562
|
}, undefined>;
|
|
561
563
|
Receiving: import("valibot").ObjectSchema<{
|
|
562
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
563
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
564
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
565
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
564
566
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
565
567
|
}, undefined>;
|
|
566
568
|
}>;
|
|
567
569
|
declare const CallArgSchema: EnumSchema<{
|
|
568
570
|
Object: EnumSchema<{
|
|
569
571
|
ImmOrOwnedObject: import("valibot").ObjectSchema<{
|
|
570
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
571
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
572
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
573
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
572
574
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
573
575
|
}, undefined>;
|
|
574
576
|
SharedObject: import("valibot").ObjectSchema<{
|
|
575
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
576
|
-
readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
577
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
578
|
+
readonly initialSharedVersion: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
577
579
|
readonly mutable: import("valibot").BooleanSchema<undefined>;
|
|
578
580
|
}, undefined>;
|
|
579
581
|
Receiving: import("valibot").ObjectSchema<{
|
|
580
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
581
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
582
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
583
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
582
584
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
583
585
|
}, undefined>;
|
|
584
586
|
}>;
|
|
@@ -589,29 +591,29 @@ declare const CallArgSchema: EnumSchema<{
|
|
|
589
591
|
readonly value: import("valibot").UnknownSchema;
|
|
590
592
|
}, undefined>;
|
|
591
593
|
UnresolvedObject: import("valibot").ObjectSchema<{
|
|
592
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
593
|
-
readonly version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
594
|
-
readonly digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>,
|
|
595
|
-
readonly initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
596
|
-
readonly mutable: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").BooleanSchema<undefined>,
|
|
594
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
595
|
+
readonly version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
596
|
+
readonly digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
597
|
+
readonly initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
598
|
+
readonly mutable: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
597
599
|
}, undefined>;
|
|
598
600
|
}>;
|
|
599
601
|
export type CallArg = InferOutput<typeof CallArgSchema>;
|
|
600
602
|
export declare const NormalizedCallArg: EnumSchema<{
|
|
601
603
|
Object: EnumSchema<{
|
|
602
604
|
ImmOrOwnedObject: import("valibot").ObjectSchema<{
|
|
603
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
604
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
605
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
606
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
605
607
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
606
608
|
}, undefined>;
|
|
607
609
|
SharedObject: import("valibot").ObjectSchema<{
|
|
608
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
609
|
-
readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
610
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
611
|
+
readonly initialSharedVersion: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
610
612
|
readonly mutable: import("valibot").BooleanSchema<undefined>;
|
|
611
613
|
}, undefined>;
|
|
612
614
|
Receiving: import("valibot").ObjectSchema<{
|
|
613
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
614
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
615
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
616
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
615
617
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
616
618
|
}, undefined>;
|
|
617
619
|
}>;
|
|
@@ -621,41 +623,41 @@ export declare const NormalizedCallArg: EnumSchema<{
|
|
|
621
623
|
}>;
|
|
622
624
|
export declare const TransactionExpiration: EnumSchema<{
|
|
623
625
|
None: import("valibot").LiteralSchema<true, undefined>;
|
|
624
|
-
Epoch: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
626
|
+
Epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
625
627
|
}>;
|
|
626
628
|
export type TransactionExpiration = InferOutput<typeof TransactionExpiration>;
|
|
627
629
|
export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
628
630
|
readonly version: import("valibot").LiteralSchema<2, undefined>;
|
|
629
|
-
readonly sender: import("valibot").NullishSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>,
|
|
631
|
+
readonly sender: import("valibot").NullishSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
630
632
|
readonly expiration: import("valibot").NullishSchema<EnumSchema<{
|
|
631
633
|
None: import("valibot").LiteralSchema<true, undefined>;
|
|
632
|
-
Epoch: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
633
|
-
}>,
|
|
634
|
+
Epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
635
|
+
}>, undefined>;
|
|
634
636
|
readonly gasData: import("valibot").ObjectSchema<{
|
|
635
|
-
readonly budget: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
636
|
-
readonly price: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
637
|
-
readonly owner: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>,
|
|
637
|
+
readonly budget: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
638
|
+
readonly price: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
639
|
+
readonly owner: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
638
640
|
readonly payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
639
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
640
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
641
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
642
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
641
643
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
642
|
-
}, undefined>, undefined>,
|
|
644
|
+
}, undefined>, undefined>, undefined>;
|
|
643
645
|
}, undefined>;
|
|
644
646
|
readonly inputs: import("valibot").ArraySchema<EnumSchema<{
|
|
645
647
|
Object: EnumSchema<{
|
|
646
648
|
ImmOrOwnedObject: import("valibot").ObjectSchema<{
|
|
647
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
648
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
649
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
650
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
649
651
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
650
652
|
}, undefined>;
|
|
651
653
|
SharedObject: import("valibot").ObjectSchema<{
|
|
652
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
653
|
-
readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
654
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
655
|
+
readonly initialSharedVersion: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
654
656
|
readonly mutable: import("valibot").BooleanSchema<undefined>;
|
|
655
657
|
}, undefined>;
|
|
656
658
|
Receiving: import("valibot").ObjectSchema<{
|
|
657
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
658
|
-
readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
659
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
660
|
+
readonly version: import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
|
|
659
661
|
readonly digest: import("valibot").StringSchema<undefined>;
|
|
660
662
|
}, undefined>;
|
|
661
663
|
}>;
|
|
@@ -666,16 +668,16 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
666
668
|
readonly value: import("valibot").UnknownSchema;
|
|
667
669
|
}, undefined>;
|
|
668
670
|
UnresolvedObject: import("valibot").ObjectSchema<{
|
|
669
|
-
readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
670
|
-
readonly version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
671
|
-
readonly digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>,
|
|
672
|
-
readonly initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>,
|
|
673
|
-
readonly mutable: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").BooleanSchema<undefined>,
|
|
671
|
+
readonly objectId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
672
|
+
readonly version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
673
|
+
readonly digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
674
|
+
readonly initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
675
|
+
readonly mutable: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
674
676
|
}, undefined>;
|
|
675
677
|
}>, undefined>;
|
|
676
678
|
readonly commands: import("valibot").ArraySchema<EnumSchema<{
|
|
677
679
|
MoveCall: import("valibot").ObjectSchema<{
|
|
678
|
-
readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
680
|
+
readonly package: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
679
681
|
readonly module: import("valibot").StringSchema<undefined>;
|
|
680
682
|
readonly function: import("valibot").StringSchema<undefined>;
|
|
681
683
|
readonly typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -705,11 +707,11 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
705
707
|
} | {
|
|
706
708
|
$kind: "NestedResult";
|
|
707
709
|
NestedResult: [number, number];
|
|
708
|
-
}
|
|
710
|
+
}>, undefined>;
|
|
709
711
|
readonly _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
710
|
-
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>,
|
|
711
|
-
readonly body: GenericSchema<OpenMoveTypeSignatureBody
|
|
712
|
-
}, undefined>, undefined>,
|
|
712
|
+
readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, undefined>;
|
|
713
|
+
readonly body: GenericSchema<OpenMoveTypeSignatureBody>;
|
|
714
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
713
715
|
}, undefined>;
|
|
714
716
|
TransferObjects: import("valibot").ObjectSchema<{
|
|
715
717
|
readonly objects: import("valibot").ArraySchema<GenericSchema<{
|
|
@@ -738,7 +740,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
738
740
|
} | {
|
|
739
741
|
$kind: "NestedResult";
|
|
740
742
|
NestedResult: [number, number];
|
|
741
|
-
}
|
|
743
|
+
}>, undefined>;
|
|
742
744
|
readonly address: GenericSchema<{
|
|
743
745
|
GasCoin: true;
|
|
744
746
|
} | {
|
|
@@ -765,7 +767,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
765
767
|
} | {
|
|
766
768
|
$kind: "NestedResult";
|
|
767
769
|
NestedResult: [number, number];
|
|
768
|
-
}
|
|
770
|
+
}>;
|
|
769
771
|
}, undefined>;
|
|
770
772
|
SplitCoins: import("valibot").ObjectSchema<{
|
|
771
773
|
readonly coin: GenericSchema<{
|
|
@@ -794,7 +796,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
794
796
|
} | {
|
|
795
797
|
$kind: "NestedResult";
|
|
796
798
|
NestedResult: [number, number];
|
|
797
|
-
}
|
|
799
|
+
}>;
|
|
798
800
|
readonly amounts: import("valibot").ArraySchema<GenericSchema<{
|
|
799
801
|
GasCoin: true;
|
|
800
802
|
} | {
|
|
@@ -821,7 +823,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
821
823
|
} | {
|
|
822
824
|
$kind: "NestedResult";
|
|
823
825
|
NestedResult: [number, number];
|
|
824
|
-
}
|
|
826
|
+
}>, undefined>;
|
|
825
827
|
}, undefined>;
|
|
826
828
|
MergeCoins: import("valibot").ObjectSchema<{
|
|
827
829
|
readonly destination: GenericSchema<{
|
|
@@ -850,7 +852,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
850
852
|
} | {
|
|
851
853
|
$kind: "NestedResult";
|
|
852
854
|
NestedResult: [number, number];
|
|
853
|
-
}
|
|
855
|
+
}>;
|
|
854
856
|
readonly sources: import("valibot").ArraySchema<GenericSchema<{
|
|
855
857
|
GasCoin: true;
|
|
856
858
|
} | {
|
|
@@ -877,14 +879,14 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
877
879
|
} | {
|
|
878
880
|
$kind: "NestedResult";
|
|
879
881
|
NestedResult: [number, number];
|
|
880
|
-
}
|
|
882
|
+
}>, undefined>;
|
|
881
883
|
}, undefined>;
|
|
882
884
|
Publish: import("valibot").ObjectSchema<{
|
|
883
885
|
readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
884
|
-
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
886
|
+
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
885
887
|
}, undefined>;
|
|
886
888
|
MakeMoveVec: import("valibot").ObjectSchema<{
|
|
887
|
-
readonly type: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>,
|
|
889
|
+
readonly type: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
888
890
|
readonly elements: import("valibot").ArraySchema<GenericSchema<{
|
|
889
891
|
GasCoin: true;
|
|
890
892
|
} | {
|
|
@@ -911,12 +913,12 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
911
913
|
} | {
|
|
912
914
|
$kind: "NestedResult";
|
|
913
915
|
NestedResult: [number, number];
|
|
914
|
-
}
|
|
916
|
+
}>, undefined>;
|
|
915
917
|
}, undefined>;
|
|
916
918
|
Upgrade: import("valibot").ObjectSchema<{
|
|
917
919
|
readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
918
|
-
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
919
|
-
readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
920
|
+
readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
|
|
921
|
+
readonly package: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
|
|
920
922
|
readonly ticket: GenericSchema<{
|
|
921
923
|
GasCoin: true;
|
|
922
924
|
} | {
|
|
@@ -943,7 +945,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
943
945
|
} | {
|
|
944
946
|
$kind: "NestedResult";
|
|
945
947
|
NestedResult: [number, number];
|
|
946
|
-
}
|
|
948
|
+
}>;
|
|
947
949
|
}, undefined>;
|
|
948
950
|
$Intent: import("valibot").ObjectSchema<{
|
|
949
951
|
readonly name: import("valibot").StringSchema<undefined>;
|
|
@@ -973,7 +975,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
973
975
|
} | {
|
|
974
976
|
$kind: "NestedResult";
|
|
975
977
|
NestedResult: [number, number];
|
|
976
|
-
}
|
|
978
|
+
}>, import("valibot").ArraySchema<GenericSchema<{
|
|
977
979
|
GasCoin: true;
|
|
978
980
|
} | {
|
|
979
981
|
Input: number;
|
|
@@ -999,7 +1001,7 @@ export declare const TransactionDataSchema: import("valibot").ObjectSchema<{
|
|
|
999
1001
|
} | {
|
|
1000
1002
|
$kind: "NestedResult";
|
|
1001
1003
|
NestedResult: [number, number];
|
|
1002
|
-
}
|
|
1004
|
+
}>, undefined>], undefined>, undefined>;
|
|
1003
1005
|
readonly data: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnknownSchema, undefined>;
|
|
1004
1006
|
}, undefined>;
|
|
1005
1007
|
}>, undefined>;
|