@merkl/api 1.0.82 → 1.0.84

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.
@@ -1531,6 +1531,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
1531
1531
  151?: {
1532
1532
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
1533
1533
  } | undefined;
1534
+ 239?: {
1535
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
1536
+ } | undefined;
1534
1537
  } | null;
1535
1538
  };
1536
1539
  };
@@ -9648,6 +9651,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
9648
9651
  151?: {
9649
9652
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
9650
9653
  } | undefined;
9654
+ 239?: {
9655
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
9656
+ } | undefined;
9651
9657
  };
9652
9658
  };
9653
9659
  };
@@ -11453,6 +11459,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11453
11459
  151?: {
11454
11460
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
11455
11461
  } | undefined;
11462
+ 239?: {
11463
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
11464
+ } | undefined;
11456
11465
  } | null;
11457
11466
  }>>;
11458
11467
  pool: ((params: {
@@ -18668,6 +18677,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
18668
18677
  151?: {
18669
18678
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
18670
18679
  } | undefined;
18680
+ 239?: {
18681
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
18682
+ } | undefined;
18671
18683
  };
18672
18684
  }>>;
18673
18685
  };
@@ -26,5 +26,6 @@ export declare class AaveMetadata implements MetadataBuilder<Erc20LikeCampaignEn
26
26
  }[];
27
27
  depositUrl: string;
28
28
  explorerAddress: string;
29
+ description: string;
29
30
  }>;
30
31
  }
@@ -13,5 +13,6 @@ export declare class GearboxMetadata implements MetadataBuilder<Erc20LikeCampaig
13
13
  }[];
14
14
  depositUrl: string;
15
15
  explorerAddress: string;
16
+ description: string;
16
17
  }>;
17
18
  }
@@ -1532,6 +1532,9 @@ declare const app: Elysia<"", {
1532
1532
  151?: {
1533
1533
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
1534
1534
  } | undefined;
1535
+ 239?: {
1536
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
1537
+ } | undefined;
1535
1538
  } | null;
1536
1539
  };
1537
1540
  };
@@ -9649,6 +9652,9 @@ declare const app: Elysia<"", {
9649
9652
  151?: {
9650
9653
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
9651
9654
  } | undefined;
9655
+ 239?: {
9656
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
9657
+ } | undefined;
9652
9658
  };
9653
9659
  };
9654
9660
  };
@@ -365,8 +365,8 @@ export declare abstract class CampaignService {
365
365
  static getDailyAmount<T extends bigint | number>(start: T, end: T, amount: bigint): bigint;
366
366
  static createFakeCampaign<C extends CampaignType>(body: CampaignConfigMinimalModel): CampaignParameters<C>;
367
367
  static createFakeCampaignEngine(body: CampaignConfigMinimalModel): {
368
- computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY;
369
- chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY;
368
+ computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY | ChainId.TAC;
369
+ chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY | ChainId.TAC;
370
370
  campaignId: string;
371
371
  creator: string;
372
372
  type: CampaignType;
@@ -1,4 +1,4 @@
1
- import type { Campaign, CompFork, CompoundSubCampaignType, CompoundV3SubCampaignType, ComputeScoreMethod, ComputeScoreParameters, Forwarder, ForwarderParameters, GenericCampaignConfigComposed, HOOK, HookParameters, MerklChainId, MorphoSubCampaignType } from "@angleprotocol/sdk/ts";
1
+ import type { Campaign, CompFork, CompoundSubCampaignType, CompoundV3SubCampaignType, ComputeScoreMethod, ComputeScoreParameters, DistributionMethod, DistributionParameters, Forwarder, ForwarderParameters, GenericCampaignConfigComposed, HOOK, HookParameters, MerklChainId, MorphoSubCampaignType } from "@angleprotocol/sdk/ts";
2
2
  import type { LockerEventSchema } from "@angleprotocol/sdk/types/merkl/campaignTypes/locker";
3
3
  import type { ComputeCurveMethod, ComputeCurveParameters } from "@angleprotocol/sdk/types/merkl/computeCurve";
4
4
  export declare const CampaignPayloadInputDto: import("@sinclair/typebox").TObject<{
@@ -173,6 +173,17 @@ export type partialConfigMORPHOSUPPLY = {
173
173
  blacklist: string[];
174
174
  url?: string;
175
175
  };
176
+ export type partialConfigMORPHOVAULT = {
177
+ computeChainId?: MerklChainId;
178
+ hooks?: (HookParameters<HOOK> | string)[];
179
+ campaignType: Campaign;
180
+ targetToken: string;
181
+ whitelist: string[];
182
+ blacklist: string[];
183
+ url?: string;
184
+ computeScoreParameters?: ComputeScoreParameters<ComputeScoreMethod> | string;
185
+ distributionMethodParameters?: DistributionParameters<DistributionMethod>;
186
+ };
176
187
  export type partialConfigERC20FixedAPR = {
177
188
  computeChainId?: MerklChainId;
178
189
  hooks?: (HookParameters<HOOK> | string)[];
@@ -269,7 +280,7 @@ export type partialConfigLocker = {
269
280
  lockEvent: LockerEventSchema;
270
281
  unlockEvent: LockerEventSchema;
271
282
  };
272
- export type partialConfig = partialConfigERC20 | partialConfigMorpho | partialConfigCLAMM | partialConfigIonic | partialConfigCompoundV3 | partialConfigMultiLog | partialConfigLocker | partialConfigAirdrop | partialConfigERC20FixedAPR | partialConfigMORPHOBORROW | partialConfigMORPHOSUPPLY;
283
+ export type partialConfig = partialConfigERC20 | partialConfigMorpho | partialConfigCLAMM | partialConfigIonic | partialConfigCompoundV3 | partialConfigMultiLog | partialConfigLocker | partialConfigAirdrop | partialConfigERC20FixedAPR | partialConfigMORPHOBORROW | partialConfigMORPHOSUPPLY | partialConfigMORPHOVAULT;
273
284
  export declare const safeTemplate: {
274
285
  version: string;
275
286
  chainId: string;
@@ -188,7 +188,8 @@ export declare enum etherlinkCampaigns {
188
188
  Uniswap_WBTC_USDC_Etherlink = "Uniswap WBTC/USDC Etherlink 0x80C789EBb377d257b5b660100757307099F0e3c0",
189
189
  Uniswap_WXTZ_USDC_Etherlink = "Uniswap WXTZ/USDC Etherlink 0x659fe227A739D7961F3c7bBc090ea9BfAFCC2A74",
190
190
  Uniswap_WXTZ_WBTC_Etherlink = "Uniswap WXTZ/WBTC Etherlink 0x2a5120e8B04E7F2D3fbbbD82afb4CD70de0F5d0e",
191
- Uniswap_WXTZ_WETH_Etherlink = "Uniswap WXTZ/WETH Etherlink 0xd03b92A27947Bb08dD269107d4Df00F8ab53Fc28"
191
+ Uniswap_WXTZ_WETH_Etherlink = "Uniswap WXTZ/WETH Etherlink 0xd03b92A27947Bb08dD269107d4Df00F8ab53Fc28",
192
+ Iguana_USDC_USDT_Stableswap_Etherlink = "Iguana USDC/USDT Stableswap Etherlink 0xbb6af5cb8bb12129aa051a96b25a94f33c117557"
192
193
  }
193
194
  export declare enum swapxCampaigns {
194
195
  Swapx_SWPx_USDCe_Swapx = "Swapx SWPx/USDC.e Swapx 0x467865E7Ce29E7ED8f362D51Fd7141117B234b44",
@@ -2654,6 +2655,16 @@ declare const EtherlinkInterfaceCampaigns: {
2654
2655
  weightToken0: number;
2655
2656
  weightToken1: number;
2656
2657
  };
2658
+ "Iguana USDC/USDT Stableswap Etherlink 0xbb6af5cb8bb12129aa051a96b25a94f33c117557": {
2659
+ campaignType: Campaign;
2660
+ computeChainId: ChainId;
2661
+ targetToken: string;
2662
+ hooks: never[];
2663
+ whitelist: never[];
2664
+ blacklist: string[];
2665
+ forwarders: never[];
2666
+ url: string;
2667
+ };
2657
2668
  };
2658
2669
  declare const SwapxInterfaceCampaigns: {
2659
2670
  [key in swapxCampaigns]: partialConfig;
@@ -3096,9 +3107,9 @@ export declare enum WorldChainCampaigns {
3096
3107
  WorldChain_Vault_Re7USDC = "WorldChain Vault Re7 USDC 0xb1E80387EbE53Ff75a89736097D34dC8D9E9045B",
3097
3108
  WorldChain_Vault_Re7WLD = "WorldChain Vault Re7 WLD 0x348831b46876d3dF2Db98BdEc5E3B4083329Ab9f",
3098
3109
  WorldChain_Vault_Re7WETH = "WorldChain Vault Re7 WETH 0x0Db7E405278c2674F462aC9D9eb8b8346D1c1571",
3099
- WorldChain_MorphoBorrow_WLD_USDC = "WorldChain MorphoBorrow WLD/USDC 0xba0ae12a5cdbf9a458566be68055f30c859771612950b5e43428a51becc6f6e9",
3100
- WorldChain_MorphoBorrow_WETH_USDC = "WorldChain MorphoBorrow WETH/USDC 0x5fadb14df6523eb13a939f8024dbc54b10bdb4e521741e9995e2951337134b53",
3101
- WorldChain_MorphoBorrow_WBTC_USDC = "WorldChain MorphoBorrow WBTC/USDC 0x787c5ff694f04e20cc6b3932cd662425161109bb0d63b189c48d99e714a3bd69",
3110
+ Worldchain_Morpho_Borrow_USDC_market_WLD_collateral = "WorldChain Morpho Borrow USDC collateral WLD 0xba0ae12a5cdbf9a458566be68055f30c859771612950b5e43428a51becc6f6e9",
3111
+ Worldchain_Morpho_Borrow_USDC_market_WETH_collateral = "WorldChain Morpho Borrow USDC collateral WETH 0x5fadb14df6523eb13a939f8024dbc54b10bdb4e521741e9995e2951337134b53",
3112
+ Worldchain_Morpho_Borrow_USDC_market_WBTC_collateral = "WorldChain Morpho Borrow USDC collateral WBTC 0x787c5ff694f04e20cc6b3932cd662425161109bb0d63b189c48d99e714a3bd69",
3102
3113
  WorldChain_Vault_WORLDID_USDC = "WorldChain Vault World ID USDC 0xb1E80387EbE53Ff75a89736097D34dC8D9E9045B",
3103
3114
  WorldChain_Vault_WORLDID_WLD = "WorldChain Vault World ID WLD 0x348831b46876d3dF2Db98BdEc5E3B4083329Ab9f"
3104
3115
  }
@@ -8081,6 +8081,9 @@ export declare const v4: Elysia<"/v4", {
8081
8081
  151?: {
8082
8082
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
8083
8083
  } | undefined;
8084
+ 239?: {
8085
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
8086
+ } | undefined;
8084
8087
  };
8085
8088
  };
8086
8089
  };
@@ -262,6 +262,9 @@ export declare const UniswapController: Elysia<"uniswap", {
262
262
  151?: {
263
263
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
264
264
  } | undefined;
265
+ 239?: {
266
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
267
+ } | undefined;
265
268
  };
266
269
  };
267
270
  };
@@ -1335,6 +1335,9 @@ export declare const v3: Elysia<"/v3", {
1335
1335
  151?: {
1336
1336
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
1337
1337
  } | undefined;
1338
+ 239?: {
1339
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
1340
+ } | undefined;
1338
1341
  } | null;
1339
1342
  };
1340
1343
  };
@@ -184,6 +184,9 @@ declare const _default: (app: Elysia) => Elysia<"", {
184
184
  151?: {
185
185
  [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
186
186
  } | undefined;
187
+ 239?: {
188
+ [poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
189
+ } | undefined;
187
190
  } | null;
188
191
  };
189
192
  };
@@ -59,6 +59,7 @@ export declare const providers: {
59
59
  50: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
60
60
  747474: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
61
61
  151: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
62
+ 239: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
62
63
  };
63
64
  export declare const archiveProviders: {
64
65
  42161: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
@@ -119,6 +120,7 @@ export declare const archiveProviders: {
119
120
  50: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
120
121
  747474: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
121
122
  151: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
123
+ 239: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
122
124
  };
123
125
  export declare const multicalls: {
124
126
  [chainId: number]: Multicall;