```\n    function claimProceeds(\n        uint96 lotId_,\n        bytes calldata callbackData_\n    ) external override nonReentrant {\n        \n        // rest of code\n\n        (uint96 purchased_, uint96 sold_, uint96 payoutSent_) =\n            _getModuleForId(lotId_).claimProceeds(lotId_);\n\n        // rest of code.\n\n        // Refund any unused capacity and curator fees to the address dictated by the callbacks address\n        // By this stage, a partial payout (if applicable) and curator fees have been paid, leaving only the payout amount (`totalOut`) remaining.\n        uint96 prefundingRefund = routing.funding + payoutSent_ - sold_;\n        unchecked {\n            routing.funding -= prefundingRefund;\n        }\n```\n