@merkl/api 0.10.115 → 0.10.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -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,16 +758,30 @@ 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
  }>>;
771
+ chains: {
772
+ get: (options: {
773
+ headers: {
774
+ authorization: string;
775
+ };
776
+ query?: Record<string, unknown> | undefined;
777
+ fetch?: RequestInit | undefined;
778
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
779
+ 200: Record<string, {
780
+ breakdown: number;
781
+ rewards: Record<string, number>;
782
+ }>;
783
+ }>>;
784
+ };
768
785
  };
769
786
  };
770
787
  chains: ((params: {
@@ -776,13 +793,13 @@ declare const eden: {
776
793
  fetch?: RequestInit | undefined;
777
794
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
778
795
  200: {
779
- id: number;
780
796
  name: string;
797
+ id: number;
781
798
  icon: string;
782
799
  explorers: {
783
- id: string;
784
800
  type: import("../../database/api/.generated").$Enums.ExplorerType;
785
801
  url: string;
802
+ id: string;
786
803
  chainId: number;
787
804
  }[];
788
805
  } | null;
@@ -797,13 +814,13 @@ declare const eden: {
797
814
  fetch?: RequestInit | undefined;
798
815
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
799
816
  200: {
800
- id: number;
801
817
  name: string;
818
+ id: number;
802
819
  icon: string;
803
820
  explorers: {
804
- id: string;
805
821
  type: import("../../database/api/.generated").$Enums.ExplorerType;
806
822
  url: string;
823
+ id: string;
807
824
  chainId: number;
808
825
  }[];
809
826
  }[];
@@ -833,9 +850,9 @@ declare const eden: {
833
850
  fetch?: RequestInit | undefined;
834
851
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
835
852
  200: {
836
- id: string;
837
853
  type: import("../../database/api/.generated").$Enums.ExplorerType;
838
854
  url: string;
855
+ id: string;
839
856
  chainId: number;
840
857
  };
841
858
  }>>;
@@ -884,10 +901,10 @@ declare const eden: {
884
901
  fetch?: RequestInit | undefined;
885
902
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
886
903
  200: {
887
- id: number;
888
904
  symbol: string;
889
905
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
890
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
906
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
907
+ id: number;
891
908
  }[];
892
909
  }>>;
893
910
  post: (body: {
@@ -913,10 +930,10 @@ declare const eden: {
913
930
  fetch?: RequestInit | undefined;
914
931
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
915
932
  200: {
916
- id: number;
917
933
  symbol: string;
918
934
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
919
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
935
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
936
+ id: number;
920
937
  };
921
938
  }>>;
922
939
  patch: (body: {
@@ -931,10 +948,10 @@ declare const eden: {
931
948
  fetch?: RequestInit | undefined;
932
949
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
933
950
  200: {
934
- id: number;
935
951
  symbol: string;
936
952
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
937
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
953
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
954
+ id: number;
938
955
  };
939
956
  }>>;
940
957
  delete: (body: unknown, options: {
@@ -945,10 +962,10 @@ declare const eden: {
945
962
  fetch?: RequestInit | undefined;
946
963
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
947
964
  200: {
948
- id: number;
949
965
  symbol: string;
950
966
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
951
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
967
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
968
+ id: number;
952
969
  };
953
970
  }>>;
954
971
  }) & {};
@@ -967,7 +984,7 @@ declare const eden: {
967
984
  poolAddress: string;
968
985
  userAddress: string;
969
986
  arrestTimestamp: bigint;
970
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
987
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
971
988
  }[];
972
989
  }>>;
973
990
  post: (body: {
@@ -988,7 +1005,7 @@ declare const eden: {
988
1005
  poolAddress: string;
989
1006
  userAddress: string;
990
1007
  arrestTimestamp: bigint;
991
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
1008
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
992
1009
  };
993
1010
  }>>;
994
1011
  };
@@ -998,7 +1015,9 @@ declare const eden: {
998
1015
  query?: Record<string, unknown> | undefined;
999
1016
  fetch?: RequestInit | undefined;
1000
1017
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1001
- 200: string[];
1018
+ 200: {
1019
+ [address: string]: boolean;
1020
+ };
1002
1021
  }>>;
1003
1022
  };
1004
1023
  check: ((params: {
@@ -1051,13 +1070,13 @@ declare const eden: {
1051
1070
  }, "rewards"> & {
1052
1071
  rewards: (Omit<{
1053
1072
  token: {
1054
- id: string;
1073
+ symbol: string;
1055
1074
  name: string | null;
1075
+ id: string;
1056
1076
  chainId: number;
1057
1077
  address: string;
1058
- decimals: number;
1059
- symbol: string;
1060
1078
  icon: string;
1079
+ decimals: number;
1061
1080
  verified: boolean;
1062
1081
  price: number | null;
1063
1082
  };
@@ -1065,63 +1084,63 @@ declare const eden: {
1065
1084
  campaignId: string;
1066
1085
  opportunity: {
1067
1086
  Chain: {
1068
- id: number;
1069
1087
  name: string;
1088
+ id: number;
1070
1089
  icon: string;
1071
1090
  };
1072
1091
  Tokens: {
1073
- id: string;
1092
+ symbol: string;
1074
1093
  name: string | null;
1094
+ id: string;
1075
1095
  chainId: number;
1076
1096
  address: string;
1077
- decimals: number;
1078
- symbol: string;
1079
1097
  icon: string;
1098
+ decimals: number;
1080
1099
  verified: boolean;
1081
1100
  price: number | null;
1082
1101
  }[];
1083
1102
  Protocols: {
1084
- id: string;
1085
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1086
1103
  name: string;
1087
- description: string;
1088
1104
  url: string;
1105
+ description: string;
1106
+ id: string;
1107
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1089
1108
  icon: string;
1090
1109
  }[];
1091
1110
  MainProtocol: {
1092
- id: string;
1093
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1094
1111
  name: string;
1095
- description: string;
1096
1112
  url: string;
1113
+ description: string;
1114
+ id: string;
1115
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1097
1116
  icon: string;
1098
1117
  } | null;
1099
1118
  } & {
1100
- id: string;
1101
- chainId: number;
1102
- type: import("../../database/api/.generated").$Enums.CampaignType;
1103
- identifier: string;
1104
1119
  name: string;
1120
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1121
+ id: string;
1105
1122
  status: import("../../database/api/.generated").$Enums.Status;
1123
+ tags: string[];
1124
+ identifier: string;
1125
+ chainId: number;
1106
1126
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
1107
1127
  mainProtocolId: string | null;
1108
1128
  tvl: number;
1109
1129
  apr: number;
1110
1130
  dailyRewards: number;
1111
- tags: string[];
1112
1131
  };
1113
1132
  reason: string;
1133
+ pending: string;
1114
1134
  amount: string;
1115
1135
  claimed: string;
1116
- pending: string;
1117
1136
  auxiliaryData1: string | null;
1118
1137
  auxiliaryData2: string | null;
1119
1138
  }[];
1120
1139
  claimed: bigint;
1121
1140
  amount: bigint;
1122
1141
  pending: bigint;
1123
- root: string;
1124
1142
  recipient: string;
1143
+ root: string;
1125
1144
  proofs: string[];
1126
1145
  }, "breakdowns"> & {
1127
1146
  breakdowns: {
@@ -1150,13 +1169,13 @@ declare const eden: {
1150
1169
  }, "rewards"> & {
1151
1170
  rewards: (Omit<{
1152
1171
  token: {
1153
- id: string;
1172
+ symbol: string;
1154
1173
  name: string | null;
1174
+ id: string;
1155
1175
  chainId: number;
1156
1176
  address: string;
1157
- decimals: number;
1158
- symbol: string;
1159
1177
  icon: string;
1178
+ decimals: number;
1160
1179
  verified: boolean;
1161
1180
  price: number | null;
1162
1181
  };
@@ -1164,71 +1183,71 @@ declare const eden: {
1164
1183
  campaignId: string;
1165
1184
  opportunity: {
1166
1185
  Chain: {
1167
- id: number;
1168
1186
  name: string;
1187
+ id: number;
1169
1188
  icon: string;
1170
1189
  };
1171
1190
  Tokens: {
1172
- id: string;
1191
+ symbol: string;
1173
1192
  name: string | null;
1193
+ id: string;
1174
1194
  chainId: number;
1175
1195
  address: string;
1176
- decimals: number;
1177
- symbol: string;
1178
1196
  icon: string;
1197
+ decimals: number;
1179
1198
  verified: boolean;
1180
1199
  price: number | null;
1181
1200
  }[];
1182
1201
  Protocols: {
1183
- id: string;
1184
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1185
1202
  name: string;
1186
- description: string;
1187
1203
  url: string;
1204
+ description: string;
1205
+ id: string;
1206
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1188
1207
  icon: string;
1189
1208
  }[];
1190
1209
  MainProtocol: {
1191
- id: string;
1192
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1193
1210
  name: string;
1194
- description: string;
1195
1211
  url: string;
1212
+ description: string;
1213
+ id: string;
1214
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1196
1215
  icon: string;
1197
1216
  } | null;
1198
1217
  } & {
1199
- id: string;
1200
- chainId: number;
1201
- type: import("../../database/api/.generated").$Enums.CampaignType;
1202
- identifier: string;
1203
1218
  name: string;
1219
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1220
+ id: string;
1204
1221
  status: import("../../database/api/.generated").$Enums.Status;
1222
+ tags: string[];
1223
+ identifier: string;
1224
+ chainId: number;
1205
1225
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
1206
1226
  mainProtocolId: string | null;
1207
1227
  tvl: number;
1208
1228
  apr: number;
1209
1229
  dailyRewards: number;
1210
- tags: string[];
1211
1230
  };
1212
1231
  reason: string;
1232
+ pending: string;
1213
1233
  amount: string;
1214
1234
  claimed: string;
1215
- pending: string;
1216
1235
  auxiliaryData1: string | null;
1217
1236
  auxiliaryData2: string | null;
1218
1237
  }[];
1219
1238
  claimed: bigint;
1220
1239
  amount: bigint;
1221
1240
  pending: bigint;
1222
- root: string;
1223
1241
  recipient: string;
1242
+ root: string;
1224
1243
  proofs: string[];
1225
1244
  }, "breakdowns"> & {
1226
1245
  breakdowns: {
1227
1246
  campaignId: string;
1228
1247
  reason: string;
1248
+ pending: string;
1229
1249
  amount: string;
1230
1250
  claimed: string;
1231
- pending: string;
1232
1251
  auxiliaryData1: string | null;
1233
1252
  auxiliaryData2: string | null;
1234
1253
  }[];
@@ -1247,8 +1266,8 @@ declare const eden: {
1247
1266
  fetch?: RequestInit | undefined;
1248
1267
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1249
1268
  200: {
1250
- address: string;
1251
1269
  tags: string[];
1270
+ address: string;
1252
1271
  };
1253
1272
  }>>;
1254
1273
  };
@@ -1265,8 +1284,8 @@ declare const eden: {
1265
1284
  fetch?: RequestInit | undefined;
1266
1285
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1267
1286
  200: {
1268
- address: string;
1269
1287
  tags: string[];
1288
+ address: string;
1270
1289
  }[];
1271
1290
  }>>;
1272
1291
  post: (body: {
@@ -1280,14 +1299,14 @@ declare const eden: {
1280
1299
  fetch?: RequestInit | undefined;
1281
1300
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1282
1301
  200: {
1283
- address: string;
1284
1302
  tags: string[];
1303
+ address: string;
1285
1304
  };
1286
1305
  }>>;
1287
1306
  };
1288
1307
  };
1289
1308
  roots: {
1290
- index: {
1309
+ timestamps: {
1291
1310
  get: (options: {
1292
1311
  headers?: Record<string, unknown> | undefined;
1293
1312
  query: {
@@ -1298,13 +1317,27 @@ declare const eden: {
1298
1317
  fetch?: RequestInit | undefined;
1299
1318
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1300
1319
  200: {
1301
- root: string;
1320
+ timestamp: bigint;
1302
1321
  chainId: number;
1322
+ root: string;
1303
1323
  epoch: number;
1304
- timestamp: bigint;
1305
1324
  }[];
1306
1325
  }>>;
1307
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
+ };
1308
1341
  };
1309
1342
  participate: {
1310
1343
  targets: {
@@ -1401,6 +1434,7 @@ declare const eden: {
1401
1434
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1402
1435
  200: {
1403
1436
  id: string;
1437
+ timestamp: number;
1404
1438
  chainId: number;
1405
1439
  fromTokenId: string;
1406
1440
  toTokenId: string;
@@ -1409,7 +1443,6 @@ declare const eden: {
1409
1443
  amountIn: string;
1410
1444
  amountOut: string;
1411
1445
  datetime: Date;
1412
- timestamp: number;
1413
1446
  }[];
1414
1447
  }>>;
1415
1448
  };
@@ -1525,11 +1558,13 @@ declare const eden: {
1525
1558
  token: ((params: {
1526
1559
  tokenAddress: string | number;
1527
1560
  }) => {
1528
- get: (options?: {
1529
- headers?: Record<string, unknown> | undefined;
1561
+ get: (options: {
1562
+ headers: {
1563
+ authorization: string;
1564
+ };
1530
1565
  query?: Record<string, unknown> | undefined;
1531
1566
  fetch?: RequestInit | undefined;
1532
- } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1567
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1533
1568
  200: {
1534
1569
  tvl: number;
1535
1570
  totalSupply: number;
@@ -1577,12 +1612,12 @@ declare const eden: {
1577
1612
  fetch?: RequestInit | undefined;
1578
1613
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1579
1614
  200: {
1615
+ error: string;
1616
+ details: import("database/api/.generated/runtime/library").JsonValue;
1617
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1580
1618
  campaignId: string;
1581
1619
  computedUntil: bigint;
1582
1620
  processingStarted: bigint;
1583
- status: import("../../database/api/.generated").$Enums.RunStatus;
1584
- error: string;
1585
- details: import("../../database/api/.generated").Prisma.JsonValue;
1586
1621
  }[];
1587
1622
  }>>;
1588
1623
  };
@@ -1596,27 +1631,27 @@ declare const eden: {
1596
1631
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1597
1632
  200: ({
1598
1633
  Campaign: {
1634
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1599
1635
  id: string;
1636
+ params: import("database/api/.generated/runtime/library").JsonValue;
1637
+ subType: number | null;
1638
+ startTimestamp: bigint;
1639
+ endTimestamp: bigint;
1600
1640
  computeChainId: number;
1601
1641
  distributionChainId: number;
1602
1642
  campaignId: string;
1603
- type: import("../../database/api/.generated").$Enums.CampaignType;
1604
- subType: number | null;
1605
1643
  rewardTokenId: string;
1606
1644
  amount: string;
1607
1645
  opportunityId: string;
1608
- startTimestamp: bigint;
1609
- endTimestamp: bigint;
1610
- params: import("../../database/api/.generated").Prisma.JsonValue;
1611
1646
  creatorAddress: string;
1612
1647
  };
1613
1648
  } & {
1649
+ error: string;
1650
+ details: import("database/api/.generated/runtime/library").JsonValue;
1651
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1614
1652
  campaignId: string;
1615
1653
  computedUntil: bigint;
1616
1654
  processingStarted: bigint;
1617
- status: import("../../database/api/.generated").$Enums.RunStatus;
1618
- error: string;
1619
- details: import("../../database/api/.generated").Prisma.JsonValue;
1620
1655
  })[];
1621
1656
  }>>;
1622
1657
  };
@@ -1630,12 +1665,12 @@ declare const eden: {
1630
1665
  fetch?: RequestInit | undefined;
1631
1666
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1632
1667
  200: {
1668
+ error: string;
1669
+ details: import("database/api/.generated/runtime/library").JsonValue;
1670
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1633
1671
  campaignId: string;
1634
1672
  computedUntil: bigint;
1635
1673
  processingStarted: bigint;
1636
- status: import("../../database/api/.generated").$Enums.RunStatus;
1637
- error: string;
1638
- details: import("../../database/api/.generated").Prisma.JsonValue;
1639
1674
  };
1640
1675
  }>>;
1641
1676
  };
@@ -1648,12 +1683,12 @@ declare const eden: {
1648
1683
  fetch?: RequestInit | undefined;
1649
1684
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1650
1685
  200: {
1686
+ error: string;
1687
+ details: import("database/api/.generated/runtime/library").JsonValue;
1688
+ status: import("../../database/api/.generated").$Enums.RunStatus;
1651
1689
  campaignId: string;
1652
1690
  computedUntil: bigint;
1653
1691
  processingStarted: bigint;
1654
- status: import("../../database/api/.generated").$Enums.RunStatus;
1655
- error: string;
1656
- details: import("../../database/api/.generated").Prisma.JsonValue;
1657
1692
  }[];
1658
1693
  }>>;
1659
1694
  }) & {};
@@ -1765,9 +1800,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1765
1800
  cumulated: number;
1766
1801
  timestamp: bigint;
1767
1802
  breakdowns: {
1803
+ type: import("../../database/api/.generated").$Enums.AprType;
1768
1804
  id: number;
1769
1805
  identifier: string;
1770
- type: import("../../database/api/.generated").$Enums.AprType;
1771
1806
  value: number;
1772
1807
  aprRecordId: string;
1773
1808
  }[];
@@ -1777,9 +1812,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1777
1812
  total: number;
1778
1813
  timestamp: bigint;
1779
1814
  breakdowns: {
1815
+ type: import("../../database/api/.generated").$Enums.TvlType;
1780
1816
  id: number;
1781
1817
  identifier: string;
1782
- type: import("../../database/api/.generated").$Enums.TvlType;
1783
1818
  value: number;
1784
1819
  tvlRecordId: string;
1785
1820
  }[];
@@ -1797,27 +1832,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1797
1832
  };
1798
1833
  id: string;
1799
1834
  tokens: {
1800
- id: string;
1835
+ symbol: string;
1801
1836
  name: string | null;
1837
+ id: string;
1802
1838
  chainId: number;
1803
1839
  address: string;
1804
- decimals: number;
1805
- symbol: string;
1806
1840
  icon: string;
1841
+ decimals: number;
1807
1842
  verified: boolean;
1808
1843
  price: number | null;
1809
1844
  }[];
1810
1845
  chain: {
1811
- id: number;
1812
1846
  name: string;
1847
+ id: number;
1813
1848
  icon: string;
1814
1849
  };
1815
1850
  protocol: {
1816
- id: string;
1817
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1818
1851
  name: string;
1819
- description: string;
1820
1852
  url: string;
1853
+ description: string;
1854
+ id: string;
1855
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1821
1856
  icon: string;
1822
1857
  } | undefined;
1823
1858
  name: string;
@@ -1852,9 +1887,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1852
1887
  cumulated: number;
1853
1888
  timestamp: bigint;
1854
1889
  breakdowns: {
1890
+ type: import("../../database/api/.generated").$Enums.AprType;
1855
1891
  id: number;
1856
1892
  identifier: string;
1857
- type: import("../../database/api/.generated").$Enums.AprType;
1858
1893
  value: number;
1859
1894
  aprRecordId: string;
1860
1895
  }[];
@@ -1864,9 +1899,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1864
1899
  total: number;
1865
1900
  timestamp: bigint;
1866
1901
  breakdowns: {
1902
+ type: import("../../database/api/.generated").$Enums.TvlType;
1867
1903
  id: number;
1868
1904
  identifier: string;
1869
- type: import("../../database/api/.generated").$Enums.TvlType;
1870
1905
  value: number;
1871
1906
  tvlRecordId: string;
1872
1907
  }[];
@@ -1884,27 +1919,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1884
1919
  };
1885
1920
  id: string;
1886
1921
  tokens: {
1887
- id: string;
1922
+ symbol: string;
1888
1923
  name: string | null;
1924
+ id: string;
1889
1925
  chainId: number;
1890
1926
  address: string;
1891
- decimals: number;
1892
- symbol: string;
1893
1927
  icon: string;
1928
+ decimals: number;
1894
1929
  verified: boolean;
1895
1930
  price: number | null;
1896
1931
  }[];
1897
1932
  chain: {
1898
- id: number;
1899
1933
  name: string;
1934
+ id: number;
1900
1935
  icon: string;
1901
1936
  };
1902
1937
  protocol: {
1903
- id: string;
1904
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1905
1938
  name: string;
1906
- description: string;
1907
1939
  url: string;
1940
+ description: string;
1941
+ id: string;
1942
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
1908
1943
  icon: string;
1909
1944
  } | undefined;
1910
1945
  name: string;
@@ -1921,37 +1956,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1921
1956
  campaigns: ({
1922
1957
  params: any;
1923
1958
  chain: {
1924
- id: number;
1925
1959
  name: string;
1960
+ id: number;
1926
1961
  icon: string;
1927
1962
  };
1928
1963
  rewardToken: {
1929
- id: string;
1964
+ symbol: string;
1930
1965
  name: string | null;
1966
+ id: string;
1931
1967
  chainId: number;
1932
1968
  address: string;
1933
- decimals: number;
1934
- symbol: string;
1935
1969
  icon: string;
1970
+ decimals: number;
1936
1971
  verified: boolean;
1937
1972
  price: number | null;
1938
1973
  };
1939
1974
  distributionChain: {
1940
- id: number;
1941
1975
  name: string;
1976
+ id: number;
1942
1977
  icon: string;
1943
1978
  } | undefined;
1979
+ type: import("../../database/api/.generated").$Enums.CampaignType;
1944
1980
  id: string;
1981
+ subType: number | null;
1982
+ startTimestamp: bigint;
1983
+ endTimestamp: bigint;
1945
1984
  computeChainId: number;
1946
1985
  distributionChainId: number;
1947
1986
  campaignId: string;
1948
- type: import("../../database/api/.generated").$Enums.CampaignType;
1949
- subType: number | null;
1950
1987
  rewardTokenId: string;
1951
1988
  amount: string;
1952
1989
  opportunityId: string;
1953
- startTimestamp: bigint;
1954
- endTimestamp: bigint;
1955
1990
  creatorAddress: string;
1956
1991
  } | null)[];
1957
1992
  }) | null | undefined;
@@ -1986,9 +2021,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1986
2021
  cumulated: number;
1987
2022
  timestamp: bigint;
1988
2023
  breakdowns: {
2024
+ type: import("../../database/api/.generated").$Enums.AprType;
1989
2025
  id: number;
1990
2026
  identifier: string;
1991
- type: import("../../database/api/.generated").$Enums.AprType;
1992
2027
  value: number;
1993
2028
  aprRecordId: string;
1994
2029
  }[];
@@ -1998,9 +2033,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
1998
2033
  total: number;
1999
2034
  timestamp: bigint;
2000
2035
  breakdowns: {
2036
+ type: import("../../database/api/.generated").$Enums.TvlType;
2001
2037
  id: number;
2002
2038
  identifier: string;
2003
- type: import("../../database/api/.generated").$Enums.TvlType;
2004
2039
  value: number;
2005
2040
  tvlRecordId: string;
2006
2041
  }[];
@@ -2018,27 +2053,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2018
2053
  };
2019
2054
  id: string;
2020
2055
  tokens: {
2021
- id: string;
2056
+ symbol: string;
2022
2057
  name: string | null;
2058
+ id: string;
2023
2059
  chainId: number;
2024
2060
  address: string;
2025
- decimals: number;
2026
- symbol: string;
2027
2061
  icon: string;
2062
+ decimals: number;
2028
2063
  verified: boolean;
2029
2064
  price: number | null;
2030
2065
  }[];
2031
2066
  chain: {
2032
- id: number;
2033
2067
  name: string;
2068
+ id: number;
2034
2069
  icon: string;
2035
2070
  };
2036
2071
  protocol: {
2037
- id: string;
2038
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2039
2072
  name: string;
2040
- description: string;
2041
2073
  url: string;
2074
+ description: string;
2075
+ id: string;
2076
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
2042
2077
  icon: string;
2043
2078
  } | undefined;
2044
2079
  name: string;
@@ -2110,18 +2145,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2110
2145
  };
2111
2146
  response: {
2112
2147
  200: {
2148
+ type: import("../../database/api/.generated").$Enums.CampaignType;
2113
2149
  id: string;
2150
+ params: import("database/api/.generated/runtime/library").JsonValue;
2151
+ subType: number | null;
2152
+ startTimestamp: bigint;
2153
+ endTimestamp: bigint;
2114
2154
  computeChainId: number;
2115
2155
  distributionChainId: number;
2116
2156
  campaignId: string;
2117
- type: import("../../database/api/.generated").$Enums.CampaignType;
2118
- subType: number | null;
2119
2157
  rewardTokenId: string;
2120
2158
  amount: string;
2121
2159
  opportunityId: string;
2122
- startTimestamp: bigint;
2123
- endTimestamp: bigint;
2124
- params: import("../../database/api/.generated").Prisma.JsonValue;
2125
2160
  creatorAddress: string;
2126
2161
  } | undefined;
2127
2162
  };
@@ -2151,37 +2186,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2151
2186
  200: ({
2152
2187
  params: any;
2153
2188
  chain: {
2154
- id: number;
2155
2189
  name: string;
2190
+ id: number;
2156
2191
  icon: string;
2157
2192
  };
2158
2193
  rewardToken: {
2159
- id: string;
2194
+ symbol: string;
2160
2195
  name: string | null;
2196
+ id: string;
2161
2197
  chainId: number;
2162
2198
  address: string;
2163
- decimals: number;
2164
- symbol: string;
2165
2199
  icon: string;
2200
+ decimals: number;
2166
2201
  verified: boolean;
2167
2202
  price: number | null;
2168
2203
  };
2169
2204
  distributionChain: {
2170
- id: number;
2171
2205
  name: string;
2206
+ id: number;
2172
2207
  icon: string;
2173
2208
  } | undefined;
2209
+ type: import("../../database/api/.generated").$Enums.CampaignType;
2174
2210
  id: string;
2211
+ subType: number | null;
2212
+ startTimestamp: bigint;
2213
+ endTimestamp: bigint;
2175
2214
  computeChainId: number;
2176
2215
  distributionChainId: number;
2177
2216
  campaignId: string;
2178
- type: import("../../database/api/.generated").$Enums.CampaignType;
2179
- subType: number | null;
2180
2217
  rewardTokenId: string;
2181
2218
  amount: string;
2182
2219
  opportunityId: string;
2183
- startTimestamp: bigint;
2184
- endTimestamp: bigint;
2185
2220
  creatorAddress: string;
2186
2221
  } | null)[];
2187
2222
  };
@@ -2459,9 +2494,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2459
2494
  params: Record<never, string>;
2460
2495
  query: {
2461
2496
  items?: number | undefined;
2462
- chainId?: number | undefined;
2463
2497
  page?: number | undefined;
2464
- campaignId?: string | undefined;
2498
+ chainId: number;
2499
+ campaignId: string;
2465
2500
  };
2466
2501
  headers: unknown;
2467
2502
  response: {
@@ -2478,13 +2513,16 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2478
2513
  params: Record<never, string>;
2479
2514
  query: {
2480
2515
  items?: number | undefined;
2481
- chainId?: number | undefined;
2482
2516
  page?: number | undefined;
2483
- campaignId?: string | undefined;
2517
+ chainId: number;
2518
+ campaignId: string;
2484
2519
  };
2485
2520
  headers: unknown;
2486
2521
  response: {
2487
- 200: unknown;
2522
+ 200: {
2523
+ campaignId: string;
2524
+ amount: bigint;
2525
+ };
2488
2526
  };
2489
2527
  };
2490
2528
  };
@@ -2587,15 +2625,36 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2587
2625
  params: Record<never, string>;
2588
2626
  query: {
2589
2627
  items?: number | undefined;
2590
- chainId?: number | undefined;
2591
2628
  page?: number | undefined;
2592
- campaignId?: string | undefined;
2629
+ chainId: number;
2630
+ campaignId: string;
2593
2631
  };
2594
2632
  headers: unknown;
2595
2633
  response: {
2596
2634
  200: {
2597
2635
  count: number;
2598
- } | null;
2636
+ };
2637
+ };
2638
+ };
2639
+ };
2640
+ };
2641
+ } & {
2642
+ rewards: {
2643
+ count: {
2644
+ chains: {
2645
+ get: {
2646
+ body: unknown;
2647
+ params: Record<never, string>;
2648
+ query: unknown;
2649
+ headers: {
2650
+ authorization: string;
2651
+ };
2652
+ response: {
2653
+ 200: Record<string, {
2654
+ breakdown: number;
2655
+ rewards: Record<string, number>;
2656
+ }>;
2657
+ };
2599
2658
  };
2600
2659
  };
2601
2660
  };
@@ -2614,13 +2673,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2614
2673
  headers: unknown;
2615
2674
  response: {
2616
2675
  200: {
2617
- id: number;
2618
2676
  name: string;
2677
+ id: number;
2619
2678
  icon: string;
2620
2679
  explorers: {
2621
- id: string;
2622
2680
  type: import("../../database/api/.generated").$Enums.ExplorerType;
2623
2681
  url: string;
2682
+ id: string;
2624
2683
  chainId: number;
2625
2684
  }[];
2626
2685
  } | null;
@@ -2638,13 +2697,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2638
2697
  headers: unknown;
2639
2698
  response: {
2640
2699
  200: {
2641
- id: number;
2642
2700
  name: string;
2701
+ id: number;
2643
2702
  icon: string;
2644
2703
  explorers: {
2645
- id: string;
2646
2704
  type: import("../../database/api/.generated").$Enums.ExplorerType;
2647
2705
  url: string;
2706
+ id: string;
2648
2707
  chainId: number;
2649
2708
  }[];
2650
2709
  }[];
@@ -2680,9 +2739,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2680
2739
  };
2681
2740
  response: {
2682
2741
  200: {
2683
- id: string;
2684
2742
  type: import("../../database/api/.generated").$Enums.ExplorerType;
2685
2743
  url: string;
2744
+ id: string;
2686
2745
  chainId: number;
2687
2746
  };
2688
2747
  };
@@ -2747,10 +2806,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2747
2806
  headers: unknown;
2748
2807
  response: {
2749
2808
  200: {
2750
- id: number;
2751
2809
  symbol: string;
2752
2810
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2753
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2811
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2812
+ id: number;
2754
2813
  }[];
2755
2814
  };
2756
2815
  };
@@ -2769,10 +2828,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2769
2828
  headers: unknown;
2770
2829
  response: {
2771
2830
  200: {
2772
- id: number;
2773
2831
  symbol: string;
2774
2832
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2775
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2833
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2834
+ id: number;
2776
2835
  };
2777
2836
  };
2778
2837
  };
@@ -2818,10 +2877,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2818
2877
  };
2819
2878
  response: {
2820
2879
  200: {
2821
- id: number;
2822
2880
  symbol: string;
2823
2881
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2824
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2882
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2883
+ id: number;
2825
2884
  };
2826
2885
  };
2827
2886
  };
@@ -2843,10 +2902,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2843
2902
  };
2844
2903
  response: {
2845
2904
  200: {
2846
- id: number;
2847
2905
  symbol: string;
2848
2906
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
2849
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
2907
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
2908
+ id: number;
2850
2909
  };
2851
2910
  };
2852
2911
  };
@@ -2871,7 +2930,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2871
2930
  poolAddress: string;
2872
2931
  userAddress: string;
2873
2932
  arrestTimestamp: bigint;
2874
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
2933
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
2875
2934
  }[];
2876
2935
  };
2877
2936
  };
@@ -2886,7 +2945,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2886
2945
  query: unknown;
2887
2946
  headers: unknown;
2888
2947
  response: {
2889
- 200: string[];
2948
+ 200: {
2949
+ [address: string]: boolean;
2950
+ };
2890
2951
  };
2891
2952
  };
2892
2953
  };
@@ -2931,7 +2992,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2931
2992
  poolAddress: string;
2932
2993
  userAddress: string;
2933
2994
  arrestTimestamp: bigint;
2934
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
2995
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
2935
2996
  };
2936
2997
  };
2937
2998
  };
@@ -2974,8 +3035,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
2974
3035
  headers: unknown;
2975
3036
  response: {
2976
3037
  200: {
2977
- address: string;
2978
3038
  tags: string[];
3039
+ address: string;
2979
3040
  }[];
2980
3041
  };
2981
3042
  };
@@ -3016,13 +3077,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3016
3077
  }, "rewards"> & {
3017
3078
  rewards: (Omit<{
3018
3079
  token: {
3019
- id: string;
3080
+ symbol: string;
3020
3081
  name: string | null;
3082
+ id: string;
3021
3083
  chainId: number;
3022
3084
  address: string;
3023
- decimals: number;
3024
- symbol: string;
3025
3085
  icon: string;
3086
+ decimals: number;
3026
3087
  verified: boolean;
3027
3088
  price: number | null;
3028
3089
  };
@@ -3030,63 +3091,63 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3030
3091
  campaignId: string;
3031
3092
  opportunity: {
3032
3093
  Chain: {
3033
- id: number;
3034
3094
  name: string;
3095
+ id: number;
3035
3096
  icon: string;
3036
3097
  };
3037
3098
  Tokens: {
3038
- id: string;
3099
+ symbol: string;
3039
3100
  name: string | null;
3101
+ id: string;
3040
3102
  chainId: number;
3041
3103
  address: string;
3042
- decimals: number;
3043
- symbol: string;
3044
3104
  icon: string;
3105
+ decimals: number;
3045
3106
  verified: boolean;
3046
3107
  price: number | null;
3047
3108
  }[];
3048
3109
  Protocols: {
3049
- id: string;
3050
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3051
3110
  name: string;
3052
- description: string;
3053
3111
  url: string;
3112
+ description: string;
3113
+ id: string;
3114
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3054
3115
  icon: string;
3055
3116
  }[];
3056
3117
  MainProtocol: {
3057
- id: string;
3058
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3059
3118
  name: string;
3060
- description: string;
3061
3119
  url: string;
3120
+ description: string;
3121
+ id: string;
3122
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3062
3123
  icon: string;
3063
3124
  } | null;
3064
3125
  } & {
3065
- id: string;
3066
- chainId: number;
3067
- type: import("../../database/api/.generated").$Enums.CampaignType;
3068
- identifier: string;
3069
3126
  name: string;
3127
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3128
+ id: string;
3070
3129
  status: import("../../database/api/.generated").$Enums.Status;
3130
+ tags: string[];
3131
+ identifier: string;
3132
+ chainId: number;
3071
3133
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
3072
3134
  mainProtocolId: string | null;
3073
3135
  tvl: number;
3074
3136
  apr: number;
3075
3137
  dailyRewards: number;
3076
- tags: string[];
3077
3138
  };
3078
3139
  reason: string;
3140
+ pending: string;
3079
3141
  amount: string;
3080
3142
  claimed: string;
3081
- pending: string;
3082
3143
  auxiliaryData1: string | null;
3083
3144
  auxiliaryData2: string | null;
3084
3145
  }[];
3085
3146
  claimed: bigint;
3086
3147
  amount: bigint;
3087
3148
  pending: bigint;
3088
- root: string;
3089
3149
  recipient: string;
3150
+ root: string;
3090
3151
  proofs: string[];
3091
3152
  }, "breakdowns"> & {
3092
3153
  breakdowns: {
@@ -3126,13 +3187,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3126
3187
  }, "rewards"> & {
3127
3188
  rewards: (Omit<{
3128
3189
  token: {
3129
- id: string;
3190
+ symbol: string;
3130
3191
  name: string | null;
3192
+ id: string;
3131
3193
  chainId: number;
3132
3194
  address: string;
3133
- decimals: number;
3134
- symbol: string;
3135
3195
  icon: string;
3196
+ decimals: number;
3136
3197
  verified: boolean;
3137
3198
  price: number | null;
3138
3199
  };
@@ -3140,71 +3201,71 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3140
3201
  campaignId: string;
3141
3202
  opportunity: {
3142
3203
  Chain: {
3143
- id: number;
3144
3204
  name: string;
3205
+ id: number;
3145
3206
  icon: string;
3146
3207
  };
3147
3208
  Tokens: {
3148
- id: string;
3209
+ symbol: string;
3149
3210
  name: string | null;
3211
+ id: string;
3150
3212
  chainId: number;
3151
3213
  address: string;
3152
- decimals: number;
3153
- symbol: string;
3154
3214
  icon: string;
3215
+ decimals: number;
3155
3216
  verified: boolean;
3156
3217
  price: number | null;
3157
3218
  }[];
3158
3219
  Protocols: {
3159
- id: string;
3160
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3161
3220
  name: string;
3162
- description: string;
3163
3221
  url: string;
3222
+ description: string;
3223
+ id: string;
3224
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3164
3225
  icon: string;
3165
3226
  }[];
3166
3227
  MainProtocol: {
3167
- id: string;
3168
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3169
3228
  name: string;
3170
- description: string;
3171
3229
  url: string;
3230
+ description: string;
3231
+ id: string;
3232
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3172
3233
  icon: string;
3173
3234
  } | null;
3174
3235
  } & {
3175
- id: string;
3176
- chainId: number;
3177
- type: import("../../database/api/.generated").$Enums.CampaignType;
3178
- identifier: string;
3179
3236
  name: string;
3237
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3238
+ id: string;
3180
3239
  status: import("../../database/api/.generated").$Enums.Status;
3240
+ tags: string[];
3241
+ identifier: string;
3242
+ chainId: number;
3181
3243
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
3182
3244
  mainProtocolId: string | null;
3183
3245
  tvl: number;
3184
3246
  apr: number;
3185
3247
  dailyRewards: number;
3186
- tags: string[];
3187
3248
  };
3188
3249
  reason: string;
3250
+ pending: string;
3189
3251
  amount: string;
3190
3252
  claimed: string;
3191
- pending: string;
3192
3253
  auxiliaryData1: string | null;
3193
3254
  auxiliaryData2: string | null;
3194
3255
  }[];
3195
3256
  claimed: bigint;
3196
3257
  amount: bigint;
3197
3258
  pending: bigint;
3198
- root: string;
3199
3259
  recipient: string;
3260
+ root: string;
3200
3261
  proofs: string[];
3201
3262
  }, "breakdowns"> & {
3202
3263
  breakdowns: {
3203
3264
  campaignId: string;
3204
3265
  reason: string;
3266
+ pending: string;
3205
3267
  amount: string;
3206
3268
  claimed: string;
3207
- pending: string;
3208
3269
  auxiliaryData1: string | null;
3209
3270
  auxiliaryData2: string | null;
3210
3271
  }[];
@@ -3230,8 +3291,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3230
3291
  };
3231
3292
  response: {
3232
3293
  200: {
3233
- address: string;
3234
3294
  tags: string[];
3295
+ address: string;
3235
3296
  };
3236
3297
  };
3237
3298
  };
@@ -3254,8 +3315,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3254
3315
  };
3255
3316
  response: {
3256
3317
  200: {
3257
- address: string;
3258
3318
  tags: string[];
3319
+ address: string;
3259
3320
  };
3260
3321
  };
3261
3322
  };
@@ -3266,7 +3327,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3266
3327
  } & {
3267
3328
  v4: {
3268
3329
  roots: {
3269
- index: {
3330
+ timestamps: {
3270
3331
  get: {
3271
3332
  body: unknown;
3272
3333
  params: Record<never, string>;
@@ -3278,15 +3339,34 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3278
3339
  headers: unknown;
3279
3340
  response: {
3280
3341
  200: {
3281
- root: string;
3342
+ timestamp: bigint;
3282
3343
  chainId: number;
3344
+ root: string;
3283
3345
  epoch: number;
3284
- timestamp: bigint;
3285
3346
  }[];
3286
3347
  };
3287
3348
  };
3288
3349
  };
3289
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
+ };
3290
3370
  };
3291
3371
  } & {
3292
3372
  v4: {
@@ -3406,6 +3486,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3406
3486
  response: {
3407
3487
  200: {
3408
3488
  id: string;
3489
+ timestamp: number;
3409
3490
  chainId: number;
3410
3491
  fromTokenId: string;
3411
3492
  toTokenId: string;
@@ -3414,7 +3495,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3414
3495
  amountIn: string;
3415
3496
  amountOut: string;
3416
3497
  datetime: Date;
3417
- timestamp: number;
3418
3498
  }[];
3419
3499
  };
3420
3500
  };
@@ -3586,11 +3666,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3586
3666
  get: {
3587
3667
  body: unknown;
3588
3668
  params: {
3589
- chainId: string;
3669
+ chainId: number;
3590
3670
  tokenAddress: string;
3591
3671
  };
3592
3672
  query: unknown;
3593
- headers: unknown;
3673
+ headers: {
3674
+ authorization: string;
3675
+ };
3594
3676
  response: {
3595
3677
  200: {
3596
3678
  tvl: number;
@@ -3651,12 +3733,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3651
3733
  headers: unknown;
3652
3734
  response: {
3653
3735
  200: {
3736
+ error: string;
3737
+ details: import("database/api/.generated/runtime/library").JsonValue;
3738
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3654
3739
  campaignId: string;
3655
3740
  computedUntil: bigint;
3656
3741
  processingStarted: bigint;
3657
- status: import("../../database/api/.generated").$Enums.RunStatus;
3658
- error: string;
3659
- details: import("../../database/api/.generated").Prisma.JsonValue;
3660
3742
  }[];
3661
3743
  };
3662
3744
  };
@@ -3675,27 +3757,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3675
3757
  response: {
3676
3758
  200: ({
3677
3759
  Campaign: {
3760
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3678
3761
  id: string;
3762
+ params: import("database/api/.generated/runtime/library").JsonValue;
3763
+ subType: number | null;
3764
+ startTimestamp: bigint;
3765
+ endTimestamp: bigint;
3679
3766
  computeChainId: number;
3680
3767
  distributionChainId: number;
3681
3768
  campaignId: string;
3682
- type: import("../../database/api/.generated").$Enums.CampaignType;
3683
- subType: number | null;
3684
3769
  rewardTokenId: string;
3685
3770
  amount: string;
3686
3771
  opportunityId: string;
3687
- startTimestamp: bigint;
3688
- endTimestamp: bigint;
3689
- params: import("../../database/api/.generated").Prisma.JsonValue;
3690
3772
  creatorAddress: string;
3691
3773
  };
3692
3774
  } & {
3775
+ error: string;
3776
+ details: import("database/api/.generated/runtime/library").JsonValue;
3777
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3693
3778
  campaignId: string;
3694
3779
  computedUntil: bigint;
3695
3780
  processingStarted: bigint;
3696
- status: import("../../database/api/.generated").$Enums.RunStatus;
3697
- error: string;
3698
- details: import("../../database/api/.generated").Prisma.JsonValue;
3699
3781
  })[];
3700
3782
  };
3701
3783
  };
@@ -3714,12 +3796,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3714
3796
  headers: unknown;
3715
3797
  response: {
3716
3798
  200: {
3799
+ error: string;
3800
+ details: import("database/api/.generated/runtime/library").JsonValue;
3801
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3717
3802
  campaignId: string;
3718
3803
  computedUntil: bigint;
3719
3804
  processingStarted: bigint;
3720
- status: import("../../database/api/.generated").$Enums.RunStatus;
3721
- error: string;
3722
- details: import("../../database/api/.generated").Prisma.JsonValue;
3723
3805
  };
3724
3806
  };
3725
3807
  };
@@ -3738,12 +3820,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3738
3820
  headers: unknown;
3739
3821
  response: {
3740
3822
  200: {
3823
+ error: string;
3824
+ details: import("database/api/.generated/runtime/library").JsonValue;
3825
+ status: import("../../database/api/.generated").$Enums.RunStatus;
3741
3826
  campaignId: string;
3742
3827
  computedUntil: bigint;
3743
3828
  processingStarted: bigint;
3744
- status: import("../../database/api/.generated").$Enums.RunStatus;
3745
- error: string;
3746
- details: import("../../database/api/.generated").Prisma.JsonValue;
3747
3829
  }[];
3748
3830
  };
3749
3831
  };
@@ -3807,9 +3889,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3807
3889
  cumulated: number;
3808
3890
  timestamp: bigint;
3809
3891
  breakdowns: {
3892
+ type: import("../../database/api/.generated").$Enums.AprType;
3810
3893
  id: number;
3811
3894
  identifier: string;
3812
- type: import("../../database/api/.generated").$Enums.AprType;
3813
3895
  value: number;
3814
3896
  aprRecordId: string;
3815
3897
  }[];
@@ -3819,9 +3901,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3819
3901
  total: number;
3820
3902
  timestamp: bigint;
3821
3903
  breakdowns: {
3904
+ type: import("../../database/api/.generated").$Enums.TvlType;
3822
3905
  id: number;
3823
3906
  identifier: string;
3824
- type: import("../../database/api/.generated").$Enums.TvlType;
3825
3907
  value: number;
3826
3908
  tvlRecordId: string;
3827
3909
  }[];
@@ -3839,27 +3921,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3839
3921
  };
3840
3922
  id: string;
3841
3923
  tokens: {
3842
- id: string;
3924
+ symbol: string;
3843
3925
  name: string | null;
3926
+ id: string;
3844
3927
  chainId: number;
3845
3928
  address: string;
3846
- decimals: number;
3847
- symbol: string;
3848
3929
  icon: string;
3930
+ decimals: number;
3849
3931
  verified: boolean;
3850
3932
  price: number | null;
3851
3933
  }[];
3852
3934
  chain: {
3853
- id: number;
3854
3935
  name: string;
3936
+ id: number;
3855
3937
  icon: string;
3856
3938
  };
3857
3939
  protocol: {
3858
- id: string;
3859
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3860
3940
  name: string;
3861
- description: string;
3862
3941
  url: string;
3942
+ description: string;
3943
+ id: string;
3944
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3863
3945
  icon: string;
3864
3946
  } | undefined;
3865
3947
  name: string;
@@ -3885,9 +3967,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3885
3967
  cumulated: number;
3886
3968
  timestamp: bigint;
3887
3969
  breakdowns: {
3970
+ type: import("../../database/api/.generated").$Enums.AprType;
3888
3971
  id: number;
3889
3972
  identifier: string;
3890
- type: import("../../database/api/.generated").$Enums.AprType;
3891
3973
  value: number;
3892
3974
  aprRecordId: string;
3893
3975
  }[];
@@ -3897,9 +3979,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3897
3979
  total: number;
3898
3980
  timestamp: bigint;
3899
3981
  breakdowns: {
3982
+ type: import("../../database/api/.generated").$Enums.TvlType;
3900
3983
  id: number;
3901
3984
  identifier: string;
3902
- type: import("../../database/api/.generated").$Enums.TvlType;
3903
3985
  value: number;
3904
3986
  tvlRecordId: string;
3905
3987
  }[];
@@ -3917,27 +3999,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3917
3999
  };
3918
4000
  id: string;
3919
4001
  tokens: {
3920
- id: string;
4002
+ symbol: string;
3921
4003
  name: string | null;
4004
+ id: string;
3922
4005
  chainId: number;
3923
- address: string;
3924
- decimals: number;
3925
- symbol: string;
4006
+ address: string;
3926
4007
  icon: string;
4008
+ decimals: number;
3927
4009
  verified: boolean;
3928
4010
  price: number | null;
3929
4011
  }[];
3930
4012
  chain: {
3931
- id: number;
3932
4013
  name: string;
4014
+ id: number;
3933
4015
  icon: string;
3934
4016
  };
3935
4017
  protocol: {
3936
- id: string;
3937
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3938
4018
  name: string;
3939
- description: string;
3940
4019
  url: string;
4020
+ description: string;
4021
+ id: string;
4022
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
3941
4023
  icon: string;
3942
4024
  } | undefined;
3943
4025
  name: string;
@@ -3954,37 +4036,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
3954
4036
  campaigns: ({
3955
4037
  params: any;
3956
4038
  chain: {
3957
- id: number;
3958
4039
  name: string;
4040
+ id: number;
3959
4041
  icon: string;
3960
4042
  };
3961
4043
  rewardToken: {
3962
- id: string;
4044
+ symbol: string;
3963
4045
  name: string | null;
4046
+ id: string;
3964
4047
  chainId: number;
3965
4048
  address: string;
3966
- decimals: number;
3967
- symbol: string;
3968
4049
  icon: string;
4050
+ decimals: number;
3969
4051
  verified: boolean;
3970
4052
  price: number | null;
3971
4053
  };
3972
4054
  distributionChain: {
3973
- id: number;
3974
4055
  name: string;
4056
+ id: number;
3975
4057
  icon: string;
3976
4058
  } | undefined;
4059
+ type: import("../../database/api/.generated").$Enums.CampaignType;
3977
4060
  id: string;
4061
+ subType: number | null;
4062
+ startTimestamp: bigint;
4063
+ endTimestamp: bigint;
3978
4064
  computeChainId: number;
3979
4065
  distributionChainId: number;
3980
4066
  campaignId: string;
3981
- type: import("../../database/api/.generated").$Enums.CampaignType;
3982
- subType: number | null;
3983
4067
  rewardTokenId: string;
3984
4068
  amount: string;
3985
4069
  opportunityId: string;
3986
- startTimestamp: bigint;
3987
- endTimestamp: bigint;
3988
4070
  creatorAddress: string;
3989
4071
  } | null)[];
3990
4072
  }) | null | undefined;
@@ -4036,9 +4118,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4036
4118
  cumulated: number;
4037
4119
  timestamp: bigint;
4038
4120
  breakdowns: {
4121
+ type: import("../../database/api/.generated").$Enums.AprType;
4039
4122
  id: number;
4040
4123
  identifier: string;
4041
- type: import("../../database/api/.generated").$Enums.AprType;
4042
4124
  value: number;
4043
4125
  aprRecordId: string;
4044
4126
  }[];
@@ -4048,9 +4130,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4048
4130
  total: number;
4049
4131
  timestamp: bigint;
4050
4132
  breakdowns: {
4133
+ type: import("../../database/api/.generated").$Enums.TvlType;
4051
4134
  id: number;
4052
4135
  identifier: string;
4053
- type: import("../../database/api/.generated").$Enums.TvlType;
4054
4136
  value: number;
4055
4137
  tvlRecordId: string;
4056
4138
  }[];
@@ -4068,27 +4150,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4068
4150
  };
4069
4151
  id: string;
4070
4152
  tokens: {
4071
- id: string;
4153
+ symbol: string;
4072
4154
  name: string | null;
4155
+ id: string;
4073
4156
  chainId: number;
4074
4157
  address: string;
4075
- decimals: number;
4076
- symbol: string;
4077
4158
  icon: string;
4159
+ decimals: number;
4078
4160
  verified: boolean;
4079
4161
  price: number | null;
4080
4162
  }[];
4081
4163
  chain: {
4082
- id: number;
4083
4164
  name: string;
4165
+ id: number;
4084
4166
  icon: string;
4085
4167
  };
4086
4168
  protocol: {
4087
- id: string;
4088
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4089
4169
  name: string;
4090
- description: string;
4091
4170
  url: string;
4171
+ description: string;
4172
+ id: string;
4173
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4092
4174
  icon: string;
4093
4175
  } | undefined;
4094
4176
  name: string;
@@ -4150,18 +4232,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4150
4232
  fetch?: RequestInit | undefined;
4151
4233
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4152
4234
  200: {
4235
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4153
4236
  id: string;
4237
+ params: import("database/api/.generated/runtime/library").JsonValue;
4238
+ subType: number | null;
4239
+ startTimestamp: bigint;
4240
+ endTimestamp: bigint;
4154
4241
  computeChainId: number;
4155
4242
  distributionChainId: number;
4156
4243
  campaignId: string;
4157
- type: import("../../database/api/.generated").$Enums.CampaignType;
4158
- subType: number | null;
4159
4244
  rewardTokenId: string;
4160
4245
  amount: string;
4161
4246
  opportunityId: string;
4162
- startTimestamp: bigint;
4163
- endTimestamp: bigint;
4164
- params: import("../../database/api/.generated").Prisma.JsonValue;
4165
4247
  creatorAddress: string;
4166
4248
  } | undefined;
4167
4249
  }>>;
@@ -4186,37 +4268,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4186
4268
  200: ({
4187
4269
  params: any;
4188
4270
  chain: {
4189
- id: number;
4190
4271
  name: string;
4272
+ id: number;
4191
4273
  icon: string;
4192
4274
  };
4193
4275
  rewardToken: {
4194
- id: string;
4276
+ symbol: string;
4195
4277
  name: string | null;
4278
+ id: string;
4196
4279
  chainId: number;
4197
4280
  address: string;
4198
- decimals: number;
4199
- symbol: string;
4200
4281
  icon: string;
4282
+ decimals: number;
4201
4283
  verified: boolean;
4202
4284
  price: number | null;
4203
4285
  };
4204
4286
  distributionChain: {
4205
- id: number;
4206
4287
  name: string;
4288
+ id: number;
4207
4289
  icon: string;
4208
4290
  } | undefined;
4291
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4209
4292
  id: string;
4293
+ subType: number | null;
4294
+ startTimestamp: bigint;
4295
+ endTimestamp: bigint;
4210
4296
  computeChainId: number;
4211
4297
  distributionChainId: number;
4212
4298
  campaignId: string;
4213
- type: import("../../database/api/.generated").$Enums.CampaignType;
4214
- subType: number | null;
4215
4299
  rewardTokenId: string;
4216
4300
  amount: string;
4217
4301
  opportunityId: string;
4218
- startTimestamp: bigint;
4219
- endTimestamp: bigint;
4220
4302
  creatorAddress: string;
4221
4303
  } | null)[];
4222
4304
  }>>;
@@ -4436,9 +4518,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4436
4518
  headers?: Record<string, unknown> | undefined;
4437
4519
  query: {
4438
4520
  items?: number | undefined;
4439
- chainId?: number | undefined;
4440
4521
  page?: number | undefined;
4441
- campaignId?: string | undefined;
4522
+ chainId: number;
4523
+ campaignId: string;
4442
4524
  };
4443
4525
  fetch?: RequestInit | undefined;
4444
4526
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4450,13 +4532,16 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4450
4532
  headers?: Record<string, unknown> | undefined;
4451
4533
  query: {
4452
4534
  items?: number | undefined;
4453
- chainId?: number | undefined;
4454
4535
  page?: number | undefined;
4455
- campaignId?: string | undefined;
4536
+ chainId: number;
4537
+ campaignId: string;
4456
4538
  };
4457
4539
  fetch?: RequestInit | undefined;
4458
4540
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4459
- 200: unknown;
4541
+ 200: {
4542
+ campaignId: string;
4543
+ amount: bigint;
4544
+ };
4460
4545
  }>>;
4461
4546
  };
4462
4547
  engine: {
@@ -4537,16 +4622,30 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4537
4622
  headers?: Record<string, unknown> | undefined;
4538
4623
  query: {
4539
4624
  items?: number | undefined;
4540
- chainId?: number | undefined;
4541
4625
  page?: number | undefined;
4542
- campaignId?: string | undefined;
4626
+ chainId: number;
4627
+ campaignId: string;
4543
4628
  };
4544
4629
  fetch?: RequestInit | undefined;
4545
4630
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4546
4631
  200: {
4547
4632
  count: number;
4548
- } | null;
4633
+ };
4549
4634
  }>>;
4635
+ chains: {
4636
+ get: (options: {
4637
+ headers: {
4638
+ authorization: string;
4639
+ };
4640
+ query?: Record<string, unknown> | undefined;
4641
+ fetch?: RequestInit | undefined;
4642
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4643
+ 200: Record<string, {
4644
+ breakdown: number;
4645
+ rewards: Record<string, number>;
4646
+ }>;
4647
+ }>>;
4648
+ };
4550
4649
  };
4551
4650
  };
4552
4651
  chains: ((params: {
@@ -4558,13 +4657,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4558
4657
  fetch?: RequestInit | undefined;
4559
4658
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4560
4659
  200: {
4561
- id: number;
4562
4660
  name: string;
4661
+ id: number;
4563
4662
  icon: string;
4564
4663
  explorers: {
4565
- id: string;
4566
4664
  type: import("../../database/api/.generated").$Enums.ExplorerType;
4567
4665
  url: string;
4666
+ id: string;
4568
4667
  chainId: number;
4569
4668
  }[];
4570
4669
  } | null;
@@ -4579,13 +4678,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4579
4678
  fetch?: RequestInit | undefined;
4580
4679
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4581
4680
  200: {
4582
- id: number;
4583
4681
  name: string;
4682
+ id: number;
4584
4683
  icon: string;
4585
4684
  explorers: {
4586
- id: string;
4587
4685
  type: import("../../database/api/.generated").$Enums.ExplorerType;
4588
4686
  url: string;
4687
+ id: string;
4589
4688
  chainId: number;
4590
4689
  }[];
4591
4690
  }[];
@@ -4615,9 +4714,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4615
4714
  fetch?: RequestInit | undefined;
4616
4715
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4617
4716
  200: {
4618
- id: string;
4619
4717
  type: import("../../database/api/.generated").$Enums.ExplorerType;
4620
4718
  url: string;
4719
+ id: string;
4621
4720
  chainId: number;
4622
4721
  };
4623
4722
  }>>;
@@ -4666,10 +4765,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4666
4765
  fetch?: RequestInit | undefined;
4667
4766
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4668
4767
  200: {
4669
- id: number;
4670
4768
  symbol: string;
4671
4769
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4672
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4770
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4771
+ id: number;
4673
4772
  }[];
4674
4773
  }>>;
4675
4774
  post: (body: {
@@ -4695,10 +4794,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4695
4794
  fetch?: RequestInit | undefined;
4696
4795
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4697
4796
  200: {
4698
- id: number;
4699
4797
  symbol: string;
4700
4798
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4701
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4799
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4800
+ id: number;
4702
4801
  };
4703
4802
  }>>;
4704
4803
  patch: (body: {
@@ -4713,10 +4812,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4713
4812
  fetch?: RequestInit | undefined;
4714
4813
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4715
4814
  200: {
4716
- id: number;
4717
4815
  symbol: string;
4718
4816
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4719
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4817
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4818
+ id: number;
4720
4819
  };
4721
4820
  }>>;
4722
4821
  delete: (body: unknown, options: {
@@ -4727,10 +4826,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4727
4826
  fetch?: RequestInit | undefined;
4728
4827
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4729
4828
  200: {
4730
- id: number;
4731
4829
  symbol: string;
4732
4830
  method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
4733
- args: import("../../database/api/.generated").Prisma.JsonValue | null;
4831
+ args: import("database/api/.generated/runtime/library").JsonValue | null;
4832
+ id: number;
4734
4833
  };
4735
4834
  }>>;
4736
4835
  }) & {};
@@ -4749,7 +4848,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4749
4848
  poolAddress: string;
4750
4849
  userAddress: string;
4751
4850
  arrestTimestamp: bigint;
4752
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
4851
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
4753
4852
  }[];
4754
4853
  }>>;
4755
4854
  post: (body: {
@@ -4770,7 +4869,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4770
4869
  poolAddress: string;
4771
4870
  userAddress: string;
4772
4871
  arrestTimestamp: bigint;
4773
- arrestDetails: import("../../database/api/.generated").Prisma.JsonValue;
4872
+ arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
4774
4873
  };
4775
4874
  }>>;
4776
4875
  };
@@ -4780,7 +4879,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4780
4879
  query?: Record<string, unknown> | undefined;
4781
4880
  fetch?: RequestInit | undefined;
4782
4881
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4783
- 200: string[];
4882
+ 200: {
4883
+ [address: string]: boolean;
4884
+ };
4784
4885
  }>>;
4785
4886
  };
4786
4887
  check: ((params: {
@@ -4833,13 +4934,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4833
4934
  }, "rewards"> & {
4834
4935
  rewards: (Omit<{
4835
4936
  token: {
4836
- id: string;
4937
+ symbol: string;
4837
4938
  name: string | null;
4939
+ id: string;
4838
4940
  chainId: number;
4839
4941
  address: string;
4840
- decimals: number;
4841
- symbol: string;
4842
4942
  icon: string;
4943
+ decimals: number;
4843
4944
  verified: boolean;
4844
4945
  price: number | null;
4845
4946
  };
@@ -4847,63 +4948,63 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4847
4948
  campaignId: string;
4848
4949
  opportunity: {
4849
4950
  Chain: {
4850
- id: number;
4851
4951
  name: string;
4952
+ id: number;
4852
4953
  icon: string;
4853
4954
  };
4854
4955
  Tokens: {
4855
- id: string;
4956
+ symbol: string;
4856
4957
  name: string | null;
4958
+ id: string;
4857
4959
  chainId: number;
4858
4960
  address: string;
4859
- decimals: number;
4860
- symbol: string;
4861
4961
  icon: string;
4962
+ decimals: number;
4862
4963
  verified: boolean;
4863
4964
  price: number | null;
4864
4965
  }[];
4865
4966
  Protocols: {
4866
- id: string;
4867
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4868
4967
  name: string;
4869
- description: string;
4870
4968
  url: string;
4969
+ description: string;
4970
+ id: string;
4971
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4871
4972
  icon: string;
4872
4973
  }[];
4873
4974
  MainProtocol: {
4874
- id: string;
4875
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4876
4975
  name: string;
4877
- description: string;
4878
4976
  url: string;
4977
+ description: string;
4978
+ id: string;
4979
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4879
4980
  icon: string;
4880
4981
  } | null;
4881
4982
  } & {
4882
- id: string;
4883
- chainId: number;
4884
- type: import("../../database/api/.generated").$Enums.CampaignType;
4885
- identifier: string;
4886
4983
  name: string;
4984
+ type: import("../../database/api/.generated").$Enums.CampaignType;
4985
+ id: string;
4887
4986
  status: import("../../database/api/.generated").$Enums.Status;
4987
+ tags: string[];
4988
+ identifier: string;
4989
+ chainId: number;
4888
4990
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
4889
4991
  mainProtocolId: string | null;
4890
4992
  tvl: number;
4891
4993
  apr: number;
4892
4994
  dailyRewards: number;
4893
- tags: string[];
4894
4995
  };
4895
4996
  reason: string;
4997
+ pending: string;
4896
4998
  amount: string;
4897
4999
  claimed: string;
4898
- pending: string;
4899
5000
  auxiliaryData1: string | null;
4900
5001
  auxiliaryData2: string | null;
4901
5002
  }[];
4902
5003
  claimed: bigint;
4903
5004
  amount: bigint;
4904
5005
  pending: bigint;
4905
- root: string;
4906
5006
  recipient: string;
5007
+ root: string;
4907
5008
  proofs: string[];
4908
5009
  }, "breakdowns"> & {
4909
5010
  breakdowns: {
@@ -4932,13 +5033,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4932
5033
  }, "rewards"> & {
4933
5034
  rewards: (Omit<{
4934
5035
  token: {
4935
- id: string;
5036
+ symbol: string;
4936
5037
  name: string | null;
5038
+ id: string;
4937
5039
  chainId: number;
4938
5040
  address: string;
4939
- decimals: number;
4940
- symbol: string;
4941
5041
  icon: string;
5042
+ decimals: number;
4942
5043
  verified: boolean;
4943
5044
  price: number | null;
4944
5045
  };
@@ -4946,71 +5047,71 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
4946
5047
  campaignId: string;
4947
5048
  opportunity: {
4948
5049
  Chain: {
4949
- id: number;
4950
5050
  name: string;
5051
+ id: number;
4951
5052
  icon: string;
4952
5053
  };
4953
5054
  Tokens: {
4954
- id: string;
5055
+ symbol: string;
4955
5056
  name: string | null;
5057
+ id: string;
4956
5058
  chainId: number;
4957
5059
  address: string;
4958
- decimals: number;
4959
- symbol: string;
4960
5060
  icon: string;
5061
+ decimals: number;
4961
5062
  verified: boolean;
4962
5063
  price: number | null;
4963
5064
  }[];
4964
5065
  Protocols: {
4965
- id: string;
4966
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4967
5066
  name: string;
4968
- description: string;
4969
5067
  url: string;
5068
+ description: string;
5069
+ id: string;
5070
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4970
5071
  icon: string;
4971
5072
  }[];
4972
5073
  MainProtocol: {
4973
- id: string;
4974
- tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4975
5074
  name: string;
4976
- description: string;
4977
5075
  url: string;
5076
+ description: string;
5077
+ id: string;
5078
+ tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
4978
5079
  icon: string;
4979
5080
  } | null;
4980
5081
  } & {
4981
- id: string;
4982
- chainId: number;
4983
- type: import("../../database/api/.generated").$Enums.CampaignType;
4984
- identifier: string;
4985
5082
  name: string;
5083
+ type: import("../../database/api/.generated").$Enums.CampaignType;
5084
+ id: string;
4986
5085
  status: import("../../database/api/.generated").$Enums.Status;
5086
+ tags: string[];
5087
+ identifier: string;
5088
+ chainId: number;
4987
5089
  action: import("../../database/api/.generated").$Enums.OpportunityAction;
4988
5090
  mainProtocolId: string | null;
4989
5091
  tvl: number;
4990
5092
  apr: number;
4991
5093
  dailyRewards: number;
4992
- tags: string[];
4993
5094
  };
4994
5095
  reason: string;
5096
+ pending: string;
4995
5097
  amount: string;
4996
5098
  claimed: string;
4997
- pending: string;
4998
5099
  auxiliaryData1: string | null;
4999
5100
  auxiliaryData2: string | null;
5000
5101
  }[];
5001
5102
  claimed: bigint;
5002
5103
  amount: bigint;
5003
5104
  pending: bigint;
5004
- root: string;
5005
5105
  recipient: string;
5106
+ root: string;
5006
5107
  proofs: string[];
5007
5108
  }, "breakdowns"> & {
5008
5109
  breakdowns: {
5009
5110
  campaignId: string;
5010
5111
  reason: string;
5112
+ pending: string;
5011
5113
  amount: string;
5012
5114
  claimed: string;
5013
- pending: string;
5014
5115
  auxiliaryData1: string | null;
5015
5116
  auxiliaryData2: string | null;
5016
5117
  }[];
@@ -5029,8 +5130,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5029
5130
  fetch?: RequestInit | undefined;
5030
5131
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5031
5132
  200: {
5032
- address: string;
5033
5133
  tags: string[];
5134
+ address: string;
5034
5135
  };
5035
5136
  }>>;
5036
5137
  };
@@ -5047,8 +5148,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5047
5148
  fetch?: RequestInit | undefined;
5048
5149
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5049
5150
  200: {
5050
- address: string;
5051
5151
  tags: string[];
5152
+ address: string;
5052
5153
  }[];
5053
5154
  }>>;
5054
5155
  post: (body: {
@@ -5062,14 +5163,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5062
5163
  fetch?: RequestInit | undefined;
5063
5164
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5064
5165
  200: {
5065
- address: string;
5066
5166
  tags: string[];
5167
+ address: string;
5067
5168
  };
5068
5169
  }>>;
5069
5170
  };
5070
5171
  };
5071
5172
  roots: {
5072
- index: {
5173
+ timestamps: {
5073
5174
  get: (options: {
5074
5175
  headers?: Record<string, unknown> | undefined;
5075
5176
  query: {
@@ -5080,13 +5181,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5080
5181
  fetch?: RequestInit | undefined;
5081
5182
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5082
5183
  200: {
5083
- root: string;
5184
+ timestamp: bigint;
5084
5185
  chainId: number;
5186
+ root: string;
5085
5187
  epoch: number;
5086
- timestamp: bigint;
5087
5188
  }[];
5088
5189
  }>>;
5089
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
+ };
5090
5205
  };
5091
5206
  participate: {
5092
5207
  targets: {
@@ -5183,6 +5298,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5183
5298
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5184
5299
  200: {
5185
5300
  id: string;
5301
+ timestamp: number;
5186
5302
  chainId: number;
5187
5303
  fromTokenId: string;
5188
5304
  toTokenId: string;
@@ -5191,7 +5307,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5191
5307
  amountIn: string;
5192
5308
  amountOut: string;
5193
5309
  datetime: Date;
5194
- timestamp: number;
5195
5310
  }[];
5196
5311
  }>>;
5197
5312
  };
@@ -5307,11 +5422,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5307
5422
  token: ((params: {
5308
5423
  tokenAddress: string | number;
5309
5424
  }) => {
5310
- get: (options?: {
5311
- headers?: Record<string, unknown> | undefined;
5425
+ get: (options: {
5426
+ headers: {
5427
+ authorization: string;
5428
+ };
5312
5429
  query?: Record<string, unknown> | undefined;
5313
5430
  fetch?: RequestInit | undefined;
5314
- } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5431
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5315
5432
  200: {
5316
5433
  tvl: number;
5317
5434
  totalSupply: number;
@@ -5359,12 +5476,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5359
5476
  fetch?: RequestInit | undefined;
5360
5477
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5361
5478
  200: {
5479
+ error: string;
5480
+ details: import("database/api/.generated/runtime/library").JsonValue;
5481
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5362
5482
  campaignId: string;
5363
5483
  computedUntil: bigint;
5364
5484
  processingStarted: bigint;
5365
- status: import("../../database/api/.generated").$Enums.RunStatus;
5366
- error: string;
5367
- details: import("../../database/api/.generated").Prisma.JsonValue;
5368
5485
  }[];
5369
5486
  }>>;
5370
5487
  };
@@ -5378,27 +5495,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5378
5495
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5379
5496
  200: ({
5380
5497
  Campaign: {
5498
+ type: import("../../database/api/.generated").$Enums.CampaignType;
5381
5499
  id: string;
5500
+ params: import("database/api/.generated/runtime/library").JsonValue;
5501
+ subType: number | null;
5502
+ startTimestamp: bigint;
5503
+ endTimestamp: bigint;
5382
5504
  computeChainId: number;
5383
5505
  distributionChainId: number;
5384
5506
  campaignId: string;
5385
- type: import("../../database/api/.generated").$Enums.CampaignType;
5386
- subType: number | null;
5387
5507
  rewardTokenId: string;
5388
5508
  amount: string;
5389
5509
  opportunityId: string;
5390
- startTimestamp: bigint;
5391
- endTimestamp: bigint;
5392
- params: import("../../database/api/.generated").Prisma.JsonValue;
5393
5510
  creatorAddress: string;
5394
5511
  };
5395
5512
  } & {
5513
+ error: string;
5514
+ details: import("database/api/.generated/runtime/library").JsonValue;
5515
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5396
5516
  campaignId: string;
5397
5517
  computedUntil: bigint;
5398
5518
  processingStarted: bigint;
5399
- status: import("../../database/api/.generated").$Enums.RunStatus;
5400
- error: string;
5401
- details: import("../../database/api/.generated").Prisma.JsonValue;
5402
5519
  })[];
5403
5520
  }>>;
5404
5521
  };
@@ -5412,12 +5529,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5412
5529
  fetch?: RequestInit | undefined;
5413
5530
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5414
5531
  200: {
5532
+ error: string;
5533
+ details: import("database/api/.generated/runtime/library").JsonValue;
5534
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5415
5535
  campaignId: string;
5416
5536
  computedUntil: bigint;
5417
5537
  processingStarted: bigint;
5418
- status: import("../../database/api/.generated").$Enums.RunStatus;
5419
- error: string;
5420
- details: import("../../database/api/.generated").Prisma.JsonValue;
5421
5538
  };
5422
5539
  }>>;
5423
5540
  };
@@ -5430,12 +5547,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
5430
5547
  fetch?: RequestInit | undefined;
5431
5548
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5432
5549
  200: {
5550
+ error: string;
5551
+ details: import("database/api/.generated/runtime/library").JsonValue;
5552
+ status: import("../../database/api/.generated").$Enums.RunStatus;
5433
5553
  campaignId: string;
5434
5554
  computedUntil: bigint;
5435
5555
  processingStarted: bigint;
5436
- status: import("../../database/api/.generated").$Enums.RunStatus;
5437
- error: string;
5438
- details: import("../../database/api/.generated").Prisma.JsonValue;
5439
5556
  }[];
5440
5557
  }>>;
5441
5558
  }) & {};