@merkl/api 0.10.116 → 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 +470 -414
- package/dist/src/index.d.ts +160 -138
- 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 +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- 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/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 +11 -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 +133 -130
- package/dist/src/modules/v4/router.d.ts +160 -138
- 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 +160 -138
- package/dist/src/routes/v3/blacklist.d.ts +160 -138
- package/dist/src/routes/v3/campaigns.d.ts +160 -138
- package/dist/src/routes/v3/campaignsInfo.d.ts +160 -138
- package/dist/src/routes/v3/multiChainPositions.d.ts +160 -138
- package/dist/src/routes/v3/opportunity.d.ts +160 -138
- package/dist/src/routes/v3/positions.d.ts +160 -138
- package/dist/src/routes/v3/rewards.d.ts +160 -138
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +160 -138
- package/dist/src/routes/v3/userRewards.d.ts +160 -138
- 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,15 @@ 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
|
+
};
|
916
919
|
};
|
917
920
|
};
|
918
921
|
};
|
@@ -952,13 +955,13 @@ declare const app: Elysia<"", false, {
|
|
952
955
|
headers: unknown;
|
953
956
|
response: {
|
954
957
|
200: {
|
955
|
-
id: number;
|
956
958
|
name: string;
|
959
|
+
id: number;
|
957
960
|
icon: string;
|
958
961
|
explorers: {
|
959
|
-
id: string;
|
960
962
|
type: import("../database/api/.generated").$Enums.ExplorerType;
|
961
963
|
url: string;
|
964
|
+
id: string;
|
962
965
|
chainId: number;
|
963
966
|
}[];
|
964
967
|
} | null;
|
@@ -976,13 +979,13 @@ declare const app: Elysia<"", false, {
|
|
976
979
|
headers: unknown;
|
977
980
|
response: {
|
978
981
|
200: {
|
979
|
-
id: number;
|
980
982
|
name: string;
|
983
|
+
id: number;
|
981
984
|
icon: string;
|
982
985
|
explorers: {
|
983
|
-
id: string;
|
984
986
|
type: import("../database/api/.generated").$Enums.ExplorerType;
|
985
987
|
url: string;
|
988
|
+
id: string;
|
986
989
|
chainId: number;
|
987
990
|
}[];
|
988
991
|
}[];
|
@@ -1018,9 +1021,9 @@ declare const app: Elysia<"", false, {
|
|
1018
1021
|
};
|
1019
1022
|
response: {
|
1020
1023
|
200: {
|
1021
|
-
id: string;
|
1022
1024
|
type: import("../database/api/.generated").$Enums.ExplorerType;
|
1023
1025
|
url: string;
|
1026
|
+
id: string;
|
1024
1027
|
chainId: number;
|
1025
1028
|
};
|
1026
1029
|
};
|
@@ -1085,10 +1088,10 @@ declare const app: Elysia<"", false, {
|
|
1085
1088
|
headers: unknown;
|
1086
1089
|
response: {
|
1087
1090
|
200: {
|
1088
|
-
id: number;
|
1089
1091
|
symbol: string;
|
1090
1092
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1091
|
-
args: import("
|
1093
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1094
|
+
id: number;
|
1092
1095
|
}[];
|
1093
1096
|
};
|
1094
1097
|
};
|
@@ -1107,10 +1110,10 @@ declare const app: Elysia<"", false, {
|
|
1107
1110
|
headers: unknown;
|
1108
1111
|
response: {
|
1109
1112
|
200: {
|
1110
|
-
id: number;
|
1111
1113
|
symbol: string;
|
1112
1114
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1113
|
-
args: import("
|
1115
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1116
|
+
id: number;
|
1114
1117
|
};
|
1115
1118
|
};
|
1116
1119
|
};
|
@@ -1156,10 +1159,10 @@ declare const app: Elysia<"", false, {
|
|
1156
1159
|
};
|
1157
1160
|
response: {
|
1158
1161
|
200: {
|
1159
|
-
id: number;
|
1160
1162
|
symbol: string;
|
1161
1163
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1162
|
-
args: import("
|
1164
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1165
|
+
id: number;
|
1163
1166
|
};
|
1164
1167
|
};
|
1165
1168
|
};
|
@@ -1181,10 +1184,10 @@ declare const app: Elysia<"", false, {
|
|
1181
1184
|
};
|
1182
1185
|
response: {
|
1183
1186
|
200: {
|
1184
|
-
id: number;
|
1185
1187
|
symbol: string;
|
1186
1188
|
method: import("../database/api/.generated").$Enums.PriceSourceMethod;
|
1187
|
-
args: import("
|
1189
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1190
|
+
id: number;
|
1188
1191
|
};
|
1189
1192
|
};
|
1190
1193
|
};
|
@@ -1209,7 +1212,7 @@ declare const app: Elysia<"", false, {
|
|
1209
1212
|
poolAddress: string;
|
1210
1213
|
userAddress: string;
|
1211
1214
|
arrestTimestamp: bigint;
|
1212
|
-
arrestDetails: import("
|
1215
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1213
1216
|
}[];
|
1214
1217
|
};
|
1215
1218
|
};
|
@@ -1271,7 +1274,7 @@ declare const app: Elysia<"", false, {
|
|
1271
1274
|
poolAddress: string;
|
1272
1275
|
userAddress: string;
|
1273
1276
|
arrestTimestamp: bigint;
|
1274
|
-
arrestDetails: import("
|
1277
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1275
1278
|
};
|
1276
1279
|
};
|
1277
1280
|
};
|
@@ -1314,8 +1317,8 @@ declare const app: Elysia<"", false, {
|
|
1314
1317
|
headers: unknown;
|
1315
1318
|
response: {
|
1316
1319
|
200: {
|
1317
|
-
address: string;
|
1318
1320
|
tags: string[];
|
1321
|
+
address: string;
|
1319
1322
|
}[];
|
1320
1323
|
};
|
1321
1324
|
};
|
@@ -1356,13 +1359,13 @@ declare const app: Elysia<"", false, {
|
|
1356
1359
|
}, "rewards"> & {
|
1357
1360
|
rewards: (Omit<{
|
1358
1361
|
token: {
|
1359
|
-
|
1362
|
+
symbol: string;
|
1360
1363
|
name: string | null;
|
1364
|
+
id: string;
|
1361
1365
|
chainId: number;
|
1362
1366
|
address: string;
|
1363
|
-
decimals: number;
|
1364
|
-
symbol: string;
|
1365
1367
|
icon: string;
|
1368
|
+
decimals: number;
|
1366
1369
|
verified: boolean;
|
1367
1370
|
price: number | null;
|
1368
1371
|
};
|
@@ -1370,63 +1373,63 @@ declare const app: Elysia<"", false, {
|
|
1370
1373
|
campaignId: string;
|
1371
1374
|
opportunity: {
|
1372
1375
|
Chain: {
|
1373
|
-
id: number;
|
1374
1376
|
name: string;
|
1377
|
+
id: number;
|
1375
1378
|
icon: string;
|
1376
1379
|
};
|
1377
1380
|
Tokens: {
|
1378
|
-
|
1381
|
+
symbol: string;
|
1379
1382
|
name: string | null;
|
1383
|
+
id: string;
|
1380
1384
|
chainId: number;
|
1381
1385
|
address: string;
|
1382
|
-
decimals: number;
|
1383
|
-
symbol: string;
|
1384
1386
|
icon: string;
|
1387
|
+
decimals: number;
|
1385
1388
|
verified: boolean;
|
1386
1389
|
price: number | null;
|
1387
1390
|
}[];
|
1388
1391
|
Protocols: {
|
1389
|
-
id: string;
|
1390
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1391
1392
|
name: string;
|
1392
|
-
description: string;
|
1393
1393
|
url: string;
|
1394
|
+
description: string;
|
1395
|
+
id: string;
|
1396
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1394
1397
|
icon: string;
|
1395
1398
|
}[];
|
1396
1399
|
MainProtocol: {
|
1397
|
-
id: string;
|
1398
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1399
1400
|
name: string;
|
1400
|
-
description: string;
|
1401
1401
|
url: string;
|
1402
|
+
description: string;
|
1403
|
+
id: string;
|
1404
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1402
1405
|
icon: string;
|
1403
1406
|
} | null;
|
1404
1407
|
} & {
|
1405
|
-
id: string;
|
1406
|
-
chainId: number;
|
1407
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
1408
|
-
identifier: string;
|
1409
1408
|
name: string;
|
1409
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
1410
|
+
id: string;
|
1410
1411
|
status: import("../database/api/.generated").$Enums.Status;
|
1412
|
+
tags: string[];
|
1413
|
+
identifier: string;
|
1414
|
+
chainId: number;
|
1411
1415
|
action: import("../database/api/.generated").$Enums.OpportunityAction;
|
1412
1416
|
mainProtocolId: string | null;
|
1413
1417
|
tvl: number;
|
1414
1418
|
apr: number;
|
1415
1419
|
dailyRewards: number;
|
1416
|
-
tags: string[];
|
1417
1420
|
};
|
1418
1421
|
reason: string;
|
1422
|
+
pending: string;
|
1419
1423
|
amount: string;
|
1420
1424
|
claimed: string;
|
1421
|
-
pending: string;
|
1422
1425
|
auxiliaryData1: string | null;
|
1423
1426
|
auxiliaryData2: string | null;
|
1424
1427
|
}[];
|
1425
1428
|
claimed: bigint;
|
1426
1429
|
amount: bigint;
|
1427
1430
|
pending: bigint;
|
1428
|
-
root: string;
|
1429
1431
|
recipient: string;
|
1432
|
+
root: string;
|
1430
1433
|
proofs: string[];
|
1431
1434
|
}, "breakdowns"> & {
|
1432
1435
|
breakdowns: {
|
@@ -1466,13 +1469,13 @@ declare const app: Elysia<"", false, {
|
|
1466
1469
|
}, "rewards"> & {
|
1467
1470
|
rewards: (Omit<{
|
1468
1471
|
token: {
|
1469
|
-
|
1472
|
+
symbol: string;
|
1470
1473
|
name: string | null;
|
1474
|
+
id: string;
|
1471
1475
|
chainId: number;
|
1472
1476
|
address: string;
|
1473
|
-
decimals: number;
|
1474
|
-
symbol: string;
|
1475
1477
|
icon: string;
|
1478
|
+
decimals: number;
|
1476
1479
|
verified: boolean;
|
1477
1480
|
price: number | null;
|
1478
1481
|
};
|
@@ -1480,71 +1483,71 @@ declare const app: Elysia<"", false, {
|
|
1480
1483
|
campaignId: string;
|
1481
1484
|
opportunity: {
|
1482
1485
|
Chain: {
|
1483
|
-
id: number;
|
1484
1486
|
name: string;
|
1487
|
+
id: number;
|
1485
1488
|
icon: string;
|
1486
1489
|
};
|
1487
1490
|
Tokens: {
|
1488
|
-
|
1491
|
+
symbol: string;
|
1489
1492
|
name: string | null;
|
1493
|
+
id: string;
|
1490
1494
|
chainId: number;
|
1491
1495
|
address: string;
|
1492
|
-
decimals: number;
|
1493
|
-
symbol: string;
|
1494
1496
|
icon: string;
|
1497
|
+
decimals: number;
|
1495
1498
|
verified: boolean;
|
1496
1499
|
price: number | null;
|
1497
1500
|
}[];
|
1498
1501
|
Protocols: {
|
1499
|
-
id: string;
|
1500
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1501
1502
|
name: string;
|
1502
|
-
description: string;
|
1503
1503
|
url: string;
|
1504
|
+
description: string;
|
1505
|
+
id: string;
|
1506
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1504
1507
|
icon: string;
|
1505
1508
|
}[];
|
1506
1509
|
MainProtocol: {
|
1507
|
-
id: string;
|
1508
|
-
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1509
1510
|
name: string;
|
1510
|
-
description: string;
|
1511
1511
|
url: string;
|
1512
|
+
description: string;
|
1513
|
+
id: string;
|
1514
|
+
tags: import("../database/api/.generated").$Enums.ProtocolTag[];
|
1512
1515
|
icon: string;
|
1513
1516
|
} | null;
|
1514
1517
|
} & {
|
1515
|
-
id: string;
|
1516
|
-
chainId: number;
|
1517
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
1518
|
-
identifier: string;
|
1519
1518
|
name: string;
|
1519
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
1520
|
+
id: string;
|
1520
1521
|
status: import("../database/api/.generated").$Enums.Status;
|
1522
|
+
tags: string[];
|
1523
|
+
identifier: string;
|
1524
|
+
chainId: number;
|
1521
1525
|
action: import("../database/api/.generated").$Enums.OpportunityAction;
|
1522
1526
|
mainProtocolId: string | null;
|
1523
1527
|
tvl: number;
|
1524
1528
|
apr: number;
|
1525
1529
|
dailyRewards: number;
|
1526
|
-
tags: string[];
|
1527
1530
|
};
|
1528
1531
|
reason: string;
|
1532
|
+
pending: string;
|
1529
1533
|
amount: string;
|
1530
1534
|
claimed: string;
|
1531
|
-
pending: string;
|
1532
1535
|
auxiliaryData1: string | null;
|
1533
1536
|
auxiliaryData2: string | null;
|
1534
1537
|
}[];
|
1535
1538
|
claimed: bigint;
|
1536
1539
|
amount: bigint;
|
1537
1540
|
pending: bigint;
|
1538
|
-
root: string;
|
1539
1541
|
recipient: string;
|
1542
|
+
root: string;
|
1540
1543
|
proofs: string[];
|
1541
1544
|
}, "breakdowns"> & {
|
1542
1545
|
breakdowns: {
|
1543
1546
|
campaignId: string;
|
1544
1547
|
reason: string;
|
1548
|
+
pending: string;
|
1545
1549
|
amount: string;
|
1546
1550
|
claimed: string;
|
1547
|
-
pending: string;
|
1548
1551
|
auxiliaryData1: string | null;
|
1549
1552
|
auxiliaryData2: string | null;
|
1550
1553
|
}[];
|
@@ -1570,8 +1573,8 @@ declare const app: Elysia<"", false, {
|
|
1570
1573
|
};
|
1571
1574
|
response: {
|
1572
1575
|
200: {
|
1573
|
-
address: string;
|
1574
1576
|
tags: string[];
|
1577
|
+
address: string;
|
1575
1578
|
};
|
1576
1579
|
};
|
1577
1580
|
};
|
@@ -1594,8 +1597,8 @@ declare const app: Elysia<"", false, {
|
|
1594
1597
|
};
|
1595
1598
|
response: {
|
1596
1599
|
200: {
|
1597
|
-
address: string;
|
1598
1600
|
tags: string[];
|
1601
|
+
address: string;
|
1599
1602
|
};
|
1600
1603
|
};
|
1601
1604
|
};
|
@@ -1606,7 +1609,7 @@ declare const app: Elysia<"", false, {
|
|
1606
1609
|
} & {
|
1607
1610
|
v4: {
|
1608
1611
|
roots: {
|
1609
|
-
|
1612
|
+
timestamps: {
|
1610
1613
|
get: {
|
1611
1614
|
body: unknown;
|
1612
1615
|
params: Record<never, string>;
|
@@ -1618,15 +1621,34 @@ declare const app: Elysia<"", false, {
|
|
1618
1621
|
headers: unknown;
|
1619
1622
|
response: {
|
1620
1623
|
200: {
|
1621
|
-
|
1624
|
+
timestamp: bigint;
|
1622
1625
|
chainId: number;
|
1626
|
+
root: string;
|
1623
1627
|
epoch: number;
|
1624
|
-
timestamp: bigint;
|
1625
1628
|
}[];
|
1626
1629
|
};
|
1627
1630
|
};
|
1628
1631
|
};
|
1629
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
|
+
};
|
1630
1652
|
};
|
1631
1653
|
} & {
|
1632
1654
|
v4: {
|
@@ -1746,6 +1768,7 @@ declare const app: Elysia<"", false, {
|
|
1746
1768
|
response: {
|
1747
1769
|
200: {
|
1748
1770
|
id: string;
|
1771
|
+
timestamp: number;
|
1749
1772
|
chainId: number;
|
1750
1773
|
fromTokenId: string;
|
1751
1774
|
toTokenId: string;
|
@@ -1754,7 +1777,6 @@ declare const app: Elysia<"", false, {
|
|
1754
1777
|
amountIn: string;
|
1755
1778
|
amountOut: string;
|
1756
1779
|
datetime: Date;
|
1757
|
-
timestamp: number;
|
1758
1780
|
}[];
|
1759
1781
|
};
|
1760
1782
|
};
|
@@ -1993,12 +2015,12 @@ declare const app: Elysia<"", false, {
|
|
1993
2015
|
headers: unknown;
|
1994
2016
|
response: {
|
1995
2017
|
200: {
|
2018
|
+
error: string;
|
2019
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2020
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
1996
2021
|
campaignId: string;
|
1997
2022
|
computedUntil: bigint;
|
1998
2023
|
processingStarted: bigint;
|
1999
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2000
|
-
error: string;
|
2001
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2002
2024
|
}[];
|
2003
2025
|
};
|
2004
2026
|
};
|
@@ -2017,27 +2039,27 @@ declare const app: Elysia<"", false, {
|
|
2017
2039
|
response: {
|
2018
2040
|
200: ({
|
2019
2041
|
Campaign: {
|
2042
|
+
type: import("../database/api/.generated").$Enums.CampaignType;
|
2020
2043
|
id: string;
|
2044
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2045
|
+
subType: number | null;
|
2046
|
+
startTimestamp: bigint;
|
2047
|
+
endTimestamp: bigint;
|
2021
2048
|
computeChainId: number;
|
2022
2049
|
distributionChainId: number;
|
2023
2050
|
campaignId: string;
|
2024
|
-
type: import("../database/api/.generated").$Enums.CampaignType;
|
2025
|
-
subType: number | null;
|
2026
2051
|
rewardTokenId: string;
|
2027
2052
|
amount: string;
|
2028
2053
|
opportunityId: string;
|
2029
|
-
startTimestamp: bigint;
|
2030
|
-
endTimestamp: bigint;
|
2031
|
-
params: import("../database/api/.generated").Prisma.JsonValue;
|
2032
2054
|
creatorAddress: string;
|
2033
2055
|
};
|
2034
2056
|
} & {
|
2057
|
+
error: string;
|
2058
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2059
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
2035
2060
|
campaignId: string;
|
2036
2061
|
computedUntil: bigint;
|
2037
2062
|
processingStarted: bigint;
|
2038
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2039
|
-
error: string;
|
2040
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2041
2063
|
})[];
|
2042
2064
|
};
|
2043
2065
|
};
|
@@ -2056,12 +2078,12 @@ declare const app: Elysia<"", false, {
|
|
2056
2078
|
headers: unknown;
|
2057
2079
|
response: {
|
2058
2080
|
200: {
|
2081
|
+
error: string;
|
2082
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2083
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
2059
2084
|
campaignId: string;
|
2060
2085
|
computedUntil: bigint;
|
2061
2086
|
processingStarted: bigint;
|
2062
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2063
|
-
error: string;
|
2064
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2065
2087
|
};
|
2066
2088
|
};
|
2067
2089
|
};
|
@@ -2080,12 +2102,12 @@ declare const app: Elysia<"", false, {
|
|
2080
2102
|
headers: unknown;
|
2081
2103
|
response: {
|
2082
2104
|
200: {
|
2105
|
+
error: string;
|
2106
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2107
|
+
status: import("../database/api/.generated").$Enums.RunStatus;
|
2083
2108
|
campaignId: string;
|
2084
2109
|
computedUntil: bigint;
|
2085
2110
|
processingStarted: bigint;
|
2086
|
-
status: import("../database/api/.generated").$Enums.RunStatus;
|
2087
|
-
error: string;
|
2088
|
-
details: import("../database/api/.generated").Prisma.JsonValue;
|
2089
2111
|
}[];
|
2090
2112
|
};
|
2091
2113
|
};
|