@mysten/sui 2.8.0 → 2.9.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.
@@ -1,245 +1,245 @@
1
1
  import { TypeTag } from "../../bcs/types.mjs";
2
2
  import "./internal.mjs";
3
3
  import "@mysten/bcs";
4
- import * as valibot49 from "valibot";
4
+ import * as valibot691 from "valibot";
5
5
  import { GenericSchema, InferOutput } from "valibot";
6
6
 
7
7
  //#region src/transactions/data/v1.d.ts
8
8
 
9
- declare const SerializedTransactionDataV1: valibot49.ObjectSchema<{
10
- readonly version: valibot49.LiteralSchema<1, undefined>;
11
- readonly sender: valibot49.OptionalSchema<valibot49.StringSchema<undefined>, undefined>;
12
- readonly expiration: valibot49.NullishSchema<valibot49.UnionSchema<[valibot49.ObjectSchema<{
13
- readonly Epoch: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
14
- }, undefined>, valibot49.ObjectSchema<{
15
- readonly None: valibot49.NullableSchema<valibot49.LiteralSchema<true, undefined>, undefined>;
9
+ declare const SerializedTransactionDataV1: valibot691.ObjectSchema<{
10
+ readonly version: valibot691.LiteralSchema<1, undefined>;
11
+ readonly sender: valibot691.OptionalSchema<valibot691.StringSchema<undefined>, undefined>;
12
+ readonly expiration: valibot691.NullishSchema<valibot691.UnionSchema<[valibot691.ObjectSchema<{
13
+ readonly Epoch: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
14
+ }, undefined>, valibot691.ObjectSchema<{
15
+ readonly None: valibot691.NullableSchema<valibot691.LiteralSchema<true, undefined>, undefined>;
16
16
  }, undefined>], undefined>, undefined>;
17
- readonly gasConfig: valibot49.ObjectSchema<{
18
- readonly budget: valibot49.OptionalSchema<valibot49.SchemaWithPipe<readonly [valibot49.UnionSchema<[valibot49.NumberSchema<undefined>, valibot49.StringSchema<undefined>, valibot49.BigintSchema<undefined>], undefined>, valibot49.CheckAction<string | number | bigint, undefined>]>, undefined>;
19
- readonly price: valibot49.OptionalSchema<valibot49.SchemaWithPipe<readonly [valibot49.UnionSchema<[valibot49.NumberSchema<undefined>, valibot49.StringSchema<undefined>, valibot49.BigintSchema<undefined>], undefined>, valibot49.CheckAction<string | number | bigint, undefined>]>, undefined>;
20
- readonly payment: valibot49.OptionalSchema<valibot49.ArraySchema<valibot49.ObjectSchema<{
21
- readonly digest: valibot49.StringSchema<undefined>;
22
- readonly objectId: valibot49.StringSchema<undefined>;
23
- readonly version: valibot49.UnionSchema<[valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>, valibot49.StringSchema<undefined>, valibot49.BigintSchema<undefined>], undefined>;
17
+ readonly gasConfig: valibot691.ObjectSchema<{
18
+ readonly budget: valibot691.OptionalSchema<valibot691.SchemaWithPipe<readonly [valibot691.UnionSchema<[valibot691.NumberSchema<undefined>, valibot691.StringSchema<undefined>, valibot691.BigintSchema<undefined>], undefined>, valibot691.CheckAction<string | number | bigint, undefined>]>, undefined>;
19
+ readonly price: valibot691.OptionalSchema<valibot691.SchemaWithPipe<readonly [valibot691.UnionSchema<[valibot691.NumberSchema<undefined>, valibot691.StringSchema<undefined>, valibot691.BigintSchema<undefined>], undefined>, valibot691.CheckAction<string | number | bigint, undefined>]>, undefined>;
20
+ readonly payment: valibot691.OptionalSchema<valibot691.ArraySchema<valibot691.ObjectSchema<{
21
+ readonly digest: valibot691.StringSchema<undefined>;
22
+ readonly objectId: valibot691.StringSchema<undefined>;
23
+ readonly version: valibot691.UnionSchema<[valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>, valibot691.StringSchema<undefined>, valibot691.BigintSchema<undefined>], undefined>;
24
24
  }, undefined>, undefined>, undefined>;
25
- readonly owner: valibot49.OptionalSchema<valibot49.StringSchema<undefined>, undefined>;
25
+ readonly owner: valibot691.OptionalSchema<valibot691.StringSchema<undefined>, undefined>;
26
26
  }, undefined>;
27
- readonly inputs: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.ObjectSchema<{
28
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
29
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
30
- readonly value: valibot49.UnknownSchema;
31
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
32
- }, undefined>, valibot49.ObjectSchema<{
33
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
34
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
35
- readonly value: valibot49.UnknownSchema;
36
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
27
+ readonly inputs: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.ObjectSchema<{
28
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
29
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
30
+ readonly value: valibot691.UnknownSchema;
31
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
32
+ }, undefined>, valibot691.ObjectSchema<{
33
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
34
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
35
+ readonly value: valibot691.UnknownSchema;
36
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
37
37
  }, undefined>], undefined>, undefined>;
38
- readonly transactions: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.ObjectSchema<{
39
- readonly kind: valibot49.LiteralSchema<"MoveCall", undefined>;
38
+ readonly transactions: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.ObjectSchema<{
39
+ readonly kind: valibot691.LiteralSchema<"MoveCall", undefined>;
40
40
  readonly target: GenericSchema<`${string}::${string}::${string}`>;
41
- readonly typeArguments: valibot49.ArraySchema<valibot49.StringSchema<undefined>, undefined>;
42
- readonly arguments: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
43
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
44
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
45
- readonly value: valibot49.UnknownSchema;
46
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
47
- }, undefined>, valibot49.ObjectSchema<{
48
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
49
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
50
- readonly value: valibot49.UnknownSchema;
51
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
52
- }, undefined>], undefined>, valibot49.ObjectSchema<{
53
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
54
- }, undefined>, valibot49.ObjectSchema<{
55
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
56
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
57
- }, undefined>, valibot49.ObjectSchema<{
58
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
59
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
60
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
41
+ readonly typeArguments: valibot691.ArraySchema<valibot691.StringSchema<undefined>, undefined>;
42
+ readonly arguments: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
43
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
44
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
45
+ readonly value: valibot691.UnknownSchema;
46
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
47
+ }, undefined>, valibot691.ObjectSchema<{
48
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
49
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
50
+ readonly value: valibot691.UnknownSchema;
51
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
52
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
53
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
54
+ }, undefined>, valibot691.ObjectSchema<{
55
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
56
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
57
+ }, undefined>, valibot691.ObjectSchema<{
58
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
59
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
60
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
61
61
  }, undefined>], undefined>, undefined>;
62
- }, undefined>, valibot49.ObjectSchema<{
63
- readonly kind: valibot49.LiteralSchema<"TransferObjects", undefined>;
64
- readonly objects: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
65
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
66
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
67
- readonly value: valibot49.UnknownSchema;
68
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
69
- }, undefined>, valibot49.ObjectSchema<{
70
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
71
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
72
- readonly value: valibot49.UnknownSchema;
73
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
74
- }, undefined>], undefined>, valibot49.ObjectSchema<{
75
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
76
- }, undefined>, valibot49.ObjectSchema<{
77
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
78
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
79
- }, undefined>, valibot49.ObjectSchema<{
80
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
81
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
82
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
62
+ }, undefined>, valibot691.ObjectSchema<{
63
+ readonly kind: valibot691.LiteralSchema<"TransferObjects", undefined>;
64
+ readonly objects: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
65
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
66
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
67
+ readonly value: valibot691.UnknownSchema;
68
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
69
+ }, undefined>, valibot691.ObjectSchema<{
70
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
71
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
72
+ readonly value: valibot691.UnknownSchema;
73
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
74
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
75
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
76
+ }, undefined>, valibot691.ObjectSchema<{
77
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
78
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
79
+ }, undefined>, valibot691.ObjectSchema<{
80
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
81
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
82
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
83
83
  }, undefined>], undefined>, undefined>;
84
- readonly address: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
85
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
86
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
87
- readonly value: valibot49.UnknownSchema;
88
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
89
- }, undefined>, valibot49.ObjectSchema<{
90
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
91
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
92
- readonly value: valibot49.UnknownSchema;
93
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
94
- }, undefined>], undefined>, valibot49.ObjectSchema<{
95
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
96
- }, undefined>, valibot49.ObjectSchema<{
97
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
98
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
99
- }, undefined>, valibot49.ObjectSchema<{
100
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
101
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
102
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
84
+ readonly address: valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
85
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
86
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
87
+ readonly value: valibot691.UnknownSchema;
88
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
89
+ }, undefined>, valibot691.ObjectSchema<{
90
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
91
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
92
+ readonly value: valibot691.UnknownSchema;
93
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
94
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
95
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
96
+ }, undefined>, valibot691.ObjectSchema<{
97
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
98
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
99
+ }, undefined>, valibot691.ObjectSchema<{
100
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
101
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
102
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
103
103
  }, undefined>], undefined>;
104
- }, undefined>, valibot49.ObjectSchema<{
105
- readonly kind: valibot49.LiteralSchema<"SplitCoins", undefined>;
106
- readonly coin: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
107
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
108
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
109
- readonly value: valibot49.UnknownSchema;
110
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
111
- }, undefined>, valibot49.ObjectSchema<{
112
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
113
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
114
- readonly value: valibot49.UnknownSchema;
115
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
116
- }, undefined>], undefined>, valibot49.ObjectSchema<{
117
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
118
- }, undefined>, valibot49.ObjectSchema<{
119
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
120
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
121
- }, undefined>, valibot49.ObjectSchema<{
122
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
123
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
124
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
104
+ }, undefined>, valibot691.ObjectSchema<{
105
+ readonly kind: valibot691.LiteralSchema<"SplitCoins", undefined>;
106
+ readonly coin: valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
107
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
108
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
109
+ readonly value: valibot691.UnknownSchema;
110
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
111
+ }, undefined>, valibot691.ObjectSchema<{
112
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
113
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
114
+ readonly value: valibot691.UnknownSchema;
115
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
116
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
117
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
118
+ }, undefined>, valibot691.ObjectSchema<{
119
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
120
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
121
+ }, undefined>, valibot691.ObjectSchema<{
122
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
123
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
124
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
125
125
  }, undefined>], undefined>;
126
- readonly amounts: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
127
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
128
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
129
- readonly value: valibot49.UnknownSchema;
130
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
131
- }, undefined>, valibot49.ObjectSchema<{
132
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
133
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
134
- readonly value: valibot49.UnknownSchema;
135
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
136
- }, undefined>], undefined>, valibot49.ObjectSchema<{
137
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
138
- }, undefined>, valibot49.ObjectSchema<{
139
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
140
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
141
- }, undefined>, valibot49.ObjectSchema<{
142
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
143
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
144
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
126
+ readonly amounts: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
127
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
128
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
129
+ readonly value: valibot691.UnknownSchema;
130
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
131
+ }, undefined>, valibot691.ObjectSchema<{
132
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
133
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
134
+ readonly value: valibot691.UnknownSchema;
135
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
136
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
137
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
138
+ }, undefined>, valibot691.ObjectSchema<{
139
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
140
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
141
+ }, undefined>, valibot691.ObjectSchema<{
142
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
143
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
144
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
145
145
  }, undefined>], undefined>, undefined>;
146
- }, undefined>, valibot49.ObjectSchema<{
147
- readonly kind: valibot49.LiteralSchema<"MergeCoins", undefined>;
148
- readonly destination: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
149
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
150
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
151
- readonly value: valibot49.UnknownSchema;
152
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
153
- }, undefined>, valibot49.ObjectSchema<{
154
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
155
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
156
- readonly value: valibot49.UnknownSchema;
157
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
158
- }, undefined>], undefined>, valibot49.ObjectSchema<{
159
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
160
- }, undefined>, valibot49.ObjectSchema<{
161
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
162
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
163
- }, undefined>, valibot49.ObjectSchema<{
164
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
165
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
166
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
146
+ }, undefined>, valibot691.ObjectSchema<{
147
+ readonly kind: valibot691.LiteralSchema<"MergeCoins", undefined>;
148
+ readonly destination: valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
149
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
150
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
151
+ readonly value: valibot691.UnknownSchema;
152
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
153
+ }, undefined>, valibot691.ObjectSchema<{
154
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
155
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
156
+ readonly value: valibot691.UnknownSchema;
157
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
158
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
159
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
160
+ }, undefined>, valibot691.ObjectSchema<{
161
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
162
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
163
+ }, undefined>, valibot691.ObjectSchema<{
164
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
165
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
166
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
167
167
  }, undefined>], undefined>;
168
- readonly sources: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
169
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
170
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
171
- readonly value: valibot49.UnknownSchema;
172
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
173
- }, undefined>, valibot49.ObjectSchema<{
174
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
175
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
176
- readonly value: valibot49.UnknownSchema;
177
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
178
- }, undefined>], undefined>, valibot49.ObjectSchema<{
179
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
180
- }, undefined>, valibot49.ObjectSchema<{
181
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
182
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
183
- }, undefined>, valibot49.ObjectSchema<{
184
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
185
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
186
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
168
+ readonly sources: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
169
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
170
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
171
+ readonly value: valibot691.UnknownSchema;
172
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
173
+ }, undefined>, valibot691.ObjectSchema<{
174
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
175
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
176
+ readonly value: valibot691.UnknownSchema;
177
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
178
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
179
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
180
+ }, undefined>, valibot691.ObjectSchema<{
181
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
182
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
183
+ }, undefined>, valibot691.ObjectSchema<{
184
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
185
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
186
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
187
187
  }, undefined>], undefined>, undefined>;
188
- }, undefined>, valibot49.ObjectSchema<{
189
- readonly kind: valibot49.LiteralSchema<"Publish", undefined>;
190
- readonly modules: valibot49.ArraySchema<valibot49.ArraySchema<valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>, undefined>, undefined>;
191
- readonly dependencies: valibot49.ArraySchema<valibot49.StringSchema<undefined>, undefined>;
192
- }, undefined>, valibot49.ObjectSchema<{
193
- readonly kind: valibot49.LiteralSchema<"Upgrade", undefined>;
194
- readonly modules: valibot49.ArraySchema<valibot49.ArraySchema<valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>, undefined>, undefined>;
195
- readonly dependencies: valibot49.ArraySchema<valibot49.StringSchema<undefined>, undefined>;
196
- readonly packageId: valibot49.StringSchema<undefined>;
197
- readonly ticket: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
198
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
199
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
200
- readonly value: valibot49.UnknownSchema;
201
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
202
- }, undefined>, valibot49.ObjectSchema<{
203
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
204
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
205
- readonly value: valibot49.UnknownSchema;
206
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
207
- }, undefined>], undefined>, valibot49.ObjectSchema<{
208
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
209
- }, undefined>, valibot49.ObjectSchema<{
210
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
211
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
212
- }, undefined>, valibot49.ObjectSchema<{
213
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
214
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
215
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
188
+ }, undefined>, valibot691.ObjectSchema<{
189
+ readonly kind: valibot691.LiteralSchema<"Publish", undefined>;
190
+ readonly modules: valibot691.ArraySchema<valibot691.ArraySchema<valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>, undefined>, undefined>;
191
+ readonly dependencies: valibot691.ArraySchema<valibot691.StringSchema<undefined>, undefined>;
192
+ }, undefined>, valibot691.ObjectSchema<{
193
+ readonly kind: valibot691.LiteralSchema<"Upgrade", undefined>;
194
+ readonly modules: valibot691.ArraySchema<valibot691.ArraySchema<valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>, undefined>, undefined>;
195
+ readonly dependencies: valibot691.ArraySchema<valibot691.StringSchema<undefined>, undefined>;
196
+ readonly packageId: valibot691.StringSchema<undefined>;
197
+ readonly ticket: valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
198
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
199
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
200
+ readonly value: valibot691.UnknownSchema;
201
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
202
+ }, undefined>, valibot691.ObjectSchema<{
203
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
204
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
205
+ readonly value: valibot691.UnknownSchema;
206
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
207
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
208
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
209
+ }, undefined>, valibot691.ObjectSchema<{
210
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
211
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
212
+ }, undefined>, valibot691.ObjectSchema<{
213
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
214
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
215
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
216
216
  }, undefined>], undefined>;
217
- }, undefined>, valibot49.ObjectSchema<{
218
- readonly kind: valibot49.LiteralSchema<"MakeMoveVec", undefined>;
219
- readonly type: valibot49.UnionSchema<[valibot49.ObjectSchema<{
217
+ }, undefined>, valibot691.ObjectSchema<{
218
+ readonly kind: valibot691.LiteralSchema<"MakeMoveVec", undefined>;
219
+ readonly type: valibot691.UnionSchema<[valibot691.ObjectSchema<{
220
220
  readonly Some: GenericSchema<TypeTag>;
221
- }, undefined>, valibot49.ObjectSchema<{
222
- readonly None: valibot49.NullableSchema<valibot49.LiteralSchema<true, undefined>, undefined>;
221
+ }, undefined>, valibot691.ObjectSchema<{
222
+ readonly None: valibot691.NullableSchema<valibot691.LiteralSchema<true, undefined>, undefined>;
223
223
  }, undefined>], undefined>;
224
- readonly objects: valibot49.ArraySchema<valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{
225
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
226
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
227
- readonly value: valibot49.UnknownSchema;
228
- readonly type: valibot49.OptionalSchema<valibot49.LiteralSchema<"object", undefined>, undefined>;
229
- }, undefined>, valibot49.ObjectSchema<{
230
- readonly kind: valibot49.LiteralSchema<"Input", undefined>;
231
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
232
- readonly value: valibot49.UnknownSchema;
233
- readonly type: valibot49.LiteralSchema<"pure", undefined>;
234
- }, undefined>], undefined>, valibot49.ObjectSchema<{
235
- readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>;
236
- }, undefined>, valibot49.ObjectSchema<{
237
- readonly kind: valibot49.LiteralSchema<"Result", undefined>;
238
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
239
- }, undefined>, valibot49.ObjectSchema<{
240
- readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>;
241
- readonly index: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
242
- readonly resultIndex: valibot49.SchemaWithPipe<readonly [valibot49.NumberSchema<undefined>, valibot49.IntegerAction<number, undefined>]>;
224
+ readonly objects: valibot691.ArraySchema<valibot691.UnionSchema<[valibot691.UnionSchema<[valibot691.ObjectSchema<{
225
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
226
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
227
+ readonly value: valibot691.UnknownSchema;
228
+ readonly type: valibot691.OptionalSchema<valibot691.LiteralSchema<"object", undefined>, undefined>;
229
+ }, undefined>, valibot691.ObjectSchema<{
230
+ readonly kind: valibot691.LiteralSchema<"Input", undefined>;
231
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
232
+ readonly value: valibot691.UnknownSchema;
233
+ readonly type: valibot691.LiteralSchema<"pure", undefined>;
234
+ }, undefined>], undefined>, valibot691.ObjectSchema<{
235
+ readonly kind: valibot691.LiteralSchema<"GasCoin", undefined>;
236
+ }, undefined>, valibot691.ObjectSchema<{
237
+ readonly kind: valibot691.LiteralSchema<"Result", undefined>;
238
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
239
+ }, undefined>, valibot691.ObjectSchema<{
240
+ readonly kind: valibot691.LiteralSchema<"NestedResult", undefined>;
241
+ readonly index: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
242
+ readonly resultIndex: valibot691.SchemaWithPipe<readonly [valibot691.NumberSchema<undefined>, valibot691.IntegerAction<number, undefined>]>;
243
243
  }, undefined>], undefined>, undefined>;
244
244
  }, undefined>], undefined>, undefined>;
245
245
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.mts","names":[],"sources":["../../../src/transactions/data/v1.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA6La,uCAA2B;oBAOtC,SAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA9DI;kDAAa,SAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgEP,2BAAA,GAA8B,mBAAmB"}
1
+ {"version":3,"file":"v1.d.mts","names":[],"sources":["../../../src/transactions/data/v1.ts"],"sourcesContent":[],"mappings":";;;;;;;;cA6La,wCAA2B;oBAOtC,UAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA9DI;mDAAa,UAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgEP,2BAAA,GAA8B,mBAAmB"}
@@ -9,7 +9,8 @@ declare const SUI_SYSTEM_MODULE_NAME = "sui_system";
9
9
  declare const SUI_TYPE_ARG = "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
10
10
  declare const SUI_SYSTEM_STATE_OBJECT_ID = "0x0000000000000000000000000000000000000000000000000000000000000005";
11
11
  declare const SUI_RANDOM_OBJECT_ID = "0x0000000000000000000000000000000000000000000000000000000000000008";
12
+ declare const SUI_COIN_REGISTRY_OBJECT_ID = "0x000000000000000000000000000000000000000000000000000000000000000c";
12
13
  declare const SUI_DENY_LIST_OBJECT_ID = "0x0000000000000000000000000000000000000000000000000000000000000403";
13
14
  //#endregion
14
- export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG };
15
+ export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG };
15
16
  //# sourceMappingURL=constants.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.mts","names":[],"sources":["../../src/utils/constants.ts"],"sourcesContent":[],"mappings":";cAGa,YAAA;AAAA,cACA,YADY,EAAA,MAAA;AACZ,cAEA,mBAAA,GAFiC,oEAAA;AAEjC,cAEA,qBAAA,GAFmB,oEAAA;AAEnB,cAEA,kBAAA,GAFqB,oEAAA;AAErB,cAEA,mBAAA,GAFkB,oEAAA;AAElB,cAEA,sBAAA,GAFmB,YAAA;AAEnB,cACA,YAAA,GADsB,8EAAA;AACtB,cACA,0BAAA,GADY,oEAAA;AACZ,cAEA,oBAAA,GAF0B,oEAAA;AAE1B,cAEA,uBAAA,GAFoB,oEAAA"}
1
+ {"version":3,"file":"constants.d.mts","names":[],"sources":["../../src/utils/constants.ts"],"sourcesContent":[],"mappings":";cAGa,YAAA;AAAA,cACA,YADY,EAAA,MAAA;AACZ,cAEA,mBAAA,GAFiC,oEAAA;AAEjC,cAEA,qBAAA,GAFmB,oEAAA;AAEnB,cAEA,kBAAA,GAFqB,oEAAA;AAErB,cAEA,mBAAA,GAFkB,oEAAA;AAElB,cAEA,sBAAA,GAFmB,YAAA;AAEnB,cACA,YAAA,GADsB,8EAAA;AACtB,cACA,0BAAA,GADY,oEAAA;AACZ,cAEA,oBAAA,GAF0B,oEAAA;AAE1B,cAEA,2BAAA,GAFoB,oEAAA;AAEpB,cAEA,uBAAA,GAF2B,oEAAA"}
@@ -9,8 +9,9 @@ const SUI_SYSTEM_MODULE_NAME = "sui_system";
9
9
  const SUI_TYPE_ARG = `${SUI_FRAMEWORK_ADDRESS}::sui::SUI`;
10
10
  const SUI_SYSTEM_STATE_OBJECT_ID = "0x0000000000000000000000000000000000000000000000000000000000000005";
11
11
  const SUI_RANDOM_OBJECT_ID = "0x0000000000000000000000000000000000000000000000000000000000000008";
12
+ const SUI_COIN_REGISTRY_OBJECT_ID = "0x000000000000000000000000000000000000000000000000000000000000000c";
12
13
  const SUI_DENY_LIST_OBJECT_ID = "0x0000000000000000000000000000000000000000000000000000000000000403";
13
14
 
14
15
  //#endregion
15
- export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG };
16
+ export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG };
16
17
  //# sourceMappingURL=constants.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","names":[],"sources":["../../src/utils/constants.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport const SUI_DECIMALS = 9;\nexport const MIST_PER_SUI = BigInt(1000000000);\n\nexport const MOVE_STDLIB_ADDRESS =\n\t'0x0000000000000000000000000000000000000000000000000000000000000001';\nexport const SUI_FRAMEWORK_ADDRESS =\n\t'0x0000000000000000000000000000000000000000000000000000000000000002';\nexport const SUI_SYSTEM_ADDRESS =\n\t'0x0000000000000000000000000000000000000000000000000000000000000003';\nexport const SUI_CLOCK_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000006';\nexport const SUI_SYSTEM_MODULE_NAME = 'sui_system';\nexport const SUI_TYPE_ARG = `${SUI_FRAMEWORK_ADDRESS}::sui::SUI`;\nexport const SUI_SYSTEM_STATE_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000005';\nexport const SUI_RANDOM_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000008';\nexport const SUI_DENY_LIST_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000403';\n"],"mappings":";AAGA,MAAa,eAAe;AAC5B,MAAa,eAAe,OAAO,IAAW;AAE9C,MAAa,sBACZ;AACD,MAAa,wBACZ;AACD,MAAa,qBACZ;AACD,MAAa,sBACZ;AACD,MAAa,yBAAyB;AACtC,MAAa,eAAe,GAAG,sBAAsB;AACrD,MAAa,6BACZ;AACD,MAAa,uBACZ;AACD,MAAa,0BACZ"}
1
+ {"version":3,"file":"constants.mjs","names":[],"sources":["../../src/utils/constants.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nexport const SUI_DECIMALS = 9;\nexport const MIST_PER_SUI = BigInt(1000000000);\n\nexport const MOVE_STDLIB_ADDRESS =\n\t'0x0000000000000000000000000000000000000000000000000000000000000001';\nexport const SUI_FRAMEWORK_ADDRESS =\n\t'0x0000000000000000000000000000000000000000000000000000000000000002';\nexport const SUI_SYSTEM_ADDRESS =\n\t'0x0000000000000000000000000000000000000000000000000000000000000003';\nexport const SUI_CLOCK_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000006';\nexport const SUI_SYSTEM_MODULE_NAME = 'sui_system';\nexport const SUI_TYPE_ARG = `${SUI_FRAMEWORK_ADDRESS}::sui::SUI`;\nexport const SUI_SYSTEM_STATE_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000005';\nexport const SUI_RANDOM_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000008';\nexport const SUI_COIN_REGISTRY_OBJECT_ID =\n\t'0x000000000000000000000000000000000000000000000000000000000000000c';\nexport const SUI_DENY_LIST_OBJECT_ID =\n\t'0x0000000000000000000000000000000000000000000000000000000000000403';\n"],"mappings":";AAGA,MAAa,eAAe;AAC5B,MAAa,eAAe,OAAO,IAAW;AAE9C,MAAa,sBACZ;AACD,MAAa,wBACZ;AACD,MAAa,qBACZ;AACD,MAAa,sBACZ;AACD,MAAa,yBAAyB;AACtC,MAAa,eAAe,GAAG,sBAAsB;AACrD,MAAa,6BACZ;AACD,MAAa,uBACZ;AACD,MAAa,8BACZ;AACD,MAAa,0BACZ"}
@@ -2,9 +2,9 @@ import { normalizeTypeTag } from "../bcs/type-tag-serializer.mjs";
2
2
  import { SUI_ADDRESS_LENGTH, isValidStructTag, isValidSuiAddress, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiObjectId, parseStructTag } from "./sui-types.mjs";
3
3
  import { formatAddress, formatDigest } from "./format.mjs";
4
4
  import { isValidSuiNSName, normalizeSuiNSName } from "./suins.mjs";
5
- import { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG } from "./constants.mjs";
5
+ import { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG } from "./constants.mjs";
6
6
  import { isValidNamedPackage, isValidNamedType } from "./move-registry.mjs";
7
7
  import { deriveDynamicFieldID } from "./dynamic-fields.mjs";
8
8
  import { deriveObjectID } from "./derived-objects.mjs";
9
9
  import { fromBase58, fromBase64, fromHex, toBase58, toBase64, toHex } from "@mysten/bcs";
10
- export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_ADDRESS_LENGTH, SUI_CLOCK_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG, deriveDynamicFieldID, deriveObjectID, formatAddress, formatDigest, fromBase58, fromBase64, fromHex, isValidNamedPackage, isValidNamedType, isValidStructTag, isValidSuiAddress, isValidSuiNSName, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiNSName, normalizeSuiObjectId, normalizeTypeTag, parseStructTag, toBase58, toBase64, toHex };
10
+ export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_ADDRESS_LENGTH, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG, deriveDynamicFieldID, deriveObjectID, formatAddress, formatDigest, fromBase58, fromBase64, fromHex, isValidNamedPackage, isValidNamedType, isValidStructTag, isValidSuiAddress, isValidSuiNSName, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiNSName, normalizeSuiObjectId, normalizeTypeTag, parseStructTag, toBase58, toBase64, toHex };
@@ -3,9 +3,9 @@ import { isValidNamedPackage, isValidNamedType } from "./move-registry.mjs";
3
3
  import { SUI_ADDRESS_LENGTH, isValidStructTag, isValidSuiAddress, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiObjectId, parseStructTag } from "./sui-types.mjs";
4
4
  import { normalizeTypeTag } from "../bcs/type-tag-serializer.mjs";
5
5
  import { deriveDynamicFieldID } from "./dynamic-fields.mjs";
6
- import { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG } from "./constants.mjs";
6
+ import { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG } from "./constants.mjs";
7
7
  import { formatAddress, formatDigest } from "./format.mjs";
8
8
  import { deriveObjectID } from "./derived-objects.mjs";
9
9
  import { fromBase58, fromBase64, fromHex, toBase58, toBase64, toHex } from "@mysten/bcs";
10
10
 
11
- export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_ADDRESS_LENGTH, SUI_CLOCK_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG, deriveDynamicFieldID, deriveObjectID, formatAddress, formatDigest, fromBase58, fromBase64, fromHex, isValidNamedPackage, isValidNamedType, isValidStructTag, isValidSuiAddress, isValidSuiNSName, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiNSName, normalizeSuiObjectId, normalizeTypeTag, parseStructTag, toBase58, toBase64, toHex };
11
+ export { MIST_PER_SUI, MOVE_STDLIB_ADDRESS, SUI_ADDRESS_LENGTH, SUI_CLOCK_OBJECT_ID, SUI_COIN_REGISTRY_OBJECT_ID, SUI_DECIMALS, SUI_DENY_LIST_OBJECT_ID, SUI_FRAMEWORK_ADDRESS, SUI_RANDOM_OBJECT_ID, SUI_SYSTEM_ADDRESS, SUI_SYSTEM_MODULE_NAME, SUI_SYSTEM_STATE_OBJECT_ID, SUI_TYPE_ARG, deriveDynamicFieldID, deriveObjectID, formatAddress, formatDigest, fromBase58, fromBase64, fromHex, isValidNamedPackage, isValidNamedType, isValidStructTag, isValidSuiAddress, isValidSuiNSName, isValidSuiObjectId, isValidTransactionDigest, normalizeStructTag, normalizeSuiAddress, normalizeSuiNSName, normalizeSuiObjectId, normalizeTypeTag, parseStructTag, toBase58, toBase64, toHex };
package/dist/version.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/version.ts
2
- const PACKAGE_VERSION = "2.8.0";
2
+ const PACKAGE_VERSION = "2.9.1";
3
3
  const TARGETED_RPC_VERSION = "1.69.0";
4
4
 
5
5
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '2.8.0';\nexport const TARGETED_RPC_VERSION = '1.69.0';\n"],"mappings":";AAKA,MAAa,kBAAkB;AAC/B,MAAa,uBAAuB"}
1
+ {"version":3,"file":"version.mjs","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '2.9.1';\nexport const TARGETED_RPC_VERSION = '1.69.0';\n"],"mappings":";AAKA,MAAa,kBAAkB;AAC/B,MAAa,uBAAuB"}