@merkl/api 1.3.59 → 1.3.61

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.
@@ -1083,6 +1083,27 @@ export declare abstract class OpportunityRepository {
1083
1083
  opportunityId: string;
1084
1084
  };
1085
1085
  opportunity: Prisma.BatchPayload | {
1086
+ id: string;
1087
+ chainId: number;
1088
+ type: string;
1089
+ identifier: string;
1090
+ name: string;
1091
+ description: string;
1092
+ howToSteps: string[];
1093
+ depositUrl: string | null;
1094
+ explorerAddress: string | null;
1095
+ status: import("@package/databases").Status;
1096
+ action: import("@package/databases").OpportunityAction;
1097
+ mainProtocolId: string | null;
1098
+ tvl: number;
1099
+ apr: number;
1100
+ maxApr: number | null;
1101
+ dailyRewards: number;
1102
+ tags: string[];
1103
+ lastCampaignCreatedAt: Date;
1104
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
1105
+ liveCampaigns: number;
1106
+ } | {
1086
1107
  id: string;
1087
1108
  computeChainId: number;
1088
1109
  distributionChainId: number;
@@ -1104,27 +1125,6 @@ export declare abstract class OpportunityRepository {
1104
1125
  createdAt: Date;
1105
1126
  rootCampaignId: string | null;
1106
1127
  parentCampaignId: string | null;
1107
- } | {
1108
- id: string;
1109
- chainId: number;
1110
- type: string;
1111
- identifier: string;
1112
- name: string;
1113
- description: string;
1114
- howToSteps: string[];
1115
- depositUrl: string | null;
1116
- explorerAddress: string | null;
1117
- status: import("@package/databases").Status;
1118
- action: import("@package/databases").OpportunityAction;
1119
- mainProtocolId: string | null;
1120
- tvl: number;
1121
- apr: number;
1122
- maxApr: number | null;
1123
- dailyRewards: number;
1124
- tags: string[];
1125
- lastCampaignCreatedAt: Date;
1126
- manualOverrides: import("@package/databases").OpportunityManualOverride[];
1127
- liveCampaigns: number;
1128
1128
  };
1129
1129
  }>;
1130
1130
  static updateStatus(id: string, status: Status): Promise<{
@@ -652,23 +652,6 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
652
652
  apr: string;
653
653
  targetTokenPricing: boolean;
654
654
  rewardTokenPricing: boolean;
655
- } | {
656
- rewardToken: string;
657
- amount: string;
658
- startTimestamp: number;
659
- computeChainId?: import("@package/sdk").ARBITRUM | import("@package/sdk").AVALANCHE | import("@package/sdk").BASE | import("@package/sdk").BSC | import("@package/sdk").CELO | import("@package/sdk").CORE | import("@package/sdk").FANTOM | import("@package/sdk").FUSE | import("@package/sdk").XLAYER | import("@package/sdk").GNOSIS | import("@package/sdk").LINEA | import("@package/sdk").MAINNET | import("@package/sdk").MANTLE | import("@package/sdk").OPTIMISM | import("@package/sdk").POLYGON | import("@package/sdk").POLYGONZKEVM | import("@package/sdk").THUNDERCORE | import("@package/sdk").ZKSYNC | import("@package/sdk").SCROLL | import("@package/sdk").MANTA | import("@package/sdk").IMMUTABLE | import("@package/sdk").BLAST | import("@package/sdk").MODE | import("@package/sdk").ASTAR | import("@package/sdk").ROOTSTOCK | import("@package/sdk").TAIKO | import("@package/sdk").SEI | import("@package/sdk").MOONBEAM | import("@package/sdk").SKALE | import("@package/sdk").FRAXTAL | import("@package/sdk").BOB | import("@package/sdk").WORLDCHAIN | import("@package/sdk").ETHERLINK | import("@package/sdk").LISK | import("@package/sdk").UNICHAIN | import("@package/sdk").BERACHAIN | import("@package/sdk").SWELL | import("@package/sdk").ARTHERA | import("@package/sdk").SONIC | import("@package/sdk").CORN | import("@package/sdk").SONEIUM | import("@package/sdk").INK | import("@package/sdk").RONIN | import("@package/sdk").FLOW | import("@package/sdk").NIBIRU | import("@package/sdk").APECHAIN | import("@package/sdk").HYPEREVM | import("@package/sdk").ZIRCUIT | import("@package/sdk").HEMI | import("@package/sdk").SAGA_EVM | import("@package/sdk").PLUME | import("@package/sdk").XDC | import("@package/sdk").KATANA | import("@package/sdk").REDBELLY | import("@package/sdk").TAC | import("@package/sdk").XRPLEVM | undefined;
660
- creator?: string | undefined;
661
- hooks?: (string | import("@package/sdk").HookParameters<import("@package/sdk").HookType>)[] | undefined;
662
- computeScoreParameters?: import("@package/sdk").ComputeScoreParameters<import("@package/sdk").ComputeScoreMethod> | undefined;
663
- distributionMethodParameters?: import("@package/sdk").DistributionParameters<import("@package/sdk").DistributionMethod> | undefined;
664
- campaignType: import("@package/sdk").ION;
665
- endTimestamp: number;
666
- whitelist: string[];
667
- blacklist: string[];
668
- forwarders: string[];
669
- marketId: string;
670
- poolId: string;
671
- subCampaignType: import("@package/sdk").IonSubCampaignType;
672
655
  } | {
673
656
  rewardToken: string;
674
657
  amount: string;
@@ -3,6 +3,7 @@ import type { partialConfig } from "./programPayload.model";
3
3
  import { AavePayloads } from "./subPayloads/aave";
4
4
  import { BakerDaoSubPayloads } from "./subPayloads/bakerdao";
5
5
  import { BancorSubPayloads } from "./subPayloads/bancor";
6
+ import { DripPayloads } from "./subPayloads/drip";
6
7
  import { EthenaPayloads } from "./subPayloads/ethena";
7
8
  import { HypurrFiSubPayloads } from "./subPayloads/hypurrFi";
8
9
  import { NibiruSubPayloads } from "./subPayloads/nibiru";
@@ -42,7 +43,8 @@ export declare enum program {
42
43
  Morpho = "Morpho",
43
44
  BakerDao = "BakerDao",
44
45
  Aave = "Aave",
45
- Jumper = "Jumper"
46
+ Jumper = "Jumper",
47
+ Drip = "Drip"
46
48
  }
47
49
  export declare enum MorphoCampaigns {
48
50
  Supply_vbUSDC_to_any_market_Katana = "Supply vbUSDC 0x203A662b0BD271A6ed5a60EdFbd04bFce608FD36 to any market Katana",
@@ -423,6 +425,7 @@ export declare enum etherlinkCampaigns {
423
425
  Superlend_Net_Supply_WBTC_Etherlink = "Superlend net Supply WBTC Etherlink 0xfCA0802cb10b3b134a91e07f03965f63eF4B23eA-0x87C4D41c0982F335E8eB6BE30fD2Ae91A6de31FB",
424
426
  Superlend_Net_Supply_WETH_Etherlink = "Superlend net Supply WETH Etherlink 0x301bea8B7c0eF6722c937C07Da4d53931F61969c-0x2Bc84b1F1E1b89521de08C966bE1ca498F97a493",
425
427
  Superlend_Net_Supply_WXTZ_Etherlink = "Superlend net Supply WXTZ Etherlink 0x008ae222661B6A42e3A097bd7AAC15412829106b-0x1504D006b80b1616d2651E8d15D5d25A88efef58",
428
+ Superlend_Superloop_XTZ_Etherlink = "Superlend Superloop XTZ 0xe24e5DEbA01Ab0B5D78A0093442De0864832803E",
426
429
  Iguana_stXTZ_WXTZ = "Iguana stXTZ/WXTZ Etherlink 0xcdf92Cdc35c55507BaC86b24b718308D56b59597",
427
430
  Iguana_WETH_WXTZ = "Iguana WETH/WXTZ Etherlink 0x478F067b0Ed73d120BBcd8c6f4f33438FC483912",
428
431
  Iguana_USDC_USDT = "Iguana USDC/USDT Etherlink 0x86456e2E2A203Da82E61ed34eF4137Fbe545f0DC",
@@ -454,6 +457,7 @@ export declare enum etherlinkCampaigns {
454
457
  Curve_mBASIS_USDC_Etherlink = "Curve mBASIS/USDC Etherlink 0x0714027E44802b2Ff76389daF5371990CC3a4C24",
455
458
  Curve_mMEV_USDC_Etherlink = "Curve mMEV/USDC Etherlink 0x269b47978f4348C96f521658eF452fF85906fcfe",
456
459
  Curve_stXTZ_WXTZ_Etherlink = "Curve stXTZ/WXTZ Etherlink 0x74d80eE400D3026FDd2520265cC98300710b25D4",
460
+ Curve_mRE7_USDC_Etherlink = "Curve mRE7/USDC 0x5D37F9B272ca7cdA2A05245b9a503746EefAC88f",
457
461
  Gearbox_Re7USDC = "Gearbox Re7USDC 0x653e62A9Ef0e869F91Dc3D627B479592aA02eA75"
458
462
  }
459
463
  export declare enum swapxCampaigns {
@@ -3851,6 +3855,29 @@ declare const EtherlinkInterfaceCampaigns: {
3851
3855
  blacklist: string[];
3852
3856
  url: string;
3853
3857
  };
3858
+ "Superlend Superloop XTZ 0xe24e5DEbA01Ab0B5D78A0093442De0864832803E": {
3859
+ campaignType: CampaignType;
3860
+ computeChainId: ChainId;
3861
+ hooks: {
3862
+ hookType: HookType;
3863
+ key: string;
3864
+ chainId: ChainId;
3865
+ contractAddress: string;
3866
+ contractState: contractStateBoost;
3867
+ boostForReferrer: boostingReferralFunction;
3868
+ valueForBoostForReferrer: number;
3869
+ boostForInvited: boostingReferralFunction;
3870
+ valueForBoostForInvited: number;
3871
+ defaultBoost: defaultReferralBoost;
3872
+ maximumBoostReferrer: number;
3873
+ maximumBoostInvited: number;
3874
+ cumulativeBoost: boolean;
3875
+ }[];
3876
+ targetToken: string;
3877
+ whitelist: never[];
3878
+ blacklist: string[];
3879
+ url: string;
3880
+ };
3854
3881
  "Superlend Supply mTBILL Etherlink 0x187B7b83e8CaB442AD0BFEAe38067f3eb38a2d72": {
3855
3882
  campaignType: CampaignType;
3856
3883
  computeChainId: ChainId;
@@ -4708,16 +4735,44 @@ declare const EtherlinkInterfaceCampaigns: {
4708
4735
  campaignType: CampaignType;
4709
4736
  computeChainId: ChainId;
4710
4737
  targetToken: string;
4711
- hooks: never[];
4712
4738
  whitelist: never[];
4713
4739
  blacklist: string[];
4740
+ hooks: {
4741
+ hookType: HookType;
4742
+ key: string;
4743
+ chainId: ChainId;
4744
+ contractAddress: string;
4745
+ contractState: contractStateBoost;
4746
+ boostForReferrer: boostingReferralFunction;
4747
+ valueForBoostForReferrer: number;
4748
+ boostForInvited: boostingReferralFunction;
4749
+ valueForBoostForInvited: number;
4750
+ defaultBoost: defaultReferralBoost;
4751
+ maximumBoostReferrer: number;
4752
+ maximumBoostInvited: number;
4753
+ cumulativeBoost: boolean;
4754
+ }[];
4714
4755
  url: string;
4715
4756
  };
4716
4757
  "Iguana LBTC/WBTC Stableswap Etherlink 0xF0cDE65d6899b13d20508FD071B331A86B57a13d": {
4717
4758
  campaignType: CampaignType;
4718
4759
  computeChainId: ChainId;
4719
4760
  targetToken: string;
4720
- hooks: never[];
4761
+ hooks: {
4762
+ hookType: HookType;
4763
+ key: string;
4764
+ chainId: ChainId;
4765
+ contractAddress: string;
4766
+ contractState: contractStateBoost;
4767
+ boostForReferrer: boostingReferralFunction;
4768
+ valueForBoostForReferrer: number;
4769
+ boostForInvited: boostingReferralFunction;
4770
+ valueForBoostForInvited: number;
4771
+ defaultBoost: defaultReferralBoost;
4772
+ maximumBoostReferrer: number;
4773
+ maximumBoostInvited: number;
4774
+ cumulativeBoost: boolean;
4775
+ }[];
4721
4776
  whitelist: never[];
4722
4777
  blacklist: string[];
4723
4778
  url: string;
@@ -4726,7 +4781,21 @@ declare const EtherlinkInterfaceCampaigns: {
4726
4781
  campaignType: CampaignType;
4727
4782
  computeChainId: ChainId;
4728
4783
  targetToken: string;
4729
- hooks: never[];
4784
+ hooks: {
4785
+ hookType: HookType;
4786
+ key: string;
4787
+ chainId: ChainId;
4788
+ contractAddress: string;
4789
+ contractState: contractStateBoost;
4790
+ boostForReferrer: boostingReferralFunction;
4791
+ valueForBoostForReferrer: number;
4792
+ boostForInvited: boostingReferralFunction;
4793
+ valueForBoostForInvited: number;
4794
+ defaultBoost: defaultReferralBoost;
4795
+ maximumBoostReferrer: number;
4796
+ maximumBoostInvited: number;
4797
+ cumulativeBoost: boolean;
4798
+ }[];
4730
4799
  url: string;
4731
4800
  whitelist: never[];
4732
4801
  blacklist: string[];
@@ -4735,7 +4804,21 @@ declare const EtherlinkInterfaceCampaigns: {
4735
4804
  campaignType: CampaignType;
4736
4805
  computeChainId: ChainId;
4737
4806
  targetToken: string;
4738
- hooks: never[];
4807
+ hooks: {
4808
+ hookType: HookType;
4809
+ key: string;
4810
+ chainId: ChainId;
4811
+ contractAddress: string;
4812
+ contractState: contractStateBoost;
4813
+ boostForReferrer: boostingReferralFunction;
4814
+ valueForBoostForReferrer: number;
4815
+ boostForInvited: boostingReferralFunction;
4816
+ valueForBoostForInvited: number;
4817
+ defaultBoost: defaultReferralBoost;
4818
+ maximumBoostReferrer: number;
4819
+ maximumBoostInvited: number;
4820
+ cumulativeBoost: boolean;
4821
+ }[];
4739
4822
  url: string;
4740
4823
  whitelist: never[];
4741
4824
  blacklist: string[];
@@ -4744,7 +4827,21 @@ declare const EtherlinkInterfaceCampaigns: {
4744
4827
  campaignType: CampaignType;
4745
4828
  computeChainId: ChainId;
4746
4829
  targetToken: string;
4747
- hooks: never[];
4830
+ hooks: {
4831
+ hookType: HookType;
4832
+ key: string;
4833
+ chainId: ChainId;
4834
+ contractAddress: string;
4835
+ contractState: contractStateBoost;
4836
+ boostForReferrer: boostingReferralFunction;
4837
+ valueForBoostForReferrer: number;
4838
+ boostForInvited: boostingReferralFunction;
4839
+ valueForBoostForInvited: number;
4840
+ defaultBoost: defaultReferralBoost;
4841
+ maximumBoostReferrer: number;
4842
+ maximumBoostInvited: number;
4843
+ cumulativeBoost: boolean;
4844
+ }[];
4748
4845
  url: string;
4749
4846
  whitelist: never[];
4750
4847
  blacklist: string[];
@@ -4753,7 +4850,21 @@ declare const EtherlinkInterfaceCampaigns: {
4753
4850
  campaignType: CampaignType;
4754
4851
  computeChainId: ChainId;
4755
4852
  targetToken: string;
4756
- hooks: never[];
4853
+ hooks: {
4854
+ hookType: HookType;
4855
+ key: string;
4856
+ chainId: ChainId;
4857
+ contractAddress: string;
4858
+ contractState: contractStateBoost;
4859
+ boostForReferrer: boostingReferralFunction;
4860
+ valueForBoostForReferrer: number;
4861
+ boostForInvited: boostingReferralFunction;
4862
+ valueForBoostForInvited: number;
4863
+ defaultBoost: defaultReferralBoost;
4864
+ maximumBoostReferrer: number;
4865
+ maximumBoostInvited: number;
4866
+ cumulativeBoost: boolean;
4867
+ }[];
4757
4868
  url: string;
4758
4869
  whitelist: never[];
4759
4870
  blacklist: string[];
@@ -4762,7 +4873,21 @@ declare const EtherlinkInterfaceCampaigns: {
4762
4873
  campaignType: CampaignType;
4763
4874
  computeChainId: ChainId;
4764
4875
  targetToken: string;
4765
- hooks: never[];
4876
+ hooks: {
4877
+ hookType: HookType;
4878
+ key: string;
4879
+ chainId: ChainId;
4880
+ contractAddress: string;
4881
+ contractState: contractStateBoost;
4882
+ boostForReferrer: boostingReferralFunction;
4883
+ valueForBoostForReferrer: number;
4884
+ boostForInvited: boostingReferralFunction;
4885
+ valueForBoostForInvited: number;
4886
+ defaultBoost: defaultReferralBoost;
4887
+ maximumBoostReferrer: number;
4888
+ maximumBoostInvited: number;
4889
+ cumulativeBoost: boolean;
4890
+ }[];
4766
4891
  url: string;
4767
4892
  whitelist: never[];
4768
4893
  blacklist: string[];
@@ -4771,7 +4896,21 @@ declare const EtherlinkInterfaceCampaigns: {
4771
4896
  campaignType: CampaignType;
4772
4897
  computeChainId: ChainId;
4773
4898
  targetToken: string;
4774
- hooks: never[];
4899
+ hooks: {
4900
+ hookType: HookType;
4901
+ key: string;
4902
+ chainId: ChainId;
4903
+ contractAddress: string;
4904
+ contractState: contractStateBoost;
4905
+ boostForReferrer: boostingReferralFunction;
4906
+ valueForBoostForReferrer: number;
4907
+ boostForInvited: boostingReferralFunction;
4908
+ valueForBoostForInvited: number;
4909
+ defaultBoost: defaultReferralBoost;
4910
+ maximumBoostReferrer: number;
4911
+ maximumBoostInvited: number;
4912
+ cumulativeBoost: boolean;
4913
+ }[];
4775
4914
  url: string;
4776
4915
  whitelist: never[];
4777
4916
  blacklist: string[];
@@ -4780,7 +4919,44 @@ declare const EtherlinkInterfaceCampaigns: {
4780
4919
  campaignType: CampaignType;
4781
4920
  computeChainId: ChainId;
4782
4921
  targetToken: string;
4783
- hooks: never[];
4922
+ hooks: {
4923
+ hookType: HookType;
4924
+ key: string;
4925
+ chainId: ChainId;
4926
+ contractAddress: string;
4927
+ contractState: contractStateBoost;
4928
+ boostForReferrer: boostingReferralFunction;
4929
+ valueForBoostForReferrer: number;
4930
+ boostForInvited: boostingReferralFunction;
4931
+ valueForBoostForInvited: number;
4932
+ defaultBoost: defaultReferralBoost;
4933
+ maximumBoostReferrer: number;
4934
+ maximumBoostInvited: number;
4935
+ cumulativeBoost: boolean;
4936
+ }[];
4937
+ url: string;
4938
+ whitelist: never[];
4939
+ blacklist: string[];
4940
+ };
4941
+ "Curve mRE7/USDC 0x5D37F9B272ca7cdA2A05245b9a503746EefAC88f": {
4942
+ campaignType: CampaignType;
4943
+ computeChainId: ChainId;
4944
+ targetToken: string;
4945
+ hooks: {
4946
+ hookType: HookType;
4947
+ key: string;
4948
+ chainId: ChainId;
4949
+ contractAddress: string;
4950
+ contractState: contractStateBoost;
4951
+ boostForReferrer: boostingReferralFunction;
4952
+ valueForBoostForReferrer: number;
4953
+ boostForInvited: boostingReferralFunction;
4954
+ valueForBoostForInvited: number;
4955
+ defaultBoost: defaultReferralBoost;
4956
+ maximumBoostReferrer: number;
4957
+ maximumBoostInvited: number;
4958
+ cumulativeBoost: boolean;
4959
+ }[];
4784
4960
  url: string;
4785
4961
  whitelist: never[];
4786
4962
  blacklist: string[];
@@ -4789,7 +4965,21 @@ declare const EtherlinkInterfaceCampaigns: {
4789
4965
  campaignType: CampaignType;
4790
4966
  computeChainId: ChainId;
4791
4967
  targetToken: string;
4792
- hooks: never[];
4968
+ hooks: {
4969
+ hookType: HookType;
4970
+ key: string;
4971
+ chainId: ChainId;
4972
+ contractAddress: string;
4973
+ contractState: contractStateBoost;
4974
+ boostForReferrer: boostingReferralFunction;
4975
+ valueForBoostForReferrer: number;
4976
+ boostForInvited: boostingReferralFunction;
4977
+ valueForBoostForInvited: number;
4978
+ defaultBoost: defaultReferralBoost;
4979
+ maximumBoostReferrer: number;
4980
+ maximumBoostInvited: number;
4981
+ cumulativeBoost: boolean;
4982
+ }[];
4793
4983
  url: string;
4794
4984
  whitelist: never[];
4795
4985
  blacklist: string[];
@@ -5980,6 +6170,6 @@ declare const katanaCampaignsInterface: {
5980
6170
  };
5981
6171
  };
5982
6172
  export declare const MerklInterfaceCampaigns: {
5983
- [key in program]: typeof PufferInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof TanssiCampaignsInterface | typeof ExtrafiCampaignsInterface | typeof MorphoCampaignsInterface | typeof KeyringInterfaceCampaigns | typeof NibiruSubPayloads | typeof SagaCampaignsInterface | typeof SwellCampaignsInterface | typeof EulerCampaignsInterface | typeof EthenaCampaigns | typeof AavePayloads | typeof EthenaPayloads | typeof BancorSubPayloads | typeof RedbellySubPayloads | typeof BakerDaoSubPayloads | typeof JumperCampaignsInterface | typeof TACMainnetInterfaceCampaigns;
6173
+ [key in program]: typeof PufferInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof TanssiCampaignsInterface | typeof ExtrafiCampaignsInterface | typeof MorphoCampaignsInterface | typeof KeyringInterfaceCampaigns | typeof NibiruSubPayloads | typeof SagaCampaignsInterface | typeof SwellCampaignsInterface | typeof EulerCampaignsInterface | typeof EthenaCampaigns | typeof AavePayloads | typeof EthenaPayloads | typeof BancorSubPayloads | typeof RedbellySubPayloads | typeof DripPayloads | typeof BakerDaoSubPayloads | typeof JumperCampaignsInterface | typeof TACMainnetInterfaceCampaigns;
5984
6174
  };
5985
6175
  export {};