Type Alias ParsedOpenPositionWithMetadataInstruction<TProgram, TAccountMetas>

ParsedOpenPositionWithMetadataInstruction: {
    accounts: {
        associatedTokenProgram: TAccountMetas[10];
        funder: TAccountMetas[0];
        metadataProgram: TAccountMetas[11];
        metadataUpdateAuth: TAccountMetas[12];
        owner: TAccountMetas[1];
        position: TAccountMetas[2];
        positionMetadataAccount: TAccountMetas[4];
        positionMint: TAccountMetas[3];
        positionTokenAccount: TAccountMetas[5];
        rent: TAccountMetas[9];
        systemProgram: TAccountMetas[8];
        tokenProgram: TAccountMetas[7];
        whirlpool: TAccountMetas[6];
    };
    data: OpenPositionWithMetadataInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration