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