Coda by Ian Macalinao
    Preparing search index...

    Type Alias ClosePositionAsyncInput<TAccountPositionNftMint, TAccountPositionNftAccount, TAccountPool, TAccountPosition, TAccountPoolAuthority, TAccountRentReceiver, TAccountOwner, TAccountTokenProgram, TAccountEventAuthority, TAccountProgram>

    type ClosePositionAsyncInput<
        TAccountPositionNftMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPositionNftAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPool extends InstructionAccountInput = InstructionAccountInput,
        TAccountPosition extends InstructionAccountInput = InstructionAccountInput,
        TAccountPoolAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRentReceiver extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountOwner extends InstructionSignerInput = InstructionSignerInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountEventAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountProgram extends InstructionAccountInput = InstructionAccountInput,
    > = {
        eventAuthority?: TAccountEventAuthority;
        owner: TAccountOwner;
        pool: TAccountPool;
        poolAuthority?: TAccountPoolAuthority;
        position: TAccountPosition;
        positionNftAccount?: TAccountPositionNftAccount;
        positionNftMint: TAccountPositionNftMint;
        program?: TAccountProgram;
        rentReceiver: TAccountRentReceiver;
        tokenProgram?: TAccountTokenProgram;
    }

    Type Parameters

    • TAccountPositionNftMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountPositionNftAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountPool extends InstructionAccountInput = InstructionAccountInput
    • TAccountPosition extends InstructionAccountInput = InstructionAccountInput
    • TAccountPoolAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountRentReceiver extends InstructionAccountInput = InstructionAccountInput
    • TAccountOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountEventAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    eventAuthority?: TAccountEventAuthority

    Owner of position

    poolAuthority?: TAccountPoolAuthority
    positionNftAccount?: TAccountPositionNftAccount

    The token account for nft

    positionNftMint: TAccountPositionNftMint

    position_nft_mint

    program?: TAccountProgram
    rentReceiver: TAccountRentReceiver
    tokenProgram?: TAccountTokenProgram

    Program to create NFT mint/token account and transfer for token22 account