2A:44A-10. Attachment of lien claim to interest of owner; amount of liability
10. Subject to the limitations of section 6 of this act, the lien claim shall attach to the interest of the owner from and after the time of filing of the lien claim. Except as provided by section 20 of this act, no lien claim shall attach to the estate or interest acquired by a bona fide purchaser first recorded or lodged for record; nor shall a lien claim enjoy priority over any mortgage, judgment or other lien first recorded, lodged for record, filed or docketed. A lien claim filed under the provisions of this act shall be subject to the effect of a notice of settlement filed pursuant to P.L.1979, c.406 (C.46:16A-1 et seq.). Except as set forth in sections 15 and 21 of this act, the maximum amount for which an owner will be liable or an interest in real property subject to a lien under this act for one or more lien claims filed pursuant to this act shall not be greater than:
a. In the case of a lien claim filed by a contractor, the total amount of the contract price of the contract between the owner and the contractor less the amount of payments made, if any, prior to receipt of a copy of the lien claim pursuant to section 7 of this act, by the owner to the contractor or any other claimant who has filed a lien claim or a Notice of Unpaid Balance and Right to File Lien pursuant either to a contract with the contractor and any subcontractor or supplier, or a contract between a subcontractor of the contractor and any supplier or other subcontractor; or
b. In the case of a lien claim filed by a subcontractor or supplier, the amount provided in subsection a. of this section, or the contract price of the contract between the contractor or subcontractor and the subcontractor or supplier, as applicable, pursuant to which the work, services, materials or equipment is provided by the subcontractor or supplier, less the amount of payments made, if any, prior to receipt of a copy of the lien claim pursuant to section 7 of this act, to the contractor or supplier or any other claimant who has filed a lien claim or a Notice of Unpaid Balance and Right to File Lien pursuant to a contract with such subcontractor or supplier, whichever is less.