@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
@@ -25,9 +25,9 @@ declare const eden: {
25
25
  cumulated: number;
26
26
  timestamp: bigint;
27
27
  breakdowns: {
28
+ type: import("../../database/api/.generated").$Enums.AprType;
28
29
  id: number;
29
30
  identifier: string;
30
- type: import("../../database/api/.generated").$Enums.AprType;
31
31
  value: number;
32
32
  aprRecordId: string;
33
33
  }[];
@@ -37,9 +37,9 @@ declare const eden: {
37
37
  total: number;
38
38
  timestamp: bigint;
39
39
  breakdowns: {
40
+ type: import("../../database/api/.generated").$Enums.TvlType;
40
41
  id: number;
41
42
  identifier: string;
42
- type: import("../../database/api/.generated").$Enums.TvlType;
43
43
  value: number;
44
44
  tvlRecordId: string;
45
45
  }[];
@@ -57,27 +57,27 @@ declare const eden: {
57
57
  };
58
58
  id: string;
59
59
  tokens: {
60
- id: string;
60
+ symbol: string;
61
61
  name: string | null;
62
+ id: string;
62
63
  chainId: number;
63
64
  address: string;
64
- decimals: number;
65
- symbol: string;
66
65
  icon: string;
66
+ decimals: number;
67
67
  verified: boolean;
68
68
  price: number | null;
69
69
  }[];
70
70
  chain: {
71
- id: number;
72
71
  name: string;
72
+ id: number;
73
73
  icon: string;
74
74
  };
75
75
  protocol: {
76
- id: string;
77
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
78
76
  name: string;
79
- description: string;
80
77
  url: string;
78
+ description: string;
79
+ id: string;
80
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
81
81
  icon: string;
82
82
  } | undefined;
83
83
  name: string;
@@ -103,9 +103,9 @@ declare const eden: {
103
103
  cumulated: number;
104
104
  timestamp: bigint;
105
105
  breakdowns: {
106
+ type: import("../../database/api/.generated").$Enums.AprType;
106
107
  id: number;
107
108
  identifier: string;
108
- type: import("../../database/api/.generated").$Enums.AprType;
109
109
  value: number;
110
110
  aprRecordId: string;
111
111
  }[];
@@ -115,9 +115,9 @@ declare const eden: {
115
115
  total: number;
116
116
  timestamp: bigint;
117
117
  breakdowns: {
118
+ type: import("../../database/api/.generated").$Enums.TvlType;
118
119
  id: number;
119
120
  identifier: string;
120
- type: import("../../database/api/.generated").$Enums.TvlType;
121
121
  value: number;
122
122
  tvlRecordId: string;
123
123
  }[];
@@ -135,27 +135,27 @@ declare const eden: {
135
135
  };
136
136
  id: string;
137
137
  tokens: {
138
- id: string;
138
+ symbol: string;
139
139
  name: string | null;
140
+ id: string;
140
141
  chainId: number;
141
142
  address: string;
142
- decimals: number;
143
- symbol: string;
144
143
  icon: string;
144
+ decimals: number;
145
145
  verified: boolean;
146
146
  price: number | null;
147
147
  }[];
148
148
  chain: {
149
- id: number;
150
149
  name: string;
150
+ id: number;
151
151
  icon: string;
152
152
  };
153
153
  protocol: {
154
- id: string;
155
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
156
154
  name: string;
157
- description: string;
158
155
  url: string;
156
+ description: string;
157
+ id: string;
158
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
159
159
  icon: string;
160
160
  } | undefined;
161
161
  name: string;
@@ -172,37 +172,37 @@ declare const eden: {
172
172
  campaigns: ({
173
173
  params: any;
174
174
  chain: {
175
- id: number;
176
175
  name: string;
176
+ id: number;
177
177
  icon: string;
178
178
  };
179
179
  rewardToken: {
180
- id: string;
180
+ symbol: string;
181
181
  name: string | null;
182
+ id: string;
182
183
  chainId: number;
183
184
  address: string;
184
- decimals: number;
185
- symbol: string;
186
185
  icon: string;
186
+ decimals: number;
187
187
  verified: boolean;
188
188
  price: number | null;
189
189
  };
190
190
  distributionChain: {
191
- id: number;
192
191
  name: string;
192
+ id: number;
193
193
  icon: string;
194
194
  } | undefined;
195
+ type: import("../../database/api/.generated").$Enums.CampaignType;
195
196
  id: string;
197
+ subType: number | null;
198
+ startTimestamp: bigint;
199
+ endTimestamp: bigint;
196
200
  computeChainId: number;
197
201
  distributionChainId: number;
198
202
  campaignId: string;
199
- type: import("../../database/api/.generated").$Enums.CampaignType;
200
- subType: number | null;
201
203
  rewardTokenId: string;
202
204
  amount: string;
203
205
  opportunityId: string;
204
- startTimestamp: bigint;
205
- endTimestamp: bigint;
206
206
  creatorAddress: string;
207
207
  } | null)[];
208
208
  }) | null | undefined;
@@ -254,9 +254,9 @@ declare const eden: {
254
254
  cumulated: number;
255
255
  timestamp: bigint;
256
256
  breakdowns: {
257
+ type: import("../../database/api/.generated").$Enums.AprType;
257
258
  id: number;
258
259
  identifier: string;
259
- type: import("../../database/api/.generated").$Enums.AprType;
260
260
  value: number;
261
261
  aprRecordId: string;
262
262
  }[];
@@ -266,9 +266,9 @@ declare const eden: {
266
266
  total: number;
267
267
  timestamp: bigint;
268
268
  breakdowns: {
269
+ type: import("../../database/api/.generated").$Enums.TvlType;
269
270
  id: number;
270
271
  identifier: string;
271
- type: import("../../database/api/.generated").$Enums.TvlType;
272
272
  value: number;
273
273
  tvlRecordId: string;
274
274
  }[];
@@ -286,27 +286,27 @@ declare const eden: {
286
286
  };
287
287
  id: string;
288
288
  tokens: {
289
- id: string;
289
+ symbol: string;
290
290
  name: string | null;
291
+ id: string;
291
292
  chainId: number;
292
293
  address: string;
293
- decimals: number;
294
- symbol: string;
295
294
  icon: string;
295
+ decimals: number;
296
296
  verified: boolean;
297
297
  price: number | null;
298
298
  }[];
299
299
  chain: {
300
- id: number;
301
300
  name: string;
301
+ id: number;
302
302
  icon: string;
303
303
  };
304
304
  protocol: {
305
- id: string;
306
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
307
305
  name: string;
308
- description: string;
309
306
  url: string;
307
+ description: string;
308
+ id: string;
309
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
310
310
  icon: string;
311
311
  } | undefined;
312
312
  name: string;
@@ -368,18 +368,18 @@ declare const eden: {
368
368
  fetch?: RequestInit | undefined;
369
369
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
370
370
  200: {
371
+ type: import("../../database/api/.generated").$Enums.CampaignType;
371
372
  id: string;
373
+ params: import("database/api/.generated/runtime/library").JsonValue;
374
+ subType: number | null;
375
+ startTimestamp: bigint;
376
+ endTimestamp: bigint;
372
377
  computeChainId: number;
373
378
  distributionChainId: number;
374
379
  campaignId: string;
375
- type: import("../../database/api/.generated").$Enums.CampaignType;
376
- subType: number | null;
377
380
  rewardTokenId: string;
378
381
  amount: string;
379
382
  opportunityId: string;
380
- startTimestamp: bigint;
381
- endTimestamp: bigint;
382
- params: import("../../database/api/.generated").Prisma.JsonValue;
383
383
  creatorAddress: string;
384
384
  } | undefined;
385
385
  }>>;
@@ -404,37 +404,37 @@ declare const eden: {
404
404
  200: ({
405
405
  params: any;
406
406
  chain: {
407
- id: number;
408
407
  name: string;
408
+ id: number;
409
409
  icon: string;
410
410
  };
411
411
  rewardToken: {
412
- id: string;
412
+ symbol: string;
413
413
  name: string | null;
414
+ id: string;
414
415
  chainId: number;
415
416
  address: string;
416
- decimals: number;
417
- symbol: string;
418
417
  icon: string;
418
+ decimals: number;
419
419
  verified: boolean;
420
420
  price: number | null;
421
421
  };
422
422
  distributionChain: {
423
- id: number;
424
423
  name: string;
424
+ id: number;
425
425
  icon: string;
426
426
  } | undefined;
427
+ type: import("../../database/api/.generated").$Enums.CampaignType;
427
428
  id: string;
429
+ subType: number | null;
430
+ startTimestamp: bigint;
431
+ endTimestamp: bigint;
428
432
  computeChainId: number;
429
433
  distributionChainId: number;
430
434
  campaignId: string;
431
- type: import("../../database/api/.generated").$Enums.CampaignType;
432
- subType: number | null;
433
435
  rewardTokenId: string;
434
436
  amount: string;
435
437
  opportunityId: string;
436
- startTimestamp: bigint;
437
- endTimestamp: bigint;
438
438
  creatorAddress: string;
439
439
  } | null)[];
440
440
  }>>;
@@ -654,9 +654,9 @@ declare const eden: {
654
654
  headers?: Record<string, unknown> | undefined;
655
655
  query: {
656
656
  items?: number | undefined;
657
- chainId?: number | undefined;
658
657
  page?: number | undefined;
659
- campaignId?: string | undefined;
658
+ chainId: number;
659
+ campaignId: string;
660
660
  };
661
661
  fetch?: RequestInit | undefined;
662
662
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -668,13 +668,16 @@ declare const eden: {
668
668
  headers?: Record<string, unknown> | undefined;
669
669
  query: {
670
670
  items?: number | undefined;
671
- chainId?: number | undefined;
672
671
  page?: number | undefined;
673
- campaignId?: string | undefined;
672
+ chainId: number;
673
+ campaignId: string;
674
674
  };
675
675
  fetch?: RequestInit | undefined;
676
676
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
677
- 200: unknown;
677
+ 200: {
678
+ campaignId: string;
679
+ amount: bigint;
680
+ };
678
681
  }>>;
679
682
  };
680
683
  engine: {
@@ -755,15 +758,15 @@ declare const eden: {
755
758
  headers?: Record<string, unknown> | undefined;
756
759
  query: {
757
760
  items?: number | undefined;
758
- chainId?: number | undefined;
759
761
  page?: number | undefined;
760
- campaignId?: string | undefined;
762
+ chainId: number;
763
+ campaignId: string;
761
764
  };
762
765
  fetch?: RequestInit | undefined;
763
766
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
764
767
  200: {
765
768
  count: number;
766
- } | null;
769
+ };
767
770
  }>>;
768
771
  chains: {
769
772
  get: (options: {
@@ -790,13 +793,13 @@ declare const eden: {
790
793
  fetch?: RequestInit | undefined;
791
794
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
792
795
  200: {
793
- id: number;
794
796
  name: string;
797
+ id: number;
795
798
  icon: string;
796
799
  explorers: {
797
- id: string;
798
800
  type: import("../../database/api/.generated").$Enums.ExplorerType;
799
801
  url: string;
802
+ id: string;
800
803
  chainId: number;
801
804
  }[];
802
805
  } | null;
@@ -811,13 +814,13 @@ declare const eden: {
811
814
  fetch?: RequestInit | undefined;
812
815
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
813
816
  200: {
814
- id: number;
815
817
  name: string;
818
+ id: number;
816
819
  icon: string;
817
820
  explorers: {
818
- id: string;
819
821
  type: import("../../database/api/.generated").$Enums.ExplorerType;
820
822
  url: string;
823
+ id: string;
821
824
  chainId: number;
822
825
  }[];
823
826
  }[];
@@ -847,9 +850,9 @@ declare const eden: {
847
850
  fetch?: RequestInit | undefined;
848
851
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
849
852
  200: {
850
- id: string;
851
853
  type: import("../../database/api/.generated").$Enums.ExplorerType;
852
854
  url: string;
855
+ id: string;
853
856
  chainId: number;
854
857
  };
855
858
  }>>;
@@ -898,10 +901,10 @@ declare const eden: {
898
901
  fetch?: RequestInit | undefined;
899
902
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
900
903
  200: {
901
- id: number;
902
904
  symbol: string;
903
905
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
904
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
906
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
907
+ id: number;
905
908
  }[];
906
909
  }>>;
907
910
  post: (body: {
@@ -927,10 +930,10 @@ declare const eden: {
927
930
  fetch?: RequestInit | undefined;
928
931
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
929
932
  200: {
930
- id: number;
931
933
  symbol: string;
932
934
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
933
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
935
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
936
+ id: number;
934
937
  };
935
938
  }>>;
936
939
  patch: (body: {
@@ -945,10 +948,10 @@ declare const eden: {
945
948
  fetch?: RequestInit | undefined;
946
949
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
947
950
  200: {
948
- id: number;
949
951
  symbol: string;
950
952
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
951
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
953
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
954
+ id: number;
952
955
  };
953
956
  }>>;
954
957
  delete: (body: unknown, options: {
@@ -959,10 +962,10 @@ declare const eden: {
959
962
  fetch?: RequestInit | undefined;
960
963
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
961
964
  200: {
962
- id: number;
963
965
  symbol: string;
964
966
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
965
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
967
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
968
+ id: number;
966
969
  };
967
970
  }>>;
968
971
  }) & {};
@@ -981,7 +984,7 @@ declare const eden: {
981
984
  poolAddress: string;
982
985
  userAddress: string;
983
986
  arrestTimestamp: bigint;
984
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
987
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
985
988
  }[];
986
989
  }>>;
987
990
  post: (body: {
@@ -1002,7 +1005,7 @@ declare const eden: {
1002
1005
  poolAddress: string;
1003
1006
  userAddress: string;
1004
1007
  arrestTimestamp: bigint;
1005
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
1008
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
1006
1009
  };
1007
1010
  }>>;
1008
1011
  };
@@ -1067,13 +1070,13 @@ declare const eden: {
1067
1070
  }, "rewards"> & {
1068
1071
  rewards: (Omit<{
1069
1072
  token: {
1070
- id: string;
1073
+ symbol: string;
1071
1074
  name: string | null;
1075
+ id: string;
1072
1076
  chainId: number;
1073
1077
  address: string;
1074
- decimals: number;
1075
- symbol: string;
1076
1078
  icon: string;
1079
+ decimals: number;
1077
1080
  verified: boolean;
1078
1081
  price: number | null;
1079
1082
  };
@@ -1081,63 +1084,63 @@ declare const eden: {
1081
1084
  campaignId: string;
1082
1085
  opportunity: {
1083
1086
  Chain: {
1084
- id: number;
1085
1087
  name: string;
1088
+ id: number;
1086
1089
  icon: string;
1087
1090
  };
1088
1091
  Tokens: {
1089
- id: string;
1092
+ symbol: string;
1090
1093
  name: string | null;
1094
+ id: string;
1091
1095
  chainId: number;
1092
1096
  address: string;
1093
- decimals: number;
1094
- symbol: string;
1095
1097
  icon: string;
1098
+ decimals: number;
1096
1099
  verified: boolean;
1097
1100
  price: number | null;
1098
1101
  }[];
1099
1102
  Protocols: {
1100
- id: string;
1101
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1102
1103
  name: string;
1103
- description: string;
1104
1104
  url: string;
1105
+ description: string;
1106
+ id: string;
1107
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1105
1108
  icon: string;
1106
1109
  }[];
1107
1110
  MainProtocol: {
1108
- id: string;
1109
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1110
1111
  name: string;
1111
- description: string;
1112
1112
  url: string;
1113
+ description: string;
1114
+ id: string;
1115
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1113
1116
  icon: string;
1114
1117
  } | null;
1115
1118
  } & {
1116
- id: string;
1117
- chainId: number;
1118
- type: import("../../database/api/.generated").$Enums.CampaignType;
1119
- identifier: string;
1120
1119
  name: string;
1120
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1121
+ id: string;
1121
1122
  status: import("../../database/api/.generated").$Enums.Status;
1123
+ tags: string[];
1124
+ identifier: string;
1125
+ chainId: number;
1122
1126
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
1123
1127
  mainProtocolId: string | null;
1124
1128
  tvl: number;
1125
1129
  apr: number;
1126
1130
  dailyRewards: number;
1127
- tags: string[];
1128
1131
  };
1129
1132
  reason: string;
1133
+ pending: string;
1130
1134
  amount: string;
1131
1135
  claimed: string;
1132
- pending: string;
1133
1136
  auxiliaryData1: string | null;
1134
1137
  auxiliaryData2: string | null;
1135
1138
  }[];
1136
1139
  claimed: bigint;
1137
1140
  amount: bigint;
1138
1141
  pending: bigint;
1139
- root: string;
1140
1142
  recipient: string;
1143
+ root: string;
1141
1144
  proofs: string[];
1142
1145
  }, "breakdowns"> & {
1143
1146
  breakdowns: {
@@ -1166,13 +1169,13 @@ declare const eden: {
1166
1169
  }, "rewards"> & {
1167
1170
  rewards: (Omit<{
1168
1171
  token: {
1169
- id: string;
1172
+ symbol: string;
1170
1173
  name: string | null;
1174
+ id: string;
1171
1175
  chainId: number;
1172
1176
  address: string;
1173
- decimals: number;
1174
- symbol: string;
1175
1177
  icon: string;
1178
+ decimals: number;
1176
1179
  verified: boolean;
1177
1180
  price: number | null;
1178
1181
  };
@@ -1180,71 +1183,71 @@ declare const eden: {
1180
1183
  campaignId: string;
1181
1184
  opportunity: {
1182
1185
  Chain: {
1183
- id: number;
1184
1186
  name: string;
1187
+ id: number;
1185
1188
  icon: string;
1186
1189
  };
1187
1190
  Tokens: {
1188
- id: string;
1191
+ symbol: string;
1189
1192
  name: string | null;
1193
+ id: string;
1190
1194
  chainId: number;
1191
1195
  address: string;
1192
- decimals: number;
1193
- symbol: string;
1194
1196
  icon: string;
1197
+ decimals: number;
1195
1198
  verified: boolean;
1196
1199
  price: number | null;
1197
1200
  }[];
1198
1201
  Protocols: {
1199
- id: string;
1200
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1201
1202
  name: string;
1202
- description: string;
1203
1203
  url: string;
1204
+ description: string;
1205
+ id: string;
1206
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1204
1207
  icon: string;
1205
1208
  }[];
1206
1209
  MainProtocol: {
1207
- id: string;
1208
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1209
1210
  name: string;
1210
- description: string;
1211
1211
  url: string;
1212
+ description: string;
1213
+ id: string;
1214
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1212
1215
  icon: string;
1213
1216
  } | null;
1214
1217
  } & {
1215
- id: string;
1216
- chainId: number;
1217
- type: import("../../database/api/.generated").$Enums.CampaignType;
1218
- identifier: string;
1219
1218
  name: string;
1219
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1220
+ id: string;
1220
1221
  status: import("../../database/api/.generated").$Enums.Status;
1222
+ tags: string[];
1223
+ identifier: string;
1224
+ chainId: number;
1221
1225
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
1222
1226
  mainProtocolId: string | null;
1223
1227
  tvl: number;
1224
1228
  apr: number;
1225
1229
  dailyRewards: number;
1226
- tags: string[];
1227
1230
  };
1228
1231
  reason: string;
1232
+ pending: string;
1229
1233
  amount: string;
1230
1234
  claimed: string;
1231
- pending: string;
1232
1235
  auxiliaryData1: string | null;
1233
1236
  auxiliaryData2: string | null;
1234
1237
  }[];
1235
1238
  claimed: bigint;
1236
1239
  amount: bigint;
1237
1240
  pending: bigint;
1238
- root: string;
1239
1241
  recipient: string;
1242
+ root: string;
1240
1243
  proofs: string[];
1241
1244
  }, "breakdowns"> & {
1242
1245
  breakdowns: {
1243
1246
  campaignId: string;
1244
1247
  reason: string;
1248
+ pending: string;
1245
1249
  amount: string;
1246
1250
  claimed: string;
1247
- pending: string;
1248
1251
  auxiliaryData1: string | null;
1249
1252
  auxiliaryData2: string | null;
1250
1253
  }[];
@@ -1263,8 +1266,8 @@ declare const eden: {
1263
1266
  fetch?: RequestInit | undefined;
1264
1267
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1265
1268
  200: {
1266
- address: string;
1267
1269
  tags: string[];
1270
+ address: string;
1268
1271
  };
1269
1272
  }>>;
1270
1273
  };
@@ -1281,8 +1284,8 @@ declare const eden: {
1281
1284
  fetch?: RequestInit | undefined;
1282
1285
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1283
1286
  200: {
1284
- address: string;
1285
1287
  tags: string[];
1288
+ address: string;
1286
1289
  }[];
1287
1290
  }>>;
1288
1291
  post: (body: {
@@ -1296,14 +1299,14 @@ declare const eden: {
1296
1299
  fetch?: RequestInit | undefined;
1297
1300
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1298
1301
  200: {
1299
- address: string;
1300
1302
  tags: string[];
1303
+ address: string;
1301
1304
  };
1302
1305
  }>>;
1303
1306
  };
1304
1307
  };
1305
1308
  roots: {
1306
- index: {
1309
+ timestamps: {
1307
1310
  get: (options: {
1308
1311
  headers?: Record<string, unknown> | undefined;
1309
1312
  query: {
@@ -1314,13 +1317,27 @@ declare const eden: {
1314
1317
  fetch?: RequestInit | undefined;
1315
1318
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1316
1319
  200: {
1317
- root: string;
1320
+ timestamp: bigint;
1318
1321
  chainId: number;
1322
+ root: string;
1319
1323
  epoch: number;
1320
- timestamp: bigint;
1321
1324
  }[];
1322
1325
  }>>;
1323
1326
  };
1327
+ index: {
1328
+ get: (options?: {
1329
+ headers?: Record<string, unknown> | undefined;
1330
+ query?: Record<string, unknown> | undefined;
1331
+ fetch?: RequestInit | undefined;
1332
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1333
+ 200: {
1334
+ [chainId: number]: {
1335
+ live: string;
1336
+ lastTree: string;
1337
+ };
1338
+ };
1339
+ }>>;
1340
+ };
1324
1341
  };
1325
1342
  participate: {
1326
1343
  targets: {
@@ -1417,6 +1434,7 @@ declare const eden: {
1417
1434
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1418
1435
  200: {
1419
1436
  id: string;
1437
+ timestamp: number;
1420
1438
  chainId: number;
1421
1439
  fromTokenId: string;
1422
1440
  toTokenId: string;
@@ -1425,7 +1443,6 @@ declare const eden: {
1425
1443
  amountIn: string;
1426
1444
  amountOut: string;
1427
1445
  datetime: Date;
1428
- timestamp: number;
1429
1446
  }[];
1430
1447
  }>>;
1431
1448
  };
@@ -1595,12 +1612,12 @@ declare const eden: {
1595
1612
  fetch?: RequestInit | undefined;
1596
1613
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1597
1614
  200: {
1615
+ error: string;
1616
+ details: import("database/api/.generated/runtime/library").JsonValue;
1617
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1598
1618
  campaignId: string;
1599
1619
  computedUntil: bigint;
1600
1620
  processingStarted: bigint;
1601
- status: import("../../database/api/.generated").$Enums.RunStatus;
1602
- error: string;
1603
- details: import("../../database/api/.generated").Prisma.JsonValue;
1604
1621
  }[];
1605
1622
  }>>;
1606
1623
  };
@@ -1614,27 +1631,27 @@ declare const eden: {
1614
1631
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1615
1632
  200: ({
1616
1633
  Campaign: {
1634
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1617
1635
  id: string;
1636
+ params: import("database/api/.generated/runtime/library").JsonValue;
1637
+ subType: number | null;
1638
+ startTimestamp: bigint;
1639
+ endTimestamp: bigint;
1618
1640
  computeChainId: number;
1619
1641
  distributionChainId: number;
1620
1642
  campaignId: string;
1621
- type: import("../../database/api/.generated").$Enums.CampaignType;
1622
- subType: number | null;
1623
1643
  rewardTokenId: string;
1624
1644
  amount: string;
1625
1645
  opportunityId: string;
1626
- startTimestamp: bigint;
1627
- endTimestamp: bigint;
1628
- params: import("../../database/api/.generated").Prisma.JsonValue;
1629
1646
  creatorAddress: string;
1630
1647
  };
1631
1648
  } & {
1649
+ error: string;
1650
+ details: import("database/api/.generated/runtime/library").JsonValue;
1651
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1632
1652
  campaignId: string;
1633
1653
  computedUntil: bigint;
1634
1654
  processingStarted: bigint;
1635
- status: import("../../database/api/.generated").$Enums.RunStatus;
1636
- error: string;
1637
- details: import("../../database/api/.generated").Prisma.JsonValue;
1638
1655
  })[];
1639
1656
  }>>;
1640
1657
  };
@@ -1648,12 +1665,12 @@ declare const eden: {
1648
1665
  fetch?: RequestInit | undefined;
1649
1666
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1650
1667
  200: {
1668
+ error: string;
1669
+ details: import("database/api/.generated/runtime/library").JsonValue;
1670
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1651
1671
  campaignId: string;
1652
1672
  computedUntil: bigint;
1653
1673
  processingStarted: bigint;
1654
- status: import("../../database/api/.generated").$Enums.RunStatus;
1655
- error: string;
1656
- details: import("../../database/api/.generated").Prisma.JsonValue;
1657
1674
  };
1658
1675
  }>>;
1659
1676
  };
@@ -1666,12 +1683,12 @@ declare const eden: {
1666
1683
  fetch?: RequestInit | undefined;
1667
1684
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1668
1685
  200: {
1686
+ error: string;
1687
+ details: import("database/api/.generated/runtime/library").JsonValue;
1688
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1669
1689
  campaignId: string;
1670
1690
  computedUntil: bigint;
1671
1691
  processingStarted: bigint;
1672
- status: import("../../database/api/.generated").$Enums.RunStatus;
1673
- error: string;
1674
- details: import("../../database/api/.generated").Prisma.JsonValue;
1675
1692
  }[];
1676
1693
  }>>;
1677
1694
  }) & {};
@@ -1783,9 +1800,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1783
1800
  cumulated: number;
1784
1801
  timestamp: bigint;
1785
1802
  breakdowns: {
1803
+ type: import("../../database/api/.generated").$Enums.AprType;
1786
1804
  id: number;
1787
1805
  identifier: string;
1788
- type: import("../../database/api/.generated").$Enums.AprType;
1789
1806
  value: number;
1790
1807
  aprRecordId: string;
1791
1808
  }[];
@@ -1795,9 +1812,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1795
1812
  total: number;
1796
1813
  timestamp: bigint;
1797
1814
  breakdowns: {
1815
+ type: import("../../database/api/.generated").$Enums.TvlType;
1798
1816
  id: number;
1799
1817
  identifier: string;
1800
- type: import("../../database/api/.generated").$Enums.TvlType;
1801
1818
  value: number;
1802
1819
  tvlRecordId: string;
1803
1820
  }[];
@@ -1815,27 +1832,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1815
1832
  };
1816
1833
  id: string;
1817
1834
  tokens: {
1818
- id: string;
1835
+ symbol: string;
1819
1836
  name: string | null;
1837
+ id: string;
1820
1838
  chainId: number;
1821
1839
  address: string;
1822
- decimals: number;
1823
- symbol: string;
1824
1840
  icon: string;
1841
+ decimals: number;
1825
1842
  verified: boolean;
1826
1843
  price: number | null;
1827
1844
  }[];
1828
1845
  chain: {
1829
- id: number;
1830
1846
  name: string;
1847
+ id: number;
1831
1848
  icon: string;
1832
1849
  };
1833
1850
  protocol: {
1834
- id: string;
1835
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1836
1851
  name: string;
1837
- description: string;
1838
1852
  url: string;
1853
+ description: string;
1854
+ id: string;
1855
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1839
1856
  icon: string;
1840
1857
  } | undefined;
1841
1858
  name: string;
@@ -1870,9 +1887,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1870
1887
  cumulated: number;
1871
1888
  timestamp: bigint;
1872
1889
  breakdowns: {
1890
+ type: import("../../database/api/.generated").$Enums.AprType;
1873
1891
  id: number;
1874
1892
  identifier: string;
1875
- type: import("../../database/api/.generated").$Enums.AprType;
1876
1893
  value: number;
1877
1894
  aprRecordId: string;
1878
1895
  }[];
@@ -1882,9 +1899,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1882
1899
  total: number;
1883
1900
  timestamp: bigint;
1884
1901
  breakdowns: {
1902
+ type: import("../../database/api/.generated").$Enums.TvlType;
1885
1903
  id: number;
1886
1904
  identifier: string;
1887
- type: import("../../database/api/.generated").$Enums.TvlType;
1888
1905
  value: number;
1889
1906
  tvlRecordId: string;
1890
1907
  }[];
@@ -1902,27 +1919,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1902
1919
  };
1903
1920
  id: string;
1904
1921
  tokens: {
1905
- id: string;
1922
+ symbol: string;
1906
1923
  name: string | null;
1924
+ id: string;
1907
1925
  chainId: number;
1908
1926
  address: string;
1909
- decimals: number;
1910
- symbol: string;
1911
1927
  icon: string;
1928
+ decimals: number;
1912
1929
  verified: boolean;
1913
1930
  price: number | null;
1914
1931
  }[];
1915
1932
  chain: {
1916
- id: number;
1917
1933
  name: string;
1934
+ id: number;
1918
1935
  icon: string;
1919
1936
  };
1920
1937
  protocol: {
1921
- id: string;
1922
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1923
1938
  name: string;
1924
- description: string;
1925
1939
  url: string;
1940
+ description: string;
1941
+ id: string;
1942
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1926
1943
  icon: string;
1927
1944
  } | undefined;
1928
1945
  name: string;
@@ -1939,37 +1956,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1939
1956
  campaigns: ({
1940
1957
  params: any;
1941
1958
  chain: {
1942
- id: number;
1943
1959
  name: string;
1960
+ id: number;
1944
1961
  icon: string;
1945
1962
  };
1946
1963
  rewardToken: {
1947
- id: string;
1964
+ symbol: string;
1948
1965
  name: string | null;
1966
+ id: string;
1949
1967
  chainId: number;
1950
1968
  address: string;
1951
- decimals: number;
1952
- symbol: string;
1953
1969
  icon: string;
1970
+ decimals: number;
1954
1971
  verified: boolean;
1955
1972
  price: number | null;
1956
1973
  };
1957
1974
  distributionChain: {
1958
- id: number;
1959
1975
  name: string;
1976
+ id: number;
1960
1977
  icon: string;
1961
1978
  } | undefined;
1979
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1962
1980
  id: string;
1981
+ subType: number | null;
1982
+ startTimestamp: bigint;
1983
+ endTimestamp: bigint;
1963
1984
  computeChainId: number;
1964
1985
  distributionChainId: number;
1965
1986
  campaignId: string;
1966
- type: import("../../database/api/.generated").$Enums.CampaignType;
1967
- subType: number | null;
1968
1987
  rewardTokenId: string;
1969
1988
  amount: string;
1970
1989
  opportunityId: string;
1971
- startTimestamp: bigint;
1972
- endTimestamp: bigint;
1973
1990
  creatorAddress: string;
1974
1991
  } | null)[];
1975
1992
  }) | null | undefined;
@@ -2004,9 +2021,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2004
2021
  cumulated: number;
2005
2022
  timestamp: bigint;
2006
2023
  breakdowns: {
2024
+ type: import("../../database/api/.generated").$Enums.AprType;
2007
2025
  id: number;
2008
2026
  identifier: string;
2009
- type: import("../../database/api/.generated").$Enums.AprType;
2010
2027
  value: number;
2011
2028
  aprRecordId: string;
2012
2029
  }[];
@@ -2016,9 +2033,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2016
2033
  total: number;
2017
2034
  timestamp: bigint;
2018
2035
  breakdowns: {
2036
+ type: import("../../database/api/.generated").$Enums.TvlType;
2019
2037
  id: number;
2020
2038
  identifier: string;
2021
- type: import("../../database/api/.generated").$Enums.TvlType;
2022
2039
  value: number;
2023
2040
  tvlRecordId: string;
2024
2041
  }[];
@@ -2036,27 +2053,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2036
2053
  };
2037
2054
  id: string;
2038
2055
  tokens: {
2039
- id: string;
2056
+ symbol: string;
2040
2057
  name: string | null;
2058
+ id: string;
2041
2059
  chainId: number;
2042
2060
  address: string;
2043
- decimals: number;
2044
- symbol: string;
2045
2061
  icon: string;
2062
+ decimals: number;
2046
2063
  verified: boolean;
2047
2064
  price: number | null;
2048
2065
  }[];
2049
2066
  chain: {
2050
- id: number;
2051
2067
  name: string;
2068
+ id: number;
2052
2069
  icon: string;
2053
2070
  };
2054
2071
  protocol: {
2055
- id: string;
2056
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2057
2072
  name: string;
2058
- description: string;
2059
2073
  url: string;
2074
+ description: string;
2075
+ id: string;
2076
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2060
2077
  icon: string;
2061
2078
  } | undefined;
2062
2079
  name: string;
@@ -2128,18 +2145,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2128
2145
  };
2129
2146
  response: {
2130
2147
  200: {
2148
+ type: import("../../database/api/.generated").$Enums.CampaignType;
2131
2149
  id: string;
2150
+ params: import("database/api/.generated/runtime/library").JsonValue;
2151
+ subType: number | null;
2152
+ startTimestamp: bigint;
2153
+ endTimestamp: bigint;
2132
2154
  computeChainId: number;
2133
2155
  distributionChainId: number;
2134
2156
  campaignId: string;
2135
- type: import("../../database/api/.generated").$Enums.CampaignType;
2136
- subType: number | null;
2137
2157
  rewardTokenId: string;
2138
2158
  amount: string;
2139
2159
  opportunityId: string;
2140
- startTimestamp: bigint;
2141
- endTimestamp: bigint;
2142
- params: import("../../database/api/.generated").Prisma.JsonValue;
2143
2160
  creatorAddress: string;
2144
2161
  } | undefined;
2145
2162
  };
@@ -2169,37 +2186,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2169
2186
  200: ({
2170
2187
  params: any;
2171
2188
  chain: {
2172
- id: number;
2173
2189
  name: string;
2190
+ id: number;
2174
2191
  icon: string;
2175
2192
  };
2176
2193
  rewardToken: {
2177
- id: string;
2194
+ symbol: string;
2178
2195
  name: string | null;
2196
+ id: string;
2179
2197
  chainId: number;
2180
2198
  address: string;
2181
- decimals: number;
2182
- symbol: string;
2183
2199
  icon: string;
2200
+ decimals: number;
2184
2201
  verified: boolean;
2185
2202
  price: number | null;
2186
2203
  };
2187
2204
  distributionChain: {
2188
- id: number;
2189
2205
  name: string;
2206
+ id: number;
2190
2207
  icon: string;
2191
2208
  } | undefined;
2209
+ type: import("../../database/api/.generated").$Enums.CampaignType;
2192
2210
  id: string;
2211
+ subType: number | null;
2212
+ startTimestamp: bigint;
2213
+ endTimestamp: bigint;
2193
2214
  computeChainId: number;
2194
2215
  distributionChainId: number;
2195
2216
  campaignId: string;
2196
- type: import("../../database/api/.generated").$Enums.CampaignType;
2197
- subType: number | null;
2198
2217
  rewardTokenId: string;
2199
2218
  amount: string;
2200
2219
  opportunityId: string;
2201
- startTimestamp: bigint;
2202
- endTimestamp: bigint;
2203
2220
  creatorAddress: string;
2204
2221
  } | null)[];
2205
2222
  };
@@ -2477,9 +2494,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2477
2494
  params: Record<never, string>;
2478
2495
  query: {
2479
2496
  items?: number | undefined;
2480
- chainId?: number | undefined;
2481
2497
  page?: number | undefined;
2482
- campaignId?: string | undefined;
2498
+ chainId: number;
2499
+ campaignId: string;
2483
2500
  };
2484
2501
  headers: unknown;
2485
2502
  response: {
@@ -2496,13 +2513,16 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2496
2513
  params: Record<never, string>;
2497
2514
  query: {
2498
2515
  items?: number | undefined;
2499
- chainId?: number | undefined;
2500
2516
  page?: number | undefined;
2501
- campaignId?: string | undefined;
2517
+ chainId: number;
2518
+ campaignId: string;
2502
2519
  };
2503
2520
  headers: unknown;
2504
2521
  response: {
2505
- 200: unknown;
2522
+ 200: {
2523
+ campaignId: string;
2524
+ amount: bigint;
2525
+ };
2506
2526
  };
2507
2527
  };
2508
2528
  };
@@ -2605,15 +2625,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2605
2625
  params: Record<never, string>;
2606
2626
  query: {
2607
2627
  items?: number | undefined;
2608
- chainId?: number | undefined;
2609
2628
  page?: number | undefined;
2610
- campaignId?: string | undefined;
2629
+ chainId: number;
2630
+ campaignId: string;
2611
2631
  };
2612
2632
  headers: unknown;
2613
2633
  response: {
2614
2634
  200: {
2615
2635
  count: number;
2616
- } | null;
2636
+ };
2617
2637
  };
2618
2638
  };
2619
2639
  };
@@ -2653,13 +2673,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2653
2673
  headers: unknown;
2654
2674
  response: {
2655
2675
  200: {
2656
- id: number;
2657
2676
  name: string;
2677
+ id: number;
2658
2678
  icon: string;
2659
2679
  explorers: {
2660
- id: string;
2661
2680
  type: import("../../database/api/.generated").$Enums.ExplorerType;
2662
2681
  url: string;
2682
+ id: string;
2663
2683
  chainId: number;
2664
2684
  }[];
2665
2685
  } | null;
@@ -2677,13 +2697,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2677
2697
  headers: unknown;
2678
2698
  response: {
2679
2699
  200: {
2680
- id: number;
2681
2700
  name: string;
2701
+ id: number;
2682
2702
  icon: string;
2683
2703
  explorers: {
2684
- id: string;
2685
2704
  type: import("../../database/api/.generated").$Enums.ExplorerType;
2686
2705
  url: string;
2706
+ id: string;
2687
2707
  chainId: number;
2688
2708
  }[];
2689
2709
  }[];
@@ -2719,9 +2739,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2719
2739
  };
2720
2740
  response: {
2721
2741
  200: {
2722
- id: string;
2723
2742
  type: import("../../database/api/.generated").$Enums.ExplorerType;
2724
2743
  url: string;
2744
+ id: string;
2725
2745
  chainId: number;
2726
2746
  };
2727
2747
  };
@@ -2786,10 +2806,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2786
2806
  headers: unknown;
2787
2807
  response: {
2788
2808
  200: {
2789
- id: number;
2790
2809
  symbol: string;
2791
2810
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2792
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2811
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2812
+ id: number;
2793
2813
  }[];
2794
2814
  };
2795
2815
  };
@@ -2808,10 +2828,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2808
2828
  headers: unknown;
2809
2829
  response: {
2810
2830
  200: {
2811
- id: number;
2812
2831
  symbol: string;
2813
2832
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2814
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2833
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2834
+ id: number;
2815
2835
  };
2816
2836
  };
2817
2837
  };
@@ -2857,10 +2877,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2857
2877
  };
2858
2878
  response: {
2859
2879
  200: {
2860
- id: number;
2861
2880
  symbol: string;
2862
2881
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2863
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2882
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2883
+ id: number;
2864
2884
  };
2865
2885
  };
2866
2886
  };
@@ -2882,10 +2902,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2882
2902
  };
2883
2903
  response: {
2884
2904
  200: {
2885
- id: number;
2886
2905
  symbol: string;
2887
2906
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2888
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2907
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2908
+ id: number;
2889
2909
  };
2890
2910
  };
2891
2911
  };
@@ -2910,7 +2930,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2910
2930
  poolAddress: string;
2911
2931
  userAddress: string;
2912
2932
  arrestTimestamp: bigint;
2913
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
2933
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
2914
2934
  }[];
2915
2935
  };
2916
2936
  };
@@ -2972,7 +2992,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2972
2992
  poolAddress: string;
2973
2993
  userAddress: string;
2974
2994
  arrestTimestamp: bigint;
2975
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
2995
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
2976
2996
  };
2977
2997
  };
2978
2998
  };
@@ -3015,8 +3035,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3015
3035
  headers: unknown;
3016
3036
  response: {
3017
3037
  200: {
3018
- address: string;
3019
3038
  tags: string[];
3039
+ address: string;
3020
3040
  }[];
3021
3041
  };
3022
3042
  };
@@ -3057,13 +3077,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3057
3077
  }, "rewards"> & {
3058
3078
  rewards: (Omit<{
3059
3079
  token: {
3060
- id: string;
3080
+ symbol: string;
3061
3081
  name: string | null;
3082
+ id: string;
3062
3083
  chainId: number;
3063
3084
  address: string;
3064
- decimals: number;
3065
- symbol: string;
3066
3085
  icon: string;
3086
+ decimals: number;
3067
3087
  verified: boolean;
3068
3088
  price: number | null;
3069
3089
  };
@@ -3071,63 +3091,63 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3071
3091
  campaignId: string;
3072
3092
  opportunity: {
3073
3093
  Chain: {
3074
- id: number;
3075
3094
  name: string;
3095
+ id: number;
3076
3096
  icon: string;
3077
3097
  };
3078
3098
  Tokens: {
3079
- id: string;
3099
+ symbol: string;
3080
3100
  name: string | null;
3101
+ id: string;
3081
3102
  chainId: number;
3082
3103
  address: string;
3083
- decimals: number;
3084
- symbol: string;
3085
3104
  icon: string;
3105
+ decimals: number;
3086
3106
  verified: boolean;
3087
3107
  price: number | null;
3088
3108
  }[];
3089
3109
  Protocols: {
3090
- id: string;
3091
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3092
3110
  name: string;
3093
- description: string;
3094
3111
  url: string;
3112
+ description: string;
3113
+ id: string;
3114
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3095
3115
  icon: string;
3096
3116
  }[];
3097
3117
  MainProtocol: {
3098
- id: string;
3099
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3100
3118
  name: string;
3101
- description: string;
3102
3119
  url: string;
3120
+ description: string;
3121
+ id: string;
3122
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3103
3123
  icon: string;
3104
3124
  } | null;
3105
3125
  } & {
3106
- id: string;
3107
- chainId: number;
3108
- type: import("../../database/api/.generated").$Enums.CampaignType;
3109
- identifier: string;
3110
3126
  name: string;
3127
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3128
+ id: string;
3111
3129
  status: import("../../database/api/.generated").$Enums.Status;
3130
+ tags: string[];
3131
+ identifier: string;
3132
+ chainId: number;
3112
3133
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
3113
3134
  mainProtocolId: string | null;
3114
3135
  tvl: number;
3115
3136
  apr: number;
3116
3137
  dailyRewards: number;
3117
- tags: string[];
3118
3138
  };
3119
3139
  reason: string;
3140
+ pending: string;
3120
3141
  amount: string;
3121
3142
  claimed: string;
3122
- pending: string;
3123
3143
  auxiliaryData1: string | null;
3124
3144
  auxiliaryData2: string | null;
3125
3145
  }[];
3126
3146
  claimed: bigint;
3127
3147
  amount: bigint;
3128
3148
  pending: bigint;
3129
- root: string;
3130
3149
  recipient: string;
3150
+ root: string;
3131
3151
  proofs: string[];
3132
3152
  }, "breakdowns"> & {
3133
3153
  breakdowns: {
@@ -3167,13 +3187,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3167
3187
  }, "rewards"> & {
3168
3188
  rewards: (Omit<{
3169
3189
  token: {
3170
- id: string;
3190
+ symbol: string;
3171
3191
  name: string | null;
3192
+ id: string;
3172
3193
  chainId: number;
3173
3194
  address: string;
3174
- decimals: number;
3175
- symbol: string;
3176
3195
  icon: string;
3196
+ decimals: number;
3177
3197
  verified: boolean;
3178
3198
  price: number | null;
3179
3199
  };
@@ -3181,71 +3201,71 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3181
3201
  campaignId: string;
3182
3202
  opportunity: {
3183
3203
  Chain: {
3184
- id: number;
3185
3204
  name: string;
3205
+ id: number;
3186
3206
  icon: string;
3187
3207
  };
3188
3208
  Tokens: {
3189
- id: string;
3209
+ symbol: string;
3190
3210
  name: string | null;
3211
+ id: string;
3191
3212
  chainId: number;
3192
3213
  address: string;
3193
- decimals: number;
3194
- symbol: string;
3195
3214
  icon: string;
3215
+ decimals: number;
3196
3216
  verified: boolean;
3197
3217
  price: number | null;
3198
3218
  }[];
3199
3219
  Protocols: {
3200
- id: string;
3201
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3202
3220
  name: string;
3203
- description: string;
3204
3221
  url: string;
3222
+ description: string;
3223
+ id: string;
3224
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3205
3225
  icon: string;
3206
3226
  }[];
3207
3227
  MainProtocol: {
3208
- id: string;
3209
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3210
3228
  name: string;
3211
- description: string;
3212
3229
  url: string;
3230
+ description: string;
3231
+ id: string;
3232
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3213
3233
  icon: string;
3214
3234
  } | null;
3215
3235
  } & {
3216
- id: string;
3217
- chainId: number;
3218
- type: import("../../database/api/.generated").$Enums.CampaignType;
3219
- identifier: string;
3220
3236
  name: string;
3237
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3238
+ id: string;
3221
3239
  status: import("../../database/api/.generated").$Enums.Status;
3240
+ tags: string[];
3241
+ identifier: string;
3242
+ chainId: number;
3222
3243
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
3223
3244
  mainProtocolId: string | null;
3224
3245
  tvl: number;
3225
3246
  apr: number;
3226
3247
  dailyRewards: number;
3227
- tags: string[];
3228
3248
  };
3229
3249
  reason: string;
3250
+ pending: string;
3230
3251
  amount: string;
3231
3252
  claimed: string;
3232
- pending: string;
3233
3253
  auxiliaryData1: string | null;
3234
3254
  auxiliaryData2: string | null;
3235
3255
  }[];
3236
3256
  claimed: bigint;
3237
3257
  amount: bigint;
3238
3258
  pending: bigint;
3239
- root: string;
3240
3259
  recipient: string;
3260
+ root: string;
3241
3261
  proofs: string[];
3242
3262
  }, "breakdowns"> & {
3243
3263
  breakdowns: {
3244
3264
  campaignId: string;
3245
3265
  reason: string;
3266
+ pending: string;
3246
3267
  amount: string;
3247
3268
  claimed: string;
3248
- pending: string;
3249
3269
  auxiliaryData1: string | null;
3250
3270
  auxiliaryData2: string | null;
3251
3271
  }[];
@@ -3271,8 +3291,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3271
3291
  };
3272
3292
  response: {
3273
3293
  200: {
3274
- address: string;
3275
3294
  tags: string[];
3295
+ address: string;
3276
3296
  };
3277
3297
  };
3278
3298
  };
@@ -3295,8 +3315,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3295
3315
  };
3296
3316
  response: {
3297
3317
  200: {
3298
- address: string;
3299
3318
  tags: string[];
3319
+ address: string;
3300
3320
  };
3301
3321
  };
3302
3322
  };
@@ -3307,7 +3327,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3307
3327
  } & {
3308
3328
  v4: {
3309
3329
  roots: {
3310
- index: {
3330
+ timestamps: {
3311
3331
  get: {
3312
3332
  body: unknown;
3313
3333
  params: Record<never, string>;
@@ -3319,15 +3339,34 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3319
3339
  headers: unknown;
3320
3340
  response: {
3321
3341
  200: {
3322
- root: string;
3342
+ timestamp: bigint;
3323
3343
  chainId: number;
3344
+ root: string;
3324
3345
  epoch: number;
3325
- timestamp: bigint;
3326
3346
  }[];
3327
3347
  };
3328
3348
  };
3329
3349
  };
3330
3350
  };
3351
+ } & {
3352
+ roots: {
3353
+ index: {
3354
+ get: {
3355
+ body: unknown;
3356
+ params: Record<never, string>;
3357
+ query: unknown;
3358
+ headers: unknown;
3359
+ response: {
3360
+ 200: {
3361
+ [chainId: number]: {
3362
+ live: string;
3363
+ lastTree: string;
3364
+ };
3365
+ };
3366
+ };
3367
+ };
3368
+ };
3369
+ };
3331
3370
  };
3332
3371
  } & {
3333
3372
  v4: {
@@ -3447,6 +3486,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3447
3486
  response: {
3448
3487
  200: {
3449
3488
  id: string;
3489
+ timestamp: number;
3450
3490
  chainId: number;
3451
3491
  fromTokenId: string;
3452
3492
  toTokenId: string;
@@ -3455,7 +3495,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3455
3495
  amountIn: string;
3456
3496
  amountOut: string;
3457
3497
  datetime: Date;
3458
- timestamp: number;
3459
3498
  }[];
3460
3499
  };
3461
3500
  };
@@ -3694,12 +3733,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3694
3733
  headers: unknown;
3695
3734
  response: {
3696
3735
  200: {
3736
+ error: string;
3737
+ details: import("database/api/.generated/runtime/library").JsonValue;
3738
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3697
3739
  campaignId: string;
3698
3740
  computedUntil: bigint;
3699
3741
  processingStarted: bigint;
3700
- status: import("../../database/api/.generated").$Enums.RunStatus;
3701
- error: string;
3702
- details: import("../../database/api/.generated").Prisma.JsonValue;
3703
3742
  }[];
3704
3743
  };
3705
3744
  };
@@ -3718,27 +3757,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3718
3757
  response: {
3719
3758
  200: ({
3720
3759
  Campaign: {
3760
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3721
3761
  id: string;
3762
+ params: import("database/api/.generated/runtime/library").JsonValue;
3763
+ subType: number | null;
3764
+ startTimestamp: bigint;
3765
+ endTimestamp: bigint;
3722
3766
  computeChainId: number;
3723
3767
  distributionChainId: number;
3724
3768
  campaignId: string;
3725
- type: import("../../database/api/.generated").$Enums.CampaignType;
3726
- subType: number | null;
3727
3769
  rewardTokenId: string;
3728
3770
  amount: string;
3729
3771
  opportunityId: string;
3730
- startTimestamp: bigint;
3731
- endTimestamp: bigint;
3732
- params: import("../../database/api/.generated").Prisma.JsonValue;
3733
3772
  creatorAddress: string;
3734
3773
  };
3735
3774
  } & {
3775
+ error: string;
3776
+ details: import("database/api/.generated/runtime/library").JsonValue;
3777
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3736
3778
  campaignId: string;
3737
3779
  computedUntil: bigint;
3738
3780
  processingStarted: bigint;
3739
- status: import("../../database/api/.generated").$Enums.RunStatus;
3740
- error: string;
3741
- details: import("../../database/api/.generated").Prisma.JsonValue;
3742
3781
  })[];
3743
3782
  };
3744
3783
  };
@@ -3757,12 +3796,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3757
3796
  headers: unknown;
3758
3797
  response: {
3759
3798
  200: {
3799
+ error: string;
3800
+ details: import("database/api/.generated/runtime/library").JsonValue;
3801
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3760
3802
  campaignId: string;
3761
3803
  computedUntil: bigint;
3762
3804
  processingStarted: bigint;
3763
- status: import("../../database/api/.generated").$Enums.RunStatus;
3764
- error: string;
3765
- details: import("../../database/api/.generated").Prisma.JsonValue;
3766
3805
  };
3767
3806
  };
3768
3807
  };
@@ -3781,12 +3820,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3781
3820
  headers: unknown;
3782
3821
  response: {
3783
3822
  200: {
3823
+ error: string;
3824
+ details: import("database/api/.generated/runtime/library").JsonValue;
3825
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3784
3826
  campaignId: string;
3785
3827
  computedUntil: bigint;
3786
3828
  processingStarted: bigint;
3787
- status: import("../../database/api/.generated").$Enums.RunStatus;
3788
- error: string;
3789
- details: import("../../database/api/.generated").Prisma.JsonValue;
3790
3829
  }[];
3791
3830
  };
3792
3831
  };
@@ -3850,9 +3889,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3850
3889
  cumulated: number;
3851
3890
  timestamp: bigint;
3852
3891
  breakdowns: {
3892
+ type: import("../../database/api/.generated").$Enums.AprType;
3853
3893
  id: number;
3854
3894
  identifier: string;
3855
- type: import("../../database/api/.generated").$Enums.AprType;
3856
3895
  value: number;
3857
3896
  aprRecordId: string;
3858
3897
  }[];
@@ -3862,9 +3901,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3862
3901
  total: number;
3863
3902
  timestamp: bigint;
3864
3903
  breakdowns: {
3904
+ type: import("../../database/api/.generated").$Enums.TvlType;
3865
3905
  id: number;
3866
3906
  identifier: string;
3867
- type: import("../../database/api/.generated").$Enums.TvlType;
3868
3907
  value: number;
3869
3908
  tvlRecordId: string;
3870
3909
  }[];
@@ -3882,27 +3921,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3882
3921
  };
3883
3922
  id: string;
3884
3923
  tokens: {
3885
- id: string;
3924
+ symbol: string;
3886
3925
  name: string | null;
3926
+ id: string;
3887
3927
  chainId: number;
3888
3928
  address: string;
3889
- decimals: number;
3890
- symbol: string;
3891
3929
  icon: string;
3930
+ decimals: number;
3892
3931
  verified: boolean;
3893
3932
  price: number | null;
3894
3933
  }[];
3895
3934
  chain: {
3896
- id: number;
3897
3935
  name: string;
3936
+ id: number;
3898
3937
  icon: string;
3899
3938
  };
3900
3939
  protocol: {
3901
- id: string;
3902
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3903
3940
  name: string;
3904
- description: string;
3905
3941
  url: string;
3942
+ description: string;
3943
+ id: string;
3944
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3906
3945
  icon: string;
3907
3946
  } | undefined;
3908
3947
  name: string;
@@ -3928,9 +3967,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3928
3967
  cumulated: number;
3929
3968
  timestamp: bigint;
3930
3969
  breakdowns: {
3970
+ type: import("../../database/api/.generated").$Enums.AprType;
3931
3971
  id: number;
3932
3972
  identifier: string;
3933
- type: import("../../database/api/.generated").$Enums.AprType;
3934
3973
  value: number;
3935
3974
  aprRecordId: string;
3936
3975
  }[];
@@ -3940,9 +3979,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3940
3979
  total: number;
3941
3980
  timestamp: bigint;
3942
3981
  breakdowns: {
3982
+ type: import("../../database/api/.generated").$Enums.TvlType;
3943
3983
  id: number;
3944
3984
  identifier: string;
3945
- type: import("../../database/api/.generated").$Enums.TvlType;
3946
3985
  value: number;
3947
3986
  tvlRecordId: string;
3948
3987
  }[];
@@ -3960,27 +3999,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3960
3999
  };
3961
4000
  id: string;
3962
4001
  tokens: {
3963
- id: string;
4002
+ symbol: string;
3964
4003
  name: string | null;
4004
+ id: string;
3965
4005
  chainId: number;
3966
4006
  address: string;
3967
- decimals: number;
3968
- symbol: string;
3969
4007
  icon: string;
4008
+ decimals: number;
3970
4009
  verified: boolean;
3971
4010
  price: number | null;
3972
4011
  }[];
3973
4012
  chain: {
3974
- id: number;
3975
4013
  name: string;
4014
+ id: number;
3976
4015
  icon: string;
3977
4016
  };
3978
4017
  protocol: {
3979
- id: string;
3980
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3981
4018
  name: string;
3982
- description: string;
3983
4019
  url: string;
4020
+ description: string;
4021
+ id: string;
4022
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3984
4023
  icon: string;
3985
4024
  } | undefined;
3986
4025
  name: string;
@@ -3997,37 +4036,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3997
4036
  campaigns: ({
3998
4037
  params: any;
3999
4038
  chain: {
4000
- id: number;
4001
4039
  name: string;
4040
+ id: number;
4002
4041
  icon: string;
4003
4042
  };
4004
4043
  rewardToken: {
4005
- id: string;
4044
+ symbol: string;
4006
4045
  name: string | null;
4046
+ id: string;
4007
4047
  chainId: number;
4008
4048
  address: string;
4009
- decimals: number;
4010
- symbol: string;
4011
4049
  icon: string;
4050
+ decimals: number;
4012
4051
  verified: boolean;
4013
4052
  price: number | null;
4014
4053
  };
4015
4054
  distributionChain: {
4016
- id: number;
4017
4055
  name: string;
4056
+ id: number;
4018
4057
  icon: string;
4019
4058
  } | undefined;
4059
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4020
4060
  id: string;
4061
+ subType: number | null;
4062
+ startTimestamp: bigint;
4063
+ endTimestamp: bigint;
4021
4064
  computeChainId: number;
4022
4065
  distributionChainId: number;
4023
4066
  campaignId: string;
4024
- type: import("../../database/api/.generated").$Enums.CampaignType;
4025
- subType: number | null;
4026
4067
  rewardTokenId: string;
4027
4068
  amount: string;
4028
4069
  opportunityId: string;
4029
- startTimestamp: bigint;
4030
- endTimestamp: bigint;
4031
4070
  creatorAddress: string;
4032
4071
  } | null)[];
4033
4072
  }) | null | undefined;
@@ -4079,9 +4118,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4079
4118
  cumulated: number;
4080
4119
  timestamp: bigint;
4081
4120
  breakdowns: {
4121
+ type: import("../../database/api/.generated").$Enums.AprType;
4082
4122
  id: number;
4083
4123
  identifier: string;
4084
- type: import("../../database/api/.generated").$Enums.AprType;
4085
4124
  value: number;
4086
4125
  aprRecordId: string;
4087
4126
  }[];
@@ -4091,9 +4130,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4091
4130
  total: number;
4092
4131
  timestamp: bigint;
4093
4132
  breakdowns: {
4133
+ type: import("../../database/api/.generated").$Enums.TvlType;
4094
4134
  id: number;
4095
4135
  identifier: string;
4096
- type: import("../../database/api/.generated").$Enums.TvlType;
4097
4136
  value: number;
4098
4137
  tvlRecordId: string;
4099
4138
  }[];
@@ -4111,27 +4150,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4111
4150
  };
4112
4151
  id: string;
4113
4152
  tokens: {
4114
- id: string;
4153
+ symbol: string;
4115
4154
  name: string | null;
4155
+ id: string;
4116
4156
  chainId: number;
4117
4157
  address: string;
4118
- decimals: number;
4119
- symbol: string;
4120
4158
  icon: string;
4159
+ decimals: number;
4121
4160
  verified: boolean;
4122
4161
  price: number | null;
4123
4162
  }[];
4124
4163
  chain: {
4125
- id: number;
4126
4164
  name: string;
4165
+ id: number;
4127
4166
  icon: string;
4128
4167
  };
4129
4168
  protocol: {
4130
- id: string;
4131
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4132
4169
  name: string;
4133
- description: string;
4134
4170
  url: string;
4171
+ description: string;
4172
+ id: string;
4173
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4135
4174
  icon: string;
4136
4175
  } | undefined;
4137
4176
  name: string;
@@ -4193,18 +4232,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4193
4232
  fetch?: RequestInit | undefined;
4194
4233
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4195
4234
  200: {
4235
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4196
4236
  id: string;
4237
+ params: import("database/api/.generated/runtime/library").JsonValue;
4238
+ subType: number | null;
4239
+ startTimestamp: bigint;
4240
+ endTimestamp: bigint;
4197
4241
  computeChainId: number;
4198
4242
  distributionChainId: number;
4199
4243
  campaignId: string;
4200
- type: import("../../database/api/.generated").$Enums.CampaignType;
4201
- subType: number | null;
4202
4244
  rewardTokenId: string;
4203
4245
  amount: string;
4204
4246
  opportunityId: string;
4205
- startTimestamp: bigint;
4206
- endTimestamp: bigint;
4207
- params: import("../../database/api/.generated").Prisma.JsonValue;
4208
4247
  creatorAddress: string;
4209
4248
  } | undefined;
4210
4249
  }>>;
@@ -4229,37 +4268,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4229
4268
  200: ({
4230
4269
  params: any;
4231
4270
  chain: {
4232
- id: number;
4233
4271
  name: string;
4272
+ id: number;
4234
4273
  icon: string;
4235
4274
  };
4236
4275
  rewardToken: {
4237
- id: string;
4276
+ symbol: string;
4238
4277
  name: string | null;
4278
+ id: string;
4239
4279
  chainId: number;
4240
4280
  address: string;
4241
- decimals: number;
4242
- symbol: string;
4243
4281
  icon: string;
4282
+ decimals: number;
4244
4283
  verified: boolean;
4245
4284
  price: number | null;
4246
4285
  };
4247
4286
  distributionChain: {
4248
- id: number;
4249
4287
  name: string;
4288
+ id: number;
4250
4289
  icon: string;
4251
4290
  } | undefined;
4291
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4252
4292
  id: string;
4293
+ subType: number | null;
4294
+ startTimestamp: bigint;
4295
+ endTimestamp: bigint;
4253
4296
  computeChainId: number;
4254
4297
  distributionChainId: number;
4255
4298
  campaignId: string;
4256
- type: import("../../database/api/.generated").$Enums.CampaignType;
4257
- subType: number | null;
4258
4299
  rewardTokenId: string;
4259
4300
  amount: string;
4260
4301
  opportunityId: string;
4261
- startTimestamp: bigint;
4262
- endTimestamp: bigint;
4263
4302
  creatorAddress: string;
4264
4303
  } | null)[];
4265
4304
  }>>;
@@ -4479,9 +4518,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4479
4518
  headers?: Record<string, unknown> | undefined;
4480
4519
  query: {
4481
4520
  items?: number | undefined;
4482
- chainId?: number | undefined;
4483
4521
  page?: number | undefined;
4484
- campaignId?: string | undefined;
4522
+ chainId: number;
4523
+ campaignId: string;
4485
4524
  };
4486
4525
  fetch?: RequestInit | undefined;
4487
4526
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4493,13 +4532,16 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4493
4532
  headers?: Record<string, unknown> | undefined;
4494
4533
  query: {
4495
4534
  items?: number | undefined;
4496
- chainId?: number | undefined;
4497
4535
  page?: number | undefined;
4498
- campaignId?: string | undefined;
4536
+ chainId: number;
4537
+ campaignId: string;
4499
4538
  };
4500
4539
  fetch?: RequestInit | undefined;
4501
4540
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4502
- 200: unknown;
4541
+ 200: {
4542
+ campaignId: string;
4543
+ amount: bigint;
4544
+ };
4503
4545
  }>>;
4504
4546
  };
4505
4547
  engine: {
@@ -4580,15 +4622,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4580
4622
  headers?: Record<string, unknown> | undefined;
4581
4623
  query: {
4582
4624
  items?: number | undefined;
4583
- chainId?: number | undefined;
4584
4625
  page?: number | undefined;
4585
- campaignId?: string | undefined;
4626
+ chainId: number;
4627
+ campaignId: string;
4586
4628
  };
4587
4629
  fetch?: RequestInit | undefined;
4588
4630
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4589
4631
  200: {
4590
4632
  count: number;
4591
- } | null;
4633
+ };
4592
4634
  }>>;
4593
4635
  chains: {
4594
4636
  get: (options: {
@@ -4615,13 +4657,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4615
4657
  fetch?: RequestInit | undefined;
4616
4658
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4617
4659
  200: {
4618
- id: number;
4619
4660
  name: string;
4661
+ id: number;
4620
4662
  icon: string;
4621
4663
  explorers: {
4622
- id: string;
4623
4664
  type: import("../../database/api/.generated").$Enums.ExplorerType;
4624
4665
  url: string;
4666
+ id: string;
4625
4667
  chainId: number;
4626
4668
  }[];
4627
4669
  } | null;
@@ -4636,13 +4678,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4636
4678
  fetch?: RequestInit | undefined;
4637
4679
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4638
4680
  200: {
4639
- id: number;
4640
4681
  name: string;
4682
+ id: number;
4641
4683
  icon: string;
4642
4684
  explorers: {
4643
- id: string;
4644
4685
  type: import("../../database/api/.generated").$Enums.ExplorerType;
4645
4686
  url: string;
4687
+ id: string;
4646
4688
  chainId: number;
4647
4689
  }[];
4648
4690
  }[];
@@ -4672,9 +4714,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4672
4714
  fetch?: RequestInit | undefined;
4673
4715
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4674
4716
  200: {
4675
- id: string;
4676
4717
  type: import("../../database/api/.generated").$Enums.ExplorerType;
4677
4718
  url: string;
4719
+ id: string;
4678
4720
  chainId: number;
4679
4721
  };
4680
4722
  }>>;
@@ -4723,10 +4765,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4723
4765
  fetch?: RequestInit | undefined;
4724
4766
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4725
4767
  200: {
4726
- id: number;
4727
4768
  symbol: string;
4728
4769
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4729
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4770
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4771
+ id: number;
4730
4772
  }[];
4731
4773
  }>>;
4732
4774
  post: (body: {
@@ -4752,10 +4794,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4752
4794
  fetch?: RequestInit | undefined;
4753
4795
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4754
4796
  200: {
4755
- id: number;
4756
4797
  symbol: string;
4757
4798
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4758
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4799
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4800
+ id: number;
4759
4801
  };
4760
4802
  }>>;
4761
4803
  patch: (body: {
@@ -4770,10 +4812,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4770
4812
  fetch?: RequestInit | undefined;
4771
4813
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4772
4814
  200: {
4773
- id: number;
4774
4815
  symbol: string;
4775
4816
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4776
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4817
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4818
+ id: number;
4777
4819
  };
4778
4820
  }>>;
4779
4821
  delete: (body: unknown, options: {
@@ -4784,10 +4826,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4784
4826
  fetch?: RequestInit | undefined;
4785
4827
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4786
4828
  200: {
4787
- id: number;
4788
4829
  symbol: string;
4789
4830
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4790
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4831
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4832
+ id: number;
4791
4833
  };
4792
4834
  }>>;
4793
4835
  }) & {};
@@ -4806,7 +4848,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4806
4848
  poolAddress: string;
4807
4849
  userAddress: string;
4808
4850
  arrestTimestamp: bigint;
4809
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
4851
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
4810
4852
  }[];
4811
4853
  }>>;
4812
4854
  post: (body: {
@@ -4827,7 +4869,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4827
4869
  poolAddress: string;
4828
4870
  userAddress: string;
4829
4871
  arrestTimestamp: bigint;
4830
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
4872
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
4831
4873
  };
4832
4874
  }>>;
4833
4875
  };
@@ -4892,13 +4934,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4892
4934
  }, "rewards"> & {
4893
4935
  rewards: (Omit<{
4894
4936
  token: {
4895
- id: string;
4937
+ symbol: string;
4896
4938
  name: string | null;
4939
+ id: string;
4897
4940
  chainId: number;
4898
4941
  address: string;
4899
- decimals: number;
4900
- symbol: string;
4901
4942
  icon: string;
4943
+ decimals: number;
4902
4944
  verified: boolean;
4903
4945
  price: number | null;
4904
4946
  };
@@ -4906,63 +4948,63 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4906
4948
  campaignId: string;
4907
4949
  opportunity: {
4908
4950
  Chain: {
4909
- id: number;
4910
4951
  name: string;
4952
+ id: number;
4911
4953
  icon: string;
4912
4954
  };
4913
4955
  Tokens: {
4914
- id: string;
4956
+ symbol: string;
4915
4957
  name: string | null;
4958
+ id: string;
4916
4959
  chainId: number;
4917
4960
  address: string;
4918
- decimals: number;
4919
- symbol: string;
4920
4961
  icon: string;
4962
+ decimals: number;
4921
4963
  verified: boolean;
4922
4964
  price: number | null;
4923
4965
  }[];
4924
4966
  Protocols: {
4925
- id: string;
4926
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4927
4967
  name: string;
4928
- description: string;
4929
4968
  url: string;
4969
+ description: string;
4970
+ id: string;
4971
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4930
4972
  icon: string;
4931
4973
  }[];
4932
4974
  MainProtocol: {
4933
- id: string;
4934
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4935
4975
  name: string;
4936
- description: string;
4937
4976
  url: string;
4977
+ description: string;
4978
+ id: string;
4979
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4938
4980
  icon: string;
4939
4981
  } | null;
4940
4982
  } & {
4941
- id: string;
4942
- chainId: number;
4943
- type: import("../../database/api/.generated").$Enums.CampaignType;
4944
- identifier: string;
4945
4983
  name: string;
4984
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4985
+ id: string;
4946
4986
  status: import("../../database/api/.generated").$Enums.Status;
4987
+ tags: string[];
4988
+ identifier: string;
4989
+ chainId: number;
4947
4990
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
4948
4991
  mainProtocolId: string | null;
4949
4992
  tvl: number;
4950
4993
  apr: number;
4951
4994
  dailyRewards: number;
4952
- tags: string[];
4953
4995
  };
4954
4996
  reason: string;
4997
+ pending: string;
4955
4998
  amount: string;
4956
4999
  claimed: string;
4957
- pending: string;
4958
5000
  auxiliaryData1: string | null;
4959
5001
  auxiliaryData2: string | null;
4960
5002
  }[];
4961
5003
  claimed: bigint;
4962
5004
  amount: bigint;
4963
5005
  pending: bigint;
4964
- root: string;
4965
5006
  recipient: string;
5007
+ root: string;
4966
5008
  proofs: string[];
4967
5009
  }, "breakdowns"> & {
4968
5010
  breakdowns: {
@@ -4991,13 +5033,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4991
5033
  }, "rewards"> & {
4992
5034
  rewards: (Omit<{
4993
5035
  token: {
4994
- id: string;
5036
+ symbol: string;
4995
5037
  name: string | null;
5038
+ id: string;
4996
5039
  chainId: number;
4997
5040
  address: string;
4998
- decimals: number;
4999
- symbol: string;
5000
5041
  icon: string;
5042
+ decimals: number;
5001
5043
  verified: boolean;
5002
5044
  price: number | null;
5003
5045
  };
@@ -5005,71 +5047,71 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5005
5047
  campaignId: string;
5006
5048
  opportunity: {
5007
5049
  Chain: {
5008
- id: number;
5009
5050
  name: string;
5051
+ id: number;
5010
5052
  icon: string;
5011
5053
  };
5012
5054
  Tokens: {
5013
- id: string;
5055
+ symbol: string;
5014
5056
  name: string | null;
5057
+ id: string;
5015
5058
  chainId: number;
5016
5059
  address: string;
5017
- decimals: number;
5018
- symbol: string;
5019
5060
  icon: string;
5061
+ decimals: number;
5020
5062
  verified: boolean;
5021
5063
  price: number | null;
5022
5064
  }[];
5023
5065
  Protocols: {
5024
- id: string;
5025
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
5026
5066
  name: string;
5027
- description: string;
5028
5067
  url: string;
5068
+ description: string;
5069
+ id: string;
5070
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
5029
5071
  icon: string;
5030
5072
  }[];
5031
5073
  MainProtocol: {
5032
- id: string;
5033
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
5034
5074
  name: string;
5035
- description: string;
5036
5075
  url: string;
5076
+ description: string;
5077
+ id: string;
5078
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
5037
5079
  icon: string;
5038
5080
  } | null;
5039
5081
  } & {
5040
- id: string;
5041
- chainId: number;
5042
- type: import("../../database/api/.generated").$Enums.CampaignType;
5043
- identifier: string;
5044
5082
  name: string;
5083
+ type: import("../../database/api/.generated").$Enums.CampaignType;
5084
+ id: string;
5045
5085
  status: import("../../database/api/.generated").$Enums.Status;
5086
+ tags: string[];
5087
+ identifier: string;
5088
+ chainId: number;
5046
5089
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
5047
5090
  mainProtocolId: string | null;
5048
5091
  tvl: number;
5049
5092
  apr: number;
5050
5093
  dailyRewards: number;
5051
- tags: string[];
5052
5094
  };
5053
5095
  reason: string;
5096
+ pending: string;
5054
5097
  amount: string;
5055
5098
  claimed: string;
5056
- pending: string;
5057
5099
  auxiliaryData1: string | null;
5058
5100
  auxiliaryData2: string | null;
5059
5101
  }[];
5060
5102
  claimed: bigint;
5061
5103
  amount: bigint;
5062
5104
  pending: bigint;
5063
- root: string;
5064
5105
  recipient: string;
5106
+ root: string;
5065
5107
  proofs: string[];
5066
5108
  }, "breakdowns"> & {
5067
5109
  breakdowns: {
5068
5110
  campaignId: string;
5069
5111
  reason: string;
5112
+ pending: string;
5070
5113
  amount: string;
5071
5114
  claimed: string;
5072
- pending: string;
5073
5115
  auxiliaryData1: string | null;
5074
5116
  auxiliaryData2: string | null;
5075
5117
  }[];
@@ -5088,8 +5130,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5088
5130
  fetch?: RequestInit | undefined;
5089
5131
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5090
5132
  200: {
5091
- address: string;
5092
5133
  tags: string[];
5134
+ address: string;
5093
5135
  };
5094
5136
  }>>;
5095
5137
  };
@@ -5106,8 +5148,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5106
5148
  fetch?: RequestInit | undefined;
5107
5149
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5108
5150
  200: {
5109
- address: string;
5110
5151
  tags: string[];
5152
+ address: string;
5111
5153
  }[];
5112
5154
  }>>;
5113
5155
  post: (body: {
@@ -5121,14 +5163,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5121
5163
  fetch?: RequestInit | undefined;
5122
5164
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5123
5165
  200: {
5124
- address: string;
5125
5166
  tags: string[];
5167
+ address: string;
5126
5168
  };
5127
5169
  }>>;
5128
5170
  };
5129
5171
  };
5130
5172
  roots: {
5131
- index: {
5173
+ timestamps: {
5132
5174
  get: (options: {
5133
5175
  headers?: Record<string, unknown> | undefined;
5134
5176
  query: {
@@ -5139,13 +5181,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5139
5181
  fetch?: RequestInit | undefined;
5140
5182
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5141
5183
  200: {
5142
- root: string;
5184
+ timestamp: bigint;
5143
5185
  chainId: number;
5186
+ root: string;
5144
5187
  epoch: number;
5145
- timestamp: bigint;
5146
5188
  }[];
5147
5189
  }>>;
5148
5190
  };
5191
+ index: {
5192
+ get: (options?: {
5193
+ headers?: Record<string, unknown> | undefined;
5194
+ query?: Record<string, unknown> | undefined;
5195
+ fetch?: RequestInit | undefined;
5196
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5197
+ 200: {
5198
+ [chainId: number]: {
5199
+ live: string;
5200
+ lastTree: string;
5201
+ };
5202
+ };
5203
+ }>>;
5204
+ };
5149
5205
  };
5150
5206
  participate: {
5151
5207
  targets: {
@@ -5242,6 +5298,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5242
5298
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5243
5299
  200: {
5244
5300
  id: string;
5301
+ timestamp: number;
5245
5302
  chainId: number;
5246
5303
  fromTokenId: string;
5247
5304
  toTokenId: string;
@@ -5250,7 +5307,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5250
5307
  amountIn: string;
5251
5308
  amountOut: string;
5252
5309
  datetime: Date;
5253
- timestamp: number;
5254
5310
  }[];
5255
5311
  }>>;
5256
5312
  };
@@ -5420,12 +5476,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5420
5476
  fetch?: RequestInit | undefined;
5421
5477
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5422
5478
  200: {
5479
+ error: string;
5480
+ details: import("database/api/.generated/runtime/library").JsonValue;
5481
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5423
5482
  campaignId: string;
5424
5483
  computedUntil: bigint;
5425
5484
  processingStarted: bigint;
5426
- status: import("../../database/api/.generated").$Enums.RunStatus;
5427
- error: string;
5428
- details: import("../../database/api/.generated").Prisma.JsonValue;
5429
5485
  }[];
5430
5486
  }>>;
5431
5487
  };
@@ -5439,27 +5495,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5439
5495
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5440
5496
  200: ({
5441
5497
  Campaign: {
5498
+ type: import("../../database/api/.generated").$Enums.CampaignType;
5442
5499
  id: string;
5500
+ params: import("database/api/.generated/runtime/library").JsonValue;
5501
+ subType: number | null;
5502
+ startTimestamp: bigint;
5503
+ endTimestamp: bigint;
5443
5504
  computeChainId: number;
5444
5505
  distributionChainId: number;
5445
5506
  campaignId: string;
5446
- type: import("../../database/api/.generated").$Enums.CampaignType;
5447
- subType: number | null;
5448
5507
  rewardTokenId: string;
5449
5508
  amount: string;
5450
5509
  opportunityId: string;
5451
- startTimestamp: bigint;
5452
- endTimestamp: bigint;
5453
- params: import("../../database/api/.generated").Prisma.JsonValue;
5454
5510
  creatorAddress: string;
5455
5511
  };
5456
5512
  } & {
5513
+ error: string;
5514
+ details: import("database/api/.generated/runtime/library").JsonValue;
5515
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5457
5516
  campaignId: string;
5458
5517
  computedUntil: bigint;
5459
5518
  processingStarted: bigint;
5460
- status: import("../../database/api/.generated").$Enums.RunStatus;
5461
- error: string;
5462
- details: import("../../database/api/.generated").Prisma.JsonValue;
5463
5519
  })[];
5464
5520
  }>>;
5465
5521
  };
@@ -5473,12 +5529,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5473
5529
  fetch?: RequestInit | undefined;
5474
5530
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5475
5531
  200: {
5532
+ error: string;
5533
+ details: import("database/api/.generated/runtime/library").JsonValue;
5534
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5476
5535
  campaignId: string;
5477
5536
  computedUntil: bigint;
5478
5537
  processingStarted: bigint;
5479
- status: import("../../database/api/.generated").$Enums.RunStatus;
5480
- error: string;
5481
- details: import("../../database/api/.generated").Prisma.JsonValue;
5482
5538
  };
5483
5539
  }>>;
5484
5540
  };
@@ -5491,12 +5547,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5491
5547
  fetch?: RequestInit | undefined;
5492
5548
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5493
5549
  200: {
5550
+ error: string;
5551
+ details: import("database/api/.generated/runtime/library").JsonValue;
5552
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5494
5553
  campaignId: string;
5495
5554
  computedUntil: bigint;
5496
5555
  processingStarted: bigint;
5497
- status: import("../../database/api/.generated").$Enums.RunStatus;
5498
- error: string;
5499
- details: import("../../database/api/.generated").Prisma.JsonValue;
5500
5556
  }[];
5501
5557
  }>>;
5502
5558
  }) & {};