/** * XLayer 链特有常量 * * 通用常量请使用 shared/constants * ABI 定义在 xlayer/constants.ts(旧文件,后续迁移) */ export declare const XLAYER_CHAIN_ID: 196; export declare const XLAYER_CHAIN_NAME: "X Layer"; export declare const XLAYER_RPC_URL: "https://xlayerrpc.okx.com"; export declare const XLAYER_BLOCK_TIME: 2000; export declare const XLAYER_ADDRESSES: { readonly WOKB: "0xe538905cf8410324e03a5a23c1c177a474d59b2b"; readonly USDT: "0x1e4a5963abfd975d8c9021ce480b42188849d41d"; readonly USDC: "0x74b7f16337b8972027f6196a17a631ac6de26d22"; readonly USDT0: "0x779ded0c9e1022225f8e0630b35a9b54be713736"; readonly FlapPortal: "0xb30D8c4216E1f21F27444D2FfAee3ad577808678"; readonly FlapTokenImpl: "0x12Dc83157Bf1cfCB8Db5952b3ba5bb56Cc38f8C9"; readonly PotatoSwapV2Router: "0x881fb2f98c13d521009464e7d1cbf16e1b394e8e"; readonly PotatoSwapSwapRouter02: "0xB45D0149249488333E3F3f9F359807F4b810C1FC"; readonly PotatoSwapV3Router: "0xBB069e9465BcabC4F488d21e793BDEf0F2d41D41"; readonly PotatoSwapV3Factory: "0xa1415fAe79c4B196d087F02b8aD5a622B8A827E5"; readonly EntryPointV06: "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"; readonly SimpleAccountFactory: "0x9406Cc6185a346906296840746125a0E44976454"; readonly Multicall3: "0xca11bde05977b3631167028862be2a173976ca11"; }; export declare const WOKB: "0xe538905cf8410324e03a5a23c1c177a474d59b2b"; export declare const USDT: "0x1e4a5963abfd975d8c9021ce480b42188849d41d"; export declare const USDC: "0x74b7f16337b8972027f6196a17a631ac6de26d22"; export declare const USDT0: "0x779ded0c9e1022225f8e0630b35a9b54be713736"; export declare const FLAP_PORTAL: "0xb30D8c4216E1f21F27444D2FfAee3ad577808678"; export declare const FLAP_TOKEN_IMPL: "0x12Dc83157Bf1cfCB8Db5952b3ba5bb56Cc38f8C9"; export declare const POTATO_V2_ROUTER: "0x881fb2f98c13d521009464e7d1cbf16e1b394e8e"; export declare const POTATO_V3_ROUTER: "0xBB069e9465BcabC4F488d21e793BDEf0F2d41D41"; export declare const POTATO_SWAP_ROUTER02: "0xB45D0149249488333E3F3f9F359807F4b810C1FC"; export declare const ENTRYPOINT_V06: "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"; export declare const SIMPLE_ACCOUNT_FACTORY: "0x9406Cc6185a346906296840746125a0E44976454"; /** XLayer 原生代币转账 Gas Limit(EIP-7702 需要更多 gas) */ export declare const NATIVE_TRANSFER_GAS_LIMIT: 50000n; /** XLayer ERC20 转账 Gas Limit */ export declare const ERC20_TRANSFER_GAS_LIMIT: 65000n; /** AA 验证 Gas Limit */ export declare const AA_VERIFICATION_GAS_LIMIT: 250000n; export declare const AA_VERIFICATION_GAS_LIMIT_DEPLOY: 800000n; /** 默认 Gas Price */ export declare const DEFAULT_GAS_PRICE: 100000000n; /** Particle Bundler URL */ export declare const PARTICLE_BUNDLER_URL = "https://bundler.particle.network"; /** 高级 RPC URL(QuikNode) */ export declare const QUIKNODE_RPC_URL = "https://stylish-practical-valley.xlayer-mainnet.quiknode.pro/84bb5dedac404fa486f57ab6387e32254dee1f83"; /** 默认 Salt(用于 AA 账户派生) */ export declare const DEFAULT_SALT = 0n; /** 默认 Withdraw Reserve(保留在 sender 的最小 OKB) */ export declare const DEFAULT_WITHDRAW_RESERVE = "0.00005"; /** XLayer Flap 买入手续费率 (1.5%) */ export declare const FLAP_BUY_FEE_RATE = 0.015; /** XLayer Flap 卖出手续费率 (1.5%) */ export declare const FLAP_SELL_FEE_RATE = 0.015;