@merkl/api 1.1.49 → 1.1.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/eden/index.d.ts +1161 -112
- package/dist/src/index.d.ts +528 -0
- package/dist/src/modules/v4/apr/apr.model.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +342 -0
- package/dist/src/modules/v4/campaign/campaign.formatter.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +21 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +14 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +183 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +7 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +5 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +2 -0
- package/dist/src/modules/v4/router.d.ts +528 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -70,6 +70,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
70
70
|
breakdowns: {
|
71
71
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
72
72
|
value: number;
|
73
|
+
timestamp: string | bigint;
|
73
74
|
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
74
75
|
identifier: string;
|
75
76
|
}[];
|
@@ -107,6 +108,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
107
108
|
campaignId: string;
|
108
109
|
value: number;
|
109
110
|
amount: string | bigint;
|
111
|
+
timestamp: string | bigint;
|
110
112
|
}[];
|
111
113
|
} | undefined;
|
112
114
|
name: string;
|
@@ -131,6 +133,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
131
133
|
status: string;
|
132
134
|
chainId: number;
|
133
135
|
campaigns: {
|
136
|
+
apr?: number | undefined;
|
134
137
|
description?: string | undefined;
|
135
138
|
creator?: {
|
136
139
|
tags?: string[] | undefined;
|
@@ -145,6 +148,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
145
148
|
processingStarted: string | number;
|
146
149
|
} | undefined;
|
147
150
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
151
|
+
dailyRewards?: number | undefined;
|
148
152
|
rootCampaignId?: string | undefined;
|
149
153
|
parentCampaignId?: string | undefined;
|
150
154
|
distributionChain?: {
|
@@ -159,6 +163,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
159
163
|
icon: string;
|
160
164
|
liveCampaigns: number;
|
161
165
|
} | undefined;
|
166
|
+
childCampaignIds?: string[] | undefined;
|
162
167
|
rewardToken: {
|
163
168
|
price?: number | null | undefined;
|
164
169
|
symbol: string;
|
@@ -276,6 +281,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
276
281
|
breakdowns: {
|
277
282
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
278
283
|
value: number;
|
284
|
+
timestamp: string | bigint;
|
279
285
|
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
280
286
|
identifier: string;
|
281
287
|
}[];
|
@@ -313,6 +319,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
313
319
|
campaignId: string;
|
314
320
|
value: number;
|
315
321
|
amount: string | bigint;
|
322
|
+
timestamp: string | bigint;
|
316
323
|
}[];
|
317
324
|
} | undefined;
|
318
325
|
name: string;
|
@@ -355,6 +362,177 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
355
362
|
howToSteps: string[];
|
356
363
|
tags: string[];
|
357
364
|
lastCampaignCreatedAt: number;
|
365
|
+
} | {
|
366
|
+
protocol?: {
|
367
|
+
dailyRewards?: number | undefined;
|
368
|
+
numberOfLiveCampaigns?: number | undefined;
|
369
|
+
opportunityLiveTags?: string[] | undefined;
|
370
|
+
name: string;
|
371
|
+
description: string;
|
372
|
+
id: string;
|
373
|
+
url: string;
|
374
|
+
icon: string;
|
375
|
+
tags: string[];
|
376
|
+
} | null | undefined;
|
377
|
+
depositUrl?: string | undefined;
|
378
|
+
aprRecord?: {
|
379
|
+
timestamp: string | bigint;
|
380
|
+
cumulated: number;
|
381
|
+
breakdowns: {
|
382
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
383
|
+
value: number;
|
384
|
+
timestamp: string | bigint;
|
385
|
+
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
386
|
+
identifier: string;
|
387
|
+
}[];
|
388
|
+
} | undefined;
|
389
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
390
|
+
explorerAddress?: string | undefined;
|
391
|
+
tvlRecord?: {
|
392
|
+
timestamp: string | bigint;
|
393
|
+
total: number;
|
394
|
+
breakdowns: {
|
395
|
+
value: number;
|
396
|
+
type: "TOKEN" | "PROTOCOL";
|
397
|
+
identifier: string;
|
398
|
+
}[];
|
399
|
+
} | undefined;
|
400
|
+
rewardsRecord?: {
|
401
|
+
timestamp: string | bigint;
|
402
|
+
total: number;
|
403
|
+
breakdowns: {
|
404
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
405
|
+
token: {
|
406
|
+
price?: number | null | undefined;
|
407
|
+
symbol: string;
|
408
|
+
name: string | null;
|
409
|
+
decimals: number;
|
410
|
+
address: string;
|
411
|
+
id: string;
|
412
|
+
chainId: number;
|
413
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
414
|
+
icon: string;
|
415
|
+
isNative: boolean;
|
416
|
+
isTest: boolean;
|
417
|
+
verified: boolean;
|
418
|
+
};
|
419
|
+
campaignId: string;
|
420
|
+
value: number;
|
421
|
+
amount: string | bigint;
|
422
|
+
timestamp: string | bigint;
|
423
|
+
}[];
|
424
|
+
} | undefined;
|
425
|
+
name: string;
|
426
|
+
apr: number;
|
427
|
+
tokens: {
|
428
|
+
price?: number | null | undefined;
|
429
|
+
symbol: string;
|
430
|
+
name: string | null;
|
431
|
+
decimals: number;
|
432
|
+
address: string;
|
433
|
+
id: string;
|
434
|
+
chainId: number;
|
435
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
436
|
+
icon: string;
|
437
|
+
isNative: boolean;
|
438
|
+
isTest: boolean;
|
439
|
+
verified: boolean;
|
440
|
+
}[];
|
441
|
+
tvl: number;
|
442
|
+
description: string;
|
443
|
+
id: string;
|
444
|
+
status: string;
|
445
|
+
chainId: number;
|
446
|
+
campaigns: {
|
447
|
+
apr?: number | undefined;
|
448
|
+
description?: string | undefined;
|
449
|
+
creator?: {
|
450
|
+
tags?: string[] | undefined;
|
451
|
+
creatorId?: string | null | undefined;
|
452
|
+
address: string;
|
453
|
+
} | undefined;
|
454
|
+
campaignStatus?: {
|
455
|
+
error?: string | undefined;
|
456
|
+
details?: any;
|
457
|
+
status: string;
|
458
|
+
computedUntil: string | number;
|
459
|
+
processingStarted: string | number;
|
460
|
+
} | undefined;
|
461
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
462
|
+
dailyRewards?: number | undefined;
|
463
|
+
rootCampaignId?: string | undefined;
|
464
|
+
parentCampaignId?: string | undefined;
|
465
|
+
distributionChain?: {
|
466
|
+
explorers?: {
|
467
|
+
chainId: number;
|
468
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
469
|
+
url: string;
|
470
|
+
}[] | undefined;
|
471
|
+
name: string;
|
472
|
+
endOfDisputePeriod: number;
|
473
|
+
id: number;
|
474
|
+
icon: string;
|
475
|
+
liveCampaigns: number;
|
476
|
+
} | undefined;
|
477
|
+
childCampaignIds?: string[] | undefined;
|
478
|
+
rewardToken: {
|
479
|
+
price?: number | null | undefined;
|
480
|
+
symbol: string;
|
481
|
+
name: string | null;
|
482
|
+
decimals: number;
|
483
|
+
address: string;
|
484
|
+
id: string;
|
485
|
+
chainId: number;
|
486
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
487
|
+
icon: string;
|
488
|
+
isNative: boolean;
|
489
|
+
isTest: boolean;
|
490
|
+
verified: boolean;
|
491
|
+
};
|
492
|
+
campaignId: string;
|
493
|
+
id: string;
|
494
|
+
params: any;
|
495
|
+
amount: string;
|
496
|
+
startTimestamp: string | number;
|
497
|
+
type: string;
|
498
|
+
computeChainId: number;
|
499
|
+
distributionChainId: number;
|
500
|
+
endTimestamp: string | number;
|
501
|
+
chain: {
|
502
|
+
explorers?: {
|
503
|
+
chainId: number;
|
504
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
505
|
+
url: string;
|
506
|
+
}[] | undefined;
|
507
|
+
name: string;
|
508
|
+
endOfDisputePeriod: number;
|
509
|
+
id: number;
|
510
|
+
icon: string;
|
511
|
+
liveCampaigns: number;
|
512
|
+
};
|
513
|
+
subType: number | null;
|
514
|
+
creatorAddress: string;
|
515
|
+
createdAt: string;
|
516
|
+
}[];
|
517
|
+
action: string;
|
518
|
+
type: string;
|
519
|
+
chain: {
|
520
|
+
explorers?: {
|
521
|
+
chainId: number;
|
522
|
+
type: "ETHERSCAN" | "BLOCKSCOUT";
|
523
|
+
url: string;
|
524
|
+
}[] | undefined;
|
525
|
+
name: string;
|
526
|
+
endOfDisputePeriod: number;
|
527
|
+
id: number;
|
528
|
+
icon: string;
|
529
|
+
liveCampaigns: number;
|
530
|
+
};
|
531
|
+
dailyRewards: number;
|
532
|
+
identifier: string;
|
533
|
+
howToSteps: string[];
|
534
|
+
tags: string[];
|
535
|
+
lastCampaignCreatedAt: number;
|
358
536
|
};
|
359
537
|
readonly 500: {
|
360
538
|
info: string;
|
@@ -415,6 +593,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
415
593
|
breakdowns: {
|
416
594
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
417
595
|
value: number;
|
596
|
+
timestamp: string | bigint;
|
418
597
|
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
419
598
|
identifier: string;
|
420
599
|
}[];
|
@@ -452,6 +631,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
452
631
|
campaignId: string;
|
453
632
|
value: number;
|
454
633
|
amount: string | bigint;
|
634
|
+
timestamp: string | bigint;
|
455
635
|
}[];
|
456
636
|
} | undefined;
|
457
637
|
name: string;
|
@@ -476,6 +656,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
476
656
|
status: string;
|
477
657
|
chainId: number;
|
478
658
|
campaigns: {
|
659
|
+
apr?: number | undefined;
|
479
660
|
description?: string | undefined;
|
480
661
|
creator?: {
|
481
662
|
tags?: string[] | undefined;
|
@@ -490,6 +671,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
490
671
|
processingStarted: string | number;
|
491
672
|
} | undefined;
|
492
673
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
674
|
+
dailyRewards?: number | undefined;
|
493
675
|
rootCampaignId?: string | undefined;
|
494
676
|
parentCampaignId?: string | undefined;
|
495
677
|
distributionChain?: {
|
@@ -504,6 +686,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
504
686
|
icon: string;
|
505
687
|
liveCampaigns: number;
|
506
688
|
} | undefined;
|
689
|
+
childCampaignIds?: string[] | undefined;
|
507
690
|
rewardToken: {
|
508
691
|
price?: number | null | undefined;
|
509
692
|
symbol: string;
|
@@ -115,6 +115,7 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
115
115
|
readonly PROTOCOL: "PROTOCOL";
|
116
116
|
}>;
|
117
117
|
value: import("@sinclair/typebox").TNumber;
|
118
|
+
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
118
119
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
119
120
|
readonly DUTCH_AUCTION: "DUTCH_AUCTION";
|
120
121
|
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
|
@@ -146,6 +147,7 @@ export declare const OpportunityResourceDto: import("@sinclair/typebox").TObject
|
|
146
147
|
breakdowns: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
147
148
|
campaignId: import("@sinclair/typebox").TString;
|
148
149
|
value: import("@sinclair/typebox").TNumber;
|
150
|
+
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
149
151
|
token: import("@sinclair/typebox").TObject<{
|
150
152
|
id: import("@sinclair/typebox").TString;
|
151
153
|
name: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
@@ -257,6 +259,7 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
257
259
|
readonly PROTOCOL: "PROTOCOL";
|
258
260
|
}>;
|
259
261
|
value: import("@sinclair/typebox").TNumber;
|
262
|
+
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
260
263
|
distributionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
261
264
|
readonly DUTCH_AUCTION: "DUTCH_AUCTION";
|
262
265
|
readonly FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE";
|
@@ -305,6 +308,7 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
305
308
|
breakdowns: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
306
309
|
campaignId: import("@sinclair/typebox").TString;
|
307
310
|
value: import("@sinclair/typebox").TNumber;
|
311
|
+
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
308
312
|
token: import("@sinclair/typebox").TObject<{
|
309
313
|
id: import("@sinclair/typebox").TString;
|
310
314
|
name: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
@@ -348,6 +352,8 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
348
352
|
startTimestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
349
353
|
endTimestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
|
350
354
|
creatorAddress: import("@sinclair/typebox").TString;
|
355
|
+
apr: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
356
|
+
dailyRewards: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
351
357
|
creator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
352
358
|
address: import("@sinclair/typebox").TString;
|
353
359
|
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
@@ -424,6 +430,7 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
424
430
|
createdAt: import("@sinclair/typebox").TString;
|
425
431
|
rootCampaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
426
432
|
parentCampaignId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
433
|
+
childCampaignIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
427
434
|
}>>;
|
428
435
|
}>;
|
429
436
|
export declare const OpportunityUniqueDto: import("@sinclair/typebox").TObject<{
|
@@ -310,6 +310,7 @@ export declare abstract class OpportunityService {
|
|
310
310
|
breakdowns: {
|
311
311
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
312
312
|
value: number;
|
313
|
+
timestamp: string | bigint;
|
313
314
|
type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
|
314
315
|
identifier: string;
|
315
316
|
}[];
|
@@ -347,6 +348,7 @@ export declare abstract class OpportunityService {
|
|
347
348
|
campaignId: string;
|
348
349
|
value: number;
|
349
350
|
amount: string | bigint;
|
351
|
+
timestamp: string | bigint;
|
350
352
|
}[];
|
351
353
|
} | undefined;
|
352
354
|
name: string;
|
@@ -371,6 +373,7 @@ export declare abstract class OpportunityService {
|
|
371
373
|
status: string;
|
372
374
|
chainId: number;
|
373
375
|
campaigns: {
|
376
|
+
apr?: number | undefined;
|
374
377
|
description?: string | undefined;
|
375
378
|
creator?: {
|
376
379
|
tags?: string[] | undefined;
|
@@ -385,6 +388,7 @@ export declare abstract class OpportunityService {
|
|
385
388
|
processingStarted: string | number;
|
386
389
|
} | undefined;
|
387
390
|
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
391
|
+
dailyRewards?: number | undefined;
|
388
392
|
rootCampaignId?: string | undefined;
|
389
393
|
parentCampaignId?: string | undefined;
|
390
394
|
distributionChain?: {
|
@@ -399,6 +403,7 @@ export declare abstract class OpportunityService {
|
|
399
403
|
icon: string;
|
400
404
|
liveCampaigns: number;
|
401
405
|
} | undefined;
|
406
|
+
childCampaignIds?: string[] | undefined;
|
402
407
|
rewardToken: {
|
403
408
|
price?: number | null | undefined;
|
404
409
|
symbol: string;
|
@@ -42,6 +42,7 @@ export type DailyRewardsBreakdown = ResourceAPI<"DailyRewardsBreakdown", "id" |
|
|
42
42
|
export declare const DailyRewardsBreakdownRecordResourceDto: import("@sinclair/typebox").TObject<{
|
43
43
|
campaignId: import("@sinclair/typebox").TString;
|
44
44
|
value: import("@sinclair/typebox").TNumber;
|
45
|
+
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
45
46
|
token: import("@sinclair/typebox").TObject<{
|
46
47
|
id: import("@sinclair/typebox").TString;
|
47
48
|
name: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
@@ -79,6 +80,7 @@ export declare const DailyRewardsRecordResourceDto: import("@sinclair/typebox").
|
|
79
80
|
breakdowns: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
80
81
|
campaignId: import("@sinclair/typebox").TString;
|
81
82
|
value: import("@sinclair/typebox").TNumber;
|
83
|
+
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
82
84
|
token: import("@sinclair/typebox").TObject<{
|
83
85
|
id: import("@sinclair/typebox").TString;
|
84
86
|
name: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|