@merkl/api 0.10.115 → 0.10.117
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/default.d.ts +1 -1
- package/dist/database/api/.generated/edge.d.ts +1 -1
- package/dist/database/api/.generated/index.d.ts +335 -311
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +15 -2
- package/dist/database/api/.generated/runtime/library.d.ts +195 -79
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/database/api/.generated/wasm.d.ts +1 -1
- package/dist/database/engine/.generated/default.d.ts +1 -1
- package/dist/database/engine/.generated/edge.d.ts +1 -1
- package/dist/database/engine/.generated/index.d.ts +16 -104
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +14 -1
- package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
- package/dist/database/engine/.generated/wasm.d.ts +1 -1
- package/dist/src/eden/index.d.ts +543 -426
- package/dist/src/index.d.ts +188 -141
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +8 -8
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -3
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +5 -3
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -14
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -27
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -28
- package/dist/src/modules/v4/chain/chain.controller.d.ts +5 -5
- package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -6
- package/dist/src/modules/v4/chain/chain.service.d.ts +5 -5
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +4 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.model.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +2 -1
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +22 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -4
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
- package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
- package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
- package/dist/src/modules/v4/price/price.service.d.ts +8 -8
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
- package/dist/src/modules/v4/reward/reward.controller.d.ts +32 -8
- package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
- package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
- package/dist/src/modules/v4/reward/reward.service.d.ts +134 -131
- package/dist/src/modules/v4/router.d.ts +188 -141
- package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
- package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
- package/dist/src/modules/v4/status/status.service.d.ts +20 -20
- package/dist/src/modules/v4/user/user.controller.d.ts +44 -44
- package/dist/src/modules/v4/user/user.repository.d.ts +3 -3
- package/dist/src/modules/v4/user/user.service.d.ts +3 -3
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +188 -141
- package/dist/src/routes/v3/blacklist.d.ts +188 -141
- package/dist/src/routes/v3/campaigns.d.ts +188 -141
- package/dist/src/routes/v3/campaignsInfo.d.ts +188 -141
- package/dist/src/routes/v3/multiChainPositions.d.ts +188 -141
- package/dist/src/routes/v3/opportunity.d.ts +188 -141
- package/dist/src/routes/v3/positions.d.ts +188 -141
- package/dist/src/routes/v3/rewards.d.ts +188 -141
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +188 -141
- package/dist/src/routes/v3/userRewards.d.ts +188 -141
- package/dist/src/utils/bigintToString.d.ts +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
package/dist/src/index.d.ts
CHANGED
@@ -82,9 +82,9 @@ declare const app: Elysia<"", false, {
|
|
82
82
|
cumulated: number;
|
83
83
|
timestamp: bigint;
|
84
84
|
breakdowns: {
|
85
|
+
type: import("../database/api/.generated").$Enums.AprType;
|
85
86
|
id: number;
|
86
87
|
identifier: string;
|
87
|
-
type: import("../database/api/.generated").$Enums.AprType;
|
88
88
|
value: number;
|
89
89
|
aprRecordId: string;
|
90
90
|
}[];
|
@@ -94,9 +94,9 @@ declare const app: Elysia<"", false, {
|
|
94
94
|
total: number;
|
95
95
|
timestamp: bigint;
|
96
96
|
breakdowns: {
|
97
|
+
type: import("../database/api/.generated").$Enums.TvlType;
|
97
98
|
id: number;
|
98
99
|
identifier: string;
|
99
|
-
type: import("../database/api/.generated").$Enums.TvlType;
|
100
100
|
value: number;
|
101
101
|
tvlRecordId: string;
|
102
102
|
}[];
|
@@ -114,27 +114,27 @@ declare const app: Elysia<"", false, {
|
|
114
114
|
};
|
115
115
|
id: string;
|
116
116
|
tokens: {
|
117
|
-
|
117
|
+
symbol: string;
|
118
118
|
name: string | null;
|
119
|
+
id: string;
|
119
120
|
chainId: number;
|
120
121
|
address: string;
|
121
|
-
decimals: number;
|
122
|
-
symbol: string;
|
123
122
|
icon: string;
|
123
|
+
decimals: number;
|
124
124
|
verified: boolean;
|
125
125
|
price: number | null;
|
126
126
|
}[];
|
127
127
|
chain: {
|
128
|
-
id: number;
|
129
128
|
name: string;
|
129
|
+
id: number;
|
130
130
|
icon: string;
|
131
131
|
};
|
132
132
|
protocol: {
|
133
|
-
id: string;
|
134
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
135
133
|
name: string;
|
136
|
-
description: string;
|
137
134
|
url: string;
|
135
|
+
description: string;
|
136
|
+
id: string;
|
137
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
138
138
|
icon: string;
|
139
139
|
} | undefined;
|
140
140
|
name: string;
|
@@ -169,9 +169,9 @@ declare const app: Elysia<"", false, {
|
|
169
169
|
cumulated: number;
|
170
170
|
timestamp: bigint;
|
171
171
|
breakdowns: {
|
172
|
+
type: import("../database/api/.generated").$Enums.AprType;
|
172
173
|
id: number;
|
173
174
|
identifier: string;
|
174
|
-
type: import("../database/api/.generated").$Enums.AprType;
|
175
175
|
value: number;
|
176
176
|
aprRecordId: string;
|
177
177
|
}[];
|
@@ -181,9 +181,9 @@ declare const app: Elysia<"", false, {
|
|
181
181
|
total: number;
|
182
182
|
timestamp: bigint;
|
183
183
|
breakdowns: {
|
184
|
+
type: import("../database/api/.generated").$Enums.TvlType;
|
184
185
|
id: number;
|
185
186
|
identifier: string;
|
186
|
-
type: import("../database/api/.generated").$Enums.TvlType;
|
187
187
|
value: number;
|
188
188
|
tvlRecordId: string;
|
189
189
|
}[];
|
@@ -201,27 +201,27 @@ declare const app: Elysia<"", false, {
|
|
201
201
|
};
|
202
202
|
id: string;
|
203
203
|
tokens: {
|
204
|
-
|
204
|
+
symbol: string;
|
205
205
|
name: string | null;
|
206
|
+
id: string;
|
206
207
|
chainId: number;
|
207
208
|
address: string;
|
208
|
-
decimals: number;
|
209
|
-
symbol: string;
|
210
209
|
icon: string;
|
210
|
+
decimals: number;
|
211
211
|
verified: boolean;
|
212
212
|
price: number | null;
|
213
213
|
}[];
|
214
214
|
chain: {
|
215
|
-
id: number;
|
216
215
|
name: string;
|
216
|
+
id: number;
|
217
217
|
icon: string;
|
218
218
|
};
|
219
219
|
protocol: {
|
220
|
-
id: string;
|
221
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
222
220
|
name: string;
|
223
|
-
description: string;
|
224
221
|
url: string;
|
222
|
+
description: string;
|
223
|
+
id: string;
|
224
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
225
225
|
icon: string;
|
226
226
|
} | undefined;
|
227
227
|
name: string;
|
@@ -238,37 +238,37 @@ declare const app: Elysia<"", false, {
|
|
238
238
|
campaigns: ({
|
239
239
|
params: any;
|
240
240
|
chain: {
|
241
|
-
id: number;
|
242
241
|
name: string;
|
242
|
+
id: number;
|
243
243
|
icon: string;
|
244
244
|
};
|
245
245
|
rewardToken: {
|
246
|
-
|
246
|
+
symbol: string;
|
247
247
|
name: string | null;
|
248
|
+
id: string;
|
248
249
|
chainId: number;
|
249
250
|
address: string;
|
250
|
-
decimals: number;
|
251
|
-
symbol: string;
|
252
251
|
icon: string;
|
252
|
+
decimals: number;
|
253
253
|
verified: boolean;
|
254
254
|
price: number | null;
|
255
255
|
};
|
256
256
|
distributionChain: {
|
257
|
-
id: number;
|
258
257
|
name: string;
|
258
|
+
id: number;
|
259
259
|
icon: string;
|
260
260
|
} | undefined;
|
261
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
261
262
|
id: string;
|
263
|
+
subType: number | null;
|
264
|
+
startTimestamp: bigint;
|
265
|
+
endTimestamp: bigint;
|
262
266
|
computeChainId: number;
|
263
267
|
distributionChainId: number;
|
264
268
|
campaignId: string;
|
265
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
266
|
-
subType: number | null;
|
267
269
|
rewardTokenId: string;
|
268
270
|
amount: string;
|
269
271
|
opportunityId: string;
|
270
|
-
startTimestamp: bigint;
|
271
|
-
endTimestamp: bigint;
|
272
272
|
creatorAddress: string;
|
273
273
|
} | null)[];
|
274
274
|
}) | null | undefined;
|
@@ -303,9 +303,9 @@ declare const app: Elysia<"", false, {
|
|
303
303
|
cumulated: number;
|
304
304
|
timestamp: bigint;
|
305
305
|
breakdowns: {
|
306
|
+
type: import("../database/api/.generated").$Enums.AprType;
|
306
307
|
id: number;
|
307
308
|
identifier: string;
|
308
|
-
type: import("../database/api/.generated").$Enums.AprType;
|
309
309
|
value: number;
|
310
310
|
aprRecordId: string;
|
311
311
|
}[];
|
@@ -315,9 +315,9 @@ declare const app: Elysia<"", false, {
|
|
315
315
|
total: number;
|
316
316
|
timestamp: bigint;
|
317
317
|
breakdowns: {
|
318
|
+
type: import("../database/api/.generated").$Enums.TvlType;
|
318
319
|
id: number;
|
319
320
|
identifier: string;
|
320
|
-
type: import("../database/api/.generated").$Enums.TvlType;
|
321
321
|
value: number;
|
322
322
|
tvlRecordId: string;
|
323
323
|
}[];
|
@@ -335,27 +335,27 @@ declare const app: Elysia<"", false, {
|
|
335
335
|
};
|
336
336
|
id: string;
|
337
337
|
tokens: {
|
338
|
-
|
338
|
+
symbol: string;
|
339
339
|
name: string | null;
|
340
|
+
id: string;
|
340
341
|
chainId: number;
|
341
342
|
address: string;
|
342
|
-
decimals: number;
|
343
|
-
symbol: string;
|
344
343
|
icon: string;
|
344
|
+
decimals: number;
|
345
345
|
verified: boolean;
|
346
346
|
price: number | null;
|
347
347
|
}[];
|
348
348
|
chain: {
|
349
|
-
id: number;
|
350
349
|
name: string;
|
350
|
+
id: number;
|
351
351
|
icon: string;
|
352
352
|
};
|
353
353
|
protocol: {
|
354
|
-
id: string;
|
355
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
356
354
|
name: string;
|
357
|
-
description: string;
|
358
355
|
url: string;
|
356
|
+
description: string;
|
357
|
+
id: string;
|
358
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
359
359
|
icon: string;
|
360
360
|
} | undefined;
|
361
361
|
name: string;
|
@@ -427,18 +427,18 @@ declare const app: Elysia<"", false, {
|
|
427
427
|
};
|
428
428
|
response: {
|
429
429
|
200: {
|
430
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
430
431
|
id: string;
|
432
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
433
|
+
subType: number | null;
|
434
|
+
startTimestamp: bigint;
|
435
|
+
endTimestamp: bigint;
|
431
436
|
computeChainId: number;
|
432
437
|
distributionChainId: number;
|
433
438
|
campaignId: string;
|
434
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
435
|
-
subType: number | null;
|
436
439
|
rewardTokenId: string;
|
437
440
|
amount: string;
|
438
441
|
opportunityId: string;
|
439
|
-
startTimestamp: bigint;
|
440
|
-
endTimestamp: bigint;
|
441
|
-
params: import("../database/api/.generated").Prisma.JsonValue;
|
442
442
|
creatorAddress: string;
|
443
443
|
} | undefined;
|
444
444
|
};
|
@@ -468,37 +468,37 @@ declare const app: Elysia<"", false, {
|
|
468
468
|
200: ({
|
469
469
|
params: any;
|
470
470
|
chain: {
|
471
|
-
id: number;
|
472
471
|
name: string;
|
472
|
+
id: number;
|
473
473
|
icon: string;
|
474
474
|
};
|
475
475
|
rewardToken: {
|
476
|
-
|
476
|
+
symbol: string;
|
477
477
|
name: string | null;
|
478
|
+
id: string;
|
478
479
|
chainId: number;
|
479
480
|
address: string;
|
480
|
-
decimals: number;
|
481
|
-
symbol: string;
|
482
481
|
icon: string;
|
482
|
+
decimals: number;
|
483
483
|
verified: boolean;
|
484
484
|
price: number | null;
|
485
485
|
};
|
486
486
|
distributionChain: {
|
487
|
-
id: number;
|
488
487
|
name: string;
|
488
|
+
id: number;
|
489
489
|
icon: string;
|
490
490
|
} | undefined;
|
491
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
491
492
|
id: string;
|
493
|
+
subType: number | null;
|
494
|
+
startTimestamp: bigint;
|
495
|
+
endTimestamp: bigint;
|
492
496
|
computeChainId: number;
|
493
497
|
distributionChainId: number;
|
494
498
|
campaignId: string;
|
495
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
496
|
-
subType: number | null;
|
497
499
|
rewardTokenId: string;
|
498
500
|
amount: string;
|
499
501
|
opportunityId: string;
|
500
|
-
startTimestamp: bigint;
|
501
|
-
endTimestamp: bigint;
|
502
502
|
creatorAddress: string;
|
503
503
|
} | null)[];
|
504
504
|
};
|
@@ -776,9 +776,9 @@ declare const app: Elysia<"", false, {
|
|
776
776
|
params: Record<never, string>;
|
777
777
|
query: {
|
778
778
|
items?: number | undefined;
|
779
|
-
chainId?: number | undefined;
|
780
779
|
page?: number | undefined;
|
781
|
-
|
780
|
+
chainId: number;
|
781
|
+
campaignId: string;
|
782
782
|
};
|
783
783
|
headers: unknown;
|
784
784
|
response: {
|
@@ -795,13 +795,16 @@ declare const app: Elysia<"", false, {
|
|
795
795
|
params: Record<never, string>;
|
796
796
|
query: {
|
797
797
|
items?: number | undefined;
|
798
|
-
chainId?: number | undefined;
|
799
798
|
page?: number | undefined;
|
800
|
-
|
799
|
+
chainId: number;
|
800
|
+
campaignId: string;
|
801
801
|
};
|
802
802
|
headers: unknown;
|
803
803
|
response: {
|
804
|
-
200:
|
804
|
+
200: {
|
805
|
+
campaignId: string;
|
806
|
+
amount: bigint;
|
807
|
+
};
|
805
808
|
};
|
806
809
|
};
|
807
810
|
};
|
@@ -904,15 +907,36 @@ declare const app: Elysia<"", false, {
|
|
904
907
|
params: Record<never, string>;
|
905
908
|
query: {
|
906
909
|
items?: number | undefined;
|
907
|
-
chainId?: number | undefined;
|
908
910
|
page?: number | undefined;
|
909
|
-
|
911
|
+
chainId: number;
|
912
|
+
campaignId: string;
|
910
913
|
};
|
911
914
|
headers: unknown;
|
912
915
|
response: {
|
913
916
|
200: {
|
914
917
|
count: number;
|
915
|
-
}
|
918
|
+
};
|
919
|
+
};
|
920
|
+
};
|
921
|
+
};
|
922
|
+
};
|
923
|
+
} & {
|
924
|
+
rewards: {
|
925
|
+
count: {
|
926
|
+
chains: {
|
927
|
+
get: {
|
928
|
+
body: unknown;
|
929
|
+
params: Record<never, string>;
|
930
|
+
query: unknown;
|
931
|
+
headers: {
|
932
|
+
authorization: string;
|
933
|
+
};
|
934
|
+
response: {
|
935
|
+
200: Record<string, {
|
936
|
+
breakdown: number;
|
937
|
+
rewards: Record<string, number>;
|
938
|
+
}>;
|
939
|
+
};
|
916
940
|
};
|
917
941
|
};
|
918
942
|
};
|
@@ -931,13 +955,13 @@ declare const app: Elysia<"", false, {
|
|
931
955
|
headers: unknown;
|
932
956
|
response: {
|
933
957
|
200: {
|
934
|
-
id: number;
|
935
958
|
name: string;
|
959
|
+
id: number;
|
936
960
|
icon: string;
|
937
961
|
explorers: {
|
938
|
-
id: string;
|
939
962
|
type: import("../database/api/.generated").$Enums.ExplorerType;
|
940
963
|
url: string;
|
964
|
+
id: string;
|
941
965
|
chainId: number;
|
942
966
|
}[];
|
943
967
|
} | null;
|
@@ -955,13 +979,13 @@ declare const app: Elysia<"", false, {
|
|
955
979
|
headers: unknown;
|
956
980
|
response: {
|
957
981
|
200: {
|
958
|
-
id: number;
|
959
982
|
name: string;
|
983
|
+
id: number;
|
960
984
|
icon: string;
|
961
985
|
explorers: {
|
962
|
-
id: string;
|
963
986
|
type: import("../database/api/.generated").$Enums.ExplorerType;
|
964
987
|
url: string;
|
988
|
+
id: string;
|
965
989
|
chainId: number;
|
966
990
|
}[];
|
967
991
|
}[];
|
@@ -997,9 +1021,9 @@ declare const app: Elysia<"", false, {
|
|
997
1021
|
};
|
998
1022
|
response: {
|
999
1023
|
200: {
|
1000
|
-
id: string;
|
1001
1024
|
type: import("../database/api/.generated").$Enums.ExplorerType;
|
1002
1025
|
url: string;
|
1026
|
+
id: string;
|
1003
1027
|
chainId: number;
|
1004
1028
|
};
|
1005
1029
|
};
|
@@ -1064,10 +1088,10 @@ declare const app: Elysia<"", false, {
|
|
1064
1088
|
headers: unknown;
|
1065
1089
|
response: {
|
1066
1090
|
200: {
|
1067
|
-
id: number;
|
1068
1091
|
symbol: string;
|
1069
1092
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1070
|
-
args: import("
|
1093
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1094
|
+
id: number;
|
1071
1095
|
}[];
|
1072
1096
|
};
|
1073
1097
|
};
|
@@ -1086,10 +1110,10 @@ declare const app: Elysia<"", false, {
|
|
1086
1110
|
headers: unknown;
|
1087
1111
|
response: {
|
1088
1112
|
200: {
|
1089
|
-
id: number;
|
1090
1113
|
symbol: string;
|
1091
1114
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1092
|
-
args: import("
|
1115
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1116
|
+
id: number;
|
1093
1117
|
};
|
1094
1118
|
};
|
1095
1119
|
};
|
@@ -1135,10 +1159,10 @@ declare const app: Elysia<"", false, {
|
|
1135
1159
|
};
|
1136
1160
|
response: {
|
1137
1161
|
200: {
|
1138
|
-
id: number;
|
1139
1162
|
symbol: string;
|
1140
1163
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1141
|
-
args: import("
|
1164
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1165
|
+
id: number;
|
1142
1166
|
};
|
1143
1167
|
};
|
1144
1168
|
};
|
@@ -1160,10 +1184,10 @@ declare const app: Elysia<"", false, {
|
|
1160
1184
|
};
|
1161
1185
|
response: {
|
1162
1186
|
200: {
|
1163
|
-
id: number;
|
1164
1187
|
symbol: string;
|
1165
1188
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1166
|
-
args: import("
|
1189
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1190
|
+
id: number;
|
1167
1191
|
};
|
1168
1192
|
};
|
1169
1193
|
};
|
@@ -1188,7 +1212,7 @@ declare const app: Elysia<"", false, {
|
|
1188
1212
|
poolAddress: string;
|
1189
1213
|
userAddress: string;
|
1190
1214
|
arrestTimestamp: bigint;
|
1191
|
-
arrestDetails: import("
|
1215
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1192
1216
|
}[];
|
1193
1217
|
};
|
1194
1218
|
};
|
@@ -1203,7 +1227,9 @@ declare const app: Elysia<"", false, {
|
|
1203
1227
|
query: unknown;
|
1204
1228
|
headers: unknown;
|
1205
1229
|
response: {
|
1206
|
-
200:
|
1230
|
+
200: {
|
1231
|
+
[address: string]: boolean;
|
1232
|
+
};
|
1207
1233
|
};
|
1208
1234
|
};
|
1209
1235
|
};
|
@@ -1248,7 +1274,7 @@ declare const app: Elysia<"", false, {
|
|
1248
1274
|
poolAddress: string;
|
1249
1275
|
userAddress: string;
|
1250
1276
|
arrestTimestamp: bigint;
|
1251
|
-
arrestDetails: import("
|
1277
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1252
1278
|
};
|
1253
1279
|
};
|
1254
1280
|
};
|
@@ -1291,8 +1317,8 @@ declare const app: Elysia<"", false, {
|
|
1291
1317
|
headers: unknown;
|
1292
1318
|
response: {
|
1293
1319
|
200: {
|
1294
|
-
address: string;
|
1295
1320
|
tags: string[];
|
1321
|
+
address: string;
|
1296
1322
|
}[];
|
1297
1323
|
};
|
1298
1324
|
};
|
@@ -1333,13 +1359,13 @@ declare const app: Elysia<"", false, {
|
|
1333
1359
|
}, "rewards"> & {
|
1334
1360
|
rewards: (Omit<{
|
1335
1361
|
token: {
|
1336
|
-
|
1362
|
+
symbol: string;
|
1337
1363
|
name: string | null;
|
1364
|
+
id: string;
|
1338
1365
|
chainId: number;
|
1339
1366
|
address: string;
|
1340
|
-
decimals: number;
|
1341
|
-
symbol: string;
|
1342
1367
|
icon: string;
|
1368
|
+
decimals: number;
|
1343
1369
|
verified: boolean;
|
1344
1370
|
price: number | null;
|
1345
1371
|
};
|
@@ -1347,63 +1373,63 @@ declare const app: Elysia<"", false, {
|
|
1347
1373
|
campaignId: string;
|
1348
1374
|
opportunity: {
|
1349
1375
|
Chain: {
|
1350
|
-
id: number;
|
1351
1376
|
name: string;
|
1377
|
+
id: number;
|
1352
1378
|
icon: string;
|
1353
1379
|
};
|
1354
1380
|
Tokens: {
|
1355
|
-
|
1381
|
+
symbol: string;
|
1356
1382
|
name: string | null;
|
1383
|
+
id: string;
|
1357
1384
|
chainId: number;
|
1358
1385
|
address: string;
|
1359
|
-
decimals: number;
|
1360
|
-
symbol: string;
|
1361
1386
|
icon: string;
|
1387
|
+
decimals: number;
|
1362
1388
|
verified: boolean;
|
1363
1389
|
price: number | null;
|
1364
1390
|
}[];
|
1365
1391
|
Protocols: {
|
1366
|
-
id: string;
|
1367
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1368
1392
|
name: string;
|
1369
|
-
description: string;
|
1370
1393
|
url: string;
|
1394
|
+
description: string;
|
1395
|
+
id: string;
|
1396
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1371
1397
|
icon: string;
|
1372
1398
|
}[];
|
1373
1399
|
MainProtocol: {
|
1374
|
-
id: string;
|
1375
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1376
1400
|
name: string;
|
1377
|
-
description: string;
|
1378
1401
|
url: string;
|
1402
|
+
description: string;
|
1403
|
+
id: string;
|
1404
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1379
1405
|
icon: string;
|
1380
1406
|
} | null;
|
1381
1407
|
} & {
|
1382
|
-
id: string;
|
1383
|
-
chainId: number;
|
1384
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
1385
|
-
identifier: string;
|
1386
1408
|
name: string;
|
1409
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
1410
|
+
id: string;
|
1387
1411
|
status: import("../database/api/.generated").$Enums.Status;
|
1412
|
+
tags: string[];
|
1413
|
+
identifier: string;
|
1414
|
+
chainId: number;
|
1388
1415
|
action: import("../database/api/.generated").$Enums.OpportunityAction;
|
1389
1416
|
mainProtocolId: string | null;
|
1390
1417
|
tvl: number;
|
1391
1418
|
apr: number;
|
1392
1419
|
dailyRewards: number;
|
1393
|
-
tags: string[];
|
1394
1420
|
};
|
1395
1421
|
reason: string;
|
1422
|
+
pending: string;
|
1396
1423
|
amount: string;
|
1397
1424
|
claimed: string;
|
1398
|
-
pending: string;
|
1399
1425
|
auxiliaryData1: string | null;
|
1400
1426
|
auxiliaryData2: string | null;
|
1401
1427
|
}[];
|
1402
1428
|
claimed: bigint;
|
1403
1429
|
amount: bigint;
|
1404
1430
|
pending: bigint;
|
1405
|
-
root: string;
|
1406
1431
|
recipient: string;
|
1432
|
+
root: string;
|
1407
1433
|
proofs: string[];
|
1408
1434
|
}, "breakdowns"> & {
|
1409
1435
|
breakdowns: {
|
@@ -1443,13 +1469,13 @@ declare const app: Elysia<"", false, {
|
|
1443
1469
|
}, "rewards"> & {
|
1444
1470
|
rewards: (Omit<{
|
1445
1471
|
token: {
|
1446
|
-
|
1472
|
+
symbol: string;
|
1447
1473
|
name: string | null;
|
1474
|
+
id: string;
|
1448
1475
|
chainId: number;
|
1449
1476
|
address: string;
|
1450
|
-
decimals: number;
|
1451
|
-
symbol: string;
|
1452
1477
|
icon: string;
|
1478
|
+
decimals: number;
|
1453
1479
|
verified: boolean;
|
1454
1480
|
price: number | null;
|
1455
1481
|
};
|
@@ -1457,71 +1483,71 @@ declare const app: Elysia<"", false, {
|
|
1457
1483
|
campaignId: string;
|
1458
1484
|
opportunity: {
|
1459
1485
|
Chain: {
|
1460
|
-
id: number;
|
1461
1486
|
name: string;
|
1487
|
+
id: number;
|
1462
1488
|
icon: string;
|
1463
1489
|
};
|
1464
1490
|
Tokens: {
|
1465
|
-
|
1491
|
+
symbol: string;
|
1466
1492
|
name: string | null;
|
1493
|
+
id: string;
|
1467
1494
|
chainId: number;
|
1468
1495
|
address: string;
|
1469
|
-
decimals: number;
|
1470
|
-
symbol: string;
|
1471
1496
|
icon: string;
|
1497
|
+
decimals: number;
|
1472
1498
|
verified: boolean;
|
1473
1499
|
price: number | null;
|
1474
1500
|
}[];
|
1475
1501
|
Protocols: {
|
1476
|
-
id: string;
|
1477
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1478
1502
|
name: string;
|
1479
|
-
description: string;
|
1480
1503
|
url: string;
|
1504
|
+
description: string;
|
1505
|
+
id: string;
|
1506
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1481
1507
|
icon: string;
|
1482
1508
|
}[];
|
1483
1509
|
MainProtocol: {
|
1484
|
-
id: string;
|
1485
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1486
1510
|
name: string;
|
1487
|
-
description: string;
|
1488
1511
|
url: string;
|
1512
|
+
description: string;
|
1513
|
+
id: string;
|
1514
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1489
1515
|
icon: string;
|
1490
1516
|
} | null;
|
1491
1517
|
} & {
|
1492
|
-
id: string;
|
1493
|
-
chainId: number;
|
1494
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
1495
|
-
identifier: string;
|
1496
1518
|
name: string;
|
1519
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
1520
|
+
id: string;
|
1497
1521
|
status: import("../database/api/.generated").$Enums.Status;
|
1522
|
+
tags: string[];
|
1523
|
+
identifier: string;
|
1524
|
+
chainId: number;
|
1498
1525
|
action: import("../database/api/.generated").$Enums.OpportunityAction;
|
1499
1526
|
mainProtocolId: string | null;
|
1500
1527
|
tvl: number;
|
1501
1528
|
apr: number;
|
1502
1529
|
dailyRewards: number;
|
1503
|
-
tags: string[];
|
1504
1530
|
};
|
1505
1531
|
reason: string;
|
1532
|
+
pending: string;
|
1506
1533
|
amount: string;
|
1507
1534
|
claimed: string;
|
1508
|
-
pending: string;
|
1509
1535
|
auxiliaryData1: string | null;
|
1510
1536
|
auxiliaryData2: string | null;
|
1511
1537
|
}[];
|
1512
1538
|
claimed: bigint;
|
1513
1539
|
amount: bigint;
|
1514
1540
|
pending: bigint;
|
1515
|
-
root: string;
|
1516
1541
|
recipient: string;
|
1542
|
+
root: string;
|
1517
1543
|
proofs: string[];
|
1518
1544
|
}, "breakdowns"> & {
|
1519
1545
|
breakdowns: {
|
1520
1546
|
campaignId: string;
|
1521
1547
|
reason: string;
|
1548
|
+
pending: string;
|
1522
1549
|
amount: string;
|
1523
1550
|
claimed: string;
|
1524
|
-
pending: string;
|
1525
1551
|
auxiliaryData1: string | null;
|
1526
1552
|
auxiliaryData2: string | null;
|
1527
1553
|
}[];
|
@@ -1547,8 +1573,8 @@ declare const app: Elysia<"", false, {
|
|
1547
1573
|
};
|
1548
1574
|
response: {
|
1549
1575
|
200: {
|
1550
|
-
address: string;
|
1551
1576
|
tags: string[];
|
1577
|
+
address: string;
|
1552
1578
|
};
|
1553
1579
|
};
|
1554
1580
|
};
|
@@ -1571,8 +1597,8 @@ declare const app: Elysia<"", false, {
|
|
1571
1597
|
};
|
1572
1598
|
response: {
|
1573
1599
|
200: {
|
1574
|
-
address: string;
|
1575
1600
|
tags: string[];
|
1601
|
+
address: string;
|
1576
1602
|
};
|
1577
1603
|
};
|
1578
1604
|
};
|
@@ -1583,7 +1609,7 @@ declare const app: Elysia<"", false, {
|
|
1583
1609
|
} & {
|
1584
1610
|
v4: {
|
1585
1611
|
roots: {
|
1586
|
-
|
1612
|
+
timestamps: {
|
1587
1613
|
get: {
|
1588
1614
|
body: unknown;
|
1589
1615
|
params: Record<never, string>;
|
@@ -1595,15 +1621,34 @@ declare const app: Elysia<"", false, {
|
|
1595
1621
|
headers: unknown;
|
1596
1622
|
response: {
|
1597
1623
|
200: {
|
1598
|
-
|
1624
|
+
timestamp: bigint;
|
1599
1625
|
chainId: number;
|
1626
|
+
root: string;
|
1600
1627
|
epoch: number;
|
1601
|
-
timestamp: bigint;
|
1602
1628
|
}[];
|
1603
1629
|
};
|
1604
1630
|
};
|
1605
1631
|
};
|
1606
1632
|
};
|
1633
|
+
} & {
|
1634
|
+
roots: {
|
1635
|
+
index: {
|
1636
|
+
get: {
|
1637
|
+
body: unknown;
|
1638
|
+
params: Record<never, string>;
|
1639
|
+
query: unknown;
|
1640
|
+
headers: unknown;
|
1641
|
+
response: {
|
1642
|
+
200: {
|
1643
|
+
[chainId: number]: {
|
1644
|
+
live: string;
|
1645
|
+
lastTree: string;
|
1646
|
+
};
|
1647
|
+
};
|
1648
|
+
};
|
1649
|
+
};
|
1650
|
+
};
|
1651
|
+
};
|
1607
1652
|
};
|
1608
1653
|
} & {
|
1609
1654
|
v4: {
|
@@ -1723,6 +1768,7 @@ declare const app: Elysia<"", false, {
|
|
1723
1768
|
response: {
|
1724
1769
|
200: {
|
1725
1770
|
id: string;
|
1771
|
+
timestamp: number;
|
1726
1772
|
chainId: number;
|
1727
1773
|
fromTokenId: string;
|
1728
1774
|
toTokenId: string;
|
@@ -1731,7 +1777,6 @@ declare const app: Elysia<"", false, {
|
|
1731
1777
|
amountIn: string;
|
1732
1778
|
amountOut: string;
|
1733
1779
|
datetime: Date;
|
1734
|
-
timestamp: number;
|
1735
1780
|
}[];
|
1736
1781
|
};
|
1737
1782
|
};
|
@@ -1903,11 +1948,13 @@ declare const app: Elysia<"", false, {
|
|
1903
1948
|
get: {
|
1904
1949
|
body: unknown;
|
1905
1950
|
params: {
|
1906
|
-
chainId:
|
1951
|
+
chainId: number;
|
1907
1952
|
tokenAddress: string;
|
1908
1953
|
};
|
1909
1954
|
query: unknown;
|
1910
|
-
headers:
|
1955
|
+
headers: {
|
1956
|
+
authorization: string;
|
1957
|
+
};
|
1911
1958
|
response: {
|
1912
1959
|
200: {
|
1913
1960
|
tvl: number;
|
@@ -1968,12 +2015,12 @@ declare const app: Elysia<"", false, {
|
|
1968
2015
|
headers: unknown;
|
1969
2016
|
response: {
|
1970
2017
|
200: {
|
2018
|
+
error: string;
|
2019
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2020
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
1971
2021
|
campaignId: string;
|
1972
2022
|
computedUntil: bigint;
|
1973
2023
|
processingStarted: bigint;
|
1974
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
1975
|
-
error: string;
|
1976
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
1977
2024
|
}[];
|
1978
2025
|
};
|
1979
2026
|
};
|
@@ -1992,27 +2039,27 @@ declare const app: Elysia<"", false, {
|
|
1992
2039
|
response: {
|
1993
2040
|
200: ({
|
1994
2041
|
Campaign: {
|
2042
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
1995
2043
|
id: string;
|
2044
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2045
|
+
subType: number | null;
|
2046
|
+
startTimestamp: bigint;
|
2047
|
+
endTimestamp: bigint;
|
1996
2048
|
computeChainId: number;
|
1997
2049
|
distributionChainId: number;
|
1998
2050
|
campaignId: string;
|
1999
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
2000
|
-
subType: number | null;
|
2001
2051
|
rewardTokenId: string;
|
2002
2052
|
amount: string;
|
2003
2053
|
opportunityId: string;
|
2004
|
-
startTimestamp: bigint;
|
2005
|
-
endTimestamp: bigint;
|
2006
|
-
params: import("../database/api/.generated").Prisma.JsonValue;
|
2007
2054
|
creatorAddress: string;
|
2008
2055
|
};
|
2009
2056
|
} & {
|
2057
|
+
error: string;
|
2058
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2059
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
2010
2060
|
campaignId: string;
|
2011
2061
|
computedUntil: bigint;
|
2012
2062
|
processingStarted: bigint;
|
2013
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2014
|
-
error: string;
|
2015
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2016
2063
|
})[];
|
2017
2064
|
};
|
2018
2065
|
};
|
@@ -2031,12 +2078,12 @@ declare const app: Elysia<"", false, {
|
|
2031
2078
|
headers: unknown;
|
2032
2079
|
response: {
|
2033
2080
|
200: {
|
2081
|
+
error: string;
|
2082
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2083
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
2034
2084
|
campaignId: string;
|
2035
2085
|
computedUntil: bigint;
|
2036
2086
|
processingStarted: bigint;
|
2037
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2038
|
-
error: string;
|
2039
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2040
2087
|
};
|
2041
2088
|
};
|
2042
2089
|
};
|
@@ -2055,12 +2102,12 @@ declare const app: Elysia<"", false, {
|
|
2055
2102
|
headers: unknown;
|
2056
2103
|
response: {
|
2057
2104
|
200: {
|
2105
|
+
error: string;
|
2106
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2107
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
2058
2108
|
campaignId: string;
|
2059
2109
|
computedUntil: bigint;
|
2060
2110
|
processingStarted: bigint;
|
2061
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2062
|
-
error: string;
|
2063
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2064
2111
|
}[];
|
2065
2112
|
};
|
2066
2113
|
};
|