@merkl/api 0.17.27 → 0.17.29
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 +290 -5
- package/dist/src/index.d.ts +58 -1
- package/dist/src/jobs/etl/pendings.js +2 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +38 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +11 -2
- package/dist/src/modules/v4/campaign/campaign.model.js +12 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +225 -2
- package/dist/src/modules/v4/campaign/campaign.repository.js +27 -4
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +30 -0
- package/dist/src/modules/v4/claims/claims.controller.d.ts +1 -1
- package/dist/src/modules/v4/claims/claims.service.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +19 -0
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.converter.js +4 -4
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +45 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +1 -1
- package/dist/src/modules/v4/router.d.ts +58 -1
- package/dist/src/routes/v3/campaigns.d.ts +8 -0
- package/dist/src/routes/v3/campaigns.js +37 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -570,6 +570,21 @@ declare const eden: {
|
|
570
570
|
address: string;
|
571
571
|
creatorId: string | null;
|
572
572
|
};
|
573
|
+
Opportunity: {
|
574
|
+
name: string;
|
575
|
+
type: string;
|
576
|
+
id: string;
|
577
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
578
|
+
tags: string[];
|
579
|
+
identifier: string;
|
580
|
+
chainId: number;
|
581
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
582
|
+
depositUrl: string | null;
|
583
|
+
mainProtocolId: string | null;
|
584
|
+
tvl: number;
|
585
|
+
apr: number;
|
586
|
+
dailyRewards: number;
|
587
|
+
};
|
573
588
|
type: string;
|
574
589
|
id: string;
|
575
590
|
subType: number | null;
|
@@ -653,6 +668,7 @@ declare const eden: {
|
|
653
668
|
headers?: Record<string, unknown> | undefined;
|
654
669
|
query: {
|
655
670
|
type?: string | undefined;
|
671
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
656
672
|
items?: number | undefined;
|
657
673
|
subType?: number | undefined;
|
658
674
|
page?: number | undefined;
|
@@ -660,6 +676,7 @@ declare const eden: {
|
|
660
676
|
startTimestamp?: string | undefined;
|
661
677
|
endTimestamp?: string | undefined;
|
662
678
|
tokenAddress?: string | undefined;
|
679
|
+
types?: string[] | undefined;
|
663
680
|
campaignId?: string | undefined;
|
664
681
|
opportunityId?: string | undefined;
|
665
682
|
creatorAddress?: string | undefined;
|
@@ -667,7 +684,9 @@ declare const eden: {
|
|
667
684
|
mainParameter?: string | undefined;
|
668
685
|
test?: boolean | undefined;
|
669
686
|
creatorTag?: string | undefined;
|
687
|
+
distributionChainIds?: number[] | undefined;
|
670
688
|
tokenSymbol?: string | undefined;
|
689
|
+
withOpportunity?: boolean | undefined;
|
671
690
|
};
|
672
691
|
fetch?: RequestInit | undefined;
|
673
692
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -962,6 +981,21 @@ declare const eden: {
|
|
962
981
|
address: string;
|
963
982
|
creatorId: string | null;
|
964
983
|
};
|
984
|
+
Opportunity: {
|
985
|
+
name: string;
|
986
|
+
type: string;
|
987
|
+
id: string;
|
988
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
989
|
+
tags: string[];
|
990
|
+
identifier: string;
|
991
|
+
chainId: number;
|
992
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
993
|
+
depositUrl: string | null;
|
994
|
+
mainProtocolId: string | null;
|
995
|
+
tvl: number;
|
996
|
+
apr: number;
|
997
|
+
dailyRewards: number;
|
998
|
+
};
|
965
999
|
type: string;
|
966
1000
|
id: string;
|
967
1001
|
subType: number | null;
|
@@ -1108,6 +1142,7 @@ declare const eden: {
|
|
1108
1142
|
headers?: Record<string, unknown> | undefined;
|
1109
1143
|
query: {
|
1110
1144
|
type?: string | undefined;
|
1145
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1111
1146
|
items?: number | undefined;
|
1112
1147
|
subType?: number | undefined;
|
1113
1148
|
page?: number | undefined;
|
@@ -1115,6 +1150,7 @@ declare const eden: {
|
|
1115
1150
|
startTimestamp?: string | undefined;
|
1116
1151
|
endTimestamp?: string | undefined;
|
1117
1152
|
tokenAddress?: string | undefined;
|
1153
|
+
types?: string[] | undefined;
|
1118
1154
|
campaignId?: string | undefined;
|
1119
1155
|
opportunityId?: string | undefined;
|
1120
1156
|
creatorAddress?: string | undefined;
|
@@ -1122,7 +1158,9 @@ declare const eden: {
|
|
1122
1158
|
mainParameter?: string | undefined;
|
1123
1159
|
test?: boolean | undefined;
|
1124
1160
|
creatorTag?: string | undefined;
|
1161
|
+
distributionChainIds?: number[] | undefined;
|
1125
1162
|
tokenSymbol?: string | undefined;
|
1163
|
+
withOpportunity?: boolean | undefined;
|
1126
1164
|
};
|
1127
1165
|
fetch?: RequestInit | undefined;
|
1128
1166
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -1167,6 +1205,21 @@ declare const eden: {
|
|
1167
1205
|
address: string;
|
1168
1206
|
creatorId: string | null;
|
1169
1207
|
};
|
1208
|
+
Opportunity: {
|
1209
|
+
name: string;
|
1210
|
+
type: string;
|
1211
|
+
id: string;
|
1212
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
1213
|
+
tags: string[];
|
1214
|
+
identifier: string;
|
1215
|
+
chainId: number;
|
1216
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
1217
|
+
depositUrl: string | null;
|
1218
|
+
mainProtocolId: string | null;
|
1219
|
+
tvl: number;
|
1220
|
+
apr: number;
|
1221
|
+
dailyRewards: number;
|
1222
|
+
};
|
1170
1223
|
type: string;
|
1171
1224
|
id: string;
|
1172
1225
|
subType: number | null;
|
@@ -1185,6 +1238,7 @@ declare const eden: {
|
|
1185
1238
|
headers?: Record<string, unknown> | undefined;
|
1186
1239
|
query: {
|
1187
1240
|
type?: string | undefined;
|
1241
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1188
1242
|
items?: number | undefined;
|
1189
1243
|
subType?: number | undefined;
|
1190
1244
|
page?: number | undefined;
|
@@ -1192,6 +1246,7 @@ declare const eden: {
|
|
1192
1246
|
startTimestamp?: string | undefined;
|
1193
1247
|
endTimestamp?: string | undefined;
|
1194
1248
|
tokenAddress?: string | undefined;
|
1249
|
+
types?: string[] | undefined;
|
1195
1250
|
campaignId?: string | undefined;
|
1196
1251
|
opportunityId?: string | undefined;
|
1197
1252
|
creatorAddress?: string | undefined;
|
@@ -1199,7 +1254,9 @@ declare const eden: {
|
|
1199
1254
|
mainParameter?: string | undefined;
|
1200
1255
|
test?: boolean | undefined;
|
1201
1256
|
creatorTag?: string | undefined;
|
1257
|
+
distributionChainIds?: number[] | undefined;
|
1202
1258
|
tokenSymbol?: string | undefined;
|
1259
|
+
withOpportunity?: boolean | undefined;
|
1203
1260
|
};
|
1204
1261
|
fetch?: RequestInit | undefined;
|
1205
1262
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -2967,7 +3024,7 @@ declare const eden: {
|
|
2967
3024
|
fetch?: RequestInit | undefined;
|
2968
3025
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2969
3026
|
200: (import("../modules/v4/claims").ClaimModel & {
|
2970
|
-
token?:
|
3027
|
+
token?: import("../modules/v4/token/token.model").Token["model"];
|
2971
3028
|
})[];
|
2972
3029
|
}>>;
|
2973
3030
|
}) & {};
|
@@ -3910,6 +3967,21 @@ declare const eden: {
|
|
3910
3967
|
address: string;
|
3911
3968
|
creatorId: string | null;
|
3912
3969
|
};
|
3970
|
+
Opportunity: {
|
3971
|
+
name: string;
|
3972
|
+
type: string;
|
3973
|
+
id: string;
|
3974
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
3975
|
+
tags: string[];
|
3976
|
+
identifier: string;
|
3977
|
+
chainId: number;
|
3978
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3979
|
+
depositUrl: string | null;
|
3980
|
+
mainProtocolId: string | null;
|
3981
|
+
tvl: number;
|
3982
|
+
apr: number;
|
3983
|
+
dailyRewards: number;
|
3984
|
+
};
|
3913
3985
|
type: string;
|
3914
3986
|
id: string;
|
3915
3987
|
subType: number | null;
|
@@ -3993,6 +4065,7 @@ declare const eden: {
|
|
3993
4065
|
headers?: Record<string, unknown> | undefined;
|
3994
4066
|
query: {
|
3995
4067
|
type?: string | undefined;
|
4068
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
3996
4069
|
items?: number | undefined;
|
3997
4070
|
subType?: number | undefined;
|
3998
4071
|
page?: number | undefined;
|
@@ -4000,6 +4073,7 @@ declare const eden: {
|
|
4000
4073
|
startTimestamp?: string | undefined;
|
4001
4074
|
endTimestamp?: string | undefined;
|
4002
4075
|
tokenAddress?: string | undefined;
|
4076
|
+
types?: string[] | undefined;
|
4003
4077
|
campaignId?: string | undefined;
|
4004
4078
|
opportunityId?: string | undefined;
|
4005
4079
|
creatorAddress?: string | undefined;
|
@@ -4007,7 +4081,9 @@ declare const eden: {
|
|
4007
4081
|
mainParameter?: string | undefined;
|
4008
4082
|
test?: boolean | undefined;
|
4009
4083
|
creatorTag?: string | undefined;
|
4084
|
+
distributionChainIds?: number[] | undefined;
|
4010
4085
|
tokenSymbol?: string | undefined;
|
4086
|
+
withOpportunity?: boolean | undefined;
|
4011
4087
|
};
|
4012
4088
|
fetch?: RequestInit | undefined;
|
4013
4089
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -4302,6 +4378,21 @@ declare const eden: {
|
|
4302
4378
|
address: string;
|
4303
4379
|
creatorId: string | null;
|
4304
4380
|
};
|
4381
|
+
Opportunity: {
|
4382
|
+
name: string;
|
4383
|
+
type: string;
|
4384
|
+
id: string;
|
4385
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
4386
|
+
tags: string[];
|
4387
|
+
identifier: string;
|
4388
|
+
chainId: number;
|
4389
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
4390
|
+
depositUrl: string | null;
|
4391
|
+
mainProtocolId: string | null;
|
4392
|
+
tvl: number;
|
4393
|
+
apr: number;
|
4394
|
+
dailyRewards: number;
|
4395
|
+
};
|
4305
4396
|
type: string;
|
4306
4397
|
id: string;
|
4307
4398
|
subType: number | null;
|
@@ -4448,6 +4539,7 @@ declare const eden: {
|
|
4448
4539
|
headers?: Record<string, unknown> | undefined;
|
4449
4540
|
query: {
|
4450
4541
|
type?: string | undefined;
|
4542
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
4451
4543
|
items?: number | undefined;
|
4452
4544
|
subType?: number | undefined;
|
4453
4545
|
page?: number | undefined;
|
@@ -4455,6 +4547,7 @@ declare const eden: {
|
|
4455
4547
|
startTimestamp?: string | undefined;
|
4456
4548
|
endTimestamp?: string | undefined;
|
4457
4549
|
tokenAddress?: string | undefined;
|
4550
|
+
types?: string[] | undefined;
|
4458
4551
|
campaignId?: string | undefined;
|
4459
4552
|
opportunityId?: string | undefined;
|
4460
4553
|
creatorAddress?: string | undefined;
|
@@ -4462,7 +4555,9 @@ declare const eden: {
|
|
4462
4555
|
mainParameter?: string | undefined;
|
4463
4556
|
test?: boolean | undefined;
|
4464
4557
|
creatorTag?: string | undefined;
|
4558
|
+
distributionChainIds?: number[] | undefined;
|
4465
4559
|
tokenSymbol?: string | undefined;
|
4560
|
+
withOpportunity?: boolean | undefined;
|
4466
4561
|
};
|
4467
4562
|
fetch?: RequestInit | undefined;
|
4468
4563
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -4507,6 +4602,21 @@ declare const eden: {
|
|
4507
4602
|
address: string;
|
4508
4603
|
creatorId: string | null;
|
4509
4604
|
};
|
4605
|
+
Opportunity: {
|
4606
|
+
name: string;
|
4607
|
+
type: string;
|
4608
|
+
id: string;
|
4609
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
4610
|
+
tags: string[];
|
4611
|
+
identifier: string;
|
4612
|
+
chainId: number;
|
4613
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
4614
|
+
depositUrl: string | null;
|
4615
|
+
mainProtocolId: string | null;
|
4616
|
+
tvl: number;
|
4617
|
+
apr: number;
|
4618
|
+
dailyRewards: number;
|
4619
|
+
};
|
4510
4620
|
type: string;
|
4511
4621
|
id: string;
|
4512
4622
|
subType: number | null;
|
@@ -4525,6 +4635,7 @@ declare const eden: {
|
|
4525
4635
|
headers?: Record<string, unknown> | undefined;
|
4526
4636
|
query: {
|
4527
4637
|
type?: string | undefined;
|
4638
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
4528
4639
|
items?: number | undefined;
|
4529
4640
|
subType?: number | undefined;
|
4530
4641
|
page?: number | undefined;
|
@@ -4532,6 +4643,7 @@ declare const eden: {
|
|
4532
4643
|
startTimestamp?: string | undefined;
|
4533
4644
|
endTimestamp?: string | undefined;
|
4534
4645
|
tokenAddress?: string | undefined;
|
4646
|
+
types?: string[] | undefined;
|
4535
4647
|
campaignId?: string | undefined;
|
4536
4648
|
opportunityId?: string | undefined;
|
4537
4649
|
creatorAddress?: string | undefined;
|
@@ -4539,7 +4651,9 @@ declare const eden: {
|
|
4539
4651
|
mainParameter?: string | undefined;
|
4540
4652
|
test?: boolean | undefined;
|
4541
4653
|
creatorTag?: string | undefined;
|
4654
|
+
distributionChainIds?: number[] | undefined;
|
4542
4655
|
tokenSymbol?: string | undefined;
|
4656
|
+
withOpportunity?: boolean | undefined;
|
4543
4657
|
};
|
4544
4658
|
fetch?: RequestInit | undefined;
|
4545
4659
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -6307,7 +6421,7 @@ declare const eden: {
|
|
6307
6421
|
fetch?: RequestInit | undefined;
|
6308
6422
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6309
6423
|
200: (import("../modules/v4/claims").ClaimModel & {
|
6310
|
-
token?:
|
6424
|
+
token?: import("../modules/v4/token/token.model").Token["model"];
|
6311
6425
|
})[];
|
6312
6426
|
}>>;
|
6313
6427
|
}) & {};
|
@@ -7713,6 +7827,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7713
7827
|
address: string;
|
7714
7828
|
creatorId: string | null;
|
7715
7829
|
};
|
7830
|
+
Opportunity: {
|
7831
|
+
name: string;
|
7832
|
+
type: string;
|
7833
|
+
id: string;
|
7834
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
7835
|
+
tags: string[];
|
7836
|
+
identifier: string;
|
7837
|
+
chainId: number;
|
7838
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
7839
|
+
depositUrl: string | null;
|
7840
|
+
mainProtocolId: string | null;
|
7841
|
+
tvl: number;
|
7842
|
+
apr: number;
|
7843
|
+
dailyRewards: number;
|
7844
|
+
};
|
7716
7845
|
type: string;
|
7717
7846
|
id: string;
|
7718
7847
|
subType: number | null;
|
@@ -7917,6 +8046,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7917
8046
|
params: {};
|
7918
8047
|
query: {
|
7919
8048
|
type?: string | undefined;
|
8049
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
7920
8050
|
items?: number | undefined;
|
7921
8051
|
subType?: number | undefined;
|
7922
8052
|
page?: number | undefined;
|
@@ -7924,6 +8054,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7924
8054
|
startTimestamp?: string | undefined;
|
7925
8055
|
endTimestamp?: string | undefined;
|
7926
8056
|
tokenAddress?: string | undefined;
|
8057
|
+
types?: string[] | undefined;
|
7927
8058
|
campaignId?: string | undefined;
|
7928
8059
|
opportunityId?: string | undefined;
|
7929
8060
|
creatorAddress?: string | undefined;
|
@@ -7931,7 +8062,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7931
8062
|
mainParameter?: string | undefined;
|
7932
8063
|
test?: boolean | undefined;
|
7933
8064
|
creatorTag?: string | undefined;
|
8065
|
+
distributionChainIds?: number[] | undefined;
|
7934
8066
|
tokenSymbol?: string | undefined;
|
8067
|
+
withOpportunity?: boolean | undefined;
|
7935
8068
|
};
|
7936
8069
|
headers: unknown;
|
7937
8070
|
response: {
|
@@ -8559,6 +8692,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8559
8692
|
params: {};
|
8560
8693
|
query: {
|
8561
8694
|
type?: string | undefined;
|
8695
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
8562
8696
|
items?: number | undefined;
|
8563
8697
|
subType?: number | undefined;
|
8564
8698
|
page?: number | undefined;
|
@@ -8566,6 +8700,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8566
8700
|
startTimestamp?: string | undefined;
|
8567
8701
|
endTimestamp?: string | undefined;
|
8568
8702
|
tokenAddress?: string | undefined;
|
8703
|
+
types?: string[] | undefined;
|
8569
8704
|
campaignId?: string | undefined;
|
8570
8705
|
opportunityId?: string | undefined;
|
8571
8706
|
creatorAddress?: string | undefined;
|
@@ -8573,7 +8708,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8573
8708
|
mainParameter?: string | undefined;
|
8574
8709
|
test?: boolean | undefined;
|
8575
8710
|
creatorTag?: string | undefined;
|
8711
|
+
distributionChainIds?: number[] | undefined;
|
8576
8712
|
tokenSymbol?: string | undefined;
|
8713
|
+
withOpportunity?: boolean | undefined;
|
8577
8714
|
};
|
8578
8715
|
headers: unknown;
|
8579
8716
|
response: {
|
@@ -8618,6 +8755,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8618
8755
|
address: string;
|
8619
8756
|
creatorId: string | null;
|
8620
8757
|
};
|
8758
|
+
Opportunity: {
|
8759
|
+
name: string;
|
8760
|
+
type: string;
|
8761
|
+
id: string;
|
8762
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
8763
|
+
tags: string[];
|
8764
|
+
identifier: string;
|
8765
|
+
chainId: number;
|
8766
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
8767
|
+
depositUrl: string | null;
|
8768
|
+
mainProtocolId: string | null;
|
8769
|
+
tvl: number;
|
8770
|
+
apr: number;
|
8771
|
+
dailyRewards: number;
|
8772
|
+
};
|
8621
8773
|
type: string;
|
8622
8774
|
id: string;
|
8623
8775
|
subType: number | null;
|
@@ -8683,6 +8835,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8683
8835
|
address: string;
|
8684
8836
|
creatorId: string | null;
|
8685
8837
|
};
|
8838
|
+
Opportunity: {
|
8839
|
+
name: string;
|
8840
|
+
type: string;
|
8841
|
+
id: string;
|
8842
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
8843
|
+
tags: string[];
|
8844
|
+
identifier: string;
|
8845
|
+
chainId: number;
|
8846
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
8847
|
+
depositUrl: string | null;
|
8848
|
+
mainProtocolId: string | null;
|
8849
|
+
tvl: number;
|
8850
|
+
apr: number;
|
8851
|
+
dailyRewards: number;
|
8852
|
+
};
|
8686
8853
|
type: string;
|
8687
8854
|
id: string;
|
8688
8855
|
subType: number | null;
|
@@ -8704,6 +8871,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8704
8871
|
params: {};
|
8705
8872
|
query: {
|
8706
8873
|
type?: string | undefined;
|
8874
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
8707
8875
|
items?: number | undefined;
|
8708
8876
|
subType?: number | undefined;
|
8709
8877
|
page?: number | undefined;
|
@@ -8711,6 +8879,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8711
8879
|
startTimestamp?: string | undefined;
|
8712
8880
|
endTimestamp?: string | undefined;
|
8713
8881
|
tokenAddress?: string | undefined;
|
8882
|
+
types?: string[] | undefined;
|
8714
8883
|
campaignId?: string | undefined;
|
8715
8884
|
opportunityId?: string | undefined;
|
8716
8885
|
creatorAddress?: string | undefined;
|
@@ -8718,7 +8887,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8718
8887
|
mainParameter?: string | undefined;
|
8719
8888
|
test?: boolean | undefined;
|
8720
8889
|
creatorTag?: string | undefined;
|
8890
|
+
distributionChainIds?: number[] | undefined;
|
8721
8891
|
tokenSymbol?: string | undefined;
|
8892
|
+
withOpportunity?: boolean | undefined;
|
8722
8893
|
};
|
8723
8894
|
headers: unknown;
|
8724
8895
|
response: {
|
@@ -10966,7 +11137,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10966
11137
|
headers: unknown;
|
10967
11138
|
response: {
|
10968
11139
|
200: (import("../modules/v4/claims").ClaimModel & {
|
10969
|
-
token?:
|
11140
|
+
token?: import("../modules/v4/token/token.model").Token["model"];
|
10970
11141
|
})[];
|
10971
11142
|
};
|
10972
11143
|
};
|
@@ -12877,6 +13048,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12877
13048
|
address: string;
|
12878
13049
|
creatorId: string | null;
|
12879
13050
|
};
|
13051
|
+
Opportunity: {
|
13052
|
+
name: string;
|
13053
|
+
type: string;
|
13054
|
+
id: string;
|
13055
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
13056
|
+
tags: string[];
|
13057
|
+
identifier: string;
|
13058
|
+
chainId: number;
|
13059
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
13060
|
+
depositUrl: string | null;
|
13061
|
+
mainProtocolId: string | null;
|
13062
|
+
tvl: number;
|
13063
|
+
apr: number;
|
13064
|
+
dailyRewards: number;
|
13065
|
+
};
|
12880
13066
|
type: string;
|
12881
13067
|
id: string;
|
12882
13068
|
subType: number | null;
|
@@ -12960,6 +13146,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12960
13146
|
headers?: Record<string, unknown> | undefined;
|
12961
13147
|
query: {
|
12962
13148
|
type?: string | undefined;
|
13149
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
12963
13150
|
items?: number | undefined;
|
12964
13151
|
subType?: number | undefined;
|
12965
13152
|
page?: number | undefined;
|
@@ -12967,6 +13154,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12967
13154
|
startTimestamp?: string | undefined;
|
12968
13155
|
endTimestamp?: string | undefined;
|
12969
13156
|
tokenAddress?: string | undefined;
|
13157
|
+
types?: string[] | undefined;
|
12970
13158
|
campaignId?: string | undefined;
|
12971
13159
|
opportunityId?: string | undefined;
|
12972
13160
|
creatorAddress?: string | undefined;
|
@@ -12974,7 +13162,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12974
13162
|
mainParameter?: string | undefined;
|
12975
13163
|
test?: boolean | undefined;
|
12976
13164
|
creatorTag?: string | undefined;
|
13165
|
+
distributionChainIds?: number[] | undefined;
|
12977
13166
|
tokenSymbol?: string | undefined;
|
13167
|
+
withOpportunity?: boolean | undefined;
|
12978
13168
|
};
|
12979
13169
|
fetch?: RequestInit | undefined;
|
12980
13170
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -13269,6 +13459,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13269
13459
|
address: string;
|
13270
13460
|
creatorId: string | null;
|
13271
13461
|
};
|
13462
|
+
Opportunity: {
|
13463
|
+
name: string;
|
13464
|
+
type: string;
|
13465
|
+
id: string;
|
13466
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
13467
|
+
tags: string[];
|
13468
|
+
identifier: string;
|
13469
|
+
chainId: number;
|
13470
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
13471
|
+
depositUrl: string | null;
|
13472
|
+
mainProtocolId: string | null;
|
13473
|
+
tvl: number;
|
13474
|
+
apr: number;
|
13475
|
+
dailyRewards: number;
|
13476
|
+
};
|
13272
13477
|
type: string;
|
13273
13478
|
id: string;
|
13274
13479
|
subType: number | null;
|
@@ -13415,6 +13620,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13415
13620
|
headers?: Record<string, unknown> | undefined;
|
13416
13621
|
query: {
|
13417
13622
|
type?: string | undefined;
|
13623
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
13418
13624
|
items?: number | undefined;
|
13419
13625
|
subType?: number | undefined;
|
13420
13626
|
page?: number | undefined;
|
@@ -13422,6 +13628,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13422
13628
|
startTimestamp?: string | undefined;
|
13423
13629
|
endTimestamp?: string | undefined;
|
13424
13630
|
tokenAddress?: string | undefined;
|
13631
|
+
types?: string[] | undefined;
|
13425
13632
|
campaignId?: string | undefined;
|
13426
13633
|
opportunityId?: string | undefined;
|
13427
13634
|
creatorAddress?: string | undefined;
|
@@ -13429,7 +13636,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13429
13636
|
mainParameter?: string | undefined;
|
13430
13637
|
test?: boolean | undefined;
|
13431
13638
|
creatorTag?: string | undefined;
|
13639
|
+
distributionChainIds?: number[] | undefined;
|
13432
13640
|
tokenSymbol?: string | undefined;
|
13641
|
+
withOpportunity?: boolean | undefined;
|
13433
13642
|
};
|
13434
13643
|
fetch?: RequestInit | undefined;
|
13435
13644
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -13474,6 +13683,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13474
13683
|
address: string;
|
13475
13684
|
creatorId: string | null;
|
13476
13685
|
};
|
13686
|
+
Opportunity: {
|
13687
|
+
name: string;
|
13688
|
+
type: string;
|
13689
|
+
id: string;
|
13690
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
13691
|
+
tags: string[];
|
13692
|
+
identifier: string;
|
13693
|
+
chainId: number;
|
13694
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
13695
|
+
depositUrl: string | null;
|
13696
|
+
mainProtocolId: string | null;
|
13697
|
+
tvl: number;
|
13698
|
+
apr: number;
|
13699
|
+
dailyRewards: number;
|
13700
|
+
};
|
13477
13701
|
type: string;
|
13478
13702
|
id: string;
|
13479
13703
|
subType: number | null;
|
@@ -13492,6 +13716,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13492
13716
|
headers?: Record<string, unknown> | undefined;
|
13493
13717
|
query: {
|
13494
13718
|
type?: string | undefined;
|
13719
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
13495
13720
|
items?: number | undefined;
|
13496
13721
|
subType?: number | undefined;
|
13497
13722
|
page?: number | undefined;
|
@@ -13499,6 +13724,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13499
13724
|
startTimestamp?: string | undefined;
|
13500
13725
|
endTimestamp?: string | undefined;
|
13501
13726
|
tokenAddress?: string | undefined;
|
13727
|
+
types?: string[] | undefined;
|
13502
13728
|
campaignId?: string | undefined;
|
13503
13729
|
opportunityId?: string | undefined;
|
13504
13730
|
creatorAddress?: string | undefined;
|
@@ -13506,7 +13732,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13506
13732
|
mainParameter?: string | undefined;
|
13507
13733
|
test?: boolean | undefined;
|
13508
13734
|
creatorTag?: string | undefined;
|
13735
|
+
distributionChainIds?: number[] | undefined;
|
13509
13736
|
tokenSymbol?: string | undefined;
|
13737
|
+
withOpportunity?: boolean | undefined;
|
13510
13738
|
};
|
13511
13739
|
fetch?: RequestInit | undefined;
|
13512
13740
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -15274,7 +15502,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15274
15502
|
fetch?: RequestInit | undefined;
|
15275
15503
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15276
15504
|
200: (import("../modules/v4/claims").ClaimModel & {
|
15277
|
-
token?:
|
15505
|
+
token?: import("../modules/v4/token/token.model").Token["model"];
|
15278
15506
|
})[];
|
15279
15507
|
}>>;
|
15280
15508
|
}) & {};
|
@@ -16217,6 +16445,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16217
16445
|
address: string;
|
16218
16446
|
creatorId: string | null;
|
16219
16447
|
};
|
16448
|
+
Opportunity: {
|
16449
|
+
name: string;
|
16450
|
+
type: string;
|
16451
|
+
id: string;
|
16452
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
16453
|
+
tags: string[];
|
16454
|
+
identifier: string;
|
16455
|
+
chainId: number;
|
16456
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
16457
|
+
depositUrl: string | null;
|
16458
|
+
mainProtocolId: string | null;
|
16459
|
+
tvl: number;
|
16460
|
+
apr: number;
|
16461
|
+
dailyRewards: number;
|
16462
|
+
};
|
16220
16463
|
type: string;
|
16221
16464
|
id: string;
|
16222
16465
|
subType: number | null;
|
@@ -16300,6 +16543,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16300
16543
|
headers?: Record<string, unknown> | undefined;
|
16301
16544
|
query: {
|
16302
16545
|
type?: string | undefined;
|
16546
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
16303
16547
|
items?: number | undefined;
|
16304
16548
|
subType?: number | undefined;
|
16305
16549
|
page?: number | undefined;
|
@@ -16307,6 +16551,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16307
16551
|
startTimestamp?: string | undefined;
|
16308
16552
|
endTimestamp?: string | undefined;
|
16309
16553
|
tokenAddress?: string | undefined;
|
16554
|
+
types?: string[] | undefined;
|
16310
16555
|
campaignId?: string | undefined;
|
16311
16556
|
opportunityId?: string | undefined;
|
16312
16557
|
creatorAddress?: string | undefined;
|
@@ -16314,7 +16559,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16314
16559
|
mainParameter?: string | undefined;
|
16315
16560
|
test?: boolean | undefined;
|
16316
16561
|
creatorTag?: string | undefined;
|
16562
|
+
distributionChainIds?: number[] | undefined;
|
16317
16563
|
tokenSymbol?: string | undefined;
|
16564
|
+
withOpportunity?: boolean | undefined;
|
16318
16565
|
};
|
16319
16566
|
fetch?: RequestInit | undefined;
|
16320
16567
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -16609,6 +16856,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16609
16856
|
address: string;
|
16610
16857
|
creatorId: string | null;
|
16611
16858
|
};
|
16859
|
+
Opportunity: {
|
16860
|
+
name: string;
|
16861
|
+
type: string;
|
16862
|
+
id: string;
|
16863
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
16864
|
+
tags: string[];
|
16865
|
+
identifier: string;
|
16866
|
+
chainId: number;
|
16867
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
16868
|
+
depositUrl: string | null;
|
16869
|
+
mainProtocolId: string | null;
|
16870
|
+
tvl: number;
|
16871
|
+
apr: number;
|
16872
|
+
dailyRewards: number;
|
16873
|
+
};
|
16612
16874
|
type: string;
|
16613
16875
|
id: string;
|
16614
16876
|
subType: number | null;
|
@@ -16755,6 +17017,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16755
17017
|
headers?: Record<string, unknown> | undefined;
|
16756
17018
|
query: {
|
16757
17019
|
type?: string | undefined;
|
17020
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
16758
17021
|
items?: number | undefined;
|
16759
17022
|
subType?: number | undefined;
|
16760
17023
|
page?: number | undefined;
|
@@ -16762,6 +17025,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16762
17025
|
startTimestamp?: string | undefined;
|
16763
17026
|
endTimestamp?: string | undefined;
|
16764
17027
|
tokenAddress?: string | undefined;
|
17028
|
+
types?: string[] | undefined;
|
16765
17029
|
campaignId?: string | undefined;
|
16766
17030
|
opportunityId?: string | undefined;
|
16767
17031
|
creatorAddress?: string | undefined;
|
@@ -16769,7 +17033,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16769
17033
|
mainParameter?: string | undefined;
|
16770
17034
|
test?: boolean | undefined;
|
16771
17035
|
creatorTag?: string | undefined;
|
17036
|
+
distributionChainIds?: number[] | undefined;
|
16772
17037
|
tokenSymbol?: string | undefined;
|
17038
|
+
withOpportunity?: boolean | undefined;
|
16773
17039
|
};
|
16774
17040
|
fetch?: RequestInit | undefined;
|
16775
17041
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -16814,6 +17080,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16814
17080
|
address: string;
|
16815
17081
|
creatorId: string | null;
|
16816
17082
|
};
|
17083
|
+
Opportunity: {
|
17084
|
+
name: string;
|
17085
|
+
type: string;
|
17086
|
+
id: string;
|
17087
|
+
status: import("../../database/api/.generated").$Enums.Status;
|
17088
|
+
tags: string[];
|
17089
|
+
identifier: string;
|
17090
|
+
chainId: number;
|
17091
|
+
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
17092
|
+
depositUrl: string | null;
|
17093
|
+
mainProtocolId: string | null;
|
17094
|
+
tvl: number;
|
17095
|
+
apr: number;
|
17096
|
+
dailyRewards: number;
|
17097
|
+
};
|
16817
17098
|
type: string;
|
16818
17099
|
id: string;
|
16819
17100
|
subType: number | null;
|
@@ -16832,6 +17113,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16832
17113
|
headers?: Record<string, unknown> | undefined;
|
16833
17114
|
query: {
|
16834
17115
|
type?: string | undefined;
|
17116
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
16835
17117
|
items?: number | undefined;
|
16836
17118
|
subType?: number | undefined;
|
16837
17119
|
page?: number | undefined;
|
@@ -16839,6 +17121,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16839
17121
|
startTimestamp?: string | undefined;
|
16840
17122
|
endTimestamp?: string | undefined;
|
16841
17123
|
tokenAddress?: string | undefined;
|
17124
|
+
types?: string[] | undefined;
|
16842
17125
|
campaignId?: string | undefined;
|
16843
17126
|
opportunityId?: string | undefined;
|
16844
17127
|
creatorAddress?: string | undefined;
|
@@ -16846,7 +17129,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16846
17129
|
mainParameter?: string | undefined;
|
16847
17130
|
test?: boolean | undefined;
|
16848
17131
|
creatorTag?: string | undefined;
|
17132
|
+
distributionChainIds?: number[] | undefined;
|
16849
17133
|
tokenSymbol?: string | undefined;
|
17134
|
+
withOpportunity?: boolean | undefined;
|
16850
17135
|
};
|
16851
17136
|
fetch?: RequestInit | undefined;
|
16852
17137
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -18614,7 +18899,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18614
18899
|
fetch?: RequestInit | undefined;
|
18615
18900
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18616
18901
|
200: (import("../modules/v4/claims").ClaimModel & {
|
18617
|
-
token?:
|
18902
|
+
token?: import("../modules/v4/token/token.model").Token["model"];
|
18618
18903
|
})[];
|
18619
18904
|
}>>;
|
18620
18905
|
}) & {};
|