@merkl/api 0.10.127 → 0.10.128
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/package.json +4 -2
- package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
- package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
- package/dist/src/eden/index.d.ts +129 -116
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
- package/dist/src/index.d.ts +81 -76
- package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
- package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
- package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +10 -10
- package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
- package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
- package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
- package/dist/src/modules/v4/router.d.ts +79 -70
- package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
- package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
- package/dist/src/plugins/logger.plugin.d.ts +1 -0
- package/dist/src/routes/v1/allowances.d.ts +3 -2
- package/dist/src/routes/v1/balances.d.ts +3 -2
- package/dist/src/routes/v1/prices.d.ts +2 -1
- package/dist/src/routes/v1/tokens.d.ts +2 -1
- package/dist/src/routes/v2/merkl.d.ts +2 -1
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +84 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +82 -77
- package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
- package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
- package/dist/src/routes/v3/campaignReport.d.ts +2 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
- package/dist/src/routes/v3/campaigns.d.ts +84 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +87 -78
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/claims.d.ts +2 -1
- package/dist/src/routes/v3/compoundV2.d.ts +12 -2
- package/dist/src/routes/v3/createCampaign.d.ts +2 -1
- package/dist/src/routes/v3/dolomite.d.ts +2 -1
- package/dist/src/routes/v3/euler.d.ts +2 -1
- package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
- package/dist/src/routes/v3/fetch.d.ts +2 -1
- package/dist/src/routes/v3/health.d.ts +2 -1
- package/dist/src/routes/v3/lostyield.d.ts +2 -1
- package/dist/src/routes/v3/merkl.d.ts +2 -1
- package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
- package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +84 -78
- package/dist/src/routes/v3/opportunity.d.ts +86 -96
- package/dist/src/routes/v3/overview.d.ts +22 -4
- package/dist/src/routes/v3/parse.d.ts +2 -1
- package/dist/src/routes/v3/payload.d.ts +2 -1
- package/dist/src/routes/v3/poolInfo.d.ts +2 -1
- package/dist/src/routes/v3/positions.d.ts +85 -79
- package/dist/src/routes/v3/radiant.d.ts +2 -1
- package/dist/src/routes/v3/recipients.d.ts +2 -1
- package/dist/src/routes/v3/rewards.d.ts +111 -78
- package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
- package/dist/src/routes/v3/silo.d.ts +2 -1
- package/dist/src/routes/v3/token.d.ts +3 -2
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
- package/dist/src/routes/v3/twt/participants.d.ts +2 -1
- package/dist/src/routes/v3/updates.d.ts +91 -78
- package/dist/src/routes/v3/userRewards.d.ts +83 -78
- package/dist/src/utils/error.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +3 -3
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/src/utils/trace.d.ts +0 -26
@@ -24,11 +24,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
24
24
|
}, {
|
25
25
|
schema: {};
|
26
26
|
macro: {};
|
27
|
+
macroFn: {};
|
27
28
|
}, {
|
28
29
|
index: {
|
29
30
|
get: {
|
30
31
|
body: unknown;
|
31
|
-
params:
|
32
|
+
params: {};
|
32
33
|
query: {
|
33
34
|
chainId: number;
|
34
35
|
repository: string;
|
@@ -19,11 +19,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
19
19
|
}, {
|
20
20
|
schema: {};
|
21
21
|
macro: {};
|
22
|
+
macroFn: {};
|
22
23
|
}, {
|
23
24
|
index: {
|
24
25
|
get: {
|
25
26
|
body: unknown;
|
26
|
-
params:
|
27
|
+
params: {};
|
27
28
|
query: {
|
28
29
|
chainId: number;
|
29
30
|
address: string;
|
@@ -31,8 +32,8 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
31
32
|
headers: unknown;
|
32
33
|
response: {
|
33
34
|
200: {
|
34
|
-
symbol: string;
|
35
35
|
name: string;
|
36
|
+
symbol: string;
|
36
37
|
decimals: number;
|
37
38
|
};
|
38
39
|
};
|
@@ -14,11 +14,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
14
14
|
}, {
|
15
15
|
schema: {};
|
16
16
|
macro: {};
|
17
|
+
macroFn: {};
|
17
18
|
}, {
|
18
19
|
index: {
|
19
20
|
get: {
|
20
21
|
body: unknown;
|
21
|
-
params:
|
22
|
+
params: {};
|
22
23
|
query: {
|
23
24
|
token: string;
|
24
25
|
chainId: number;
|
@@ -13,11 +13,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
13
13
|
}, {
|
14
14
|
schema: {};
|
15
15
|
macro: {};
|
16
|
+
macroFn: {};
|
16
17
|
}, {
|
17
18
|
index: {
|
18
19
|
get: {
|
19
20
|
body: unknown;
|
20
|
-
params:
|
21
|
+
params: {};
|
21
22
|
query: {
|
22
23
|
chainId: number;
|
23
24
|
};
|
@@ -29,11 +29,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
29
29
|
}, {
|
30
30
|
schema: {};
|
31
31
|
macro: {};
|
32
|
+
macroFn: {};
|
32
33
|
}, false & {
|
33
34
|
index: {
|
34
35
|
get: {
|
35
36
|
body: unknown;
|
36
|
-
params:
|
37
|
+
params: {};
|
37
38
|
query: unknown;
|
38
39
|
headers: unknown;
|
39
40
|
response: {
|
@@ -62,7 +63,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
62
63
|
protocols: string[];
|
63
64
|
mainProtocol: string;
|
64
65
|
};
|
65
|
-
params:
|
66
|
+
params: {};
|
66
67
|
query: unknown;
|
67
68
|
headers: {
|
68
69
|
authorization: string;
|
@@ -183,7 +184,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
183
184
|
query: unknown;
|
184
185
|
headers: unknown;
|
185
186
|
response: {
|
186
|
-
200:
|
187
|
+
200: {
|
187
188
|
aprRecord: {
|
188
189
|
cumulated: number;
|
189
190
|
timestamp: bigint;
|
@@ -265,7 +266,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
265
266
|
tvl: number;
|
266
267
|
apr: number;
|
267
268
|
dailyRewards: number;
|
268
|
-
} & {
|
269
269
|
campaigns: ({
|
270
270
|
params: any;
|
271
271
|
chain: {
|
@@ -302,7 +302,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
302
302
|
opportunityId: string;
|
303
303
|
creatorAddress: string;
|
304
304
|
} | null)[];
|
305
|
-
}
|
305
|
+
} | null | undefined;
|
306
306
|
};
|
307
307
|
};
|
308
308
|
};
|
@@ -313,9 +313,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
313
313
|
index: {
|
314
314
|
get: {
|
315
315
|
body: unknown;
|
316
|
-
params:
|
316
|
+
params: {};
|
317
317
|
query: {
|
318
|
-
sort?:
|
318
|
+
sort?: undefined;
|
319
319
|
name?: string | undefined;
|
320
320
|
tokens?: string | undefined;
|
321
321
|
status?: string | undefined;
|
@@ -325,7 +325,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
325
325
|
page?: number | undefined;
|
326
326
|
action?: string | undefined;
|
327
327
|
mainProtocolId?: string | undefined;
|
328
|
-
order?:
|
328
|
+
order?: undefined;
|
329
329
|
};
|
330
330
|
headers: unknown;
|
331
331
|
response: {
|
@@ -421,9 +421,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
421
421
|
count: {
|
422
422
|
get: {
|
423
423
|
body: unknown;
|
424
|
-
params:
|
424
|
+
params: {};
|
425
425
|
query: {
|
426
|
-
sort?:
|
426
|
+
sort?: undefined;
|
427
427
|
name?: string | undefined;
|
428
428
|
tokens?: string | undefined;
|
429
429
|
status?: string | undefined;
|
@@ -433,7 +433,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
433
433
|
page?: number | undefined;
|
434
434
|
action?: string | undefined;
|
435
435
|
mainProtocolId?: string | undefined;
|
436
|
-
order?:
|
436
|
+
order?: undefined;
|
437
437
|
};
|
438
438
|
headers: unknown;
|
439
439
|
response: {
|
@@ -463,7 +463,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
463
463
|
rewardTokenAddress: string;
|
464
464
|
opportunityIdentifier: string;
|
465
465
|
};
|
466
|
-
params:
|
466
|
+
params: {};
|
467
467
|
query: unknown;
|
468
468
|
headers: {
|
469
469
|
authorization: string;
|
@@ -491,7 +491,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
491
491
|
index: {
|
492
492
|
get: {
|
493
493
|
body: unknown;
|
494
|
-
params:
|
494
|
+
params: {};
|
495
495
|
query: {
|
496
496
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
497
497
|
items?: number | undefined;
|
@@ -551,7 +551,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
551
551
|
count: {
|
552
552
|
get: {
|
553
553
|
body: unknown;
|
554
|
-
params:
|
554
|
+
params: {};
|
555
555
|
query: {
|
556
556
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
557
557
|
items?: number | undefined;
|
@@ -577,7 +577,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
577
577
|
index: {
|
578
578
|
get: {
|
579
579
|
body: unknown;
|
580
|
-
params:
|
580
|
+
params: {};
|
581
581
|
query: {
|
582
582
|
chainId: number;
|
583
583
|
};
|
@@ -599,7 +599,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
599
599
|
count: {
|
600
600
|
get: {
|
601
601
|
body: unknown;
|
602
|
-
params:
|
602
|
+
params: {};
|
603
603
|
query: {
|
604
604
|
chainId: number;
|
605
605
|
};
|
@@ -615,7 +615,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
615
615
|
index: {
|
616
616
|
post: {
|
617
617
|
body: unknown;
|
618
|
-
params:
|
618
|
+
params: {};
|
619
619
|
query: {
|
620
620
|
chainId: number;
|
621
621
|
};
|
@@ -636,17 +636,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
636
636
|
":id": {
|
637
637
|
get: {
|
638
638
|
body: unknown;
|
639
|
-
params:
|
639
|
+
params: {
|
640
|
+
id: string;
|
641
|
+
};
|
640
642
|
query: unknown;
|
641
643
|
headers: unknown;
|
642
644
|
response: {
|
643
|
-
200:
|
645
|
+
200: {
|
644
646
|
name: string;
|
645
647
|
url: string;
|
646
648
|
description: string;
|
647
649
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
648
650
|
icon: string;
|
649
|
-
}
|
651
|
+
} | null;
|
650
652
|
};
|
651
653
|
};
|
652
654
|
};
|
@@ -656,7 +658,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
656
658
|
index: {
|
657
659
|
get: {
|
658
660
|
body: unknown;
|
659
|
-
params:
|
661
|
+
params: {};
|
660
662
|
query: {
|
661
663
|
name?: string | undefined;
|
662
664
|
id?: string[] | undefined;
|
@@ -682,7 +684,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
682
684
|
count: {
|
683
685
|
get: {
|
684
686
|
body: unknown;
|
685
|
-
params:
|
687
|
+
params: {};
|
686
688
|
query: {
|
687
689
|
name?: string | undefined;
|
688
690
|
id?: string[] | undefined;
|
@@ -710,7 +712,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
710
712
|
query: unknown;
|
711
713
|
headers: unknown;
|
712
714
|
response: {
|
713
|
-
200:
|
715
|
+
200: {
|
714
716
|
symbol: string;
|
715
717
|
name: string | null;
|
716
718
|
id: string;
|
@@ -719,9 +721,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
719
721
|
icon: string;
|
720
722
|
decimals: number;
|
721
723
|
verified: boolean;
|
722
|
-
} & {
|
723
724
|
price?: number | null | undefined;
|
724
|
-
}
|
725
|
+
} | undefined;
|
725
726
|
};
|
726
727
|
};
|
727
728
|
};
|
@@ -731,7 +732,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
731
732
|
balances: {
|
732
733
|
get: {
|
733
734
|
body: unknown;
|
734
|
-
params:
|
735
|
+
params: {};
|
735
736
|
query: {
|
736
737
|
tokenAddress?: string | undefined;
|
737
738
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -763,7 +764,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
763
764
|
index: {
|
764
765
|
get: {
|
765
766
|
body: unknown;
|
766
|
-
params:
|
767
|
+
params: {};
|
767
768
|
query: {
|
768
769
|
symbol?: string | undefined;
|
769
770
|
name?: string | undefined;
|
@@ -794,7 +795,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
794
795
|
count: {
|
795
796
|
get: {
|
796
797
|
body: unknown;
|
797
|
-
params:
|
798
|
+
params: {};
|
798
799
|
query: {
|
799
800
|
symbol?: string | undefined;
|
800
801
|
name?: string | undefined;
|
@@ -816,7 +817,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
816
817
|
index: {
|
817
818
|
get: {
|
818
819
|
body: unknown;
|
819
|
-
params:
|
820
|
+
params: {};
|
820
821
|
query: {
|
821
822
|
items?: number | undefined;
|
822
823
|
page?: number | undefined;
|
@@ -835,7 +836,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
835
836
|
total: {
|
836
837
|
get: {
|
837
838
|
body: unknown;
|
838
|
-
params:
|
839
|
+
params: {};
|
839
840
|
query: {
|
840
841
|
items?: number | undefined;
|
841
842
|
page?: number | undefined;
|
@@ -863,13 +864,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
863
864
|
proofs: string[];
|
864
865
|
rewardToken: string;
|
865
866
|
}[];
|
866
|
-
params:
|
867
|
+
params: {};
|
867
868
|
query: unknown;
|
868
869
|
headers: {
|
869
870
|
authorization: string;
|
870
871
|
};
|
871
872
|
response: {
|
872
|
-
200:
|
873
|
+
200: {
|
874
|
+
count: number;
|
875
|
+
};
|
873
876
|
};
|
874
877
|
};
|
875
878
|
};
|
@@ -895,13 +898,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
895
898
|
claimed: string;
|
896
899
|
}[];
|
897
900
|
}[];
|
898
|
-
params:
|
901
|
+
params: {};
|
899
902
|
query: unknown;
|
900
903
|
headers: {
|
901
904
|
authorization: string;
|
902
905
|
};
|
903
906
|
response: {
|
904
|
-
200:
|
907
|
+
200: {
|
908
|
+
count: number;
|
909
|
+
} | undefined;
|
905
910
|
};
|
906
911
|
};
|
907
912
|
};
|
@@ -931,7 +936,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
931
936
|
recipient: string;
|
932
937
|
}[];
|
933
938
|
};
|
934
|
-
params:
|
939
|
+
params: {};
|
935
940
|
query: unknown;
|
936
941
|
headers: {
|
937
942
|
authorization: string;
|
@@ -947,7 +952,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
947
952
|
count: {
|
948
953
|
get: {
|
949
954
|
body: unknown;
|
950
|
-
params:
|
955
|
+
params: {};
|
951
956
|
query: {
|
952
957
|
items?: number | undefined;
|
953
958
|
page?: number | undefined;
|
@@ -969,16 +974,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
969
974
|
chains: {
|
970
975
|
get: {
|
971
976
|
body: unknown;
|
972
|
-
params:
|
977
|
+
params: {};
|
973
978
|
query: unknown;
|
974
979
|
headers: {
|
975
980
|
authorization: string;
|
976
981
|
};
|
977
982
|
response: {
|
978
|
-
200:
|
979
|
-
|
980
|
-
|
981
|
-
|
983
|
+
200: {
|
984
|
+
[x: string]: {
|
985
|
+
breakdown: number;
|
986
|
+
rewards: Record<string, number>;
|
987
|
+
};
|
988
|
+
};
|
982
989
|
};
|
983
990
|
};
|
984
991
|
};
|
@@ -1015,7 +1022,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1015
1022
|
index: {
|
1016
1023
|
get: {
|
1017
1024
|
body: unknown;
|
1018
|
-
params:
|
1025
|
+
params: {};
|
1019
1026
|
query: {
|
1020
1027
|
search?: string | undefined;
|
1021
1028
|
};
|
@@ -1039,7 +1046,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1039
1046
|
count: {
|
1040
1047
|
get: {
|
1041
1048
|
body: unknown;
|
1042
|
-
params:
|
1049
|
+
params: {};
|
1043
1050
|
query: {
|
1044
1051
|
search?: string | undefined;
|
1045
1052
|
};
|
@@ -1057,7 +1064,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1057
1064
|
url: string;
|
1058
1065
|
chainId: number;
|
1059
1066
|
};
|
1060
|
-
params:
|
1067
|
+
params: {};
|
1061
1068
|
query: unknown;
|
1062
1069
|
headers: {
|
1063
1070
|
authorization: string;
|
@@ -1080,12 +1087,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1080
1087
|
index: {
|
1081
1088
|
get: {
|
1082
1089
|
body: unknown;
|
1083
|
-
params:
|
1090
|
+
params: {};
|
1084
1091
|
query: unknown;
|
1085
1092
|
headers: unknown;
|
1086
1093
|
response: {
|
1087
1094
|
200: {
|
1088
|
-
[
|
1095
|
+
[x: string]: number;
|
1089
1096
|
};
|
1090
1097
|
};
|
1091
1098
|
};
|
@@ -1094,7 +1101,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1094
1101
|
array: {
|
1095
1102
|
get: {
|
1096
1103
|
body: unknown;
|
1097
|
-
params:
|
1104
|
+
params: {};
|
1098
1105
|
query: unknown;
|
1099
1106
|
headers: unknown;
|
1100
1107
|
response: {
|
@@ -1126,7 +1133,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1126
1133
|
index: {
|
1127
1134
|
get: {
|
1128
1135
|
body: unknown;
|
1129
|
-
params:
|
1136
|
+
params: {};
|
1130
1137
|
query: unknown;
|
1131
1138
|
headers: unknown;
|
1132
1139
|
response: {
|
@@ -1172,7 +1179,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1172
1179
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1173
1180
|
args: {};
|
1174
1181
|
};
|
1175
|
-
params:
|
1182
|
+
params: {};
|
1176
1183
|
query: unknown;
|
1177
1184
|
headers: {
|
1178
1185
|
authorization: string;
|
@@ -1245,7 +1252,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1245
1252
|
index: {
|
1246
1253
|
get: {
|
1247
1254
|
body: unknown;
|
1248
|
-
params:
|
1255
|
+
params: {};
|
1249
1256
|
query: unknown;
|
1250
1257
|
headers: unknown;
|
1251
1258
|
response: {
|
@@ -1266,12 +1273,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1266
1273
|
all: {
|
1267
1274
|
get: {
|
1268
1275
|
body: unknown;
|
1269
|
-
params:
|
1276
|
+
params: {};
|
1270
1277
|
query: unknown;
|
1271
1278
|
headers: unknown;
|
1272
1279
|
response: {
|
1273
1280
|
200: {
|
1274
|
-
[
|
1281
|
+
[x: string]: boolean;
|
1275
1282
|
};
|
1276
1283
|
};
|
1277
1284
|
};
|
@@ -1305,7 +1312,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1305
1312
|
poolAddress: string;
|
1306
1313
|
userAddress: string;
|
1307
1314
|
};
|
1308
|
-
params:
|
1315
|
+
params: {};
|
1309
1316
|
query: unknown;
|
1310
1317
|
headers: {
|
1311
1318
|
authorization: string;
|
@@ -1350,7 +1357,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1350
1357
|
index: {
|
1351
1358
|
get: {
|
1352
1359
|
body: unknown;
|
1353
|
-
params:
|
1360
|
+
params: {};
|
1354
1361
|
query: {
|
1355
1362
|
items?: number | undefined;
|
1356
1363
|
tags?: string[] | undefined;
|
@@ -1372,7 +1379,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1372
1379
|
tags: {
|
1373
1380
|
get: {
|
1374
1381
|
body: unknown;
|
1375
|
-
params:
|
1382
|
+
params: {};
|
1376
1383
|
query: unknown;
|
1377
1384
|
headers: {
|
1378
1385
|
authorization: string;
|
@@ -1391,7 +1398,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1391
1398
|
":address": {
|
1392
1399
|
get: {
|
1393
1400
|
body: unknown;
|
1394
|
-
params:
|
1401
|
+
params: {
|
1402
|
+
address: string;
|
1403
|
+
};
|
1395
1404
|
query: unknown;
|
1396
1405
|
headers: unknown;
|
1397
1406
|
response: {
|
@@ -1629,7 +1638,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1629
1638
|
tags: string[];
|
1630
1639
|
address: string;
|
1631
1640
|
};
|
1632
|
-
params:
|
1641
|
+
params: {};
|
1633
1642
|
query: unknown;
|
1634
1643
|
headers: {
|
1635
1644
|
authorization: string;
|
@@ -1648,7 +1657,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1648
1657
|
sync: {
|
1649
1658
|
post: {
|
1650
1659
|
body: unknown;
|
1651
|
-
params:
|
1660
|
+
params: {};
|
1652
1661
|
query: unknown;
|
1653
1662
|
headers: {
|
1654
1663
|
authorization: string;
|
@@ -1691,7 +1700,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1691
1700
|
timestamps: {
|
1692
1701
|
get: {
|
1693
1702
|
body: unknown;
|
1694
|
-
params:
|
1703
|
+
params: {};
|
1695
1704
|
query: {
|
1696
1705
|
chainId: number;
|
1697
1706
|
fromTimestamp: string;
|
@@ -1714,7 +1723,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1714
1723
|
index: {
|
1715
1724
|
get: {
|
1716
1725
|
body: unknown;
|
1717
|
-
params:
|
1726
|
+
params: {};
|
1718
1727
|
query: unknown;
|
1719
1728
|
headers: unknown;
|
1720
1729
|
response: {
|
@@ -1734,7 +1743,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1734
1743
|
targets: {
|
1735
1744
|
get: {
|
1736
1745
|
body: unknown;
|
1737
|
-
params:
|
1746
|
+
params: {};
|
1738
1747
|
query: {
|
1739
1748
|
identifier?: string | undefined;
|
1740
1749
|
chainId: number;
|
@@ -1752,7 +1761,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1752
1761
|
protocols: {
|
1753
1762
|
get: {
|
1754
1763
|
body: unknown;
|
1755
|
-
params:
|
1764
|
+
params: {};
|
1756
1765
|
query: {
|
1757
1766
|
chainId?: number | undefined;
|
1758
1767
|
};
|
@@ -1774,7 +1783,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1774
1783
|
quote: {
|
1775
1784
|
get: {
|
1776
1785
|
body: unknown;
|
1777
|
-
params:
|
1786
|
+
params: {};
|
1778
1787
|
query: {
|
1779
1788
|
identifier: string;
|
1780
1789
|
chainId: number;
|
@@ -1800,7 +1809,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1800
1809
|
transaction: {
|
1801
1810
|
get: {
|
1802
1811
|
body: unknown;
|
1803
|
-
params:
|
1812
|
+
params: {};
|
1804
1813
|
query: {
|
1805
1814
|
identifier: string;
|
1806
1815
|
chainId: number;
|
@@ -1835,7 +1844,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1835
1844
|
index: {
|
1836
1845
|
get: {
|
1837
1846
|
body: unknown;
|
1838
|
-
params:
|
1847
|
+
params: {};
|
1839
1848
|
query: {
|
1840
1849
|
items?: number | undefined;
|
1841
1850
|
page?: number | undefined;
|
@@ -1863,7 +1872,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1863
1872
|
revenues: {
|
1864
1873
|
get: {
|
1865
1874
|
body: unknown;
|
1866
|
-
params:
|
1875
|
+
params: {};
|
1867
1876
|
query: unknown;
|
1868
1877
|
headers: {
|
1869
1878
|
authorization: string;
|
@@ -2072,7 +2081,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2072
2081
|
campaignId: string;
|
2073
2082
|
distributionChain: number;
|
2074
2083
|
};
|
2075
|
-
params:
|
2084
|
+
params: {};
|
2076
2085
|
query: unknown;
|
2077
2086
|
headers: {
|
2078
2087
|
authorization: string;
|
@@ -2088,7 +2097,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2088
2097
|
index: {
|
2089
2098
|
get: {
|
2090
2099
|
body: unknown;
|
2091
|
-
params:
|
2100
|
+
params: {};
|
2092
2101
|
query: unknown;
|
2093
2102
|
headers: unknown;
|
2094
2103
|
response: {
|
@@ -2109,7 +2118,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2109
2118
|
status: {
|
2110
2119
|
get: {
|
2111
2120
|
body: unknown;
|
2112
|
-
params:
|
2121
|
+
params: {};
|
2113
2122
|
query: {
|
2114
2123
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2115
2124
|
};
|
@@ -2148,7 +2157,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2148
2157
|
unique: {
|
2149
2158
|
get: {
|
2150
2159
|
body: unknown;
|
2151
|
-
params:
|
2160
|
+
params: {};
|
2152
2161
|
query: {
|
2153
2162
|
campaignId: string;
|
2154
2163
|
distributionChain: number;
|
@@ -2198,7 +2207,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2198
2207
|
overlaps: {
|
2199
2208
|
get: {
|
2200
2209
|
body: unknown;
|
2201
|
-
params:
|
2210
|
+
params: {};
|
2202
2211
|
query: {
|
2203
2212
|
campaignId: string;
|
2204
2213
|
distributionChain: number;
|
@@ -2218,11 +2227,19 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2218
2227
|
index: {
|
2219
2228
|
get: {
|
2220
2229
|
body: unknown;
|
2221
|
-
params:
|
2230
|
+
params: {};
|
2222
2231
|
query: {};
|
2223
2232
|
headers: unknown;
|
2224
2233
|
response: {
|
2225
|
-
200:
|
2234
|
+
200: {
|
2235
|
+
[x: number]: {
|
2236
|
+
[campaignId: string]: number;
|
2237
|
+
};
|
2238
|
+
};
|
2239
|
+
readonly 400: {
|
2240
|
+
message?: string | undefined;
|
2241
|
+
error: string;
|
2242
|
+
};
|
2226
2243
|
};
|
2227
2244
|
};
|
2228
2245
|
};
|
@@ -2231,11 +2248,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2231
2248
|
resolve: {};
|
2232
2249
|
schema: {};
|
2233
2250
|
}, {
|
2234
|
-
derive: {
|
2235
|
-
readonly tracer: import("dd-trace").Tracer;
|
2236
|
-
readonly span: import("dd-trace").Span;
|
2237
|
-
readonly trace: <R, T extends () => R>(handler: T) => R;
|
2238
|
-
};
|
2251
|
+
derive: {};
|
2239
2252
|
resolve: {};
|
2240
2253
|
schema: {};
|
2241
2254
|
}>;
|