@merkl/api 1.6.0 → 1.6.2

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 (71) hide show
  1. package/dist/src/eden/index.d.ts +777 -427
  2. package/dist/src/engine/implementations/clamm/tvl.abstract.d.ts +1 -1
  3. package/dist/src/index.d.ts +767 -425
  4. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +12 -0
  5. package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
  6. package/dist/src/modules/v4/campaign/campaign.formatter.js.map +1 -1
  7. package/dist/src/modules/v4/campaign/campaign.model.d.ts +3 -0
  8. package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
  9. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +22 -2
  10. package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
  11. package/dist/src/modules/v4/campaign/campaign.service.d.ts +18 -6
  12. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  13. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +8 -0
  14. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +2 -0
  15. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +2 -0
  16. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +2 -0
  17. package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -0
  18. package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -0
  19. package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +1 -0
  20. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +4 -0
  21. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +6 -0
  22. package/dist/src/modules/v4/carousel/carousel.service.d.ts +6 -0
  23. package/dist/src/modules/v4/clamm/clamm.controller.d.ts +63 -1
  24. package/dist/src/modules/v4/clamm/clamm.controller.js.map +1 -1
  25. package/dist/src/modules/v4/clamm/clamm.service.d.ts +5 -2
  26. package/dist/src/modules/v4/clamm/clamm.service.js.map +1 -1
  27. package/dist/src/modules/v4/config/config.controller.d.ts +2 -0
  28. package/dist/src/modules/v4/config/config.service.d.ts +2 -0
  29. package/dist/src/modules/v4/creator/creator.controller.d.ts +3 -0
  30. package/dist/src/modules/v4/creator/creator.model.d.ts +1 -0
  31. package/dist/src/modules/v4/creator/creator.repository.d.ts +2 -0
  32. package/dist/src/modules/v4/creator/creator.service.d.ts +2 -0
  33. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +118 -0
  34. package/dist/src/modules/v4/opportunity/opportunity.controller.js.map +1 -1
  35. package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +4 -0
  36. package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
  37. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +9 -0
  38. package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
  39. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +16 -0
  40. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  41. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +16 -0
  42. package/dist/src/modules/v4/override/override.controller.d.ts +126 -3
  43. package/dist/src/modules/v4/override/override.controller.js.map +1 -1
  44. package/dist/src/modules/v4/override/override.model.d.ts +48 -3
  45. package/dist/src/modules/v4/override/override.model.js.map +1 -1
  46. package/dist/src/modules/v4/override/override.repository.d.ts +19 -0
  47. package/dist/src/modules/v4/override/override.repository.js.map +1 -1
  48. package/dist/src/modules/v4/override/override.service.d.ts +72 -5
  49. package/dist/src/modules/v4/override/override.service.js.map +1 -1
  50. package/dist/src/modules/v4/payload/payload.controller.d.ts +418 -421
  51. package/dist/src/modules/v4/payload/payload.controller.js.map +1 -1
  52. package/dist/src/modules/v4/payload/payload.service.d.ts +425 -426
  53. package/dist/src/modules/v4/payload/payload.service.js.map +1 -1
  54. package/dist/src/modules/v4/program/program.repository.d.ts +4 -0
  55. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +2 -0
  56. package/dist/src/modules/v4/reward/reward.repository.d.ts +4 -0
  57. package/dist/src/modules/v4/reward/reward.service.d.ts +19 -0
  58. package/dist/src/modules/v4/router.d.ts +767 -425
  59. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +6 -0
  60. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +3 -0
  61. package/dist/src/modules/v4/user/user.controller.d.ts +5 -0
  62. package/dist/src/scripts/compare-engine-campaigns/campaign-loader.js.map +1 -1
  63. package/dist/src/scripts/compare-engine-campaigns/constants.d.ts +1 -0
  64. package/dist/src/scripts/compare-engine-campaigns/constants.js.map +1 -1
  65. package/dist/src/scripts/compare-engine-campaigns/diff-reporter.js.map +1 -1
  66. package/dist/src/scripts/compare-engine-campaigns/index.js.map +1 -1
  67. package/dist/src/scripts/compare-engine-campaigns/normalizer.d.ts +1 -1
  68. package/dist/src/scripts/compare-engine-campaigns/normalizer.js.map +1 -1
  69. package/dist/src/scripts/recompute-override.js.map +1 -1
  70. package/dist/src/utils/getAPR.d.ts +24 -24
  71. package/package.json +1 -1
@@ -1452,6 +1452,7 @@ declare const eden: {
1452
1452
  endTimestamp: bigint;
1453
1453
  params: import("@prisma/client/runtime/client").JsonValue;
1454
1454
  description: string | null;
1455
+ pauseCompute: boolean;
1455
1456
  dailyRewards: number;
1456
1457
  apr: number;
1457
1458
  creatorAddress: string;
@@ -1508,6 +1509,7 @@ declare const eden: {
1508
1509
  endTimestamp: bigint;
1509
1510
  params: import("@prisma/client/runtime/client").JsonValue;
1510
1511
  description: string | null;
1512
+ pauseCompute: boolean;
1511
1513
  dailyRewards: number;
1512
1514
  apr: number;
1513
1515
  creatorAddress: string;
@@ -2197,6 +2199,7 @@ declare const eden: {
2197
2199
  amount: string | bigint;
2198
2200
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
2199
2201
  }[] | undefined;
2202
+ pauseCompute?: boolean | undefined;
2200
2203
  } | {
2201
2204
  Opportunity: {
2202
2205
  id: string;
@@ -2217,6 +2220,7 @@ declare const eden: {
2217
2220
  nativeApr?: number | undefined;
2218
2221
  dailyRewards?: number | undefined;
2219
2222
  tvl?: number | undefined;
2223
+ hidden?: boolean | undefined;
2220
2224
  };
2221
2225
  amount: string;
2222
2226
  apr?: number | undefined;
@@ -2297,6 +2301,7 @@ declare const eden: {
2297
2301
  opportunityId?: string | undefined;
2298
2302
  params: any;
2299
2303
  parentCampaignId?: string | undefined;
2304
+ pauseCompute?: boolean | undefined;
2300
2305
  rewardToken: {
2301
2306
  id: string;
2302
2307
  name: string | null;
@@ -2332,6 +2337,7 @@ declare const eden: {
2332
2337
  }>>;
2333
2338
  patch: (body: {
2334
2339
  description?: string | undefined;
2340
+ pauseCompute?: boolean | undefined;
2335
2341
  }, options: {
2336
2342
  fetch?: RequestInit | undefined;
2337
2343
  headers: {
@@ -2401,6 +2407,7 @@ declare const eden: {
2401
2407
  slug: string | null;
2402
2408
  }[];
2403
2409
  id: string;
2410
+ hidden: true | undefined;
2404
2411
  nativeApr: number | undefined;
2405
2412
  depositUrl: string | undefined;
2406
2413
  explorerAddress: string | undefined;
@@ -2574,6 +2581,7 @@ declare const eden: {
2574
2581
  description?: string | undefined;
2575
2582
  icon?: string | undefined;
2576
2583
  }[];
2584
+ hidden?: boolean | undefined;
2577
2585
  } | undefined;
2578
2586
  children: {
2579
2587
  chainId: number;
@@ -2719,6 +2727,7 @@ declare const eden: {
2719
2727
  description?: string | undefined;
2720
2728
  icon?: string | undefined;
2721
2729
  }[];
2730
+ hidden?: boolean | undefined;
2722
2731
  }[];
2723
2732
  self: {
2724
2733
  chainId: number;
@@ -2864,6 +2873,7 @@ declare const eden: {
2864
2873
  description?: string | undefined;
2865
2874
  icon?: string | undefined;
2866
2875
  }[];
2876
+ hidden?: boolean | undefined;
2867
2877
  };
2868
2878
  };
2869
2879
  422: {
@@ -3066,6 +3076,7 @@ declare const eden: {
3066
3076
  amount: string | bigint;
3067
3077
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
3068
3078
  }[] | undefined;
3079
+ pauseCompute?: boolean | undefined;
3069
3080
  } | {
3070
3081
  Opportunity: {
3071
3082
  id: string;
@@ -3086,6 +3097,7 @@ declare const eden: {
3086
3097
  nativeApr?: number | undefined;
3087
3098
  dailyRewards?: number | undefined;
3088
3099
  tvl?: number | undefined;
3100
+ hidden?: boolean | undefined;
3089
3101
  };
3090
3102
  amount: string;
3091
3103
  apr?: number | undefined;
@@ -3166,6 +3178,7 @@ declare const eden: {
3166
3178
  opportunityId?: string | undefined;
3167
3179
  params: any;
3168
3180
  parentCampaignId?: string | undefined;
3181
+ pauseCompute?: boolean | undefined;
3169
3182
  rewardToken: {
3170
3183
  id: string;
3171
3184
  name: string | null;
@@ -3617,6 +3630,7 @@ declare const eden: {
3617
3630
  endTimestamp: bigint;
3618
3631
  params: import("@prisma/client/runtime/client").JsonValue;
3619
3632
  description: string | null;
3633
+ pauseCompute: boolean;
3620
3634
  dailyRewards: number;
3621
3635
  apr: number;
3622
3636
  creatorAddress: string;
@@ -3782,6 +3796,7 @@ declare const eden: {
3782
3796
  lastCampaignCreatedAt: Date;
3783
3797
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
3784
3798
  liveCampaigns: number;
3799
+ hidden: boolean;
3785
3800
  });
3786
3801
  422: {
3787
3802
  type: "validation";
@@ -3860,6 +3875,7 @@ declare const eden: {
3860
3875
  endTimestamp: bigint;
3861
3876
  params: import("@prisma/client/runtime/client").JsonValue;
3862
3877
  description: string | null;
3878
+ pauseCompute: boolean;
3863
3879
  dailyRewards: number;
3864
3880
  apr: number;
3865
3881
  creatorAddress: string;
@@ -4025,6 +4041,7 @@ declare const eden: {
4025
4041
  lastCampaignCreatedAt: Date;
4026
4042
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
4027
4043
  liveCampaigns: number;
4044
+ hidden: boolean;
4028
4045
  });
4029
4046
  422: {
4030
4047
  type: "validation";
@@ -4102,6 +4119,7 @@ declare const eden: {
4102
4119
  endTimestamp: bigint;
4103
4120
  params: import("@prisma/client/runtime/client").JsonValue;
4104
4121
  description: string | null;
4122
+ pauseCompute: boolean;
4105
4123
  dailyRewards: number;
4106
4124
  apr: number;
4107
4125
  creatorAddress: string;
@@ -4267,6 +4285,7 @@ declare const eden: {
4267
4285
  lastCampaignCreatedAt: Date;
4268
4286
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
4269
4287
  liveCampaigns: number;
4288
+ hidden: boolean;
4270
4289
  });
4271
4290
  422: {
4272
4291
  type: "validation";
@@ -4344,6 +4363,7 @@ declare const eden: {
4344
4363
  endTimestamp: bigint;
4345
4364
  params: import("@prisma/client/runtime/client").JsonValue;
4346
4365
  description: string | null;
4366
+ pauseCompute: boolean;
4347
4367
  dailyRewards: number;
4348
4368
  apr: number;
4349
4369
  creatorAddress: string;
@@ -4509,6 +4529,7 @@ declare const eden: {
4509
4529
  lastCampaignCreatedAt: Date;
4510
4530
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
4511
4531
  liveCampaigns: number;
4532
+ hidden: boolean;
4512
4533
  });
4513
4534
  422: {
4514
4535
  type: "validation";
@@ -5137,6 +5158,7 @@ declare const eden: {
5137
5158
  slug: string | null;
5138
5159
  }[];
5139
5160
  id: string;
5161
+ hidden: true | undefined;
5140
5162
  nativeApr: number | undefined;
5141
5163
  depositUrl: string | undefined;
5142
5164
  explorerAddress: string | undefined;
@@ -5898,6 +5920,7 @@ declare const eden: {
5898
5920
  lastCampaignCreatedAt: Date;
5899
5921
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
5900
5922
  liveCampaigns: number;
5923
+ hidden: boolean;
5901
5924
  }) | null;
5902
5925
  Program: ({
5903
5926
  Opportunity: ({
@@ -5976,6 +5999,7 @@ declare const eden: {
5976
5999
  lastCampaignCreatedAt: Date;
5977
6000
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
5978
6001
  liveCampaigns: number;
6002
+ hidden: boolean;
5979
6003
  })[];
5980
6004
  } & {
5981
6005
  id: string;
@@ -6255,6 +6279,7 @@ declare const eden: {
6255
6279
  lastCampaignCreatedAt: Date;
6256
6280
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
6257
6281
  liveCampaigns: number;
6282
+ hidden: boolean;
6258
6283
  }) | null;
6259
6284
  Program: ({
6260
6285
  Opportunity: ({
@@ -6333,6 +6358,7 @@ declare const eden: {
6333
6358
  lastCampaignCreatedAt: Date;
6334
6359
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
6335
6360
  liveCampaigns: number;
6361
+ hidden: boolean;
6336
6362
  })[];
6337
6363
  } & {
6338
6364
  id: string;
@@ -6767,7 +6793,7 @@ declare const eden: {
6767
6793
  symbolCurrency1: string;
6768
6794
  tickSpacing: number;
6769
6795
  } & {
6770
- protocol: import("@package/resources/enums").HYBRA | import("@package/resources/enums").JAINE | import("@package/resources/enums").KATANA | import("@package/resources/enums").KATANA_ALGEBRA | import("@package/resources/enums").KYO | import("@package/resources/enums").PANCAKESWAP | import("@package/resources/enums").PHARAOH | import("@package/resources/enums").RAMSES | import("@package/resources/enums").UNISWAPV3 | import("@package/resources/enums").UNISWAPV4 | import("@package/resources/enums").VOLTAGE | import("@package/resources/enums").XSWAP;
6796
+ protocol: import("@package/resources/enums").ARTHSWAP | import("@package/resources/enums").KYO | import("@package/resources/enums").NEPTUNE | import("@package/resources/enums").SYNC_SWAP | import("@package/resources/enums").UNISWAPV4 | import("@package/resources/enums").VELODROME | import("@package/resources/enums").HYBRA | import("@package/resources/enums").KATANA | import("@package/resources/enums").KATANA_ALGEBRA | import("@package/resources/enums").UNISWAPV3 | import("@package/resources/enums").XSWAP | import("@package/resources/enums").VOLTAGE | import("@package/resources/enums").JAINE | import("@package/resources/enums").PANCAKESWAP | import("@package/resources/enums").RAMSES | import("@package/resources/enums").PHARAOH | import("@package/resources/enums").AERODROME | import("@package/resources/enums").KITTEN_SWAP;
6771
6797
  }) | ({
6772
6798
  chainId: number;
6773
6799
  currency0: string;
@@ -6813,7 +6839,7 @@ declare const eden: {
6813
6839
  symbolCurrency1: string;
6814
6840
  tickSpacing: number;
6815
6841
  } & {
6816
- protocol: import("@package/resources/enums").HYBRA | import("@package/resources/enums").JAINE | import("@package/resources/enums").KATANA | import("@package/resources/enums").KATANA_ALGEBRA | import("@package/resources/enums").KYO | import("@package/resources/enums").PANCAKESWAP | import("@package/resources/enums").PHARAOH | import("@package/resources/enums").RAMSES | import("@package/resources/enums").UNISWAPV3 | import("@package/resources/enums").UNISWAPV4 | import("@package/resources/enums").VOLTAGE | import("@package/resources/enums").XSWAP;
6842
+ protocol: import("@package/resources/enums").ARTHSWAP | import("@package/resources/enums").KYO | import("@package/resources/enums").NEPTUNE | import("@package/resources/enums").SYNC_SWAP | import("@package/resources/enums").UNISWAPV4 | import("@package/resources/enums").VELODROME | import("@package/resources/enums").HYBRA | import("@package/resources/enums").KATANA | import("@package/resources/enums").KATANA_ALGEBRA | import("@package/resources/enums").UNISWAPV3 | import("@package/resources/enums").XSWAP | import("@package/resources/enums").VOLTAGE | import("@package/resources/enums").JAINE | import("@package/resources/enums").PANCAKESWAP | import("@package/resources/enums").RAMSES | import("@package/resources/enums").PHARAOH | import("@package/resources/enums").AERODROME | import("@package/resources/enums").KITTEN_SWAP;
6817
6843
  }) | ({
6818
6844
  chainId: number;
6819
6845
  currency0: string;
@@ -6840,7 +6866,107 @@ declare const eden: {
6840
6866
  expected?: string | undefined;
6841
6867
  };
6842
6868
  }>>;
6843
- }) & {};
6869
+ }) & {
6870
+ protocol: ((params: {
6871
+ chainId: string | number;
6872
+ }) => {} & ((params: {
6873
+ protocol: string | number;
6874
+ }) => {} & ((params: {
6875
+ poolId: string | number;
6876
+ }) => {
6877
+ get: (options?: {
6878
+ fetch?: RequestInit | undefined;
6879
+ headers?: Record<string, unknown> | undefined;
6880
+ query?: Record<string, unknown> | undefined;
6881
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
6882
+ 200: Record<string, ({
6883
+ chainId: number;
6884
+ currency0: string;
6885
+ currency1: string;
6886
+ decimalsCurrency0: number;
6887
+ decimalsCurrency1: number;
6888
+ hooks: string;
6889
+ lpFee: number;
6890
+ poolId: string;
6891
+ symbolCurrency0: string;
6892
+ symbolCurrency1: string;
6893
+ tickSpacing: number;
6894
+ } & {
6895
+ protocol: import("@package/resources/enums").ARTHSWAP | import("@package/resources/enums").KYO | import("@package/resources/enums").NEPTUNE | import("@package/resources/enums").SYNC_SWAP | import("@package/resources/enums").UNISWAPV4 | import("@package/resources/enums").VELODROME | import("@package/resources/enums").HYBRA | import("@package/resources/enums").KATANA | import("@package/resources/enums").KATANA_ALGEBRA | import("@package/resources/enums").UNISWAPV3 | import("@package/resources/enums").XSWAP | import("@package/resources/enums").VOLTAGE | import("@package/resources/enums").JAINE | import("@package/resources/enums").PANCAKESWAP | import("@package/resources/enums").RAMSES | import("@package/resources/enums").PHARAOH | import("@package/resources/enums").AERODROME | import("@package/resources/enums").KITTEN_SWAP;
6896
+ }) | ({
6897
+ chainId: number;
6898
+ currency0: string;
6899
+ currency1: string;
6900
+ decimalsCurrency0: number;
6901
+ decimalsCurrency1: number;
6902
+ hooks: string;
6903
+ lpFee: number;
6904
+ poolId: string;
6905
+ symbolCurrency0: string;
6906
+ symbolCurrency1: string;
6907
+ tickSpacing: number;
6908
+ } & {
6909
+ config: string;
6910
+ protocol: import("@package/resources/enums").EKUBO;
6911
+ })>;
6912
+ 422: {
6913
+ type: "validation";
6914
+ on: string;
6915
+ summary?: string | undefined;
6916
+ message?: string | undefined;
6917
+ found?: unknown;
6918
+ property?: string | undefined;
6919
+ expected?: string | undefined;
6920
+ };
6921
+ }>>;
6922
+ }) & {
6923
+ get: (options?: {
6924
+ fetch?: RequestInit | undefined;
6925
+ headers?: Record<string, unknown> | undefined;
6926
+ query?: Record<string, unknown> | undefined;
6927
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
6928
+ 200: Record<string, ({
6929
+ chainId: number;
6930
+ currency0: string;
6931
+ currency1: string;
6932
+ decimalsCurrency0: number;
6933
+ decimalsCurrency1: number;
6934
+ hooks: string;
6935
+ lpFee: number;
6936
+ poolId: string;
6937
+ symbolCurrency0: string;
6938
+ symbolCurrency1: string;
6939
+ tickSpacing: number;
6940
+ } & {
6941
+ protocol: import("@package/resources/enums").ARTHSWAP | import("@package/resources/enums").KYO | import("@package/resources/enums").NEPTUNE | import("@package/resources/enums").SYNC_SWAP | import("@package/resources/enums").UNISWAPV4 | import("@package/resources/enums").VELODROME | import("@package/resources/enums").HYBRA | import("@package/resources/enums").KATANA | import("@package/resources/enums").KATANA_ALGEBRA | import("@package/resources/enums").UNISWAPV3 | import("@package/resources/enums").XSWAP | import("@package/resources/enums").VOLTAGE | import("@package/resources/enums").JAINE | import("@package/resources/enums").PANCAKESWAP | import("@package/resources/enums").RAMSES | import("@package/resources/enums").PHARAOH | import("@package/resources/enums").AERODROME | import("@package/resources/enums").KITTEN_SWAP;
6942
+ }) | ({
6943
+ chainId: number;
6944
+ currency0: string;
6945
+ currency1: string;
6946
+ decimalsCurrency0: number;
6947
+ decimalsCurrency1: number;
6948
+ hooks: string;
6949
+ lpFee: number;
6950
+ poolId: string;
6951
+ symbolCurrency0: string;
6952
+ symbolCurrency1: string;
6953
+ tickSpacing: number;
6954
+ } & {
6955
+ config: string;
6956
+ protocol: import("@package/resources/enums").EKUBO;
6957
+ })>;
6958
+ 422: {
6959
+ type: "validation";
6960
+ on: string;
6961
+ summary?: string | undefined;
6962
+ message?: string | undefined;
6963
+ found?: unknown;
6964
+ property?: string | undefined;
6965
+ expected?: string | undefined;
6966
+ };
6967
+ }>>;
6968
+ })) & {};
6969
+ };
6844
6970
  };
6845
6971
  config: ((params: {
6846
6972
  id: string | number;
@@ -7028,6 +7154,7 @@ declare const eden: {
7028
7154
  endTimestamp: bigint;
7029
7155
  params: import("@prisma/client/runtime/client").JsonValue;
7030
7156
  description: string | null;
7157
+ pauseCompute: boolean;
7031
7158
  dailyRewards: number;
7032
7159
  apr: number;
7033
7160
  creatorAddress: string;
@@ -7193,6 +7320,7 @@ declare const eden: {
7193
7320
  lastCampaignCreatedAt: Date;
7194
7321
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
7195
7322
  liveCampaigns: number;
7323
+ hidden: boolean;
7196
7324
  });
7197
7325
  }>>;
7198
7326
  };
@@ -7427,6 +7555,7 @@ declare const eden: {
7427
7555
  lastCampaignCreatedAt: Date;
7428
7556
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
7429
7557
  liveCampaigns: number;
7558
+ hidden: boolean;
7430
7559
  };
7431
7560
  } & {
7432
7561
  id: string;
@@ -7443,6 +7572,7 @@ declare const eden: {
7443
7572
  endTimestamp: bigint;
7444
7573
  params: import("@prisma/client/runtime/client").JsonValue;
7445
7574
  description: string | null;
7575
+ pauseCompute: boolean;
7446
7576
  dailyRewards: number;
7447
7577
  apr: number;
7448
7578
  creatorAddress: string;
@@ -7665,6 +7795,7 @@ declare const eden: {
7665
7795
  description?: string | undefined;
7666
7796
  icon?: string | undefined;
7667
7797
  }[];
7798
+ hidden?: boolean | undefined;
7668
7799
  } & {
7669
7800
  liveCampaignsForCreator: number;
7670
7801
  distributedBycreator: number;
@@ -8384,6 +8515,7 @@ declare const eden: {
8384
8515
  description?: string | undefined;
8385
8516
  icon?: string | undefined;
8386
8517
  }[];
8518
+ hidden?: boolean | undefined;
8387
8519
  } | {
8388
8520
  action: string;
8389
8521
  activePrograms: {
@@ -8507,6 +8639,7 @@ declare const eden: {
8507
8639
  amount: string | bigint;
8508
8640
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
8509
8641
  }[] | undefined;
8642
+ pauseCompute?: boolean | undefined;
8510
8643
  }[];
8511
8644
  chain: {
8512
8645
  id: number;
@@ -8526,6 +8659,7 @@ declare const eden: {
8526
8659
  description: string;
8527
8660
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
8528
8661
  explorerAddress?: string | undefined;
8662
+ hidden?: boolean | undefined;
8529
8663
  howToSteps: string[];
8530
8664
  id: string;
8531
8665
  identifier: string;
@@ -8713,6 +8847,7 @@ declare const eden: {
8713
8847
  endTimestamp: bigint;
8714
8848
  params: import("@prisma/client/runtime/client").JsonValue;
8715
8849
  description: string | null;
8850
+ pauseCompute: boolean;
8716
8851
  dailyRewards: number;
8717
8852
  apr: number;
8718
8853
  creatorAddress: string;
@@ -8878,6 +9013,7 @@ declare const eden: {
8878
9013
  lastCampaignCreatedAt: Date;
8879
9014
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
8880
9015
  liveCampaigns: number;
9016
+ hidden: boolean;
8881
9017
  });
8882
9018
  422: {
8883
9019
  type: "validation";
@@ -8891,6 +9027,7 @@ declare const eden: {
8891
9027
  }>>;
8892
9028
  patch: (body: {
8893
9029
  tags?: string[] | undefined;
9030
+ hidden?: boolean | undefined;
8894
9031
  }, options?: {
8895
9032
  fetch?: RequestInit | undefined;
8896
9033
  headers?: Record<string, unknown> | undefined;
@@ -8918,6 +9055,7 @@ declare const eden: {
8918
9055
  lastCampaignCreatedAt: Date;
8919
9056
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
8920
9057
  liveCampaigns: number;
9058
+ hidden: boolean;
8921
9059
  };
8922
9060
  422: {
8923
9061
  type: "validation";
@@ -9064,6 +9202,7 @@ declare const eden: {
9064
9202
  amount: string | bigint;
9065
9203
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
9066
9204
  }[] | undefined;
9205
+ pauseCompute?: boolean | undefined;
9067
9206
  }[];
9068
9207
  chain: {
9069
9208
  id: number;
@@ -9083,6 +9222,7 @@ declare const eden: {
9083
9222
  description: string;
9084
9223
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
9085
9224
  explorerAddress?: string | undefined;
9225
+ hidden?: boolean | undefined;
9086
9226
  howToSteps: string[];
9087
9227
  id: string;
9088
9228
  identifier: string;
@@ -9209,6 +9349,47 @@ declare const eden: {
9209
9349
  };
9210
9350
  }>>;
9211
9351
  };
9352
+ hide: {
9353
+ patch: (body?: unknown, options?: {
9354
+ fetch?: RequestInit | undefined;
9355
+ headers?: Record<string, unknown> | undefined;
9356
+ query?: Record<string, unknown> | undefined;
9357
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
9358
+ 200: {
9359
+ id: string;
9360
+ chainId: number;
9361
+ type: string;
9362
+ identifier: string;
9363
+ name: string;
9364
+ description: string;
9365
+ howToSteps: string[];
9366
+ depositUrl: string | null;
9367
+ explorerAddress: string | null;
9368
+ status: import("@package/databases").Status;
9369
+ action: import("@package/databases").OpportunityAction;
9370
+ mainProtocolId: string | null;
9371
+ tvl: number;
9372
+ apr: number;
9373
+ nativeApr: number | null;
9374
+ maxApr: number | null;
9375
+ dailyRewards: number;
9376
+ tags: string[];
9377
+ lastCampaignCreatedAt: Date;
9378
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
9379
+ liveCampaigns: number;
9380
+ hidden: boolean;
9381
+ };
9382
+ 422: {
9383
+ type: "validation";
9384
+ on: string;
9385
+ summary?: string | undefined;
9386
+ message?: string | undefined;
9387
+ found?: unknown;
9388
+ property?: string | undefined;
9389
+ expected?: string | undefined;
9390
+ };
9391
+ }>>;
9392
+ };
9212
9393
  override: {
9213
9394
  patch: (body: {
9214
9395
  name?: string | undefined;
@@ -9253,6 +9434,7 @@ declare const eden: {
9253
9434
  lastCampaignCreatedAt: Date;
9254
9435
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
9255
9436
  liveCampaigns: number;
9437
+ hidden: boolean;
9256
9438
  };
9257
9439
  422: {
9258
9440
  type: "validation";
@@ -9324,6 +9506,7 @@ declare const eden: {
9324
9506
  endTimestamp: bigint;
9325
9507
  params: import("@prisma/client/runtime/client").JsonValue;
9326
9508
  description: string | null;
9509
+ pauseCompute: boolean;
9327
9510
  dailyRewards: number;
9328
9511
  apr: number;
9329
9512
  creatorAddress: string;
@@ -9489,6 +9672,7 @@ declare const eden: {
9489
9672
  lastCampaignCreatedAt: Date;
9490
9673
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
9491
9674
  liveCampaigns: number;
9675
+ hidden: boolean;
9492
9676
  });
9493
9677
  422: {
9494
9678
  type: "validation";
@@ -9532,6 +9716,48 @@ declare const eden: {
9532
9716
  lastCampaignCreatedAt: Date;
9533
9717
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
9534
9718
  liveCampaigns: number;
9719
+ hidden: boolean;
9720
+ };
9721
+ 422: {
9722
+ type: "validation";
9723
+ on: string;
9724
+ summary?: string | undefined;
9725
+ message?: string | undefined;
9726
+ found?: unknown;
9727
+ property?: string | undefined;
9728
+ expected?: string | undefined;
9729
+ };
9730
+ }>>;
9731
+ };
9732
+ unhide: {
9733
+ patch: (body?: unknown, options?: {
9734
+ fetch?: RequestInit | undefined;
9735
+ headers?: Record<string, unknown> | undefined;
9736
+ query?: Record<string, unknown> | undefined;
9737
+ } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
9738
+ 200: {
9739
+ id: string;
9740
+ chainId: number;
9741
+ type: string;
9742
+ identifier: string;
9743
+ name: string;
9744
+ description: string;
9745
+ howToSteps: string[];
9746
+ depositUrl: string | null;
9747
+ explorerAddress: string | null;
9748
+ status: import("@package/databases").Status;
9749
+ action: import("@package/databases").OpportunityAction;
9750
+ mainProtocolId: string | null;
9751
+ tvl: number;
9752
+ apr: number;
9753
+ nativeApr: number | null;
9754
+ maxApr: number | null;
9755
+ dailyRewards: number;
9756
+ tags: string[];
9757
+ lastCampaignCreatedAt: Date;
9758
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
9759
+ liveCampaigns: number;
9760
+ hidden: boolean;
9535
9761
  };
9536
9762
  422: {
9537
9763
  type: "validation";
@@ -9727,6 +9953,7 @@ declare const eden: {
9727
9953
  description?: string | undefined;
9728
9954
  icon?: string | undefined;
9729
9955
  }[];
9956
+ hidden?: boolean | undefined;
9730
9957
  } | {
9731
9958
  action: string;
9732
9959
  activePrograms: {
@@ -9850,6 +10077,7 @@ declare const eden: {
9850
10077
  amount: string | bigint;
9851
10078
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
9852
10079
  }[] | undefined;
10080
+ pauseCompute?: boolean | undefined;
9853
10081
  }[];
9854
10082
  chain: {
9855
10083
  id: number;
@@ -9869,6 +10097,7 @@ declare const eden: {
9869
10097
  description: string;
9870
10098
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
9871
10099
  explorerAddress?: string | undefined;
10100
+ hidden?: boolean | undefined;
9872
10101
  howToSteps: string[];
9873
10102
  id: string;
9874
10103
  identifier: string;
@@ -10428,6 +10657,7 @@ declare const eden: {
10428
10657
  amount: string | bigint;
10429
10658
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
10430
10659
  }[] | undefined;
10660
+ pauseCompute?: boolean | undefined;
10431
10661
  }[];
10432
10662
  chain: {
10433
10663
  id: number;
@@ -10447,6 +10677,7 @@ declare const eden: {
10447
10677
  description: string;
10448
10678
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | undefined;
10449
10679
  explorerAddress?: string | undefined;
10680
+ hidden?: boolean | undefined;
10450
10681
  howToSteps: string[];
10451
10682
  id: string;
10452
10683
  identifier: string;
@@ -10637,7 +10868,18 @@ declare const eden: {
10637
10868
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
10638
10869
  200: {
10639
10870
  campaignId: string;
10640
- value: any;
10871
+ value: ({
10872
+ type: "insert";
10873
+ path: string;
10874
+ value: any;
10875
+ } | {
10876
+ type: "update";
10877
+ path: string;
10878
+ value: any;
10879
+ } | {
10880
+ type: "delete";
10881
+ path: string;
10882
+ })[];
10641
10883
  signature: string;
10642
10884
  signerAddress: string;
10643
10885
  };
@@ -10654,7 +10896,18 @@ declare const eden: {
10654
10896
  }) & {
10655
10897
  post: (body: {
10656
10898
  campaignId: string;
10657
- value: any;
10899
+ value: ({
10900
+ type: "insert";
10901
+ path: string;
10902
+ value: any;
10903
+ } | {
10904
+ type: "update";
10905
+ path: string;
10906
+ value: any;
10907
+ } | {
10908
+ type: "delete";
10909
+ path: string;
10910
+ })[];
10658
10911
  message: string;
10659
10912
  signature: string;
10660
10913
  }, options: {
@@ -10666,7 +10919,18 @@ declare const eden: {
10666
10919
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
10667
10920
  200: {
10668
10921
  campaignId: string;
10669
- value: any;
10922
+ value: ({
10923
+ type: "insert";
10924
+ path: string;
10925
+ value: any;
10926
+ } | {
10927
+ type: "update";
10928
+ path: string;
10929
+ value: any;
10930
+ } | {
10931
+ type: "delete";
10932
+ path: string;
10933
+ })[];
10670
10934
  signature: string;
10671
10935
  signerAddress: string;
10672
10936
  };
@@ -10680,6 +10944,84 @@ declare const eden: {
10680
10944
  expected?: string | undefined;
10681
10945
  };
10682
10946
  }>>;
10947
+ apply: ((params: {
10948
+ campaignId: string | number;
10949
+ }) => {
10950
+ post: (body: unknown, options: {
10951
+ fetch?: RequestInit | undefined;
10952
+ headers: {
10953
+ authorization: string;
10954
+ };
10955
+ query?: Record<string, unknown> | undefined;
10956
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
10957
+ 200: any;
10958
+ 422: {
10959
+ type: "validation";
10960
+ on: string;
10961
+ summary?: string | undefined;
10962
+ message?: string | undefined;
10963
+ found?: unknown;
10964
+ property?: string | undefined;
10965
+ expected?: string | undefined;
10966
+ };
10967
+ }>>;
10968
+ }) & {
10969
+ post: (body: {
10970
+ config: any;
10971
+ override: any;
10972
+ }, options: {
10973
+ fetch?: RequestInit | undefined;
10974
+ headers: {
10975
+ authorization: string;
10976
+ };
10977
+ query?: Record<string, unknown> | undefined;
10978
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
10979
+ 200: any;
10980
+ 422: {
10981
+ type: "validation";
10982
+ on: string;
10983
+ summary?: string | undefined;
10984
+ message?: string | undefined;
10985
+ found?: unknown;
10986
+ property?: string | undefined;
10987
+ expected?: string | undefined;
10988
+ };
10989
+ }>>;
10990
+ };
10991
+ diff: {
10992
+ post: (body: {
10993
+ oldConfig: any;
10994
+ newConfig: any;
10995
+ }, options: {
10996
+ fetch?: RequestInit | undefined;
10997
+ headers: {
10998
+ authorization: string;
10999
+ };
11000
+ query?: Record<string, unknown> | undefined;
11001
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11002
+ 200: ({
11003
+ type: "insert";
11004
+ path: string;
11005
+ value: any;
11006
+ } | {
11007
+ type: "update";
11008
+ path: string;
11009
+ value: any;
11010
+ } | {
11011
+ type: "delete";
11012
+ path: string;
11013
+ })[];
11014
+ 422: {
11015
+ type: "validation";
11016
+ on: string;
11017
+ summary?: string | undefined;
11018
+ message?: string | undefined;
11019
+ found?: unknown;
11020
+ property?: string | undefined;
11021
+ expected?: string | undefined;
11022
+ };
11023
+ }>>;
11024
+ };
10683
11025
  };
10684
11026
  parse: {
10685
11027
  post: (body: {
@@ -10727,14 +11069,8 @@ declare const eden: {
10727
11069
  query?: Record<string, unknown> | undefined;
10728
11070
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
10729
11071
  200: Record<string, {
10730
- message: string;
10731
- name: string;
10732
- campaign?: undefined;
10733
- opportunity?: undefined;
10734
- tvl?: undefined;
10735
- } | {
10736
- message?: undefined;
10737
- campaign: import("@package/resources/schemas").EngineCampaign<CampaignType>;
11072
+ config: import("@package/resources/schemas").ExtendedConfig<CampaignType>;
11073
+ campaign: import("@package/resources/schemas").EngineCampaign<CampaignType.INVALID> | import("@package/resources/schemas").EngineCampaign<CampaignType>;
10738
11074
  opportunity: ({
10739
11075
  chainId: number;
10740
11076
  type: string;
@@ -10790,6 +11126,7 @@ declare const eden: {
10790
11126
  endTimestamp: bigint;
10791
11127
  params: import("@prisma/client/runtime/client").JsonValue;
10792
11128
  description: string | null;
11129
+ pauseCompute: boolean;
10793
11130
  dailyRewards: number;
10794
11131
  apr: number;
10795
11132
  creatorAddress: string;
@@ -10955,6 +11292,7 @@ declare const eden: {
10955
11292
  lastCampaignCreatedAt: Date;
10956
11293
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
10957
11294
  liveCampaigns: number;
11295
+ hidden: boolean;
10958
11296
  });
10959
11297
  tvl: {
10960
11298
  breakdowns: ({
@@ -10965,7 +11303,6 @@ declare const eden: {
10965
11303
  timestamp: bigint;
10966
11304
  total: number;
10967
11305
  } & {};
10968
- name?: undefined;
10969
11306
  }>;
10970
11307
  422: {
10971
11308
  type: "validation";
@@ -11017,147 +11354,181 @@ declare const eden: {
11017
11354
  };
11018
11355
  query?: Record<string, unknown> | undefined;
11019
11356
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11020
- 200: Record<string, {
11021
- message: string;
11022
- name: string;
11023
- campaign?: undefined;
11024
- opportunity?: undefined;
11025
- tvl?: undefined;
11026
- } | {
11027
- message?: undefined;
11028
- campaign: import("@package/resources/schemas").EngineCampaign<CampaignType>;
11029
- opportunity: ({
11030
- chainId: number;
11031
- type: string;
11032
- identifier: string;
11033
- name?: string | undefined;
11034
- status: "LIVE" | "NONE" | "PAST" | "SOON";
11035
- action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11036
- description?: string | undefined;
11037
- howToSteps?: string[] | undefined;
11038
- tokens: {
11039
- address: string;
11357
+ 200: {
11358
+ campaigns: Record<string, {
11359
+ config: import("@package/resources/schemas").ExtendedConfig<CampaignType>;
11360
+ campaign: import("@package/resources/schemas").EngineCampaign<CampaignType.INVALID> | import("@package/resources/schemas").EngineCampaign<CampaignType>;
11361
+ opportunity: ({
11040
11362
  chainId: number;
11041
- }[];
11042
- protocols?: string[] | undefined;
11043
- mainProtocol?: string | undefined;
11044
- depositUrl?: string | undefined;
11045
- explorerAddress?: string | undefined;
11046
- tags?: string[] | undefined;
11047
- } & {
11048
- id: string;
11049
- }) | ({
11050
- ActivePrograms: {
11051
- icon: string;
11052
- id: string;
11053
- name: string;
11054
- slug: string | null;
11055
- }[];
11056
- AprRecords: ({
11057
- AprBreakdown: {
11058
- identifier: string;
11059
- timestamp: bigint;
11060
- type: import("@package/databases").AprType;
11061
- value: number;
11363
+ type: string;
11364
+ identifier: string;
11365
+ name?: string | undefined;
11366
+ status: "LIVE" | "NONE" | "PAST" | "SOON";
11367
+ action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11368
+ description?: string | undefined;
11369
+ howToSteps?: string[] | undefined;
11370
+ tokens: {
11371
+ address: string;
11372
+ chainId: number;
11062
11373
  }[];
11374
+ protocols?: string[] | undefined;
11375
+ mainProtocol?: string | undefined;
11376
+ depositUrl?: string | undefined;
11377
+ explorerAddress?: string | undefined;
11378
+ tags?: string[] | undefined;
11063
11379
  } & {
11064
11380
  id: string;
11065
- timestamp: bigint;
11066
- cumulated: number;
11067
- opportunityId: string;
11068
- })[];
11069
- Campaigns: {
11070
- id: string;
11071
- computeChainId: number;
11072
- distributionChainId: number;
11073
- campaignId: string;
11074
- type: string;
11075
- distributionType: import("@package/databases").DistributionType;
11076
- subType: number | null;
11077
- rewardTokenId: string;
11078
- amount: string;
11079
- opportunityId: string;
11080
- startTimestamp: bigint;
11081
- endTimestamp: bigint;
11082
- params: import("@prisma/client/runtime/client").JsonValue;
11083
- description: string | null;
11084
- dailyRewards: number;
11085
- apr: number;
11086
- creatorAddress: string;
11087
- manualOverrides: import("@package/databases").CampaignManualOverride[];
11088
- createdAt: Date;
11089
- rootCampaignId: string | null;
11090
- parentCampaignId: string | null;
11091
- }[];
11092
- Chain: {
11093
- id: number;
11094
- name: string;
11095
- icon: string;
11096
- liveCampaigns: number;
11097
- endOfDisputePeriod: number;
11098
- };
11099
- DailyRewardsRecords: ({
11100
- DailyRewardsBreakdown: ({
11101
- Campaign: {
11102
- CampaignStatus: {
11381
+ }) | ({
11382
+ ActivePrograms: {
11383
+ icon: string;
11384
+ id: string;
11385
+ name: string;
11386
+ slug: string | null;
11387
+ }[];
11388
+ AprRecords: ({
11389
+ AprBreakdown: {
11390
+ identifier: string;
11391
+ timestamp: bigint;
11392
+ type: import("@package/databases").AprType;
11393
+ value: number;
11394
+ }[];
11395
+ } & {
11396
+ id: string;
11397
+ timestamp: bigint;
11398
+ cumulated: number;
11399
+ opportunityId: string;
11400
+ })[];
11401
+ Campaigns: {
11402
+ id: string;
11403
+ computeChainId: number;
11404
+ distributionChainId: number;
11405
+ campaignId: string;
11406
+ type: string;
11407
+ distributionType: import("@package/databases").DistributionType;
11408
+ subType: number | null;
11409
+ rewardTokenId: string;
11410
+ amount: string;
11411
+ opportunityId: string;
11412
+ startTimestamp: bigint;
11413
+ endTimestamp: bigint;
11414
+ params: import("@prisma/client/runtime/client").JsonValue;
11415
+ description: string | null;
11416
+ pauseCompute: boolean;
11417
+ dailyRewards: number;
11418
+ apr: number;
11419
+ creatorAddress: string;
11420
+ manualOverrides: import("@package/databases").CampaignManualOverride[];
11421
+ createdAt: Date;
11422
+ rootCampaignId: string | null;
11423
+ parentCampaignId: string | null;
11424
+ }[];
11425
+ Chain: {
11426
+ id: number;
11427
+ name: string;
11428
+ icon: string;
11429
+ liveCampaigns: number;
11430
+ endOfDisputePeriod: number;
11431
+ };
11432
+ DailyRewardsRecords: ({
11433
+ DailyRewardsBreakdown: ({
11434
+ Campaign: {
11435
+ CampaignStatus: {
11436
+ campaignId: string;
11437
+ computedUntil: bigint;
11438
+ processingStarted: bigint;
11439
+ status: import("@package/databases").RunStatus;
11440
+ preComputeStatus: import("@package/databases").RunStatus;
11441
+ preComputeProcessingStarted: bigint;
11442
+ error: string;
11443
+ details: import("@prisma/client/runtime/client").JsonValue;
11444
+ }[];
11445
+ RewardToken: {
11446
+ id: string;
11447
+ name: string | null;
11448
+ chainId: number;
11449
+ address: string;
11450
+ decimals: number;
11451
+ symbol: string;
11452
+ displaySymbol: string;
11453
+ icon: string;
11454
+ verified: boolean;
11455
+ isTest: boolean;
11456
+ type: import("@package/databases").TokenType;
11457
+ isNative: boolean;
11458
+ price: number | null;
11459
+ updatedAt: number | null;
11460
+ priceSource: string | null;
11461
+ };
11462
+ amount: string;
11103
11463
  campaignId: string;
11104
- computedUntil: bigint;
11105
- processingStarted: bigint;
11106
- status: import("@package/databases").RunStatus;
11107
- preComputeStatus: import("@package/databases").RunStatus;
11108
- preComputeProcessingStarted: bigint;
11109
- error: string;
11110
- details: import("@prisma/client/runtime/client").JsonValue;
11111
- }[];
11112
- RewardToken: {
11113
- id: string;
11114
- name: string | null;
11115
- chainId: number;
11116
- address: string;
11117
- decimals: number;
11118
- symbol: string;
11119
- displaySymbol: string;
11120
- icon: string;
11121
- verified: boolean;
11122
- isTest: boolean;
11123
- type: import("@package/databases").TokenType;
11124
- isNative: boolean;
11125
- price: number | null;
11126
- updatedAt: number | null;
11127
- priceSource: string | null;
11464
+ distributionType: import("@package/databases").DistributionType;
11465
+ endTimestamp: bigint;
11466
+ startTimestamp: bigint;
11128
11467
  };
11129
- amount: string;
11468
+ } & {
11469
+ id: string;
11470
+ value: number;
11471
+ timestamp: bigint;
11130
11472
  campaignId: string;
11131
- distributionType: import("@package/databases").DistributionType;
11132
- endTimestamp: bigint;
11133
- startTimestamp: bigint;
11134
- };
11473
+ dailyRewardsRecordId: string;
11474
+ })[];
11135
11475
  } & {
11136
11476
  id: string;
11137
- value: number;
11138
11477
  timestamp: bigint;
11139
- campaignId: string;
11140
- dailyRewardsRecordId: string;
11478
+ total: number;
11479
+ opportunityId: string;
11141
11480
  })[];
11142
- } & {
11143
- id: string;
11144
- timestamp: bigint;
11145
- total: number;
11146
- opportunityId: string;
11147
- })[];
11148
- MainProtocol: {
11149
- id: string;
11150
- tags: string[];
11151
- name: string;
11152
- description: string;
11153
- url: string;
11154
- icon: string;
11155
- banner: string | null;
11156
- opportunityBannerLight: string | null;
11157
- opportunityBannerDark: string | null;
11158
- } | null;
11159
- NativeAprRecords: ({
11160
- RewardToken: {
11481
+ MainProtocol: {
11482
+ id: string;
11483
+ tags: string[];
11484
+ name: string;
11485
+ description: string;
11486
+ url: string;
11487
+ icon: string;
11488
+ banner: string | null;
11489
+ opportunityBannerLight: string | null;
11490
+ opportunityBannerDark: string | null;
11491
+ } | null;
11492
+ NativeAprRecords: ({
11493
+ RewardToken: {
11494
+ id: string;
11495
+ name: string | null;
11496
+ chainId: number;
11497
+ address: string;
11498
+ decimals: number;
11499
+ symbol: string;
11500
+ displaySymbol: string;
11501
+ icon: string;
11502
+ verified: boolean;
11503
+ isTest: boolean;
11504
+ type: import("@package/databases").TokenType;
11505
+ isNative: boolean;
11506
+ price: number | null;
11507
+ updatedAt: number | null;
11508
+ priceSource: string | null;
11509
+ } | null;
11510
+ } & {
11511
+ id: string;
11512
+ title: string;
11513
+ description: string | null;
11514
+ timestamp: bigint;
11515
+ value: number;
11516
+ amount: bigint | null;
11517
+ rewardTokenId: string | null;
11518
+ opportunityId: string;
11519
+ })[];
11520
+ Protocols: {
11521
+ id: string;
11522
+ tags: string[];
11523
+ name: string;
11524
+ description: string;
11525
+ url: string;
11526
+ icon: string;
11527
+ banner: string | null;
11528
+ opportunityBannerLight: string | null;
11529
+ opportunityBannerDark: string | null;
11530
+ }[];
11531
+ Tokens: {
11161
11532
  id: string;
11162
11533
  name: string | null;
11163
11534
  chainId: number;
@@ -11173,91 +11544,58 @@ declare const eden: {
11173
11544
  price: number | null;
11174
11545
  updatedAt: number | null;
11175
11546
  priceSource: string | null;
11176
- } | null;
11547
+ }[];
11548
+ TvlRecords: ({
11549
+ TvlBreakdown: {
11550
+ identifier: string;
11551
+ type: import("@package/databases").TvlType;
11552
+ value: number;
11553
+ }[];
11554
+ } & {
11555
+ id: string;
11556
+ timestamp: bigint;
11557
+ total: number;
11558
+ opportunityId: string;
11559
+ })[];
11177
11560
  } & {
11178
11561
  id: string;
11179
- title: string;
11180
- description: string | null;
11181
- timestamp: bigint;
11182
- value: number;
11183
- amount: bigint | null;
11184
- rewardTokenId: string | null;
11185
- opportunityId: string;
11186
- })[];
11187
- Protocols: {
11188
- id: string;
11189
- tags: string[];
11562
+ chainId: number;
11563
+ type: string;
11564
+ identifier: string;
11190
11565
  name: string;
11191
11566
  description: string;
11192
- url: string;
11193
- icon: string;
11194
- banner: string | null;
11195
- opportunityBannerLight: string | null;
11196
- opportunityBannerDark: string | null;
11197
- }[];
11198
- Tokens: {
11199
- id: string;
11200
- name: string | null;
11201
- chainId: number;
11202
- address: string;
11203
- decimals: number;
11204
- symbol: string;
11205
- displaySymbol: string;
11206
- icon: string;
11207
- verified: boolean;
11208
- isTest: boolean;
11209
- type: import("@package/databases").TokenType;
11210
- isNative: boolean;
11211
- price: number | null;
11212
- updatedAt: number | null;
11213
- priceSource: string | null;
11214
- }[];
11215
- TvlRecords: ({
11216
- TvlBreakdown: {
11567
+ howToSteps: string[];
11568
+ depositUrl: string | null;
11569
+ explorerAddress: string | null;
11570
+ status: import("@package/databases").Status;
11571
+ action: import("@package/databases").OpportunityAction;
11572
+ mainProtocolId: string | null;
11573
+ tvl: number;
11574
+ apr: number;
11575
+ nativeApr: number | null;
11576
+ maxApr: number | null;
11577
+ dailyRewards: number;
11578
+ tags: string[];
11579
+ lastCampaignCreatedAt: Date;
11580
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
11581
+ liveCampaigns: number;
11582
+ hidden: boolean;
11583
+ });
11584
+ tvl: {
11585
+ breakdowns: ({
11217
11586
  identifier: string;
11218
11587
  type: import("@package/databases").TvlType;
11219
11588
  value: number;
11220
- }[];
11221
- } & {
11222
- id: string;
11589
+ } & {})[];
11223
11590
  timestamp: bigint;
11224
11591
  total: number;
11225
- opportunityId: string;
11226
- })[];
11227
- } & {
11228
- id: string;
11229
- chainId: number;
11230
- type: string;
11231
- identifier: string;
11232
- name: string;
11233
- description: string;
11234
- howToSteps: string[];
11235
- depositUrl: string | null;
11236
- explorerAddress: string | null;
11237
- status: import("@package/databases").Status;
11238
- action: import("@package/databases").OpportunityAction;
11239
- mainProtocolId: string | null;
11240
- tvl: number;
11241
- apr: number;
11242
- nativeApr: number | null;
11243
- maxApr: number | null;
11244
- dailyRewards: number;
11245
- tags: string[];
11246
- lastCampaignCreatedAt: Date;
11247
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
11248
- liveCampaigns: number;
11249
- });
11250
- tvl: {
11251
- breakdowns: ({
11252
- identifier: string;
11253
- type: import("@package/databases").TvlType;
11254
- value: number;
11255
- } & {})[];
11256
- timestamp: bigint;
11257
- total: number;
11258
- } & {};
11259
- name?: undefined;
11260
- }>;
11592
+ } & {};
11593
+ }>;
11594
+ errors: {
11595
+ campaignId: string;
11596
+ error: string;
11597
+ }[];
11598
+ };
11261
11599
  422: {
11262
11600
  type: "validation";
11263
11601
  on: string;
@@ -11287,147 +11625,181 @@ declare const eden: {
11287
11625
  };
11288
11626
  query?: Record<string, unknown> | undefined;
11289
11627
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11290
- 200: Record<string, {
11291
- message: string;
11292
- name: string;
11293
- campaign?: undefined;
11294
- opportunity?: undefined;
11295
- tvl?: undefined;
11296
- } | {
11297
- message?: undefined;
11298
- campaign: import("@package/resources/schemas").EngineCampaign<CampaignType>;
11299
- opportunity: ({
11300
- chainId: number;
11301
- type: string;
11302
- identifier: string;
11303
- name?: string | undefined;
11304
- status: "LIVE" | "NONE" | "PAST" | "SOON";
11305
- action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11306
- description?: string | undefined;
11307
- howToSteps?: string[] | undefined;
11308
- tokens: {
11309
- address: string;
11628
+ 200: {
11629
+ campaigns: Record<string, {
11630
+ config: import("@package/resources/schemas").ExtendedConfig<CampaignType>;
11631
+ campaign: import("@package/resources/schemas").EngineCampaign<CampaignType.INVALID> | import("@package/resources/schemas").EngineCampaign<CampaignType>;
11632
+ opportunity: ({
11310
11633
  chainId: number;
11311
- }[];
11312
- protocols?: string[] | undefined;
11313
- mainProtocol?: string | undefined;
11314
- depositUrl?: string | undefined;
11315
- explorerAddress?: string | undefined;
11316
- tags?: string[] | undefined;
11317
- } & {
11318
- id: string;
11319
- }) | ({
11320
- ActivePrograms: {
11321
- icon: string;
11322
- id: string;
11323
- name: string;
11324
- slug: string | null;
11325
- }[];
11326
- AprRecords: ({
11327
- AprBreakdown: {
11328
- identifier: string;
11329
- timestamp: bigint;
11330
- type: import("@package/databases").AprType;
11331
- value: number;
11634
+ type: string;
11635
+ identifier: string;
11636
+ name?: string | undefined;
11637
+ status: "LIVE" | "NONE" | "PAST" | "SOON";
11638
+ action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
11639
+ description?: string | undefined;
11640
+ howToSteps?: string[] | undefined;
11641
+ tokens: {
11642
+ address: string;
11643
+ chainId: number;
11332
11644
  }[];
11645
+ protocols?: string[] | undefined;
11646
+ mainProtocol?: string | undefined;
11647
+ depositUrl?: string | undefined;
11648
+ explorerAddress?: string | undefined;
11649
+ tags?: string[] | undefined;
11333
11650
  } & {
11334
11651
  id: string;
11335
- timestamp: bigint;
11336
- cumulated: number;
11337
- opportunityId: string;
11338
- })[];
11339
- Campaigns: {
11340
- id: string;
11341
- computeChainId: number;
11342
- distributionChainId: number;
11343
- campaignId: string;
11344
- type: string;
11345
- distributionType: import("@package/databases").DistributionType;
11346
- subType: number | null;
11347
- rewardTokenId: string;
11348
- amount: string;
11349
- opportunityId: string;
11350
- startTimestamp: bigint;
11351
- endTimestamp: bigint;
11352
- params: import("@prisma/client/runtime/client").JsonValue;
11353
- description: string | null;
11354
- dailyRewards: number;
11355
- apr: number;
11356
- creatorAddress: string;
11357
- manualOverrides: import("@package/databases").CampaignManualOverride[];
11358
- createdAt: Date;
11359
- rootCampaignId: string | null;
11360
- parentCampaignId: string | null;
11361
- }[];
11362
- Chain: {
11363
- id: number;
11364
- name: string;
11365
- icon: string;
11366
- liveCampaigns: number;
11367
- endOfDisputePeriod: number;
11368
- };
11369
- DailyRewardsRecords: ({
11370
- DailyRewardsBreakdown: ({
11371
- Campaign: {
11372
- CampaignStatus: {
11652
+ }) | ({
11653
+ ActivePrograms: {
11654
+ icon: string;
11655
+ id: string;
11656
+ name: string;
11657
+ slug: string | null;
11658
+ }[];
11659
+ AprRecords: ({
11660
+ AprBreakdown: {
11661
+ identifier: string;
11662
+ timestamp: bigint;
11663
+ type: import("@package/databases").AprType;
11664
+ value: number;
11665
+ }[];
11666
+ } & {
11667
+ id: string;
11668
+ timestamp: bigint;
11669
+ cumulated: number;
11670
+ opportunityId: string;
11671
+ })[];
11672
+ Campaigns: {
11673
+ id: string;
11674
+ computeChainId: number;
11675
+ distributionChainId: number;
11676
+ campaignId: string;
11677
+ type: string;
11678
+ distributionType: import("@package/databases").DistributionType;
11679
+ subType: number | null;
11680
+ rewardTokenId: string;
11681
+ amount: string;
11682
+ opportunityId: string;
11683
+ startTimestamp: bigint;
11684
+ endTimestamp: bigint;
11685
+ params: import("@prisma/client/runtime/client").JsonValue;
11686
+ description: string | null;
11687
+ pauseCompute: boolean;
11688
+ dailyRewards: number;
11689
+ apr: number;
11690
+ creatorAddress: string;
11691
+ manualOverrides: import("@package/databases").CampaignManualOverride[];
11692
+ createdAt: Date;
11693
+ rootCampaignId: string | null;
11694
+ parentCampaignId: string | null;
11695
+ }[];
11696
+ Chain: {
11697
+ id: number;
11698
+ name: string;
11699
+ icon: string;
11700
+ liveCampaigns: number;
11701
+ endOfDisputePeriod: number;
11702
+ };
11703
+ DailyRewardsRecords: ({
11704
+ DailyRewardsBreakdown: ({
11705
+ Campaign: {
11706
+ CampaignStatus: {
11707
+ campaignId: string;
11708
+ computedUntil: bigint;
11709
+ processingStarted: bigint;
11710
+ status: import("@package/databases").RunStatus;
11711
+ preComputeStatus: import("@package/databases").RunStatus;
11712
+ preComputeProcessingStarted: bigint;
11713
+ error: string;
11714
+ details: import("@prisma/client/runtime/client").JsonValue;
11715
+ }[];
11716
+ RewardToken: {
11717
+ id: string;
11718
+ name: string | null;
11719
+ chainId: number;
11720
+ address: string;
11721
+ decimals: number;
11722
+ symbol: string;
11723
+ displaySymbol: string;
11724
+ icon: string;
11725
+ verified: boolean;
11726
+ isTest: boolean;
11727
+ type: import("@package/databases").TokenType;
11728
+ isNative: boolean;
11729
+ price: number | null;
11730
+ updatedAt: number | null;
11731
+ priceSource: string | null;
11732
+ };
11733
+ amount: string;
11373
11734
  campaignId: string;
11374
- computedUntil: bigint;
11375
- processingStarted: bigint;
11376
- status: import("@package/databases").RunStatus;
11377
- preComputeStatus: import("@package/databases").RunStatus;
11378
- preComputeProcessingStarted: bigint;
11379
- error: string;
11380
- details: import("@prisma/client/runtime/client").JsonValue;
11381
- }[];
11382
- RewardToken: {
11383
- id: string;
11384
- name: string | null;
11385
- chainId: number;
11386
- address: string;
11387
- decimals: number;
11388
- symbol: string;
11389
- displaySymbol: string;
11390
- icon: string;
11391
- verified: boolean;
11392
- isTest: boolean;
11393
- type: import("@package/databases").TokenType;
11394
- isNative: boolean;
11395
- price: number | null;
11396
- updatedAt: number | null;
11397
- priceSource: string | null;
11735
+ distributionType: import("@package/databases").DistributionType;
11736
+ endTimestamp: bigint;
11737
+ startTimestamp: bigint;
11398
11738
  };
11399
- amount: string;
11739
+ } & {
11740
+ id: string;
11741
+ value: number;
11742
+ timestamp: bigint;
11400
11743
  campaignId: string;
11401
- distributionType: import("@package/databases").DistributionType;
11402
- endTimestamp: bigint;
11403
- startTimestamp: bigint;
11404
- };
11744
+ dailyRewardsRecordId: string;
11745
+ })[];
11405
11746
  } & {
11406
11747
  id: string;
11407
- value: number;
11408
11748
  timestamp: bigint;
11409
- campaignId: string;
11410
- dailyRewardsRecordId: string;
11749
+ total: number;
11750
+ opportunityId: string;
11411
11751
  })[];
11412
- } & {
11413
- id: string;
11414
- timestamp: bigint;
11415
- total: number;
11416
- opportunityId: string;
11417
- })[];
11418
- MainProtocol: {
11419
- id: string;
11420
- tags: string[];
11421
- name: string;
11422
- description: string;
11423
- url: string;
11424
- icon: string;
11425
- banner: string | null;
11426
- opportunityBannerLight: string | null;
11427
- opportunityBannerDark: string | null;
11428
- } | null;
11429
- NativeAprRecords: ({
11430
- RewardToken: {
11752
+ MainProtocol: {
11753
+ id: string;
11754
+ tags: string[];
11755
+ name: string;
11756
+ description: string;
11757
+ url: string;
11758
+ icon: string;
11759
+ banner: string | null;
11760
+ opportunityBannerLight: string | null;
11761
+ opportunityBannerDark: string | null;
11762
+ } | null;
11763
+ NativeAprRecords: ({
11764
+ RewardToken: {
11765
+ id: string;
11766
+ name: string | null;
11767
+ chainId: number;
11768
+ address: string;
11769
+ decimals: number;
11770
+ symbol: string;
11771
+ displaySymbol: string;
11772
+ icon: string;
11773
+ verified: boolean;
11774
+ isTest: boolean;
11775
+ type: import("@package/databases").TokenType;
11776
+ isNative: boolean;
11777
+ price: number | null;
11778
+ updatedAt: number | null;
11779
+ priceSource: string | null;
11780
+ } | null;
11781
+ } & {
11782
+ id: string;
11783
+ title: string;
11784
+ description: string | null;
11785
+ timestamp: bigint;
11786
+ value: number;
11787
+ amount: bigint | null;
11788
+ rewardTokenId: string | null;
11789
+ opportunityId: string;
11790
+ })[];
11791
+ Protocols: {
11792
+ id: string;
11793
+ tags: string[];
11794
+ name: string;
11795
+ description: string;
11796
+ url: string;
11797
+ icon: string;
11798
+ banner: string | null;
11799
+ opportunityBannerLight: string | null;
11800
+ opportunityBannerDark: string | null;
11801
+ }[];
11802
+ Tokens: {
11431
11803
  id: string;
11432
11804
  name: string | null;
11433
11805
  chainId: number;
@@ -11443,91 +11815,58 @@ declare const eden: {
11443
11815
  price: number | null;
11444
11816
  updatedAt: number | null;
11445
11817
  priceSource: string | null;
11446
- } | null;
11818
+ }[];
11819
+ TvlRecords: ({
11820
+ TvlBreakdown: {
11821
+ identifier: string;
11822
+ type: import("@package/databases").TvlType;
11823
+ value: number;
11824
+ }[];
11825
+ } & {
11826
+ id: string;
11827
+ timestamp: bigint;
11828
+ total: number;
11829
+ opportunityId: string;
11830
+ })[];
11447
11831
  } & {
11448
11832
  id: string;
11449
- title: string;
11450
- description: string | null;
11451
- timestamp: bigint;
11452
- value: number;
11453
- amount: bigint | null;
11454
- rewardTokenId: string | null;
11455
- opportunityId: string;
11456
- })[];
11457
- Protocols: {
11458
- id: string;
11459
- tags: string[];
11833
+ chainId: number;
11834
+ type: string;
11835
+ identifier: string;
11460
11836
  name: string;
11461
11837
  description: string;
11462
- url: string;
11463
- icon: string;
11464
- banner: string | null;
11465
- opportunityBannerLight: string | null;
11466
- opportunityBannerDark: string | null;
11467
- }[];
11468
- Tokens: {
11469
- id: string;
11470
- name: string | null;
11471
- chainId: number;
11472
- address: string;
11473
- decimals: number;
11474
- symbol: string;
11475
- displaySymbol: string;
11476
- icon: string;
11477
- verified: boolean;
11478
- isTest: boolean;
11479
- type: import("@package/databases").TokenType;
11480
- isNative: boolean;
11481
- price: number | null;
11482
- updatedAt: number | null;
11483
- priceSource: string | null;
11484
- }[];
11485
- TvlRecords: ({
11486
- TvlBreakdown: {
11838
+ howToSteps: string[];
11839
+ depositUrl: string | null;
11840
+ explorerAddress: string | null;
11841
+ status: import("@package/databases").Status;
11842
+ action: import("@package/databases").OpportunityAction;
11843
+ mainProtocolId: string | null;
11844
+ tvl: number;
11845
+ apr: number;
11846
+ nativeApr: number | null;
11847
+ maxApr: number | null;
11848
+ dailyRewards: number;
11849
+ tags: string[];
11850
+ lastCampaignCreatedAt: Date;
11851
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
11852
+ liveCampaigns: number;
11853
+ hidden: boolean;
11854
+ });
11855
+ tvl: {
11856
+ breakdowns: ({
11487
11857
  identifier: string;
11488
11858
  type: import("@package/databases").TvlType;
11489
11859
  value: number;
11490
- }[];
11491
- } & {
11492
- id: string;
11860
+ } & {})[];
11493
11861
  timestamp: bigint;
11494
11862
  total: number;
11495
- opportunityId: string;
11496
- })[];
11497
- } & {
11498
- id: string;
11499
- chainId: number;
11500
- type: string;
11501
- identifier: string;
11502
- name: string;
11503
- description: string;
11504
- howToSteps: string[];
11505
- depositUrl: string | null;
11506
- explorerAddress: string | null;
11507
- status: import("@package/databases").Status;
11508
- action: import("@package/databases").OpportunityAction;
11509
- mainProtocolId: string | null;
11510
- tvl: number;
11511
- apr: number;
11512
- nativeApr: number | null;
11513
- maxApr: number | null;
11514
- dailyRewards: number;
11515
- tags: string[];
11516
- lastCampaignCreatedAt: Date;
11517
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
11518
- liveCampaigns: number;
11519
- });
11520
- tvl: {
11521
- breakdowns: ({
11522
- identifier: string;
11523
- type: import("@package/databases").TvlType;
11524
- value: number;
11525
- } & {})[];
11526
- timestamp: bigint;
11527
- total: number;
11528
- } & {};
11529
- name?: undefined;
11530
- }>;
11863
+ } & {};
11864
+ }>;
11865
+ errors: {
11866
+ campaignId: string;
11867
+ error: string;
11868
+ }[];
11869
+ };
11531
11870
  422: {
11532
11871
  type: "validation";
11533
11872
  on: string;
@@ -14455,6 +14794,7 @@ declare const eden: {
14455
14794
  liveCampaignsForCreator?: number | undefined;
14456
14795
  distributedBycreator?: number | undefined;
14457
14796
  nativeApr?: number | undefined;
14797
+ hidden?: true | undefined;
14458
14798
  protocol?: ({
14459
14799
  banner: string | null;
14460
14800
  description: string;
@@ -14667,6 +15007,7 @@ declare const eden: {
14667
15007
  mainProtocolId?: string | undefined;
14668
15008
  liveCampaignsForCreator?: number | undefined;
14669
15009
  nativeApr?: number | undefined;
15010
+ hidden?: true | undefined;
14670
15011
  }) | undefined;
14671
15012
  dailyRewards?: number | undefined;
14672
15013
  apr?: number | undefined;
@@ -14674,6 +15015,7 @@ declare const eden: {
14674
15015
  childCampaignIds?: string[] | undefined;
14675
15016
  rootCampaignId?: string | undefined;
14676
15017
  parentCampaignId?: string | undefined;
15018
+ pauseCompute?: true | undefined;
14677
15019
  }, "manualOverrides">[] | undefined;
14678
15020
  };
14679
15021
  }[]>>>;
@@ -14781,6 +15123,7 @@ declare const eden: {
14781
15123
  liveCampaignsForCreator?: number | undefined;
14782
15124
  distributedBycreator?: number | undefined;
14783
15125
  nativeApr?: number | undefined;
15126
+ hidden?: true | undefined;
14784
15127
  protocol?: ({
14785
15128
  banner: string | null;
14786
15129
  description: string;
@@ -14993,6 +15336,7 @@ declare const eden: {
14993
15336
  mainProtocolId?: string | undefined;
14994
15337
  liveCampaignsForCreator?: number | undefined;
14995
15338
  nativeApr?: number | undefined;
15339
+ hidden?: true | undefined;
14996
15340
  }) | undefined;
14997
15341
  dailyRewards?: number | undefined;
14998
15342
  apr?: number | undefined;
@@ -15000,6 +15344,7 @@ declare const eden: {
15000
15344
  childCampaignIds?: string[] | undefined;
15001
15345
  rootCampaignId?: string | undefined;
15002
15346
  parentCampaignId?: string | undefined;
15347
+ pauseCompute?: true | undefined;
15003
15348
  }, "manualOverrides">[] | undefined;
15004
15349
  };
15005
15350
  }[]>>>;
@@ -15278,6 +15623,7 @@ declare const eden: {
15278
15623
  lastCampaignCreatedAt: Date;
15279
15624
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
15280
15625
  liveCampaigns: number;
15626
+ hidden: boolean;
15281
15627
  };
15282
15628
  }[];
15283
15629
  claimed: bigint;
@@ -15403,6 +15749,7 @@ declare const eden: {
15403
15749
  lastCampaignCreatedAt: Date;
15404
15750
  manualOverrides: import("@package/databases").OpportunityManualOverride[];
15405
15751
  liveCampaigns: number;
15752
+ hidden: boolean;
15406
15753
  };
15407
15754
  }[];
15408
15755
  claimed: bigint;
@@ -15467,6 +15814,7 @@ declare const eden: {
15467
15814
  liveCampaignsForCreator?: number | undefined;
15468
15815
  distributedBycreator?: number | undefined;
15469
15816
  nativeApr?: number | undefined;
15817
+ hidden?: true | undefined;
15470
15818
  protocol?: ({
15471
15819
  banner: string | null;
15472
15820
  description: string;
@@ -15679,6 +16027,7 @@ declare const eden: {
15679
16027
  mainProtocolId?: string | undefined;
15680
16028
  liveCampaignsForCreator?: number | undefined;
15681
16029
  nativeApr?: number | undefined;
16030
+ hidden?: true | undefined;
15682
16031
  }) | undefined;
15683
16032
  dailyRewards?: number | undefined;
15684
16033
  apr?: number | undefined;
@@ -15686,6 +16035,7 @@ declare const eden: {
15686
16035
  childCampaignIds?: string[] | undefined;
15687
16036
  rootCampaignId?: string | undefined;
15688
16037
  parentCampaignId?: string | undefined;
16038
+ pauseCompute?: true | undefined;
15689
16039
  }, "manualOverrides">[] | undefined;
15690
16040
  };
15691
16041
  claimed: bigint;