Documentation
    Preparing search index...

    Type Alias OpenPositionWithTokenExtensionsParams

    Parameters to open a position (based on Token-2022) in a Whirlpool.

    PublicKey for the whirlpool that the position will be opened for.

    PublicKey for the wallet that will host the minted position token.

    PDA for the derived position address.

    PublicKey for the mint token for the Position token.

    The associated token address for the position token in the owners wallet.

    The account that would fund the creation of this account

    The tick specifying the lower end of the position range.

    The tick specifying the upper end of the position range.

    If true, the position token will have a TokenMetadata extension.

    type OpenPositionWithTokenExtensionsParams = {
        funder: PublicKey;
        owner: PublicKey;
        positionMint: PublicKey;
        positionPda: PDA;
        positionTokenAccount: PublicKey;
        tickLowerIndex: number;
        tickUpperIndex: number;
        whirlpool: PublicKey;
        withTokenMetadataExtension: boolean;
    }
    Index

    Properties

    funder: PublicKey
    owner: PublicKey
    positionMint: PublicKey
    positionPda: PDA
    positionTokenAccount: PublicKey
    tickLowerIndex: number
    tickUpperIndex: number
    whirlpool: PublicKey
    withTokenMetadataExtension: boolean