@merkl/api 0.10.106 → 0.10.107
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +0 -1
- package/dist/src/eden/index.d.ts +179 -6
- package/dist/src/index.d.ts +73 -6
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +58 -6
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +8 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +9 -1
- package/dist/src/modules/v4/price/price.controller.d.ts +15 -0
- package/dist/src/modules/v4/price/price.service.d.ts +4 -0
- package/dist/src/modules/v4/router.d.ts +73 -6
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +73 -6
- package/dist/src/routes/v3/blacklist.d.ts +73 -6
- package/dist/src/routes/v3/campaigns.d.ts +73 -6
- package/dist/src/routes/v3/campaignsInfo.d.ts +73 -6
- package/dist/src/routes/v3/multiChainPositions.d.ts +73 -6
- package/dist/src/routes/v3/opportunity.d.ts +73 -6
- package/dist/src/routes/v3/positions.d.ts +73 -6
- package/dist/src/routes/v3/rewards.d.ts +73 -6
- package/dist/src/routes/v3/updates.d.ts +73 -6
- package/dist/src/routes/v3/userRewards.d.ts +73 -6
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -415,9 +415,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
415
415
|
};
|
416
416
|
};
|
417
417
|
};
|
418
|
-
}
|
419
|
-
} & {
|
420
|
-
campaigns: {
|
418
|
+
} & {
|
421
419
|
index: {
|
422
420
|
get: {
|
423
421
|
body: unknown;
|
@@ -477,9 +475,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
477
475
|
};
|
478
476
|
};
|
479
477
|
};
|
480
|
-
}
|
481
|
-
} & {
|
482
|
-
campaigns: {
|
478
|
+
} & {
|
483
479
|
count: {
|
484
480
|
get: {
|
485
481
|
body: unknown;
|
@@ -504,6 +500,62 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
504
500
|
};
|
505
501
|
};
|
506
502
|
};
|
503
|
+
} & {
|
504
|
+
campaignsToProcess: {
|
505
|
+
index: {
|
506
|
+
get: {
|
507
|
+
body: unknown;
|
508
|
+
params: Record<never, string>;
|
509
|
+
query: {
|
510
|
+
chainId: number;
|
511
|
+
};
|
512
|
+
headers: unknown;
|
513
|
+
response: {
|
514
|
+
200: {
|
515
|
+
endTimestamp: bigint;
|
516
|
+
campaignId: string;
|
517
|
+
CampaignStatus: {
|
518
|
+
computedUntil: bigint;
|
519
|
+
}[];
|
520
|
+
}[];
|
521
|
+
};
|
522
|
+
};
|
523
|
+
};
|
524
|
+
};
|
525
|
+
} & {
|
526
|
+
campaignsToProcess: {
|
527
|
+
count: {
|
528
|
+
get: {
|
529
|
+
body: unknown;
|
530
|
+
params: Record<never, string>;
|
531
|
+
query: {
|
532
|
+
chainId: number;
|
533
|
+
};
|
534
|
+
headers: unknown;
|
535
|
+
response: {
|
536
|
+
200: number;
|
537
|
+
};
|
538
|
+
};
|
539
|
+
};
|
540
|
+
};
|
541
|
+
} & {
|
542
|
+
campaignsToProcess: {
|
543
|
+
index: {
|
544
|
+
post: {
|
545
|
+
body: unknown;
|
546
|
+
params: Record<never, string>;
|
547
|
+
query: {
|
548
|
+
chainId: number;
|
549
|
+
};
|
550
|
+
headers: {
|
551
|
+
authorization: string;
|
552
|
+
};
|
553
|
+
response: {
|
554
|
+
200: string;
|
555
|
+
};
|
556
|
+
};
|
557
|
+
};
|
558
|
+
};
|
507
559
|
};
|
508
560
|
};
|
509
561
|
} & {
|
@@ -940,6 +992,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
940
992
|
};
|
941
993
|
};
|
942
994
|
};
|
995
|
+
} & {
|
996
|
+
array: {
|
997
|
+
get: {
|
998
|
+
body: unknown;
|
999
|
+
params: Record<never, string>;
|
1000
|
+
query: unknown;
|
1001
|
+
headers: unknown;
|
1002
|
+
response: {
|
1003
|
+
200: {
|
1004
|
+
rate: number;
|
1005
|
+
token: string;
|
1006
|
+
}[];
|
1007
|
+
};
|
1008
|
+
};
|
1009
|
+
};
|
943
1010
|
} & {
|
944
1011
|
symbol: {
|
945
1012
|
":symbol": {
|
@@ -413,9 +413,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
413
413
|
};
|
414
414
|
};
|
415
415
|
};
|
416
|
-
}
|
417
|
-
} & {
|
418
|
-
campaigns: {
|
416
|
+
} & {
|
419
417
|
index: {
|
420
418
|
get: {
|
421
419
|
body: unknown;
|
@@ -475,9 +473,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
475
473
|
};
|
476
474
|
};
|
477
475
|
};
|
478
|
-
}
|
479
|
-
} & {
|
480
|
-
campaigns: {
|
476
|
+
} & {
|
481
477
|
count: {
|
482
478
|
get: {
|
483
479
|
body: unknown;
|
@@ -502,6 +498,62 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
502
498
|
};
|
503
499
|
};
|
504
500
|
};
|
501
|
+
} & {
|
502
|
+
campaignsToProcess: {
|
503
|
+
index: {
|
504
|
+
get: {
|
505
|
+
body: unknown;
|
506
|
+
params: Record<never, string>;
|
507
|
+
query: {
|
508
|
+
chainId: number;
|
509
|
+
};
|
510
|
+
headers: unknown;
|
511
|
+
response: {
|
512
|
+
200: {
|
513
|
+
endTimestamp: bigint;
|
514
|
+
campaignId: string;
|
515
|
+
CampaignStatus: {
|
516
|
+
computedUntil: bigint;
|
517
|
+
}[];
|
518
|
+
}[];
|
519
|
+
};
|
520
|
+
};
|
521
|
+
};
|
522
|
+
};
|
523
|
+
} & {
|
524
|
+
campaignsToProcess: {
|
525
|
+
count: {
|
526
|
+
get: {
|
527
|
+
body: unknown;
|
528
|
+
params: Record<never, string>;
|
529
|
+
query: {
|
530
|
+
chainId: number;
|
531
|
+
};
|
532
|
+
headers: unknown;
|
533
|
+
response: {
|
534
|
+
200: number;
|
535
|
+
};
|
536
|
+
};
|
537
|
+
};
|
538
|
+
};
|
539
|
+
} & {
|
540
|
+
campaignsToProcess: {
|
541
|
+
index: {
|
542
|
+
post: {
|
543
|
+
body: unknown;
|
544
|
+
params: Record<never, string>;
|
545
|
+
query: {
|
546
|
+
chainId: number;
|
547
|
+
};
|
548
|
+
headers: {
|
549
|
+
authorization: string;
|
550
|
+
};
|
551
|
+
response: {
|
552
|
+
200: string;
|
553
|
+
};
|
554
|
+
};
|
555
|
+
};
|
556
|
+
};
|
505
557
|
};
|
506
558
|
};
|
507
559
|
} & {
|
@@ -938,6 +990,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
938
990
|
};
|
939
991
|
};
|
940
992
|
};
|
993
|
+
} & {
|
994
|
+
array: {
|
995
|
+
get: {
|
996
|
+
body: unknown;
|
997
|
+
params: Record<never, string>;
|
998
|
+
query: unknown;
|
999
|
+
headers: unknown;
|
1000
|
+
response: {
|
1001
|
+
200: {
|
1002
|
+
rate: number;
|
1003
|
+
token: string;
|
1004
|
+
}[];
|
1005
|
+
};
|
1006
|
+
};
|
1007
|
+
};
|
941
1008
|
} & {
|
942
1009
|
symbol: {
|
943
1010
|
":symbol": {
|
@@ -416,9 +416,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
416
416
|
};
|
417
417
|
};
|
418
418
|
};
|
419
|
-
}
|
420
|
-
} & {
|
421
|
-
campaigns: {
|
419
|
+
} & {
|
422
420
|
index: {
|
423
421
|
get: {
|
424
422
|
body: unknown;
|
@@ -478,9 +476,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
478
476
|
};
|
479
477
|
};
|
480
478
|
};
|
481
|
-
}
|
482
|
-
} & {
|
483
|
-
campaigns: {
|
479
|
+
} & {
|
484
480
|
count: {
|
485
481
|
get: {
|
486
482
|
body: unknown;
|
@@ -505,6 +501,62 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
505
501
|
};
|
506
502
|
};
|
507
503
|
};
|
504
|
+
} & {
|
505
|
+
campaignsToProcess: {
|
506
|
+
index: {
|
507
|
+
get: {
|
508
|
+
body: unknown;
|
509
|
+
params: Record<never, string>;
|
510
|
+
query: {
|
511
|
+
chainId: number;
|
512
|
+
};
|
513
|
+
headers: unknown;
|
514
|
+
response: {
|
515
|
+
200: {
|
516
|
+
endTimestamp: bigint;
|
517
|
+
campaignId: string;
|
518
|
+
CampaignStatus: {
|
519
|
+
computedUntil: bigint;
|
520
|
+
}[];
|
521
|
+
}[];
|
522
|
+
};
|
523
|
+
};
|
524
|
+
};
|
525
|
+
};
|
526
|
+
} & {
|
527
|
+
campaignsToProcess: {
|
528
|
+
count: {
|
529
|
+
get: {
|
530
|
+
body: unknown;
|
531
|
+
params: Record<never, string>;
|
532
|
+
query: {
|
533
|
+
chainId: number;
|
534
|
+
};
|
535
|
+
headers: unknown;
|
536
|
+
response: {
|
537
|
+
200: number;
|
538
|
+
};
|
539
|
+
};
|
540
|
+
};
|
541
|
+
};
|
542
|
+
} & {
|
543
|
+
campaignsToProcess: {
|
544
|
+
index: {
|
545
|
+
post: {
|
546
|
+
body: unknown;
|
547
|
+
params: Record<never, string>;
|
548
|
+
query: {
|
549
|
+
chainId: number;
|
550
|
+
};
|
551
|
+
headers: {
|
552
|
+
authorization: string;
|
553
|
+
};
|
554
|
+
response: {
|
555
|
+
200: string;
|
556
|
+
};
|
557
|
+
};
|
558
|
+
};
|
559
|
+
};
|
508
560
|
};
|
509
561
|
};
|
510
562
|
} & {
|
@@ -941,6 +993,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
941
993
|
};
|
942
994
|
};
|
943
995
|
};
|
996
|
+
} & {
|
997
|
+
array: {
|
998
|
+
get: {
|
999
|
+
body: unknown;
|
1000
|
+
params: Record<never, string>;
|
1001
|
+
query: unknown;
|
1002
|
+
headers: unknown;
|
1003
|
+
response: {
|
1004
|
+
200: {
|
1005
|
+
rate: number;
|
1006
|
+
token: string;
|
1007
|
+
}[];
|
1008
|
+
};
|
1009
|
+
};
|
1010
|
+
};
|
944
1011
|
} & {
|
945
1012
|
symbol: {
|
946
1013
|
":symbol": {
|
@@ -407,9 +407,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
407
407
|
};
|
408
408
|
};
|
409
409
|
};
|
410
|
-
}
|
411
|
-
} & {
|
412
|
-
campaigns: {
|
410
|
+
} & {
|
413
411
|
index: {
|
414
412
|
get: {
|
415
413
|
body: unknown;
|
@@ -469,9 +467,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
469
467
|
};
|
470
468
|
};
|
471
469
|
};
|
472
|
-
}
|
473
|
-
} & {
|
474
|
-
campaigns: {
|
470
|
+
} & {
|
475
471
|
count: {
|
476
472
|
get: {
|
477
473
|
body: unknown;
|
@@ -496,6 +492,62 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
496
492
|
};
|
497
493
|
};
|
498
494
|
};
|
495
|
+
} & {
|
496
|
+
campaignsToProcess: {
|
497
|
+
index: {
|
498
|
+
get: {
|
499
|
+
body: unknown;
|
500
|
+
params: Record<never, string>;
|
501
|
+
query: {
|
502
|
+
chainId: number;
|
503
|
+
};
|
504
|
+
headers: unknown;
|
505
|
+
response: {
|
506
|
+
200: {
|
507
|
+
endTimestamp: bigint;
|
508
|
+
campaignId: string;
|
509
|
+
CampaignStatus: {
|
510
|
+
computedUntil: bigint;
|
511
|
+
}[];
|
512
|
+
}[];
|
513
|
+
};
|
514
|
+
};
|
515
|
+
};
|
516
|
+
};
|
517
|
+
} & {
|
518
|
+
campaignsToProcess: {
|
519
|
+
count: {
|
520
|
+
get: {
|
521
|
+
body: unknown;
|
522
|
+
params: Record<never, string>;
|
523
|
+
query: {
|
524
|
+
chainId: number;
|
525
|
+
};
|
526
|
+
headers: unknown;
|
527
|
+
response: {
|
528
|
+
200: number;
|
529
|
+
};
|
530
|
+
};
|
531
|
+
};
|
532
|
+
};
|
533
|
+
} & {
|
534
|
+
campaignsToProcess: {
|
535
|
+
index: {
|
536
|
+
post: {
|
537
|
+
body: unknown;
|
538
|
+
params: Record<never, string>;
|
539
|
+
query: {
|
540
|
+
chainId: number;
|
541
|
+
};
|
542
|
+
headers: {
|
543
|
+
authorization: string;
|
544
|
+
};
|
545
|
+
response: {
|
546
|
+
200: string;
|
547
|
+
};
|
548
|
+
};
|
549
|
+
};
|
550
|
+
};
|
499
551
|
};
|
500
552
|
};
|
501
553
|
} & {
|
@@ -932,6 +984,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
932
984
|
};
|
933
985
|
};
|
934
986
|
};
|
987
|
+
} & {
|
988
|
+
array: {
|
989
|
+
get: {
|
990
|
+
body: unknown;
|
991
|
+
params: Record<never, string>;
|
992
|
+
query: unknown;
|
993
|
+
headers: unknown;
|
994
|
+
response: {
|
995
|
+
200: {
|
996
|
+
rate: number;
|
997
|
+
token: string;
|
998
|
+
}[];
|
999
|
+
};
|
1000
|
+
};
|
1001
|
+
};
|
935
1002
|
} & {
|
936
1003
|
symbol: {
|
937
1004
|
":symbol": {
|
@@ -412,9 +412,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
412
412
|
};
|
413
413
|
};
|
414
414
|
};
|
415
|
-
}
|
416
|
-
} & {
|
417
|
-
campaigns: {
|
415
|
+
} & {
|
418
416
|
index: {
|
419
417
|
get: {
|
420
418
|
body: unknown;
|
@@ -474,9 +472,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
474
472
|
};
|
475
473
|
};
|
476
474
|
};
|
477
|
-
}
|
478
|
-
} & {
|
479
|
-
campaigns: {
|
475
|
+
} & {
|
480
476
|
count: {
|
481
477
|
get: {
|
482
478
|
body: unknown;
|
@@ -501,6 +497,62 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
501
497
|
};
|
502
498
|
};
|
503
499
|
};
|
500
|
+
} & {
|
501
|
+
campaignsToProcess: {
|
502
|
+
index: {
|
503
|
+
get: {
|
504
|
+
body: unknown;
|
505
|
+
params: Record<never, string>;
|
506
|
+
query: {
|
507
|
+
chainId: number;
|
508
|
+
};
|
509
|
+
headers: unknown;
|
510
|
+
response: {
|
511
|
+
200: {
|
512
|
+
endTimestamp: bigint;
|
513
|
+
campaignId: string;
|
514
|
+
CampaignStatus: {
|
515
|
+
computedUntil: bigint;
|
516
|
+
}[];
|
517
|
+
}[];
|
518
|
+
};
|
519
|
+
};
|
520
|
+
};
|
521
|
+
};
|
522
|
+
} & {
|
523
|
+
campaignsToProcess: {
|
524
|
+
count: {
|
525
|
+
get: {
|
526
|
+
body: unknown;
|
527
|
+
params: Record<never, string>;
|
528
|
+
query: {
|
529
|
+
chainId: number;
|
530
|
+
};
|
531
|
+
headers: unknown;
|
532
|
+
response: {
|
533
|
+
200: number;
|
534
|
+
};
|
535
|
+
};
|
536
|
+
};
|
537
|
+
};
|
538
|
+
} & {
|
539
|
+
campaignsToProcess: {
|
540
|
+
index: {
|
541
|
+
post: {
|
542
|
+
body: unknown;
|
543
|
+
params: Record<never, string>;
|
544
|
+
query: {
|
545
|
+
chainId: number;
|
546
|
+
};
|
547
|
+
headers: {
|
548
|
+
authorization: string;
|
549
|
+
};
|
550
|
+
response: {
|
551
|
+
200: string;
|
552
|
+
};
|
553
|
+
};
|
554
|
+
};
|
555
|
+
};
|
504
556
|
};
|
505
557
|
};
|
506
558
|
} & {
|
@@ -937,6 +989,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
937
989
|
};
|
938
990
|
};
|
939
991
|
};
|
992
|
+
} & {
|
993
|
+
array: {
|
994
|
+
get: {
|
995
|
+
body: unknown;
|
996
|
+
params: Record<never, string>;
|
997
|
+
query: unknown;
|
998
|
+
headers: unknown;
|
999
|
+
response: {
|
1000
|
+
200: {
|
1001
|
+
rate: number;
|
1002
|
+
token: string;
|
1003
|
+
}[];
|
1004
|
+
};
|
1005
|
+
};
|
1006
|
+
};
|
940
1007
|
} & {
|
941
1008
|
symbol: {
|
942
1009
|
":symbol": {
|
@@ -430,9 +430,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
430
430
|
};
|
431
431
|
};
|
432
432
|
};
|
433
|
-
}
|
434
|
-
} & {
|
435
|
-
campaigns: {
|
433
|
+
} & {
|
436
434
|
index: {
|
437
435
|
get: {
|
438
436
|
body: unknown;
|
@@ -492,9 +490,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
492
490
|
};
|
493
491
|
};
|
494
492
|
};
|
495
|
-
}
|
496
|
-
} & {
|
497
|
-
campaigns: {
|
493
|
+
} & {
|
498
494
|
count: {
|
499
495
|
get: {
|
500
496
|
body: unknown;
|
@@ -519,6 +515,62 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
519
515
|
};
|
520
516
|
};
|
521
517
|
};
|
518
|
+
} & {
|
519
|
+
campaignsToProcess: {
|
520
|
+
index: {
|
521
|
+
get: {
|
522
|
+
body: unknown;
|
523
|
+
params: Record<never, string>;
|
524
|
+
query: {
|
525
|
+
chainId: number;
|
526
|
+
};
|
527
|
+
headers: unknown;
|
528
|
+
response: {
|
529
|
+
200: {
|
530
|
+
endTimestamp: bigint;
|
531
|
+
campaignId: string;
|
532
|
+
CampaignStatus: {
|
533
|
+
computedUntil: bigint;
|
534
|
+
}[];
|
535
|
+
}[];
|
536
|
+
};
|
537
|
+
};
|
538
|
+
};
|
539
|
+
};
|
540
|
+
} & {
|
541
|
+
campaignsToProcess: {
|
542
|
+
count: {
|
543
|
+
get: {
|
544
|
+
body: unknown;
|
545
|
+
params: Record<never, string>;
|
546
|
+
query: {
|
547
|
+
chainId: number;
|
548
|
+
};
|
549
|
+
headers: unknown;
|
550
|
+
response: {
|
551
|
+
200: number;
|
552
|
+
};
|
553
|
+
};
|
554
|
+
};
|
555
|
+
};
|
556
|
+
} & {
|
557
|
+
campaignsToProcess: {
|
558
|
+
index: {
|
559
|
+
post: {
|
560
|
+
body: unknown;
|
561
|
+
params: Record<never, string>;
|
562
|
+
query: {
|
563
|
+
chainId: number;
|
564
|
+
};
|
565
|
+
headers: {
|
566
|
+
authorization: string;
|
567
|
+
};
|
568
|
+
response: {
|
569
|
+
200: string;
|
570
|
+
};
|
571
|
+
};
|
572
|
+
};
|
573
|
+
};
|
522
574
|
};
|
523
575
|
};
|
524
576
|
} & {
|
@@ -955,6 +1007,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
955
1007
|
};
|
956
1008
|
};
|
957
1009
|
};
|
1010
|
+
} & {
|
1011
|
+
array: {
|
1012
|
+
get: {
|
1013
|
+
body: unknown;
|
1014
|
+
params: Record<never, string>;
|
1015
|
+
query: unknown;
|
1016
|
+
headers: unknown;
|
1017
|
+
response: {
|
1018
|
+
200: {
|
1019
|
+
rate: number;
|
1020
|
+
token: string;
|
1021
|
+
}[];
|
1022
|
+
};
|
1023
|
+
};
|
1024
|
+
};
|
958
1025
|
} & {
|
959
1026
|
symbol: {
|
960
1027
|
":symbol": {
|