@merkl/api 0.10.115 → 0.10.117

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) 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 +543 -426
  21. package/dist/src/index.d.ts +188 -141
  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 +5 -3
  26. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
  27. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +5 -3
  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/dynamicData/dynamicData.controller.d.ts +4 -2
  35. package/dist/src/modules/v4/dynamicData/dynamicData.model.d.ts +2 -2
  36. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +2 -1
  37. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
  38. package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
  39. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +22 -3
  40. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
  41. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -4
  42. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
  43. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
  44. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
  45. package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
  46. package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
  47. package/dist/src/modules/v4/price/price.service.d.ts +8 -8
  48. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
  49. package/dist/src/modules/v4/reward/reward.controller.d.ts +32 -8
  50. package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
  51. package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
  52. package/dist/src/modules/v4/reward/reward.service.d.ts +134 -131
  53. package/dist/src/modules/v4/router.d.ts +188 -141
  54. package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
  55. package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
  56. package/dist/src/modules/v4/status/status.service.d.ts +20 -20
  57. package/dist/src/modules/v4/user/user.controller.d.ts +44 -44
  58. package/dist/src/modules/v4/user/user.repository.d.ts +3 -3
  59. package/dist/src/modules/v4/user/user.service.d.ts +3 -3
  60. package/dist/src/routes/v3/ERC20Campaigns.d.ts +188 -141
  61. package/dist/src/routes/v3/blacklist.d.ts +188 -141
  62. package/dist/src/routes/v3/campaigns.d.ts +188 -141
  63. package/dist/src/routes/v3/campaignsInfo.d.ts +188 -141
  64. package/dist/src/routes/v3/multiChainPositions.d.ts +188 -141
  65. package/dist/src/routes/v3/opportunity.d.ts +188 -141
  66. package/dist/src/routes/v3/positions.d.ts +188 -141
  67. package/dist/src/routes/v3/rewards.d.ts +188 -141
  68. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
  69. package/dist/src/routes/v3/updates.d.ts +188 -141
  70. package/dist/src/routes/v3/userRewards.d.ts +188 -141
  71. package/dist/src/utils/bigintToString.d.ts +1 -1
  72. package/dist/tsconfig.package.tsbuildinfo +1 -1
  73. package/package.json +3 -3
  74. package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
@@ -64,9 +64,9 @@ export declare const v4: Elysia<"/v4", false, {
64
64
  cumulated: number;
65
65
  timestamp: bigint;
66
66
  breakdowns: {
67
+ type: import("../../../database/api/.generated").$Enums.AprType;
67
68
  id: number;
68
69
  identifier: string;
69
- type: import("../../../database/api/.generated").$Enums.AprType;
70
70
  value: number;
71
71
  aprRecordId: string;
72
72
  }[];
@@ -76,9 +76,9 @@ export declare const v4: Elysia<"/v4", false, {
76
76
  total: number;
77
77
  timestamp: bigint;
78
78
  breakdowns: {
79
+ type: import("../../../database/api/.generated").$Enums.TvlType;
79
80
  id: number;
80
81
  identifier: string;
81
- type: import("../../../database/api/.generated").$Enums.TvlType;
82
82
  value: number;
83
83
  tvlRecordId: string;
84
84
  }[];
@@ -96,27 +96,27 @@ export declare const v4: Elysia<"/v4", false, {
96
96
  };
97
97
  id: string;
98
98
  tokens: {
99
- id: string;
99
+ symbol: string;
100
100
  name: string | null;
101
+ id: string;
101
102
  chainId: number;
102
103
  address: string;
103
- decimals: number;
104
- symbol: string;
105
104
  icon: string;
105
+ decimals: number;
106
106
  verified: boolean;
107
107
  price: number | null;
108
108
  }[];
109
109
  chain: {
110
- id: number;
111
110
  name: string;
111
+ id: number;
112
112
  icon: string;
113
113
  };
114
114
  protocol: {
115
- id: string;
116
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
117
115
  name: string;
118
- description: string;
119
116
  url: string;
117
+ description: string;
118
+ id: string;
119
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
120
120
  icon: string;
121
121
  } | undefined;
122
122
  name: string;
@@ -151,9 +151,9 @@ export declare const v4: Elysia<"/v4", false, {
151
151
  cumulated: number;
152
152
  timestamp: bigint;
153
153
  breakdowns: {
154
+ type: import("../../../database/api/.generated").$Enums.AprType;
154
155
  id: number;
155
156
  identifier: string;
156
- type: import("../../../database/api/.generated").$Enums.AprType;
157
157
  value: number;
158
158
  aprRecordId: string;
159
159
  }[];
@@ -163,9 +163,9 @@ export declare const v4: Elysia<"/v4", false, {
163
163
  total: number;
164
164
  timestamp: bigint;
165
165
  breakdowns: {
166
+ type: import("../../../database/api/.generated").$Enums.TvlType;
166
167
  id: number;
167
168
  identifier: string;
168
- type: import("../../../database/api/.generated").$Enums.TvlType;
169
169
  value: number;
170
170
  tvlRecordId: string;
171
171
  }[];
@@ -183,27 +183,27 @@ export declare const v4: Elysia<"/v4", false, {
183
183
  };
184
184
  id: string;
185
185
  tokens: {
186
- id: string;
186
+ symbol: string;
187
187
  name: string | null;
188
+ id: string;
188
189
  chainId: number;
189
190
  address: string;
190
- decimals: number;
191
- symbol: string;
192
191
  icon: string;
192
+ decimals: number;
193
193
  verified: boolean;
194
194
  price: number | null;
195
195
  }[];
196
196
  chain: {
197
- id: number;
198
197
  name: string;
198
+ id: number;
199
199
  icon: string;
200
200
  };
201
201
  protocol: {
202
- id: string;
203
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
204
202
  name: string;
205
- description: string;
206
203
  url: string;
204
+ description: string;
205
+ id: string;
206
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
207
207
  icon: string;
208
208
  } | undefined;
209
209
  name: string;
@@ -220,37 +220,37 @@ export declare const v4: Elysia<"/v4", false, {
220
220
  campaigns: ({
221
221
  params: any;
222
222
  chain: {
223
- id: number;
224
223
  name: string;
224
+ id: number;
225
225
  icon: string;
226
226
  };
227
227
  rewardToken: {
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
  distributionChain: {
239
- id: number;
240
239
  name: string;
240
+ id: number;
241
241
  icon: string;
242
242
  } | undefined;
243
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
243
244
  id: string;
245
+ subType: number | null;
246
+ startTimestamp: bigint;
247
+ endTimestamp: bigint;
244
248
  computeChainId: number;
245
249
  distributionChainId: number;
246
250
  campaignId: string;
247
- type: import("../../../database/api/.generated").$Enums.CampaignType;
248
- subType: number | null;
249
251
  rewardTokenId: string;
250
252
  amount: string;
251
253
  opportunityId: string;
252
- startTimestamp: bigint;
253
- endTimestamp: bigint;
254
254
  creatorAddress: string;
255
255
  } | null)[];
256
256
  }) | null | undefined;
@@ -285,9 +285,9 @@ export declare const v4: Elysia<"/v4", false, {
285
285
  cumulated: number;
286
286
  timestamp: bigint;
287
287
  breakdowns: {
288
+ type: import("../../../database/api/.generated").$Enums.AprType;
288
289
  id: number;
289
290
  identifier: string;
290
- type: import("../../../database/api/.generated").$Enums.AprType;
291
291
  value: number;
292
292
  aprRecordId: string;
293
293
  }[];
@@ -297,9 +297,9 @@ export declare const v4: Elysia<"/v4", false, {
297
297
  total: number;
298
298
  timestamp: bigint;
299
299
  breakdowns: {
300
+ type: import("../../../database/api/.generated").$Enums.TvlType;
300
301
  id: number;
301
302
  identifier: string;
302
- type: import("../../../database/api/.generated").$Enums.TvlType;
303
303
  value: number;
304
304
  tvlRecordId: string;
305
305
  }[];
@@ -317,27 +317,27 @@ export declare const v4: Elysia<"/v4", false, {
317
317
  };
318
318
  id: string;
319
319
  tokens: {
320
- id: string;
320
+ symbol: string;
321
321
  name: string | null;
322
+ id: string;
322
323
  chainId: number;
323
324
  address: string;
324
- decimals: number;
325
- symbol: string;
326
325
  icon: string;
326
+ decimals: number;
327
327
  verified: boolean;
328
328
  price: number | null;
329
329
  }[];
330
330
  chain: {
331
- id: number;
332
331
  name: string;
332
+ id: number;
333
333
  icon: string;
334
334
  };
335
335
  protocol: {
336
- id: string;
337
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
338
336
  name: string;
339
- description: string;
340
337
  url: string;
338
+ description: string;
339
+ id: string;
340
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
341
341
  icon: string;
342
342
  } | undefined;
343
343
  name: string;
@@ -409,18 +409,18 @@ export declare const v4: Elysia<"/v4", false, {
409
409
  };
410
410
  response: {
411
411
  200: {
412
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
412
413
  id: string;
414
+ params: import("database/api/.generated/runtime/library").JsonValue;
415
+ subType: number | null;
416
+ startTimestamp: bigint;
417
+ endTimestamp: bigint;
413
418
  computeChainId: number;
414
419
  distributionChainId: number;
415
420
  campaignId: string;
416
- type: import("../../../database/api/.generated").$Enums.CampaignType;
417
- subType: number | null;
418
421
  rewardTokenId: string;
419
422
  amount: string;
420
423
  opportunityId: string;
421
- startTimestamp: bigint;
422
- endTimestamp: bigint;
423
- params: import("../../../database/api/.generated").Prisma.JsonValue;
424
424
  creatorAddress: string;
425
425
  } | undefined;
426
426
  };
@@ -450,37 +450,37 @@ export declare const v4: Elysia<"/v4", false, {
450
450
  200: ({
451
451
  params: any;
452
452
  chain: {
453
- id: number;
454
453
  name: string;
454
+ id: number;
455
455
  icon: string;
456
456
  };
457
457
  rewardToken: {
458
- id: string;
458
+ symbol: string;
459
459
  name: string | null;
460
+ id: string;
460
461
  chainId: number;
461
462
  address: string;
462
- decimals: number;
463
- symbol: string;
464
463
  icon: string;
464
+ decimals: number;
465
465
  verified: boolean;
466
466
  price: number | null;
467
467
  };
468
468
  distributionChain: {
469
- id: number;
470
469
  name: string;
470
+ id: number;
471
471
  icon: string;
472
472
  } | undefined;
473
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
473
474
  id: string;
475
+ subType: number | null;
476
+ startTimestamp: bigint;
477
+ endTimestamp: bigint;
474
478
  computeChainId: number;
475
479
  distributionChainId: number;
476
480
  campaignId: string;
477
- type: import("../../../database/api/.generated").$Enums.CampaignType;
478
- subType: number | null;
479
481
  rewardTokenId: string;
480
482
  amount: string;
481
483
  opportunityId: string;
482
- startTimestamp: bigint;
483
- endTimestamp: bigint;
484
484
  creatorAddress: string;
485
485
  } | null)[];
486
486
  };
@@ -758,9 +758,9 @@ export declare const v4: Elysia<"/v4", false, {
758
758
  params: Record<never, string>;
759
759
  query: {
760
760
  items?: number | undefined;
761
- chainId?: number | undefined;
762
761
  page?: number | undefined;
763
- campaignId?: string | undefined;
762
+ chainId: number;
763
+ campaignId: string;
764
764
  };
765
765
  headers: unknown;
766
766
  response: {
@@ -777,13 +777,16 @@ export declare const v4: Elysia<"/v4", false, {
777
777
  params: Record<never, string>;
778
778
  query: {
779
779
  items?: number | undefined;
780
- chainId?: number | undefined;
781
780
  page?: number | undefined;
782
- campaignId?: string | undefined;
781
+ chainId: number;
782
+ campaignId: string;
783
783
  };
784
784
  headers: unknown;
785
785
  response: {
786
- 200: unknown;
786
+ 200: {
787
+ campaignId: string;
788
+ amount: bigint;
789
+ };
787
790
  };
788
791
  };
789
792
  };
@@ -886,15 +889,36 @@ export declare const v4: Elysia<"/v4", false, {
886
889
  params: Record<never, string>;
887
890
  query: {
888
891
  items?: number | undefined;
889
- chainId?: number | undefined;
890
892
  page?: number | undefined;
891
- campaignId?: string | undefined;
893
+ chainId: number;
894
+ campaignId: string;
892
895
  };
893
896
  headers: unknown;
894
897
  response: {
895
898
  200: {
896
899
  count: number;
897
- } | null;
900
+ };
901
+ };
902
+ };
903
+ };
904
+ };
905
+ } & {
906
+ rewards: {
907
+ count: {
908
+ chains: {
909
+ get: {
910
+ body: unknown;
911
+ params: Record<never, string>;
912
+ query: unknown;
913
+ headers: {
914
+ authorization: string;
915
+ };
916
+ response: {
917
+ 200: Record<string, {
918
+ breakdown: number;
919
+ rewards: Record<string, number>;
920
+ }>;
921
+ };
898
922
  };
899
923
  };
900
924
  };
@@ -913,13 +937,13 @@ export declare const v4: Elysia<"/v4", false, {
913
937
  headers: unknown;
914
938
  response: {
915
939
  200: {
916
- id: number;
917
940
  name: string;
941
+ id: number;
918
942
  icon: string;
919
943
  explorers: {
920
- id: string;
921
944
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
922
945
  url: string;
946
+ id: string;
923
947
  chainId: number;
924
948
  }[];
925
949
  } | null;
@@ -937,13 +961,13 @@ export declare const v4: Elysia<"/v4", false, {
937
961
  headers: unknown;
938
962
  response: {
939
963
  200: {
940
- id: number;
941
964
  name: string;
965
+ id: number;
942
966
  icon: string;
943
967
  explorers: {
944
- id: string;
945
968
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
946
969
  url: string;
970
+ id: string;
947
971
  chainId: number;
948
972
  }[];
949
973
  }[];
@@ -979,9 +1003,9 @@ export declare const v4: Elysia<"/v4", false, {
979
1003
  };
980
1004
  response: {
981
1005
  200: {
982
- id: string;
983
1006
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
984
1007
  url: string;
1008
+ id: string;
985
1009
  chainId: number;
986
1010
  };
987
1011
  };
@@ -1046,10 +1070,10 @@ export declare const v4: Elysia<"/v4", false, {
1046
1070
  headers: unknown;
1047
1071
  response: {
1048
1072
  200: {
1049
- id: number;
1050
1073
  symbol: string;
1051
1074
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1052
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1075
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1076
+ id: number;
1053
1077
  }[];
1054
1078
  };
1055
1079
  };
@@ -1068,10 +1092,10 @@ export declare const v4: Elysia<"/v4", false, {
1068
1092
  headers: unknown;
1069
1093
  response: {
1070
1094
  200: {
1071
- id: number;
1072
1095
  symbol: string;
1073
1096
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1074
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1097
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1098
+ id: number;
1075
1099
  };
1076
1100
  };
1077
1101
  };
@@ -1117,10 +1141,10 @@ export declare const v4: Elysia<"/v4", false, {
1117
1141
  };
1118
1142
  response: {
1119
1143
  200: {
1120
- id: number;
1121
1144
  symbol: string;
1122
1145
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1123
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1146
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1147
+ id: number;
1124
1148
  };
1125
1149
  };
1126
1150
  };
@@ -1142,10 +1166,10 @@ export declare const v4: Elysia<"/v4", false, {
1142
1166
  };
1143
1167
  response: {
1144
1168
  200: {
1145
- id: number;
1146
1169
  symbol: string;
1147
1170
  method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
1148
- args: import("../../../database/api/.generated").Prisma.JsonValue | null;
1171
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
1172
+ id: number;
1149
1173
  };
1150
1174
  };
1151
1175
  };
@@ -1170,7 +1194,7 @@ export declare const v4: Elysia<"/v4", false, {
1170
1194
  poolAddress: string;
1171
1195
  userAddress: string;
1172
1196
  arrestTimestamp: bigint;
1173
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1197
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1174
1198
  }[];
1175
1199
  };
1176
1200
  };
@@ -1185,7 +1209,9 @@ export declare const v4: Elysia<"/v4", false, {
1185
1209
  query: unknown;
1186
1210
  headers: unknown;
1187
1211
  response: {
1188
- 200: string[];
1212
+ 200: {
1213
+ [address: string]: boolean;
1214
+ };
1189
1215
  };
1190
1216
  };
1191
1217
  };
@@ -1230,7 +1256,7 @@ export declare const v4: Elysia<"/v4", false, {
1230
1256
  poolAddress: string;
1231
1257
  userAddress: string;
1232
1258
  arrestTimestamp: bigint;
1233
- arrestDetails: import("../../../database/api/.generated").Prisma.JsonValue;
1259
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1234
1260
  };
1235
1261
  };
1236
1262
  };
@@ -1273,8 +1299,8 @@ export declare const v4: Elysia<"/v4", false, {
1273
1299
  headers: unknown;
1274
1300
  response: {
1275
1301
  200: {
1276
- address: string;
1277
1302
  tags: string[];
1303
+ address: string;
1278
1304
  }[];
1279
1305
  };
1280
1306
  };
@@ -1315,13 +1341,13 @@ export declare const v4: Elysia<"/v4", false, {
1315
1341
  }, "rewards"> & {
1316
1342
  rewards: (Omit<{
1317
1343
  token: {
1318
- id: string;
1344
+ symbol: string;
1319
1345
  name: string | null;
1346
+ id: string;
1320
1347
  chainId: number;
1321
1348
  address: string;
1322
- decimals: number;
1323
- symbol: string;
1324
1349
  icon: string;
1350
+ decimals: number;
1325
1351
  verified: boolean;
1326
1352
  price: number | null;
1327
1353
  };
@@ -1329,63 +1355,63 @@ export declare const v4: Elysia<"/v4", false, {
1329
1355
  campaignId: string;
1330
1356
  opportunity: {
1331
1357
  Chain: {
1332
- id: number;
1333
1358
  name: string;
1359
+ id: number;
1334
1360
  icon: string;
1335
1361
  };
1336
1362
  Tokens: {
1337
- id: string;
1363
+ symbol: string;
1338
1364
  name: string | null;
1365
+ id: string;
1339
1366
  chainId: number;
1340
1367
  address: string;
1341
- decimals: number;
1342
- symbol: string;
1343
1368
  icon: string;
1369
+ decimals: number;
1344
1370
  verified: boolean;
1345
1371
  price: number | null;
1346
1372
  }[];
1347
1373
  Protocols: {
1348
- id: string;
1349
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1350
1374
  name: string;
1351
- description: string;
1352
1375
  url: string;
1376
+ description: string;
1377
+ id: string;
1378
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1353
1379
  icon: string;
1354
1380
  }[];
1355
1381
  MainProtocol: {
1356
- id: string;
1357
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1358
1382
  name: string;
1359
- description: string;
1360
1383
  url: string;
1384
+ description: string;
1385
+ id: string;
1386
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1361
1387
  icon: string;
1362
1388
  } | null;
1363
1389
  } & {
1364
- id: string;
1365
- chainId: number;
1366
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1367
- identifier: string;
1368
1390
  name: string;
1391
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1392
+ id: string;
1369
1393
  status: import("../../../database/api/.generated").$Enums.Status;
1394
+ tags: string[];
1395
+ identifier: string;
1396
+ chainId: number;
1370
1397
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1371
1398
  mainProtocolId: string | null;
1372
1399
  tvl: number;
1373
1400
  apr: number;
1374
1401
  dailyRewards: number;
1375
- tags: string[];
1376
1402
  };
1377
1403
  reason: string;
1404
+ pending: string;
1378
1405
  amount: string;
1379
1406
  claimed: string;
1380
- pending: string;
1381
1407
  auxiliaryData1: string | null;
1382
1408
  auxiliaryData2: string | null;
1383
1409
  }[];
1384
1410
  claimed: bigint;
1385
1411
  amount: bigint;
1386
1412
  pending: bigint;
1387
- root: string;
1388
1413
  recipient: string;
1414
+ root: string;
1389
1415
  proofs: string[];
1390
1416
  }, "breakdowns"> & {
1391
1417
  breakdowns: {
@@ -1425,13 +1451,13 @@ export declare const v4: Elysia<"/v4", false, {
1425
1451
  }, "rewards"> & {
1426
1452
  rewards: (Omit<{
1427
1453
  token: {
1428
- id: string;
1454
+ symbol: string;
1429
1455
  name: string | null;
1456
+ id: string;
1430
1457
  chainId: number;
1431
1458
  address: string;
1432
- decimals: number;
1433
- symbol: string;
1434
1459
  icon: string;
1460
+ decimals: number;
1435
1461
  verified: boolean;
1436
1462
  price: number | null;
1437
1463
  };
@@ -1439,71 +1465,71 @@ export declare const v4: Elysia<"/v4", false, {
1439
1465
  campaignId: string;
1440
1466
  opportunity: {
1441
1467
  Chain: {
1442
- id: number;
1443
1468
  name: string;
1469
+ id: number;
1444
1470
  icon: string;
1445
1471
  };
1446
1472
  Tokens: {
1447
- id: string;
1473
+ symbol: string;
1448
1474
  name: string | null;
1475
+ id: string;
1449
1476
  chainId: number;
1450
1477
  address: string;
1451
- decimals: number;
1452
- symbol: string;
1453
1478
  icon: string;
1479
+ decimals: number;
1454
1480
  verified: boolean;
1455
1481
  price: number | null;
1456
1482
  }[];
1457
1483
  Protocols: {
1458
- id: string;
1459
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1460
1484
  name: string;
1461
- description: string;
1462
1485
  url: string;
1486
+ description: string;
1487
+ id: string;
1488
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1463
1489
  icon: string;
1464
1490
  }[];
1465
1491
  MainProtocol: {
1466
- id: string;
1467
- tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1468
1492
  name: string;
1469
- description: string;
1470
1493
  url: string;
1494
+ description: string;
1495
+ id: string;
1496
+ tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
1471
1497
  icon: string;
1472
1498
  } | null;
1473
1499
  } & {
1474
- id: string;
1475
- chainId: number;
1476
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1477
- identifier: string;
1478
1500
  name: string;
1501
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1502
+ id: string;
1479
1503
  status: import("../../../database/api/.generated").$Enums.Status;
1504
+ tags: string[];
1505
+ identifier: string;
1506
+ chainId: number;
1480
1507
  action: import("../../../database/api/.generated").$Enums.OpportunityAction;
1481
1508
  mainProtocolId: string | null;
1482
1509
  tvl: number;
1483
1510
  apr: number;
1484
1511
  dailyRewards: number;
1485
- tags: string[];
1486
1512
  };
1487
1513
  reason: string;
1514
+ pending: string;
1488
1515
  amount: string;
1489
1516
  claimed: string;
1490
- pending: string;
1491
1517
  auxiliaryData1: string | null;
1492
1518
  auxiliaryData2: string | null;
1493
1519
  }[];
1494
1520
  claimed: bigint;
1495
1521
  amount: bigint;
1496
1522
  pending: bigint;
1497
- root: string;
1498
1523
  recipient: string;
1524
+ root: string;
1499
1525
  proofs: string[];
1500
1526
  }, "breakdowns"> & {
1501
1527
  breakdowns: {
1502
1528
  campaignId: string;
1503
1529
  reason: string;
1530
+ pending: string;
1504
1531
  amount: string;
1505
1532
  claimed: string;
1506
- pending: string;
1507
1533
  auxiliaryData1: string | null;
1508
1534
  auxiliaryData2: string | null;
1509
1535
  }[];
@@ -1529,8 +1555,8 @@ export declare const v4: Elysia<"/v4", false, {
1529
1555
  };
1530
1556
  response: {
1531
1557
  200: {
1532
- address: string;
1533
1558
  tags: string[];
1559
+ address: string;
1534
1560
  };
1535
1561
  };
1536
1562
  };
@@ -1553,8 +1579,8 @@ export declare const v4: Elysia<"/v4", false, {
1553
1579
  };
1554
1580
  response: {
1555
1581
  200: {
1556
- address: string;
1557
1582
  tags: string[];
1583
+ address: string;
1558
1584
  };
1559
1585
  };
1560
1586
  };
@@ -1565,7 +1591,7 @@ export declare const v4: Elysia<"/v4", false, {
1565
1591
  } & {
1566
1592
  v4: {
1567
1593
  roots: {
1568
- index: {
1594
+ timestamps: {
1569
1595
  get: {
1570
1596
  body: unknown;
1571
1597
  params: Record<never, string>;
@@ -1577,15 +1603,34 @@ export declare const v4: Elysia<"/v4", false, {
1577
1603
  headers: unknown;
1578
1604
  response: {
1579
1605
  200: {
1580
- root: string;
1606
+ timestamp: bigint;
1581
1607
  chainId: number;
1608
+ root: string;
1582
1609
  epoch: number;
1583
- timestamp: bigint;
1584
1610
  }[];
1585
1611
  };
1586
1612
  };
1587
1613
  };
1588
1614
  };
1615
+ } & {
1616
+ roots: {
1617
+ index: {
1618
+ get: {
1619
+ body: unknown;
1620
+ params: Record<never, string>;
1621
+ query: unknown;
1622
+ headers: unknown;
1623
+ response: {
1624
+ 200: {
1625
+ [chainId: number]: {
1626
+ live: string;
1627
+ lastTree: string;
1628
+ };
1629
+ };
1630
+ };
1631
+ };
1632
+ };
1633
+ };
1589
1634
  };
1590
1635
  } & {
1591
1636
  v4: {
@@ -1705,6 +1750,7 @@ export declare const v4: Elysia<"/v4", false, {
1705
1750
  response: {
1706
1751
  200: {
1707
1752
  id: string;
1753
+ timestamp: number;
1708
1754
  chainId: number;
1709
1755
  fromTokenId: string;
1710
1756
  toTokenId: string;
@@ -1713,7 +1759,6 @@ export declare const v4: Elysia<"/v4", false, {
1713
1759
  amountIn: string;
1714
1760
  amountOut: string;
1715
1761
  datetime: Date;
1716
- timestamp: number;
1717
1762
  }[];
1718
1763
  };
1719
1764
  };
@@ -1885,11 +1930,13 @@ export declare const v4: Elysia<"/v4", false, {
1885
1930
  get: {
1886
1931
  body: unknown;
1887
1932
  params: {
1888
- chainId: string;
1933
+ chainId: number;
1889
1934
  tokenAddress: string;
1890
1935
  };
1891
1936
  query: unknown;
1892
- headers: unknown;
1937
+ headers: {
1938
+ authorization: string;
1939
+ };
1893
1940
  response: {
1894
1941
  200: {
1895
1942
  tvl: number;
@@ -1950,12 +1997,12 @@ export declare const v4: Elysia<"/v4", false, {
1950
1997
  headers: unknown;
1951
1998
  response: {
1952
1999
  200: {
2000
+ error: string;
2001
+ details: import("database/api/.generated/runtime/library").JsonValue;
2002
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1953
2003
  campaignId: string;
1954
2004
  computedUntil: bigint;
1955
2005
  processingStarted: bigint;
1956
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1957
- error: string;
1958
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1959
2006
  }[];
1960
2007
  };
1961
2008
  };
@@ -1974,27 +2021,27 @@ export declare const v4: Elysia<"/v4", false, {
1974
2021
  response: {
1975
2022
  200: ({
1976
2023
  Campaign: {
2024
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
1977
2025
  id: string;
2026
+ params: import("database/api/.generated/runtime/library").JsonValue;
2027
+ subType: number | null;
2028
+ startTimestamp: bigint;
2029
+ endTimestamp: bigint;
1978
2030
  computeChainId: number;
1979
2031
  distributionChainId: number;
1980
2032
  campaignId: string;
1981
- type: import("../../../database/api/.generated").$Enums.CampaignType;
1982
- subType: number | null;
1983
2033
  rewardTokenId: string;
1984
2034
  amount: string;
1985
2035
  opportunityId: string;
1986
- startTimestamp: bigint;
1987
- endTimestamp: bigint;
1988
- params: import("../../../database/api/.generated").Prisma.JsonValue;
1989
2036
  creatorAddress: string;
1990
2037
  };
1991
2038
  } & {
2039
+ error: string;
2040
+ details: import("database/api/.generated/runtime/library").JsonValue;
2041
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
1992
2042
  campaignId: string;
1993
2043
  computedUntil: bigint;
1994
2044
  processingStarted: bigint;
1995
- status: import("../../../database/api/.generated").$Enums.RunStatus;
1996
- error: string;
1997
- details: import("../../../database/api/.generated").Prisma.JsonValue;
1998
2045
  })[];
1999
2046
  };
2000
2047
  };
@@ -2013,12 +2060,12 @@ export declare const v4: Elysia<"/v4", false, {
2013
2060
  headers: unknown;
2014
2061
  response: {
2015
2062
  200: {
2063
+ error: string;
2064
+ details: import("database/api/.generated/runtime/library").JsonValue;
2065
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2016
2066
  campaignId: string;
2017
2067
  computedUntil: bigint;
2018
2068
  processingStarted: bigint;
2019
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2020
- error: string;
2021
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2022
2069
  };
2023
2070
  };
2024
2071
  };
@@ -2037,12 +2084,12 @@ export declare const v4: Elysia<"/v4", false, {
2037
2084
  headers: unknown;
2038
2085
  response: {
2039
2086
  200: {
2087
+ error: string;
2088
+ details: import("database/api/.generated/runtime/library").JsonValue;
2089
+ status: import("../../../database/api/.generated").$Enums.RunStatus;
2040
2090
  campaignId: string;
2041
2091
  computedUntil: bigint;
2042
2092
  processingStarted: bigint;
2043
- status: import("../../../database/api/.generated").$Enums.RunStatus;
2044
- error: string;
2045
- details: import("../../../database/api/.generated").Prisma.JsonValue;
2046
2093
  }[];
2047
2094
  };
2048
2095
  };