Documentation
    Preparing search index...

    Type Alias ClosePositionConfig

    type ClosePositionConfig = {
        authority?: TransactionSigner<string>;
        slippageToleranceBps?: number;
        whirlpoolDeployment?: WhirlpoolDeployment;
    }
    Index

    Properties

    authority?: TransactionSigner<string>

    The account authorizing the transaction. Defaults to the global FUNDER.

    slippageToleranceBps?: number

    The acceptable slippage tolerance in basis points. Defaults to the global SLIPPAGE_TOLERANCE_BPS.

    whirlpoolDeployment?: WhirlpoolDeployment

    The Whirlpool program and config account to target. Defaults to DEFAULT_WHIRLPOOL_DEPLOYMENT.