Type Alias ParsedLockPositionInstruction<TProgram, TAccountMetas>

ParsedLockPositionInstruction: {
    accounts: {
        funder: TAccountMetas[0];
        lockConfig: TAccountMetas[5];
        position: TAccountMetas[2];
        positionAuthority: TAccountMetas[1];
        positionMint: TAccountMetas[3];
        positionTokenAccount: TAccountMetas[4];
        systemProgram: TAccountMetas[8];
        token2022Program: TAccountMetas[7];
        whirlpool: TAccountMetas[6];
    };
    data: LockPositionInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration