@merkl/api 0.12.3 → 0.12.5

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 (35) hide show
  1. package/dist/src/backgroundJobs/index.js +9 -0
  2. package/dist/src/cache/declaration.d.ts +1 -1
  3. package/dist/src/cache/declaration.js +1 -1
  4. package/dist/src/eden/index.d.ts +115 -75
  5. package/dist/src/index.d.ts +23 -15
  6. package/dist/src/libs/campaigns/utils/getEulerV2Vaults.d.ts +1 -0
  7. package/dist/src/libs/campaigns/utils/getEulerV2Vaults.js +1 -1
  8. package/dist/src/libs/campaigns/utils/getUniswapV4Pools.d.ts +1 -0
  9. package/dist/src/libs/campaigns/utils/getUniswapV4Pools.js +4 -4
  10. package/dist/src/libs/positions/EigenLayer/index.js +3 -3
  11. package/dist/src/libs/positions/types.d.ts +1 -1
  12. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
  13. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +9 -9
  14. package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
  15. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -1
  16. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -3
  17. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +5 -5
  18. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +72 -72
  19. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +1 -1
  20. package/dist/src/modules/v4/reward/reward.controller.d.ts +12 -4
  21. package/dist/src/modules/v4/reward/reward.repository.d.ts +11 -7
  22. package/dist/src/modules/v4/reward/reward.service.d.ts +10 -5
  23. package/dist/src/modules/v4/router.d.ts +23 -15
  24. package/dist/src/modules/v4/status/status.controller.d.ts +6 -6
  25. package/dist/src/modules/v4/status/status.repository.d.ts +6 -6
  26. package/dist/src/modules/v4/status/status.service.d.ts +6 -6
  27. package/dist/src/modules/v4/token/token.repository.d.ts +2 -2
  28. package/dist/src/modules/v4/token/token.service.d.ts +2 -3
  29. package/dist/src/modules/v4/user/user.repository.d.ts +1 -1
  30. package/dist/src/modules/v4/user/user.service.d.ts +1 -1
  31. package/dist/src/routes/v3/euler.js +1 -1
  32. package/dist/src/utils/prisma.d.ts +16 -3
  33. package/dist/src/utils/prisma.js +2 -1
  34. package/dist/tsconfig.package.tsbuildinfo +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,7 @@
1
+ import { Redis } from "../cache";
1
2
  import { redisClient } from "../cache/redis";
3
+ import { getEulerV2Vaults } from "../libs/campaigns/utils/getEulerV2Vaults";
4
+ import { getUniswapV4Pools } from "../libs/campaigns/utils/getUniswapV4Pools";
2
5
  import { DungeonKeeperController } from "../modules/v4/dungeonKeeper";
3
6
  import { log } from "../utils/logger";
4
7
  import { engineDbClient } from "../utils/prisma";
@@ -25,6 +28,12 @@ new Elysia({
25
28
  .use(priceUpdater) // /v3/updatePrices
26
29
  .use(healthCheck) // /v3/health
27
30
  .use(sync) // GET /jobs/api/sync-with-engine
31
+ .get("/eulerUpdate", async () => {
32
+ await Redis.safeSet("EulerV2Vaults", getEulerV2Vaults);
33
+ })
34
+ .get("/uniswapv4Update", async () => {
35
+ await Redis.safeSet("UniswapV4Pools", getUniswapV4Pools);
36
+ })
28
37
  .group("/v4", app => {
29
38
  return app.use(DungeonKeeperController);
30
39
  })
@@ -32,7 +32,7 @@ export declare const CacheDeclaration: {
32
32
  };
33
33
  EulerV2Vaults: {
34
34
  compressed: false;
35
- redisTTL: TTLType.Minutes30;
35
+ redisTTL: TTLType.Hours3;
36
36
  localCache: false;
37
37
  };
38
38
  CompoundV2ForksVaults: {
@@ -20,7 +20,7 @@ export const CacheDeclaration = {
20
20
  },
21
21
  EulerV2Vaults: {
22
22
  compressed: false,
23
- redisTTL: TTLType.Minutes30,
23
+ redisTTL: TTLType.Hours3,
24
24
  localCache: false,
25
25
  },
26
26
  CompoundV2ForksVaults: {
@@ -149,7 +149,6 @@ declare const eden: {
149
149
  tags: string[];
150
150
  icon: string;
151
151
  } | null | undefined;
152
- depositUrl?: string | undefined;
153
152
  aprRecord?: {
154
153
  timestamp: string | bigint;
155
154
  cumulated: number;
@@ -161,6 +160,7 @@ declare const eden: {
161
160
  aprRecordId: string;
162
161
  }[];
163
162
  } | undefined;
163
+ depositUrl?: string | undefined;
164
164
  tvlRecord?: {
165
165
  total: number;
166
166
  timestamp: string | bigint;
@@ -252,7 +252,6 @@ declare const eden: {
252
252
  tags: string[];
253
253
  icon: string;
254
254
  } | null | undefined;
255
- depositUrl?: string | undefined;
256
255
  aprRecord?: {
257
256
  timestamp: string | bigint;
258
257
  cumulated: number;
@@ -264,6 +263,7 @@ declare const eden: {
264
263
  aprRecordId: string;
265
264
  }[];
266
265
  } | undefined;
266
+ depositUrl?: string | undefined;
267
267
  tvlRecord?: {
268
268
  total: number;
269
269
  timestamp: string | bigint;
@@ -616,7 +616,6 @@ declare const eden: {
616
616
  tags: string[];
617
617
  icon: string;
618
618
  } | null | undefined;
619
- depositUrl?: string | undefined;
620
619
  aprRecord?: {
621
620
  timestamp: string | bigint;
622
621
  cumulated: number;
@@ -628,6 +627,7 @@ declare const eden: {
628
627
  aprRecordId: string;
629
628
  }[];
630
629
  } | undefined;
630
+ depositUrl?: string | undefined;
631
631
  tvlRecord?: {
632
632
  total: number;
633
633
  timestamp: string | bigint;
@@ -1030,10 +1030,10 @@ declare const eden: {
1030
1030
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1031
1031
  200: {
1032
1032
  endTimestamp: bigint;
1033
- campaignId: string;
1034
1033
  CampaignStatus: {
1035
1034
  computedUntil: bigint;
1036
1035
  }[];
1036
+ campaignId: string;
1037
1037
  }[];
1038
1038
  }>>;
1039
1039
  };
@@ -1453,8 +1453,12 @@ declare const eden: {
1453
1453
  };
1454
1454
  fetch?: RequestInit | undefined;
1455
1455
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1456
- [x: string]: any;
1457
- 200: any;
1456
+ 200: {
1457
+ amount: string;
1458
+ claimed: string;
1459
+ pending: string;
1460
+ recipient: string;
1461
+ }[];
1458
1462
  }>>;
1459
1463
  };
1460
1464
  total: {
@@ -1500,8 +1504,12 @@ declare const eden: {
1500
1504
  };
1501
1505
  fetch?: RequestInit | undefined;
1502
1506
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1503
- [x: string]: any;
1504
- 200: any;
1507
+ 200: {
1508
+ amount: string;
1509
+ claimed: string;
1510
+ pending: string;
1511
+ recipient: string;
1512
+ }[];
1505
1513
  }>>;
1506
1514
  };
1507
1515
  total: {
@@ -2494,13 +2502,13 @@ declare const eden: {
2494
2502
  chainId?: number | undefined;
2495
2503
  startTimestamp?: string | undefined;
2496
2504
  endTimestamp?: string | undefined;
2505
+ campaignStatus?: {} | undefined;
2497
2506
  distributionChainId?: number | undefined;
2498
2507
  campaignId?: string | undefined;
2499
2508
  rewardTokenId?: string | undefined;
2500
2509
  amount?: string | undefined;
2501
2510
  opportunityId?: string | undefined;
2502
2511
  creatorAddress?: string | undefined;
2503
- campaignStatus?: {} | undefined;
2504
2512
  rewardToken?: {} | undefined;
2505
2513
  rewardTokenAddress?: string | undefined;
2506
2514
  distributionChain?: {} | undefined;
@@ -2648,12 +2656,6 @@ declare const eden: {
2648
2656
  delayFormatted: string;
2649
2657
  startTimestamp: bigint;
2650
2658
  endTimestamp: bigint;
2651
- computeChainId: number;
2652
- distributionChainId: number;
2653
- campaignId: string;
2654
- Opportunity: {
2655
- name: string;
2656
- };
2657
2659
  CampaignStatus: {
2658
2660
  error: string;
2659
2661
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -2662,6 +2664,12 @@ declare const eden: {
2662
2664
  computedUntil: bigint;
2663
2665
  processingStarted: bigint;
2664
2666
  }[];
2667
+ Opportunity: {
2668
+ name: string;
2669
+ };
2670
+ computeChainId: number;
2671
+ distributionChainId: number;
2672
+ campaignId: string;
2665
2673
  }[];
2666
2674
  }>>;
2667
2675
  };
@@ -3142,7 +3150,6 @@ declare const eden: {
3142
3150
  tags: string[];
3143
3151
  icon: string;
3144
3152
  } | null | undefined;
3145
- depositUrl?: string | undefined;
3146
3153
  aprRecord?: {
3147
3154
  timestamp: string | bigint;
3148
3155
  cumulated: number;
@@ -3154,6 +3161,7 @@ declare const eden: {
3154
3161
  aprRecordId: string;
3155
3162
  }[];
3156
3163
  } | undefined;
3164
+ depositUrl?: string | undefined;
3157
3165
  tvlRecord?: {
3158
3166
  total: number;
3159
3167
  timestamp: string | bigint;
@@ -3245,7 +3253,6 @@ declare const eden: {
3245
3253
  tags: string[];
3246
3254
  icon: string;
3247
3255
  } | null | undefined;
3248
- depositUrl?: string | undefined;
3249
3256
  aprRecord?: {
3250
3257
  timestamp: string | bigint;
3251
3258
  cumulated: number;
@@ -3257,6 +3264,7 @@ declare const eden: {
3257
3264
  aprRecordId: string;
3258
3265
  }[];
3259
3266
  } | undefined;
3267
+ depositUrl?: string | undefined;
3260
3268
  tvlRecord?: {
3261
3269
  total: number;
3262
3270
  timestamp: string | bigint;
@@ -3609,7 +3617,6 @@ declare const eden: {
3609
3617
  tags: string[];
3610
3618
  icon: string;
3611
3619
  } | null | undefined;
3612
- depositUrl?: string | undefined;
3613
3620
  aprRecord?: {
3614
3621
  timestamp: string | bigint;
3615
3622
  cumulated: number;
@@ -3621,6 +3628,7 @@ declare const eden: {
3621
3628
  aprRecordId: string;
3622
3629
  }[];
3623
3630
  } | undefined;
3631
+ depositUrl?: string | undefined;
3624
3632
  tvlRecord?: {
3625
3633
  total: number;
3626
3634
  timestamp: string | bigint;
@@ -4023,10 +4031,10 @@ declare const eden: {
4023
4031
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4024
4032
  200: {
4025
4033
  endTimestamp: bigint;
4026
- campaignId: string;
4027
4034
  CampaignStatus: {
4028
4035
  computedUntil: bigint;
4029
4036
  }[];
4037
+ campaignId: string;
4030
4038
  }[];
4031
4039
  }>>;
4032
4040
  };
@@ -4446,8 +4454,12 @@ declare const eden: {
4446
4454
  };
4447
4455
  fetch?: RequestInit | undefined;
4448
4456
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4449
- [x: string]: any;
4450
- 200: any;
4457
+ 200: {
4458
+ amount: string;
4459
+ claimed: string;
4460
+ pending: string;
4461
+ recipient: string;
4462
+ }[];
4451
4463
  }>>;
4452
4464
  };
4453
4465
  total: {
@@ -4493,8 +4505,12 @@ declare const eden: {
4493
4505
  };
4494
4506
  fetch?: RequestInit | undefined;
4495
4507
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4496
- [x: string]: any;
4497
- 200: any;
4508
+ 200: {
4509
+ amount: string;
4510
+ claimed: string;
4511
+ pending: string;
4512
+ recipient: string;
4513
+ }[];
4498
4514
  }>>;
4499
4515
  };
4500
4516
  total: {
@@ -5487,13 +5503,13 @@ declare const eden: {
5487
5503
  chainId?: number | undefined;
5488
5504
  startTimestamp?: string | undefined;
5489
5505
  endTimestamp?: string | undefined;
5506
+ campaignStatus?: {} | undefined;
5490
5507
  distributionChainId?: number | undefined;
5491
5508
  campaignId?: string | undefined;
5492
5509
  rewardTokenId?: string | undefined;
5493
5510
  amount?: string | undefined;
5494
5511
  opportunityId?: string | undefined;
5495
5512
  creatorAddress?: string | undefined;
5496
- campaignStatus?: {} | undefined;
5497
5513
  rewardToken?: {} | undefined;
5498
5514
  rewardTokenAddress?: string | undefined;
5499
5515
  distributionChain?: {} | undefined;
@@ -5641,12 +5657,6 @@ declare const eden: {
5641
5657
  delayFormatted: string;
5642
5658
  startTimestamp: bigint;
5643
5659
  endTimestamp: bigint;
5644
- computeChainId: number;
5645
- distributionChainId: number;
5646
- campaignId: string;
5647
- Opportunity: {
5648
- name: string;
5649
- };
5650
5660
  CampaignStatus: {
5651
5661
  error: string;
5652
5662
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -5655,6 +5665,12 @@ declare const eden: {
5655
5665
  computedUntil: bigint;
5656
5666
  processingStarted: bigint;
5657
5667
  }[];
5668
+ Opportunity: {
5669
+ name: string;
5670
+ };
5671
+ computeChainId: number;
5672
+ distributionChainId: number;
5673
+ campaignId: string;
5658
5674
  }[];
5659
5675
  }>>;
5660
5676
  };
@@ -7086,7 +7102,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7086
7102
  tags: string[];
7087
7103
  icon: string;
7088
7104
  } | null | undefined;
7089
- depositUrl?: string | undefined;
7090
7105
  aprRecord?: {
7091
7106
  timestamp: string | bigint;
7092
7107
  cumulated: number;
@@ -7098,6 +7113,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7098
7113
  aprRecordId: string;
7099
7114
  }[];
7100
7115
  } | undefined;
7116
+ depositUrl?: string | undefined;
7101
7117
  tvlRecord?: {
7102
7118
  total: number;
7103
7119
  timestamp: string | bigint;
@@ -7210,7 +7226,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7210
7226
  tags: string[];
7211
7227
  icon: string;
7212
7228
  } | null | undefined;
7213
- depositUrl?: string | undefined;
7214
7229
  aprRecord?: {
7215
7230
  timestamp: string | bigint;
7216
7231
  cumulated: number;
@@ -7222,6 +7237,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7222
7237
  aprRecordId: string;
7223
7238
  }[];
7224
7239
  } | undefined;
7240
+ depositUrl?: string | undefined;
7225
7241
  tvlRecord?: {
7226
7242
  total: number;
7227
7243
  timestamp: string | bigint;
@@ -7369,7 +7385,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7369
7385
  tags: string[];
7370
7386
  icon: string;
7371
7387
  } | null | undefined;
7372
- depositUrl?: string | undefined;
7373
7388
  aprRecord?: {
7374
7389
  timestamp: string | bigint;
7375
7390
  cumulated: number;
@@ -7381,6 +7396,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7381
7396
  aprRecordId: string;
7382
7397
  }[];
7383
7398
  } | undefined;
7399
+ depositUrl?: string | undefined;
7384
7400
  tvlRecord?: {
7385
7401
  total: number;
7386
7402
  timestamp: string | bigint;
@@ -7861,10 +7877,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7861
7877
  response: {
7862
7878
  200: {
7863
7879
  endTimestamp: bigint;
7864
- campaignId: string;
7865
7880
  CampaignStatus: {
7866
7881
  computedUntil: bigint;
7867
7882
  }[];
7883
+ campaignId: string;
7868
7884
  }[];
7869
7885
  };
7870
7886
  };
@@ -8381,8 +8397,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8381
8397
  };
8382
8398
  headers: unknown;
8383
8399
  response: {
8384
- [x: string]: any;
8385
- 200: any;
8400
+ 200: {
8401
+ amount: string;
8402
+ claimed: string;
8403
+ pending: string;
8404
+ recipient: string;
8405
+ }[];
8386
8406
  };
8387
8407
  };
8388
8408
  };
@@ -8446,8 +8466,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8446
8466
  };
8447
8467
  headers: unknown;
8448
8468
  response: {
8449
- [x: string]: any;
8450
- 200: any;
8469
+ 200: {
8470
+ amount: string;
8471
+ claimed: string;
8472
+ pending: string;
8473
+ recipient: string;
8474
+ }[];
8451
8475
  };
8452
8476
  };
8453
8477
  };
@@ -9764,13 +9788,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9764
9788
  chainId?: number | undefined;
9765
9789
  startTimestamp?: string | undefined;
9766
9790
  endTimestamp?: string | undefined;
9791
+ campaignStatus?: {} | undefined;
9767
9792
  distributionChainId?: number | undefined;
9768
9793
  campaignId?: string | undefined;
9769
9794
  rewardTokenId?: string | undefined;
9770
9795
  amount?: string | undefined;
9771
9796
  opportunityId?: string | undefined;
9772
9797
  creatorAddress?: string | undefined;
9773
- campaignStatus?: {} | undefined;
9774
9798
  rewardToken?: {} | undefined;
9775
9799
  rewardTokenAddress?: string | undefined;
9776
9800
  distributionChain?: {} | undefined;
@@ -9944,12 +9968,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9944
9968
  delayFormatted: string;
9945
9969
  startTimestamp: bigint;
9946
9970
  endTimestamp: bigint;
9947
- computeChainId: number;
9948
- distributionChainId: number;
9949
- campaignId: string;
9950
- Opportunity: {
9951
- name: string;
9952
- };
9953
9971
  CampaignStatus: {
9954
9972
  error: string;
9955
9973
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -9958,6 +9976,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9958
9976
  computedUntil: bigint;
9959
9977
  processingStarted: bigint;
9960
9978
  }[];
9979
+ Opportunity: {
9980
+ name: string;
9981
+ };
9982
+ computeChainId: number;
9983
+ distributionChainId: number;
9984
+ campaignId: string;
9961
9985
  }[];
9962
9986
  };
9963
9987
  };
@@ -11432,7 +11456,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11432
11456
  tags: string[];
11433
11457
  icon: string;
11434
11458
  } | null | undefined;
11435
- depositUrl?: string | undefined;
11436
11459
  aprRecord?: {
11437
11460
  timestamp: string | bigint;
11438
11461
  cumulated: number;
@@ -11444,6 +11467,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11444
11467
  aprRecordId: string;
11445
11468
  }[];
11446
11469
  } | undefined;
11470
+ depositUrl?: string | undefined;
11447
11471
  tvlRecord?: {
11448
11472
  total: number;
11449
11473
  timestamp: string | bigint;
@@ -11535,7 +11559,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11535
11559
  tags: string[];
11536
11560
  icon: string;
11537
11561
  } | null | undefined;
11538
- depositUrl?: string | undefined;
11539
11562
  aprRecord?: {
11540
11563
  timestamp: string | bigint;
11541
11564
  cumulated: number;
@@ -11547,6 +11570,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11547
11570
  aprRecordId: string;
11548
11571
  }[];
11549
11572
  } | undefined;
11573
+ depositUrl?: string | undefined;
11550
11574
  tvlRecord?: {
11551
11575
  total: number;
11552
11576
  timestamp: string | bigint;
@@ -11899,7 +11923,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11899
11923
  tags: string[];
11900
11924
  icon: string;
11901
11925
  } | null | undefined;
11902
- depositUrl?: string | undefined;
11903
11926
  aprRecord?: {
11904
11927
  timestamp: string | bigint;
11905
11928
  cumulated: number;
@@ -11911,6 +11934,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
11911
11934
  aprRecordId: string;
11912
11935
  }[];
11913
11936
  } | undefined;
11937
+ depositUrl?: string | undefined;
11914
11938
  tvlRecord?: {
11915
11939
  total: number;
11916
11940
  timestamp: string | bigint;
@@ -12313,10 +12337,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12313
12337
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12314
12338
  200: {
12315
12339
  endTimestamp: bigint;
12316
- campaignId: string;
12317
12340
  CampaignStatus: {
12318
12341
  computedUntil: bigint;
12319
12342
  }[];
12343
+ campaignId: string;
12320
12344
  }[];
12321
12345
  }>>;
12322
12346
  };
@@ -12736,8 +12760,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12736
12760
  };
12737
12761
  fetch?: RequestInit | undefined;
12738
12762
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12739
- [x: string]: any;
12740
- 200: any;
12763
+ 200: {
12764
+ amount: string;
12765
+ claimed: string;
12766
+ pending: string;
12767
+ recipient: string;
12768
+ }[];
12741
12769
  }>>;
12742
12770
  };
12743
12771
  total: {
@@ -12783,8 +12811,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12783
12811
  };
12784
12812
  fetch?: RequestInit | undefined;
12785
12813
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12786
- [x: string]: any;
12787
- 200: any;
12814
+ 200: {
12815
+ amount: string;
12816
+ claimed: string;
12817
+ pending: string;
12818
+ recipient: string;
12819
+ }[];
12788
12820
  }>>;
12789
12821
  };
12790
12822
  total: {
@@ -13777,13 +13809,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13777
13809
  chainId?: number | undefined;
13778
13810
  startTimestamp?: string | undefined;
13779
13811
  endTimestamp?: string | undefined;
13812
+ campaignStatus?: {} | undefined;
13780
13813
  distributionChainId?: number | undefined;
13781
13814
  campaignId?: string | undefined;
13782
13815
  rewardTokenId?: string | undefined;
13783
13816
  amount?: string | undefined;
13784
13817
  opportunityId?: string | undefined;
13785
13818
  creatorAddress?: string | undefined;
13786
- campaignStatus?: {} | undefined;
13787
13819
  rewardToken?: {} | undefined;
13788
13820
  rewardTokenAddress?: string | undefined;
13789
13821
  distributionChain?: {} | undefined;
@@ -13931,12 +13963,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13931
13963
  delayFormatted: string;
13932
13964
  startTimestamp: bigint;
13933
13965
  endTimestamp: bigint;
13934
- computeChainId: number;
13935
- distributionChainId: number;
13936
- campaignId: string;
13937
- Opportunity: {
13938
- name: string;
13939
- };
13940
13966
  CampaignStatus: {
13941
13967
  error: string;
13942
13968
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -13945,6 +13971,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13945
13971
  computedUntil: bigint;
13946
13972
  processingStarted: bigint;
13947
13973
  }[];
13974
+ Opportunity: {
13975
+ name: string;
13976
+ };
13977
+ computeChainId: number;
13978
+ distributionChainId: number;
13979
+ campaignId: string;
13948
13980
  }[];
13949
13981
  }>>;
13950
13982
  };
@@ -14425,7 +14457,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14425
14457
  tags: string[];
14426
14458
  icon: string;
14427
14459
  } | null | undefined;
14428
- depositUrl?: string | undefined;
14429
14460
  aprRecord?: {
14430
14461
  timestamp: string | bigint;
14431
14462
  cumulated: number;
@@ -14437,6 +14468,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14437
14468
  aprRecordId: string;
14438
14469
  }[];
14439
14470
  } | undefined;
14471
+ depositUrl?: string | undefined;
14440
14472
  tvlRecord?: {
14441
14473
  total: number;
14442
14474
  timestamp: string | bigint;
@@ -14528,7 +14560,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14528
14560
  tags: string[];
14529
14561
  icon: string;
14530
14562
  } | null | undefined;
14531
- depositUrl?: string | undefined;
14532
14563
  aprRecord?: {
14533
14564
  timestamp: string | bigint;
14534
14565
  cumulated: number;
@@ -14540,6 +14571,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14540
14571
  aprRecordId: string;
14541
14572
  }[];
14542
14573
  } | undefined;
14574
+ depositUrl?: string | undefined;
14543
14575
  tvlRecord?: {
14544
14576
  total: number;
14545
14577
  timestamp: string | bigint;
@@ -14892,7 +14924,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14892
14924
  tags: string[];
14893
14925
  icon: string;
14894
14926
  } | null | undefined;
14895
- depositUrl?: string | undefined;
14896
14927
  aprRecord?: {
14897
14928
  timestamp: string | bigint;
14898
14929
  cumulated: number;
@@ -14904,6 +14935,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14904
14935
  aprRecordId: string;
14905
14936
  }[];
14906
14937
  } | undefined;
14938
+ depositUrl?: string | undefined;
14907
14939
  tvlRecord?: {
14908
14940
  total: number;
14909
14941
  timestamp: string | bigint;
@@ -15306,10 +15338,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15306
15338
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
15307
15339
  200: {
15308
15340
  endTimestamp: bigint;
15309
- campaignId: string;
15310
15341
  CampaignStatus: {
15311
15342
  computedUntil: bigint;
15312
15343
  }[];
15344
+ campaignId: string;
15313
15345
  }[];
15314
15346
  }>>;
15315
15347
  };
@@ -15729,8 +15761,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15729
15761
  };
15730
15762
  fetch?: RequestInit | undefined;
15731
15763
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
15732
- [x: string]: any;
15733
- 200: any;
15764
+ 200: {
15765
+ amount: string;
15766
+ claimed: string;
15767
+ pending: string;
15768
+ recipient: string;
15769
+ }[];
15734
15770
  }>>;
15735
15771
  };
15736
15772
  total: {
@@ -15776,8 +15812,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15776
15812
  };
15777
15813
  fetch?: RequestInit | undefined;
15778
15814
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
15779
- [x: string]: any;
15780
- 200: any;
15815
+ 200: {
15816
+ amount: string;
15817
+ claimed: string;
15818
+ pending: string;
15819
+ recipient: string;
15820
+ }[];
15781
15821
  }>>;
15782
15822
  };
15783
15823
  total: {
@@ -16770,13 +16810,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16770
16810
  chainId?: number | undefined;
16771
16811
  startTimestamp?: string | undefined;
16772
16812
  endTimestamp?: string | undefined;
16813
+ campaignStatus?: {} | undefined;
16773
16814
  distributionChainId?: number | undefined;
16774
16815
  campaignId?: string | undefined;
16775
16816
  rewardTokenId?: string | undefined;
16776
16817
  amount?: string | undefined;
16777
16818
  opportunityId?: string | undefined;
16778
16819
  creatorAddress?: string | undefined;
16779
- campaignStatus?: {} | undefined;
16780
16820
  rewardToken?: {} | undefined;
16781
16821
  rewardTokenAddress?: string | undefined;
16782
16822
  distributionChain?: {} | undefined;
@@ -16924,12 +16964,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16924
16964
  delayFormatted: string;
16925
16965
  startTimestamp: bigint;
16926
16966
  endTimestamp: bigint;
16927
- computeChainId: number;
16928
- distributionChainId: number;
16929
- campaignId: string;
16930
- Opportunity: {
16931
- name: string;
16932
- };
16933
16967
  CampaignStatus: {
16934
16968
  error: string;
16935
16969
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -16938,6 +16972,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16938
16972
  computedUntil: bigint;
16939
16973
  processingStarted: bigint;
16940
16974
  }[];
16975
+ Opportunity: {
16976
+ name: string;
16977
+ };
16978
+ computeChainId: number;
16979
+ distributionChainId: number;
16980
+ campaignId: string;
16941
16981
  }[];
16942
16982
  }>>;
16943
16983
  };