@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.
Files changed (70) hide show
  1. package/dist/database/api/.generated/default.d.ts +1 -1
  2. package/dist/database/api/.generated/edge.d.ts +1 -1
  3. package/dist/database/api/.generated/index.d.ts +335 -311
  4. package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  5. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  7. package/dist/database/api/.generated/package.json +15 -2
  8. package/dist/database/api/.generated/runtime/library.d.ts +195 -79
  9. package/dist/database/api/.generated/schema.prisma +1 -1
  10. package/dist/database/api/.generated/wasm.d.ts +1 -1
  11. package/dist/database/engine/.generated/default.d.ts +1 -1
  12. package/dist/database/engine/.generated/edge.d.ts +1 -1
  13. package/dist/database/engine/.generated/index.d.ts +16 -104
  14. package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  15. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  16. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  17. package/dist/database/engine/.generated/package.json +14 -1
  18. package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
  19. package/dist/database/engine/.generated/wasm.d.ts +1 -1
  20. package/dist/src/eden/index.d.ts +470 -414
  21. package/dist/src/index.d.ts +160 -138
  22. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +1 -1
  23. package/dist/src/modules/v4/accounting/accounting.repository.d.ts +8 -8
  24. package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
  25. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
  26. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
  27. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
  28. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -14
  29. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -27
  30. package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -28
  31. package/dist/src/modules/v4/chain/chain.controller.d.ts +5 -5
  32. package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -6
  33. package/dist/src/modules/v4/chain/chain.service.d.ts +5 -5
  34. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
  35. package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
  36. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +22 -3
  37. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
  38. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -4
  39. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
  40. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
  41. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
  42. package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
  43. package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
  44. package/dist/src/modules/v4/price/price.service.d.ts +8 -8
  45. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
  46. package/dist/src/modules/v4/reward/reward.controller.d.ts +11 -8
  47. package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
  48. package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
  49. package/dist/src/modules/v4/reward/reward.service.d.ts +133 -130
  50. package/dist/src/modules/v4/router.d.ts +160 -138
  51. package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
  52. package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
  53. package/dist/src/modules/v4/status/status.service.d.ts +20 -20
  54. package/dist/src/modules/v4/user/user.controller.d.ts +44 -44
  55. package/dist/src/modules/v4/user/user.repository.d.ts +3 -3
  56. package/dist/src/modules/v4/user/user.service.d.ts +3 -3
  57. package/dist/src/routes/v3/ERC20Campaigns.d.ts +160 -138
  58. package/dist/src/routes/v3/blacklist.d.ts +160 -138
  59. package/dist/src/routes/v3/campaigns.d.ts +160 -138
  60. package/dist/src/routes/v3/campaignsInfo.d.ts +160 -138
  61. package/dist/src/routes/v3/multiChainPositions.d.ts +160 -138
  62. package/dist/src/routes/v3/opportunity.d.ts +160 -138
  63. package/dist/src/routes/v3/positions.d.ts +160 -138
  64. package/dist/src/routes/v3/rewards.d.ts +160 -138
  65. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
  66. package/dist/src/routes/v3/updates.d.ts +160 -138
  67. package/dist/src/routes/v3/userRewards.d.ts +160 -138
  68. package/dist/tsconfig.package.tsbuildinfo +1 -1
  69. package/package.json +3 -3
  70. package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
@@ -88,9 +88,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
88
88
  cumulated: number;
89
89
  timestamp: bigint;
90
90
  breakdowns: {
91
+ type: import("../../../database/api/.generated").$Enums.AprType;
91
92
  id: number;
92
93
  identifier: string;
93
- type: import("../../../database/api/.generated").$Enums.AprType;
94
94
  value: number;
95
95
  aprRecordId: string;
96
96
  }[];
@@ -100,9 +100,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
100
100
  total: number;
101
101
  timestamp: bigint;
102
102
  breakdowns: {
103
+ type: import("../../../database/api/.generated").$Enums.TvlType;
103
104
  id: number;
104
105
  identifier: string;
105
- type: import("../../../database/api/.generated").$Enums.TvlType;
106
106
  value: number;
107
107
  tvlRecordId: string;
108
108
  }[];
@@ -120,27 +120,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
120
120
  };
121
121
  id: string;
122
122
  tokens: {
123
- id: string;
123
+ symbol: string;
124
124
  name: string | null;
125
+ id: string;
125
126
  chainId: number;
126
127
  address: string;
127
- decimals: number;
128
- symbol: string;
129
128
  icon: string;
129
+ decimals: number;
130
130
  verified: boolean;
131
131
  price: number | null;
132
132
  }[];
133
133
  chain: {
134
- id: number;
135
134
  name: string;
135
+ id: number;
136
136
  icon: string;
137
137
  };
138
138
  protocol: {
139
- id: string;
140
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
141
139
  name: string;
142
- description: string;
143
140
  url: string;
141
+ description: string;
142
+ id: string;
143
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
144
144
  icon: string;
145
145
  } | undefined;
146
146
  name: string;
@@ -175,9 +175,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
175
175
  cumulated: number;
176
176
  timestamp: bigint;
177
177
  breakdowns: {
178
+ type: import("../../../database/api/.generated").$Enums.AprType;
178
179
  id: number;
179
180
  identifier: string;
180
- type: import("../../../database/api/.generated").$Enums.AprType;
181
181
  value: number;
182
182
  aprRecordId: string;
183
183
  }[];
@@ -187,9 +187,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
187
187
  total: number;
188
188
  timestamp: bigint;
189
189
  breakdowns: {
190
+ type: import("../../../database/api/.generated").$Enums.TvlType;
190
191
  id: number;
191
192
  identifier: string;
192
- type: import("../../../database/api/.generated").$Enums.TvlType;
193
193
  value: number;
194
194
  tvlRecordId: string;
195
195
  }[];
@@ -207,27 +207,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
207
207
  };
208
208
  id: string;
209
209
  tokens: {
210
- id: string;
210
+ symbol: string;
211
211
  name: string | null;
212
+ id: string;
212
213
  chainId: number;
213
214
  address: string;
214
- decimals: number;
215
- symbol: string;
216
215
  icon: string;
216
+ decimals: number;
217
217
  verified: boolean;
218
218
  price: number | null;
219
219
  }[];
220
220
  chain: {
221
- id: number;
222
221
  name: string;
222
+ id: number;
223
223
  icon: string;
224
224
  };
225
225
  protocol: {
226
- id: string;
227
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
228
226
  name: string;
229
- description: string;
230
227
  url: string;
228
+ description: string;
229
+ id: string;
230
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
231
231
  icon: string;
232
232
  } | undefined;
233
233
  name: string;
@@ -244,37 +244,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
244
244
  campaigns: ({
245
245
  params: any;
246
246
  chain: {
247
- id: number;
248
247
  name: string;
248
+ id: number;
249
249
  icon: string;
250
250
  };
251
251
  rewardToken: {
252
- id: string;
252
+ symbol: string;
253
253
  name: string | null;
254
+ id: string;
254
255
  chainId: number;
255
256
  address: string;
256
- decimals: number;
257
- symbol: string;
258
257
  icon: string;
258
+ decimals: number;
259
259
  verified: boolean;
260
260
  price: number | null;
261
261
  };
262
262
  distributionChain: {
263
- id: number;
264
263
  name: string;
264
+ id: number;
265
265
  icon: string;
266
266
  } | undefined;
267
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
267
268
  id: string;
269
+ subType: number | null;
270
+ startTimestamp: bigint;
271
+ endTimestamp: bigint;
268
272
  computeChainId: number;
269
273
  distributionChainId: number;
270
274
  campaignId: string;
271
- type: import("../../../database/api/.generated").$Enums.CampaignType;
272
- subType: number | null;
273
275
  rewardTokenId: string;
274
276
  amount: string;
275
277
  opportunityId: string;
276
- startTimestamp: bigint;
277
- endTimestamp: bigint;
278
278
  creatorAddress: string;
279
279
  } | null)[];
280
280
  }) | null | undefined;
@@ -309,9 +309,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
309
309
  cumulated: number;
310
310
  timestamp: bigint;
311
311
  breakdowns: {
312
+ type: import("../../../database/api/.generated").$Enums.AprType;
312
313
  id: number;
313
314
  identifier: string;
314
- type: import("../../../database/api/.generated").$Enums.AprType;
315
315
  value: number;
316
316
  aprRecordId: string;
317
317
  }[];
@@ -321,9 +321,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
321
321
  total: number;
322
322
  timestamp: bigint;
323
323
  breakdowns: {
324
+ type: import("../../../database/api/.generated").$Enums.TvlType;
324
325
  id: number;
325
326
  identifier: string;
326
- type: import("../../../database/api/.generated").$Enums.TvlType;
327
327
  value: number;
328
328
  tvlRecordId: string;
329
329
  }[];
@@ -341,27 +341,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
341
341
  };
342
342
  id: string;
343
343
  tokens: {
344
- id: string;
344
+ symbol: string;
345
345
  name: string | null;
346
+ id: string;
346
347
  chainId: number;
347
348
  address: string;
348
- decimals: number;
349
- symbol: string;
350
349
  icon: string;
350
+ decimals: number;
351
351
  verified: boolean;
352
352
  price: number | null;
353
353
  }[];
354
354
  chain: {
355
- id: number;
356
355
  name: string;
356
+ id: number;
357
357
  icon: string;
358
358
  };
359
359
  protocol: {
360
- id: string;
361
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
362
360
  name: string;
363
- description: string;
364
361
  url: string;
362
+ description: string;
363
+ id: string;
364
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
365
365
  icon: string;
366
366
  } | undefined;
367
367
  name: string;
@@ -433,18 +433,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
433
433
  };
434
434
  response: {
435
435
  200: {
436
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
436
437
  id: string;
438
+ params: import("database/api/.generated/runtime/library").JsonValue;
439
+ subType: number | null;
440
+ startTimestamp: bigint;
441
+ endTimestamp: bigint;
437
442
  computeChainId: number;
438
443
  distributionChainId: number;
439
444
  campaignId: string;
440
- type: import("../../../database/api/.generated").$Enums.CampaignType;
441
- subType: number | null;
442
445
  rewardTokenId: string;
443
446
  amount: string;
444
447
  opportunityId: string;
445
- startTimestamp: bigint;
446
- endTimestamp: bigint;
447
- params: import("../../../database/api/.generated").Prisma.JsonValue;
448
448
  creatorAddress: string;
449
449
  } | undefined;
450
450
  };
@@ -474,37 +474,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
474
474
  200: ({
475
475
  params: any;
476
476
  chain: {
477
- id: number;
478
477
  name: string;
478
+ id: number;
479
479
  icon: string;
480
480
  };
481
481
  rewardToken: {
482
- id: string;
482
+ symbol: string;
483
483
  name: string | null;
484
+ id: string;
484
485
  chainId: number;
485
486
  address: string;
486
- decimals: number;
487
- symbol: string;
488
487
  icon: string;
488
+ decimals: number;
489
489
  verified: boolean;
490
490
  price: number | null;
491
491
  };
492
492
  distributionChain: {
493
- id: number;
494
493
  name: string;
494
+ id: number;
495
495
  icon: string;
496
496
  } | undefined;
497
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
497
498
  id: string;
499
+ subType: number | null;
500
+ startTimestamp: bigint;
501
+ endTimestamp: bigint;
498
502
  computeChainId: number;
499
503
  distributionChainId: number;
500
504
  campaignId: string;
501
- type: import("../../../database/api/.generated").$Enums.CampaignType;
502
- subType: number | null;
503
505
  rewardTokenId: string;
504
506
  amount: string;
505
507
  opportunityId: string;
506
- startTimestamp: bigint;
507
- endTimestamp: bigint;
508
508
  creatorAddress: string;
509
509
  } | null)[];
510
510
  };
@@ -782,9 +782,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
782
782
  params: Record<never, string>;
783
783
  query: {
784
784
  items?: number | undefined;
785
- chainId?: number | undefined;
786
785
  page?: number | undefined;
787
- campaignId?: string | undefined;
786
+ chainId: number;
787
+ campaignId: string;
788
788
  };
789
789
  headers: unknown;
790
790
  response: {
@@ -801,13 +801,16 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
801
801
  params: Record<never, string>;
802
802
  query: {
803
803
  items?: number | undefined;
804
- chainId?: number | undefined;
805
804
  page?: number | undefined;
806
- campaignId?: string | undefined;
805
+ chainId: number;
806
+ campaignId: string;
807
807
  };
808
808
  headers: unknown;
809
809
  response: {
810
- 200: unknown;
810
+ 200: {
811
+ campaignId: string;
812
+ amount: bigint;
813
+ };
811
814
  };
812
815
  };
813
816
  };
@@ -910,15 +913,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
910
913
  params: Record<never, string>;
911
914
  query: {
912
915
  items?: number | undefined;
913
- chainId?: number | undefined;
914
916
  page?: number | undefined;
915
- campaignId?: string | undefined;
917
+ chainId: number;
918
+ campaignId: string;
916
919
  };
917
920
  headers: unknown;
918
921
  response: {
919
922
  200: {
920
923
  count: number;
921
- } | null;
924
+ };
922
925
  };
923
926
  };
924
927
  };
@@ -958,13 +961,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
958
961
  headers: unknown;
959
962
  response: {
960
963
  200: {
961
- id: number;
962
964
  name: string;
965
+ id: number;
963
966
  icon: string;
964
967
  explorers: {
965
- id: string;
966
968
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
967
969
  url: string;
970
+ id: string;
968
971
  chainId: number;
969
972
  }[];
970
973
  } | null;
@@ -982,13 +985,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
982
985
  headers: unknown;
983
986
  response: {
984
987
  200: {
985
- id: number;
986
988
  name: string;
989
+ id: number;
987
990
  icon: string;
988
991
  explorers: {
989
- id: string;
990
992
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
991
993
  url: string;
994
+ id: string;
992
995
  chainId: number;
993
996
  }[];
994
997
  }[];
@@ -1024,9 +1027,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1024
1027
  };
1025
1028
  response: {
1026
1029
  200: {
1027
- id: string;
1028
1030
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
1029
1031
  url: string;
1032
+ id: string;
1030
1033
  chainId: number;
1031
1034
  };
1032
1035
  };
@@ -1091,10 +1094,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1091
1094
  headers: unknown;
1092
1095
  response: {
1093
1096
  200: {
1094
- id: number;
1095
1097
  symbol: string;
1096
1098
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1097
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1099
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1100
+ id: number;
1098
1101
  }[];
1099
1102
  };
1100
1103
  };
@@ -1113,10 +1116,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1113
1116
  headers: unknown;
1114
1117
  response: {
1115
1118
  200: {
1116
- id: number;
1117
1119
  symbol: string;
1118
1120
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1119
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1121
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1122
+ id: number;
1120
1123
  };
1121
1124
  };
1122
1125
  };
@@ -1162,10 +1165,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1162
1165
  };
1163
1166
  response: {
1164
1167
  200: {
1165
- id: number;
1166
1168
  symbol: string;
1167
1169
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1168
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1170
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1171
+ id: number;
1169
1172
  };
1170
1173
  };
1171
1174
  };
@@ -1187,10 +1190,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1187
1190
  };
1188
1191
  response: {
1189
1192
  200: {
1190
- id: number;
1191
1193
  symbol: string;
1192
1194
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1193
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1195
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1196
+ id: number;
1194
1197
  };
1195
1198
  };
1196
1199
  };
@@ -1215,7 +1218,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1215
1218
  poolAddress: string;
1216
1219
  userAddress: string;
1217
1220
  arrestTimestamp: bigint;
1218
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1221
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1219
1222
  }[];
1220
1223
  };
1221
1224
  };
@@ -1277,7 +1280,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1277
1280
  poolAddress: string;
1278
1281
  userAddress: string;
1279
1282
  arrestTimestamp: bigint;
1280
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1283
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1281
1284
  };
1282
1285
  };
1283
1286
  };
@@ -1320,8 +1323,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1320
1323
  headers: unknown;
1321
1324
  response: {
1322
1325
  200: {
1323
- address: string;
1324
1326
  tags: string[];
1327
+ address: string;
1325
1328
  }[];
1326
1329
  };
1327
1330
  };
@@ -1362,13 +1365,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1362
1365
  }, "rewards"> & {
1363
1366
  rewards: (Omit<{
1364
1367
  token: {
1365
- id: string;
1368
+ symbol: string;
1366
1369
  name: string | null;
1370
+ id: string;
1367
1371
  chainId: number;
1368
1372
  address: string;
1369
- decimals: number;
1370
- symbol: string;
1371
1373
  icon: string;
1374
+ decimals: number;
1372
1375
  verified: boolean;
1373
1376
  price: number | null;
1374
1377
  };
@@ -1376,63 +1379,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1376
1379
  campaignId: string;
1377
1380
  opportunity: {
1378
1381
  Chain: {
1379
- id: number;
1380
1382
  name: string;
1383
+ id: number;
1381
1384
  icon: string;
1382
1385
  };
1383
1386
  Tokens: {
1384
- id: string;
1387
+ symbol: string;
1385
1388
  name: string | null;
1389
+ id: string;
1386
1390
  chainId: number;
1387
1391
  address: string;
1388
- decimals: number;
1389
- symbol: string;
1390
1392
  icon: string;
1393
+ decimals: number;
1391
1394
  verified: boolean;
1392
1395
  price: number | null;
1393
1396
  }[];
1394
1397
  Protocols: {
1395
- id: string;
1396
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1397
1398
  name: string;
1398
- description: string;
1399
1399
  url: string;
1400
+ description: string;
1401
+ id: string;
1402
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1400
1403
  icon: string;
1401
1404
  }[];
1402
1405
  MainProtocol: {
1403
- id: string;
1404
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1405
1406
  name: string;
1406
- description: string;
1407
1407
  url: string;
1408
+ description: string;
1409
+ id: string;
1410
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1408
1411
  icon: string;
1409
1412
  } | null;
1410
1413
  } & {
1411
- id: string;
1412
- chainId: number;
1413
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1414
- identifier: string;
1415
1414
  name: string;
1415
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1416
+ id: string;
1416
1417
  status: import("../../../database/api/.generated").$Enums.Status;
1418
+ tags: string[];
1419
+ identifier: string;
1420
+ chainId: number;
1417
1421
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1418
1422
  mainProtocolId: string | null;
1419
1423
  tvl: number;
1420
1424
  apr: number;
1421
1425
  dailyRewards: number;
1422
- tags: string[];
1423
1426
  };
1424
1427
  reason: string;
1428
+ pending: string;
1425
1429
  amount: string;
1426
1430
  claimed: string;
1427
- pending: string;
1428
1431
  auxiliaryData1: string | null;
1429
1432
  auxiliaryData2: string | null;
1430
1433
  }[];
1431
1434
  claimed: bigint;
1432
1435
  amount: bigint;
1433
1436
  pending: bigint;
1434
- root: string;
1435
1437
  recipient: string;
1438
+ root: string;
1436
1439
  proofs: string[];
1437
1440
  }, "breakdowns"> & {
1438
1441
  breakdowns: {
@@ -1472,13 +1475,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1472
1475
  }, "rewards"> & {
1473
1476
  rewards: (Omit<{
1474
1477
  token: {
1475
- id: string;
1478
+ symbol: string;
1476
1479
  name: string | null;
1480
+ id: string;
1477
1481
  chainId: number;
1478
1482
  address: string;
1479
- decimals: number;
1480
- symbol: string;
1481
1483
  icon: string;
1484
+ decimals: number;
1482
1485
  verified: boolean;
1483
1486
  price: number | null;
1484
1487
  };
@@ -1486,71 +1489,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1486
1489
  campaignId: string;
1487
1490
  opportunity: {
1488
1491
  Chain: {
1489
- id: number;
1490
1492
  name: string;
1493
+ id: number;
1491
1494
  icon: string;
1492
1495
  };
1493
1496
  Tokens: {
1494
- id: string;
1497
+ symbol: string;
1495
1498
  name: string | null;
1499
+ id: string;
1496
1500
  chainId: number;
1497
1501
  address: string;
1498
- decimals: number;
1499
- symbol: string;
1500
1502
  icon: string;
1503
+ decimals: number;
1501
1504
  verified: boolean;
1502
1505
  price: number | null;
1503
1506
  }[];
1504
1507
  Protocols: {
1505
- id: string;
1506
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1507
1508
  name: string;
1508
- description: string;
1509
1509
  url: string;
1510
+ description: string;
1511
+ id: string;
1512
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1510
1513
  icon: string;
1511
1514
  }[];
1512
1515
  MainProtocol: {
1513
- id: string;
1514
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1515
1516
  name: string;
1516
- description: string;
1517
1517
  url: string;
1518
+ description: string;
1519
+ id: string;
1520
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1518
1521
  icon: string;
1519
1522
  } | null;
1520
1523
  } & {
1521
- id: string;
1522
- chainId: number;
1523
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1524
- identifier: string;
1525
1524
  name: string;
1525
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1526
+ id: string;
1526
1527
  status: import("../../../database/api/.generated").$Enums.Status;
1528
+ tags: string[];
1529
+ identifier: string;
1530
+ chainId: number;
1527
1531
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1528
1532
  mainProtocolId: string | null;
1529
1533
  tvl: number;
1530
1534
  apr: number;
1531
1535
  dailyRewards: number;
1532
- tags: string[];
1533
1536
  };
1534
1537
  reason: string;
1538
+ pending: string;
1535
1539
  amount: string;
1536
1540
  claimed: string;
1537
- pending: string;
1538
1541
  auxiliaryData1: string | null;
1539
1542
  auxiliaryData2: string | null;
1540
1543
  }[];
1541
1544
  claimed: bigint;
1542
1545
  amount: bigint;
1543
1546
  pending: bigint;
1544
- root: string;
1545
1547
  recipient: string;
1548
+ root: string;
1546
1549
  proofs: string[];
1547
1550
  }, "breakdowns"> & {
1548
1551
  breakdowns: {
1549
1552
  campaignId: string;
1550
1553
  reason: string;
1554
+ pending: string;
1551
1555
  amount: string;
1552
1556
  claimed: string;
1553
- pending: string;
1554
1557
  auxiliaryData1: string | null;
1555
1558
  auxiliaryData2: string | null;
1556
1559
  }[];
@@ -1576,8 +1579,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1576
1579
  };
1577
1580
  response: {
1578
1581
  200: {
1579
- address: string;
1580
1582
  tags: string[];
1583
+ address: string;
1581
1584
  };
1582
1585
  };
1583
1586
  };
@@ -1600,8 +1603,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1600
1603
  };
1601
1604
  response: {
1602
1605
  200: {
1603
- address: string;
1604
1606
  tags: string[];
1607
+ address: string;
1605
1608
  };
1606
1609
  };
1607
1610
  };
@@ -1612,7 +1615,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1612
1615
  } & {
1613
1616
  v4: {
1614
1617
  roots: {
1615
- index: {
1618
+ timestamps: {
1616
1619
  get: {
1617
1620
  body: unknown;
1618
1621
  params: Record<never, string>;
@@ -1624,15 +1627,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1624
1627
  headers: unknown;
1625
1628
  response: {
1626
1629
  200: {
1627
- root: string;
1630
+ timestamp: bigint;
1628
1631
  chainId: number;
1632
+ root: string;
1629
1633
  epoch: number;
1630
- timestamp: bigint;
1631
1634
  }[];
1632
1635
  };
1633
1636
  };
1634
1637
  };
1635
1638
  };
1639
+ } & {
1640
+ roots: {
1641
+ index: {
1642
+ get: {
1643
+ body: unknown;
1644
+ params: Record<never, string>;
1645
+ query: unknown;
1646
+ headers: unknown;
1647
+ response: {
1648
+ 200: {
1649
+ [chainId: number]: {
1650
+ live: string;
1651
+ lastTree: string;
1652
+ };
1653
+ };
1654
+ };
1655
+ };
1656
+ };
1657
+ };
1636
1658
  };
1637
1659
  } & {
1638
1660
  v4: {
@@ -1752,6 +1774,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1752
1774
  response: {
1753
1775
  200: {
1754
1776
  id: string;
1777
+ timestamp: number;
1755
1778
  chainId: number;
1756
1779
  fromTokenId: string;
1757
1780
  toTokenId: string;
@@ -1760,7 +1783,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1760
1783
  amountIn: string;
1761
1784
  amountOut: string;
1762
1785
  datetime: Date;
1763
- timestamp: number;
1764
1786
  }[];
1765
1787
  };
1766
1788
  };
@@ -1999,12 +2021,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1999
2021
  headers: unknown;
2000
2022
  response: {
2001
2023
  200: {
2024
+ error: string;
2025
+ details: import("database/api/.generated/runtime/library").JsonValue;
2026
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2002
2027
  campaignId: string;
2003
2028
  computedUntil: bigint;
2004
2029
  processingStarted: bigint;
2005
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2006
- error: string;
2007
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2008
2030
  }[];
2009
2031
  };
2010
2032
  };
@@ -2023,27 +2045,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2023
2045
  response: {
2024
2046
  200: ({
2025
2047
  Campaign: {
2048
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
2026
2049
  id: string;
2050
+ params: import("database/api/.generated/runtime/library").JsonValue;
2051
+ subType: number | null;
2052
+ startTimestamp: bigint;
2053
+ endTimestamp: bigint;
2027
2054
  computeChainId: number;
2028
2055
  distributionChainId: number;
2029
2056
  campaignId: string;
2030
- type: import("../../../database/api/.generated").$Enums.CampaignType;
2031
- subType: number | null;
2032
2057
  rewardTokenId: string;
2033
2058
  amount: string;
2034
2059
  opportunityId: string;
2035
- startTimestamp: bigint;
2036
- endTimestamp: bigint;
2037
- params: import("../../../database/api/.generated").Prisma.JsonValue;
2038
2060
  creatorAddress: string;
2039
2061
  };
2040
2062
  } & {
2063
+ error: string;
2064
+ details: import("database/api/.generated/runtime/library").JsonValue;
2065
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2041
2066
  campaignId: string;
2042
2067
  computedUntil: bigint;
2043
2068
  processingStarted: bigint;
2044
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2045
- error: string;
2046
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2047
2069
  })[];
2048
2070
  };
2049
2071
  };
@@ -2062,12 +2084,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2062
2084
  headers: unknown;
2063
2085
  response: {
2064
2086
  200: {
2087
+ error: string;
2088
+ details: import("database/api/.generated/runtime/library").JsonValue;
2089
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2065
2090
  campaignId: string;
2066
2091
  computedUntil: bigint;
2067
2092
  processingStarted: bigint;
2068
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2069
- error: string;
2070
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2071
2093
  };
2072
2094
  };
2073
2095
  };
@@ -2086,12 +2108,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2086
2108
  headers: unknown;
2087
2109
  response: {
2088
2110
  200: {
2111
+ error: string;
2112
+ details: import("database/api/.generated/runtime/library").JsonValue;
2113
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2089
2114
  campaignId: string;
2090
2115
  computedUntil: bigint;
2091
2116
  processingStarted: bigint;
2092
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2093
- error: string;
2094
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2095
2117
  }[];
2096
2118
  };
2097
2119
  };