@merkl/api 0.10.116 → 0.10.118
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 +552 -411
- package/dist/src/index.d.ts +194 -137
- 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 +21 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +8 -9
- 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 +194 -137
- 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 +79 -43
- package/dist/src/modules/v4/user/user.repository.d.ts +7 -2
- package/dist/src/modules/v4/user/user.service.d.ts +10 -4
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +194 -137
- package/dist/src/routes/v3/blacklist.d.ts +194 -137
- package/dist/src/routes/v3/campaigns.d.ts +194 -137
- package/dist/src/routes/v3/campaignsInfo.d.ts +194 -137
- package/dist/src/routes/v3/multiChainPositions.d.ts +194 -137
- package/dist/src/routes/v3/opportunity.d.ts +194 -137
- package/dist/src/routes/v3/positions.d.ts +194 -137
- package/dist/src/routes/v3/rewards.d.ts +194 -137
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +194 -137
- package/dist/src/routes/v3/userRewards.d.ts +194 -137
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
@@ -82,9 +82,9 @@ declare const _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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 _default: (app: App) => import("elysia").default<"", 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,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1314
1317
|
headers: unknown;
|
1315
1318
|
response: {
|
1316
1319
|
200: {
|
1320
|
+
tags: string[];
|
1317
1321
|
address: string;
|
1322
|
+
}[];
|
1323
|
+
};
|
1324
|
+
};
|
1325
|
+
};
|
1326
|
+
};
|
1327
|
+
} & {
|
1328
|
+
users: {
|
1329
|
+
tags: {
|
1330
|
+
get: {
|
1331
|
+
body: unknown;
|
1332
|
+
params: Record<never, string>;
|
1333
|
+
query: unknown;
|
1334
|
+
headers: {
|
1335
|
+
authorization: string;
|
1336
|
+
};
|
1337
|
+
response: {
|
1338
|
+
200: {
|
1318
1339
|
tags: string[];
|
1340
|
+
address: string;
|
1319
1341
|
}[];
|
1320
1342
|
};
|
1321
1343
|
};
|
@@ -1331,6 +1353,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1331
1353
|
headers: unknown;
|
1332
1354
|
response: {
|
1333
1355
|
200: {
|
1356
|
+
tags: string[];
|
1334
1357
|
address: string;
|
1335
1358
|
} | null;
|
1336
1359
|
};
|
@@ -1356,13 +1379,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1356
1379
|
}, "rewards"> & {
|
1357
1380
|
rewards: (Omit<{
|
1358
1381
|
token: {
|
1359
|
-
|
1382
|
+
symbol: string;
|
1360
1383
|
name: string | null;
|
1384
|
+
id: string;
|
1361
1385
|
chainId: number;
|
1362
1386
|
address: string;
|
1363
|
-
decimals: number;
|
1364
|
-
symbol: string;
|
1365
1387
|
icon: string;
|
1388
|
+
decimals: number;
|
1366
1389
|
verified: boolean;
|
1367
1390
|
price: number | null;
|
1368
1391
|
};
|
@@ -1370,63 +1393,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1370
1393
|
campaignId: string;
|
1371
1394
|
opportunity: {
|
1372
1395
|
Chain: {
|
1373
|
-
id: number;
|
1374
1396
|
name: string;
|
1397
|
+
id: number;
|
1375
1398
|
icon: string;
|
1376
1399
|
};
|
1377
1400
|
Tokens: {
|
1378
|
-
|
1401
|
+
symbol: string;
|
1379
1402
|
name: string | null;
|
1403
|
+
id: string;
|
1380
1404
|
chainId: number;
|
1381
1405
|
address: string;
|
1382
|
-
decimals: number;
|
1383
|
-
symbol: string;
|
1384
1406
|
icon: string;
|
1407
|
+
decimals: number;
|
1385
1408
|
verified: boolean;
|
1386
1409
|
price: number | null;
|
1387
1410
|
}[];
|
1388
1411
|
Protocols: {
|
1389
|
-
id: string;
|
1390
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1391
1412
|
name: string;
|
1392
|
-
description: string;
|
1393
1413
|
url: string;
|
1414
|
+
description: string;
|
1415
|
+
id: string;
|
1416
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1394
1417
|
icon: string;
|
1395
1418
|
}[];
|
1396
1419
|
MainProtocol: {
|
1397
|
-
id: string;
|
1398
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1399
1420
|
name: string;
|
1400
|
-
description: string;
|
1401
1421
|
url: string;
|
1422
|
+
description: string;
|
1423
|
+
id: string;
|
1424
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1402
1425
|
icon: string;
|
1403
1426
|
} | null;
|
1404
1427
|
} & {
|
1405
|
-
id: string;
|
1406
|
-
chainId: number;
|
1407
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1408
|
-
identifier: string;
|
1409
1428
|
name: string;
|
1429
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1430
|
+
id: string;
|
1410
1431
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1432
|
+
tags: string[];
|
1433
|
+
identifier: string;
|
1434
|
+
chainId: number;
|
1411
1435
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1412
1436
|
mainProtocolId: string | null;
|
1413
1437
|
tvl: number;
|
1414
1438
|
apr: number;
|
1415
1439
|
dailyRewards: number;
|
1416
|
-
tags: string[];
|
1417
1440
|
};
|
1418
1441
|
reason: string;
|
1442
|
+
pending: string;
|
1419
1443
|
amount: string;
|
1420
1444
|
claimed: string;
|
1421
|
-
pending: string;
|
1422
1445
|
auxiliaryData1: string | null;
|
1423
1446
|
auxiliaryData2: string | null;
|
1424
1447
|
}[];
|
1425
1448
|
claimed: bigint;
|
1426
1449
|
amount: bigint;
|
1427
1450
|
pending: bigint;
|
1428
|
-
root: string;
|
1429
1451
|
recipient: string;
|
1452
|
+
root: string;
|
1430
1453
|
proofs: string[];
|
1431
1454
|
}, "breakdowns"> & {
|
1432
1455
|
breakdowns: {
|
@@ -1466,13 +1489,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1466
1489
|
}, "rewards"> & {
|
1467
1490
|
rewards: (Omit<{
|
1468
1491
|
token: {
|
1469
|
-
|
1492
|
+
symbol: string;
|
1470
1493
|
name: string | null;
|
1494
|
+
id: string;
|
1471
1495
|
chainId: number;
|
1472
1496
|
address: string;
|
1473
|
-
decimals: number;
|
1474
|
-
symbol: string;
|
1475
1497
|
icon: string;
|
1498
|
+
decimals: number;
|
1476
1499
|
verified: boolean;
|
1477
1500
|
price: number | null;
|
1478
1501
|
};
|
@@ -1480,71 +1503,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1480
1503
|
campaignId: string;
|
1481
1504
|
opportunity: {
|
1482
1505
|
Chain: {
|
1483
|
-
id: number;
|
1484
1506
|
name: string;
|
1507
|
+
id: number;
|
1485
1508
|
icon: string;
|
1486
1509
|
};
|
1487
1510
|
Tokens: {
|
1488
|
-
|
1511
|
+
symbol: string;
|
1489
1512
|
name: string | null;
|
1513
|
+
id: string;
|
1490
1514
|
chainId: number;
|
1491
1515
|
address: string;
|
1492
|
-
decimals: number;
|
1493
|
-
symbol: string;
|
1494
1516
|
icon: string;
|
1517
|
+
decimals: number;
|
1495
1518
|
verified: boolean;
|
1496
1519
|
price: number | null;
|
1497
1520
|
}[];
|
1498
1521
|
Protocols: {
|
1499
|
-
id: string;
|
1500
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1501
1522
|
name: string;
|
1502
|
-
description: string;
|
1503
1523
|
url: string;
|
1524
|
+
description: string;
|
1525
|
+
id: string;
|
1526
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1504
1527
|
icon: string;
|
1505
1528
|
}[];
|
1506
1529
|
MainProtocol: {
|
1507
|
-
id: string;
|
1508
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1509
1530
|
name: string;
|
1510
|
-
description: string;
|
1511
1531
|
url: string;
|
1532
|
+
description: string;
|
1533
|
+
id: string;
|
1534
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1512
1535
|
icon: string;
|
1513
1536
|
} | null;
|
1514
1537
|
} & {
|
1515
|
-
id: string;
|
1516
|
-
chainId: number;
|
1517
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1518
|
-
identifier: string;
|
1519
1538
|
name: string;
|
1539
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1540
|
+
id: string;
|
1520
1541
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1542
|
+
tags: string[];
|
1543
|
+
identifier: string;
|
1544
|
+
chainId: number;
|
1521
1545
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1522
1546
|
mainProtocolId: string | null;
|
1523
1547
|
tvl: number;
|
1524
1548
|
apr: number;
|
1525
1549
|
dailyRewards: number;
|
1526
|
-
tags: string[];
|
1527
1550
|
};
|
1528
1551
|
reason: string;
|
1552
|
+
pending: string;
|
1529
1553
|
amount: string;
|
1530
1554
|
claimed: string;
|
1531
|
-
pending: string;
|
1532
1555
|
auxiliaryData1: string | null;
|
1533
1556
|
auxiliaryData2: string | null;
|
1534
1557
|
}[];
|
1535
1558
|
claimed: bigint;
|
1536
1559
|
amount: bigint;
|
1537
1560
|
pending: bigint;
|
1538
|
-
root: string;
|
1539
1561
|
recipient: string;
|
1562
|
+
root: string;
|
1540
1563
|
proofs: string[];
|
1541
1564
|
}, "breakdowns"> & {
|
1542
1565
|
breakdowns: {
|
1543
1566
|
campaignId: string;
|
1544
1567
|
reason: string;
|
1568
|
+
pending: string;
|
1545
1569
|
amount: string;
|
1546
1570
|
claimed: string;
|
1547
|
-
pending: string;
|
1548
1571
|
auxiliaryData1: string | null;
|
1549
1572
|
auxiliaryData2: string | null;
|
1550
1573
|
}[];
|
@@ -1570,13 +1593,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1570
1593
|
};
|
1571
1594
|
response: {
|
1572
1595
|
200: {
|
1573
|
-
address: string;
|
1574
1596
|
tags: string[];
|
1597
|
+
address: string;
|
1575
1598
|
};
|
1576
1599
|
};
|
1577
1600
|
};
|
1578
1601
|
};
|
1579
1602
|
};
|
1603
|
+
} & {
|
1604
|
+
users: {
|
1605
|
+
sync: {
|
1606
|
+
post: {
|
1607
|
+
body: unknown;
|
1608
|
+
params: Record<never, string>;
|
1609
|
+
query: unknown;
|
1610
|
+
headers: {
|
1611
|
+
authorization: string;
|
1612
|
+
};
|
1613
|
+
response: {
|
1614
|
+
200: void;
|
1615
|
+
};
|
1616
|
+
};
|
1617
|
+
};
|
1618
|
+
};
|
1580
1619
|
} & {
|
1581
1620
|
users: {
|
1582
1621
|
":address": {
|
@@ -1594,8 +1633,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1594
1633
|
};
|
1595
1634
|
response: {
|
1596
1635
|
200: {
|
1597
|
-
address: string;
|
1598
1636
|
tags: string[];
|
1637
|
+
address: string;
|
1599
1638
|
};
|
1600
1639
|
};
|
1601
1640
|
};
|
@@ -1606,7 +1645,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1606
1645
|
} & {
|
1607
1646
|
v4: {
|
1608
1647
|
roots: {
|
1609
|
-
|
1648
|
+
timestamps: {
|
1610
1649
|
get: {
|
1611
1650
|
body: unknown;
|
1612
1651
|
params: Record<never, string>;
|
@@ -1618,10 +1657,28 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1618
1657
|
headers: unknown;
|
1619
1658
|
response: {
|
1620
1659
|
200: {
|
1621
|
-
|
1660
|
+
timestamp: bigint;
|
1622
1661
|
chainId: number;
|
1662
|
+
root: string;
|
1623
1663
|
epoch: number;
|
1624
|
-
|
1664
|
+
}[];
|
1665
|
+
};
|
1666
|
+
};
|
1667
|
+
};
|
1668
|
+
};
|
1669
|
+
} & {
|
1670
|
+
roots: {
|
1671
|
+
index: {
|
1672
|
+
get: {
|
1673
|
+
body: unknown;
|
1674
|
+
params: Record<never, string>;
|
1675
|
+
query: unknown;
|
1676
|
+
headers: unknown;
|
1677
|
+
response: {
|
1678
|
+
200: {
|
1679
|
+
live: string;
|
1680
|
+
tree: string;
|
1681
|
+
lastTree: string;
|
1625
1682
|
}[];
|
1626
1683
|
};
|
1627
1684
|
};
|
@@ -1746,6 +1803,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1746
1803
|
response: {
|
1747
1804
|
200: {
|
1748
1805
|
id: string;
|
1806
|
+
timestamp: number;
|
1749
1807
|
chainId: number;
|
1750
1808
|
fromTokenId: string;
|
1751
1809
|
toTokenId: string;
|
@@ -1754,7 +1812,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1754
1812
|
amountIn: string;
|
1755
1813
|
amountOut: string;
|
1756
1814
|
datetime: Date;
|
1757
|
-
timestamp: number;
|
1758
1815
|
}[];
|
1759
1816
|
};
|
1760
1817
|
};
|
@@ -1993,12 +2050,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1993
2050
|
headers: unknown;
|
1994
2051
|
response: {
|
1995
2052
|
200: {
|
2053
|
+
error: string;
|
2054
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2055
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1996
2056
|
campaignId: string;
|
1997
2057
|
computedUntil: bigint;
|
1998
2058
|
processingStarted: bigint;
|
1999
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2000
|
-
error: string;
|
2001
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2002
2059
|
}[];
|
2003
2060
|
};
|
2004
2061
|
};
|
@@ -2017,27 +2074,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2017
2074
|
response: {
|
2018
2075
|
200: ({
|
2019
2076
|
Campaign: {
|
2077
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2020
2078
|
id: string;
|
2079
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2080
|
+
subType: number | null;
|
2081
|
+
startTimestamp: bigint;
|
2082
|
+
endTimestamp: bigint;
|
2021
2083
|
computeChainId: number;
|
2022
2084
|
distributionChainId: number;
|
2023
2085
|
campaignId: string;
|
2024
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2025
|
-
subType: number | null;
|
2026
2086
|
rewardTokenId: string;
|
2027
2087
|
amount: string;
|
2028
2088
|
opportunityId: string;
|
2029
|
-
startTimestamp: bigint;
|
2030
|
-
endTimestamp: bigint;
|
2031
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2032
2089
|
creatorAddress: string;
|
2033
2090
|
};
|
2034
2091
|
} & {
|
2092
|
+
error: string;
|
2093
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2094
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2035
2095
|
campaignId: string;
|
2036
2096
|
computedUntil: bigint;
|
2037
2097
|
processingStarted: bigint;
|
2038
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2039
|
-
error: string;
|
2040
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2041
2098
|
})[];
|
2042
2099
|
};
|
2043
2100
|
};
|
@@ -2056,12 +2113,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2056
2113
|
headers: unknown;
|
2057
2114
|
response: {
|
2058
2115
|
200: {
|
2116
|
+
error: string;
|
2117
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2118
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2059
2119
|
campaignId: string;
|
2060
2120
|
computedUntil: bigint;
|
2061
2121
|
processingStarted: bigint;
|
2062
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2063
|
-
error: string;
|
2064
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2065
2122
|
};
|
2066
2123
|
};
|
2067
2124
|
};
|
@@ -2080,12 +2137,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2080
2137
|
headers: unknown;
|
2081
2138
|
response: {
|
2082
2139
|
200: {
|
2140
|
+
error: string;
|
2141
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2142
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2083
2143
|
campaignId: string;
|
2084
2144
|
computedUntil: bigint;
|
2085
2145
|
processingStarted: bigint;
|
2086
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2087
|
-
error: string;
|
2088
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2089
2146
|
}[];
|
2090
2147
|
};
|
2091
2148
|
};
|