import { Address } from "viem"; import { Hex } from "viem"; /** ABI parameters for performing a SafeTransferFrom based swap when selling on secondary. */ export declare const safeTransferSwapAbiParameters: readonly [{ readonly name: "recipient"; readonly internalType: "address payable"; readonly type: "address"; }, { readonly name: "minEthToAcquire"; readonly internalType: "uint256"; readonly type: "uint256"; }, { readonly name: "sqrtPriceLimitX96"; readonly internalType: "uint160"; readonly type: "uint160"; }]; export declare const buySupplyWithSwapRouterHookAbiParameters: readonly [{ readonly name: "buyRecipient"; readonly internalType: "address"; readonly type: "address"; }, { readonly name: "swapRouterCall"; readonly internalType: "bytes"; readonly type: "bytes"; }]; export declare const buySupplyWithSwapRouterHookReturnParameters: readonly [{ readonly name: "amountCurrency"; readonly internalType: "uint256"; readonly type: "uint256"; }, { readonly name: "coinsPurchased"; readonly internalType: "uint256"; readonly type: "uint256"; }]; /** * Decodes the return data from the BuySupplyWithSwapRouterHook. * * @param returnData - The return data from the BuySupplyWithSwapRouterHook. * @returns The decoded return data. */ export declare const decodeBuySupplyWithSwapRouterHookReturn: (returnData: Hex) => { amountCurrency: bigint; coinsPurchased: bigint; }; /** * Encodes the pool configuration data for creating and initializing a coin's liquidity pool, * using a multi-curve setup. * * @param params - The pool configuration parameters. * @param params.version - The version of the pool configuration. * 2 for a UniswapV3 pool, or 4 for Doppler/Uniswap V4-style pools. * @param params.currency - The address of the currency token (e.g., WETH) to be paired with the coin. * @param params.tickLower - An array of numbers representing the lower tick boundaries for each liquidity curve. * @param params.tickUpper - An array of numbers representing the upper tick boundaries for each liquidity curve. * @param params.numDiscoveryPositions - An array of numbers, where each number specifies the quantity of discrete * liquidity positions to be created within the corresponding curve's discovery phase. * @param params.maxDiscoverySupplyShare - An array of bigints, where each bigint represents the maximum share of the coin's * total supply allocated to the discovery phase of the corresponding curve. * This is typically a WAD-scaled value (i.e., scaled by 1e18). * @returns The ABI-encoded pool configuration for setting */ export declare const encodeMultiCurvePoolConfig: ({ currency, tickLower, tickUpper, numDiscoveryPositions, maxDiscoverySupplyShare, }: { currency: Address; tickLower: number[]; tickUpper: number[]; numDiscoveryPositions: number[]; maxDiscoverySupplyShare: bigint[]; }) => `0x${string}`; //# sourceMappingURL=encoding.d.ts.map