Documentation

    Type Alias CollectFeesV2Params

    Parameters to collect fees from a position.

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

    PublicKey for the position will be opened for.

    PublicKey for the position token's associated token address.

    authority that owns the token corresponding to this desired position.

    PublicKey for the token A mint.

    PublicKey for the token B mint.

    PublicKey for the token A account that will be withdrawed from.

    PublicKey for the token B account that will be withdrawed from.

    PublicKey for the tokenA vault for this whirlpool.

    PublicKey for the tokenB vault for this whirlpool.

    Optional array of token transfer hook accounts for token A.

    Optional array of token transfer hook accounts for token B.

    PublicKey for the token program for token A.

    PublicKey for the token program for token B.

    type CollectFeesV2Params = {
        position: PublicKey;
        positionAuthority: PublicKey;
        positionTokenAccount: PublicKey;
        tokenMintA: PublicKey;
        tokenMintB: PublicKey;
        tokenOwnerAccountA: PublicKey;
        tokenOwnerAccountB: PublicKey;
        tokenProgramA: PublicKey;
        tokenProgramB: PublicKey;
        tokenTransferHookAccountsA?: AccountMeta[];
        tokenTransferHookAccountsB?: AccountMeta[];
        tokenVaultA: PublicKey;
        tokenVaultB: PublicKey;
        whirlpool: PublicKey;
    }
    Index

    Properties

    position: PublicKey
    positionAuthority: PublicKey
    positionTokenAccount: PublicKey
    tokenMintA: PublicKey
    tokenMintB: PublicKey
    tokenOwnerAccountA: PublicKey
    tokenOwnerAccountB: PublicKey
    tokenProgramA: PublicKey
    tokenProgramB: PublicKey
    tokenTransferHookAccountsA?: AccountMeta[]
    tokenTransferHookAccountsB?: AccountMeta[]
    tokenVaultA: PublicKey
    tokenVaultB: PublicKey
    whirlpool: PublicKey
    MMNEPVFCICPMFPCPTTAAATR