Type Alias ParsedOpenPositionInstruction<TProgram, TAccountMetas>

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

Type Parameters

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

Type declaration