@merkl/api 0.10.116 → 0.10.118

Sign up to get free protection for your applications and to get access to all the features.
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 +552 -411
  21. package/dist/src/index.d.ts +194 -137
  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 +21 -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 +8 -9
  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 +194 -137
  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 +79 -43
  55. package/dist/src/modules/v4/user/user.repository.d.ts +7 -2
  56. package/dist/src/modules/v4/user/user.service.d.ts +10 -4
  57. package/dist/src/routes/v3/ERC20Campaigns.d.ts +194 -137
  58. package/dist/src/routes/v3/blacklist.d.ts +194 -137
  59. package/dist/src/routes/v3/campaigns.d.ts +194 -137
  60. package/dist/src/routes/v3/campaignsInfo.d.ts +194 -137
  61. package/dist/src/routes/v3/multiChainPositions.d.ts +194 -137
  62. package/dist/src/routes/v3/opportunity.d.ts +194 -137
  63. package/dist/src/routes/v3/positions.d.ts +194 -137
  64. package/dist/src/routes/v3/rewards.d.ts +194 -137
  65. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
  66. package/dist/src/routes/v3/updates.d.ts +194 -137
  67. package/dist/src/routes/v3/userRewards.d.ts +194 -137
  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,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1338
1341
  headers: unknown;
1339
1342
  response: {
1340
1343
  200: {
1344
+ tags: string[];
1341
1345
  address: string;
1346
+ }[];
1347
+ };
1348
+ };
1349
+ };
1350
+ };
1351
+ } & {
1352
+ users: {
1353
+ tags: {
1354
+ get: {
1355
+ body: unknown;
1356
+ params: Record<never, string>;
1357
+ query: unknown;
1358
+ headers: {
1359
+ authorization: string;
1360
+ };
1361
+ response: {
1362
+ 200: {
1342
1363
  tags: string[];
1364
+ address: string;
1343
1365
  }[];
1344
1366
  };
1345
1367
  };
@@ -1355,6 +1377,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1355
1377
  headers: unknown;
1356
1378
  response: {
1357
1379
  200: {
1380
+ tags: string[];
1358
1381
  address: string;
1359
1382
  } | null;
1360
1383
  };
@@ -1380,13 +1403,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1380
1403
  }, "rewards"> & {
1381
1404
  rewards: (Omit<{
1382
1405
  token: {
1383
- id: string;
1406
+ symbol: string;
1384
1407
  name: string | null;
1408
+ id: string;
1385
1409
  chainId: number;
1386
1410
  address: string;
1387
- decimals: number;
1388
- symbol: string;
1389
1411
  icon: string;
1412
+ decimals: number;
1390
1413
  verified: boolean;
1391
1414
  price: number | null;
1392
1415
  };
@@ -1394,63 +1417,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1394
1417
  campaignId: string;
1395
1418
  opportunity: {
1396
1419
  Chain: {
1397
- id: number;
1398
1420
  name: string;
1421
+ id: number;
1399
1422
  icon: string;
1400
1423
  };
1401
1424
  Tokens: {
1402
- id: string;
1425
+ symbol: string;
1403
1426
  name: string | null;
1427
+ id: string;
1404
1428
  chainId: number;
1405
1429
  address: string;
1406
- decimals: number;
1407
- symbol: string;
1408
1430
  icon: string;
1431
+ decimals: number;
1409
1432
  verified: boolean;
1410
1433
  price: number | null;
1411
1434
  }[];
1412
1435
  Protocols: {
1413
- id: string;
1414
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1415
1436
  name: string;
1416
- description: string;
1417
1437
  url: string;
1438
+ description: string;
1439
+ id: string;
1440
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1418
1441
  icon: string;
1419
1442
  }[];
1420
1443
  MainProtocol: {
1421
- id: string;
1422
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1423
1444
  name: string;
1424
- description: string;
1425
1445
  url: string;
1446
+ description: string;
1447
+ id: string;
1448
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1426
1449
  icon: string;
1427
1450
  } | null;
1428
1451
  } & {
1429
- id: string;
1430
- chainId: number;
1431
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1432
- identifier: string;
1433
1452
  name: string;
1453
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1454
+ id: string;
1434
1455
  status: import("../../../database/api/.generated").$Enums.Status;
1456
+ tags: string[];
1457
+ identifier: string;
1458
+ chainId: number;
1435
1459
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1436
1460
  mainProtocolId: string | null;
1437
1461
  tvl: number;
1438
1462
  apr: number;
1439
1463
  dailyRewards: number;
1440
- tags: string[];
1441
1464
  };
1442
1465
  reason: string;
1466
+ pending: string;
1443
1467
  amount: string;
1444
1468
  claimed: string;
1445
- pending: string;
1446
1469
  auxiliaryData1: string | null;
1447
1470
  auxiliaryData2: string | null;
1448
1471
  }[];
1449
1472
  claimed: bigint;
1450
1473
  amount: bigint;
1451
1474
  pending: bigint;
1452
- root: string;
1453
1475
  recipient: string;
1476
+ root: string;
1454
1477
  proofs: string[];
1455
1478
  }, "breakdowns"> & {
1456
1479
  breakdowns: {
@@ -1490,13 +1513,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1490
1513
  }, "rewards"> & {
1491
1514
  rewards: (Omit<{
1492
1515
  token: {
1493
- id: string;
1516
+ symbol: string;
1494
1517
  name: string | null;
1518
+ id: string;
1495
1519
  chainId: number;
1496
1520
  address: string;
1497
- decimals: number;
1498
- symbol: string;
1499
1521
  icon: string;
1522
+ decimals: number;
1500
1523
  verified: boolean;
1501
1524
  price: number | null;
1502
1525
  };
@@ -1504,71 +1527,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1504
1527
  campaignId: string;
1505
1528
  opportunity: {
1506
1529
  Chain: {
1507
- id: number;
1508
1530
  name: string;
1531
+ id: number;
1509
1532
  icon: string;
1510
1533
  };
1511
1534
  Tokens: {
1512
- id: string;
1535
+ symbol: string;
1513
1536
  name: string | null;
1537
+ id: string;
1514
1538
  chainId: number;
1515
1539
  address: string;
1516
- decimals: number;
1517
- symbol: string;
1518
1540
  icon: string;
1541
+ decimals: number;
1519
1542
  verified: boolean;
1520
1543
  price: number | null;
1521
1544
  }[];
1522
1545
  Protocols: {
1523
- id: string;
1524
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1525
1546
  name: string;
1526
- description: string;
1527
1547
  url: string;
1548
+ description: string;
1549
+ id: string;
1550
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1528
1551
  icon: string;
1529
1552
  }[];
1530
1553
  MainProtocol: {
1531
- id: string;
1532
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1533
1554
  name: string;
1534
- description: string;
1535
1555
  url: string;
1556
+ description: string;
1557
+ id: string;
1558
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1536
1559
  icon: string;
1537
1560
  } | null;
1538
1561
  } & {
1539
- id: string;
1540
- chainId: number;
1541
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1542
- identifier: string;
1543
1562
  name: string;
1563
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1564
+ id: string;
1544
1565
  status: import("../../../database/api/.generated").$Enums.Status;
1566
+ tags: string[];
1567
+ identifier: string;
1568
+ chainId: number;
1545
1569
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1546
1570
  mainProtocolId: string | null;
1547
1571
  tvl: number;
1548
1572
  apr: number;
1549
1573
  dailyRewards: number;
1550
- tags: string[];
1551
1574
  };
1552
1575
  reason: string;
1576
+ pending: string;
1553
1577
  amount: string;
1554
1578
  claimed: string;
1555
- pending: string;
1556
1579
  auxiliaryData1: string | null;
1557
1580
  auxiliaryData2: string | null;
1558
1581
  }[];
1559
1582
  claimed: bigint;
1560
1583
  amount: bigint;
1561
1584
  pending: bigint;
1562
- root: string;
1563
1585
  recipient: string;
1586
+ root: string;
1564
1587
  proofs: string[];
1565
1588
  }, "breakdowns"> & {
1566
1589
  breakdowns: {
1567
1590
  campaignId: string;
1568
1591
  reason: string;
1592
+ pending: string;
1569
1593
  amount: string;
1570
1594
  claimed: string;
1571
- pending: string;
1572
1595
  auxiliaryData1: string | null;
1573
1596
  auxiliaryData2: string | null;
1574
1597
  }[];
@@ -1594,13 +1617,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1594
1617
  };
1595
1618
  response: {
1596
1619
  200: {
1597
- address: string;
1598
1620
  tags: string[];
1621
+ address: string;
1599
1622
  };
1600
1623
  };
1601
1624
  };
1602
1625
  };
1603
1626
  };
1627
+ } & {
1628
+ users: {
1629
+ sync: {
1630
+ post: {
1631
+ body: unknown;
1632
+ params: Record<never, string>;
1633
+ query: unknown;
1634
+ headers: {
1635
+ authorization: string;
1636
+ };
1637
+ response: {
1638
+ 200: void;
1639
+ };
1640
+ };
1641
+ };
1642
+ };
1604
1643
  } & {
1605
1644
  users: {
1606
1645
  ":address": {
@@ -1618,8 +1657,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1618
1657
  };
1619
1658
  response: {
1620
1659
  200: {
1621
- address: string;
1622
1660
  tags: string[];
1661
+ address: string;
1623
1662
  };
1624
1663
  };
1625
1664
  };
@@ -1630,7 +1669,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1630
1669
  } & {
1631
1670
  v4: {
1632
1671
  roots: {
1633
- index: {
1672
+ timestamps: {
1634
1673
  get: {
1635
1674
  body: unknown;
1636
1675
  params: Record<never, string>;
@@ -1642,10 +1681,28 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1642
1681
  headers: unknown;
1643
1682
  response: {
1644
1683
  200: {
1645
- root: string;
1684
+ timestamp: bigint;
1646
1685
  chainId: number;
1686
+ root: string;
1647
1687
  epoch: number;
1648
- timestamp: bigint;
1688
+ }[];
1689
+ };
1690
+ };
1691
+ };
1692
+ };
1693
+ } & {
1694
+ roots: {
1695
+ index: {
1696
+ get: {
1697
+ body: unknown;
1698
+ params: Record<never, string>;
1699
+ query: unknown;
1700
+ headers: unknown;
1701
+ response: {
1702
+ 200: {
1703
+ live: string;
1704
+ tree: string;
1705
+ lastTree: string;
1649
1706
  }[];
1650
1707
  };
1651
1708
  };
@@ -1770,6 +1827,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1770
1827
  response: {
1771
1828
  200: {
1772
1829
  id: string;
1830
+ timestamp: number;
1773
1831
  chainId: number;
1774
1832
  fromTokenId: string;
1775
1833
  toTokenId: string;
@@ -1778,7 +1836,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1778
1836
  amountIn: string;
1779
1837
  amountOut: string;
1780
1838
  datetime: Date;
1781
- timestamp: number;
1782
1839
  }[];
1783
1840
  };
1784
1841
  };
@@ -2017,12 +2074,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2017
2074
  headers: unknown;
2018
2075
  response: {
2019
2076
  200: {
2077
+ error: string;
2078
+ details: import("database/api/.generated/runtime/library").JsonValue;
2079
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2020
2080
  campaignId: string;
2021
2081
  computedUntil: bigint;
2022
2082
  processingStarted: bigint;
2023
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2024
- error: string;
2025
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2026
2083
  }[];
2027
2084
  };
2028
2085
  };
@@ -2041,27 +2098,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2041
2098
  response: {
2042
2099
  200: ({
2043
2100
  Campaign: {
2101
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
2044
2102
  id: string;
2103
+ params: import("database/api/.generated/runtime/library").JsonValue;
2104
+ subType: number | null;
2105
+ startTimestamp: bigint;
2106
+ endTimestamp: bigint;
2045
2107
  computeChainId: number;
2046
2108
  distributionChainId: number;
2047
2109
  campaignId: string;
2048
- type: import("../../../database/api/.generated").$Enums.CampaignType;
2049
- subType: number | null;
2050
2110
  rewardTokenId: string;
2051
2111
  amount: string;
2052
2112
  opportunityId: string;
2053
- startTimestamp: bigint;
2054
- endTimestamp: bigint;
2055
- params: import("../../../database/api/.generated").Prisma.JsonValue;
2056
2113
  creatorAddress: string;
2057
2114
  };
2058
2115
  } & {
2116
+ error: string;
2117
+ details: import("database/api/.generated/runtime/library").JsonValue;
2118
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2059
2119
  campaignId: string;
2060
2120
  computedUntil: bigint;
2061
2121
  processingStarted: bigint;
2062
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2063
- error: string;
2064
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2065
2122
  })[];
2066
2123
  };
2067
2124
  };
@@ -2080,12 +2137,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2080
2137
  headers: unknown;
2081
2138
  response: {
2082
2139
  200: {
2140
+ error: string;
2141
+ details: import("database/api/.generated/runtime/library").JsonValue;
2142
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2083
2143
  campaignId: string;
2084
2144
  computedUntil: bigint;
2085
2145
  processingStarted: bigint;
2086
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2087
- error: string;
2088
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2089
2146
  };
2090
2147
  };
2091
2148
  };
@@ -2104,12 +2161,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
2104
2161
  headers: unknown;
2105
2162
  response: {
2106
2163
  200: {
2164
+ error: string;
2165
+ details: import("database/api/.generated/runtime/library").JsonValue;
2166
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2107
2167
  campaignId: string;
2108
2168
  computedUntil: bigint;
2109
2169
  processingStarted: bigint;
2110
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2111
- error: string;
2112
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2113
2170
  }[];
2114
2171
  };
2115
2172
  };