@boostxyz/cli 5.0.7 → 5.1.0

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.
@@ -0,0 +1,1251 @@
1
+ import { type AllowListIncentivePayload, BoostCore, type CGDAIncentivePayload, type CreateBoostPayload, type DeployableOptions, type DeployablePayloadOrAddress, type ERC20IncentivePayload, type ERC20PeggedVariableCriteriaIncentivePayload, type ERC20VariableCriteriaIncentivePayload, type ERC20VariableIncentivePayload, type EventActionPayload, FilterType, type LimitedSignerValidatorPayload, type ManagedBudgetWithFeesV2Payload, type PointsIncentivePayload, PrimitiveType, Roles, SignatureType, type SignerValidatorPayload, type SimpleAllowListPayload, type SimpleDenyListPayload, StrategyType } from '@boostxyz/sdk';
2
+ import { type Address } from 'viem';
3
+ import { type ZodType, type ZodTypeDef, z } from 'zod';
4
+ import { type Command } from '../utils';
5
+ export type SeedResult = {
6
+ erc20?: Address;
7
+ boostIds?: string[];
8
+ budget?: Address;
9
+ };
10
+ export type DeployableWagmiOptions = Required<DeployableOptions>;
11
+ export declare const seed: Command<SeedResult | BoostConfig>;
12
+ export declare const ManagedBudgetWithFeesV2Schema: z.ZodEffects<z.ZodObject<{
13
+ type: z.ZodLiteral<"ManagedBudgetWithFeesV2">;
14
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
15
+ authorized: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
16
+ managementFee: z.ZodBigInt;
17
+ roles: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodNumber, bigint, number>, ZodType<Roles, ZodTypeDef, Roles>>, "many">;
18
+ }, "strip", z.ZodTypeAny, {
19
+ type: "ManagedBudgetWithFeesV2";
20
+ owner: `0x${string}`;
21
+ roles: Roles[];
22
+ managementFee: bigint;
23
+ authorized: `0x${string}`[];
24
+ }, {
25
+ type: "ManagedBudgetWithFeesV2";
26
+ owner: string;
27
+ roles: number[];
28
+ managementFee: bigint;
29
+ authorized: string[];
30
+ }>, {
31
+ type: "ManagedBudgetWithFeesV2";
32
+ owner: `0x${string}`;
33
+ roles: Roles[];
34
+ managementFee: bigint;
35
+ authorized: `0x${string}`[];
36
+ }, {
37
+ type: "ManagedBudgetWithFeesV2";
38
+ owner: string;
39
+ roles: number[];
40
+ managementFee: bigint;
41
+ authorized: string[];
42
+ }>;
43
+ export declare const ManagedBudgetSchema: z.ZodEffects<z.ZodObject<{
44
+ type: z.ZodLiteral<"ManagedBudget">;
45
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
46
+ authorized: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
47
+ roles: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodNumber, bigint, number>, ZodType<Roles, ZodTypeDef, Roles>>, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ type: "ManagedBudget";
50
+ owner: `0x${string}`;
51
+ roles: Roles[];
52
+ authorized: `0x${string}`[];
53
+ }, {
54
+ type: "ManagedBudget";
55
+ owner: string;
56
+ roles: number[];
57
+ authorized: string[];
58
+ }>, {
59
+ type: "ManagedBudget";
60
+ owner: `0x${string}`;
61
+ roles: Roles[];
62
+ authorized: `0x${string}`[];
63
+ }, {
64
+ type: "ManagedBudget";
65
+ owner: string;
66
+ roles: number[];
67
+ authorized: string[];
68
+ }>;
69
+ type Identifiable<T> = T & {
70
+ type: string;
71
+ };
72
+ export type BoostConfig = {
73
+ protocolFee: bigint;
74
+ maxParticipants: bigint;
75
+ budget: DeployablePayloadOrAddress<Identifiable<ManagedBudgetWithFeesV2Payload>>;
76
+ action: DeployablePayloadOrAddress<Identifiable<EventActionPayload>>;
77
+ validator: DeployablePayloadOrAddress<Identifiable<SignerValidatorPayload> | Identifiable<LimitedSignerValidatorPayload>>;
78
+ allowList: DeployablePayloadOrAddress<Identifiable<SimpleDenyListPayload> | Identifiable<SimpleAllowListPayload>>;
79
+ incentives: (Identifiable<AllowListIncentivePayload> | Identifiable<PointsIncentivePayload> | (Identifiable<ERC20IncentivePayload> & {
80
+ shouldMintAndAllocate?: boolean;
81
+ }) | (Identifiable<ERC20PeggedVariableCriteriaIncentivePayload> & {
82
+ shouldMintAndAllocate?: boolean;
83
+ }) | (Identifiable<ERC20VariableCriteriaIncentivePayload> & {
84
+ shouldMintAndAllocate?: boolean;
85
+ }) | (Identifiable<ERC20VariableIncentivePayload> & {
86
+ shouldMintAndAllocate?: boolean;
87
+ }) | (Identifiable<CGDAIncentivePayload> & {
88
+ shouldMintAndAllocate?: boolean;
89
+ }))[];
90
+ };
91
+ export declare const ActionClaimantSchema: z.ZodObject<{
92
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
93
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
94
+ fieldIndex: z.ZodNumber;
95
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
96
+ chainid: z.ZodNumber;
97
+ }, "strip", z.ZodTypeAny, {
98
+ signature: `0x${string}`;
99
+ signatureType: SignatureType;
100
+ fieldIndex: number;
101
+ targetContract: `0x${string}`;
102
+ chainid: number;
103
+ }, {
104
+ signature: string;
105
+ signatureType: SignatureType;
106
+ fieldIndex: number;
107
+ targetContract: string;
108
+ chainid: number;
109
+ }>;
110
+ export declare const ActionStepCriteriaSchema: z.ZodObject<{
111
+ filterType: z.ZodNativeEnum<typeof FilterType>;
112
+ fieldType: z.ZodNativeEnum<typeof PrimitiveType>;
113
+ fieldIndex: z.ZodNumber;
114
+ filterData: ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ fieldIndex: number;
117
+ filterType: FilterType;
118
+ fieldType: PrimitiveType;
119
+ filterData: `0x${string}`;
120
+ }, {
121
+ fieldIndex: number;
122
+ filterType: FilterType;
123
+ fieldType: PrimitiveType;
124
+ filterData: `0x${string}`;
125
+ }>;
126
+ export declare const ActionStepSchema: z.ZodObject<{
127
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
128
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
129
+ actionType: z.ZodOptional<z.ZodNumber>;
130
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
131
+ chainid: z.ZodNumber;
132
+ actionParameter: z.ZodObject<{
133
+ filterType: z.ZodNativeEnum<typeof FilterType>;
134
+ fieldType: z.ZodNativeEnum<typeof PrimitiveType>;
135
+ fieldIndex: z.ZodNumber;
136
+ filterData: ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ fieldIndex: number;
139
+ filterType: FilterType;
140
+ fieldType: PrimitiveType;
141
+ filterData: `0x${string}`;
142
+ }, {
143
+ fieldIndex: number;
144
+ filterType: FilterType;
145
+ fieldType: PrimitiveType;
146
+ filterData: `0x${string}`;
147
+ }>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ signature: `0x${string}`;
150
+ signatureType: SignatureType;
151
+ targetContract: `0x${string}`;
152
+ chainid: number;
153
+ actionParameter: {
154
+ fieldIndex: number;
155
+ filterType: FilterType;
156
+ fieldType: PrimitiveType;
157
+ filterData: `0x${string}`;
158
+ };
159
+ actionType?: number | undefined;
160
+ }, {
161
+ signature: string;
162
+ signatureType: SignatureType;
163
+ targetContract: string;
164
+ chainid: number;
165
+ actionParameter: {
166
+ fieldIndex: number;
167
+ filterType: FilterType;
168
+ fieldType: PrimitiveType;
169
+ filterData: `0x${string}`;
170
+ };
171
+ actionType?: number | undefined;
172
+ }>;
173
+ export declare const EventActionSchema: z.ZodObject<{
174
+ type: z.ZodLiteral<"EventAction">;
175
+ actionClaimant: z.ZodObject<{
176
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
177
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
178
+ fieldIndex: z.ZodNumber;
179
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
180
+ chainid: z.ZodNumber;
181
+ }, "strip", z.ZodTypeAny, {
182
+ signature: `0x${string}`;
183
+ signatureType: SignatureType;
184
+ fieldIndex: number;
185
+ targetContract: `0x${string}`;
186
+ chainid: number;
187
+ }, {
188
+ signature: string;
189
+ signatureType: SignatureType;
190
+ fieldIndex: number;
191
+ targetContract: string;
192
+ chainid: number;
193
+ }>;
194
+ actionSteps: z.ZodArray<z.ZodObject<{
195
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
196
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
197
+ actionType: z.ZodOptional<z.ZodNumber>;
198
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
199
+ chainid: z.ZodNumber;
200
+ actionParameter: z.ZodObject<{
201
+ filterType: z.ZodNativeEnum<typeof FilterType>;
202
+ fieldType: z.ZodNativeEnum<typeof PrimitiveType>;
203
+ fieldIndex: z.ZodNumber;
204
+ filterData: ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ fieldIndex: number;
207
+ filterType: FilterType;
208
+ fieldType: PrimitiveType;
209
+ filterData: `0x${string}`;
210
+ }, {
211
+ fieldIndex: number;
212
+ filterType: FilterType;
213
+ fieldType: PrimitiveType;
214
+ filterData: `0x${string}`;
215
+ }>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ signature: `0x${string}`;
218
+ signatureType: SignatureType;
219
+ targetContract: `0x${string}`;
220
+ chainid: number;
221
+ actionParameter: {
222
+ fieldIndex: number;
223
+ filterType: FilterType;
224
+ fieldType: PrimitiveType;
225
+ filterData: `0x${string}`;
226
+ };
227
+ actionType?: number | undefined;
228
+ }, {
229
+ signature: string;
230
+ signatureType: SignatureType;
231
+ targetContract: string;
232
+ chainid: number;
233
+ actionParameter: {
234
+ fieldIndex: number;
235
+ filterType: FilterType;
236
+ fieldType: PrimitiveType;
237
+ filterData: `0x${string}`;
238
+ };
239
+ actionType?: number | undefined;
240
+ }>, "many">;
241
+ }, "strip", z.ZodTypeAny, {
242
+ type: "EventAction";
243
+ actionClaimant: {
244
+ signature: `0x${string}`;
245
+ signatureType: SignatureType;
246
+ fieldIndex: number;
247
+ targetContract: `0x${string}`;
248
+ chainid: number;
249
+ };
250
+ actionSteps: {
251
+ signature: `0x${string}`;
252
+ signatureType: SignatureType;
253
+ targetContract: `0x${string}`;
254
+ chainid: number;
255
+ actionParameter: {
256
+ fieldIndex: number;
257
+ filterType: FilterType;
258
+ fieldType: PrimitiveType;
259
+ filterData: `0x${string}`;
260
+ };
261
+ actionType?: number | undefined;
262
+ }[];
263
+ }, {
264
+ type: "EventAction";
265
+ actionClaimant: {
266
+ signature: string;
267
+ signatureType: SignatureType;
268
+ fieldIndex: number;
269
+ targetContract: string;
270
+ chainid: number;
271
+ };
272
+ actionSteps: {
273
+ signature: string;
274
+ signatureType: SignatureType;
275
+ targetContract: string;
276
+ chainid: number;
277
+ actionParameter: {
278
+ fieldIndex: number;
279
+ filterType: FilterType;
280
+ fieldType: PrimitiveType;
281
+ filterData: `0x${string}`;
282
+ };
283
+ actionType?: number | undefined;
284
+ }[];
285
+ }>;
286
+ export declare const LimitedSignerValidatorSchema: z.ZodObject<{
287
+ type: z.ZodLiteral<"LimitedSignerValidator">;
288
+ signers: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
289
+ validatorCaller: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
290
+ maxClaimCount: z.ZodNumber;
291
+ }, "strip", z.ZodTypeAny, {
292
+ type: "LimitedSignerValidator";
293
+ validatorCaller: `0x${string}`;
294
+ maxClaimCount: number;
295
+ signers: `0x${string}`[];
296
+ }, {
297
+ type: "LimitedSignerValidator";
298
+ validatorCaller: string;
299
+ maxClaimCount: number;
300
+ signers: string[];
301
+ }>;
302
+ export declare const SignerValidatorSchema: z.ZodObject<{
303
+ type: z.ZodLiteral<"SignerValidator">;
304
+ signers: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
305
+ validatorCaller: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ type: "SignerValidator";
308
+ validatorCaller: `0x${string}`;
309
+ signers: `0x${string}`[];
310
+ }, {
311
+ type: "SignerValidator";
312
+ validatorCaller: string;
313
+ signers: string[];
314
+ }>;
315
+ export declare const SimpleDenyListSchema: z.ZodObject<{
316
+ type: z.ZodLiteral<"SimpleDenyList">;
317
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
318
+ denied: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
319
+ }, "strip", z.ZodTypeAny, {
320
+ type: "SimpleDenyList";
321
+ owner: `0x${string}`;
322
+ denied: `0x${string}`[];
323
+ }, {
324
+ type: "SimpleDenyList";
325
+ owner: string;
326
+ denied: string[];
327
+ }>;
328
+ export declare const SimpleAllowListSchema: z.ZodObject<{
329
+ type: z.ZodLiteral<"SimpleAllowList">;
330
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
331
+ allowed: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
332
+ }, "strip", z.ZodTypeAny, {
333
+ type: "SimpleAllowList";
334
+ owner: `0x${string}`;
335
+ allowed: `0x${string}`[];
336
+ }, {
337
+ type: "SimpleAllowList";
338
+ owner: string;
339
+ allowed: string[];
340
+ }>;
341
+ export declare const AllowListIncentiveSchema: z.ZodObject<{
342
+ type: z.ZodLiteral<"AllowListIncentive">;
343
+ allowList: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
344
+ limit: z.ZodBigInt;
345
+ }, "strip", z.ZodTypeAny, {
346
+ type: "AllowListIncentive";
347
+ allowList: `0x${string}`;
348
+ limit: bigint;
349
+ }, {
350
+ type: "AllowListIncentive";
351
+ allowList: string;
352
+ limit: bigint;
353
+ }>;
354
+ export declare const ERC20IncentiveSchema: z.ZodObject<{
355
+ type: z.ZodLiteral<"ERC20Incentive">;
356
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
357
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
358
+ strategy: z.ZodNativeEnum<typeof StrategyType>;
359
+ reward: z.ZodBigInt;
360
+ limit: z.ZodBigInt;
361
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ type: "ERC20Incentive";
364
+ asset: `0x${string}`;
365
+ limit: bigint;
366
+ reward: bigint;
367
+ strategy: StrategyType;
368
+ shouldMintAndAllocate: boolean;
369
+ manager?: `0x${string}` | undefined;
370
+ }, {
371
+ type: "ERC20Incentive";
372
+ asset: string;
373
+ limit: bigint;
374
+ reward: bigint;
375
+ strategy: StrategyType;
376
+ manager?: string | undefined;
377
+ shouldMintAndAllocate?: boolean | undefined;
378
+ }>;
379
+ export declare const ERC20VariableIncentiveSchema: z.ZodObject<{
380
+ type: z.ZodLiteral<"ERC20VariableIncentive">;
381
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
382
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
383
+ reward: z.ZodBigInt;
384
+ limit: z.ZodBigInt;
385
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ type: "ERC20VariableIncentive";
388
+ asset: `0x${string}`;
389
+ manager: `0x${string}`;
390
+ limit: bigint;
391
+ reward: bigint;
392
+ shouldMintAndAllocate: boolean;
393
+ }, {
394
+ type: "ERC20VariableIncentive";
395
+ asset: string;
396
+ manager: string;
397
+ limit: bigint;
398
+ reward: bigint;
399
+ shouldMintAndAllocate?: boolean | undefined;
400
+ }>;
401
+ export declare const IncentiveCriteriaSchema: z.ZodObject<{
402
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
403
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
404
+ fieldIndex: z.ZodNumber;
405
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ signature: `0x${string}`;
408
+ fieldIndex: number;
409
+ targetContract: `0x${string}`;
410
+ criteriaType: SignatureType;
411
+ }, {
412
+ signature: string;
413
+ fieldIndex: number;
414
+ targetContract: string;
415
+ criteriaType: SignatureType;
416
+ }>;
417
+ export declare const ERC20VariableCriteriaIncentiveSchema: z.ZodObject<{
418
+ type: z.ZodLiteral<"ERC20VariableCriteriaIncentive">;
419
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
420
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
421
+ reward: z.ZodBigInt;
422
+ limit: z.ZodBigInt;
423
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
424
+ criteria: z.ZodObject<{
425
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
426
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
427
+ fieldIndex: z.ZodNumber;
428
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ signature: `0x${string}`;
431
+ fieldIndex: number;
432
+ targetContract: `0x${string}`;
433
+ criteriaType: SignatureType;
434
+ }, {
435
+ signature: string;
436
+ fieldIndex: number;
437
+ targetContract: string;
438
+ criteriaType: SignatureType;
439
+ }>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ type: "ERC20VariableCriteriaIncentive";
442
+ asset: `0x${string}`;
443
+ limit: bigint;
444
+ reward: bigint;
445
+ criteria: {
446
+ signature: `0x${string}`;
447
+ fieldIndex: number;
448
+ targetContract: `0x${string}`;
449
+ criteriaType: SignatureType;
450
+ };
451
+ shouldMintAndAllocate: boolean;
452
+ manager?: `0x${string}` | undefined;
453
+ }, {
454
+ type: "ERC20VariableCriteriaIncentive";
455
+ asset: string;
456
+ limit: bigint;
457
+ reward: bigint;
458
+ criteria: {
459
+ signature: string;
460
+ fieldIndex: number;
461
+ targetContract: string;
462
+ criteriaType: SignatureType;
463
+ };
464
+ manager?: string | undefined;
465
+ shouldMintAndAllocate?: boolean | undefined;
466
+ }>;
467
+ export declare const ERC20PeggedVariableCriteriaIncentiveSchema: z.ZodObject<{
468
+ type: z.ZodLiteral<"ERC20PeggedVariableCriteriaIncentive">;
469
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
470
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
471
+ maxReward: z.ZodBigInt;
472
+ peg: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
473
+ reward: z.ZodBigInt;
474
+ limit: z.ZodBigInt;
475
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
476
+ criteria: z.ZodObject<{
477
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
478
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
479
+ fieldIndex: z.ZodNumber;
480
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ signature: `0x${string}`;
483
+ fieldIndex: number;
484
+ targetContract: `0x${string}`;
485
+ criteriaType: SignatureType;
486
+ }, {
487
+ signature: string;
488
+ fieldIndex: number;
489
+ targetContract: string;
490
+ criteriaType: SignatureType;
491
+ }>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ type: "ERC20PeggedVariableCriteriaIncentive";
494
+ asset: `0x${string}`;
495
+ limit: bigint;
496
+ reward: bigint;
497
+ maxReward: bigint;
498
+ criteria: {
499
+ signature: `0x${string}`;
500
+ fieldIndex: number;
501
+ targetContract: `0x${string}`;
502
+ criteriaType: SignatureType;
503
+ };
504
+ shouldMintAndAllocate: boolean;
505
+ peg: `0x${string}`;
506
+ manager?: `0x${string}` | undefined;
507
+ }, {
508
+ type: "ERC20PeggedVariableCriteriaIncentive";
509
+ asset: string;
510
+ limit: bigint;
511
+ reward: bigint;
512
+ maxReward: bigint;
513
+ criteria: {
514
+ signature: string;
515
+ fieldIndex: number;
516
+ targetContract: string;
517
+ criteriaType: SignatureType;
518
+ };
519
+ peg: string;
520
+ manager?: string | undefined;
521
+ shouldMintAndAllocate?: boolean | undefined;
522
+ }>;
523
+ export declare const CGDAIncentiveSchema: z.ZodObject<{
524
+ type: z.ZodLiteral<"CGDAIncentive">;
525
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
526
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
527
+ initialReward: z.ZodBigInt;
528
+ rewardDecay: z.ZodBigInt;
529
+ rewardBoost: z.ZodBigInt;
530
+ totalBudget: z.ZodBigInt;
531
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ type: "CGDAIncentive";
534
+ asset: `0x${string}`;
535
+ manager: `0x${string}`;
536
+ initialReward: bigint;
537
+ rewardDecay: bigint;
538
+ rewardBoost: bigint;
539
+ totalBudget: bigint;
540
+ shouldMintAndAllocate: boolean;
541
+ }, {
542
+ type: "CGDAIncentive";
543
+ asset: string;
544
+ manager: string;
545
+ initialReward: bigint;
546
+ rewardDecay: bigint;
547
+ rewardBoost: bigint;
548
+ totalBudget: bigint;
549
+ shouldMintAndAllocate?: boolean | undefined;
550
+ }>;
551
+ export declare const PointsIncentiveSchema: z.ZodObject<{
552
+ type: z.ZodLiteral<"PointsIncentive">;
553
+ venue: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
554
+ selector: ZodType<`0x${string}`, ZodTypeDef, string>;
555
+ reward: z.ZodBigInt;
556
+ limit: z.ZodBigInt;
557
+ }, "strip", z.ZodTypeAny, {
558
+ type: "PointsIncentive";
559
+ selector: `0x${string}`;
560
+ limit: bigint;
561
+ reward: bigint;
562
+ venue: `0x${string}`;
563
+ }, {
564
+ type: "PointsIncentive";
565
+ selector: string;
566
+ limit: bigint;
567
+ reward: bigint;
568
+ venue: string;
569
+ }>;
570
+ export declare const BoostSeedConfigSchema: z.ZodObject<{
571
+ protocolFee: z.ZodBigInt;
572
+ maxParticipants: z.ZodBigInt;
573
+ budget: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodEffects<z.ZodObject<{
574
+ type: z.ZodLiteral<"ManagedBudget">;
575
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
576
+ authorized: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
577
+ roles: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodNumber, bigint, number>, ZodType<Roles, ZodTypeDef, Roles>>, "many">;
578
+ }, "strip", z.ZodTypeAny, {
579
+ type: "ManagedBudget";
580
+ owner: `0x${string}`;
581
+ roles: Roles[];
582
+ authorized: `0x${string}`[];
583
+ }, {
584
+ type: "ManagedBudget";
585
+ owner: string;
586
+ roles: number[];
587
+ authorized: string[];
588
+ }>, {
589
+ type: "ManagedBudget";
590
+ owner: `0x${string}`;
591
+ roles: Roles[];
592
+ authorized: `0x${string}`[];
593
+ }, {
594
+ type: "ManagedBudget";
595
+ owner: string;
596
+ roles: number[];
597
+ authorized: string[];
598
+ }>, z.ZodEffects<z.ZodObject<{
599
+ type: z.ZodLiteral<"ManagedBudgetWithFeesV2">;
600
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
601
+ authorized: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
602
+ managementFee: z.ZodBigInt;
603
+ roles: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodNumber, bigint, number>, ZodType<Roles, ZodTypeDef, Roles>>, "many">;
604
+ }, "strip", z.ZodTypeAny, {
605
+ type: "ManagedBudgetWithFeesV2";
606
+ owner: `0x${string}`;
607
+ roles: Roles[];
608
+ managementFee: bigint;
609
+ authorized: `0x${string}`[];
610
+ }, {
611
+ type: "ManagedBudgetWithFeesV2";
612
+ owner: string;
613
+ roles: number[];
614
+ managementFee: bigint;
615
+ authorized: string[];
616
+ }>, {
617
+ type: "ManagedBudgetWithFeesV2";
618
+ owner: `0x${string}`;
619
+ roles: Roles[];
620
+ managementFee: bigint;
621
+ authorized: `0x${string}`[];
622
+ }, {
623
+ type: "ManagedBudgetWithFeesV2";
624
+ owner: string;
625
+ roles: number[];
626
+ managementFee: bigint;
627
+ authorized: string[];
628
+ }>]>;
629
+ action: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodObject<{
630
+ type: z.ZodLiteral<"EventAction">;
631
+ actionClaimant: z.ZodObject<{
632
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
633
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
634
+ fieldIndex: z.ZodNumber;
635
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
636
+ chainid: z.ZodNumber;
637
+ }, "strip", z.ZodTypeAny, {
638
+ signature: `0x${string}`;
639
+ signatureType: SignatureType;
640
+ fieldIndex: number;
641
+ targetContract: `0x${string}`;
642
+ chainid: number;
643
+ }, {
644
+ signature: string;
645
+ signatureType: SignatureType;
646
+ fieldIndex: number;
647
+ targetContract: string;
648
+ chainid: number;
649
+ }>;
650
+ actionSteps: z.ZodArray<z.ZodObject<{
651
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
652
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
653
+ actionType: z.ZodOptional<z.ZodNumber>;
654
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
655
+ chainid: z.ZodNumber;
656
+ actionParameter: z.ZodObject<{
657
+ filterType: z.ZodNativeEnum<typeof FilterType>;
658
+ fieldType: z.ZodNativeEnum<typeof PrimitiveType>;
659
+ fieldIndex: z.ZodNumber;
660
+ filterData: ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ fieldIndex: number;
663
+ filterType: FilterType;
664
+ fieldType: PrimitiveType;
665
+ filterData: `0x${string}`;
666
+ }, {
667
+ fieldIndex: number;
668
+ filterType: FilterType;
669
+ fieldType: PrimitiveType;
670
+ filterData: `0x${string}`;
671
+ }>;
672
+ }, "strip", z.ZodTypeAny, {
673
+ signature: `0x${string}`;
674
+ signatureType: SignatureType;
675
+ targetContract: `0x${string}`;
676
+ chainid: number;
677
+ actionParameter: {
678
+ fieldIndex: number;
679
+ filterType: FilterType;
680
+ fieldType: PrimitiveType;
681
+ filterData: `0x${string}`;
682
+ };
683
+ actionType?: number | undefined;
684
+ }, {
685
+ signature: string;
686
+ signatureType: SignatureType;
687
+ targetContract: string;
688
+ chainid: number;
689
+ actionParameter: {
690
+ fieldIndex: number;
691
+ filterType: FilterType;
692
+ fieldType: PrimitiveType;
693
+ filterData: `0x${string}`;
694
+ };
695
+ actionType?: number | undefined;
696
+ }>, "many">;
697
+ }, "strip", z.ZodTypeAny, {
698
+ type: "EventAction";
699
+ actionClaimant: {
700
+ signature: `0x${string}`;
701
+ signatureType: SignatureType;
702
+ fieldIndex: number;
703
+ targetContract: `0x${string}`;
704
+ chainid: number;
705
+ };
706
+ actionSteps: {
707
+ signature: `0x${string}`;
708
+ signatureType: SignatureType;
709
+ targetContract: `0x${string}`;
710
+ chainid: number;
711
+ actionParameter: {
712
+ fieldIndex: number;
713
+ filterType: FilterType;
714
+ fieldType: PrimitiveType;
715
+ filterData: `0x${string}`;
716
+ };
717
+ actionType?: number | undefined;
718
+ }[];
719
+ }, {
720
+ type: "EventAction";
721
+ actionClaimant: {
722
+ signature: string;
723
+ signatureType: SignatureType;
724
+ fieldIndex: number;
725
+ targetContract: string;
726
+ chainid: number;
727
+ };
728
+ actionSteps: {
729
+ signature: string;
730
+ signatureType: SignatureType;
731
+ targetContract: string;
732
+ chainid: number;
733
+ actionParameter: {
734
+ fieldIndex: number;
735
+ filterType: FilterType;
736
+ fieldType: PrimitiveType;
737
+ filterData: `0x${string}`;
738
+ };
739
+ actionType?: number | undefined;
740
+ }[];
741
+ }>]>;
742
+ validator: z.ZodOptional<z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodObject<{
743
+ type: z.ZodLiteral<"SignerValidator">;
744
+ signers: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
745
+ validatorCaller: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
746
+ }, "strip", z.ZodTypeAny, {
747
+ type: "SignerValidator";
748
+ validatorCaller: `0x${string}`;
749
+ signers: `0x${string}`[];
750
+ }, {
751
+ type: "SignerValidator";
752
+ validatorCaller: string;
753
+ signers: string[];
754
+ }>, z.ZodObject<{
755
+ type: z.ZodLiteral<"LimitedSignerValidator">;
756
+ signers: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
757
+ validatorCaller: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
758
+ maxClaimCount: z.ZodNumber;
759
+ }, "strip", z.ZodTypeAny, {
760
+ type: "LimitedSignerValidator";
761
+ validatorCaller: `0x${string}`;
762
+ maxClaimCount: number;
763
+ signers: `0x${string}`[];
764
+ }, {
765
+ type: "LimitedSignerValidator";
766
+ validatorCaller: string;
767
+ maxClaimCount: number;
768
+ signers: string[];
769
+ }>]>>;
770
+ allowList: z.ZodOptional<z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodObject<{
771
+ type: z.ZodLiteral<"SimpleDenyList">;
772
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
773
+ denied: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
774
+ }, "strip", z.ZodTypeAny, {
775
+ type: "SimpleDenyList";
776
+ owner: `0x${string}`;
777
+ denied: `0x${string}`[];
778
+ }, {
779
+ type: "SimpleDenyList";
780
+ owner: string;
781
+ denied: string[];
782
+ }>, z.ZodObject<{
783
+ type: z.ZodLiteral<"SimpleAllowList">;
784
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
785
+ allowed: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
786
+ }, "strip", z.ZodTypeAny, {
787
+ type: "SimpleAllowList";
788
+ owner: `0x${string}`;
789
+ allowed: `0x${string}`[];
790
+ }, {
791
+ type: "SimpleAllowList";
792
+ owner: string;
793
+ allowed: string[];
794
+ }>]>>;
795
+ incentives: z.ZodArray<z.ZodUnion<[z.ZodObject<{
796
+ type: z.ZodLiteral<"AllowListIncentive">;
797
+ allowList: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
798
+ limit: z.ZodBigInt;
799
+ }, "strip", z.ZodTypeAny, {
800
+ type: "AllowListIncentive";
801
+ allowList: `0x${string}`;
802
+ limit: bigint;
803
+ }, {
804
+ type: "AllowListIncentive";
805
+ allowList: string;
806
+ limit: bigint;
807
+ }>, z.ZodObject<{
808
+ type: z.ZodLiteral<"ERC20Incentive">;
809
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
810
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
811
+ strategy: z.ZodNativeEnum<typeof StrategyType>;
812
+ reward: z.ZodBigInt;
813
+ limit: z.ZodBigInt;
814
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ type: "ERC20Incentive";
817
+ asset: `0x${string}`;
818
+ limit: bigint;
819
+ reward: bigint;
820
+ strategy: StrategyType;
821
+ shouldMintAndAllocate: boolean;
822
+ manager?: `0x${string}` | undefined;
823
+ }, {
824
+ type: "ERC20Incentive";
825
+ asset: string;
826
+ limit: bigint;
827
+ reward: bigint;
828
+ strategy: StrategyType;
829
+ manager?: string | undefined;
830
+ shouldMintAndAllocate?: boolean | undefined;
831
+ }>, z.ZodObject<{
832
+ type: z.ZodLiteral<"ERC20VariableCriteriaIncentive">;
833
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
834
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
835
+ reward: z.ZodBigInt;
836
+ limit: z.ZodBigInt;
837
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
838
+ criteria: z.ZodObject<{
839
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
840
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
841
+ fieldIndex: z.ZodNumber;
842
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
843
+ }, "strip", z.ZodTypeAny, {
844
+ signature: `0x${string}`;
845
+ fieldIndex: number;
846
+ targetContract: `0x${string}`;
847
+ criteriaType: SignatureType;
848
+ }, {
849
+ signature: string;
850
+ fieldIndex: number;
851
+ targetContract: string;
852
+ criteriaType: SignatureType;
853
+ }>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ type: "ERC20VariableCriteriaIncentive";
856
+ asset: `0x${string}`;
857
+ limit: bigint;
858
+ reward: bigint;
859
+ criteria: {
860
+ signature: `0x${string}`;
861
+ fieldIndex: number;
862
+ targetContract: `0x${string}`;
863
+ criteriaType: SignatureType;
864
+ };
865
+ shouldMintAndAllocate: boolean;
866
+ manager?: `0x${string}` | undefined;
867
+ }, {
868
+ type: "ERC20VariableCriteriaIncentive";
869
+ asset: string;
870
+ limit: bigint;
871
+ reward: bigint;
872
+ criteria: {
873
+ signature: string;
874
+ fieldIndex: number;
875
+ targetContract: string;
876
+ criteriaType: SignatureType;
877
+ };
878
+ manager?: string | undefined;
879
+ shouldMintAndAllocate?: boolean | undefined;
880
+ }>, z.ZodObject<{
881
+ type: z.ZodLiteral<"ERC20PeggedVariableCriteriaIncentive">;
882
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
883
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
884
+ maxReward: z.ZodBigInt;
885
+ peg: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
886
+ reward: z.ZodBigInt;
887
+ limit: z.ZodBigInt;
888
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
889
+ criteria: z.ZodObject<{
890
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
891
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
892
+ fieldIndex: z.ZodNumber;
893
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
894
+ }, "strip", z.ZodTypeAny, {
895
+ signature: `0x${string}`;
896
+ fieldIndex: number;
897
+ targetContract: `0x${string}`;
898
+ criteriaType: SignatureType;
899
+ }, {
900
+ signature: string;
901
+ fieldIndex: number;
902
+ targetContract: string;
903
+ criteriaType: SignatureType;
904
+ }>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ type: "ERC20PeggedVariableCriteriaIncentive";
907
+ asset: `0x${string}`;
908
+ limit: bigint;
909
+ reward: bigint;
910
+ maxReward: bigint;
911
+ criteria: {
912
+ signature: `0x${string}`;
913
+ fieldIndex: number;
914
+ targetContract: `0x${string}`;
915
+ criteriaType: SignatureType;
916
+ };
917
+ shouldMintAndAllocate: boolean;
918
+ peg: `0x${string}`;
919
+ manager?: `0x${string}` | undefined;
920
+ }, {
921
+ type: "ERC20PeggedVariableCriteriaIncentive";
922
+ asset: string;
923
+ limit: bigint;
924
+ reward: bigint;
925
+ maxReward: bigint;
926
+ criteria: {
927
+ signature: string;
928
+ fieldIndex: number;
929
+ targetContract: string;
930
+ criteriaType: SignatureType;
931
+ };
932
+ peg: string;
933
+ manager?: string | undefined;
934
+ shouldMintAndAllocate?: boolean | undefined;
935
+ }>, z.ZodObject<{
936
+ type: z.ZodLiteral<"ERC20VariableIncentive">;
937
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
938
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
939
+ reward: z.ZodBigInt;
940
+ limit: z.ZodBigInt;
941
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
942
+ }, "strip", z.ZodTypeAny, {
943
+ type: "ERC20VariableIncentive";
944
+ asset: `0x${string}`;
945
+ manager: `0x${string}`;
946
+ limit: bigint;
947
+ reward: bigint;
948
+ shouldMintAndAllocate: boolean;
949
+ }, {
950
+ type: "ERC20VariableIncentive";
951
+ asset: string;
952
+ manager: string;
953
+ limit: bigint;
954
+ reward: bigint;
955
+ shouldMintAndAllocate?: boolean | undefined;
956
+ }>, z.ZodObject<{
957
+ type: z.ZodLiteral<"CGDAIncentive">;
958
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
959
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
960
+ initialReward: z.ZodBigInt;
961
+ rewardDecay: z.ZodBigInt;
962
+ rewardBoost: z.ZodBigInt;
963
+ totalBudget: z.ZodBigInt;
964
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ type: "CGDAIncentive";
967
+ asset: `0x${string}`;
968
+ manager: `0x${string}`;
969
+ initialReward: bigint;
970
+ rewardDecay: bigint;
971
+ rewardBoost: bigint;
972
+ totalBudget: bigint;
973
+ shouldMintAndAllocate: boolean;
974
+ }, {
975
+ type: "CGDAIncentive";
976
+ asset: string;
977
+ manager: string;
978
+ initialReward: bigint;
979
+ rewardDecay: bigint;
980
+ rewardBoost: bigint;
981
+ totalBudget: bigint;
982
+ shouldMintAndAllocate?: boolean | undefined;
983
+ }>, z.ZodObject<{
984
+ type: z.ZodLiteral<"PointsIncentive">;
985
+ venue: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
986
+ selector: ZodType<`0x${string}`, ZodTypeDef, string>;
987
+ reward: z.ZodBigInt;
988
+ limit: z.ZodBigInt;
989
+ }, "strip", z.ZodTypeAny, {
990
+ type: "PointsIncentive";
991
+ selector: `0x${string}`;
992
+ limit: bigint;
993
+ reward: bigint;
994
+ venue: `0x${string}`;
995
+ }, {
996
+ type: "PointsIncentive";
997
+ selector: string;
998
+ limit: bigint;
999
+ reward: bigint;
1000
+ venue: string;
1001
+ }>]>, "many">;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ budget: `0x${string}` | {
1004
+ type: "ManagedBudget";
1005
+ owner: `0x${string}`;
1006
+ roles: Roles[];
1007
+ authorized: `0x${string}`[];
1008
+ } | {
1009
+ type: "ManagedBudgetWithFeesV2";
1010
+ owner: `0x${string}`;
1011
+ roles: Roles[];
1012
+ managementFee: bigint;
1013
+ authorized: `0x${string}`[];
1014
+ };
1015
+ protocolFee: bigint;
1016
+ maxParticipants: bigint;
1017
+ action: `0x${string}` | {
1018
+ type: "EventAction";
1019
+ actionClaimant: {
1020
+ signature: `0x${string}`;
1021
+ signatureType: SignatureType;
1022
+ fieldIndex: number;
1023
+ targetContract: `0x${string}`;
1024
+ chainid: number;
1025
+ };
1026
+ actionSteps: {
1027
+ signature: `0x${string}`;
1028
+ signatureType: SignatureType;
1029
+ targetContract: `0x${string}`;
1030
+ chainid: number;
1031
+ actionParameter: {
1032
+ fieldIndex: number;
1033
+ filterType: FilterType;
1034
+ fieldType: PrimitiveType;
1035
+ filterData: `0x${string}`;
1036
+ };
1037
+ actionType?: number | undefined;
1038
+ }[];
1039
+ };
1040
+ incentives: ({
1041
+ type: "AllowListIncentive";
1042
+ allowList: `0x${string}`;
1043
+ limit: bigint;
1044
+ } | {
1045
+ type: "ERC20Incentive";
1046
+ asset: `0x${string}`;
1047
+ limit: bigint;
1048
+ reward: bigint;
1049
+ strategy: StrategyType;
1050
+ shouldMintAndAllocate: boolean;
1051
+ manager?: `0x${string}` | undefined;
1052
+ } | {
1053
+ type: "ERC20VariableCriteriaIncentive";
1054
+ asset: `0x${string}`;
1055
+ limit: bigint;
1056
+ reward: bigint;
1057
+ criteria: {
1058
+ signature: `0x${string}`;
1059
+ fieldIndex: number;
1060
+ targetContract: `0x${string}`;
1061
+ criteriaType: SignatureType;
1062
+ };
1063
+ shouldMintAndAllocate: boolean;
1064
+ manager?: `0x${string}` | undefined;
1065
+ } | {
1066
+ type: "ERC20PeggedVariableCriteriaIncentive";
1067
+ asset: `0x${string}`;
1068
+ limit: bigint;
1069
+ reward: bigint;
1070
+ maxReward: bigint;
1071
+ criteria: {
1072
+ signature: `0x${string}`;
1073
+ fieldIndex: number;
1074
+ targetContract: `0x${string}`;
1075
+ criteriaType: SignatureType;
1076
+ };
1077
+ shouldMintAndAllocate: boolean;
1078
+ peg: `0x${string}`;
1079
+ manager?: `0x${string}` | undefined;
1080
+ } | {
1081
+ type: "ERC20VariableIncentive";
1082
+ asset: `0x${string}`;
1083
+ manager: `0x${string}`;
1084
+ limit: bigint;
1085
+ reward: bigint;
1086
+ shouldMintAndAllocate: boolean;
1087
+ } | {
1088
+ type: "CGDAIncentive";
1089
+ asset: `0x${string}`;
1090
+ manager: `0x${string}`;
1091
+ initialReward: bigint;
1092
+ rewardDecay: bigint;
1093
+ rewardBoost: bigint;
1094
+ totalBudget: bigint;
1095
+ shouldMintAndAllocate: boolean;
1096
+ } | {
1097
+ type: "PointsIncentive";
1098
+ selector: `0x${string}`;
1099
+ limit: bigint;
1100
+ reward: bigint;
1101
+ venue: `0x${string}`;
1102
+ })[];
1103
+ allowList?: `0x${string}` | {
1104
+ type: "SimpleDenyList";
1105
+ owner: `0x${string}`;
1106
+ denied: `0x${string}`[];
1107
+ } | {
1108
+ type: "SimpleAllowList";
1109
+ owner: `0x${string}`;
1110
+ allowed: `0x${string}`[];
1111
+ } | undefined;
1112
+ validator?: `0x${string}` | {
1113
+ type: "SignerValidator";
1114
+ validatorCaller: `0x${string}`;
1115
+ signers: `0x${string}`[];
1116
+ } | {
1117
+ type: "LimitedSignerValidator";
1118
+ validatorCaller: `0x${string}`;
1119
+ maxClaimCount: number;
1120
+ signers: `0x${string}`[];
1121
+ } | undefined;
1122
+ }, {
1123
+ budget: string | {
1124
+ type: "ManagedBudget";
1125
+ owner: string;
1126
+ roles: number[];
1127
+ authorized: string[];
1128
+ } | {
1129
+ type: "ManagedBudgetWithFeesV2";
1130
+ owner: string;
1131
+ roles: number[];
1132
+ managementFee: bigint;
1133
+ authorized: string[];
1134
+ };
1135
+ protocolFee: bigint;
1136
+ maxParticipants: bigint;
1137
+ action: string | {
1138
+ type: "EventAction";
1139
+ actionClaimant: {
1140
+ signature: string;
1141
+ signatureType: SignatureType;
1142
+ fieldIndex: number;
1143
+ targetContract: string;
1144
+ chainid: number;
1145
+ };
1146
+ actionSteps: {
1147
+ signature: string;
1148
+ signatureType: SignatureType;
1149
+ targetContract: string;
1150
+ chainid: number;
1151
+ actionParameter: {
1152
+ fieldIndex: number;
1153
+ filterType: FilterType;
1154
+ fieldType: PrimitiveType;
1155
+ filterData: `0x${string}`;
1156
+ };
1157
+ actionType?: number | undefined;
1158
+ }[];
1159
+ };
1160
+ incentives: ({
1161
+ type: "AllowListIncentive";
1162
+ allowList: string;
1163
+ limit: bigint;
1164
+ } | {
1165
+ type: "ERC20Incentive";
1166
+ asset: string;
1167
+ limit: bigint;
1168
+ reward: bigint;
1169
+ strategy: StrategyType;
1170
+ manager?: string | undefined;
1171
+ shouldMintAndAllocate?: boolean | undefined;
1172
+ } | {
1173
+ type: "ERC20VariableCriteriaIncentive";
1174
+ asset: string;
1175
+ limit: bigint;
1176
+ reward: bigint;
1177
+ criteria: {
1178
+ signature: string;
1179
+ fieldIndex: number;
1180
+ targetContract: string;
1181
+ criteriaType: SignatureType;
1182
+ };
1183
+ manager?: string | undefined;
1184
+ shouldMintAndAllocate?: boolean | undefined;
1185
+ } | {
1186
+ type: "ERC20PeggedVariableCriteriaIncentive";
1187
+ asset: string;
1188
+ limit: bigint;
1189
+ reward: bigint;
1190
+ maxReward: bigint;
1191
+ criteria: {
1192
+ signature: string;
1193
+ fieldIndex: number;
1194
+ targetContract: string;
1195
+ criteriaType: SignatureType;
1196
+ };
1197
+ peg: string;
1198
+ manager?: string | undefined;
1199
+ shouldMintAndAllocate?: boolean | undefined;
1200
+ } | {
1201
+ type: "ERC20VariableIncentive";
1202
+ asset: string;
1203
+ manager: string;
1204
+ limit: bigint;
1205
+ reward: bigint;
1206
+ shouldMintAndAllocate?: boolean | undefined;
1207
+ } | {
1208
+ type: "CGDAIncentive";
1209
+ asset: string;
1210
+ manager: string;
1211
+ initialReward: bigint;
1212
+ rewardDecay: bigint;
1213
+ rewardBoost: bigint;
1214
+ totalBudget: bigint;
1215
+ shouldMintAndAllocate?: boolean | undefined;
1216
+ } | {
1217
+ type: "PointsIncentive";
1218
+ selector: string;
1219
+ limit: bigint;
1220
+ reward: bigint;
1221
+ venue: string;
1222
+ })[];
1223
+ allowList?: string | {
1224
+ type: "SimpleDenyList";
1225
+ owner: string;
1226
+ denied: string[];
1227
+ } | {
1228
+ type: "SimpleAllowList";
1229
+ owner: string;
1230
+ allowed: string[];
1231
+ } | undefined;
1232
+ validator?: string | {
1233
+ type: "SignerValidator";
1234
+ validatorCaller: string;
1235
+ signers: string[];
1236
+ } | {
1237
+ type: "LimitedSignerValidator";
1238
+ validatorCaller: string;
1239
+ maxClaimCount: number;
1240
+ signers: string[];
1241
+ } | undefined;
1242
+ }>;
1243
+ export type BoostSeedConfig = z.infer<typeof BoostSeedConfigSchema>;
1244
+ export declare function makeSeed({ asset, account, chainId, }: {
1245
+ asset?: Address;
1246
+ account?: Address;
1247
+ chainId: number;
1248
+ }): BoostConfig;
1249
+ export declare function getCreateBoostPayloadFromBoostConfig(seedConfigRaw: unknown, core: BoostCore): Promise<CreateBoostPayload>;
1250
+ export {};
1251
+ //# sourceMappingURL=seed.d.ts.map