Type Alias ParsedOpenPositionWithTokenExtensionsInstruction<TProgram, TAccountMetas>

ParsedOpenPositionWithTokenExtensionsInstruction: {
    accounts: {
        associatedTokenProgram: TAccountMetas[8];
        funder: TAccountMetas[0];
        metadataUpdateAuth: TAccountMetas[9];
        owner: TAccountMetas[1];
        position: TAccountMetas[2];
        positionMint: TAccountMetas[3];
        positionTokenAccount: TAccountMetas[4];
        systemProgram: TAccountMetas[7];
        token2022Program: TAccountMetas[6];
        whirlpool: TAccountMetas[5];
    };
    data: OpenPositionWithTokenExtensionsInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]

Type declaration