Documentation
    Preparing search index...

    Type Alias LockPositionParams

    Parameters to lock a position (TokenExtensions based position only).

    The type of lock to apply to the position.

    The account that would fund the creation of LockConfig account

    authority that owns the token corresponding to this desired position.

    PublicKey for the position which will be locked.

    PublicKey for the mint token for the Position token.

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

    PDA for the LockConfig account that will be created to manage lock state.

    PublicKey for the whirlpool that the position belongs to.

    type LockPositionParams = {
        funder: PublicKey;
        lockConfigPda: PDA;
        lockType: LockTypeData;
        position: PublicKey;
        positionAuthority: PublicKey;
        positionMint: PublicKey;
        positionTokenAccount: PublicKey;
        whirlpool: PublicKey;
    }
    Index

    Properties

    funder: PublicKey
    lockConfigPda: PDA
    lockType: LockTypeData
    position: PublicKey
    positionAuthority: PublicKey
    positionMint: PublicKey
    positionTokenAccount: PublicKey
    whirlpool: PublicKey