@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
@@ -106,9 +106,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
106
106
  cumulated: number;
107
107
  timestamp: bigint;
108
108
  breakdowns: {
109
+ type: import("../../../database/api/.generated").$Enums.AprType;
109
110
  id: number;
110
111
  identifier: string;
111
- type: import("../../../database/api/.generated").$Enums.AprType;
112
112
  value: number;
113
113
  aprRecordId: string;
114
114
  }[];
@@ -118,9 +118,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
118
118
  total: number;
119
119
  timestamp: bigint;
120
120
  breakdowns: {
121
+ type: import("../../../database/api/.generated").$Enums.TvlType;
121
122
  id: number;
122
123
  identifier: string;
123
- type: import("../../../database/api/.generated").$Enums.TvlType;
124
124
  value: number;
125
125
  tvlRecordId: string;
126
126
  }[];
@@ -138,27 +138,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
138
138
  };
139
139
  id: string;
140
140
  tokens: {
141
- id: string;
141
+ symbol: string;
142
142
  name: string | null;
143
+ id: string;
143
144
  chainId: number;
144
145
  address: string;
145
- decimals: number;
146
- symbol: string;
147
146
  icon: string;
147
+ decimals: number;
148
148
  verified: boolean;
149
149
  price: number | null;
150
150
  }[];
151
151
  chain: {
152
- id: number;
153
152
  name: string;
153
+ id: number;
154
154
  icon: string;
155
155
  };
156
156
  protocol: {
157
- id: string;
158
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
159
157
  name: string;
160
- description: string;
161
158
  url: string;
159
+ description: string;
160
+ id: string;
161
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
162
162
  icon: string;
163
163
  } | undefined;
164
164
  name: string;
@@ -193,9 +193,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
193
193
  cumulated: number;
194
194
  timestamp: bigint;
195
195
  breakdowns: {
196
+ type: import("../../../database/api/.generated").$Enums.AprType;
196
197
  id: number;
197
198
  identifier: string;
198
- type: import("../../../database/api/.generated").$Enums.AprType;
199
199
  value: number;
200
200
  aprRecordId: string;
201
201
  }[];
@@ -205,9 +205,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
205
205
  total: number;
206
206
  timestamp: bigint;
207
207
  breakdowns: {
208
+ type: import("../../../database/api/.generated").$Enums.TvlType;
208
209
  id: number;
209
210
  identifier: string;
210
- type: import("../../../database/api/.generated").$Enums.TvlType;
211
211
  value: number;
212
212
  tvlRecordId: string;
213
213
  }[];
@@ -225,27 +225,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
225
225
  };
226
226
  id: string;
227
227
  tokens: {
228
- id: string;
228
+ symbol: string;
229
229
  name: string | null;
230
+ id: string;
230
231
  chainId: number;
231
232
  address: string;
232
- decimals: number;
233
- symbol: string;
234
233
  icon: string;
234
+ decimals: number;
235
235
  verified: boolean;
236
236
  price: number | null;
237
237
  }[];
238
238
  chain: {
239
- id: number;
240
239
  name: string;
240
+ id: number;
241
241
  icon: string;
242
242
  };
243
243
  protocol: {
244
- id: string;
245
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
246
244
  name: string;
247
- description: string;
248
245
  url: string;
246
+ description: string;
247
+ id: string;
248
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
249
249
  icon: string;
250
250
  } | undefined;
251
251
  name: string;
@@ -262,37 +262,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
262
262
  campaigns: ({
263
263
  params: any;
264
264
  chain: {
265
- id: number;
266
265
  name: string;
266
+ id: number;
267
267
  icon: string;
268
268
  };
269
269
  rewardToken: {
270
- id: string;
270
+ symbol: string;
271
271
  name: string | null;
272
+ id: string;
272
273
  chainId: number;
273
274
  address: string;
274
- decimals: number;
275
- symbol: string;
276
275
  icon: string;
276
+ decimals: number;
277
277
  verified: boolean;
278
278
  price: number | null;
279
279
  };
280
280
  distributionChain: {
281
- id: number;
282
281
  name: string;
282
+ id: number;
283
283
  icon: string;
284
284
  } | undefined;
285
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
285
286
  id: string;
287
+ subType: number | null;
288
+ startTimestamp: bigint;
289
+ endTimestamp: bigint;
286
290
  computeChainId: number;
287
291
  distributionChainId: number;
288
292
  campaignId: string;
289
- type: import("../../../database/api/.generated").$Enums.CampaignType;
290
- subType: number | null;
291
293
  rewardTokenId: string;
292
294
  amount: string;
293
295
  opportunityId: string;
294
- startTimestamp: bigint;
295
- endTimestamp: bigint;
296
296
  creatorAddress: string;
297
297
  } | null)[];
298
298
  }) | null | undefined;
@@ -327,9 +327,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
327
327
  cumulated: number;
328
328
  timestamp: bigint;
329
329
  breakdowns: {
330
+ type: import("../../../database/api/.generated").$Enums.AprType;
330
331
  id: number;
331
332
  identifier: string;
332
- type: import("../../../database/api/.generated").$Enums.AprType;
333
333
  value: number;
334
334
  aprRecordId: string;
335
335
  }[];
@@ -339,9 +339,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
339
339
  total: number;
340
340
  timestamp: bigint;
341
341
  breakdowns: {
342
+ type: import("../../../database/api/.generated").$Enums.TvlType;
342
343
  id: number;
343
344
  identifier: string;
344
- type: import("../../../database/api/.generated").$Enums.TvlType;
345
345
  value: number;
346
346
  tvlRecordId: string;
347
347
  }[];
@@ -359,27 +359,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
359
359
  };
360
360
  id: string;
361
361
  tokens: {
362
- id: string;
362
+ symbol: string;
363
363
  name: string | null;
364
+ id: string;
364
365
  chainId: number;
365
366
  address: string;
366
- decimals: number;
367
- symbol: string;
368
367
  icon: string;
368
+ decimals: number;
369
369
  verified: boolean;
370
370
  price: number | null;
371
371
  }[];
372
372
  chain: {
373
- id: number;
374
373
  name: string;
374
+ id: number;
375
375
  icon: string;
376
376
  };
377
377
  protocol: {
378
- id: string;
379
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
380
378
  name: string;
381
- description: string;
382
379
  url: string;
380
+ description: string;
381
+ id: string;
382
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
383
383
  icon: string;
384
384
  } | undefined;
385
385
  name: string;
@@ -451,18 +451,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
451
451
  };
452
452
  response: {
453
453
  200: {
454
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
454
455
  id: string;
456
+ params: import("database/api/.generated/runtime/library").JsonValue;
457
+ subType: number | null;
458
+ startTimestamp: bigint;
459
+ endTimestamp: bigint;
455
460
  computeChainId: number;
456
461
  distributionChainId: number;
457
462
  campaignId: string;
458
- type: import("../../../database/api/.generated").$Enums.CampaignType;
459
- subType: number | null;
460
463
  rewardTokenId: string;
461
464
  amount: string;
462
465
  opportunityId: string;
463
- startTimestamp: bigint;
464
- endTimestamp: bigint;
465
- params: import("../../../database/api/.generated").Prisma.JsonValue;
466
466
  creatorAddress: string;
467
467
  } | undefined;
468
468
  };
@@ -492,37 +492,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
492
492
  200: ({
493
493
  params: any;
494
494
  chain: {
495
- id: number;
496
495
  name: string;
496
+ id: number;
497
497
  icon: string;
498
498
  };
499
499
  rewardToken: {
500
- id: string;
500
+ symbol: string;
501
501
  name: string | null;
502
+ id: string;
502
503
  chainId: number;
503
504
  address: string;
504
- decimals: number;
505
- symbol: string;
506
505
  icon: string;
506
+ decimals: number;
507
507
  verified: boolean;
508
508
  price: number | null;
509
509
  };
510
510
  distributionChain: {
511
- id: number;
512
511
  name: string;
512
+ id: number;
513
513
  icon: string;
514
514
  } | undefined;
515
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
515
516
  id: string;
517
+ subType: number | null;
518
+ startTimestamp: bigint;
519
+ endTimestamp: bigint;
516
520
  computeChainId: number;
517
521
  distributionChainId: number;
518
522
  campaignId: string;
519
- type: import("../../../database/api/.generated").$Enums.CampaignType;
520
- subType: number | null;
521
523
  rewardTokenId: string;
522
524
  amount: string;
523
525
  opportunityId: string;
524
- startTimestamp: bigint;
525
- endTimestamp: bigint;
526
526
  creatorAddress: string;
527
527
  } | null)[];
528
528
  };
@@ -800,9 +800,9 @@ 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: {
@@ -819,13 +819,16 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
819
819
  params: Record<never, string>;
820
820
  query: {
821
821
  items?: number | undefined;
822
- chainId?: number | undefined;
823
822
  page?: number | undefined;
824
- campaignId?: string | undefined;
823
+ chainId: number;
824
+ campaignId: string;
825
825
  };
826
826
  headers: unknown;
827
827
  response: {
828
- 200: unknown;
828
+ 200: {
829
+ campaignId: string;
830
+ amount: bigint;
831
+ };
829
832
  };
830
833
  };
831
834
  };
@@ -928,15 +931,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
928
931
  params: Record<never, string>;
929
932
  query: {
930
933
  items?: number | undefined;
931
- chainId?: number | undefined;
932
934
  page?: number | undefined;
933
- campaignId?: string | undefined;
935
+ chainId: number;
936
+ campaignId: string;
934
937
  };
935
938
  headers: unknown;
936
939
  response: {
937
940
  200: {
938
941
  count: number;
939
- } | null;
942
+ };
940
943
  };
941
944
  };
942
945
  };
@@ -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
  } | null;
@@ -1000,13 +1003,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1000
1003
  headers: unknown;
1001
1004
  response: {
1002
1005
  200: {
1003
- id: number;
1004
1006
  name: string;
1007
+ id: number;
1005
1008
  icon: string;
1006
1009
  explorers: {
1007
- id: string;
1008
1010
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
1009
1011
  url: string;
1012
+ id: string;
1010
1013
  chainId: number;
1011
1014
  }[];
1012
1015
  }[];
@@ -1042,9 +1045,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1042
1045
  };
1043
1046
  response: {
1044
1047
  200: {
1045
- id: string;
1046
1048
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
1047
1049
  url: string;
1050
+ id: string;
1048
1051
  chainId: number;
1049
1052
  };
1050
1053
  };
@@ -1109,10 +1112,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1109
1112
  headers: unknown;
1110
1113
  response: {
1111
1114
  200: {
1112
- id: number;
1113
1115
  symbol: string;
1114
1116
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1115
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1117
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1118
+ id: number;
1116
1119
  }[];
1117
1120
  };
1118
1121
  };
@@ -1131,10 +1134,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1131
1134
  headers: unknown;
1132
1135
  response: {
1133
1136
  200: {
1134
- id: number;
1135
1137
  symbol: string;
1136
1138
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1137
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1139
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1140
+ id: number;
1138
1141
  };
1139
1142
  };
1140
1143
  };
@@ -1180,10 +1183,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1180
1183
  };
1181
1184
  response: {
1182
1185
  200: {
1183
- id: number;
1184
1186
  symbol: string;
1185
1187
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1186
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1188
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1189
+ id: number;
1187
1190
  };
1188
1191
  };
1189
1192
  };
@@ -1205,10 +1208,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1205
1208
  };
1206
1209
  response: {
1207
1210
  200: {
1208
- id: number;
1209
1211
  symbol: string;
1210
1212
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1211
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1213
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1214
+ id: number;
1212
1215
  };
1213
1216
  };
1214
1217
  };
@@ -1233,7 +1236,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1233
1236
  poolAddress: string;
1234
1237
  userAddress: string;
1235
1238
  arrestTimestamp: bigint;
1236
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1239
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1237
1240
  }[];
1238
1241
  };
1239
1242
  };
@@ -1295,7 +1298,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1295
1298
  poolAddress: string;
1296
1299
  userAddress: string;
1297
1300
  arrestTimestamp: bigint;
1298
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1301
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1299
1302
  };
1300
1303
  };
1301
1304
  };
@@ -1338,8 +1341,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1338
1341
  headers: unknown;
1339
1342
  response: {
1340
1343
  200: {
1341
- address: string;
1342
1344
  tags: string[];
1345
+ address: string;
1343
1346
  }[];
1344
1347
  };
1345
1348
  };
@@ -1380,13 +1383,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1380
1383
  }, "rewards"> & {
1381
1384
  rewards: (Omit<{
1382
1385
  token: {
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
  };
@@ -1394,63 +1397,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1394
1397
  campaignId: string;
1395
1398
  opportunity: {
1396
1399
  Chain: {
1397
- id: number;
1398
1400
  name: string;
1401
+ id: number;
1399
1402
  icon: string;
1400
1403
  };
1401
1404
  Tokens: {
1402
- id: string;
1405
+ symbol: string;
1403
1406
  name: string | null;
1407
+ id: string;
1404
1408
  chainId: number;
1405
1409
  address: string;
1406
- decimals: number;
1407
- symbol: string;
1408
1410
  icon: string;
1411
+ decimals: number;
1409
1412
  verified: boolean;
1410
1413
  price: number | null;
1411
1414
  }[];
1412
1415
  Protocols: {
1413
- id: string;
1414
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1415
1416
  name: string;
1416
- description: string;
1417
1417
  url: string;
1418
+ description: string;
1419
+ id: string;
1420
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1418
1421
  icon: string;
1419
1422
  }[];
1420
1423
  MainProtocol: {
1421
- id: string;
1422
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1423
1424
  name: string;
1424
- description: string;
1425
1425
  url: string;
1426
+ description: string;
1427
+ id: string;
1428
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1426
1429
  icon: string;
1427
1430
  } | null;
1428
1431
  } & {
1429
- id: string;
1430
- chainId: number;
1431
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1432
- identifier: string;
1433
1432
  name: string;
1433
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1434
+ id: string;
1434
1435
  status: import("../../../database/api/.generated").$Enums.Status;
1436
+ tags: string[];
1437
+ identifier: string;
1438
+ chainId: number;
1435
1439
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1436
1440
  mainProtocolId: string | null;
1437
1441
  tvl: number;
1438
1442
  apr: number;
1439
1443
  dailyRewards: number;
1440
- tags: string[];
1441
1444
  };
1442
1445
  reason: string;
1446
+ pending: string;
1443
1447
  amount: string;
1444
1448
  claimed: string;
1445
- pending: string;
1446
1449
  auxiliaryData1: string | null;
1447
1450
  auxiliaryData2: string | null;
1448
1451
  }[];
1449
1452
  claimed: bigint;
1450
1453
  amount: bigint;
1451
1454
  pending: bigint;
1452
- root: string;
1453
1455
  recipient: string;
1456
+ root: string;
1454
1457
  proofs: string[];
1455
1458
  }, "breakdowns"> & {
1456
1459
  breakdowns: {
@@ -1490,13 +1493,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1490
1493
  }, "rewards"> & {
1491
1494
  rewards: (Omit<{
1492
1495
  token: {
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
  };
@@ -1504,71 +1507,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1504
1507
  campaignId: string;
1505
1508
  opportunity: {
1506
1509
  Chain: {
1507
- id: number;
1508
1510
  name: string;
1511
+ id: number;
1509
1512
  icon: string;
1510
1513
  };
1511
1514
  Tokens: {
1512
- id: string;
1515
+ symbol: string;
1513
1516
  name: string | null;
1517
+ id: string;
1514
1518
  chainId: number;
1515
1519
  address: string;
1516
- decimals: number;
1517
- symbol: string;
1518
1520
  icon: string;
1521
+ decimals: number;
1519
1522
  verified: boolean;
1520
1523
  price: number | null;
1521
1524
  }[];
1522
1525
  Protocols: {
1523
- id: string;
1524
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1525
1526
  name: string;
1526
- description: string;
1527
1527
  url: string;
1528
+ description: string;
1529
+ id: string;
1530
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1528
1531
  icon: string;
1529
1532
  }[];
1530
1533
  MainProtocol: {
1531
- id: string;
1532
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1533
1534
  name: string;
1534
- description: string;
1535
1535
  url: string;
1536
+ description: string;
1537
+ id: string;
1538
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1536
1539
  icon: string;
1537
1540
  } | null;
1538
1541
  } & {
1539
- id: string;
1540
- chainId: number;
1541
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1542
- identifier: string;
1543
1542
  name: string;
1543
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1544
+ id: string;
1544
1545
  status: import("../../../database/api/.generated").$Enums.Status;
1546
+ tags: string[];
1547
+ identifier: string;
1548
+ chainId: number;
1545
1549
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1546
1550
  mainProtocolId: string | null;
1547
1551
  tvl: number;
1548
1552
  apr: number;
1549
1553
  dailyRewards: number;
1550
- tags: string[];
1551
1554
  };
1552
1555
  reason: string;
1556
+ pending: string;
1553
1557
  amount: string;
1554
1558
  claimed: string;
1555
- pending: string;
1556
1559
  auxiliaryData1: string | null;
1557
1560
  auxiliaryData2: string | null;
1558
1561
  }[];
1559
1562
  claimed: bigint;
1560
1563
  amount: bigint;
1561
1564
  pending: bigint;
1562
- root: string;
1563
1565
  recipient: string;
1566
+ root: string;
1564
1567
  proofs: string[];
1565
1568
  }, "breakdowns"> & {
1566
1569
  breakdowns: {
1567
1570
  campaignId: string;
1568
1571
  reason: string;
1572
+ pending: string;
1569
1573
  amount: string;
1570
1574
  claimed: string;
1571
- pending: string;
1572
1575
  auxiliaryData1: string | null;
1573
1576
  auxiliaryData2: string | null;
1574
1577
  }[];
@@ -1594,8 +1597,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1594
1597
  };
1595
1598
  response: {
1596
1599
  200: {
1597
- address: string;
1598
1600
  tags: string[];
1601
+ address: string;
1599
1602
  };
1600
1603
  };
1601
1604
  };
@@ -1618,8 +1621,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1618
1621
  };
1619
1622
  response: {
1620
1623
  200: {
1621
- address: string;
1622
1624
  tags: string[];
1625
+ address: string;
1623
1626
  };
1624
1627
  };
1625
1628
  };
@@ -1630,7 +1633,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1630
1633
  } & {
1631
1634
  v4: {
1632
1635
  roots: {
1633
- index: {
1636
+ timestamps: {
1634
1637
  get: {
1635
1638
  body: unknown;
1636
1639
  params: Record<never, string>;
@@ -1642,15 +1645,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1642
1645
  headers: unknown;
1643
1646
  response: {
1644
1647
  200: {
1645
- root: string;
1648
+ timestamp: bigint;
1646
1649
  chainId: number;
1650
+ root: string;
1647
1651
  epoch: number;
1648
- timestamp: bigint;
1649
1652
  }[];
1650
1653
  };
1651
1654
  };
1652
1655
  };
1653
1656
  };
1657
+ } & {
1658
+ roots: {
1659
+ index: {
1660
+ get: {
1661
+ body: unknown;
1662
+ params: Record<never, string>;
1663
+ query: unknown;
1664
+ headers: unknown;
1665
+ response: {
1666
+ 200: {
1667
+ [chainId: number]: {
1668
+ live: string;
1669
+ lastTree: string;
1670
+ };
1671
+ };
1672
+ };
1673
+ };
1674
+ };
1675
+ };
1654
1676
  };
1655
1677
  } & {
1656
1678
  v4: {
@@ -1770,6 +1792,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1770
1792
  response: {
1771
1793
  200: {
1772
1794
  id: string;
1795
+ timestamp: number;
1773
1796
  chainId: number;
1774
1797
  fromTokenId: string;
1775
1798
  toTokenId: string;
@@ -1778,7 +1801,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1778
1801
  amountIn: string;
1779
1802
  amountOut: string;
1780
1803
  datetime: Date;
1781
- timestamp: number;
1782
1804
  }[];
1783
1805
  };
1784
1806
  };
@@ -2017,12 +2039,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2017
2039
  headers: unknown;
2018
2040
  response: {
2019
2041
  200: {
2042
+ error: string;
2043
+ details: import("database/api/.generated/runtime/library").JsonValue;
2044
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2020
2045
  campaignId: string;
2021
2046
  computedUntil: bigint;
2022
2047
  processingStarted: bigint;
2023
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2024
- error: string;
2025
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2026
2048
  }[];
2027
2049
  };
2028
2050
  };
@@ -2041,27 +2063,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2041
2063
  response: {
2042
2064
  200: ({
2043
2065
  Campaign: {
2066
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
2044
2067
  id: string;
2068
+ params: import("database/api/.generated/runtime/library").JsonValue;
2069
+ subType: number | null;
2070
+ startTimestamp: bigint;
2071
+ endTimestamp: bigint;
2045
2072
  computeChainId: number;
2046
2073
  distributionChainId: number;
2047
2074
  campaignId: string;
2048
- type: import("../../../database/api/.generated").$Enums.CampaignType;
2049
- subType: number | null;
2050
2075
  rewardTokenId: string;
2051
2076
  amount: string;
2052
2077
  opportunityId: string;
2053
- startTimestamp: bigint;
2054
- endTimestamp: bigint;
2055
- params: import("../../../database/api/.generated").Prisma.JsonValue;
2056
2078
  creatorAddress: string;
2057
2079
  };
2058
2080
  } & {
2081
+ error: string;
2082
+ details: import("database/api/.generated/runtime/library").JsonValue;
2083
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2059
2084
  campaignId: string;
2060
2085
  computedUntil: bigint;
2061
2086
  processingStarted: bigint;
2062
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2063
- error: string;
2064
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2065
2087
  })[];
2066
2088
  };
2067
2089
  };
@@ -2080,12 +2102,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2080
2102
  headers: unknown;
2081
2103
  response: {
2082
2104
  200: {
2105
+ error: string;
2106
+ details: import("database/api/.generated/runtime/library").JsonValue;
2107
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2083
2108
  campaignId: string;
2084
2109
  computedUntil: bigint;
2085
2110
  processingStarted: bigint;
2086
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2087
- error: string;
2088
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2089
2111
  };
2090
2112
  };
2091
2113
  };
@@ -2104,12 +2126,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2104
2126
  headers: unknown;
2105
2127
  response: {
2106
2128
  200: {
2129
+ error: string;
2130
+ details: import("database/api/.generated/runtime/library").JsonValue;
2131
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2107
2132
  campaignId: string;
2108
2133
  computedUntil: bigint;
2109
2134
  processingStarted: bigint;
2110
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2111
- error: string;
2112
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2113
2135
  }[];
2114
2136
  };
2115
2137
  };