export declare const DEFAULT_GAS_LIMIT = 300000; export declare const DEADLINE_MINUTES = 20; /** Router 地址配置 - ✅ 使用公共模块中的地址 */ export declare const DIRECT_ROUTERS: { readonly BSC: { readonly PANCAKESWAP_V2: "0x10ED43C718714eb63d5aA57B78B54704E256024E"; readonly PANCAKESWAP_V3: "0x13f4EA83D0bd40E75C8222255bc855a974568Dd4"; readonly IROSWAP_V2: "0xe90fb729E458092592a79EdaFefB3404ecb3C463"; readonly WBNB: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"; }; readonly MONAD: { readonly PANCAKESWAP_V2: "0xb1bc24c34e88f7d43d5923034e3a14b24daacff9"; readonly PANCAKESWAP_V3: "0x1b81d678ffb9c0263b24a97847620c99d213eb14"; readonly UNISWAP_V2: "0x4b2ab38dbf28d31d467aa8993f6c2585981d6804"; readonly UNISWAP_V3: "0xd6145b2d3f379919e8cdeda7b97e37c4b2ca9c40"; readonly WMON: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a"; }; readonly XLAYER: { readonly POTATOSWAP_V2: "0x881fb2f98c13d521009464e7d1cbf16e1b394e8e"; readonly POTATOSWAP_V3: "0xB45D0149249488333E3F3f9F359807F4b810C1FC"; readonly DYORSWAP_ROUTER: "0xfb001fbbace32f09cb6d3c449b935183de53ee96"; readonly DYORSWAP_FACTORY: "0x2CcaDb1e437AA9cDc741574bDa154686B1F04C09"; readonly V3_ROUTER: "0xBB069e9465BcabC4F488d21e793BDEf0F2d41D41"; readonly V3_FACTORY: "0xa1415fAe79c4B196d087F02b8aD5a622B8A827E5"; readonly WOKB: "0xe538905cf8410324e03a5a23c1c177a474d59b2b"; }; readonly ENI: { readonly DSWAP_V2: "0x97ed8be49d9a8b86247090aa41e908e76b8fcf22"; readonly DSWAP_V3: "0xcdE487F5B460a516f31FaC520D4e18BA1C8cda49"; readonly IROSWAP_V2: "0x93b1199fA96f6b9b1f993AA0226eB6076968a9BF"; readonly WEGAS: "0x6d1e851446f4d004ae2a72f9afed85e8829a205e"; }; readonly ROBINHOOD: { readonly UNISWAP_V3: "0xCaf681a66D020601342297493863E78C959E5cb2"; readonly WETH: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73"; }; }; /** 链 ID 映射 */ export declare const CHAIN_IDS: { readonly BSC: 56; readonly MONAD: 143; readonly XLAYER: 196; readonly ENI: 173; readonly ROBINHOOD: 4663; }; /** V2 Router ABI */ export declare const V2_ROUTER_ABI: string[]; /** SwapRouter02 的 V2 方法 ABI - ✅ 从公共模块导入 */ export declare const SWAP_ROUTER02_V2_ABI: string[]; /** * DYORSwap SwapRouter02 的 V2 方法 * * ⚠️ 重要:DYORSwap 使用自定义的函数签名,无法通过标准 ABI 编码 * 必须手动构造 calldata * * swapExactTokensForTokens selector: 0x3234fe0d * unwrapWETH9 selector: 0x7342292e * refundETH selector: 0x6d29fcf4 */ export declare const DYORSWAP_SELECTORS: { swapExactTokensForTokens: string; unwrapWETH9: string; refundETH: string; multicall: string; }; /** * DYORSwap 的 ETHBack_Dividend 合约地址 * 这是 refundETH 中使用的固定地址,不是 LP 池地址 */ export declare const DYORSWAP_ETHBACK_DIVIDEND: "0x2e61b0b4410f6fb941d47205191cbb8963d44bcc"; /** V3 SwapRouter02 ABI (PancakeSwap V3, 新版 Uniswap) */ export declare const V3_ROUTER02_ABI: (string | { inputs: { components: { name: string; type: string; }[]; name: string; type: string; }[]; name: string; outputs: { name: string; type: string; }[]; stateMutability: string; type: string; })[]; /** V3 SwapRouter(旧版)ABI (Monad Uniswap V3) */ export declare const V3_ROUTER_LEGACY_ABI: (string | { inputs: { components: { name: string; type: string; }[]; name: string; type: string; }[]; name: string; outputs: { name: string; type: string; }[]; stateMutability: string; type: string; })[]; export declare const XLAYER_V3_FACTORY_ABI: readonly ["function getPool(address tokenA, address tokenB, uint24 fee) view returns (address pool)"]; export declare const XLAYER_V3_POOL_ABI: readonly ["function slot0() view returns (uint160 sqrtPriceX96,int24 tick,uint16 observationIndex,uint16 observationCardinality,uint16 observationCardinalityNext,uint8 feeProtocol,bool unlocked)", "function token0() view returns (address)", "function token1() view returns (address)"]; export declare const V3_FEE_DENOMINATOR = 1000000n;