@boostxyz/cli 5.0.7 → 6.0.0-canary.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,1278 @@
1
+ import { type AllowListIncentivePayload, BoostCore, type CGDAIncentivePayload, type CreateBoostPayload, type DeployableOptions, type DeployablePayloadOrAddress, type ERC20IncentivePayload, type ERC20PeggedVariableCriteriaIncentiveV2Payload, type ERC20VariableCriteriaIncentiveV2Payload, type ERC20VariableIncentivePayload, type EventActionPayload, FilterType, type LimitedSignerValidatorPayload, type ManagedBudgetWithFeesV2Payload, type PointsIncentivePayload, PrimitiveType, Roles, SignatureType, type SignerValidatorPayload, type SimpleAllowListPayload, type SimpleDenyListPayload, StrategyType, ValueType } 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<ERC20PeggedVariableCriteriaIncentiveV2Payload> & {
82
+ shouldMintAndAllocate?: boolean;
83
+ }) | (Identifiable<ERC20VariableCriteriaIncentiveV2Payload> & {
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
+ valueType: z.ZodNativeEnum<typeof ValueType>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ signature: `0x${string}`;
409
+ fieldIndex: number;
410
+ targetContract: `0x${string}`;
411
+ criteriaType: SignatureType;
412
+ valueType: ValueType;
413
+ }, {
414
+ signature: string;
415
+ fieldIndex: number;
416
+ targetContract: string;
417
+ criteriaType: SignatureType;
418
+ valueType: ValueType;
419
+ }>;
420
+ export declare const ERC20VariableCriteriaIncentiveV2Schema: z.ZodObject<{
421
+ type: z.ZodLiteral<"ERC20VariableCriteriaIncentiveV2">;
422
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
423
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
424
+ reward: z.ZodBigInt;
425
+ limit: z.ZodBigInt;
426
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
427
+ criteria: z.ZodObject<{
428
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
429
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
430
+ fieldIndex: z.ZodNumber;
431
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
432
+ valueType: z.ZodNativeEnum<typeof ValueType>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ signature: `0x${string}`;
435
+ fieldIndex: number;
436
+ targetContract: `0x${string}`;
437
+ criteriaType: SignatureType;
438
+ valueType: ValueType;
439
+ }, {
440
+ signature: string;
441
+ fieldIndex: number;
442
+ targetContract: string;
443
+ criteriaType: SignatureType;
444
+ valueType: ValueType;
445
+ }>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ type: "ERC20VariableCriteriaIncentiveV2";
448
+ asset: `0x${string}`;
449
+ limit: bigint;
450
+ reward: bigint;
451
+ criteria: {
452
+ signature: `0x${string}`;
453
+ fieldIndex: number;
454
+ targetContract: `0x${string}`;
455
+ criteriaType: SignatureType;
456
+ valueType: ValueType;
457
+ };
458
+ shouldMintAndAllocate: boolean;
459
+ manager?: `0x${string}` | undefined;
460
+ }, {
461
+ type: "ERC20VariableCriteriaIncentiveV2";
462
+ asset: string;
463
+ limit: bigint;
464
+ reward: bigint;
465
+ criteria: {
466
+ signature: string;
467
+ fieldIndex: number;
468
+ targetContract: string;
469
+ criteriaType: SignatureType;
470
+ valueType: ValueType;
471
+ };
472
+ manager?: string | undefined;
473
+ shouldMintAndAllocate?: boolean | undefined;
474
+ }>;
475
+ export declare const ERC20PeggedVariableCriteriaIncentiveV2Schema: z.ZodObject<{
476
+ type: z.ZodLiteral<"ERC20PeggedVariableCriteriaIncentiveV2">;
477
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
478
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
479
+ maxReward: z.ZodBigInt;
480
+ peg: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
481
+ reward: z.ZodBigInt;
482
+ limit: z.ZodBigInt;
483
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
484
+ criteria: z.ZodObject<{
485
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
486
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
487
+ fieldIndex: z.ZodNumber;
488
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
489
+ valueType: z.ZodNativeEnum<typeof ValueType>;
490
+ }, "strip", z.ZodTypeAny, {
491
+ signature: `0x${string}`;
492
+ fieldIndex: number;
493
+ targetContract: `0x${string}`;
494
+ criteriaType: SignatureType;
495
+ valueType: ValueType;
496
+ }, {
497
+ signature: string;
498
+ fieldIndex: number;
499
+ targetContract: string;
500
+ criteriaType: SignatureType;
501
+ valueType: ValueType;
502
+ }>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ type: "ERC20PeggedVariableCriteriaIncentiveV2";
505
+ asset: `0x${string}`;
506
+ limit: bigint;
507
+ reward: bigint;
508
+ maxReward: bigint;
509
+ criteria: {
510
+ signature: `0x${string}`;
511
+ fieldIndex: number;
512
+ targetContract: `0x${string}`;
513
+ criteriaType: SignatureType;
514
+ valueType: ValueType;
515
+ };
516
+ shouldMintAndAllocate: boolean;
517
+ peg: `0x${string}`;
518
+ manager?: `0x${string}` | undefined;
519
+ }, {
520
+ type: "ERC20PeggedVariableCriteriaIncentiveV2";
521
+ asset: string;
522
+ limit: bigint;
523
+ reward: bigint;
524
+ maxReward: bigint;
525
+ criteria: {
526
+ signature: string;
527
+ fieldIndex: number;
528
+ targetContract: string;
529
+ criteriaType: SignatureType;
530
+ valueType: ValueType;
531
+ };
532
+ peg: string;
533
+ manager?: string | undefined;
534
+ shouldMintAndAllocate?: boolean | undefined;
535
+ }>;
536
+ export declare const CGDAIncentiveSchema: z.ZodObject<{
537
+ type: z.ZodLiteral<"CGDAIncentive">;
538
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
539
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
540
+ initialReward: z.ZodBigInt;
541
+ rewardDecay: z.ZodBigInt;
542
+ rewardBoost: z.ZodBigInt;
543
+ totalBudget: z.ZodBigInt;
544
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ type: "CGDAIncentive";
547
+ asset: `0x${string}`;
548
+ manager: `0x${string}`;
549
+ initialReward: bigint;
550
+ rewardDecay: bigint;
551
+ rewardBoost: bigint;
552
+ totalBudget: bigint;
553
+ shouldMintAndAllocate: boolean;
554
+ }, {
555
+ type: "CGDAIncentive";
556
+ asset: string;
557
+ manager: string;
558
+ initialReward: bigint;
559
+ rewardDecay: bigint;
560
+ rewardBoost: bigint;
561
+ totalBudget: bigint;
562
+ shouldMintAndAllocate?: boolean | undefined;
563
+ }>;
564
+ export declare const PointsIncentiveSchema: z.ZodObject<{
565
+ type: z.ZodLiteral<"PointsIncentive">;
566
+ venue: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
567
+ selector: ZodType<`0x${string}`, ZodTypeDef, string>;
568
+ reward: z.ZodBigInt;
569
+ limit: z.ZodBigInt;
570
+ }, "strip", z.ZodTypeAny, {
571
+ type: "PointsIncentive";
572
+ selector: `0x${string}`;
573
+ limit: bigint;
574
+ reward: bigint;
575
+ venue: `0x${string}`;
576
+ }, {
577
+ type: "PointsIncentive";
578
+ selector: string;
579
+ limit: bigint;
580
+ reward: bigint;
581
+ venue: string;
582
+ }>;
583
+ export declare const BoostSeedConfigSchema: z.ZodObject<{
584
+ protocolFee: z.ZodBigInt;
585
+ maxParticipants: z.ZodBigInt;
586
+ budget: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodEffects<z.ZodObject<{
587
+ type: z.ZodLiteral<"ManagedBudget">;
588
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
589
+ authorized: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
590
+ roles: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodNumber, bigint, number>, ZodType<Roles, ZodTypeDef, Roles>>, "many">;
591
+ }, "strip", z.ZodTypeAny, {
592
+ type: "ManagedBudget";
593
+ owner: `0x${string}`;
594
+ roles: Roles[];
595
+ authorized: `0x${string}`[];
596
+ }, {
597
+ type: "ManagedBudget";
598
+ owner: string;
599
+ roles: number[];
600
+ authorized: string[];
601
+ }>, {
602
+ type: "ManagedBudget";
603
+ owner: `0x${string}`;
604
+ roles: Roles[];
605
+ authorized: `0x${string}`[];
606
+ }, {
607
+ type: "ManagedBudget";
608
+ owner: string;
609
+ roles: number[];
610
+ authorized: string[];
611
+ }>, z.ZodEffects<z.ZodObject<{
612
+ type: z.ZodLiteral<"ManagedBudgetWithFeesV2">;
613
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
614
+ authorized: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
615
+ managementFee: z.ZodBigInt;
616
+ roles: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodNumber, bigint, number>, ZodType<Roles, ZodTypeDef, Roles>>, "many">;
617
+ }, "strip", z.ZodTypeAny, {
618
+ type: "ManagedBudgetWithFeesV2";
619
+ owner: `0x${string}`;
620
+ roles: Roles[];
621
+ managementFee: bigint;
622
+ authorized: `0x${string}`[];
623
+ }, {
624
+ type: "ManagedBudgetWithFeesV2";
625
+ owner: string;
626
+ roles: number[];
627
+ managementFee: bigint;
628
+ authorized: string[];
629
+ }>, {
630
+ type: "ManagedBudgetWithFeesV2";
631
+ owner: `0x${string}`;
632
+ roles: Roles[];
633
+ managementFee: bigint;
634
+ authorized: `0x${string}`[];
635
+ }, {
636
+ type: "ManagedBudgetWithFeesV2";
637
+ owner: string;
638
+ roles: number[];
639
+ managementFee: bigint;
640
+ authorized: string[];
641
+ }>]>;
642
+ action: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodObject<{
643
+ type: z.ZodLiteral<"EventAction">;
644
+ actionClaimant: z.ZodObject<{
645
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
646
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
647
+ fieldIndex: z.ZodNumber;
648
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
649
+ chainid: z.ZodNumber;
650
+ }, "strip", z.ZodTypeAny, {
651
+ signature: `0x${string}`;
652
+ signatureType: SignatureType;
653
+ fieldIndex: number;
654
+ targetContract: `0x${string}`;
655
+ chainid: number;
656
+ }, {
657
+ signature: string;
658
+ signatureType: SignatureType;
659
+ fieldIndex: number;
660
+ targetContract: string;
661
+ chainid: number;
662
+ }>;
663
+ actionSteps: z.ZodArray<z.ZodObject<{
664
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
665
+ signatureType: z.ZodNativeEnum<typeof SignatureType>;
666
+ actionType: z.ZodOptional<z.ZodNumber>;
667
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
668
+ chainid: z.ZodNumber;
669
+ actionParameter: z.ZodObject<{
670
+ filterType: z.ZodNativeEnum<typeof FilterType>;
671
+ fieldType: z.ZodNativeEnum<typeof PrimitiveType>;
672
+ fieldIndex: z.ZodNumber;
673
+ filterData: ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ fieldIndex: number;
676
+ filterType: FilterType;
677
+ fieldType: PrimitiveType;
678
+ filterData: `0x${string}`;
679
+ }, {
680
+ fieldIndex: number;
681
+ filterType: FilterType;
682
+ fieldType: PrimitiveType;
683
+ filterData: `0x${string}`;
684
+ }>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ signature: `0x${string}`;
687
+ signatureType: SignatureType;
688
+ targetContract: `0x${string}`;
689
+ chainid: number;
690
+ actionParameter: {
691
+ fieldIndex: number;
692
+ filterType: FilterType;
693
+ fieldType: PrimitiveType;
694
+ filterData: `0x${string}`;
695
+ };
696
+ actionType?: number | undefined;
697
+ }, {
698
+ signature: string;
699
+ signatureType: SignatureType;
700
+ targetContract: string;
701
+ chainid: number;
702
+ actionParameter: {
703
+ fieldIndex: number;
704
+ filterType: FilterType;
705
+ fieldType: PrimitiveType;
706
+ filterData: `0x${string}`;
707
+ };
708
+ actionType?: number | undefined;
709
+ }>, "many">;
710
+ }, "strip", z.ZodTypeAny, {
711
+ type: "EventAction";
712
+ actionClaimant: {
713
+ signature: `0x${string}`;
714
+ signatureType: SignatureType;
715
+ fieldIndex: number;
716
+ targetContract: `0x${string}`;
717
+ chainid: number;
718
+ };
719
+ actionSteps: {
720
+ signature: `0x${string}`;
721
+ signatureType: SignatureType;
722
+ targetContract: `0x${string}`;
723
+ chainid: number;
724
+ actionParameter: {
725
+ fieldIndex: number;
726
+ filterType: FilterType;
727
+ fieldType: PrimitiveType;
728
+ filterData: `0x${string}`;
729
+ };
730
+ actionType?: number | undefined;
731
+ }[];
732
+ }, {
733
+ type: "EventAction";
734
+ actionClaimant: {
735
+ signature: string;
736
+ signatureType: SignatureType;
737
+ fieldIndex: number;
738
+ targetContract: string;
739
+ chainid: number;
740
+ };
741
+ actionSteps: {
742
+ signature: string;
743
+ signatureType: SignatureType;
744
+ targetContract: string;
745
+ chainid: number;
746
+ actionParameter: {
747
+ fieldIndex: number;
748
+ filterType: FilterType;
749
+ fieldType: PrimitiveType;
750
+ filterData: `0x${string}`;
751
+ };
752
+ actionType?: number | undefined;
753
+ }[];
754
+ }>]>;
755
+ validator: z.ZodOptional<z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodObject<{
756
+ type: z.ZodLiteral<"SignerValidator">;
757
+ signers: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
758
+ validatorCaller: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ type: "SignerValidator";
761
+ validatorCaller: `0x${string}`;
762
+ signers: `0x${string}`[];
763
+ }, {
764
+ type: "SignerValidator";
765
+ validatorCaller: string;
766
+ signers: string[];
767
+ }>, z.ZodObject<{
768
+ type: z.ZodLiteral<"LimitedSignerValidator">;
769
+ signers: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
770
+ validatorCaller: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
771
+ maxClaimCount: z.ZodNumber;
772
+ }, "strip", z.ZodTypeAny, {
773
+ type: "LimitedSignerValidator";
774
+ validatorCaller: `0x${string}`;
775
+ maxClaimCount: number;
776
+ signers: `0x${string}`[];
777
+ }, {
778
+ type: "LimitedSignerValidator";
779
+ validatorCaller: string;
780
+ maxClaimCount: number;
781
+ signers: string[];
782
+ }>]>>;
783
+ allowList: z.ZodOptional<z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, z.ZodObject<{
784
+ type: z.ZodLiteral<"SimpleDenyList">;
785
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
786
+ denied: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
787
+ }, "strip", z.ZodTypeAny, {
788
+ type: "SimpleDenyList";
789
+ owner: `0x${string}`;
790
+ denied: `0x${string}`[];
791
+ }, {
792
+ type: "SimpleDenyList";
793
+ owner: string;
794
+ denied: string[];
795
+ }>, z.ZodObject<{
796
+ type: z.ZodLiteral<"SimpleAllowList">;
797
+ owner: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
798
+ allowed: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>, "many">;
799
+ }, "strip", z.ZodTypeAny, {
800
+ type: "SimpleAllowList";
801
+ owner: `0x${string}`;
802
+ allowed: `0x${string}`[];
803
+ }, {
804
+ type: "SimpleAllowList";
805
+ owner: string;
806
+ allowed: string[];
807
+ }>]>>;
808
+ incentives: z.ZodArray<z.ZodUnion<[z.ZodObject<{
809
+ type: z.ZodLiteral<"AllowListIncentive">;
810
+ allowList: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
811
+ limit: z.ZodBigInt;
812
+ }, "strip", z.ZodTypeAny, {
813
+ type: "AllowListIncentive";
814
+ allowList: `0x${string}`;
815
+ limit: bigint;
816
+ }, {
817
+ type: "AllowListIncentive";
818
+ allowList: string;
819
+ limit: bigint;
820
+ }>, z.ZodObject<{
821
+ type: z.ZodLiteral<"ERC20Incentive">;
822
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
823
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
824
+ strategy: z.ZodNativeEnum<typeof StrategyType>;
825
+ reward: z.ZodBigInt;
826
+ limit: z.ZodBigInt;
827
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ type: "ERC20Incentive";
830
+ asset: `0x${string}`;
831
+ limit: bigint;
832
+ reward: bigint;
833
+ strategy: StrategyType;
834
+ shouldMintAndAllocate: boolean;
835
+ manager?: `0x${string}` | undefined;
836
+ }, {
837
+ type: "ERC20Incentive";
838
+ asset: string;
839
+ limit: bigint;
840
+ reward: bigint;
841
+ strategy: StrategyType;
842
+ manager?: string | undefined;
843
+ shouldMintAndAllocate?: boolean | undefined;
844
+ }>, z.ZodObject<{
845
+ type: z.ZodLiteral<"ERC20VariableCriteriaIncentiveV2">;
846
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
847
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
848
+ reward: z.ZodBigInt;
849
+ limit: z.ZodBigInt;
850
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
851
+ criteria: z.ZodObject<{
852
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
853
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
854
+ fieldIndex: z.ZodNumber;
855
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
856
+ valueType: z.ZodNativeEnum<typeof ValueType>;
857
+ }, "strip", z.ZodTypeAny, {
858
+ signature: `0x${string}`;
859
+ fieldIndex: number;
860
+ targetContract: `0x${string}`;
861
+ criteriaType: SignatureType;
862
+ valueType: ValueType;
863
+ }, {
864
+ signature: string;
865
+ fieldIndex: number;
866
+ targetContract: string;
867
+ criteriaType: SignatureType;
868
+ valueType: ValueType;
869
+ }>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ type: "ERC20VariableCriteriaIncentiveV2";
872
+ asset: `0x${string}`;
873
+ limit: bigint;
874
+ reward: bigint;
875
+ criteria: {
876
+ signature: `0x${string}`;
877
+ fieldIndex: number;
878
+ targetContract: `0x${string}`;
879
+ criteriaType: SignatureType;
880
+ valueType: ValueType;
881
+ };
882
+ shouldMintAndAllocate: boolean;
883
+ manager?: `0x${string}` | undefined;
884
+ }, {
885
+ type: "ERC20VariableCriteriaIncentiveV2";
886
+ asset: string;
887
+ limit: bigint;
888
+ reward: bigint;
889
+ criteria: {
890
+ signature: string;
891
+ fieldIndex: number;
892
+ targetContract: string;
893
+ criteriaType: SignatureType;
894
+ valueType: ValueType;
895
+ };
896
+ manager?: string | undefined;
897
+ shouldMintAndAllocate?: boolean | undefined;
898
+ }>, z.ZodObject<{
899
+ type: z.ZodLiteral<"ERC20PeggedVariableCriteriaIncentiveV2">;
900
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
901
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
902
+ maxReward: z.ZodBigInt;
903
+ peg: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
904
+ reward: z.ZodBigInt;
905
+ limit: z.ZodBigInt;
906
+ manager: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>>;
907
+ criteria: z.ZodObject<{
908
+ criteriaType: z.ZodNativeEnum<typeof SignatureType>;
909
+ signature: ZodType<`0x${string}`, ZodTypeDef, string>;
910
+ fieldIndex: z.ZodNumber;
911
+ targetContract: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
912
+ valueType: z.ZodNativeEnum<typeof ValueType>;
913
+ }, "strip", z.ZodTypeAny, {
914
+ signature: `0x${string}`;
915
+ fieldIndex: number;
916
+ targetContract: `0x${string}`;
917
+ criteriaType: SignatureType;
918
+ valueType: ValueType;
919
+ }, {
920
+ signature: string;
921
+ fieldIndex: number;
922
+ targetContract: string;
923
+ criteriaType: SignatureType;
924
+ valueType: ValueType;
925
+ }>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ type: "ERC20PeggedVariableCriteriaIncentiveV2";
928
+ asset: `0x${string}`;
929
+ limit: bigint;
930
+ reward: bigint;
931
+ maxReward: bigint;
932
+ criteria: {
933
+ signature: `0x${string}`;
934
+ fieldIndex: number;
935
+ targetContract: `0x${string}`;
936
+ criteriaType: SignatureType;
937
+ valueType: ValueType;
938
+ };
939
+ shouldMintAndAllocate: boolean;
940
+ peg: `0x${string}`;
941
+ manager?: `0x${string}` | undefined;
942
+ }, {
943
+ type: "ERC20PeggedVariableCriteriaIncentiveV2";
944
+ asset: string;
945
+ limit: bigint;
946
+ reward: bigint;
947
+ maxReward: bigint;
948
+ criteria: {
949
+ signature: string;
950
+ fieldIndex: number;
951
+ targetContract: string;
952
+ criteriaType: SignatureType;
953
+ valueType: ValueType;
954
+ };
955
+ peg: string;
956
+ manager?: string | undefined;
957
+ shouldMintAndAllocate?: boolean | undefined;
958
+ }>, z.ZodObject<{
959
+ type: z.ZodLiteral<"ERC20VariableIncentive">;
960
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
961
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
962
+ reward: z.ZodBigInt;
963
+ limit: z.ZodBigInt;
964
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ type: "ERC20VariableIncentive";
967
+ asset: `0x${string}`;
968
+ manager: `0x${string}`;
969
+ limit: bigint;
970
+ reward: bigint;
971
+ shouldMintAndAllocate: boolean;
972
+ }, {
973
+ type: "ERC20VariableIncentive";
974
+ asset: string;
975
+ manager: string;
976
+ limit: bigint;
977
+ reward: bigint;
978
+ shouldMintAndAllocate?: boolean | undefined;
979
+ }>, z.ZodObject<{
980
+ type: z.ZodLiteral<"CGDAIncentive">;
981
+ asset: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
982
+ shouldMintAndAllocate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
983
+ initialReward: z.ZodBigInt;
984
+ rewardDecay: z.ZodBigInt;
985
+ rewardBoost: z.ZodBigInt;
986
+ totalBudget: z.ZodBigInt;
987
+ manager: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
988
+ }, "strip", z.ZodTypeAny, {
989
+ type: "CGDAIncentive";
990
+ asset: `0x${string}`;
991
+ manager: `0x${string}`;
992
+ initialReward: bigint;
993
+ rewardDecay: bigint;
994
+ rewardBoost: bigint;
995
+ totalBudget: bigint;
996
+ shouldMintAndAllocate: boolean;
997
+ }, {
998
+ type: "CGDAIncentive";
999
+ asset: string;
1000
+ manager: string;
1001
+ initialReward: bigint;
1002
+ rewardDecay: bigint;
1003
+ rewardBoost: bigint;
1004
+ totalBudget: bigint;
1005
+ shouldMintAndAllocate?: boolean | undefined;
1006
+ }>, z.ZodObject<{
1007
+ type: z.ZodLiteral<"PointsIncentive">;
1008
+ venue: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, ZodType<`0x${string}`, ZodTypeDef, `0x${string}`>>;
1009
+ selector: ZodType<`0x${string}`, ZodTypeDef, string>;
1010
+ reward: z.ZodBigInt;
1011
+ limit: z.ZodBigInt;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ type: "PointsIncentive";
1014
+ selector: `0x${string}`;
1015
+ limit: bigint;
1016
+ reward: bigint;
1017
+ venue: `0x${string}`;
1018
+ }, {
1019
+ type: "PointsIncentive";
1020
+ selector: string;
1021
+ limit: bigint;
1022
+ reward: bigint;
1023
+ venue: string;
1024
+ }>]>, "many">;
1025
+ }, "strip", z.ZodTypeAny, {
1026
+ budget: `0x${string}` | {
1027
+ type: "ManagedBudget";
1028
+ owner: `0x${string}`;
1029
+ roles: Roles[];
1030
+ authorized: `0x${string}`[];
1031
+ } | {
1032
+ type: "ManagedBudgetWithFeesV2";
1033
+ owner: `0x${string}`;
1034
+ roles: Roles[];
1035
+ managementFee: bigint;
1036
+ authorized: `0x${string}`[];
1037
+ };
1038
+ protocolFee: bigint;
1039
+ maxParticipants: bigint;
1040
+ action: `0x${string}` | {
1041
+ type: "EventAction";
1042
+ actionClaimant: {
1043
+ signature: `0x${string}`;
1044
+ signatureType: SignatureType;
1045
+ fieldIndex: number;
1046
+ targetContract: `0x${string}`;
1047
+ chainid: number;
1048
+ };
1049
+ actionSteps: {
1050
+ signature: `0x${string}`;
1051
+ signatureType: SignatureType;
1052
+ targetContract: `0x${string}`;
1053
+ chainid: number;
1054
+ actionParameter: {
1055
+ fieldIndex: number;
1056
+ filterType: FilterType;
1057
+ fieldType: PrimitiveType;
1058
+ filterData: `0x${string}`;
1059
+ };
1060
+ actionType?: number | undefined;
1061
+ }[];
1062
+ };
1063
+ incentives: ({
1064
+ type: "AllowListIncentive";
1065
+ allowList: `0x${string}`;
1066
+ limit: bigint;
1067
+ } | {
1068
+ type: "ERC20Incentive";
1069
+ asset: `0x${string}`;
1070
+ limit: bigint;
1071
+ reward: bigint;
1072
+ strategy: StrategyType;
1073
+ shouldMintAndAllocate: boolean;
1074
+ manager?: `0x${string}` | undefined;
1075
+ } | {
1076
+ type: "ERC20VariableCriteriaIncentiveV2";
1077
+ asset: `0x${string}`;
1078
+ limit: bigint;
1079
+ reward: bigint;
1080
+ criteria: {
1081
+ signature: `0x${string}`;
1082
+ fieldIndex: number;
1083
+ targetContract: `0x${string}`;
1084
+ criteriaType: SignatureType;
1085
+ valueType: ValueType;
1086
+ };
1087
+ shouldMintAndAllocate: boolean;
1088
+ manager?: `0x${string}` | undefined;
1089
+ } | {
1090
+ type: "ERC20PeggedVariableCriteriaIncentiveV2";
1091
+ asset: `0x${string}`;
1092
+ limit: bigint;
1093
+ reward: bigint;
1094
+ maxReward: bigint;
1095
+ criteria: {
1096
+ signature: `0x${string}`;
1097
+ fieldIndex: number;
1098
+ targetContract: `0x${string}`;
1099
+ criteriaType: SignatureType;
1100
+ valueType: ValueType;
1101
+ };
1102
+ shouldMintAndAllocate: boolean;
1103
+ peg: `0x${string}`;
1104
+ manager?: `0x${string}` | undefined;
1105
+ } | {
1106
+ type: "ERC20VariableIncentive";
1107
+ asset: `0x${string}`;
1108
+ manager: `0x${string}`;
1109
+ limit: bigint;
1110
+ reward: bigint;
1111
+ shouldMintAndAllocate: boolean;
1112
+ } | {
1113
+ type: "CGDAIncentive";
1114
+ asset: `0x${string}`;
1115
+ manager: `0x${string}`;
1116
+ initialReward: bigint;
1117
+ rewardDecay: bigint;
1118
+ rewardBoost: bigint;
1119
+ totalBudget: bigint;
1120
+ shouldMintAndAllocate: boolean;
1121
+ } | {
1122
+ type: "PointsIncentive";
1123
+ selector: `0x${string}`;
1124
+ limit: bigint;
1125
+ reward: bigint;
1126
+ venue: `0x${string}`;
1127
+ })[];
1128
+ allowList?: `0x${string}` | {
1129
+ type: "SimpleDenyList";
1130
+ owner: `0x${string}`;
1131
+ denied: `0x${string}`[];
1132
+ } | {
1133
+ type: "SimpleAllowList";
1134
+ owner: `0x${string}`;
1135
+ allowed: `0x${string}`[];
1136
+ } | undefined;
1137
+ validator?: `0x${string}` | {
1138
+ type: "SignerValidator";
1139
+ validatorCaller: `0x${string}`;
1140
+ signers: `0x${string}`[];
1141
+ } | {
1142
+ type: "LimitedSignerValidator";
1143
+ validatorCaller: `0x${string}`;
1144
+ maxClaimCount: number;
1145
+ signers: `0x${string}`[];
1146
+ } | undefined;
1147
+ }, {
1148
+ budget: string | {
1149
+ type: "ManagedBudget";
1150
+ owner: string;
1151
+ roles: number[];
1152
+ authorized: string[];
1153
+ } | {
1154
+ type: "ManagedBudgetWithFeesV2";
1155
+ owner: string;
1156
+ roles: number[];
1157
+ managementFee: bigint;
1158
+ authorized: string[];
1159
+ };
1160
+ protocolFee: bigint;
1161
+ maxParticipants: bigint;
1162
+ action: string | {
1163
+ type: "EventAction";
1164
+ actionClaimant: {
1165
+ signature: string;
1166
+ signatureType: SignatureType;
1167
+ fieldIndex: number;
1168
+ targetContract: string;
1169
+ chainid: number;
1170
+ };
1171
+ actionSteps: {
1172
+ signature: string;
1173
+ signatureType: SignatureType;
1174
+ targetContract: string;
1175
+ chainid: number;
1176
+ actionParameter: {
1177
+ fieldIndex: number;
1178
+ filterType: FilterType;
1179
+ fieldType: PrimitiveType;
1180
+ filterData: `0x${string}`;
1181
+ };
1182
+ actionType?: number | undefined;
1183
+ }[];
1184
+ };
1185
+ incentives: ({
1186
+ type: "AllowListIncentive";
1187
+ allowList: string;
1188
+ limit: bigint;
1189
+ } | {
1190
+ type: "ERC20Incentive";
1191
+ asset: string;
1192
+ limit: bigint;
1193
+ reward: bigint;
1194
+ strategy: StrategyType;
1195
+ manager?: string | undefined;
1196
+ shouldMintAndAllocate?: boolean | undefined;
1197
+ } | {
1198
+ type: "ERC20VariableCriteriaIncentiveV2";
1199
+ asset: string;
1200
+ limit: bigint;
1201
+ reward: bigint;
1202
+ criteria: {
1203
+ signature: string;
1204
+ fieldIndex: number;
1205
+ targetContract: string;
1206
+ criteriaType: SignatureType;
1207
+ valueType: ValueType;
1208
+ };
1209
+ manager?: string | undefined;
1210
+ shouldMintAndAllocate?: boolean | undefined;
1211
+ } | {
1212
+ type: "ERC20PeggedVariableCriteriaIncentiveV2";
1213
+ asset: string;
1214
+ limit: bigint;
1215
+ reward: bigint;
1216
+ maxReward: bigint;
1217
+ criteria: {
1218
+ signature: string;
1219
+ fieldIndex: number;
1220
+ targetContract: string;
1221
+ criteriaType: SignatureType;
1222
+ valueType: ValueType;
1223
+ };
1224
+ peg: string;
1225
+ manager?: string | undefined;
1226
+ shouldMintAndAllocate?: boolean | undefined;
1227
+ } | {
1228
+ type: "ERC20VariableIncentive";
1229
+ asset: string;
1230
+ manager: string;
1231
+ limit: bigint;
1232
+ reward: bigint;
1233
+ shouldMintAndAllocate?: boolean | undefined;
1234
+ } | {
1235
+ type: "CGDAIncentive";
1236
+ asset: string;
1237
+ manager: string;
1238
+ initialReward: bigint;
1239
+ rewardDecay: bigint;
1240
+ rewardBoost: bigint;
1241
+ totalBudget: bigint;
1242
+ shouldMintAndAllocate?: boolean | undefined;
1243
+ } | {
1244
+ type: "PointsIncentive";
1245
+ selector: string;
1246
+ limit: bigint;
1247
+ reward: bigint;
1248
+ venue: string;
1249
+ })[];
1250
+ allowList?: string | {
1251
+ type: "SimpleDenyList";
1252
+ owner: string;
1253
+ denied: string[];
1254
+ } | {
1255
+ type: "SimpleAllowList";
1256
+ owner: string;
1257
+ allowed: string[];
1258
+ } | undefined;
1259
+ validator?: string | {
1260
+ type: "SignerValidator";
1261
+ validatorCaller: string;
1262
+ signers: string[];
1263
+ } | {
1264
+ type: "LimitedSignerValidator";
1265
+ validatorCaller: string;
1266
+ maxClaimCount: number;
1267
+ signers: string[];
1268
+ } | undefined;
1269
+ }>;
1270
+ export type BoostSeedConfig = z.infer<typeof BoostSeedConfigSchema>;
1271
+ export declare function makeSeed({ asset, account, chainId, }: {
1272
+ asset?: Address;
1273
+ account?: Address;
1274
+ chainId: number;
1275
+ }): BoostConfig;
1276
+ export declare function getCreateBoostPayloadFromBoostConfig(seedConfigRaw: unknown, core: BoostCore): Promise<CreateBoostPayload>;
1277
+ export {};
1278
+ //# sourceMappingURL=seed.d.ts.map