UNPKG

@energiswap/sdk-core

Version:

⚒️ An SDK for building applications on top of Energiswap V3

43 lines (42 loc) 1.83 kB
import { SupportedChainsType } from './chains'; declare type AddressMap = { [chainId: number]: string; }; declare type ChainAddresses = { v3CoreFactoryAddress: string; multicallAddress: string; quoterAddress: string; v3MigratorAddress?: string; nonfungiblePositionManagerAddress?: string; tickLensAddress?: string; swapRouter02Address?: string; mixedRouteQuoterV1Address?: string; mixedRouteQuoterV2Address?: string; v4PoolManagerAddress?: string; v4PositionManagerAddress?: string; v4StateView?: string; v4QuoterAddress?: string; }; export declare const UNI_ADDRESSES: AddressMap; export declare const UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS = "0x8B799381ac40b838BBA4131ffB26197C432AFe78"; /** * @deprecated use V2_FACTORY_ADDRESSES instead */ export declare const V2_FACTORY_ADDRESS = "0xa2dAE9e70D5A08B781DeE134617Cf5E7D23043c2"; export declare const V2_FACTORY_ADDRESSES: AddressMap; /** * @deprecated use V2_ROUTER_ADDRESSES instead */ export declare const V2_ROUTER_ADDRESS = "0x2D4eB90118f6FBA1191F26Eb39f7FF0573F63C22"; export declare const V2_ROUTER_ADDRESSES: AddressMap; export declare const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>; export declare const V3_CORE_FACTORY_ADDRESSES: AddressMap; export declare const V3_MIGRATOR_ADDRESSES: AddressMap; export declare const MULTICALL_ADDRESSES: AddressMap; export declare const QUOTER_ADDRESSES: AddressMap; export declare const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap; export declare const ENS_REGISTRAR_ADDRESSES: AddressMap; export declare const TICK_LENS_ADDRESSES: AddressMap; export declare const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap; export declare const SWAP_ROUTER_02_ADDRESSES: (chainId: number) => string; export {};