@merkl/api 0.10.126 → 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 +237 -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 +117 -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/campaign/campaign.service.d.ts +8 -0
- 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 +46 -10
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +57 -6
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +48 -0
- 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/reward/reward.model.d.ts +4 -1
- package/dist/src/modules/v4/router.d.ts +115 -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 +120 -78
- package/dist/src/routes/v3/app.d.ts +3 -2
- package/dist/src/routes/v3/blacklist.d.ts +118 -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 +120 -78
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +123 -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 +120 -78
- package/dist/src/routes/v3/opportunity.d.ts +122 -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 +121 -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 +147 -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 +127 -78
- package/dist/src/routes/v3/userRewards.d.ts +119 -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
@@ -16,6 +16,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
16
16
|
}, {
|
17
17
|
schema: {};
|
18
18
|
macro: {};
|
19
|
+
macroFn: {};
|
19
20
|
}, {
|
20
21
|
v4: {};
|
21
22
|
} & {
|
@@ -37,7 +38,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
37
38
|
protocols: string[];
|
38
39
|
mainProtocol: string;
|
39
40
|
};
|
40
|
-
params:
|
41
|
+
params: {};
|
41
42
|
query: unknown;
|
42
43
|
headers: {
|
43
44
|
authorization: string;
|
@@ -92,6 +93,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
92
93
|
value: number;
|
93
94
|
campaignId: string;
|
94
95
|
dailyRewardsRecordId: string;
|
96
|
+
token: {
|
97
|
+
symbol: string;
|
98
|
+
name: string | null;
|
99
|
+
id: string;
|
100
|
+
chainId: number;
|
101
|
+
address: string;
|
102
|
+
icon: string;
|
103
|
+
decimals: number;
|
104
|
+
verified: boolean;
|
105
|
+
price: number | null;
|
106
|
+
};
|
107
|
+
amount: bigint;
|
95
108
|
}[];
|
96
109
|
};
|
97
110
|
id: string;
|
@@ -146,7 +159,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
146
159
|
query: unknown;
|
147
160
|
headers: unknown;
|
148
161
|
response: {
|
149
|
-
200:
|
162
|
+
200: {
|
150
163
|
aprRecord: {
|
151
164
|
cumulated: number;
|
152
165
|
timestamp: bigint;
|
@@ -179,6 +192,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
179
192
|
value: number;
|
180
193
|
campaignId: string;
|
181
194
|
dailyRewardsRecordId: string;
|
195
|
+
token: {
|
196
|
+
symbol: string;
|
197
|
+
name: string | null;
|
198
|
+
id: string;
|
199
|
+
chainId: number;
|
200
|
+
address: string;
|
201
|
+
icon: string;
|
202
|
+
decimals: number;
|
203
|
+
verified: boolean;
|
204
|
+
price: number | null;
|
205
|
+
};
|
206
|
+
amount: bigint;
|
182
207
|
}[];
|
183
208
|
};
|
184
209
|
id: string;
|
@@ -216,7 +241,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
216
241
|
tvl: number;
|
217
242
|
apr: number;
|
218
243
|
dailyRewards: number;
|
219
|
-
} & {
|
220
244
|
campaigns: ({
|
221
245
|
params: any;
|
222
246
|
chain: {
|
@@ -253,7 +277,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
253
277
|
opportunityId: string;
|
254
278
|
creatorAddress: string;
|
255
279
|
} | null)[];
|
256
|
-
}
|
280
|
+
} | null | undefined;
|
257
281
|
};
|
258
282
|
};
|
259
283
|
};
|
@@ -264,9 +288,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
264
288
|
index: {
|
265
289
|
get: {
|
266
290
|
body: unknown;
|
267
|
-
params:
|
291
|
+
params: {};
|
268
292
|
query: {
|
269
|
-
sort?:
|
293
|
+
sort?: undefined;
|
270
294
|
name?: string | undefined;
|
271
295
|
tokens?: string | undefined;
|
272
296
|
status?: string | undefined;
|
@@ -276,7 +300,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
276
300
|
page?: number | undefined;
|
277
301
|
action?: string | undefined;
|
278
302
|
mainProtocolId?: string | undefined;
|
279
|
-
order?:
|
303
|
+
order?: undefined;
|
280
304
|
};
|
281
305
|
headers: unknown;
|
282
306
|
response: {
|
@@ -313,6 +337,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
313
337
|
value: number;
|
314
338
|
campaignId: string;
|
315
339
|
dailyRewardsRecordId: string;
|
340
|
+
token: {
|
341
|
+
symbol: string;
|
342
|
+
name: string | null;
|
343
|
+
id: string;
|
344
|
+
chainId: number;
|
345
|
+
address: string;
|
346
|
+
icon: string;
|
347
|
+
decimals: number;
|
348
|
+
verified: boolean;
|
349
|
+
price: number | null;
|
350
|
+
};
|
351
|
+
amount: bigint;
|
316
352
|
}[];
|
317
353
|
};
|
318
354
|
id: string;
|
@@ -360,9 +396,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
360
396
|
count: {
|
361
397
|
get: {
|
362
398
|
body: unknown;
|
363
|
-
params:
|
399
|
+
params: {};
|
364
400
|
query: {
|
365
|
-
sort?:
|
401
|
+
sort?: undefined;
|
366
402
|
name?: string | undefined;
|
367
403
|
tokens?: string | undefined;
|
368
404
|
status?: string | undefined;
|
@@ -372,7 +408,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
372
408
|
page?: number | undefined;
|
373
409
|
action?: string | undefined;
|
374
410
|
mainProtocolId?: string | undefined;
|
375
|
-
order?:
|
411
|
+
order?: undefined;
|
376
412
|
};
|
377
413
|
headers: unknown;
|
378
414
|
response: {
|
@@ -402,7 +438,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
402
438
|
rewardTokenAddress: string;
|
403
439
|
opportunityIdentifier: string;
|
404
440
|
};
|
405
|
-
params:
|
441
|
+
params: {};
|
406
442
|
query: unknown;
|
407
443
|
headers: {
|
408
444
|
authorization: string;
|
@@ -430,7 +466,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
430
466
|
index: {
|
431
467
|
get: {
|
432
468
|
body: unknown;
|
433
|
-
params:
|
469
|
+
params: {};
|
434
470
|
query: {
|
435
471
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
436
472
|
items?: number | undefined;
|
@@ -490,7 +526,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
490
526
|
count: {
|
491
527
|
get: {
|
492
528
|
body: unknown;
|
493
|
-
params:
|
529
|
+
params: {};
|
494
530
|
query: {
|
495
531
|
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
496
532
|
items?: number | undefined;
|
@@ -516,7 +552,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
516
552
|
index: {
|
517
553
|
get: {
|
518
554
|
body: unknown;
|
519
|
-
params:
|
555
|
+
params: {};
|
520
556
|
query: {
|
521
557
|
chainId: number;
|
522
558
|
};
|
@@ -538,7 +574,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
538
574
|
count: {
|
539
575
|
get: {
|
540
576
|
body: unknown;
|
541
|
-
params:
|
577
|
+
params: {};
|
542
578
|
query: {
|
543
579
|
chainId: number;
|
544
580
|
};
|
@@ -554,7 +590,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
554
590
|
index: {
|
555
591
|
post: {
|
556
592
|
body: unknown;
|
557
|
-
params:
|
593
|
+
params: {};
|
558
594
|
query: {
|
559
595
|
chainId: number;
|
560
596
|
};
|
@@ -575,17 +611,19 @@ export declare const v4: Elysia<"/v4", false, {
|
|
575
611
|
":id": {
|
576
612
|
get: {
|
577
613
|
body: unknown;
|
578
|
-
params:
|
614
|
+
params: {
|
615
|
+
id: string;
|
616
|
+
};
|
579
617
|
query: unknown;
|
580
618
|
headers: unknown;
|
581
619
|
response: {
|
582
|
-
200:
|
620
|
+
200: {
|
583
621
|
name: string;
|
584
622
|
url: string;
|
585
623
|
description: string;
|
586
624
|
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
587
625
|
icon: string;
|
588
|
-
}
|
626
|
+
} | null;
|
589
627
|
};
|
590
628
|
};
|
591
629
|
};
|
@@ -595,7 +633,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
595
633
|
index: {
|
596
634
|
get: {
|
597
635
|
body: unknown;
|
598
|
-
params:
|
636
|
+
params: {};
|
599
637
|
query: {
|
600
638
|
name?: string | undefined;
|
601
639
|
id?: string[] | undefined;
|
@@ -621,7 +659,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
621
659
|
count: {
|
622
660
|
get: {
|
623
661
|
body: unknown;
|
624
|
-
params:
|
662
|
+
params: {};
|
625
663
|
query: {
|
626
664
|
name?: string | undefined;
|
627
665
|
id?: string[] | undefined;
|
@@ -649,7 +687,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
649
687
|
query: unknown;
|
650
688
|
headers: unknown;
|
651
689
|
response: {
|
652
|
-
200:
|
690
|
+
200: {
|
653
691
|
symbol: string;
|
654
692
|
name: string | null;
|
655
693
|
id: string;
|
@@ -658,9 +696,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
658
696
|
icon: string;
|
659
697
|
decimals: number;
|
660
698
|
verified: boolean;
|
661
|
-
} & {
|
662
699
|
price?: number | null | undefined;
|
663
|
-
}
|
700
|
+
} | undefined;
|
664
701
|
};
|
665
702
|
};
|
666
703
|
};
|
@@ -670,7 +707,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
670
707
|
balances: {
|
671
708
|
get: {
|
672
709
|
body: unknown;
|
673
|
-
params:
|
710
|
+
params: {};
|
674
711
|
query: {
|
675
712
|
tokenAddress?: string | undefined;
|
676
713
|
additionalTokenAddresses?: string[] | undefined;
|
@@ -702,7 +739,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
702
739
|
index: {
|
703
740
|
get: {
|
704
741
|
body: unknown;
|
705
|
-
params:
|
742
|
+
params: {};
|
706
743
|
query: {
|
707
744
|
symbol?: string | undefined;
|
708
745
|
name?: string | undefined;
|
@@ -733,7 +770,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
733
770
|
count: {
|
734
771
|
get: {
|
735
772
|
body: unknown;
|
736
|
-
params:
|
773
|
+
params: {};
|
737
774
|
query: {
|
738
775
|
symbol?: string | undefined;
|
739
776
|
name?: string | undefined;
|
@@ -755,7 +792,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
755
792
|
index: {
|
756
793
|
get: {
|
757
794
|
body: unknown;
|
758
|
-
params:
|
795
|
+
params: {};
|
759
796
|
query: {
|
760
797
|
items?: number | undefined;
|
761
798
|
page?: number | undefined;
|
@@ -774,7 +811,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
774
811
|
total: {
|
775
812
|
get: {
|
776
813
|
body: unknown;
|
777
|
-
params:
|
814
|
+
params: {};
|
778
815
|
query: {
|
779
816
|
items?: number | undefined;
|
780
817
|
page?: number | undefined;
|
@@ -802,13 +839,15 @@ export declare const v4: Elysia<"/v4", false, {
|
|
802
839
|
proofs: string[];
|
803
840
|
rewardToken: string;
|
804
841
|
}[];
|
805
|
-
params:
|
842
|
+
params: {};
|
806
843
|
query: unknown;
|
807
844
|
headers: {
|
808
845
|
authorization: string;
|
809
846
|
};
|
810
847
|
response: {
|
811
|
-
200:
|
848
|
+
200: {
|
849
|
+
count: number;
|
850
|
+
};
|
812
851
|
};
|
813
852
|
};
|
814
853
|
};
|
@@ -834,13 +873,15 @@ export declare const v4: Elysia<"/v4", false, {
|
|
834
873
|
claimed: string;
|
835
874
|
}[];
|
836
875
|
}[];
|
837
|
-
params:
|
876
|
+
params: {};
|
838
877
|
query: unknown;
|
839
878
|
headers: {
|
840
879
|
authorization: string;
|
841
880
|
};
|
842
881
|
response: {
|
843
|
-
200:
|
882
|
+
200: {
|
883
|
+
count: number;
|
884
|
+
} | undefined;
|
844
885
|
};
|
845
886
|
};
|
846
887
|
};
|
@@ -870,7 +911,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
870
911
|
recipient: string;
|
871
912
|
}[];
|
872
913
|
};
|
873
|
-
params:
|
914
|
+
params: {};
|
874
915
|
query: unknown;
|
875
916
|
headers: {
|
876
917
|
authorization: string;
|
@@ -886,7 +927,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
886
927
|
count: {
|
887
928
|
get: {
|
888
929
|
body: unknown;
|
889
|
-
params:
|
930
|
+
params: {};
|
890
931
|
query: {
|
891
932
|
items?: number | undefined;
|
892
933
|
page?: number | undefined;
|
@@ -908,16 +949,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
908
949
|
chains: {
|
909
950
|
get: {
|
910
951
|
body: unknown;
|
911
|
-
params:
|
952
|
+
params: {};
|
912
953
|
query: unknown;
|
913
954
|
headers: {
|
914
955
|
authorization: string;
|
915
956
|
};
|
916
957
|
response: {
|
917
|
-
200:
|
918
|
-
|
919
|
-
|
920
|
-
|
958
|
+
200: {
|
959
|
+
[x: string]: {
|
960
|
+
breakdown: number;
|
961
|
+
rewards: Record<string, number>;
|
962
|
+
};
|
963
|
+
};
|
921
964
|
};
|
922
965
|
};
|
923
966
|
};
|
@@ -954,7 +997,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
954
997
|
index: {
|
955
998
|
get: {
|
956
999
|
body: unknown;
|
957
|
-
params:
|
1000
|
+
params: {};
|
958
1001
|
query: {
|
959
1002
|
search?: string | undefined;
|
960
1003
|
};
|
@@ -978,7 +1021,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
978
1021
|
count: {
|
979
1022
|
get: {
|
980
1023
|
body: unknown;
|
981
|
-
params:
|
1024
|
+
params: {};
|
982
1025
|
query: {
|
983
1026
|
search?: string | undefined;
|
984
1027
|
};
|
@@ -996,7 +1039,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
996
1039
|
url: string;
|
997
1040
|
chainId: number;
|
998
1041
|
};
|
999
|
-
params:
|
1042
|
+
params: {};
|
1000
1043
|
query: unknown;
|
1001
1044
|
headers: {
|
1002
1045
|
authorization: string;
|
@@ -1019,12 +1062,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1019
1062
|
index: {
|
1020
1063
|
get: {
|
1021
1064
|
body: unknown;
|
1022
|
-
params:
|
1065
|
+
params: {};
|
1023
1066
|
query: unknown;
|
1024
1067
|
headers: unknown;
|
1025
1068
|
response: {
|
1026
1069
|
200: {
|
1027
|
-
[
|
1070
|
+
[x: string]: number;
|
1028
1071
|
};
|
1029
1072
|
};
|
1030
1073
|
};
|
@@ -1033,7 +1076,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1033
1076
|
array: {
|
1034
1077
|
get: {
|
1035
1078
|
body: unknown;
|
1036
|
-
params:
|
1079
|
+
params: {};
|
1037
1080
|
query: unknown;
|
1038
1081
|
headers: unknown;
|
1039
1082
|
response: {
|
@@ -1065,7 +1108,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1065
1108
|
index: {
|
1066
1109
|
get: {
|
1067
1110
|
body: unknown;
|
1068
|
-
params:
|
1111
|
+
params: {};
|
1069
1112
|
query: unknown;
|
1070
1113
|
headers: unknown;
|
1071
1114
|
response: {
|
@@ -1111,7 +1154,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1111
1154
|
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1112
1155
|
args: {};
|
1113
1156
|
};
|
1114
|
-
params:
|
1157
|
+
params: {};
|
1115
1158
|
query: unknown;
|
1116
1159
|
headers: {
|
1117
1160
|
authorization: string;
|
@@ -1184,7 +1227,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1184
1227
|
index: {
|
1185
1228
|
get: {
|
1186
1229
|
body: unknown;
|
1187
|
-
params:
|
1230
|
+
params: {};
|
1188
1231
|
query: unknown;
|
1189
1232
|
headers: unknown;
|
1190
1233
|
response: {
|
@@ -1205,12 +1248,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1205
1248
|
all: {
|
1206
1249
|
get: {
|
1207
1250
|
body: unknown;
|
1208
|
-
params:
|
1251
|
+
params: {};
|
1209
1252
|
query: unknown;
|
1210
1253
|
headers: unknown;
|
1211
1254
|
response: {
|
1212
1255
|
200: {
|
1213
|
-
[
|
1256
|
+
[x: string]: boolean;
|
1214
1257
|
};
|
1215
1258
|
};
|
1216
1259
|
};
|
@@ -1244,7 +1287,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1244
1287
|
poolAddress: string;
|
1245
1288
|
userAddress: string;
|
1246
1289
|
};
|
1247
|
-
params:
|
1290
|
+
params: {};
|
1248
1291
|
query: unknown;
|
1249
1292
|
headers: {
|
1250
1293
|
authorization: string;
|
@@ -1289,7 +1332,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1289
1332
|
index: {
|
1290
1333
|
get: {
|
1291
1334
|
body: unknown;
|
1292
|
-
params:
|
1335
|
+
params: {};
|
1293
1336
|
query: {
|
1294
1337
|
items?: number | undefined;
|
1295
1338
|
tags?: string[] | undefined;
|
@@ -1311,7 +1354,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1311
1354
|
tags: {
|
1312
1355
|
get: {
|
1313
1356
|
body: unknown;
|
1314
|
-
params:
|
1357
|
+
params: {};
|
1315
1358
|
query: unknown;
|
1316
1359
|
headers: {
|
1317
1360
|
authorization: string;
|
@@ -1330,7 +1373,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1330
1373
|
":address": {
|
1331
1374
|
get: {
|
1332
1375
|
body: unknown;
|
1333
|
-
params:
|
1376
|
+
params: {
|
1377
|
+
address: string;
|
1378
|
+
};
|
1334
1379
|
query: unknown;
|
1335
1380
|
headers: unknown;
|
1336
1381
|
response: {
|
@@ -1568,7 +1613,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1568
1613
|
tags: string[];
|
1569
1614
|
address: string;
|
1570
1615
|
};
|
1571
|
-
params:
|
1616
|
+
params: {};
|
1572
1617
|
query: unknown;
|
1573
1618
|
headers: {
|
1574
1619
|
authorization: string;
|
@@ -1587,7 +1632,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1587
1632
|
sync: {
|
1588
1633
|
post: {
|
1589
1634
|
body: unknown;
|
1590
|
-
params:
|
1635
|
+
params: {};
|
1591
1636
|
query: unknown;
|
1592
1637
|
headers: {
|
1593
1638
|
authorization: string;
|
@@ -1630,7 +1675,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1630
1675
|
timestamps: {
|
1631
1676
|
get: {
|
1632
1677
|
body: unknown;
|
1633
|
-
params:
|
1678
|
+
params: {};
|
1634
1679
|
query: {
|
1635
1680
|
chainId: number;
|
1636
1681
|
fromTimestamp: string;
|
@@ -1653,7 +1698,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1653
1698
|
index: {
|
1654
1699
|
get: {
|
1655
1700
|
body: unknown;
|
1656
|
-
params:
|
1701
|
+
params: {};
|
1657
1702
|
query: unknown;
|
1658
1703
|
headers: unknown;
|
1659
1704
|
response: {
|
@@ -1673,7 +1718,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1673
1718
|
targets: {
|
1674
1719
|
get: {
|
1675
1720
|
body: unknown;
|
1676
|
-
params:
|
1721
|
+
params: {};
|
1677
1722
|
query: {
|
1678
1723
|
identifier?: string | undefined;
|
1679
1724
|
chainId: number;
|
@@ -1691,7 +1736,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1691
1736
|
protocols: {
|
1692
1737
|
get: {
|
1693
1738
|
body: unknown;
|
1694
|
-
params:
|
1739
|
+
params: {};
|
1695
1740
|
query: {
|
1696
1741
|
chainId?: number | undefined;
|
1697
1742
|
};
|
@@ -1713,7 +1758,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1713
1758
|
quote: {
|
1714
1759
|
get: {
|
1715
1760
|
body: unknown;
|
1716
|
-
params:
|
1761
|
+
params: {};
|
1717
1762
|
query: {
|
1718
1763
|
identifier: string;
|
1719
1764
|
chainId: number;
|
@@ -1739,7 +1784,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1739
1784
|
transaction: {
|
1740
1785
|
get: {
|
1741
1786
|
body: unknown;
|
1742
|
-
params:
|
1787
|
+
params: {};
|
1743
1788
|
query: {
|
1744
1789
|
identifier: string;
|
1745
1790
|
chainId: number;
|
@@ -1774,7 +1819,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1774
1819
|
index: {
|
1775
1820
|
get: {
|
1776
1821
|
body: unknown;
|
1777
|
-
params:
|
1822
|
+
params: {};
|
1778
1823
|
query: {
|
1779
1824
|
items?: number | undefined;
|
1780
1825
|
page?: number | undefined;
|
@@ -1802,7 +1847,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1802
1847
|
revenues: {
|
1803
1848
|
get: {
|
1804
1849
|
body: unknown;
|
1805
|
-
params:
|
1850
|
+
params: {};
|
1806
1851
|
query: unknown;
|
1807
1852
|
headers: {
|
1808
1853
|
authorization: string;
|
@@ -2011,7 +2056,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2011
2056
|
campaignId: string;
|
2012
2057
|
distributionChain: number;
|
2013
2058
|
};
|
2014
|
-
params:
|
2059
|
+
params: {};
|
2015
2060
|
query: unknown;
|
2016
2061
|
headers: {
|
2017
2062
|
authorization: string;
|
@@ -2027,7 +2072,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2027
2072
|
index: {
|
2028
2073
|
get: {
|
2029
2074
|
body: unknown;
|
2030
|
-
params:
|
2075
|
+
params: {};
|
2031
2076
|
query: unknown;
|
2032
2077
|
headers: unknown;
|
2033
2078
|
response: {
|
@@ -2048,7 +2093,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2048
2093
|
status: {
|
2049
2094
|
get: {
|
2050
2095
|
body: unknown;
|
2051
|
-
params:
|
2096
|
+
params: {};
|
2052
2097
|
query: {
|
2053
2098
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
2054
2099
|
};
|
@@ -2087,7 +2132,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2087
2132
|
unique: {
|
2088
2133
|
get: {
|
2089
2134
|
body: unknown;
|
2090
|
-
params:
|
2135
|
+
params: {};
|
2091
2136
|
query: {
|
2092
2137
|
campaignId: string;
|
2093
2138
|
distributionChain: number;
|
@@ -2137,7 +2182,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2137
2182
|
overlaps: {
|
2138
2183
|
get: {
|
2139
2184
|
body: unknown;
|
2140
|
-
params:
|
2185
|
+
params: {};
|
2141
2186
|
query: {
|
2142
2187
|
campaignId: string;
|
2143
2188
|
distributionChain: number;
|
@@ -10,6 +10,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
10
10
|
}, {
|
11
11
|
schema: {};
|
12
12
|
macro: {};
|
13
|
+
macroFn: {};
|
13
14
|
}, {
|
14
15
|
campaignStatus: {
|
15
16
|
engine: {
|
@@ -32,7 +33,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
32
33
|
campaignId: string;
|
33
34
|
distributionChain: number;
|
34
35
|
};
|
35
|
-
params:
|
36
|
+
params: {};
|
36
37
|
query: unknown;
|
37
38
|
headers: {
|
38
39
|
authorization: string;
|
@@ -48,7 +49,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
48
49
|
index: {
|
49
50
|
get: {
|
50
51
|
body: unknown;
|
51
|
-
params:
|
52
|
+
params: {};
|
52
53
|
query: unknown;
|
53
54
|
headers: unknown;
|
54
55
|
response: {
|
@@ -69,7 +70,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
69
70
|
status: {
|
70
71
|
get: {
|
71
72
|
body: unknown;
|
72
|
-
params:
|
73
|
+
params: {};
|
73
74
|
query: {
|
74
75
|
status: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[];
|
75
76
|
};
|
@@ -108,7 +109,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
108
109
|
unique: {
|
109
110
|
get: {
|
110
111
|
body: unknown;
|
111
|
-
params:
|
112
|
+
params: {};
|
112
113
|
query: {
|
113
114
|
campaignId: string;
|
114
115
|
distributionChain: number;
|
@@ -158,7 +159,7 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
158
159
|
overlaps: {
|
159
160
|
get: {
|
160
161
|
body: unknown;
|
161
|
-
params:
|
162
|
+
params: {};
|
162
163
|
query: {
|
163
164
|
campaignId: string;
|
164
165
|
distributionChain: number;
|