power to 40% voting power, requiring the Company to engage a financial advisor, and allowing additional time, until July 15, 2022, for the Company to come into compliance with certain borrowing base requirements set forth in the Second Amendment to the Credit Agreement, among other adjustments. During the six months ended June 30, 2023, the Company repaid principal of $1.4 million and interest of $4.0 million to Whitehawk.
On April 24, 2023, the Company entered into a third amendment (the “Third Amendment”) to the Credit Agreement, with Collateral Agent and the Lender. The Third Amendment was entered into for purposes of the Lender funding an additional $3.0 million delayed draw term loan (the “Additional Draw”). The Additional Draw was funded on April 24, 2023, must be repaid on or prior to September 29, 2023, is not subject to any prepayment penalties, and adjusts certain terms to the Credit Agreement, including adjusting the test period End dates and corresponding Senior Leverage Ratios (as defined in the Credit Amendment) and revising the minimum liquidity requirements that the Company must maintain compliance with pertaining to certain Borrowing Base Requirements, among other adjustments. The completion of the additional draw eliminates further delayed draws under the term loan agreement. As discussed in Note 17, on July 20, 2023, the Company paid the $3.0 million due under the terms of the Third Amendment.
On June 26, 2023, the Company entered into a fourth amendment (the “Fourth Amendment”) with the Collateral Agent and the Lender for the sole purpose of replacing LIBOR-based rates with a SOFR-based rate. Following the Fourth Amendment, the Company’s interest rate is calculated as the Daily Simple SOFR, subject to a floor of 1%, plus the SOFR Term Adjustment and Applicable Margin, as defined in the Credit Agreement, as amended. At such time, no other changes were made to the Credit Agreement.
Covenant Compliance and Liquidity Considerations
The Company's Credit Agreement requires compliance with certain monthly covenants, which include provisions regarding over advance limitations based upon a borrowing base. In the second quarter of 2023, as part of obtaining an appropriate waiver, the Company agreed to engage a financial advisor and to use commercial reasonable efforts to refinance the Credit Agreement with an alternative lender and repay the Credit Facility by September 30, 2023, or as soon thereafter as practical. The waiver did not amend the maturity date of the Credit Agreement. Upon repayment, the Company will be subject to a prepayment premium that is higher than the prepayment premium included in the original Credit Agreement, as defined in the waiver. At period end, considering the waivers obtained, the Company was in compliance with all such financial covenants of the Credit Agreement, as amended.
The Company has either implemented or initiated appropriate plans regarding refinancing procedures that are within management’s control to comply with the waiver requirements. The financial statements do not include any adjustments that might result from the outcome of the Company’s ability to refinance and repay the credit facility by September 30, 2023.
Issuance Cost and Warrants
In conjunction with its receipt of the Initial Loan, the Company issued to the Lender (i) 66,022 shares of Class A common stock (the “Shares”), which Shares were registered pursuant to its existing shelf registration statement and were delivered to the Lender in January 2022, (ii) a warrant to purchase 255,411 shares of Class A common stock (subject to increase to the extent that 3% of any Series B and Series C convertible preferred stock converted into Class A common stock), exercisable at $16.00 per share (the “Warrant”), which Warrant was subject to repricing on March 31, 2022 based on the arithmetic volume weighted average prices for the 30 trading days prior to September 30, 2022, in the event the Company’s stock is then trading below $16.00 per share, (iii) a 3% fee of $1,800,000, and (iv) a $500,000 original issue discount. In addition, the Company agreed to register for resale the shares issuable upon exercise of the Warrant. The Company also incurred agency fees, legal fees, and other costs in connection with the execution of the Credit Agreement totaling approximately $1.7 million. Under the terms of the warrant issued to Whitehawk on December 31, 2021, the exercise price of the warrants would reprice if the stock price on March 31, 2022 was less than the original exercise price, at which time the number of warrants would also be increased proportionately, so that after such adjustment the aggregate exercise price payable for the increased number of warrant shares would be the same as the aggregate exercise price previously in effect. The warrants repriced on March 31, 2022 to $9.52 per share and the shares increased to 429,263.
On July 22, 2022, the Company entered into a securities purchase agreement (the “Purchase Agreement”) with an accredited institutional investor. According to the terms of the Credit Agreement, as amended, the Purchase Agreement triggered a reduction of the exercise price of the warrants and a revaluation of the derivative liability. The Whitehawk warrants were repriced to $8.80 and shares increased to 464,385.