UNPKG

@admin-jigsaw/jigsaw-sdk

Version:

Returns predefined data for Jigsaw platform and exposes functionality to retrieve the necessary data

11 lines (10 loc) 655 B
import { Address } from "viem"; import { RemoveLiquiditySingleTokenResponse } from "../../types/types"; export declare const generatePendleRemoveLiquidityDataString: (resp: RemoveLiquiditySingleTokenResponse) => Promise<`0x${string}`>; /** * Returns the Pendle market address based on the provided strategy address. * @param {Address} stratAddress - The strategy address to look up. * @param {number} chainId - The chain ID to get the correct constants. * @returns {Address | null} - The corresponding market address or null if not found. */ export declare function getPendleMarketByStrategy(stratAddress: Address, chainId?: number): Address | null;