Debt | Debt Loan and Security Agreement with Hercules Capital, Inc. In November 2016, the Company entered into a Loan and Security Agreement (the “Hercules Loan Agreement”) with Hercules Capital, Inc. (“Hercules”), as a lender and agent for several banks and other financial institutions or entities from time to time party to the Hercules Loan Agreement for a term loan of up to $75.0 million, which would have matured on December 1, 2020. The proceeds of the Term Loan were used for general corporate purposes and coincided with the repayment of the outstanding debt financing arrangement with Oxford Finance LLC and Silicon Valley Bank. In December 2017, the Company paid off all remaining obligations owing under, and terminated, the Hercules Loan Agreement. The secured interests under the Hercules Loan Agreement were terminated in connection with the Company’s discharge of indebtedness thereunder. In connection with the extinguishment of the Hercules Loan Agreement in 2017, the Company recorded a loss on debt extinguishment of $4.3 million on the extinguishment of debt was recorded representing the difference between the reacquisition price of debt and the net carrying amount of the loan as of December 21, 2017. 2017 Securities Purchase Agreement in Private Placement In December 2017, the Company entered into a Securities Purchase Agreement with certain accredited investors (collectively, the “December 2017 Purchasers”). Pursuant to the December 2017 Securities Purchase Agreement the Company issued and sold to the December 2017 Purchasers, in a private placement transaction, (1) convertible promissory notes of $50,000,000 (the “December 2017 Notes”), which accrued simple interest at a rate equal to 5.0% per annum and mature upon the earlier to occur of (a) December 21, 2022, and (b) the date of the closing of a change in control, and (2) warrants (the “December 2017 Warrants”) to purchase an aggregate of 12,121,210 shares of its common stock. Each December 2017 Warrant has an exercise price of $2.61 per share, became exercisable in June 2018 and has a term of five and a half years. In May 2018, the December 2017 Purchasers converted in full the outstanding principal and accrued interest under the December 2017 Notes into 22,038,565 shares of the Company’s common stock and the Company paid to the December 2017 Purchasers cash in an aggregate amount of $1.0 million in accrued but unpaid interest. The unamortized discount remaining at the date of conversion of $44.3 million was recognized as interest expense. 2018 Securities Purchase Agreement in Private Placement and Amendment to Warrants In March 2018, the Company entered into a Securities Purchase Agreement (the “March 2018 Securities Purchase Agreement”) with certain accredited investors (the “March 2018 Purchasers”). Pursuant the March 2018 Securities Purchase Agreement, the Company agreed to issue and sell to the March 2018 Purchasers, in a Private Placement (the “March 2018 Private Placement”), (1) convertible promissory notes in an aggregate principal amount of $120,500,000 (the “Notes”), and (2) warrants to purchase 8,591,794 shares of the common stock of the Company (the “Warrants”). On June 13, 2018, the Company entered into an amendment (the “June 2018 Amendment”) to the March 2018 Securities Purchase Agreement. Under the terms of the June 2018 Amendment, the Company and the March 2018 Purchasers agreed that the aggregate principal amount of the Notes was reduced to $37,848,750 and that the aggregate number of shares of Common Stock issuable upon exercise of the Warrants was reduced to 2,698,662, and also agreed to certain other adjustments to the threshold principal amount of the Notes required to remain outstanding in order for certain rights and obligations to apply to the Notes. In June 2018, pursuant to the March 2018 Securities Purchase Agreement, as amended by the June 2018 Amendment, the Company issued and sold to the March 2018 Purchasers, in the March 2018 Private Placement (1) Notes in an aggregate principal amount of $37,848,750, and (2) Warrants to purchase an aggregate of 2,698,662 shares of Common Stock. The Notes accrue interest at a rate equal to 5.0% per annum and mature upon the earlier to occur of June 13, 2023 and the date of the closing of a change of control (the “Maturity Date”). At any time and from time to time before the Maturity Date, each March 2018 Purchaser shall have the option to convert any portion of the outstanding principal amount of such March 2018 Purchaser’s Note that is equal to or greater than the lesser of: (1) $4,000,000, and (2) the then-outstanding principal amount of such March 2018 Purchaser’s Note into shares of common stock at a price per share of $7.0125, subject to adjustment for stock splits, reverse stock splits, stock dividends and similar transactions. Each Warrant has an exercise price of $3.28 per share, subject to adjustment for stock splits, reverse stock splits, stock dividends and similar transactions, became exercisable on December 11, 2018 and has a term of five and a half years from the date of issuance. See Note 1 for discussion of the Company’s policies for accounting for debt with detachable warrants. In connection with the issuance of the Notes and the Warrants, the Company recorded a debt discount of approximately $21.6 million based on an allocation of proceeds to the Warrants of approximately $9.6 million and a beneficial conversion feature of approximately $12.0 million, before issuance costs. The Company accounts for the debt at amortized cost and amortizes the debt discount to interest expense using the effective interest method over the expected term of the Notes. The fair value of the Notes was estimated using a lattice model with Level 3 inputs including the historical stock price volatility, risk-free interest rate, and debt yield. In November 2018, the Company amended the Warrants to reduce the exercise price per share of its common stock thereunder from $8.77 to $3.28. The amendment of the Warrants resulted in a loss on debt extinguishment of $1.9 million representing the incremental fair value of the modified Warrants along with the difference between the fair value and carrying value of the Notes at the modification date. The Company determined that the amendment resulted in an extinguishment at the modification date. As a result, the Company recorded a loss on debt extinguishment for the difference between the fair value of $23.1 million and the carrying value of $17.0 million, or $6.1 million. Borrowings under the Notes consisted of the following (in thousands): Face value of loan $ 37,849 Unamortized debt discount (14,804) Accretion of debt discount 515 Balance at December 31, 2018 $ 23,560 Interest expense recognized for stated interest on the Notes totaled $1.6 million and $1.0 million for the twelve months ended December 31, 2019 and 2018, respectively. The amount of debt discount and debt issuance costs included in interest expense was approximately $1.9 million and $0.5 million for the twelve months ended December 31, 2019 and 2018, respectively. On November 8, 2019, the Company amended the Notes to provide that (a) the conversion price for the Notes was reduced from $7.0125 per share to $1.70 per share, and (b) upon the conversion of any portion of the outstanding principal amount of the Notes, all accrued but unpaid interest on such portion of the principal amount being converted shall also be converted into shares of the Company’s common stock at $1.70 per share. Pursuant to the Notes, as amended, the March 2018 Purchasers agreed to convert the full principal amount, plus all accrued but unpaid interest into shares of the Company’s common stock on November 8, 2019. The Company accounted for the conversion of the Notes as an induced conversion of debt and recorded a loss on settlement of debt of $27.8 million. 2018 Purchase Agreements and Indenture for Scilex On September 7, 2018, Scilex Pharma entered into Purchase Agreements (the “2018 Purchase Agreements”) with certain investors (collectively, the “Scilex Note Purchasers”) and the Company. Pursuant to the 2018 Purchase Agreements, on September 7, 2018, Scilex Pharma, among other things, issued and sold to the Scilex Note Purchasers senior secured notes due 2026 in an aggregate principal amount of $224,000,000 (the "Scilex Notes") for an aggregate purchase price of $140,000,000 million (the “Scilex Notes Offering”). In connection with the Scilex Notes Offering, Scilex Pharma also entered into an Indenture (the “Indenture”) governing the Scilex Notes with U.S. Bank National Association, a national banking association, as trustee (the “Trustee”) and collateral agent (the “Collateral Agent”), and the Company. Pursuant to the Indenture, the Company agreed to irrevocably and unconditionally guarantee, on a senior unsecured basis, the punctual performance and payment when due of all obligations of Scilex Pharma under the Indenture (the "Guarantee"). The net proceeds of the Offering were approximately $89.3 million, after deducting the Offering expenses payable by Scilex Pharma and funding a segregated reserve account ($20.0 million) (the “Reserve Account”) and a segregated collateral account ($25.0 million) (the “Collateral Account”) pursuant to the terms of the Indenture. Funds in the Reserve Account will be released to Scilex Pharma upon receipt by the Trustee of an officer’s certificate under the Indenture from Scilex Pharma confirming receipt of a marketing approval letter from the FDA with respect to SP-103 (the “Marketing Approval Letter”) on or prior to July 1, 2023. Funds in the Collateral Account will be released upon receipt of a written consent authorizing such release from the holders of a majority in principal amount of the Scilex Notes issued, upon the occurrence and during the continuance of an event of default at the direction of the holders of a majority in principal amount of the Scilex Notes issued or upon the repayment in full of all amounts owed under the Scilex Notes. The holders of the Scilex Notes will be entitled to receive quarterly payments of principal of the Scilex Notes equal to a percentage, in the range of 10% to 20% of the net sales of ZTlido for the prior fiscal quarter, beginning on February 15, 2019. If Scilex Pharma has not received the Marketing Approval Letter by March 31, 2021, the percentage of net sales payable shall be increased to be in the range of 15% to 25%. If actual cumulative net sales of ZTlido from October 1, 2022 through September 30, 2023 are less than 60% of a predetermined target sales threshold for such period, then Scilex Pharma will be obligated to pay an additional installment of principal of the Scilex Notes each quarter in an amount equal to an amount to be determined by reference to the amount of such deficiency. The aggregate principal amount due under the Scilex Notes shall be increased by $28,000,000 on February 15, 2022 if actual cumulative net sales of ZTlido from the issue date of the Scilex Notes through December 31, 2021 do not equal or exceed 95% of a predetermined target sales threshold for such period. If actual cumulative net sales of ZTlido for the period from October 1, 2022 through September 30, 2023 do not equal or exceed 80% of a predetermined target sales threshold for such period, the aggregate principal amount shall also be increased on November 15, 2023 by an amount equal to an amount to be determined by reference to the amount of such deficiency. The final maturity date of the Scilex Notes will be August 15, 2026. The Scilex Notes may be redeemed in whole at any time upon 30 days’ written notice at Scilex Pharma’s option prior to August 15, 2026 at a redemption price equal to 100% of the then-outstanding principal amount of the Scilex Notes. In addition, upon a change of control of Scilex Pharma (as defined in the Indenture), each holder of a Scilex Note shall have the right to require Scilex Pharma to repurchase all or any part of such holder’s Scilex Note at a repurchase price in cash equal to 101% of the then-outstanding principal amount thereof. The 2018 Purchase Agreements include the terms and conditions of the offer and sale of the Scilex Notes, representations and warranties of the parties, indemnification and contribution obligations and other terms and conditions customary in agreements of this type. The Indenture governing the Scilex Notes contains customary events of default with respect to the Scilex Notes (including a failure to make any payment of principal on the Scilex Notes when due and payable), and, upon certain events of default occurring and continuing, the Trustee by notice to Scilex Pharma, or the holders of at least 25% in principal amount of the outstanding Scilex Notes by notice to Scilex Pharma and the Trustee, may (subject to the provisions of the Indenture) declare 100% of the then-outstanding principal amount of the Scilex Notes to be due and payable. Upon such a declaration of acceleration, such principal will be due and payable immediately. In the case of certain events, including bankruptcy, insolvency or reorganization involving the Company or Scilex Pharma, the Scilex Notes will automatically become due and payable. Pursuant to the Indenture, the Company and Scilex Pharma must also comply with certain covenants with respect to the commercialization of ZTlido, as well as customary additional affirmative covenants, such as furnishing financial statements to the holders of the Scilex Notes, minimum cash requirements and net sales reports; and negative covenants, including limitations on the following: the incurrence of debt; the payment of dividends, the repurchase of shares and under certain conditions making certain other restricted payments; the prepayment, redemption or repurchase of subordinated debt; a merger, amalgamation or consolidation involving Scilex Pharma; engaging in certain transactions with affiliates; and the making of investments other than those permitted by the Indenture. Pursuant to a Collateral Agreement by and among Scilex Pharma, the Trustee and the Collateral Agent (the “Collateral Agreement”), the Scilex Notes will be secured by ZTlido and all of the existing and future property and assets of Scilex Pharma necessary for, or otherwise relevant to, now or in the future, the manufacture and sale of ZTlido, on a worldwide basis (exclusive of Japan), including, but not limited to, the intellectual property related to ZTlido, the marketing or similar regulatory approvals related to ZTlido, any licenses, agreements and other contracts related to ZTlido, and the current assets related to ZTlido such as inventory, accounts receivable and cash and any and all future iterations, improvements or modifications of such product made, developed or licensed (or sub-licensed) by Scilex Pharma or any of its affiliates or licensees (or sub-licensees) (including SP-103). Pursuant to the terms of the Indenture, the Company issued an irrevocable standby letter of credit to Scilex Pharma (the “Letter of Credit”), which provides that, in the event that (1) Scilex Pharma does not hold at least $35,000,000 in unrestricted cash (which is inclusive of the amount in the Collateral Account) as of the end of any calendar month during the term of the Scilex Notes, (2) actual cumulative net sales of ZTlido from the issue date of the Scilex Notes through December 31, 2021 are less than a specified sales threshold for such period, or (3) actual cumulative net sales of ZTlido for any calendar year during the term of the Scilex Notes, beginning with the 2022 calendar year, are less than a specified sales threshold for such calendar year, Scilex Pharma as beneficiary of the Letter of Credit, will draw, and the Company will pay to Scilex Pharma, $35,000,000 in a single lump-sum amount as a subordinated loan. In the event that Scilex Pharma draws on, and the Company pays to Scilex Pharma, $35,000,000 in a single lump-sum amount as a subordinated loan, each holder of the Scilex Notes shall have the right to require the Company to purchase all or any part of such holder’s outstanding Scilex Notes in the principal amount of, and at a purchase price in cash equal to, $25,000,000 multiplied by such holder’s pro rata portion of the then-outstanding Scilex Notes. The Letter of Credit will terminate upon the earliest to occur of: (a) the repayment of the Scilex Notes in full, (b) the actual net sales of ZTlido for any calendar year during the term of the Scilex Notes exceeding a certain threshold, (c) the consummation of an initial public offering on a major international stock exchange by Scilex Pharma that satisfies certain valuation thresholds, and (d) the replacement of the Letter of Credit with another letter of credit in form and substance, including as to the identity and creditworthiness of issuer, reasonably acceptable to the holders of at least 80% in principal amount of outstanding Scilex Notes. On October 1, 2019, Scilex Pharma, the Company, the Trustee and the Agent, and the beneficial owners of the Scilex Notes and the holders of such Scilex Notes listed on the signature pages thereto (the “Holders”) entered into an omnibus amendment (the “Omnibus Amendment”) to: (i) the Indenture, and (ii) that certain Irrevocable Standby Letter of Credit issued by the Company to Scilex Pharma. Under the terms of the Omnibus Amendment, among other things, the defined term “Change of Control” was revised to include, in addition to certain events described in the Indenture, (i) prior to the consummation of an initial public offering by Scilex Holding (the “Scilex Holding IPO”), the Company ceasing to own, directly or indirectly, a majority of the total voting and economic power of the issued and outstanding capital stock that is entitled to vote in the election of the Board of Directors (the “Voting Stock”) of Scilex Pharma, (ii) at any time following the consummation of the Scilex Holding IPO, Scilex Pharma becoming aware of the acquisition by any person or group acquiring, in a single or in a related series of transactions, by way of merger, amalgamation, consolidation or other business combination or purchase of beneficial ownership of a majority of the total voting power of the issued and outstanding Voting Stock of Scilex Pharma or Scilex Holding, and (iii) Scilex Holding failing at any time to own 100% of the capital stock of Scilex Pharma. The Omnibus Amendment also provides that Scilex Pharma will agree not to engage in or enter into any business other than the research, development, manufacture, sale, distribution, marketing, detailing, promotion, selling and securing of reimbursement of ZTlido and any future iterations, improvements or modifications thereof (the “Product”), on a worldwide basis (exclusive of Japan), and activities that are necessary for, or otherwise relevant to, the same, subject to certain exceptions. The Omnibus Amendment further provides that, if Scilex Holding fails to contribute $25.0 million of the proceeds of any Scilex Holding IPO to Scilex Pharma within three business days following the closing of the issuance and sale of Scilex Holding’s capital stock in the Scilex Holding IPO, such failure shall constitute an “Event of Default” under the Indenture. In connection with the Omnibus Amendment, in the event of consummation of a Scilex Holding IPO that satisfies certain valuation thresholds, Scilex Pharma agreed to repurchase, from each holder of Scilex Notes, Scilex Notes in a principal amount equal to (i) $20.0 million multiplied by (ii) a fraction the numerator of which will be the then outstanding principal amount of the Scilex Notes held by such holder and the denominator of which will be the then outstanding principal amount of all of the outstanding Scilex Notes, at a purchase price in cash equal to 100% of the principal amount thereof (such repurchase, the “Effective Date Repurchase”). Pursuant to the Omnibus Amendment, the Holders agreed to release the funds in the Reserve Account for the purpose of consummating the Effective Date Repurchase and any remaining funds in the Reserve Account after the consummation of the Effective Date Repurchase will be released to Scilex Pharma by the Trustee and Agent. After the consummation of the Effective Date Repurchase, the right of the holders of the Scilex Notes to require Scilex Pharma to repurchase $20.0 million principal amount upon failure to receive the Marketing Approval Letter with respect to SP-103 by July 1, 2023 shall have no further force and effect and the Reserve Account shall be closed. The Omnibus Amendment also modified the Letter of Credit to provide that one of the conditions that will terminate the Letter of Credit will be the consummation of a Scilex Holding IPO that satisfies certain valuation thresholds. The Omnibus Amendment will be effective upon the satisfaction of certain terms and conditions, including the consummation of the Effective Date Repurchase. The Omnibus Amendment will terminate if the Omnibus Amendment does not become effective on or prior to October 1, 2020. The Company accounted for the Omnibus Amendment as a debt modification under ASC Topic 470-50 as modified terms were no substantially different than the pre-modified terms. The Company recorded an additional $4.3 million debt discount in connection with the Omnibus Amendment as of October 1, 2019. To estimate the fair value of the Scilex Notes, the Company uses the discounted cash flow method under the income approach, which involves significant Level 3 inputs and assumptions, combined with a Monte Carlo simulation as appropriate. The value of the debt instrument is based on the present value of future principal payments and the discounted rate of return reflective of the Company’s credit risk. Borrowings of the Scilex Notes consisted of the following (in thousands): December 31, 2019 2018 Face value of loan $ 224,000 $ 224,000 Unamortized debt discount (67,839) (77,624) Unamortized debt issuance costs (4,360) (5,313) Payments (2,334) — Carrying value $ 149,467 $ 141,063 Estimated fair value $ 150,800 $ 122,840 Future minimum payments under the Scilex Notes, based on a percentage of projected net sales of ZTlido are estimated as follows (in thousands): Year Ending December 31, 2020 $ 7,543 2021 13,213 2022 20,133 2023 23,623 2024 24,804 Thereafter 132,350 Total future minimum payments 221,666 Unamortized debt discount (67,839) Unamortized capitalized debt issuance costs (4,360) Total Scilex Notes 149,467 Current portion (7,543) Long-term portion of Scilex Notes $ 141,924 Debt discount and debt issuance costs, which are presented as a direct reduction of the Scilex Notes in the consolidated balance sheets, are amortized as interest expense using the effective interest method. As principal repayments on the Scilex Notes are based on a percentage of net sales of ZTlido and SP-103, if the Marketing Approval Letter is received, the Company has elected to account for changes in estimated cash flows from future net sales prospectively. Specifically, a new effective interest rate will be determined based on revised estimates of remaining cash flows and changes in expected cash flows will be recognized prospectively. The imputed effective interest rate at December 31, 2019 was 8.12%. The amount of debt discount and debt issuance costs included in interest expense for the fiscal years ended December 31, 2019 and 2018 was approximately $15.0 million and $6.8 million, respectively. The Company identified a number of embedded derivatives that require bifurcation from the Scilex Notes and were separately accounted for in the consolidated financial statements as derivative liabilities. Certain of these embedded features include default interest provisions, contingent rate increases, contingent put options, optional and automatic acceleration provisions and indemnified taxes. The Company recorded this derivative within its consolidated financial statements (See Note 4 ). The Company re-evaluates this assessment each reporting period. 2018 Oaktree Term Loan Agreement In November 2018, the Company and certain of its domestic subsidiaries (the “Guarantors”) entered into a Term Loan Agreement (the “Loan Agreement”) with certain funds and accounts managed by Oaktree Capital Management, L.P. (collectively, the “Lenders”) and Oaktree Fund Administration, LLC, as administrative and collateral agent, for an initial term loan of $100.0 million (the “Initial Loan”) and a second tranche of $50.0 million, subject to the achievement of certain commercial and financial milestones between August 7, 2019 and November 7, 2019, and the satisfaction of certain customary conditions (the “Conditional Loan”). The Initial Loan matures on November 7, 2023 (the “Maturity Date”) and bears interest at a rate equal to the London Interbank Offered Rate ("LIBOR") plus the applicable margin, or 7%. The Initial Loan was funded on November 7, 2018. The net proceeds of the Initial Loan were approximately $91.3 million, after deducting estimated loan costs, commissions, fees and expenses, and will be used for general corporate purposes. In connection with the Loan Agreement, on November 7, 2018, the Company issued to the Lenders warrants to purchase 6,288,985 shares of the Company’s common stock (the “Initial Warrants”). The Initial Warrants have an exercise price per share of $3.28, subject to adjustment for stock splits, reverse stock splits, stock dividends and similar transactions and will be exercisable from May 7, 2019 through May 7, 2029. In connection with the Loan Agreement, on November 7, 2018, the Company and the Lenders entered into a Registration Rights Agreement (the “Registration Rights Agreement”) pursuant to which, among other things, the Company agreed to file one or more registration statements with the SEC for the purpose of registering for resale the Initial Warrant Shares and the shares of common stock issuable upon exercise of warrants that may be issued in connection with the Conditional Loan (the “Conditional Warrants”). Under the Registration Rights Agreement, the Company agreed to file a registration statement with the SEC registering all of the Initial Warrant Shares and the shares of common stock issuable upon exercise of the Conditional Warrants for resale by no later than the 45th day following the issuance of the Initial Warrants and the Conditional Warrants, respectively. On May 3, 2019, the Company, the Guarantors and the Lenders and the Agent entered into an amendment (the “Amendment”) to the Loan Agreement. Under the terms of the Amendment, among other things, the Lenders agreed to make available to the Company $20.0 million of the Conditional Loan, notwithstanding that the commercial and financial milestones had not occurred (the “Early Conditional Loan”). The Lenders also agreed to loan the Company the remaining $30.0 million of the Conditional Loan upon the satisfaction of the commercial and financial milestones (the “Remaining Conditional Loan” and, together with the Initial Loan and the Early Conditional Loan, the “Term Loans”). The Term Loans, other than the Early Conditional Loan, will mature on November 7, 2023. The Early Conditional Loan will mature on May 3, 2020; however, if the commercial and financial milestones have occurred on or prior to such date, the Early Conditional Loan will mature on November 7, 2023. The Term Loans may be prepaid by the Company, in whole or in part at any time, subject to a prepayment fee. Upon any prepayment or repayment of all or a portion of the Term Loans (including the Early Conditional Loan and the Remaining Conditional Loan), the Company agreed to pay the Lenders an exit fee equal to 1.25% of the principal amount paid or prepaid amounting to approximately $1.5 million. The Early Conditional Loan was funded on May 3, 2019. The Company accounted for the Amendment as a debt modification and not a debt extinguishment under ASC Topic 470-50, as the modified terms were not substantially different from the terms of the Loan Agreement. The Company incurred approximately $0.8 million in fees directly related to the Amendment, which were expensed as incurred. In connection with the Amendment, on May 3, 2019, the Company issued to the Lenders warrants to purchase an aggregate of 1,333,304 shares of the Company’s common stock (the “2019 Warrants”). The 2019 Warrants have an exercise price per share of $3.94, subject to adjustment for stock splits, reverse stock splits, stock dividends and similar transactions, will be exercisable from November 3, 2019 through November 3, 2029. The Company recorded a loss on derivative liabilities associated with the 2019 Warrants of $4.3 million on the issuance date. The Loan Agreement provided that, in the event of an optional prepayment of all or any portion of the Term Loans prior to November 7, 2021, the Company would be obligated to pay a prepayment fee in an amount equal to the amount of interest that would have been paid on the principal amount of the Term Loans being prepaid for the period from and including the date of such prepayment to, but excluding, November 7, 2021, based on the interest rate in effect on the date of any such prepayment (the “Make-Whole Payment”), plus 3% of the principal amount of the Term Loans being so prepaid. On December 6, 2019, the Company, the Guarantors and the Lenders and the Agent entered into an amendment (“Amendment No. 2”) to the Loan Agreement. Under the terms of Amendment No. 2, the Lenders agreed that, in the event of an optional prepayment of all or any portion of the Term Loans on or prior to March 31, 2020, the prepayment fee will be equal to 3% of the principal amount of the Term Loans being prepaid, and the Company will not be required to pay any Make-Whole Payment. Pursuant to Amendment No. 2, the Company also agreed to certain financial milestones and to fund and maintain, in a blocked liquidity account, an amount equal to (i) $2.5 million, or (ii) $20.0 million upon the achievement by the Company of certain financial milestones; provided, that the amount required to be maintained in the blocked liquidity account will be $10.0 million if the Company makes an optional prepayment of at least $50.0 million in principal amount of the Term Loans on or prior to March 31, 2020. In connection with Amendment No. 2, on December 6, 2019, the Company paid the Lenders fees of approximately $1.4 million, which the Company recorded as a debt discount, and issued to the Lenders warrants to purchase an aggregate of 2,000,000 shares of the Company’s common stock (the “December 2019 Warrants”). The December 2019 Warrants have an exercise price per share of $3.26, subject to adjustment for stock splits, reverse stock splits, stock dividends and similar transactions, will be exercisable from June 6, 2020 through June 6, 2030 and will be exercisable solely on a cash basis, unless there is not an effective registration statement covering the resale of the shares issuable upon exercise of the Warrants, in which case the December 2019 Warrants shall also be exercisable on a cashless exercise basis. The Company recorded a $6.0 million debt discount representing the fair value of the December 2019 Warrants with a corresponding increase to additional paid-in-capital. The debt discount is being recognized as interest expense over the life of the Term Loans using the effective interest method. The fair value of the Term Loans was estimated using a discounted cash flow model with Level 3 inputs with key inputs that include debt yield, coupon rate and maturity dates. Borrowings under the Term Loans consisted of the following (in thousands): December 31, 2019 2018 Face value of loan $ 120,000 $ 100,000 Unamortized debt issuance costs (7,945) (6,543) Unamortized debt discount (34,892) (26,248) Carrying value $ 77,163 $ 67,209 Estimated fair value $ 70,460 $ 64,019 Interest expense recognized for stated interest on the Term Loans totaled $10.7 million and $1.4 million for the years ended December 31, 2019 and 2018, respectively. Debt discount and debt issuance costs, which are presented as a direct reduction of the Loan Agreement in the consolidated balance sheets, are amortized as interest expense using the effective interest method. The amount of debt discount and debt issuance costs included in interest expense on the Term Loans for the years ended December 31, 2019 and 2018 was approximately $5.5 million and $0.5 million, respectively. The Company identified a number of embedded derivatives that require bifurcation from the Initial Loan and separate accounting as a compound derivative. As the current fair v |