/** * ENI IRO Pool — LP 质押、挖矿、奖励提取 * * ENI 使用 EIP-1559 (type 2) 交易 */ import { JsonRpcProvider } from 'ethers'; import type { IroPoolRemovePledgeParams, IroPoolExtractParams, IroPoolTransferAwardsParams, IroTxResult } from './types.js'; export declare class IroPoolQuery { private provider; private pool; readonly poolAddress: string; constructor(poolAddress: string, rpcUrl?: string, chainId?: number); token(): Promise; totalShare(): Promise; produceNum(): Promise; produceLpNum(): Promise; produceLimit(): Promise; lastAddProduce(): Promise; getDeposit(account: string): Promise; getUserPledgeLpForUsdt(user: string): Promise; getLPValueForUSDTValue(targetTKAValue: bigint): Promise; increaseRateMap(index: bigint): Promise<{ status: boolean; rate: bigint; }>; totalSupply(): Promise; balanceOf(account: string): Promise; lastPrice(): Promise; userAward(account: string): Promise<{ deposit: bigint; debt: bigint; share: bigint; lastTimestamp: bigint; totalDeposit: bigint; totalInviteReward: bigint; lastInviteReward: bigint; pledgeNum: bigint; }>; getUserStake(account: string): Promise; ownerAddr(): Promise; isInitialized(): Promise; get providerInstance(): JsonRpcProvider; } export declare function poolRemovePledge(params: IroPoolRemovePledgeParams): Promise; export declare function poolExtract(params: IroPoolExtractParams): Promise; export declare function poolTransferAwards(params: IroPoolTransferAwardsParams): Promise; export declare function batchExtract(params: { rpcUrl?: string; chainId?: number; poolAddress: string; wallets: Array<{ privateKey: string; amount: bigint; }>; gasPrice?: bigint; }): Promise<{ signedTransactions: string[]; results: IroTxResult[]; }>;