@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
@@ -91,9 +91,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
91
91
  cumulated: number;
92
92
  timestamp: bigint;
93
93
  breakdowns: {
94
+ type: import("../../../database/api/.generated").$Enums.AprType;
94
95
  id: number;
95
96
  identifier: string;
96
- type: import("../../../database/api/.generated").$Enums.AprType;
97
97
  value: number;
98
98
  aprRecordId: string;
99
99
  }[];
@@ -103,9 +103,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
103
103
  total: number;
104
104
  timestamp: bigint;
105
105
  breakdowns: {
106
+ type: import("../../../database/api/.generated").$Enums.TvlType;
106
107
  id: number;
107
108
  identifier: string;
108
- type: import("../../../database/api/.generated").$Enums.TvlType;
109
109
  value: number;
110
110
  tvlRecordId: string;
111
111
  }[];
@@ -123,27 +123,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
123
123
  };
124
124
  id: string;
125
125
  tokens: {
126
- id: string;
126
+ symbol: string;
127
127
  name: string | null;
128
+ id: string;
128
129
  chainId: number;
129
130
  address: string;
130
- decimals: number;
131
- symbol: string;
132
131
  icon: string;
132
+ decimals: number;
133
133
  verified: boolean;
134
134
  price: number | null;
135
135
  }[];
136
136
  chain: {
137
- id: number;
138
137
  name: string;
138
+ id: number;
139
139
  icon: string;
140
140
  };
141
141
  protocol: {
142
- id: string;
143
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
144
142
  name: string;
145
- description: string;
146
143
  url: string;
144
+ description: string;
145
+ id: string;
146
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
147
147
  icon: string;
148
148
  } | undefined;
149
149
  name: string;
@@ -178,9 +178,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
178
178
  cumulated: number;
179
179
  timestamp: bigint;
180
180
  breakdowns: {
181
+ type: import("../../../database/api/.generated").$Enums.AprType;
181
182
  id: number;
182
183
  identifier: string;
183
- type: import("../../../database/api/.generated").$Enums.AprType;
184
184
  value: number;
185
185
  aprRecordId: string;
186
186
  }[];
@@ -190,9 +190,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
190
190
  total: number;
191
191
  timestamp: bigint;
192
192
  breakdowns: {
193
+ type: import("../../../database/api/.generated").$Enums.TvlType;
193
194
  id: number;
194
195
  identifier: string;
195
- type: import("../../../database/api/.generated").$Enums.TvlType;
196
196
  value: number;
197
197
  tvlRecordId: string;
198
198
  }[];
@@ -210,27 +210,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
210
210
  };
211
211
  id: string;
212
212
  tokens: {
213
- id: string;
213
+ symbol: string;
214
214
  name: string | null;
215
+ id: string;
215
216
  chainId: number;
216
217
  address: string;
217
- decimals: number;
218
- symbol: string;
219
218
  icon: string;
219
+ decimals: number;
220
220
  verified: boolean;
221
221
  price: number | null;
222
222
  }[];
223
223
  chain: {
224
- id: number;
225
224
  name: string;
225
+ id: number;
226
226
  icon: string;
227
227
  };
228
228
  protocol: {
229
- id: string;
230
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
231
229
  name: string;
232
- description: string;
233
230
  url: string;
231
+ description: string;
232
+ id: string;
233
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
234
234
  icon: string;
235
235
  } | undefined;
236
236
  name: string;
@@ -247,37 +247,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
247
247
  campaigns: ({
248
248
  params: any;
249
249
  chain: {
250
- id: number;
251
250
  name: string;
251
+ id: number;
252
252
  icon: string;
253
253
  };
254
254
  rewardToken: {
255
- id: string;
255
+ symbol: string;
256
256
  name: string | null;
257
+ id: string;
257
258
  chainId: number;
258
259
  address: string;
259
- decimals: number;
260
- symbol: string;
261
260
  icon: string;
261
+ decimals: number;
262
262
  verified: boolean;
263
263
  price: number | null;
264
264
  };
265
265
  distributionChain: {
266
- id: number;
267
266
  name: string;
267
+ id: number;
268
268
  icon: string;
269
269
  } | undefined;
270
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
270
271
  id: string;
272
+ subType: number | null;
273
+ startTimestamp: bigint;
274
+ endTimestamp: bigint;
271
275
  computeChainId: number;
272
276
  distributionChainId: number;
273
277
  campaignId: string;
274
- type: import("../../../database/api/.generated").$Enums.CampaignType;
275
- subType: number | null;
276
278
  rewardTokenId: string;
277
279
  amount: string;
278
280
  opportunityId: string;
279
- startTimestamp: bigint;
280
- endTimestamp: bigint;
281
281
  creatorAddress: string;
282
282
  } | null)[];
283
283
  }) | null | undefined;
@@ -312,9 +312,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
312
312
  cumulated: number;
313
313
  timestamp: bigint;
314
314
  breakdowns: {
315
+ type: import("../../../database/api/.generated").$Enums.AprType;
315
316
  id: number;
316
317
  identifier: string;
317
- type: import("../../../database/api/.generated").$Enums.AprType;
318
318
  value: number;
319
319
  aprRecordId: string;
320
320
  }[];
@@ -324,9 +324,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
324
324
  total: number;
325
325
  timestamp: bigint;
326
326
  breakdowns: {
327
+ type: import("../../../database/api/.generated").$Enums.TvlType;
327
328
  id: number;
328
329
  identifier: string;
329
- type: import("../../../database/api/.generated").$Enums.TvlType;
330
330
  value: number;
331
331
  tvlRecordId: string;
332
332
  }[];
@@ -344,27 +344,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
344
344
  };
345
345
  id: string;
346
346
  tokens: {
347
- id: string;
347
+ symbol: string;
348
348
  name: string | null;
349
+ id: string;
349
350
  chainId: number;
350
351
  address: string;
351
- decimals: number;
352
- symbol: string;
353
352
  icon: string;
353
+ decimals: number;
354
354
  verified: boolean;
355
355
  price: number | null;
356
356
  }[];
357
357
  chain: {
358
- id: number;
359
358
  name: string;
359
+ id: number;
360
360
  icon: string;
361
361
  };
362
362
  protocol: {
363
- id: string;
364
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
365
363
  name: string;
366
- description: string;
367
364
  url: string;
365
+ description: string;
366
+ id: string;
367
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
368
368
  icon: string;
369
369
  } | undefined;
370
370
  name: string;
@@ -436,18 +436,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
436
436
  };
437
437
  response: {
438
438
  200: {
439
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
439
440
  id: string;
441
+ params: import("database/api/.generated/runtime/library").JsonValue;
442
+ subType: number | null;
443
+ startTimestamp: bigint;
444
+ endTimestamp: bigint;
440
445
  computeChainId: number;
441
446
  distributionChainId: number;
442
447
  campaignId: string;
443
- type: import("../../../database/api/.generated").$Enums.CampaignType;
444
- subType: number | null;
445
448
  rewardTokenId: string;
446
449
  amount: string;
447
450
  opportunityId: string;
448
- startTimestamp: bigint;
449
- endTimestamp: bigint;
450
- params: import("../../../database/api/.generated").Prisma.JsonValue;
451
451
  creatorAddress: string;
452
452
  } | undefined;
453
453
  };
@@ -477,37 +477,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
477
477
  200: ({
478
478
  params: any;
479
479
  chain: {
480
- id: number;
481
480
  name: string;
481
+ id: number;
482
482
  icon: string;
483
483
  };
484
484
  rewardToken: {
485
- id: string;
485
+ symbol: string;
486
486
  name: string | null;
487
+ id: string;
487
488
  chainId: number;
488
489
  address: string;
489
- decimals: number;
490
- symbol: string;
491
490
  icon: string;
491
+ decimals: number;
492
492
  verified: boolean;
493
493
  price: number | null;
494
494
  };
495
495
  distributionChain: {
496
- id: number;
497
496
  name: string;
497
+ id: number;
498
498
  icon: string;
499
499
  } | undefined;
500
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
500
501
  id: string;
502
+ subType: number | null;
503
+ startTimestamp: bigint;
504
+ endTimestamp: bigint;
501
505
  computeChainId: number;
502
506
  distributionChainId: number;
503
507
  campaignId: string;
504
- type: import("../../../database/api/.generated").$Enums.CampaignType;
505
- subType: number | null;
506
508
  rewardTokenId: string;
507
509
  amount: string;
508
510
  opportunityId: string;
509
- startTimestamp: bigint;
510
- endTimestamp: bigint;
511
511
  creatorAddress: string;
512
512
  } | null)[];
513
513
  };
@@ -785,9 +785,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
785
785
  params: Record<never, string>;
786
786
  query: {
787
787
  items?: number | undefined;
788
- chainId?: number | undefined;
789
788
  page?: number | undefined;
790
- campaignId?: string | undefined;
789
+ chainId: number;
790
+ campaignId: string;
791
791
  };
792
792
  headers: unknown;
793
793
  response: {
@@ -804,13 +804,16 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
804
804
  params: Record<never, string>;
805
805
  query: {
806
806
  items?: number | undefined;
807
- chainId?: number | undefined;
808
807
  page?: number | undefined;
809
- campaignId?: string | undefined;
808
+ chainId: number;
809
+ campaignId: string;
810
810
  };
811
811
  headers: unknown;
812
812
  response: {
813
- 200: unknown;
813
+ 200: {
814
+ campaignId: string;
815
+ amount: bigint;
816
+ };
814
817
  };
815
818
  };
816
819
  };
@@ -913,15 +916,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
913
916
  params: Record<never, string>;
914
917
  query: {
915
918
  items?: number | undefined;
916
- chainId?: number | undefined;
917
919
  page?: number | undefined;
918
- campaignId?: string | undefined;
920
+ chainId: number;
921
+ campaignId: string;
919
922
  };
920
923
  headers: unknown;
921
924
  response: {
922
925
  200: {
923
926
  count: number;
924
- } | null;
927
+ };
925
928
  };
926
929
  };
927
930
  };
@@ -961,13 +964,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
961
964
  headers: unknown;
962
965
  response: {
963
966
  200: {
964
- id: number;
965
967
  name: string;
968
+ id: number;
966
969
  icon: string;
967
970
  explorers: {
968
- id: string;
969
971
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
970
972
  url: string;
973
+ id: string;
971
974
  chainId: number;
972
975
  }[];
973
976
  } | null;
@@ -985,13 +988,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
985
988
  headers: unknown;
986
989
  response: {
987
990
  200: {
988
- id: number;
989
991
  name: string;
992
+ id: number;
990
993
  icon: string;
991
994
  explorers: {
992
- id: string;
993
995
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
994
996
  url: string;
997
+ id: string;
995
998
  chainId: number;
996
999
  }[];
997
1000
  }[];
@@ -1027,9 +1030,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1027
1030
  };
1028
1031
  response: {
1029
1032
  200: {
1030
- id: string;
1031
1033
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
1032
1034
  url: string;
1035
+ id: string;
1033
1036
  chainId: number;
1034
1037
  };
1035
1038
  };
@@ -1094,10 +1097,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1094
1097
  headers: unknown;
1095
1098
  response: {
1096
1099
  200: {
1097
- id: number;
1098
1100
  symbol: string;
1099
1101
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1100
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1102
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1103
+ id: number;
1101
1104
  }[];
1102
1105
  };
1103
1106
  };
@@ -1116,10 +1119,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1116
1119
  headers: unknown;
1117
1120
  response: {
1118
1121
  200: {
1119
- id: number;
1120
1122
  symbol: string;
1121
1123
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1122
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1124
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1125
+ id: number;
1123
1126
  };
1124
1127
  };
1125
1128
  };
@@ -1165,10 +1168,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1165
1168
  };
1166
1169
  response: {
1167
1170
  200: {
1168
- id: number;
1169
1171
  symbol: string;
1170
1172
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1171
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1173
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1174
+ id: number;
1172
1175
  };
1173
1176
  };
1174
1177
  };
@@ -1190,10 +1193,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1190
1193
  };
1191
1194
  response: {
1192
1195
  200: {
1193
- id: number;
1194
1196
  symbol: string;
1195
1197
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1196
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1198
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1199
+ id: number;
1197
1200
  };
1198
1201
  };
1199
1202
  };
@@ -1218,7 +1221,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1218
1221
  poolAddress: string;
1219
1222
  userAddress: string;
1220
1223
  arrestTimestamp: bigint;
1221
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1224
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1222
1225
  }[];
1223
1226
  };
1224
1227
  };
@@ -1280,7 +1283,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1280
1283
  poolAddress: string;
1281
1284
  userAddress: string;
1282
1285
  arrestTimestamp: bigint;
1283
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1286
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1284
1287
  };
1285
1288
  };
1286
1289
  };
@@ -1323,8 +1326,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1323
1326
  headers: unknown;
1324
1327
  response: {
1325
1328
  200: {
1326
- address: string;
1327
1329
  tags: string[];
1330
+ address: string;
1328
1331
  }[];
1329
1332
  };
1330
1333
  };
@@ -1365,13 +1368,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1365
1368
  }, "rewards"> & {
1366
1369
  rewards: (Omit<{
1367
1370
  token: {
1368
- id: string;
1371
+ symbol: string;
1369
1372
  name: string | null;
1373
+ id: string;
1370
1374
  chainId: number;
1371
1375
  address: string;
1372
- decimals: number;
1373
- symbol: string;
1374
1376
  icon: string;
1377
+ decimals: number;
1375
1378
  verified: boolean;
1376
1379
  price: number | null;
1377
1380
  };
@@ -1379,63 +1382,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1379
1382
  campaignId: string;
1380
1383
  opportunity: {
1381
1384
  Chain: {
1382
- id: number;
1383
1385
  name: string;
1386
+ id: number;
1384
1387
  icon: string;
1385
1388
  };
1386
1389
  Tokens: {
1387
- id: string;
1390
+ symbol: string;
1388
1391
  name: string | null;
1392
+ id: string;
1389
1393
  chainId: number;
1390
1394
  address: string;
1391
- decimals: number;
1392
- symbol: string;
1393
1395
  icon: string;
1396
+ decimals: number;
1394
1397
  verified: boolean;
1395
1398
  price: number | null;
1396
1399
  }[];
1397
1400
  Protocols: {
1398
- id: string;
1399
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1400
1401
  name: string;
1401
- description: string;
1402
1402
  url: string;
1403
+ description: string;
1404
+ id: string;
1405
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1403
1406
  icon: string;
1404
1407
  }[];
1405
1408
  MainProtocol: {
1406
- id: string;
1407
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1408
1409
  name: string;
1409
- description: string;
1410
1410
  url: string;
1411
+ description: string;
1412
+ id: string;
1413
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1411
1414
  icon: string;
1412
1415
  } | null;
1413
1416
  } & {
1414
- id: string;
1415
- chainId: number;
1416
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1417
- identifier: string;
1418
1417
  name: string;
1418
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1419
+ id: string;
1419
1420
  status: import("../../../database/api/.generated").$Enums.Status;
1421
+ tags: string[];
1422
+ identifier: string;
1423
+ chainId: number;
1420
1424
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1421
1425
  mainProtocolId: string | null;
1422
1426
  tvl: number;
1423
1427
  apr: number;
1424
1428
  dailyRewards: number;
1425
- tags: string[];
1426
1429
  };
1427
1430
  reason: string;
1431
+ pending: string;
1428
1432
  amount: string;
1429
1433
  claimed: string;
1430
- pending: string;
1431
1434
  auxiliaryData1: string | null;
1432
1435
  auxiliaryData2: string | null;
1433
1436
  }[];
1434
1437
  claimed: bigint;
1435
1438
  amount: bigint;
1436
1439
  pending: bigint;
1437
- root: string;
1438
1440
  recipient: string;
1441
+ root: string;
1439
1442
  proofs: string[];
1440
1443
  }, "breakdowns"> & {
1441
1444
  breakdowns: {
@@ -1475,13 +1478,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1475
1478
  }, "rewards"> & {
1476
1479
  rewards: (Omit<{
1477
1480
  token: {
1478
- id: string;
1481
+ symbol: string;
1479
1482
  name: string | null;
1483
+ id: string;
1480
1484
  chainId: number;
1481
1485
  address: string;
1482
- decimals: number;
1483
- symbol: string;
1484
1486
  icon: string;
1487
+ decimals: number;
1485
1488
  verified: boolean;
1486
1489
  price: number | null;
1487
1490
  };
@@ -1489,71 +1492,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1489
1492
  campaignId: string;
1490
1493
  opportunity: {
1491
1494
  Chain: {
1492
- id: number;
1493
1495
  name: string;
1496
+ id: number;
1494
1497
  icon: string;
1495
1498
  };
1496
1499
  Tokens: {
1497
- id: string;
1500
+ symbol: string;
1498
1501
  name: string | null;
1502
+ id: string;
1499
1503
  chainId: number;
1500
1504
  address: string;
1501
- decimals: number;
1502
- symbol: string;
1503
1505
  icon: string;
1506
+ decimals: number;
1504
1507
  verified: boolean;
1505
1508
  price: number | null;
1506
1509
  }[];
1507
1510
  Protocols: {
1508
- id: string;
1509
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1510
1511
  name: string;
1511
- description: string;
1512
1512
  url: string;
1513
+ description: string;
1514
+ id: string;
1515
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1513
1516
  icon: string;
1514
1517
  }[];
1515
1518
  MainProtocol: {
1516
- id: string;
1517
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1518
1519
  name: string;
1519
- description: string;
1520
1520
  url: string;
1521
+ description: string;
1522
+ id: string;
1523
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1521
1524
  icon: string;
1522
1525
  } | null;
1523
1526
  } & {
1524
- id: string;
1525
- chainId: number;
1526
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1527
- identifier: string;
1528
1527
  name: string;
1528
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1529
+ id: string;
1529
1530
  status: import("../../../database/api/.generated").$Enums.Status;
1531
+ tags: string[];
1532
+ identifier: string;
1533
+ chainId: number;
1530
1534
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1531
1535
  mainProtocolId: string | null;
1532
1536
  tvl: number;
1533
1537
  apr: number;
1534
1538
  dailyRewards: number;
1535
- tags: string[];
1536
1539
  };
1537
1540
  reason: string;
1541
+ pending: string;
1538
1542
  amount: string;
1539
1543
  claimed: string;
1540
- pending: string;
1541
1544
  auxiliaryData1: string | null;
1542
1545
  auxiliaryData2: string | null;
1543
1546
  }[];
1544
1547
  claimed: bigint;
1545
1548
  amount: bigint;
1546
1549
  pending: bigint;
1547
- root: string;
1548
1550
  recipient: string;
1551
+ root: string;
1549
1552
  proofs: string[];
1550
1553
  }, "breakdowns"> & {
1551
1554
  breakdowns: {
1552
1555
  campaignId: string;
1553
1556
  reason: string;
1557
+ pending: string;
1554
1558
  amount: string;
1555
1559
  claimed: string;
1556
- pending: string;
1557
1560
  auxiliaryData1: string | null;
1558
1561
  auxiliaryData2: string | null;
1559
1562
  }[];
@@ -1579,8 +1582,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1579
1582
  };
1580
1583
  response: {
1581
1584
  200: {
1582
- address: string;
1583
1585
  tags: string[];
1586
+ address: string;
1584
1587
  };
1585
1588
  };
1586
1589
  };
@@ -1603,8 +1606,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1603
1606
  };
1604
1607
  response: {
1605
1608
  200: {
1606
- address: string;
1607
1609
  tags: string[];
1610
+ address: string;
1608
1611
  };
1609
1612
  };
1610
1613
  };
@@ -1615,7 +1618,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1615
1618
  } & {
1616
1619
  v4: {
1617
1620
  roots: {
1618
- index: {
1621
+ timestamps: {
1619
1622
  get: {
1620
1623
  body: unknown;
1621
1624
  params: Record<never, string>;
@@ -1627,15 +1630,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1627
1630
  headers: unknown;
1628
1631
  response: {
1629
1632
  200: {
1630
- root: string;
1633
+ timestamp: bigint;
1631
1634
  chainId: number;
1635
+ root: string;
1632
1636
  epoch: number;
1633
- timestamp: bigint;
1634
1637
  }[];
1635
1638
  };
1636
1639
  };
1637
1640
  };
1638
1641
  };
1642
+ } & {
1643
+ roots: {
1644
+ index: {
1645
+ get: {
1646
+ body: unknown;
1647
+ params: Record<never, string>;
1648
+ query: unknown;
1649
+ headers: unknown;
1650
+ response: {
1651
+ 200: {
1652
+ [chainId: number]: {
1653
+ live: string;
1654
+ lastTree: string;
1655
+ };
1656
+ };
1657
+ };
1658
+ };
1659
+ };
1660
+ };
1639
1661
  };
1640
1662
  } & {
1641
1663
  v4: {
@@ -1755,6 +1777,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1755
1777
  response: {
1756
1778
  200: {
1757
1779
  id: string;
1780
+ timestamp: number;
1758
1781
  chainId: number;
1759
1782
  fromTokenId: string;
1760
1783
  toTokenId: string;
@@ -1763,7 +1786,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1763
1786
  amountIn: string;
1764
1787
  amountOut: string;
1765
1788
  datetime: Date;
1766
- timestamp: number;
1767
1789
  }[];
1768
1790
  };
1769
1791
  };
@@ -2002,12 +2024,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2002
2024
  headers: unknown;
2003
2025
  response: {
2004
2026
  200: {
2027
+ error: string;
2028
+ details: import("database/api/.generated/runtime/library").JsonValue;
2029
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2005
2030
  campaignId: string;
2006
2031
  computedUntil: bigint;
2007
2032
  processingStarted: bigint;
2008
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2009
- error: string;
2010
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2011
2033
  }[];
2012
2034
  };
2013
2035
  };
@@ -2026,27 +2048,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2026
2048
  response: {
2027
2049
  200: ({
2028
2050
  Campaign: {
2051
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
2029
2052
  id: string;
2053
+ params: import("database/api/.generated/runtime/library").JsonValue;
2054
+ subType: number | null;
2055
+ startTimestamp: bigint;
2056
+ endTimestamp: bigint;
2030
2057
  computeChainId: number;
2031
2058
  distributionChainId: number;
2032
2059
  campaignId: string;
2033
- type: import("../../../database/api/.generated").$Enums.CampaignType;
2034
- subType: number | null;
2035
2060
  rewardTokenId: string;
2036
2061
  amount: string;
2037
2062
  opportunityId: string;
2038
- startTimestamp: bigint;
2039
- endTimestamp: bigint;
2040
- params: import("../../../database/api/.generated").Prisma.JsonValue;
2041
2063
  creatorAddress: string;
2042
2064
  };
2043
2065
  } & {
2066
+ error: string;
2067
+ details: import("database/api/.generated/runtime/library").JsonValue;
2068
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2044
2069
  campaignId: string;
2045
2070
  computedUntil: bigint;
2046
2071
  processingStarted: bigint;
2047
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2048
- error: string;
2049
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2050
2072
  })[];
2051
2073
  };
2052
2074
  };
@@ -2065,12 +2087,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2065
2087
  headers: unknown;
2066
2088
  response: {
2067
2089
  200: {
2090
+ error: string;
2091
+ details: import("database/api/.generated/runtime/library").JsonValue;
2092
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2068
2093
  campaignId: string;
2069
2094
  computedUntil: bigint;
2070
2095
  processingStarted: bigint;
2071
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2072
- error: string;
2073
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2074
2096
  };
2075
2097
  };
2076
2098
  };
@@ -2089,12 +2111,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2089
2111
  headers: unknown;
2090
2112
  response: {
2091
2113
  200: {
2114
+ error: string;
2115
+ details: import("database/api/.generated/runtime/library").JsonValue;
2116
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2092
2117
  campaignId: string;
2093
2118
  computedUntil: bigint;
2094
2119
  processingStarted: bigint;
2095
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2096
- error: string;
2097
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2098
2120
  }[];
2099
2121
  };
2100
2122
  };