@openzeppelin/contracts-mcp 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cairo/schemas.d.ts +45 -187
- package/dist/cairo/schemas.d.ts.map +1 -1
- package/dist/confidential/schemas.d.ts +2 -14
- package/dist/confidential/schemas.d.ts.map +1 -1
- package/dist/solidity/schemas.d.ts +9 -63
- package/dist/solidity/schemas.d.ts.map +1 -1
- package/dist/stellar/schemas.d.ts +4 -28
- package/dist/stellar/schemas.d.ts.map +1 -1
- package/dist/stylus/schemas.d.ts +4 -28
- package/dist/stylus/schemas.d.ts.map +1 -1
- package/dist/uniswap-hooks/schemas.d.ts +26 -65
- package/dist/uniswap-hooks/schemas.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/cairo/schemas.d.ts
CHANGED
|
@@ -5,35 +5,15 @@ export declare const commonSchema: {
|
|
|
5
5
|
darInitialDelay: z.ZodString;
|
|
6
6
|
darDefaultDelayIncrease: z.ZodString;
|
|
7
7
|
darMaxTransferDelay: z.ZodString;
|
|
8
|
-
},
|
|
9
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
10
|
-
darInitialDelay: string;
|
|
11
|
-
darDefaultDelayIncrease: string;
|
|
12
|
-
darMaxTransferDelay: string;
|
|
13
|
-
}, {
|
|
14
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
15
|
-
darInitialDelay: string;
|
|
16
|
-
darDefaultDelayIncrease: string;
|
|
17
|
-
darMaxTransferDelay: string;
|
|
18
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
19
9
|
readonly upgradeable: z.ZodOptional<z.ZodBoolean>;
|
|
20
10
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
21
11
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
22
12
|
license: z.ZodOptional<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
securityContact?: string | undefined;
|
|
25
|
-
license?: string | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
securityContact?: string | undefined;
|
|
28
|
-
license?: string | undefined;
|
|
29
|
-
}>>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
30
14
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
31
15
|
withComponents: z.ZodBoolean;
|
|
32
|
-
},
|
|
33
|
-
withComponents: boolean;
|
|
34
|
-
}, {
|
|
35
|
-
withComponents: boolean;
|
|
36
|
-
}>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
37
17
|
};
|
|
38
18
|
export declare const erc20Schema: {
|
|
39
19
|
readonly access: z.ZodObject<{
|
|
@@ -41,35 +21,15 @@ export declare const erc20Schema: {
|
|
|
41
21
|
darInitialDelay: z.ZodString;
|
|
42
22
|
darDefaultDelayIncrease: z.ZodString;
|
|
43
23
|
darMaxTransferDelay: z.ZodString;
|
|
44
|
-
},
|
|
45
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
46
|
-
darInitialDelay: string;
|
|
47
|
-
darDefaultDelayIncrease: string;
|
|
48
|
-
darMaxTransferDelay: string;
|
|
49
|
-
}, {
|
|
50
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
51
|
-
darInitialDelay: string;
|
|
52
|
-
darDefaultDelayIncrease: string;
|
|
53
|
-
darMaxTransferDelay: string;
|
|
54
|
-
}>;
|
|
24
|
+
}, z.core.$strip>;
|
|
55
25
|
readonly upgradeable: z.ZodOptional<z.ZodBoolean>;
|
|
56
26
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
57
27
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
58
28
|
license: z.ZodOptional<z.ZodString>;
|
|
59
|
-
},
|
|
60
|
-
securityContact?: string | undefined;
|
|
61
|
-
license?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
securityContact?: string | undefined;
|
|
64
|
-
license?: string | undefined;
|
|
65
|
-
}>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
66
30
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
67
31
|
withComponents: z.ZodBoolean;
|
|
68
|
-
},
|
|
69
|
-
withComponents: boolean;
|
|
70
|
-
}, {
|
|
71
|
-
withComponents: boolean;
|
|
72
|
-
}>>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
73
33
|
readonly name: z.ZodString;
|
|
74
34
|
readonly symbol: z.ZodString;
|
|
75
35
|
readonly decimals: z.ZodOptional<z.ZodString>;
|
|
@@ -87,35 +47,15 @@ export declare const erc721Schema: {
|
|
|
87
47
|
darInitialDelay: z.ZodString;
|
|
88
48
|
darDefaultDelayIncrease: z.ZodString;
|
|
89
49
|
darMaxTransferDelay: z.ZodString;
|
|
90
|
-
},
|
|
91
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
92
|
-
darInitialDelay: string;
|
|
93
|
-
darDefaultDelayIncrease: string;
|
|
94
|
-
darMaxTransferDelay: string;
|
|
95
|
-
}, {
|
|
96
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
97
|
-
darInitialDelay: string;
|
|
98
|
-
darDefaultDelayIncrease: string;
|
|
99
|
-
darMaxTransferDelay: string;
|
|
100
|
-
}>;
|
|
50
|
+
}, z.core.$strip>;
|
|
101
51
|
readonly upgradeable: z.ZodOptional<z.ZodBoolean>;
|
|
102
52
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
103
53
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
104
54
|
license: z.ZodOptional<z.ZodString>;
|
|
105
|
-
},
|
|
106
|
-
securityContact?: string | undefined;
|
|
107
|
-
license?: string | undefined;
|
|
108
|
-
}, {
|
|
109
|
-
securityContact?: string | undefined;
|
|
110
|
-
license?: string | undefined;
|
|
111
|
-
}>>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
112
56
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
113
57
|
withComponents: z.ZodBoolean;
|
|
114
|
-
},
|
|
115
|
-
withComponents: boolean;
|
|
116
|
-
}, {
|
|
117
|
-
withComponents: boolean;
|
|
118
|
-
}>>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
119
59
|
readonly name: z.ZodString;
|
|
120
60
|
readonly symbol: z.ZodString;
|
|
121
61
|
readonly baseUri: z.ZodOptional<z.ZodString>;
|
|
@@ -128,15 +68,7 @@ export declare const erc721Schema: {
|
|
|
128
68
|
enabled: z.ZodBoolean;
|
|
129
69
|
defaultRoyaltyFraction: z.ZodString;
|
|
130
70
|
feeDenominator: z.ZodString;
|
|
131
|
-
},
|
|
132
|
-
enabled: boolean;
|
|
133
|
-
defaultRoyaltyFraction: string;
|
|
134
|
-
feeDenominator: string;
|
|
135
|
-
}, {
|
|
136
|
-
enabled: boolean;
|
|
137
|
-
defaultRoyaltyFraction: string;
|
|
138
|
-
feeDenominator: string;
|
|
139
|
-
}>>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
140
72
|
readonly appName: z.ZodOptional<z.ZodString>;
|
|
141
73
|
readonly appVersion: z.ZodOptional<z.ZodString>;
|
|
142
74
|
};
|
|
@@ -146,35 +78,15 @@ export declare const erc1155Schema: {
|
|
|
146
78
|
darInitialDelay: z.ZodString;
|
|
147
79
|
darDefaultDelayIncrease: z.ZodString;
|
|
148
80
|
darMaxTransferDelay: z.ZodString;
|
|
149
|
-
},
|
|
150
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
151
|
-
darInitialDelay: string;
|
|
152
|
-
darDefaultDelayIncrease: string;
|
|
153
|
-
darMaxTransferDelay: string;
|
|
154
|
-
}, {
|
|
155
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
156
|
-
darInitialDelay: string;
|
|
157
|
-
darDefaultDelayIncrease: string;
|
|
158
|
-
darMaxTransferDelay: string;
|
|
159
|
-
}>;
|
|
81
|
+
}, z.core.$strip>;
|
|
160
82
|
readonly upgradeable: z.ZodOptional<z.ZodBoolean>;
|
|
161
83
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
162
84
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
163
85
|
license: z.ZodOptional<z.ZodString>;
|
|
164
|
-
},
|
|
165
|
-
securityContact?: string | undefined;
|
|
166
|
-
license?: string | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
securityContact?: string | undefined;
|
|
169
|
-
license?: string | undefined;
|
|
170
|
-
}>>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
171
87
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
172
88
|
withComponents: z.ZodBoolean;
|
|
173
|
-
},
|
|
174
|
-
withComponents: boolean;
|
|
175
|
-
}, {
|
|
176
|
-
withComponents: boolean;
|
|
177
|
-
}>>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
178
90
|
readonly name: z.ZodString;
|
|
179
91
|
readonly baseUri: z.ZodString;
|
|
180
92
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -185,19 +97,14 @@ export declare const erc1155Schema: {
|
|
|
185
97
|
enabled: z.ZodBoolean;
|
|
186
98
|
defaultRoyaltyFraction: z.ZodString;
|
|
187
99
|
feeDenominator: z.ZodString;
|
|
188
|
-
},
|
|
189
|
-
enabled: boolean;
|
|
190
|
-
defaultRoyaltyFraction: string;
|
|
191
|
-
feeDenominator: string;
|
|
192
|
-
}, {
|
|
193
|
-
enabled: boolean;
|
|
194
|
-
defaultRoyaltyFraction: string;
|
|
195
|
-
feeDenominator: string;
|
|
196
|
-
}>>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
197
101
|
};
|
|
198
102
|
export declare const accountSchema: {
|
|
199
103
|
readonly name: z.ZodString;
|
|
200
|
-
readonly type: z.ZodEnum<
|
|
104
|
+
readonly type: z.ZodEnum<{
|
|
105
|
+
stark: "stark";
|
|
106
|
+
eth: "eth";
|
|
107
|
+
}>;
|
|
201
108
|
readonly declare: z.ZodOptional<z.ZodBoolean>;
|
|
202
109
|
readonly deploy: z.ZodOptional<z.ZodBoolean>;
|
|
203
110
|
readonly pubkey: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -206,20 +113,10 @@ export declare const accountSchema: {
|
|
|
206
113
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
207
114
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
208
115
|
license: z.ZodOptional<z.ZodString>;
|
|
209
|
-
},
|
|
210
|
-
securityContact?: string | undefined;
|
|
211
|
-
license?: string | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
securityContact?: string | undefined;
|
|
214
|
-
license?: string | undefined;
|
|
215
|
-
}>>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
216
117
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
217
118
|
withComponents: z.ZodBoolean;
|
|
218
|
-
},
|
|
219
|
-
withComponents: boolean;
|
|
220
|
-
}, {
|
|
221
|
-
withComponents: boolean;
|
|
222
|
-
}>>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
223
120
|
};
|
|
224
121
|
export declare const multisigSchema: {
|
|
225
122
|
readonly name: z.ZodString;
|
|
@@ -228,31 +125,29 @@ export declare const multisigSchema: {
|
|
|
228
125
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
229
126
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
230
127
|
license: z.ZodOptional<z.ZodString>;
|
|
231
|
-
},
|
|
232
|
-
securityContact?: string | undefined;
|
|
233
|
-
license?: string | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
securityContact?: string | undefined;
|
|
236
|
-
license?: string | undefined;
|
|
237
|
-
}>>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
238
129
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
239
130
|
withComponents: z.ZodBoolean;
|
|
240
|
-
},
|
|
241
|
-
withComponents: boolean;
|
|
242
|
-
}, {
|
|
243
|
-
withComponents: boolean;
|
|
244
|
-
}>>;
|
|
131
|
+
}, z.core.$strip>>;
|
|
245
132
|
};
|
|
246
133
|
export declare const governorSchema: {
|
|
247
134
|
readonly name: z.ZodString;
|
|
248
135
|
readonly delay: z.ZodString;
|
|
249
136
|
readonly period: z.ZodString;
|
|
250
|
-
readonly votes: z.ZodOptional<z.ZodEnum<
|
|
251
|
-
|
|
252
|
-
|
|
137
|
+
readonly votes: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
erc20votes: "erc20votes";
|
|
139
|
+
erc721votes: "erc721votes";
|
|
140
|
+
}>>;
|
|
141
|
+
readonly clockMode: z.ZodOptional<z.ZodEnum<{
|
|
142
|
+
timestamp: "timestamp";
|
|
143
|
+
}>>;
|
|
144
|
+
readonly timelock: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<"openzeppelin">]>>;
|
|
253
145
|
readonly decimals: z.ZodOptional<z.ZodNumber>;
|
|
254
146
|
readonly proposalThreshold: z.ZodOptional<z.ZodString>;
|
|
255
|
-
readonly quorumMode: z.ZodOptional<z.ZodEnum<
|
|
147
|
+
readonly quorumMode: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
percent: "percent";
|
|
149
|
+
absolute: "absolute";
|
|
150
|
+
}>>;
|
|
256
151
|
readonly quorumPercent: z.ZodOptional<z.ZodNumber>;
|
|
257
152
|
readonly quorumAbsolute: z.ZodOptional<z.ZodString>;
|
|
258
153
|
readonly settings: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -262,44 +157,27 @@ export declare const governorSchema: {
|
|
|
262
157
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
263
158
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
264
159
|
license: z.ZodOptional<z.ZodString>;
|
|
265
|
-
},
|
|
266
|
-
securityContact?: string | undefined;
|
|
267
|
-
license?: string | undefined;
|
|
268
|
-
}, {
|
|
269
|
-
securityContact?: string | undefined;
|
|
270
|
-
license?: string | undefined;
|
|
271
|
-
}>>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
272
161
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
273
162
|
withComponents: z.ZodBoolean;
|
|
274
|
-
},
|
|
275
|
-
withComponents: boolean;
|
|
276
|
-
}, {
|
|
277
|
-
withComponents: boolean;
|
|
278
|
-
}>>;
|
|
163
|
+
}, z.core.$strip>>;
|
|
279
164
|
};
|
|
280
165
|
export declare const vestingSchema: {
|
|
281
166
|
readonly name: z.ZodString;
|
|
282
167
|
readonly startDate: z.ZodString;
|
|
283
168
|
readonly duration: z.ZodString;
|
|
284
169
|
readonly cliffDuration: z.ZodString;
|
|
285
|
-
readonly schedule: z.ZodEnum<
|
|
170
|
+
readonly schedule: z.ZodEnum<{
|
|
171
|
+
custom: "custom";
|
|
172
|
+
linear: "linear";
|
|
173
|
+
}>;
|
|
286
174
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
287
175
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
288
176
|
license: z.ZodOptional<z.ZodString>;
|
|
289
|
-
},
|
|
290
|
-
securityContact?: string | undefined;
|
|
291
|
-
license?: string | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
securityContact?: string | undefined;
|
|
294
|
-
license?: string | undefined;
|
|
295
|
-
}>>;
|
|
177
|
+
}, z.core.$strip>>;
|
|
296
178
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
297
179
|
withComponents: z.ZodBoolean;
|
|
298
|
-
},
|
|
299
|
-
withComponents: boolean;
|
|
300
|
-
}, {
|
|
301
|
-
withComponents: boolean;
|
|
302
|
-
}>>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
303
181
|
};
|
|
304
182
|
export declare const customSchema: {
|
|
305
183
|
readonly access: z.ZodObject<{
|
|
@@ -307,35 +185,15 @@ export declare const customSchema: {
|
|
|
307
185
|
darInitialDelay: z.ZodString;
|
|
308
186
|
darDefaultDelayIncrease: z.ZodString;
|
|
309
187
|
darMaxTransferDelay: z.ZodString;
|
|
310
|
-
},
|
|
311
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
312
|
-
darInitialDelay: string;
|
|
313
|
-
darDefaultDelayIncrease: string;
|
|
314
|
-
darMaxTransferDelay: string;
|
|
315
|
-
}, {
|
|
316
|
-
type: false | "ownable" | "roles" | "roles-dar";
|
|
317
|
-
darInitialDelay: string;
|
|
318
|
-
darDefaultDelayIncrease: string;
|
|
319
|
-
darMaxTransferDelay: string;
|
|
320
|
-
}>;
|
|
188
|
+
}, z.core.$strip>;
|
|
321
189
|
readonly upgradeable: z.ZodOptional<z.ZodBoolean>;
|
|
322
190
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
323
191
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
324
192
|
license: z.ZodOptional<z.ZodString>;
|
|
325
|
-
},
|
|
326
|
-
securityContact?: string | undefined;
|
|
327
|
-
license?: string | undefined;
|
|
328
|
-
}, {
|
|
329
|
-
securityContact?: string | undefined;
|
|
330
|
-
license?: string | undefined;
|
|
331
|
-
}>>;
|
|
193
|
+
}, z.core.$strip>>;
|
|
332
194
|
readonly macros: z.ZodOptional<z.ZodObject<{
|
|
333
195
|
withComponents: z.ZodBoolean;
|
|
334
|
-
},
|
|
335
|
-
withComponents: boolean;
|
|
336
|
-
}, {
|
|
337
|
-
withComponents: boolean;
|
|
338
|
-
}>>;
|
|
196
|
+
}, z.core.$strip>>;
|
|
339
197
|
readonly name: z.ZodString;
|
|
340
198
|
readonly pausable: z.ZodOptional<z.ZodBoolean>;
|
|
341
199
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/cairo/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoCxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/cairo/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoCxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CA0BS,CAAC;AAEnC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;CAYU,CAAC;AAEnC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBS,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBQ,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;CAUQ,CAAC;AAEnC,eAAO,MAAM,cAAc;;;;;;;;;;;CAMO,CAAC;AAEnC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBO,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAQQ,CAAC;AAEnC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAIS,CAAC"}
|
|
@@ -3,25 +3,13 @@ export declare const commonSchema: {
|
|
|
3
3
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
4
4
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
5
5
|
license: z.ZodOptional<z.ZodString>;
|
|
6
|
-
},
|
|
7
|
-
securityContact?: string | undefined;
|
|
8
|
-
license?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
securityContact?: string | undefined;
|
|
11
|
-
license?: string | undefined;
|
|
12
|
-
}>>;
|
|
6
|
+
}, z.core.$strip>>;
|
|
13
7
|
};
|
|
14
8
|
export declare const erc7984Schema: {
|
|
15
9
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
16
10
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
17
11
|
license: z.ZodOptional<z.ZodString>;
|
|
18
|
-
},
|
|
19
|
-
securityContact?: string | undefined;
|
|
20
|
-
license?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
securityContact?: string | undefined;
|
|
23
|
-
license?: string | undefined;
|
|
24
|
-
}>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
25
13
|
readonly name: z.ZodString;
|
|
26
14
|
readonly symbol: z.ZodString;
|
|
27
15
|
readonly contractURI: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/confidential/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/confidential/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,YAAY;;;;;CAQS,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;CASQ,CAAC"}
|
|
@@ -5,13 +5,7 @@ export declare const commonSchema: {
|
|
|
5
5
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
7
7
|
license: z.ZodOptional<z.ZodString>;
|
|
8
|
-
},
|
|
9
|
-
securityContact?: string | undefined;
|
|
10
|
-
license?: string | undefined;
|
|
11
|
-
}, {
|
|
12
|
-
securityContact?: string | undefined;
|
|
13
|
-
license?: string | undefined;
|
|
14
|
-
}>>;
|
|
8
|
+
}, z.core.$strip>>;
|
|
15
9
|
};
|
|
16
10
|
export declare const erc20Schema: {
|
|
17
11
|
readonly access: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"ownable">, z.ZodLiteral<"roles">]>, z.ZodLiteral<"managed">]>>;
|
|
@@ -19,13 +13,7 @@ export declare const erc20Schema: {
|
|
|
19
13
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
20
14
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
21
15
|
license: z.ZodOptional<z.ZodString>;
|
|
22
|
-
},
|
|
23
|
-
securityContact?: string | undefined;
|
|
24
|
-
license?: string | undefined;
|
|
25
|
-
}, {
|
|
26
|
-
securityContact?: string | undefined;
|
|
27
|
-
license?: string | undefined;
|
|
28
|
-
}>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
29
17
|
readonly name: z.ZodString;
|
|
30
18
|
readonly symbol: z.ZodString;
|
|
31
19
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -48,13 +36,7 @@ export declare const erc721Schema: {
|
|
|
48
36
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
49
37
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
50
38
|
license: z.ZodOptional<z.ZodString>;
|
|
51
|
-
},
|
|
52
|
-
securityContact?: string | undefined;
|
|
53
|
-
license?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
securityContact?: string | undefined;
|
|
56
|
-
license?: string | undefined;
|
|
57
|
-
}>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
58
40
|
readonly name: z.ZodString;
|
|
59
41
|
readonly symbol: z.ZodString;
|
|
60
42
|
readonly baseUri: z.ZodOptional<z.ZodString>;
|
|
@@ -72,13 +54,7 @@ export declare const erc1155Schema: {
|
|
|
72
54
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
73
55
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
74
56
|
license: z.ZodOptional<z.ZodString>;
|
|
75
|
-
},
|
|
76
|
-
securityContact?: string | undefined;
|
|
77
|
-
license?: string | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
securityContact?: string | undefined;
|
|
80
|
-
license?: string | undefined;
|
|
81
|
-
}>>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
82
58
|
readonly name: z.ZodString;
|
|
83
59
|
readonly uri: z.ZodString;
|
|
84
60
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -94,13 +70,7 @@ export declare const stablecoinSchema: {
|
|
|
94
70
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
95
71
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
96
72
|
license: z.ZodOptional<z.ZodString>;
|
|
97
|
-
},
|
|
98
|
-
securityContact?: string | undefined;
|
|
99
|
-
license?: string | undefined;
|
|
100
|
-
}, {
|
|
101
|
-
securityContact?: string | undefined;
|
|
102
|
-
license?: string | undefined;
|
|
103
|
-
}>>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
104
74
|
readonly name: z.ZodString;
|
|
105
75
|
readonly symbol: z.ZodString;
|
|
106
76
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -123,13 +93,7 @@ export declare const rwaSchema: {
|
|
|
123
93
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
124
94
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
125
95
|
license: z.ZodOptional<z.ZodString>;
|
|
126
|
-
},
|
|
127
|
-
securityContact?: string | undefined;
|
|
128
|
-
license?: string | undefined;
|
|
129
|
-
}, {
|
|
130
|
-
securityContact?: string | undefined;
|
|
131
|
-
license?: string | undefined;
|
|
132
|
-
}>>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
133
97
|
readonly name: z.ZodString;
|
|
134
98
|
readonly symbol: z.ZodString;
|
|
135
99
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -156,13 +120,7 @@ export declare const accountSchema: {
|
|
|
156
120
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
157
121
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
158
122
|
license: z.ZodOptional<z.ZodString>;
|
|
159
|
-
},
|
|
160
|
-
securityContact?: string | undefined;
|
|
161
|
-
license?: string | undefined;
|
|
162
|
-
}, {
|
|
163
|
-
securityContact?: string | undefined;
|
|
164
|
-
license?: string | undefined;
|
|
165
|
-
}>>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
166
124
|
readonly upgradeable: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"transparent">, z.ZodLiteral<"uups">]>>;
|
|
167
125
|
};
|
|
168
126
|
export declare const governorSchema: {
|
|
@@ -184,13 +142,7 @@ export declare const governorSchema: {
|
|
|
184
142
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
185
143
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
186
144
|
license: z.ZodOptional<z.ZodString>;
|
|
187
|
-
},
|
|
188
|
-
securityContact?: string | undefined;
|
|
189
|
-
license?: string | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
securityContact?: string | undefined;
|
|
192
|
-
license?: string | undefined;
|
|
193
|
-
}>>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
194
146
|
};
|
|
195
147
|
export declare const customSchema: {
|
|
196
148
|
readonly access: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"ownable">, z.ZodLiteral<"roles">]>, z.ZodLiteral<"managed">]>>;
|
|
@@ -198,13 +150,7 @@ export declare const customSchema: {
|
|
|
198
150
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
199
151
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
200
152
|
license: z.ZodOptional<z.ZodString>;
|
|
201
|
-
},
|
|
202
|
-
securityContact?: string | undefined;
|
|
203
|
-
license?: string | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
securityContact?: string | undefined;
|
|
206
|
-
license?: string | undefined;
|
|
207
|
-
}>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
208
154
|
readonly name: z.ZodString;
|
|
209
155
|
readonly pausable: z.ZodOptional<z.ZodBoolean>;
|
|
210
156
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/solidity/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgCxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/solidity/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgCxB,eAAO,MAAM,YAAY;;;;;;;CAmBS,CAAC;AAEnC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBU,CAAC;AAEnC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;CAaS,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CASQ,CAAC;AAInC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;CASK,CAAC;AAEnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;CAAmB,CAAC;AAE1C,eAAO,MAAM,aAAa;;;;;;;;;;;;;CA8BQ,CAAC;AAEnC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CA8BO,CAAC;AAEnC,eAAO,MAAM,YAAY;;;;;;;;;CAIS,CAAC"}
|
|
@@ -6,13 +6,7 @@ export declare const commonSchema: {
|
|
|
6
6
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
8
8
|
license: z.ZodOptional<z.ZodString>;
|
|
9
|
-
},
|
|
10
|
-
securityContact?: string | undefined;
|
|
11
|
-
license?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
securityContact?: string | undefined;
|
|
14
|
-
license?: string | undefined;
|
|
15
|
-
}>>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
16
10
|
};
|
|
17
11
|
export declare const fungibleSchema: {
|
|
18
12
|
readonly access: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ownable">, z.ZodLiteral<"roles">]>>;
|
|
@@ -21,13 +15,7 @@ export declare const fungibleSchema: {
|
|
|
21
15
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
22
16
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
23
17
|
license: z.ZodOptional<z.ZodString>;
|
|
24
|
-
},
|
|
25
|
-
securityContact?: string | undefined;
|
|
26
|
-
license?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
securityContact?: string | undefined;
|
|
29
|
-
license?: string | undefined;
|
|
30
|
-
}>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
31
19
|
readonly name: z.ZodString;
|
|
32
20
|
readonly symbol: z.ZodString;
|
|
33
21
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -43,13 +31,7 @@ export declare const stablecoinSchema: {
|
|
|
43
31
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
44
32
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
45
33
|
license: z.ZodOptional<z.ZodString>;
|
|
46
|
-
},
|
|
47
|
-
securityContact?: string | undefined;
|
|
48
|
-
license?: string | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
securityContact?: string | undefined;
|
|
51
|
-
license?: string | undefined;
|
|
52
|
-
}>>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
53
35
|
readonly name: z.ZodString;
|
|
54
36
|
readonly symbol: z.ZodString;
|
|
55
37
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -64,13 +46,7 @@ export declare const nonFungibleSchema: {
|
|
|
64
46
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
65
47
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
66
48
|
license: z.ZodOptional<z.ZodString>;
|
|
67
|
-
},
|
|
68
|
-
securityContact?: string | undefined;
|
|
69
|
-
license?: string | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
securityContact?: string | undefined;
|
|
72
|
-
license?: string | undefined;
|
|
73
|
-
}>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
74
50
|
readonly name: z.ZodString;
|
|
75
51
|
readonly symbol: z.ZodString;
|
|
76
52
|
readonly tokenUri: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/stellar/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/stellar/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,YAAY;;;;;;;;CAWS,CAAC;AAEnC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAQO,CAAC;AAEnC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;CAQK,CAAC;AAEnC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAWI,CAAC"}
|
package/dist/stylus/schemas.d.ts
CHANGED
|
@@ -3,25 +3,13 @@ export declare const commonSchema: {
|
|
|
3
3
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
4
4
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
5
5
|
license: z.ZodOptional<z.ZodString>;
|
|
6
|
-
},
|
|
7
|
-
securityContact?: string | undefined;
|
|
8
|
-
license?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
securityContact?: string | undefined;
|
|
11
|
-
license?: string | undefined;
|
|
12
|
-
}>>;
|
|
6
|
+
}, z.core.$strip>>;
|
|
13
7
|
};
|
|
14
8
|
export declare const erc20Schema: {
|
|
15
9
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
16
10
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
17
11
|
license: z.ZodOptional<z.ZodString>;
|
|
18
|
-
},
|
|
19
|
-
securityContact?: string | undefined;
|
|
20
|
-
license?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
securityContact?: string | undefined;
|
|
23
|
-
license?: string | undefined;
|
|
24
|
-
}>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
25
13
|
readonly name: z.ZodString;
|
|
26
14
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
27
15
|
readonly permit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -31,13 +19,7 @@ export declare const erc721Schema: {
|
|
|
31
19
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
32
20
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
33
21
|
license: z.ZodOptional<z.ZodString>;
|
|
34
|
-
},
|
|
35
|
-
securityContact?: string | undefined;
|
|
36
|
-
license?: string | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
securityContact?: string | undefined;
|
|
39
|
-
license?: string | undefined;
|
|
40
|
-
}>>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
41
23
|
readonly name: z.ZodString;
|
|
42
24
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
43
25
|
readonly enumerable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -46,13 +28,7 @@ export declare const erc1155Schema: {
|
|
|
46
28
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
47
29
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
48
30
|
license: z.ZodOptional<z.ZodString>;
|
|
49
|
-
},
|
|
50
|
-
securityContact?: string | undefined;
|
|
51
|
-
license?: string | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
securityContact?: string | undefined;
|
|
54
|
-
license?: string | undefined;
|
|
55
|
-
}>>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
56
32
|
readonly name: z.ZodString;
|
|
57
33
|
readonly burnable: z.ZodOptional<z.ZodBoolean>;
|
|
58
34
|
readonly supply: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/stylus/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/stylus/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,YAAY;;;;;CAQS,CAAC;AAEnC,eAAO,MAAM,WAAW;;;;;;;;;CAMU,CAAC;AAEnC,eAAO,MAAM,YAAY;;;;;;;;CAKS,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;CAKQ,CAAC"}
|
|
@@ -4,48 +4,45 @@ export declare const commonSchema: {
|
|
|
4
4
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
5
5
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
6
6
|
license: z.ZodOptional<z.ZodString>;
|
|
7
|
-
},
|
|
8
|
-
securityContact?: string | undefined;
|
|
9
|
-
license?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
securityContact?: string | undefined;
|
|
12
|
-
license?: string | undefined;
|
|
13
|
-
}>>;
|
|
7
|
+
}, z.core.$strip>>;
|
|
14
8
|
};
|
|
15
9
|
export declare const hooksSchema: {
|
|
16
10
|
readonly access: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"ownable">, z.ZodLiteral<"roles">]>, z.ZodLiteral<"managed">]>>;
|
|
17
11
|
readonly info: z.ZodOptional<z.ZodObject<{
|
|
18
12
|
securityContact: z.ZodOptional<z.ZodString>;
|
|
19
13
|
license: z.ZodOptional<z.ZodString>;
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
readonly hook: z.ZodEnum<{
|
|
16
|
+
BaseHook: "BaseHook";
|
|
17
|
+
BaseAsyncSwap: "BaseAsyncSwap";
|
|
18
|
+
BaseCustomAccounting: "BaseCustomAccounting";
|
|
19
|
+
BaseCustomCurve: "BaseCustomCurve";
|
|
20
|
+
BaseDynamicFee: "BaseDynamicFee";
|
|
21
|
+
BaseOverrideFee: "BaseOverrideFee";
|
|
22
|
+
BaseDynamicAfterFee: "BaseDynamicAfterFee";
|
|
23
|
+
BaseHookFee: "BaseHookFee";
|
|
24
|
+
AntiSandwichHook: "AntiSandwichHook";
|
|
25
|
+
LiquidityPenaltyHook: "LiquidityPenaltyHook";
|
|
26
|
+
LimitOrderHook: "LimitOrderHook";
|
|
27
|
+
ReHypothecationHook: "ReHypothecationHook";
|
|
28
|
+
BaseOracleHook: "BaseOracleHook";
|
|
29
|
+
OracleHookWithV3Adapters: "OracleHookWithV3Adapters";
|
|
30
|
+
}>;
|
|
28
31
|
readonly name: z.ZodString;
|
|
29
32
|
readonly pausable: z.ZodBoolean;
|
|
30
33
|
readonly currencySettler: z.ZodBoolean;
|
|
31
34
|
readonly safeCast: z.ZodBoolean;
|
|
32
35
|
readonly transientStorage: z.ZodBoolean;
|
|
33
36
|
readonly shares: z.ZodObject<{
|
|
34
|
-
options: z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<
|
|
37
|
+
options: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum<{
|
|
38
|
+
ERC20: "ERC20";
|
|
39
|
+
ERC1155: "ERC1155";
|
|
40
|
+
ERC6909: "ERC6909";
|
|
41
|
+
}>]>;
|
|
35
42
|
name: z.ZodOptional<z.ZodString>;
|
|
36
43
|
symbol: z.ZodOptional<z.ZodString>;
|
|
37
44
|
uri: z.ZodOptional<z.ZodString>;
|
|
38
|
-
},
|
|
39
|
-
options: false | "ERC20" | "ERC1155" | "ERC6909";
|
|
40
|
-
symbol?: string | undefined;
|
|
41
|
-
name?: string | undefined;
|
|
42
|
-
uri?: string | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
options: false | "ERC20" | "ERC1155" | "ERC6909";
|
|
45
|
-
symbol?: string | undefined;
|
|
46
|
-
name?: string | undefined;
|
|
47
|
-
uri?: string | undefined;
|
|
48
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
49
46
|
readonly permissions: z.ZodObject<{
|
|
50
47
|
beforeInitialize: z.ZodBoolean;
|
|
51
48
|
afterInitialize: z.ZodBoolean;
|
|
@@ -61,46 +58,10 @@ export declare const hooksSchema: {
|
|
|
61
58
|
afterSwapReturnDelta: z.ZodBoolean;
|
|
62
59
|
afterAddLiquidityReturnDelta: z.ZodBoolean;
|
|
63
60
|
afterRemoveLiquidityReturnDelta: z.ZodBoolean;
|
|
64
|
-
},
|
|
65
|
-
beforeInitialize: boolean;
|
|
66
|
-
afterInitialize: boolean;
|
|
67
|
-
beforeAddLiquidity: boolean;
|
|
68
|
-
beforeRemoveLiquidity: boolean;
|
|
69
|
-
afterAddLiquidity: boolean;
|
|
70
|
-
afterRemoveLiquidity: boolean;
|
|
71
|
-
beforeSwap: boolean;
|
|
72
|
-
afterSwap: boolean;
|
|
73
|
-
beforeDonate: boolean;
|
|
74
|
-
afterDonate: boolean;
|
|
75
|
-
beforeSwapReturnDelta: boolean;
|
|
76
|
-
afterSwapReturnDelta: boolean;
|
|
77
|
-
afterAddLiquidityReturnDelta: boolean;
|
|
78
|
-
afterRemoveLiquidityReturnDelta: boolean;
|
|
79
|
-
}, {
|
|
80
|
-
beforeInitialize: boolean;
|
|
81
|
-
afterInitialize: boolean;
|
|
82
|
-
beforeAddLiquidity: boolean;
|
|
83
|
-
beforeRemoveLiquidity: boolean;
|
|
84
|
-
afterAddLiquidity: boolean;
|
|
85
|
-
afterRemoveLiquidity: boolean;
|
|
86
|
-
beforeSwap: boolean;
|
|
87
|
-
afterSwap: boolean;
|
|
88
|
-
beforeDonate: boolean;
|
|
89
|
-
afterDonate: boolean;
|
|
90
|
-
beforeSwapReturnDelta: boolean;
|
|
91
|
-
afterSwapReturnDelta: boolean;
|
|
92
|
-
afterAddLiquidityReturnDelta: boolean;
|
|
93
|
-
afterRemoveLiquidityReturnDelta: boolean;
|
|
94
|
-
}>;
|
|
61
|
+
}, z.core.$strip>;
|
|
95
62
|
readonly inputs: z.ZodObject<{
|
|
96
63
|
blockNumberOffset: z.ZodNumber;
|
|
97
64
|
maxAbsTickDelta: z.ZodNumber;
|
|
98
|
-
},
|
|
99
|
-
blockNumberOffset: number;
|
|
100
|
-
maxAbsTickDelta: number;
|
|
101
|
-
}, {
|
|
102
|
-
blockNumberOffset: number;
|
|
103
|
-
maxAbsTickDelta: number;
|
|
104
|
-
}>;
|
|
65
|
+
}, z.core.$strip>;
|
|
105
66
|
};
|
|
106
67
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/uniswap-hooks/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/uniswap-hooks/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,eAAO,MAAM,YAAY;;;;;;CAcS,CAAC;AAuCnC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openzeppelin/contracts-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "OpenZeppelin Contracts MCP Server",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": "https://github.com/OpenZeppelin/contracts-wizard",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test:watch": "ava --watch"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
26
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
27
27
|
"@openzeppelin/wizard-common": "^0.4.4",
|
|
28
28
|
"@openzeppelin/wizard": "^0.10.7",
|
|
29
29
|
"@openzeppelin/wizard-stylus": "^0.3.0",
|