Document:

Document

EXECUTION COPY

MASTER REPURCHASE AGREEMENT
among
CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC, as administrative agent (“Administrative Agent”)
and
CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, as buyer (“Buyer”)
and
LOANDEPOT.COM, LLC, as seller (“Seller”)
Dated as of February 10, 2022
LOANDEPOT GMSR MASTER TRUST
MSR COLLATERALIZED NOTES, 
SERIES 2021-PIAVF1

Certain confidential information contained in this document, marked by “[***]”, has been omitted because it is both (i) not material and (ii) would be competitively harmful if publicly disclosed

TABLE OF CONTENTS
Page
						
	ARTICLE I    DEFINITIONS
	1

	Section 1.01    Certain Defined Terms
	1

	Section 1.02    Other Defined Terms
	15

	ARTICLE II    GENERAL TERMS
	16

	Section 2.01    Transactions
	16

	Section 2.02    Procedure for Entering into Transactions
	16

	Section 2.03    Repurchase; Payment of Repurchase Price
	16

	Section 2.04    Price Differential
	17

	Section 2.05    Margin Maintenance
	17

	Section 2.06    Payment Procedure
	17

	Section 2.07    Application of Payments
	18

	Section 2.08    Use of Purchase Price and Transaction Requests
	18

	Section 2.09    Recourse
	18

	Section 2.10    Requirements of Law
	19

	Section 2.11    Taxes
	20

	Section 2.12    Indemnity
	22

	Section 2.13    Changes in VFN Principal Balance
	22

	Section 2.14    [Reserved]
	22

	Section 2.15    Termination
	22

	ARTICLE III    REPRESENTATIONS AND WARRANTIES
	22

	Section 3.01    Seller Existence
	22

	Section 3.02    Licenses
	23

	Section 3.03    Power
	23

	Section 3.04    Due Authorization
	23

	Section 3.05    Financial Statements
	23

	Section 3.06    No Event of Default
	23

	Section 3.07    Solvency
	24

	Section 3.08    No Conflicts
	24

	Section 3.09    True and Complete Disclosure
	24

	Section 3.10    Approvals
	24

	Section 3.11    Litigation
	24

	Section 3.12    Material Adverse Change
	25

	Section 3.13    Ownership
	25

	Section 3.14    The Note
	25

	Section 3.15    Taxes
	25

	Section 3.16    Investment Company
	26

	Section 3.17    Chief Executive Office; Jurisdiction of Organization
	26

	Section 3.18    Location of Books and Records
	26

	Section 3.19    ERISA
	26

						
	Section 3.20    Financing of Note
	26

	Section 3.21    Agreements
	26

	Section 3.22    Other Indebtedness
	26

	Section 3.23    No Reliance
	26

	Section 3.24    Plan Assets
	27

	Section 3.25    No Prohibited Persons
	27

	Section 3.26    Compliance with 1933 Act
	27

	ARTICLE IV    CONVEYANCE; REPURCHASE ASSETS; SECURITY INTEREST
	27

	Section 4.01    Ownership
	27

	Section 4.02    Security Interest
	27

	Section 4.03    Further Documentation
	29

	Section 4.04    Changes in Locations, Name, etc.
	29

	Section 4.05    Performance by Buyer of Seller’s Obligations
	29

	Section 4.06    Proceeds
	30

	Section 4.07    Remedies
	30

	Section 4.08    Limitation on Duties Regarding Preservation of Repurchase Assets
	31

	Section 4.09    Powers Coupled with an Interest
	31

	Section 4.10    Release of Security Interest
	31

	Section 4.11    Reinstatement
	31

	Section 4.12    Subordination
	31

	ARTICLE V    CONDITIONS PRECEDENT
	32

	Section 5.01    Initial Transaction
	32

	Section 5.02    All Transactions
	32

	Section 5.03    Closing Subject to Conditions Precedent
	33

	ARTICLE VI    COVENANTS
	36

	Section 6.01    Litigation
	36

	Section 6.02    Prohibition of Fundamental Changes
	37

	Section 6.03    Sale of Assets
	37

	Section 6.04    Asset Schedule
	37

	Section 6.05    No Adverse Claims
	37

	Section 6.06    Assignment
	37

	Section 6.07    Security Interest
	37

	Section 6.08    Records
	37

	Section 6.09    Books
	38

	Section 6.10    Approvals
	38

	Section 6.11    Material Change in Business
	38

	Section 6.12    Distributions
	38

	Section 6.13    Applicable Law
	38

	Section 6.14    Existence
	38

	Section 6.15    Chief Executive Office; Jurisdiction of Organization
	38

	Section 6.16    Taxes
	38

ii

						
	Section 6.17    Transactions with Affiliates
	39

	Section 6.18    Guarantees
	39

	Section 6.19    Indebtedness
	39

	Section 6.20    True and Correct Information
	39

	Section 6.21    No Pledge
	39

	Section 6.22    Plan Assets
	39

	Section 6.23    Sharing of Information
	39

	Section 6.24    Modification of the Base Indenture and Series 2021-PIAVF1 Indenture Supplement
	39

	Section 6.25    Reporting Requirements
	40

	Section 6.26    Servicer Administration
	42

	Section 6.27    Litigation Summary
	42

	Section 6.28    Hedging
	42

	ARTICLE VII    DEFAULTS/RIGHTS AND REMEDIES OF BUYER UPON DEFAULT
	43

	Section 7.01    Events of Default
	43

	Section 7.02    No Waiver
	44

	Section 7.03    Due and Payable
	45

	Section 7.04    Fees
	45

	Section 7.05    Default Rate
	45

	ARTICLE VIII    ENTIRE AGREEMENT; AMENDMENTS
AND WAIVERS; SEPARATE ACTIONS BY BUYER
	45

	Section 8.01    Entire Agreement
	45

	Section 8.02    Waivers, Separate Actions by Buyer
	45

	ARTICLE IX    SUCCESSORS AND ASSIGNS
	46

	Section 9.01    Successors and Assigns
	46

	Section 9.02    Participations and Transfers
	46

	Section 9.03    Buyer and Participant Register
	47

	ARTICLE X    MISCELLANEOUS
	48

	Section 10.01    Survival
	48

	Section 10.02    Indemnification
	48

	Section 10.03    Nonliability of Buyer
	48

	Section 10.04    Governing Law; Submission to Jurisdiction; Waivers
	49

	Section 10.05    Notices
	50

	Section 10.06    Severability
	51

	Section 10.07    Section Headings
	52

	Section 10.08    Counterparts
	52

	Section 10.09    Periodic Due Diligence Review
	52

	Section 10.10    Hypothecation or Pledge of Repurchase Assets
	52

	Section 10.11    Non-Confidentiality of Tax Treatment
	53

	Section 10.12    Set-off
	54

	Section 10.13    Intent
	54

iii

Schedule 1    –    Responsible Officers of Seller 
Schedule 2    –    Asset Schedule
Schedule 3    –    Buyer Account
Schedule 4    –    List of Competitors
Exhibit A    –    Form of Transaction Notice
Exhibit B    –    Existing Indebtedness

iv

MASTER REPURCHASE AGREEMENT
This Master Repurchase Agreement (“Agreement”) is made as of February 10, 2022, among CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC (“CSFB”), as administrative agent (the “Administrative Agent”), CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH (“CSCIB”), as buyer (“Buyer”), and LOANDEPOT.COM, LLC (“loanDepot”), as seller (“Seller”). Capitalized terms have the meanings specified in Sections 1.01 and 1.02.
W I T N E S S E T H :
WHEREAS, pursuant to the Base Indenture and the Series 2021-PIAVF1 Indenture Supplement, loanDepot GMSR Master Trust (the “Issuer”) has duly authorized the issuance of a Series of Notes, as a single Class of Variable Funding Notes, known as the “loanDepot GMSR Master Trust MSR Collateralized Notes, Series 2021-PIAVF1” (the “Note”);
WHEREAS, from time to time the parties hereto may enter into Transactions;
WHEREAS, Seller is the owner of the Note; 
WHEREAS, Seller wishes to sell the Note to Buyer pursuant to the terms of this Agreement; and
WHEREAS, any proceeds from the Transactions involving the Note may be used for general corporate purposes.
NOW, THEREFORE, in consideration of the mutual agreements set forth herein, and other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, Buyer and Seller hereby agree as follows.
ARTICLE I

DEFINITIONS
Section 1.01    Certain Defined Terms.  Capitalized terms used herein shall have the indicated meanings:
“1933 Act” means the Securities Act of 1933, as amended from time to time.
“1934 Act” means the Securities Exchange Act of 1934, as amended from time to time.
“Acknowledgment Agreement” means the Second Amended and Restated Acknowledgment Agreement, to be dated on or prior to the date of the initial Transaction, by and among the Indenture Trustee, as secured party, the Issuer, and Ginnie Mae. 
“Act of Insolvency” means, with respect to any Person, (a) the filing of a petition by such Person commencing, or authorizing the commencement of any case or proceeding, or the voluntary joining by such Person of any case or proceeding under any bankruptcy, insolvency, 
-1-

reorganization, liquidation, dissolution or similar law relating to the protection of creditors, or suffering by such Person of any such petition or proceeding to be commenced by another which is consented to, not timely contested or results in entry of an order for relief; (b) the seeking of the appointment of a receiver, trustee, custodian or similar official for such Person or any substantial part of the property of such Person; (c) the appointment of a receiver, conservator, or manager for such Person by any governmental agency or authority having the jurisdiction to do so; (d) the making or offering by such Person of a composition with its creditors or a general assignment for the benefit of creditors; (e) the admission by such Person of its inability to pay its debts or discharge its obligations as they become due or mature; or (f) that any governmental authority or agency or any person, agency or entity acting or purporting to act under governmental authority shall have taken any action to condemn, seize or appropriate, or to assume custody or control of, all or any substantial part of the property of such Person, or shall have taken any action to displace the management of such Person or to curtail its authority in the conduct of the business of such Person.
“Additional Repurchase Assets” has the meaning set forth in Section 4.02(c).
“Adjusted Daily Simple SOFR” means an interest rate per annum equal to (i) the Daily Simple SOFR, plus (ii) the applicable Benchmark Adjustment. 
“Administrative Agent” has the meaning given to such term in the preamble to this Agreement. 
“Affiliate” means, with respect to any specified entity, any other entity controlling or controlled by or under common control with such specified entity.  For the purposes of this definition, “control” when used with respect to a specified entity means the power to direct the management and policies of such entity, directly or indirectly, whether through the ownership of voting securities, by contract or otherwise, and the terms “controlling” and “controlled” having meanings correlative to the foregoing; provided, however, any Permitted Holder or any joint venture for which Seller or LD Holdings Group LLC owns less than fifty percent (50%) of the equity interests therein shall not be considered an Affiliate of Seller or any of its Subsidiaries for purposes of this Agreement or any other Program Agreement.
“Agreement” has the meaning given to such term in the preamble to this Agreement.
“Applicable Lending Office” means the “lending office” of Buyer (or of an Affiliate of Buyer) designated in Section 10.05 hereof or such other office of Buyer (or of an Affiliate of Buyer) as Buyer may from time to time specify to Seller in writing as the office by which the Transactions are to be made and/or maintained.
“Asset Schedule” means Schedule 2 attached hereto, which lists the Note, as such schedule shall be updated from time to time to reflect any increases or decreases in the VFN Principal Balance thereof in accordance with Section 2.13.
“Asset Value” has the meaning assigned to such term in the Pricing Side Letter.
-2-

“Bankruptcy Code” means the United States Bankruptcy Code of 1978, as amended from time to time.
“Base Indenture” means the Second Amended and Restated Base Indenture, dated as of November 15, 2021 (as amended by Amendment No. 1, dated as of February 10, 2022), among the Issuer, Citibank, N.A., as indenture trustee, as calculation agent, as paying agent and as securities intermediary, Seller, as administrator and as servicer, CSFB, as administrative agent, and the Credit Manager, including the schedules and exhibits thereto.
“Base Rate” means the greater of (a) the Benchmark or (b) [***]%.
“Benchmark” means, with respect to any date of determination, the Adjusted Daily Simple SOFR or, if applicable, a Benchmark Replacement Rate. It is understood that the Benchmark shall be adjusted on a daily basis; provided, that, the Benchmark for the three (3) Business Days prior to the related Price Differential Payment Date shall be fixed at the Benchmark for the third (3rd) Business Day prior to the related Price Differential Payment Date.
“Benchmark Adjustment” means, for any day, the spread adjustment for such Price Differential Period that has been selected or recommended by the Relevant Governmental Body for the tenor of 1 month. For the avoidance of doubt, the “Benchmark Adjustment” means, for any day, the value as reported on the display designated as “YUS0001M” on Bloomberg, or such other display as may replace “YUS0001M.”
“Benchmark Administration Changes” means, with respect to the Benchmark (including any Benchmark Replacement Rate), any technical, administrative or operational changes (including without limitation changes to the timing and frequency of determining rates and making payments of interest, length of lookback periods, and other administrative matters as may be appropriate, in the sole and good faith discretion of Administrative Agent, to reflect the adoption and implementation of such Benchmark and to permit the administration thereof by Administrative Agent in a manner substantially consistent with market practice (or, if Administrative Agent determines that adoption of any portion of such market practice is not administratively feasible or that no market practice for the administration of such Benchmark exists, in such other manner of administration as Administrative Agent decides is reasonably necessary in connection with the administration of this Agreement).
“Benchmark Replacement Rate” means with respect to any Benchmark Transition Event, the sum of: (i) the alternate benchmark rate that has been selected in the sole and good faith discretion of Administrative Agent, giving due consideration to (A) any selection or recommendation of a replacement benchmark rate or the mechanism for determining such a rate by the Relevant Governmental Body or (B) any evolving or then-prevailing market convention for determining a benchmark rate as a replacement to the then-current Benchmark for Dollar-denominated repurchase facilities and (ii) the related Benchmark Administration Changes; provided that, no such Benchmark Replacement Rate as so determined would be less than [***]%.
“Benchmark Transition Event” means a determination by Administrative Agent in its sole good faith discretion that, by reason of circumstances affecting the relevant market, 
-3-

(i) adequate and reasonable means do not exist for ascertaining the Benchmark, (ii) the applicable Benchmark is no longer in existence, (iii) continued implementation of the Benchmark is no longer administratively feasible or no significant market practice for the administration of the Benchmark exists, (iv) the Benchmark will not adequately and fairly reflect the cost to Buyer of purchasing or maintaining Purchased Assets or (v) the administrator of the applicable Benchmark or a Relevant Governmental Body having jurisdiction over Buyer or Administrative Agent has made a public statement identifying a specific date after which the Benchmark shall no longer be made available or used for determining the interest rate of loans or other extensions of credit.
“Business Day” means any day other than (i) a Saturday or Sunday or (ii) any other day on which national banking associations or state banking institutions in New York, New York, the State of California, the city and state where the Corporate Trust Office is located or the Federal Reserve Bank of New York, are authorized or obligated by law, executive order or governmental decree to be closed.
“Buyer” means CSCIB, together with its successors, and any assignee of and Participant or Transferee in the Transaction.
“Buyer Account” means the account identified on Schedule 3 hereto.
“Capital” means any and all shares, units, interests, membership interests, limited liability company interests, participations, partnership interests, rights or other equivalents (however designated, whether voting or nonvoting, ordinary or preferred) in the equity or capital of such Person, and any other interest or participation that confers on a Person the right to receive a share of the profits and losses of, or distributions of assets of, any Person, now or hereafter outstanding, and any and all rights, warrants or options exchangeable for or convertible into any of the foregoing.
“Capital Lease” means, at any time, a lease with respect to which the lessee is required concurrently to recognize the acquisition of an asset and the incurrence of a liability in accordance with GAAP.
“Capital Lease Obligations” means, for any Person, all obligations of such Person under a Capital Lease.
“Change in Control” means:
(1)    any event or series of events by which any “person” or “group” (as such terms are used in Sections 13(d) and 14(d) of the Securities Exchange Act of 1934, as amended), but excluding any employee benefit plan of such person or its Subsidiaries, and any person or entity acting in its capacity as trustee, agent or other fiduciary or administrator of any such plan, other than the Permitted Holders becomes the “beneficial owner” (as defined in Rules 13d-3 and 13d-5 under the Securities Exchange Act of 1934, as amended) directly or indirectly of 51% or more of the equity securities of loanDepot, Inc., a Delaware corporation, entitled to vote for members of the board of directors or equivalent governing body of Seller on a fully-diluted basis;
-4-

(2)    the sale, transfer, or other disposition of all or substantially all of Seller’s assets (excluding any such action taken in connection with any securitization transaction); or
(3)    if Seller is a Delaware limited liability company, Seller enters into any transaction or series of transactions to adopt, file, effect or consummate a Division, or otherwise permits any such Division to be adopted, filed, effected or consummated.
“Closing Date” means February 10, 2022.
“Code” means the Internal Revenue Code of 1986, as amended from time to time.
“Competitor” means (a) any Person that is a direct competitor of the Seller listed on Schedule 4 hereto, which may be updated from time to time following the written request of the Seller to the extent consented to in writing by the Buyer (which consent shall not be unreasonably withheld) or (b) wholly-owned Subsidiary of such Person.
“Confidential Information” has the meaning set forth in Section 10.11(b).
“Control”, “Controlling” or “Controlled” means the possession of the power to direct or cause the direction of the management or policies of a Person through the right to exercise voting power or by contract, directly or indirectly, whether through the ownership of voting securities, by contract or otherwise.
“Credit Manager” means Pentalpha Surveillance LLC and any successor thereto in such capacity.
“CSCIB” has the meaning given to such term in the preamble to this Agreement.
“CSFB” has the meaning given to such term in the preamble to this Agreement.
“Daily Simple SOFR” means, for any day, SOFR, with conventions for this rate (which will include a lookback) being established by the Administrative Agent in its sole good faith discretion; provided that, if the Administrative Agent determines that any such convention is not administratively, operationally, or technically feasible for the Administrative Agent, then the Administrative Agent may establish another convention in its sole good faith discretion.
“Default” means an event, condition or default that, with the giving of notice, the passage of time, or both, would constitute an Event of Default.
“Division” means a division pursuant to the applicable law. 
“Dollars” and “$” means dollars in lawful currency of the United States of America.
“EO13224” has the meaning set forth in Section 3.25.
“ERISA” means the Employee Retirement Income Security Act of 1974, as amended from time to time.
-5-

“ERISA Affiliate” means any corporation or trade or business that, together with Seller is treated as a single employer under section 414(b) or (c) of the Code or solely for purposes of section 302 of ERISA and section 412 of the Code is treated as single employer described in section 414 of the Code.
“ERISA Event of Termination” means with respect to Seller (i) with respect to any Plan, a reportable event, as defined in section 4043 of ERISA, as to which the PBGC has not by regulation waived the requirement of section 4043(a) of ERISA that it be notified with thirty (30) days of the occurrence of such event, or (ii) the withdrawal of Seller or any ERISA Affiliate thereof from a Plan during a plan year in which it is a substantial employer, as defined in section 4001(a)(2) of ERISA, or (iii) the failure by Seller or any ERISA Affiliate thereof to meet the minimum funding standard of section 412 of the Code or section 302 of ERISA with respect to any Plan, including the failure to make on or before its due date a required installment under section 412(m) of the Code (or Section 430(j) of the Code as amended by the Pension Protection Act) or section 302(e) of ERISA (or section 303(j) of ERISA, as amended by the Pension Protection Act), or (iv) the distribution under section 4041 of ERISA of a notice of intent to terminate any Plan or any action taken by Seller or any ERISA Affiliate thereof to terminate any plan, or (v) the failure to meet requirements of Section 436 of the Code resulting in the loss of qualified status under section 401(a)(29) of the Code, or (vi) the institution by the PBGC of proceedings under section 4042 of ERISA for the termination of, or the appointment of a trustee to administer, any Plan, or (vii) the receipt by Seller or any ERISA Affiliate thereof of a notice from a Multiemployer Plan that action of the type described in the previous clause (vi) has been taken by the PBGC with respect to such Multiemployer Plan, or (viii) any event or circumstance exists which may reasonably be expected to constitute grounds for Seller or any ERISA Affiliate thereof to incur liability under Title IV of ERISA or under sections 412(b) or 430(k) of the Code with respect to any Plan.
“Event of Default” has the meaning assigned to such term in Section 7.01.
“Excluded Taxes” means any of the following Taxes imposed on or with respect to a Buyer or other recipient of any payment hereunder or required to be withheld or deducted from a payment to such Buyer or such other recipient: (a) Taxes based on (or measured by) net income or net profits, franchise Taxes and branch profits Taxes that are imposed on a Buyer or other recipient of any payment hereunder as a result of (i) being organized under the laws of, or having its principal office or its applicable lending office located in the jurisdiction imposing such Tax (or any political subdivision thereof), or (ii) a present or former connection between such Buyer or other recipient and the jurisdiction of the Governmental Authority imposing such Tax or any political subdivision or taxing authority thereof (other than connections arising from such Buyer or other recipient having executed, delivered, become a party to, performed its obligations under, received payments under, received or perfected a security interest under, engaged in any other transaction pursuant to or enforced under this Agreement or any Program Agreement, or sold or assigned an interest in any Purchased Mortgage Loan); (b) any Tax imposed on a Buyer or other recipient of a payment hereunder that is attributable to such Buyer’s or other recipient’s failure to comply with relevant requirements set forth in Section 2.11(e); (c) any withholding Tax that is imposed on amounts payable to or for the account of such Buyer or other recipient of a payment hereunder pursuant to a law in effect on the date such person becomes a party to or under this Agreement, or such person changes its lending office, except in 
-6-

each case to the extent that amounts with respect to Taxes were payable either to such person’s assignor immediately before such person became a party hereto or to such person immediately before it changed its lending office; and (d) any U.S. federal withholding Taxes imposed under FATCA.
“Existing Indebtedness” has the meaning specified in Section 3.22.
“Expenses” means all present and future expenses reasonably incurred by or on behalf of Buyer in connection with the negotiation, execution or enforcement of this Agreement or any of the other Program Agreements and any amendment, supplement or other modification or waiver related hereto or thereto, whether incurred heretofore or hereafter, which expenses shall include the reasonable and documented cost of title, lien, judgment and other record searches; reasonable and documented attorneys’ fees; any ongoing audits or due diligence costs in connection with valuation, entering into Transactions or determining whether a Margin Deficit may exist; and costs of preparing and recording any UCC financing statements or other filings necessary to perfect the security interest created hereby.
“Family Member” means, with respect to any individual, any other individual having a relationship by blood, marriage, or adoption to such individual.
“Family Trust” means, with respect to any individual, any trust or other estate planning vehicle established for the benefit of such individual or Family Members of such individual.
“FATCA” Sections 1471 through 1474 of the Code as of the date of this Agreement (or any amended or successor version that is substantially comparable and not materially more onerous to comply with), any current or future regulations or official interpretations thereof, any agreement entered into pursuant to section 1471(b) of the Code, or any U.S. or non-U.S. fiscal or regulatory legislation, guidance, notes, rules or practices adopted pursuant to any intergovernmental agreement entered into in connection with the implementation of such sections of the Code.
“Federal Reserve Bank of New York’s Website” means the website of the Federal Reserve Bank of New York at http://www.newyorkfed.org, or any successor source.
“Financial Statements” means the consolidated financial statements of Seller prepared in accordance with GAAP for the year or other period then ended.
“GAAP” means U.S. generally accepted accounting principles that are (i) consistent with the principles promulgated or adopted by the Financial Accounting Standards Board and its successors, as in effect from time to time, and (ii) applied consistently with principles applied to past financial statements of Seller and its subsidiaries; provided, that a certified public accountant would, insofar as the use of such accounting principles is pertinent, be in a position to deliver an unqualified opinion (other than a qualification regarding changes in generally accepted accounting principles) that such principles have been properly applied in preparing such financial statements.
“GLB Act” has the meaning set forth in Section 10.11(b).
-7-

“Governmental Actions” means any and all consents, approvals, permits, orders, authorizations, waivers, exceptions, variances, exemptions or licenses of, or registrations, declarations or filings with, any Governmental Authority required under any Governmental Rules.
“Governmental Authority” means any nation or government, any state or other political subdivision thereof, or any entity exercising executive, legislative, judicial, regulatory or administrative functions over Seller or Buyer, as applicable.
“Governmental Rules” means any and all laws, statutes, codes, rules, regulations, ordinances, orders, writs, decrees and injunctions, of any Governmental Authority and any and all legally binding conditions, standards, prohibitions, requirements and judgments of any Governmental Authority.
“Guarantee” means, as to any Person, any obligation of such Person directly or indirectly guaranteeing any Indebtedness of any other Person or in any manner providing for the payment of any Indebtedness of any other Person or otherwise protecting the holder of such Indebtedness against loss (whether by virtue of partnership arrangements, by agreement to keep-well, to purchase assets, goods, securities or services, or to take-or-pay or otherwise); provided that the term “Guarantee” shall not include (a) endorsements for collection or deposit in the ordinary course of business, or (b) obligations to make servicing advances for delinquent taxes and insurance or other obligations in respect of a Mortgage Loan or Mortgaged Property, to the extent required by Administrative Agent. The amount of any Guarantee of a Person shall be deemed to be an amount equal to the stated or determinable amount of the primary obligation in respect of which such Guarantee is made or, if not stated or determinable, the maximum reasonably anticipated liability in respect thereof as determined by such Person in good faith. The terms “Guarantee” and “Guaranteed” used as verbs shall have correlative meanings.
“Hsieh Investors” shall mean each of the JLSSAA Trust, established September 4, 2014, JLSA, LLC, Trilogy Mortgage Holdings, Inc., Trilogy Management Investors Six, LLC, Trilogy Management Investors Seven, LLC and Trilogy Management Investors Eight, LLC and each of their respective affiliates.
“Indebtedness” means, for any Person: at any time, and only to the extent outstanding at such time (without duplication): (a) obligations created, issued or incurred by such Person for borrowed money (whether by loan, the issuance and sale of debt securities or the sale of Property to another Person subject to an understanding or agreement, contingent or otherwise, to repurchase such Property from such Person); (b) obligations of such Person to pay the deferred purchase or acquisition price of Property or services, other than trade accounts payable (other than for borrowed money) arising, and accrued expenses incurred, in the ordinary course of business, so long as such trade accounts payable are payable within ninety (90) days after the date the respective goods are delivered or the respective services are rendered; (c) Indebtedness of others secured by a Lien on the Property of such Person, whether or not the respective Indebtedness so secured has been assumed by such Person; (d) obligations (contingent or otherwise) of such Person in respect of letters of credit or similar instruments issued or accepted by banks and other financial institutions for the account of such Person; (e) Capital Lease Obligations of such Person; (f) obligations of such Person under repurchase agreements, sale/
-8-

buy-back agreements or like arrangements, including, without limitation, any Indebtedness arising hereunder; (g) Indebtedness of others Guaranteed by such Person to the extent required to be reflected as indebtedness in accordance with GAAP; (h) all obligations of such Person incurred in connection with the acquisition or carrying of fixed assets by such Person; (i) Indebtedness of general partnerships of which such Person is a general partner to the extent required to be reflected as indebtedness in accordance with GAAP and (j) with respect to clauses (a)-(i) above both on and off balance sheet; provided, that Indebtedness shall exclude Non-Recourse Debt.
“Indemnified Taxes” means (a) Taxes, other than Excluded Taxes, imposed on or with respect to any payment made by or on account of any obligation of the Seller under any Program Agreement and (b) to the extent not otherwise described in (a), Other Taxes.
“Indenture” means the Base Indenture, together with the Series 2021-PIAVF1 Indenture Supplement thereto.
“Indenture Trustee” means Citibank, N.A., its permitted successors and assigns.
“Issuer” has the meaning given to such term in the recitals to this Agreement.
“Laws” means any law (including common law), constitution, statute, treaty, regulation, rule, ordinance, order, injunction, writ, decree or award of any Governmental Authority.
“Lien” means, with respect to any property or asset of any Person (a) any mortgage, lien, pledge, charge or other security interest or encumbrance of any kind in respect of such property or asset or (b) the interest of a vendor or lessor arising out of the acquisition of or agreement to acquire such property or asset under any conditional sale agreement, lease purchase agreement or other title retention agreement.
“loanDepot” has the meaning given to such term in the recitals to this Agreement.
“Margin” has the meaning assigned to the term in the Pricing Side Letter.
“Margin Call” has the meaning set forth in Section 2.05(a).
“Margin Deadlines” has the meaning set forth in Section 2.05(b).
“Margin Deficit” has the meaning set forth in Section 2.05(a).
“Market Value” means, with respect to the Note as of any date of determination, and without duplication, the fair market value of the Note on such date as reasonably determined by Buyer (or an Affiliate thereof).
“Material Adverse Effect” means (a) a material adverse change in, or a material adverse effect upon, the operations, business, properties, or condition (financial or otherwise) of Seller or any Affiliate that is a party to any Program Agreement taken as a whole; (b) a material impairment of the ability of Seller or any Affiliate that is a party to any Program Agreement to 
-9-

perform under any Program Agreement and to avoid any Event of Default;  or (c) a material adverse effect upon the legality, validity, binding effect or enforceability of any Program Agreement against Seller or any Affiliate that is a party to any Program Agreement.
“Maximum Purchase Price” has the meaning assigned to the term in the Pricing Side Letter.
“MLRA Pricing Side Letter” has the meaning assigned to the term in the Pricing Side Letter.
“Moody’s” means Moody’s Investors Service, Inc. or any successors thereto.
“Mortgage Loan Repurchase Agreement” has the meaning assigned to the term in the Pricing Side Letter. 
“Multiemployer Plan” means a multiemployer plan defined as such in Section 3(37) of ERISA to which contributions have been or are required to be made by Seller or any ERISA Affiliate and that is covered by Title IV of ERISA.
“Non-Recourse Debt” means liabilities for which the assets securing such obligations are the only source of repayment, subject to customary, non-recourse carve-outs. For the avoidance of doubt, Non-Recourse Debt shall include securitizations that meet the foregoing criteria.
“Note” has the meaning given to such term in the recitals to this Agreement.
“Notice” or “Notices” means all requests, demands and other communications, in writing (including facsimile transmissions and e-mails), sent by overnight delivery service, facsimile transmission, electronic transmission or hand-delivery to the intended recipient at the address specified in Section 10.05 or, as to any party, at such other address as shall be designated by such party in a written notice to the other party.
“Obligations” means (a) all of Seller’s indebtedness, obligations to pay the outstanding principal balance of the Purchase Price, together with interest thereon on the Termination Date, outstanding interest due on each Price Differential Payment Date, and other obligations and liabilities, to Buyer or its Affiliates arising under, or in connection with, the Program Agreements, whether now existing or hereafter arising; (b) any and all sums reasonably incurred and paid by Buyer or on behalf of Buyer in order to preserve any Repurchase Asset or its interest therein; (c) in the event of any proceeding for the collection or enforcement of any of Seller’s indebtedness, obligations or liabilities referred to in this definition, the reasonable expenses of retaking, holding, collecting, preparing for sale, selling or otherwise disposing of or realizing on any Repurchase Asset, or of any exercise by Buyer of its rights under the Program Agreements, including reasonable attorneys’ fees and disbursements and court costs; and (d) all of Seller’s indemnity obligations to Buyer pursuant to the Program Agreements.
“OFAC” has the meaning set forth in Section 3.25.
-10-

“Officer’s Compliance Certificate” has the meaning assigned to such term in the Pricing Side Letter.
“Other Repurchase Agreements” means the Mortgage Loan Repurchase Agreement, the Series 2021-SAVF1 Repurchase Agreement and the Series 2017-VF1 Repurchase Agreement. 
“Other Taxes” means any and all present or future stamp, court or documentary, intangible, recording, filing or similar Taxes or any excise, sales, goods and services or transfer taxes, charges or similar levies arising from any payment made hereunder or from the execution, delivery, performance, enforcement or registration of, from the receipt or perfection of a security interest under, or otherwise with respect to, any Program Agreement.
“Parthenon Investors” shall mean each of Parthenon Investors III, L.P., PCap Associates, Parthenon Capital Partners Fund, L.P., Parthenon Investors IV, L.P., Parthenon Capital Partners Fund II, L.P., PCP Managers, L.P., PCAP Partners III LLC and PCAP Partners IV LP and each of their respective affiliates.
“Participant” has the meaning set forth in Section 9.02(a).
“Participation Agreement” means the Second Amended and Restated GMSR Participation Agreement, dated as of November 15, 2021, between loanDepot, as company, and loanDepot, as initial participant.
“PBGC” means the Pension Benefit Guaranty Corporation or any entity succeeding to any or all of its functions under ERISA.
“PC Repurchase Agreement” means the Second Amended and Restated Master Repurchase Agreement, dated as of November 15, 2021 (as amended by Amendment No. 1, dated as of February 10, 2022), between the Issuer and Seller.
“Pension Protection Act” means the Pension Protection Act of 2006, as amended from time to time.
“Permitted Holders” means any of the Hsieh Investors and the Parthenon Investors.
“Person” means an individual, partnership, corporation (including a business trust), limited liability company, joint stock company, trust, unincorporated association, joint venture or other entity, or a government or any political subdivision or agency thereof.
“PIAVF1 Funding Conditions” with respect to the Series 2021-PIAVF1 Notes and any Funding Date, the following conditions:
(i)  the Advance Verification Agent Report immediately preceding such Funding Date has been delivered in accordance with Section 3.3(g)(2) of the Base Indenture; 
-11-

(ii)  to the extent the Advance Verification Agent Report delivered immediately preceding such Funding Date contains any exceptions noted therein, such exceptions have been waived by the Administrative Agent in its sole discretion; and
(iii)  Seller shall not have submitted an Appendix XI-01A Request for Pass-Through Assistance Related to COVID-19 and Repayment Agreement.
“Plan” means an employee benefit or other plan established or maintained by any Seller or any ERISA Affiliate and covered by Title IV of ERISA, other than a Multiemployer Plan.
“Price Differential” means with respect to any Transaction as of any date of determination, an amount equal to the product of (A) the Pricing Rate for such Transaction and (B) the Purchase Price for such Transaction, calculated daily on the basis of a 360 day year for the actual number of days during the Price Differential Period.
“Price Differential Payment Date” means, for as long as any Obligations shall remain owing by Seller to Buyer, each Payment Date.
“Price Differential Period” means, the period from and including a Price Differential Payment Date, up to but excluding the next Price Differential Payment Date.
“Price Differential Statement Date” has the meaning set forth in Section 2.04.
“Pricing Rate” means Base Rate plus the applicable Margin.
“Pricing Side Letter” means the pricing side letter dated as of the Closing Date, between Buyer and Seller as amended, restated, supplemented or otherwise modified from time to time.
“Primary Repurchase Assets” has the meaning set forth in Section 4.02(a).
“Proceeds” means “proceeds” as defined in Section 9-102(a)(64) of the UCC.
“Program Agreements” means this Agreement, Subservicer Side Letter Agreement, the Pricing Side Letter, the Base Indenture, the PC Repurchase Agreement, the Participation Agreement and the Series 2021-PIAVF1 Indenture Supplement.
“Prohibited Person” has the meaning set forth in Section 3.25.
“Property” means any right or interest in or to property of any kind whatsoever, whether real, personal or mixed and whether tangible or intangible.
“Purchase Date” means, subject to the satisfaction of the conditions precedent set forth in Article V, each Funding Date (as defined in the Indenture) on which a Transaction is entered into by Buyer pursuant to Section 2.02 or such other mutually agreed upon date as more particularly set forth in the related Transaction Notice.
-12-

“Purchase Price” means on any date of determination: 
(i)     the price at which each Purchased Asset (or portion thereof) is transferred by Seller to Buyer, which shall equal the Asset Value of such Purchased Asset on the related Purchase Date 
minus 
(ii)     the sum of (a) any Repurchase Price paid with respect to such Purchased Asset pursuant to Section 2.03, plus (b) any Redemption Amount paid pursuant to Section 13.1 of the Indenture, plus (c)  any amounts paid or applied with respect to such Purchased Asset pursuant to Section 2.05.  
“Purchase Price Percentage” has the meaning assigned to the term in the Pricing Side Letter.
“Purchased Assets” means, collectively, the Note together with the Repurchase Assets related to such Note, until such Note has been repurchased by Seller in accordance with the terms of this Agreement. 
“Records” means all instruments, agreements and other books, records, and reports and data generated by other media for the storage of information maintained by Seller, or any other person or entity with respect to the Purchased Assets.
“Register” has the meaning set forth in Section 9.02(b).
“Relevant Governmental Body” means the Federal Reserve Board or the Federal Reserve Bank of New York, or a committee officially endorsed or convened by the Federal Reserve Board or the Federal Reserve Bank of New York, or any successor thereto.
“Repurchase Assets” has the meaning set forth in Section 4.02(c).
“Repurchase Date” means the earlier of (i) the Termination Date or (ii) the date requested by Seller on which the Repurchase Price is paid pursuant to Section 2.03.
“Repurchase Documents” means any or all of the “Program Agreements” as defined in each Other Repurchase Agreement.
“Repurchase Price” means the price at which Purchased Assets are to be transferred from Buyer to Seller upon termination of a Transaction, which will be determined in each case (including Transactions terminable upon demand) as the sum of the Purchase Price and the accrued but unpaid Price Differential as of the date of such determination.
“Repurchase Rights” has the meaning set forth in Section 4.02(c).
“Request for Certification” means a notice sent to Buyer reflecting the sale of the Note to Buyer.
-13-

“Requirement of Law” means, with respect to any Person, any law, treaty, rule or regulation or determination of an arbitrator, a court or other Governmental Authority, applicable to or binding upon such Person or any of its property or to which such Person or any of its property is subject.
“Responsible Officer” means as to any Person, the chief executive officer or, with respect to financial matters, the chief financial officer or treasurer of such Person.  The Responsible Officers of Seller as of the Closing Date are listed on Schedule 1 hereto.
“SEC” means the Securities and Exchange Commission, or any successor thereto.
“Seller” has the meaning assigned to such term in the preamble to this Agreement and includes loanDepot’s permitted successors and assigns.
“Seller Termination Option” means (a) Buyer has or shall incur costs in connection with those matters provided for in Section 2.10 or 2.11 and (b) Buyer requests that Seller pay to Buyer those costs in connection therewith.
“Series 2017-VF1 Repurchase Agreement” means the Amended and Restated Series 2017-VF1 Repurchase Agreement, dated as of November 15, 2021 (as amended by Amendment No. 1, dated as of February 10, 2022), among loanDepot, as repo seller, CSCIB, as repo buyer, and CSFB, as administrative agent, as amended, restated, supplemented or otherwise modified from time to time.
“Series 2021-PIAVF1 Indenture Supplement” means the Series 2021-PIAVF1 Indenture Supplement, dated as of November 15, 2021 (as amended by Amendment No. 1, dated as of February 10, 2022), among the Issuer, Citibank, N.A., as indenture trustee, as calculation agent, as paying agent and as securities intermediary, loanDepot, as administrator and as servicer, and CSFB, as administrative agent, as amended, restated, supplemented or otherwise modified from time to time.
“Series 2021-SAVF1 Repurchase Agreement” means the Series 2021-SAVF1 Repurchase Agreement, dated November 15, 2021 (as amended by Amendment No. 1, dated as of February 10, 2022), among the loanDepot, as repo seller, CSCIB, as repo buyer and CSFB, as administrative agent, as amended, restated, supplemented or otherwise modified from time to time.
“SOFR” with respect to any day means the secured overnight financing rate published for such day by the Federal Reserve Bank of New York, as the administrator of the benchmark, (or a successor administrator) on the Federal Reserve Bank of New York’s Website.
“Subordinated Pledge Assets” has the meaning set forth in Section 4.02(e). 
“Subservicer Side Letter Agreement” means the second amended and restated subservicer side letter, dated as of February 10, 2022, between Servicer, Cenlar FSB, as subservicer, and consented to by the Administrative Agent and the Indenture Trustee, as amended, restated, supplemented or otherwise modified from time to time.
-14-

“Subsidiary” means, with respect to any Person, any corporation, limited liability company, partnership or other entity of which at least a majority of the securities or other ownership interests having by the terms thereof ordinary voting power to elect a majority of the board of directors or other persons performing similar functions of such corporation, partnership or other entity (irrespective of whether or not at the time securities or other ownership interests of any other class or classes of such corporation, partnership or other entity shall have or might have voting power by reason of the happening of any contingency) is at the time directly or indirectly owned or controlled by such Person or one or more Subsidiaries of such Person or by such Person and one or more Subsidiaries of such Person.
“Taxes” means any and all present or future taxes (including social security contributions and value added taxes), levies, imposts, duties (including stamp duties), deductions, charges (including ad valorem charges), withholdings (including backup withholding), assessments, fees or other charges of any nature whatsoever imposed by any Governmental Authority, including any interest, additions to tax or penalties applicable thereto.
“Termination Date” has the meaning assigned to such term in the Pricing Side Letter.
“Transaction” means a transaction pursuant to which Seller transfers a Note or increases in the value thereof, as applicable, to Buyer against the transfer of funds by Buyer, with a simultaneous agreement by Buyer to transfer such Note or any interest therein, as applicable, back to Seller at a date certain or on demand, against the transfer of funds by Seller. 
“Transaction Notice” has the meaning assigned to such term in Section 2.02(a).
“Transaction Register” has the meaning assigned to such term in Section 9.03(b).
“Transferee” has the meaning set forth in Section 9.02(b).
“Uniform Commercial Code” or “UCC” means the Uniform Commercial Code as in effect on the Closing Date in the State of New York or the Uniform Commercial Code as in effect in the applicable jurisdiction.
Section 1.02    Other Defined Terms.
(a)    Any capitalized terms used and not defined herein shall have the meaning set forth in the Base Indenture or the Series 2021-PIAVF1 Indenture Supplement, as applicable.
(b)    The words “hereof,” “herein” and “hereunder” and words of similar import when used in this Agreement shall refer to this Agreement as a whole and not to any particular provision of this Agreement.  Unless otherwise specified herein, the term “or” has the inclusive meaning represented by the term “and/or” and the term “including” is not limiting.  All references to Sections, subsections, Articles and Exhibits shall be to Sections, subsections, and Articles of, and Exhibits to, this Agreement unless otherwise specifically provided.
-15-

(c)     Reference to and the definition of any document (including this Agreement) shall be deemed a reference to such document as it may be amended or modified from time to time;
(d)    In the computation of periods of time from a specified date to a later specified date, unless otherwise specified herein the words “commencing on” mean “commencing on and including,” the word “from” means “from and including” and the words “to” and “until” each means “to but excluding.”
ARTICLE II

GENERAL TERMS
Section 2.01    Transactions.  Subject to the terms and conditions hereof, prior to the Termination Date, Buyer may enter into Transactions with Seller for a Purchase Price outstanding at any one time not to exceed the lesser of (i) the Maximum Purchase Price and (ii) the Asset Value.  During the term of this Agreement, Seller may request Transactions, Seller may pay the Repurchase Price in whole or in part at any time during such period without penalty, and additional Transactions may be entered into in accordance with the terms and conditions hereof.  Buyer shall have no commitment or obligation to enter into Transactions.
Section 2.02    Procedure for Entering into Transactions.
(a)    Seller may enter into Transactions with Buyer under this Agreement on any Purchase Date; provided, that Seller shall have given Buyer irrevocable notice (each, a “Transaction Notice”), which notice (i) shall be substantially in the form of Exhibit A, (ii) shall be signed by a Responsible Officer of Seller and be received by Buyer prior to 1:00 p.m. (New York time) one (1) Business Day prior to the related Purchase Date, and (iii) shall specify the requested information as detailed in the Transaction Notice.  Each Transaction Notice on any Purchase Date shall be in an amount equal to at least $[***].
(b)    If Seller shall deliver to Buyer a Transaction Notice that satisfies the requirements of Section 2.02(a), Buyer will notify Seller of its intent to remit the requested Purchase Price one (1) Business Day prior to the requested Purchase Date.  If all applicable conditions precedent set forth in Article V have been satisfied on or prior to the Purchase Date, then subject to the foregoing, on the Purchase Date, Buyer shall remit the amount of the requested Purchase Price in U.S. Dollars and in immediately available funds to the account of Seller specified in Schedule 5 to the Base Indenture.
Section 2.03    Repurchase; Payment of Repurchase Price.
(a)    Seller hereby promises to repurchase the Purchased Assets and pay all outstanding Obligations on the Termination Date.
(b)    By notifying Buyer in writing at least one (1) Business Day in advance, Seller shall be permitted, at its option, to prepay, subject to Section 2.12, the Purchase Price in whole or in part at any time, together with accrued and unpaid interest on the amount so prepaid.
-16-

Section 2.04    Price Differential.  On each Price Differential Payment Date, Seller hereby promises to pay to Buyer all accrued and unpaid Price Differential on the Transactions, as invoiced by Buyer to Seller three (3) Business Days prior to the related Price Differential Payment Date (the “Price Differential Statement Date”); provided, that on each Price Differential Payment Date prior to the occurrence and continuation of an Event of Default, the estimated Price Differential owed hereunder shall be subject to a true-up of the amount determined by Buyer and delivered to the Seller one (1) Business Day prior to the related Price Differential Payment Date.
If Buyer fails to deliver such statement on the Price Differential Statement Date, on such Price Differential Payment Date Seller shall pay the amount which Seller calculates as the Price Differential due and upon delivery of the statement, Seller shall remit to Buyer any shortfall, or Buyer shall refund to Seller any excess, in the Price Differential paid.  The Price Differential shall be computed on the basis of the actual number of days in each Price Differential Period and a 360-day year.
Section 2.05    Margin Maintenance.
(a)    If at any time the aggregate outstanding amount of the Purchase Price of the Note is greater than the related Asset Value (such excess, a “Margin Deficit”), then Buyer may by notice to Seller require Seller to transfer to Buyer cash in an amount at least equal to the Margin Deficit (such requirement, a “Margin Call”).
(b)    Notice delivered pursuant to Section 2.05(a) may be given by any written or electronic means.  With respect to a Margin Call, any notice given before 5:00 p.m. (New York City time) on a Business Day shall be met, and the related Margin Call satisfied, no later than 5:00 p.m. (New York City time) on the following Business Day.  With respect to a Margin Call, any notice given after 5:00 p.m. (New York City time) on a Business Day shall be met, and the related Margin Call satisfied, no later than 5:00 p.m. (New York City time) on the second (2nd) Business Day following the date of such notice.  The foregoing time requirements for satisfaction of a Margin Call are referred to as the “Margin Deadlines”.  The failure of Buyer, on any one or more occasions, to exercise its rights hereunder, shall not change or alter the terms and conditions to which this Agreement is subject or limit the right of Buyer to do so at a later date.  Seller and Buyer each agree that a failure or delay by Buyer to exercise its rights hereunder shall not limit or waive Buyer’s rights under this Agreement or otherwise existing by law or in any way create additional rights for Seller.
(c)    In the event that a Margin Deficit exists, Buyer may retain any funds received by it to which Seller would otherwise be entitled hereunder, which funds (i) may be held by Buyer against the related Margin Deficit or (ii) may be applied by Buyer against the Purchase Price.  Notwithstanding the foregoing, Buyer retains the right, in its sole discretion, to make a Margin Call in accordance with the provisions of this Section 2.05.
Section 2.06    Payment Procedure.  Seller absolutely, unconditionally, and irrevocably, shall make, or cause to be made, all payments required to be made by Seller hereunder.  Seller shall deposit or cause to be deposited all amounts constituting collection, 
-17-

payments and proceeds of the Note (including all fees and proceeds of sale to a third party) to the Buyer Account.
Section 2.07    Application of Payments.
(a)    On each Price Differential Payment Date prior to the occurrence of an Event of Default, all amounts deposited into the Buyer Account from and after the immediately preceding Price Differential Payment Date (or the Closing Date in connection with the initial Price Differential Payment Date), or received by Buyer from the Issuer in the Buyer’s capacity as VFN Noteholder, shall be applied as follows:
(i)    first, to the payment of any accrued and unpaid Price Differential owing;
(ii)    second, to the payment of Purchase Price outstanding to satisfy any Margin Deficit owing;
(iii)    third, to the payment of all other costs and fees payable to Buyer pursuant to this Agreement; 
(iv)    fourth, to the payment of Purchase Price outstanding; and 
(v)    fifth, any remainder to Seller.
(b)    Notwithstanding the preceding provisions, if an Event of Default shall have occurred hereunder, all funds related to the Note shall be applied as follows:
(i)    first, to the payment of any accrued and unpaid Price Differential owing;
(ii)    second, to the payment of Purchase Price until reduced to zero; 
(iii)    third, to payment of all other costs and fees payable to Buyer pursuant to this Agreement; 
(iv)    fourth, to the payment of any other Obligations; and
(v)    fifth, any remainder to Seller.
Section 2.08    Use of Purchase Price and Transaction Requests.  The Purchase Price shall be used by Seller to satisfy its obligations under the Indenture and for general limited liability company purposes.
Section 2.09    Recourse.  Notwithstanding anything else to the contrary contained or implied herein or in any other Program Agreement, Buyer shall have full, unlimited recourse against Seller and its assets in order to satisfy the Obligations.
-18-

Section 2.10    Requirements of Law.
(a)    If any Requirement of Law (other than with respect to any amendment made to Buyer’s certificate of trust and trust agreement or other organizational or governing documents) or any change in the interpretation or application thereof or compliance by Buyer with any request or directive (whether or not having the force of law) from any central bank or other Governmental Authority made subsequent to the Closing Date:
(i)    shall subject Buyer to any Taxes (other than (A) Indemnified Taxes and (B) Excluded Taxes) on its loans, loan principal, letters of credit, commitments or other obligations, or its deposits, reserves, other liabilities or capital attributable thereto;
(ii)    shall impose, modify or hold any reserve, special deposit, compulsory loan or similar requirement against assets held by, deposits or other liabilities in or for the account of, advances, or other extensions of credit by, or any other acquisition of funds by, any office of Buyer which is not otherwise included in the determination of the Price Differential hereunder; or
(iii)    shall impose on Buyer any other condition (other than Taxes);
and the result of any of the foregoing is to increase the cost to Buyer, by an amount which Buyer deems to be material, of entering, continuing or maintaining this Agreement or any other Program Agreement, the Transactions or to reduce any amount due or owing hereunder in respect thereof, then, in any such case, Seller shall promptly pay Buyer such additional amount or amounts as calculated by Buyer in good faith as will compensate Buyer for such increased cost or reduced amount receivable.
(b)    If Buyer shall have determined that the adoption of or any change in any Requirement of Law (other than with respect to any amendment made to Buyer’s certificate of incorporation and by-laws or other organizational or governing documents) regarding capital adequacy or in the interpretation or application thereof or compliance by Buyer or any corporation Controlling Buyer with any request or directive regarding capital adequacy (whether or not having the force of law) from any Governmental Authority made subsequent to the Closing Date shall have the effect of reducing the rate of return on Buyer’s or such corporation’s capital as a consequence of its obligations hereunder to a level below that which Buyer or such corporation could have achieved but for such adoption, change or compliance (taking into consideration Buyer’s or such corporation’s policies with respect to capital adequacy) by an amount deemed by Buyer to be material, then from time to time, Seller shall promptly pay to Buyer such additional amount or amounts as will compensate Buyer for such reduction.
(c)    If Buyer becomes entitled to claim any additional amounts pursuant to this Section 2.10, it shall promptly notify Seller of the event by reason of which it has become so entitled.  A certificate as to any additional amounts payable pursuant to this Section 2.10 submitted by Buyer to Seller shall be conclusive in the absence of manifest error.
-19-

Section 2.11    Taxes.
(a)    Any and all payments by or on behalf of Seller under or in respect of this Agreement or any other Program Agreements to which Seller is a party shall be made free and clear of, and without deduction or withholding for or on account of, any Taxes, unless required by law.  If Seller shall be required under any applicable Requirement of Law (as determined in the good faith discretion of the applicable withholding agent) to deduct or withhold any Taxes from or in respect of any sum payable under or in respect of this Agreement or any of the other Program Agreements to Buyer, (i) Seller shall make all such deductions and withholdings in respect of Taxes, (ii) Seller shall pay the full amount deducted or withheld in respect of Taxes to the relevant taxation authority or other Governmental Authority in accordance with any applicable Requirement of Law, and (iii) to the extent the withheld or deducted Tax is an Indemnified Tax or Other Tax, the sum payable by Seller shall be increased as may be necessary so that after Seller has made all required deductions and withholdings (including deductions and withholdings applicable to additional amounts payable under this Section 2.11) such Buyer receives an amount equal to the sum it would have received had no such deductions or withholdings been made.
(b)    In addition, Seller hereby agrees to pay any Other Taxes.
(c)    Seller hereby agrees to indemnify Buyer for any Indemnified Taxes or Other Taxes imposed on Administrative Agent or Buyer (including Indemnified Taxes and Other Taxes imposed or asserted on or attributable to amounts payable under this Section 2.11 and any liability including penalties, additions to tax, interest and expenses arising therefrom or with respect thereto).  The indemnity by Seller provided for in this Section 2.11 shall apply and be made whether or not the Indemnified Taxes or Other Taxes for which indemnification hereunder is sought have been correctly or legally asserted.  Amounts payable by Seller under the indemnity set forth in this Section 2.11(c) shall be paid within ten (10) days from the date on which Buyer makes written demand therefor.
(d)    Without prejudice to the survival of any other agreement of the Seller hereunder, each party’s obligations contained in this Section 2.11 shall survive the termination of this Agreement and the other Program Agreements.  Nothing contained in Section 2.10 or this Section 2.11 shall require any Buyer to make available any of its tax returns or any other information that it deems to be confidential or proprietary.
(e)    Administrative Agent shall and shall cause each Buyer to deliver to the Seller, at the time or times reasonably requested by the Seller, such properly completed and executed documentation reasonably requested by the Seller as will permit payments made hereunder to be made without withholding or at a reduced rate of withholding. In addition, Administrative Agent shall and shall cause each Buyer, if reasonably requested by Seller, to deliver such other documentation prescribed by applicable law or reasonably requested by the Seller as will enable the Seller to determine whether or not Administrative Agent or such Buyer is subject to backup withholding or information reporting requirements. Notwithstanding anything to the contrary in this Section 2.11, the completion, execution and submission of such documentation (other than such documentation in Section 2.11(e)(A), (B) and (C) below) shall not be required if in a Buyer’s judgment such completion, execution or submission would subject 
-20-

such Buyer to any material unreimbursed cost or expense or would materially prejudice the legal or commercial position of such Buyer. Without limiting the generality of the foregoing, Administrative Agent shall and shall cause a Buyer to deliver to the Seller, to the extent legally entitled to do so.
(A)    in the case of a Buyer or Buyer assignee or participant which is a “U.S. Person” as defined in section 7701(a)(30) of the Code, a properly completed and executed Internal Revenue Service (“IRS”) Form W-9 certifying that it is not subject to U.S. federal backup withholding tax;
(B)    in the case of a Buyer or Buyer assignee or participant which is not a “U.S. Person” as defined in Code section 7701(a)(30): (I) a properly completed and executed IRS Form W-8BEN, W-8BEN-E or W-8ECI, as appropriate, evidencing entitlement to a zero percent or reduced rate of U.S. federal income tax withholding on any payments made hereunder, (II) in the case of such non-U.S. Person claiming exemption from the withholding of U.S. federal income tax under Code sections 871(h) or 881(c) with respect to payments of “portfolio interest,” a duly executed certificate (a “U.S. Tax Compliance Certificate”) to the effect that such non-U.S. Person is not (x) a “bank” within the meaning of Code section 881(c)(3)(A), (y) a “10 percent shareholder” of Seller or affiliate thereof, within the meaning of Code section 881(c)(3)(B), or (z) a “controlled foreign corporation” described in Code section 881(c)(3)(C), (III) to the extent such non-U.S. person is not the beneficial owner, executed originals of IRS Form W-8IMY, accompanied by IRS Form W-8ECI, IRS Form W-8BEN, IRS Form W-8BEN-E, a U.S. Tax Compliance Certificate, IRS Form W-9, and/or other certification documents from each beneficial owner, as applicable; provided that if such non-U.S. person is a partnership and one or more direct or indirect partners of such non-U.S. person are claiming the portfolio interest exemption, such non-U.S. person may provide a U.S. Tax Compliance Certificate on behalf of each such direct and indirect partner, and (IV) executed originals of any other form or supplementary documentation prescribed by law as a basis for claiming exemption from or a reduction in United States federal withholding tax together with such supplementary documentation as may be prescribed by law to permit Seller to determine the withholding or deduction required to be made.
(C)    if a payment made to a Buyer or Buyer assignee or participant under this Agreement would be subject to U.S. federal withholding tax imposed by FATCA if such Buyer or assignee or participant were to fail to comply with the applicable reporting requirements of FATCA (including those contained in section 1471(b) or 1472(b) of the Code, as applicable), Administrative Agent on behalf of such Buyer or assignee or participant shall deliver to the Seller at the time or times prescribed by law and at such time or times reasonably requested by the Seller such documentation prescribed by applicable law (including as prescribed by section 1471(b)(3)(C)(i) of the Code) and such additional documentation reasonably requested by the Seller as may be necessary for the Seller to comply with their obligations under FATCA or to determine the amount to deduct and withhold from such payment. Solely for purposes of this Section 11(e), “FATCA” shall include any amendments made to FATCA after the date of this Agreement.
The applicable IRS forms referred to above shall be delivered by Administrative Agent on behalf of each applicable Buyer or Buyer assignee or participant on or prior to the date 
-21-

on which such person becomes a Buyer or Buyer assignee or participant under this Agreement, as the case may be, and upon the obsolescence or invalidity of any IRS form previously delivered by it hereunder.
Section 2.12    Indemnity.  Without limiting, and in addition to, the provisions of Section 10.02, Seller agrees to indemnify the Buyer and to hold Buyer harmless from any loss or expense that Buyer may sustain or incur as a consequence of (i) a default by Seller in payment when due of the Repurchase Price or Price Differential or (ii) a default by Seller in making any prepayment of Repurchase Price after Seller has given a notice thereof in accordance with Section 2.03.
Section 2.13    Changes in VFN Principal Balance.  Seller shall deliver to Buyer a copy of the VFN Note Balance Adjustment Request that is delivered under the Indenture reflecting any increase or decrease in the Collateral Value.  If the Collateral Value has increased, and all the Funding Conditions set forth in the Indenture have been satisfied, then upon approval in writing by Buyer of such increase in the VFN Principal Balance, the VFN Principal Balance set forth in the Asset Schedule hereof shall be automatically updated. Buyer may fund such increases pursuant to Section 2.01. To the extent the Collateral Value has decreased, the VFN Principal Balance set forth in the Asset Schedule hereof shall be automatically updated to reflect any adjustment or pay down of the VFN Principal Balance pursuant to the Indenture. 
Section 2.14    [Reserved].  
Section 2.15    Termination.
(a)    Notwithstanding anything to the contrary set forth herein, if a Seller Termination Option occurs, Seller may, upon five (5) Business Days’ prior written notice of such event, terminate this Agreement and the Termination Date shall be deemed to have occurred (upon the expiration of such five (5) Business Day period).
(b)    In the event that a Seller Termination Option as described in clause (a) of the definition thereof has occurred and Seller has notified Buyer in writing of its option to terminate this Agreement, Buyer shall have the right to withdraw such request for payment within three (3) Business Days of Seller’s notice of its exercise of the Seller Termination Option and Seller shall no longer have the right to terminate this Agreement.
(c)    For the avoidance of doubt, Seller shall remain responsible for all costs actually incurred by Buyer pursuant to Sections 2.10 and 2.11.
ARTICLE III

REPRESENTATIONS AND WARRANTIES
Seller represents and warrants to Buyer as of the Closing Date and as of each Purchase Date for any Transaction that:
Section 3.01    Seller Existence.  Seller has been duly organized and is validly existing as a limited liability company in good standing under the laws of the State of Delaware.
-22-

Section 3.02    Licenses.  Seller is duly licensed or is otherwise qualified in each jurisdiction in which it transacts business for the business which it conducts and is not in default of any applicable federal, state or local laws, rules and regulations unless, in either instance, the failure to take such action is not reasonably likely (either individually or in the aggregate) to cause a Material Adverse Effect and is not in default of such state’s applicable laws, rules and regulations.  Seller has the requisite power and authority and legal right to own, sell and grant a lien on all of its right, title and interest in and to the Note.  Seller has the requisite power and authority and legal right to execute and deliver, engage in the transactions contemplated by, and perform and observe the terms and conditions of, this Agreement, each other Program Agreement and any Transaction Notice.
Section 3.03    Power.  Seller has all requisite corporate or other power, and has all governmental licenses, authorizations, consents and approvals necessary to own its assets and carry on its business as now being or as proposed to be conducted, except where the lack of such licenses, authorizations, consents and approvals would not be reasonably likely to have a Material Adverse Effect.
Section 3.04    Due Authorization.  Seller has all necessary corporate or other power, authority and legal right to execute, deliver and perform its obligations under each of the Program Agreements, as applicable.  This Agreement, any Transaction Notice and the Program Agreements have been (or, in the case of Program Agreements and any Transaction Notice not yet executed, will be) duly authorized, executed and delivered by Seller, all requisite or other corporate action having been taken, and each is valid, binding and enforceable against Seller in accordance with its terms except as such enforcement may be affected by bankruptcy, by other insolvency laws, or by general principles of equity.
Section 3.05    Financial Statements.  Seller has heretofore furnished to Buyer a copy of (a) its balance sheet for the fiscal year of Seller ended December 31, 2020 and the related statements of income for Seller for such fiscal year, with the opinion thereon of Ernst & Young LLP and (b) its balance sheet for the quarterly fiscal period of Seller ended September 30, 2021 and the related statements of income for Seller for such quarterly fiscal period.  All such financial statements are accurate, complete and correct and fairly present, in all material respects, the financial condition of Seller (subject to normal year-end adjustments) and the results of its operations as at such dates and for such fiscal periods, all in accordance with GAAP applied on a consistent basis, and to the best of the Seller’s knowledge, do not omit any material fact as of the date(s) thereof.  Since September 30, 2021, there has been no material adverse change in the consolidated business, operations or financial condition of Seller from that set forth in said financial statements nor is Seller aware of any state of facts which (with notice or the lapse of time) would or could result in any such material adverse change.  Seller has no liabilities, direct or indirect, fixed or contingent, matured or unmatured, known or unknown, or liabilities for taxes, long-term leases or unusual forward or long-term commitments not disclosed by, or reserved against in, said balance sheet and related statements, and at the present time there are no material unrealized or anticipated losses from any loans, advances or other commitments of Seller except as heretofore disclosed to Buyer in writing.
Section 3.06    No Event of Default.  There exists no Event of Default under Section 7.01, which default gives rise to a right to accelerate indebtedness as referenced in 
-23-

Section 7.03, under any mortgage, borrowing agreement or other instrument or agreement pertaining to indebtedness for borrowed money or to the repurchase of mortgage loans or securities.
Section 3.07    Solvency.  Seller is solvent and will not be rendered insolvent by any Transaction and, after giving effect to such Transaction, will not be left with an unreasonably small amount of capital with which to engage in its business.  Seller does not intend to incur, nor believes that it has incurred, debts beyond its ability to pay such debts as they mature and is not contemplating the commencement of insolvency, bankruptcy, liquidation or consolidation proceedings or the appointment of a receiver, liquidator, conservator, trustee or similar official in respect of such entity or any of its assets.  Seller is not selling and/or pledging any Repurchase Assets with any intent to hinder, delay or defraud any of its creditors.
Section 3.08    No Conflicts.  The execution, delivery and performance by of Seller of this Agreement, any Transaction Notice hereunder and the Program Agreements do not conflict with any term or provision of the organizational documents of Seller or any law, rule, regulation, order, judgment, writ, injunction or decree applicable to Seller of any court, regulatory body, administrative agency or governmental body having jurisdiction over Seller, which conflict would have a Material Adverse Effect and will not result in any violation of any such mortgage, instrument, agreement or obligation to which Seller is a party.
Section 3.09    True and Complete Disclosure.  All information, reports, exhibits, schedules, financial statements or certificates of Seller or any Affiliate thereof or any of their officers furnished or to be furnished to Buyer in connection with the initial or any ongoing due diligence of Seller or any Affiliate or officer thereof, negotiation, preparation, or delivery of the Program Agreements, taken as a whole, are true and complete in all material respects and do not omit to disclose any material facts necessary to make the statements herein or therein, in light of the circumstances in which they are made, not misleading.  All financial statements have been prepared in accordance with GAAP.
Section 3.10    Approvals.  No consent, approval, authorization or order of, registration or filing with, or notice to any governmental authority or court is required under applicable law in connection with the execution, delivery and performance by Seller of this Agreement, any Transaction Notice and the Program Agreements.
Section 3.11    Litigation.  There is no action, proceeding or investigation pending with respect to which Seller has received service of process or, to the best of Seller’s knowledge threatened against it before any court, administrative agency or other tribunal (A) asserting the invalidity of this Agreement, any Transaction, Transaction Notice or any Program Agreement, (B) seeking to prevent the consummation of any of the transactions contemplated by this Agreement, any Transaction Notice or any Program Agreement, (C) makes a claim individually or in the aggregate in an amount greater than $[***], (D) which has resulted in the voluntary or involuntary suspension of a license, a cease and desist order, or such other action as could adversely impact Seller’s business, or (E) which might materially and adversely affect the validity of the Purchased Assets or the performance by it of its obligations under, or the validity or enforceability of, this Agreement, any Transaction Notice or any Program Agreement.
-24-

Section 3.12    Material Adverse Change.  There has been no material adverse change in the business, operations, financial condition, properties or prospects of Seller or its Affiliates since the date set forth in the most recent financial statements supplied to Buyer that is reasonably likely to have a Material Adverse Effect on Seller.
Section 3.13    Ownership.
(a)    Seller has good title to all of the Repurchase Assets, free and clear of all mortgages, security interests, restrictions, Liens and encumbrances of any kind other than the Liens created hereby or contemplated herein.
(b)    Each item of the Repurchase Assets was acquired by Seller in the ordinary course of its business, in good faith, for value and without notice of any defense against or claim to it on the part of any Person.
(c)    There are no agreements or understandings between Seller and any other party which would modify, release, terminate or delay the attachment of the security interests granted to Buyer under this Agreement.
(d)    The provisions of this Agreement are effective to create in favor of Buyer a valid security interest in all right, title and interest of Seller in, to and under the Repurchase Assets.
(e)    Upon the filing of financing statements on Form UCC-1 naming Buyer as “Secured Party” and Seller as “Debtor”, and describing the Repurchase Assets, in the recording offices of the Secretary of State of Delaware the security interests granted hereunder in the Repurchase Assets will constitute fully perfected first priority security interests under the Uniform Commercial Code in all right, title and interest of Seller in, to and under such Repurchase Assets to the extent that such security interests can be perfected by filing under the Uniform Commercial Code.
Section 3.14    The Note.  Seller has (i) delivered the Note to Buyer, (ii) duly endorsed the Note to Buyer or Buyer’s designee, (iii) notified the Indenture Trustee of such transfer and (iv) completed all documents required to effect such transfer in the Note Register, including receipt by the Note Registrar of the Rule 144A Note Transfer Certificate and such other information and documents that may be required pursuant to the terms of the Indenture.  In addition, Buyer has received all other Program Agreements (including all exhibits and schedules referred to therein or delivered pursuant thereto), all amendments thereto, waivers relating thereto and other side letters or agreements affecting the terms thereof and all agreements and other material documents relating thereto, and Seller hereby certifies that the copies delivered to Buyer by Seller are true and complete.  None of such documents has been amended, supplemented or otherwise modified (including waivers) since the respective dates thereof, except by amendments, copies of which have been delivered to Buyer.  Each such document to which Seller is a party has been duly executed and delivered by Seller and is in full force and effect, and no default or material breach has occurred and is continuing thereunder.
Section 3.15    Taxes.  Seller and its Subsidiaries have timely filed all income tax returns and other material tax returns that are required to be filed by them and have paid all taxes, 
-25-

except for any such taxes as are being appropriately contested in good faith by appropriate proceedings diligently conducted and with respect to which adequate reserves have been provided.  The charges, accruals and reserves on the books of Seller and its Subsidiaries in respect of taxes and other governmental charges are, in the opinion of Seller, adequate.
Section 3.16    Investment Company.  Neither Seller nor any of its Subsidiaries is an “investment company”, or a company “controlled” by an “investment company,” within the meaning of the Investment Company Act of 1940, as amended.
Section 3.17    Chief Executive Office; Jurisdiction of Organization.  On the Closing Date, Seller’s chief executive office, is, and has been, located at the address specified in Section 10.05 for notices.  On the Closing Date, Seller’s jurisdiction of organization is the State of Delaware.  Seller shall provide Buyer with thirty (30) days advance notice of any change in Seller’s principal office or place of business or jurisdiction.  Seller has no trade name.  During the preceding five (5) years, Seller has not been known by or done business under any other name, corporate or fictitious, and has not filed or had filed against it any bankruptcy receivership or similar petitions nor has it made any assignments for the benefit of creditors.
Section 3.18    Location of Books and Records.  The location where Seller keeps its books and records, including all computer tapes and records relating to the Repurchase Assets is its chief executive office.
Section 3.19    ERISA.  Each Plan to which Seller or its Subsidiaries make direct contributions, and, to the knowledge of Seller, each other Plan and each Multiemployer Plan, is in compliance in all material respects with, and has been administered in all material respects in compliance with, the applicable provisions of ERISA, the Code and any other Federal or State law.
Section 3.20    Financing of Note.  Each Transaction will be used to purchase the Note as provided herein, which Note will be conveyed and/or sold by Seller to Buyer.
Section 3.21    Agreements.  Neither Seller nor any Subsidiary of Seller is a party to any agreement, instrument, or indenture or subject to any restriction materially and adversely affecting its business, operations, assets or financial condition, except as disclosed in the financial statements described in Section 3.05.  Neither Seller nor any Subsidiary of Seller is in default in the performance, observance or fulfillment of any of the obligations, covenants or conditions contained in any agreement, instrument, or indenture which default could have a material adverse effect on the business, operations, properties, or financial condition of Seller as a whole.  No holder of any indebtedness of Seller or of any of its Subsidiaries has given notice of any asserted default thereunder.
Section 3.22    Other Indebtedness.  All material Indebtedness (other than Indebtedness incurred under the Program Agreements) of Seller existing on the Closing Date is listed on Exhibit B hereto (the “Existing Indebtedness”).
Section 3.23    No Reliance.  Seller has made its own independent decisions to enter into the Program Agreements and each Transaction and as to whether such Transaction is appropriate and proper for it based upon its own judgment and upon advice from such advisors 
-26-

(including legal counsel and accountants) as it has deemed necessary.  Seller is not relying upon any advice from Buyer as to any aspect of the Transactions, including the legal, accounting or tax treatment of such Transactions.
Section 3.24    Plan Assets.  Seller is not an employee benefit plan as defined in Section 3 of Title I of ERISA, or a plan described in section 4975(e)(1) of the Code, and the Purchased Assets are not “plan assets” within the meaning of 29 CFR § 2510.3 101 as amended by section 3(42) of ERISA, in Seller’s hands, and transactions by or with Seller are not subject to any state or local statute regulating investments or fiduciary obligations with respect to governmental plans within the meaning of section 3(32) of ERISA.
Section 3.25    No Prohibited Persons.  Neither Seller nor any of its Affiliates, officers, directors, partners or members, is an entity or person (or to the Seller’s knowledge, owned or controlled by an entity or person):  (i) that is listed in the Annex to, or is otherwise subject to the provisions of Executive Order 13224 issued on September 24, 2001 (“EO13224”); (ii) whose name appears on the United States Treasury Department’s Office of Foreign Assets Control (“OFAC”) most current list of “Specifically Designated National and Blocked Persons” (which list may be published from time to time in various mediums including the OFAC website, http:www.treas.gov/ofac/t11sdn.pdf); (iii) who commits, threatens to commit or supports “terrorism”, as that term is defined in EO13224; or (iv) who is otherwise affiliated with any entity or person listed above (any and all parties or persons described in clauses (i) through (iv) above are herein referred to as a “Prohibited Person”).
Section 3.26    Compliance with 1933 Act.  Neither Seller nor anyone acting on its behalf has offered, transferred, pledged, sold or otherwise disposed of the Note, any interest in the Note or any other similar security to, or solicited any offer to buy or accept a transfer, pledge or other disposition of the Note, any interest in the Note or any other similar security from, or otherwise approached or negotiated with respect to the Note, any interest in the Note or any other similar security with, any person in any manner, or made any general solicitation by means of general advertising or in any other manner, or taken any other action which would constitute a distribution of the Note under the 1933 Act or which would render the disposition of the Note a violation of Section 5 of the 1933 Act or require registration pursuant thereto.
ARTICLE IV

CONVEYANCE; REPURCHASE ASSETS; SECURITY INTEREST
Section 4.01    Ownership.  Upon payment of the Purchase Price and delivery of the Note to Buyer and the Buyer’s receipt of the related Request for Certification, Buyer shall become the sole owner of the Purchased Assets, free and clear of all liens and encumbrances.
Section 4.02    Security Interest.
(a)    Although the parties intend (other than for U.S. federal tax purposes) that all Transactions hereunder be sales and purchases and not loans, in the event any such Transactions are deemed to be loans, and in any event, Seller hereby pledges to Buyer as security for the performance by Seller of its Obligations and hereby grants, assigns and pledges to Buyer 
-27-

a fully perfected first priority security interest in all of Seller’s right, title and interest in, to and under each of the following items of property, whether now owned or hereafter acquired, now existing or hereafter created and wherever located, is hereinafter referred to as the “Primary Repurchase Assets”: 
(i)    the Note identified on the Asset Schedule;
(ii)    all rights to reimbursement or payment of the Note and/or amounts due in respect thereof under the Note identified on the Asset Schedule;
(iii)    all records, instruments or other documentation evidencing any of the foregoing;
(iv)    all “general intangibles”, “accounts”, “chattel paper”, “securities accounts”, “investment property”, “deposit accounts” and “money” as defined in the Uniform Commercial Code relating to or constituting any and all of the foregoing (including all of Seller’s rights, title and interest in and under the Base Indenture and the Series 2021-PIAVF1 Indenture Supplement); and
(v)    any and all replacements, substitutions, distributions on or proceeds of any and all of the foregoing.
(b)    [Reserved]
(c)    Subject to the priority interest of the Indenture Trustee, Buyer and Seller hereby agree that in order to further secure Seller’s Obligations hereunder, Seller hereby assigns, pledges, conveys and grants to Buyer a security interest in (i) as of the Closing Date, Seller’s rights (but not its obligations) under the Program Agreements including without limitation any rights to receive payments thereunder or any rights to collateral thereunder whether now owned or hereafter acquired, now existing or hereafter created (collectively, the “Repurchase Rights”) and (ii) all collateral however defined or described under the Program Agreements to the extent not otherwise included under the definitions of Primary Repurchase Assets or Repurchase Rights (such collateral, “Additional Repurchase Assets,” and collectively with the Primary Repurchase Assets and the Repurchase Rights, the “Repurchase Assets”).
(d)    Seller hereby delivers an irrevocable instruction to the buyer under any Repurchase Document that upon receipt of notice of an Event of Default under this Agreement, the buyer thereunder is authorized and instructed to (i) remit to Buyer hereunder directly any amounts otherwise payable to Seller and (ii) deliver to Buyer all collateral otherwise deliverable to Seller, to the extent all obligations then due and owing under such Other Repurchase Agreement have been paid in full.  In furtherance of the foregoing, upon repayment of the outstanding purchase price under any Other Repurchase Agreement and termination of all obligations of the Seller thereunder or other termination of the related Repurchase Documents following repayment of all obligations thereunder, the related buyer under any Repurchase Document is hereby instructed to deliver to Buyer hereunder any collateral (as such term may be defined under the related Repurchase Documents) then in its possession or control.
-28-

(e)    Seller makes a subordinate pledge to the buyers under the Other Repurchase Agreements as security for the performance by Seller of its obligations thereunder and hereby grants, assigns and pledges to the buyers thereunder a subordinate security interest in all of Seller’s right, title and interest in, to and under (i) the Note identified on the Asset Schedule; (ii) all rights to reimbursement or payment of the Note and/or amounts due in respect thereof under the Note identified on the Asset Schedule; (iii) all records, instruments or other documentation evidencing any of the foregoing and (iv) any and all replacements, substitutions, distributions on or proceeds of any and all of the foregoing (collectively, the “Subordinated Pledge Assets”). Seller hereby delivers an irrevocable instruction to Buyer that upon its receipt of notice of an “Event of Default” from the buyer under any Other Repurchase Agreement, Buyer is authorized and instructed to (i) remit to such buyer directly any amounts otherwise payable to Seller under this Agreement and (ii) deliver to such buyer all Subordinated Pledge Assets otherwise deliverable to Seller, to the extent all obligations then due and owing under this Agreement have been paid in full.  In furtherance of the foregoing, upon repayment of the outstanding Purchase Price and termination of all Obligations or other termination of the Program Agreements following repayment of all obligations thereunder, Buyer shall deliver to the buyer under any Other Repurchase Agreement with respect to which the related purchase price remains outstanding any Subordinated Pledge Assets then in Buyer’s possession or under its control. The subordinate pledge set forth in this clause (e) shall automatically terminate with respect to an Other Repurchase Agreement if the Buyer or the other buyer thereunder is no longer CSFB, CSCIB, or any Affiliates thereof.
(f)    The foregoing provisions of this Section 4.02 are intended to constitute a security agreement or other arrangement or other credit enhancement related to this Agreement and the Transactions hereunder as defined under Sections 101(47)(A)(v) and 741(7)(A)(xi) of the Bankruptcy Code.
Section 4.03    Further Documentation.  At any time and from time to time, upon the written request of Buyer, and at the sole expense of Seller, Seller will promptly and duly execute and deliver, or will promptly cause to be executed and delivered, such further instruments and documents and take such further action as Buyer may reasonably request for the purpose of obtaining or preserving the full benefits of this Agreement and of the rights and powers herein granted, including the filing of any financing or continuation statements under the Uniform Commercial Code in effect in any applicable jurisdiction with respect to the Liens created hereby.  Seller also hereby authorizes Buyer to file any such financing or continuation statement to the extent permitted by applicable law.
Section 4.04    Changes in Locations, Name, etc.  Seller shall not (a) change the location of its chief executive office/chief place of business from that specified in Section 3.17 or (b) change its name or identity, unless it shall have given Buyer at least thirty (30) days’ prior written notice thereof and shall have delivered to Buyer all Uniform Commercial Code financing statements and amendments thereto as Buyer shall request and taken all other actions deemed necessary by Buyer to continue its perfected status in the Repurchase Assets with the same or better priority. 
Section 4.05    Performance by Buyer of Seller’s Obligations.  If Seller fails to perform or comply with any of its agreements contained in the Program Agreements and Buyer 
-29-

may itself perform or comply, or otherwise cause performance or compliance, with such agreement, the reasonable (under the circumstances) out-of-pocket expenses of Buyer actually incurred in connection with such performance or compliance, together with interest thereon at a rate per annum equal to the Pricing Rate shall be payable by Seller to Buyer on demand and shall constitute Obligations.  Such interest shall be computed on the basis of the actual number of days in each Price Differential Period and a 360-day year.
Section 4.06    Proceeds.  If an Event of Default shall occur and be continuing, (a) all proceeds of Repurchase Assets received by Seller consisting of cash, checks and other liquid assets readily convertible to cash items shall be held by Seller in trust for Buyer, segregated from other funds of Seller, and shall forthwith upon receipt by Seller be turned over to Buyer in the exact form received by Seller (duly endorsed by Seller to Buyer, if required) and (b) any and all such proceeds received by Buyer (whether from Seller or otherwise) may, in the sole discretion of Buyer, be held by Buyer as collateral security for, and/or then or at any time thereafter may be applied by Buyer against, the Obligations (whether matured or unmatured), such application to be in such order as Buyer shall elect.  Any balance of such proceeds remaining after the Obligations shall have been paid in full and this Agreement shall have been terminated shall be paid over to Seller or to whomsoever may be lawfully entitled to receive the same.
Section 4.07    Remedies.  If an Event of Default shall occur and be continuing, Buyer may exercise, in addition to all other rights and remedies granted to it in this Agreement and in any other instrument or agreement securing, evidencing or relating to the Obligations, all rights and remedies of a secured party under the Uniform Commercial Code (including Buyer’s rights to a strict foreclosure under Section 9-620 of the Uniform Commercial Code).  Without limiting the generality of the foregoing, Buyer may seek the appointment of a receiver, liquidator, conservator, trustee, or similar official in respect of Seller or any of Seller’s property.  Buyer without demand of performance or other demand, presentment, protest, advertisement or notice of any kind (except any notice required under this Agreement or by law referred to below) to or upon Seller or any other Person (each and all of which demands, presentments, protests, advertisements and notices are hereby waived), may in such circumstances forthwith collect, receive, appropriate and realize upon the Repurchase Assets, or any part thereof, and/or may forthwith sell, lease, assign, give option or options to purchase, or otherwise dispose of and deliver the Repurchase Assets or any part thereof (or contract to do any of the foregoing), in one or more parcels or as an entirety at public or private sale or sales, at any exchange, broker’s board or office of Buyer or elsewhere upon such terms and conditions as it may deem advisable and at such prices as it may deem best, for cash or on credit or for future delivery without assumption of any credit risk.  Buyer shall have the right upon any such public sale or sales, and, to the extent permitted by law, upon any such private sale or sales, to purchase the whole or any part of the Repurchase Assets so sold, free of any right or equity of redemption in Seller, which right or equity is hereby waived or released.  Seller further agrees, at Buyer’s request, to assemble the Repurchase Assets and make them available to Buyer at places which Buyer shall reasonably select, whether at Seller’s premises or elsewhere. Buyer shall apply the net proceeds of any such collection, recovery, receipt, appropriation, realization or sale, after deducting all reasonable (under the circumstances) out-of-pocket costs and expenses of every kind actually incurred therein or incidental to the care or safekeeping of any of the Repurchase Assets or in any way relating to the Repurchase Assets or the rights of Buyer hereunder, including reasonable 
-30-

attorneys’ fees and disbursements, to the payment in whole or in part of the Obligations, in such order as Buyer may elect, and only after such application and after the payment by Buyer of any other amount required or permitted by any provision of law, including Section 9-615 of the Uniform Commercial Code, need Buyer account for the surplus, if any, to Seller.  To the extent permitted by applicable law, Seller waives all claims, damages and demands it may acquire against Buyer arising out of the exercise by Buyer of any of its rights hereunder, other than those claims, damages and demands arising from the gross negligence or willful misconduct of Buyer.  If any notice of a proposed sale or other disposition of Repurchase Assets shall be required by law, such notice shall be deemed reasonable and proper if given at least ten (10) days before such sale or other disposition.  Seller shall remain liable for any deficiency (plus accrued interest thereon as contemplated herein) if the proceeds of any sale or other disposition of the Repurchase Assets are insufficient to pay the Obligations and the fees and disbursements in amounts reasonable under the circumstances, of any attorneys employed by Buyer to collect such deficiency.   Notwithstanding anything to the contrary herein or in any of the other Program Agreements, the remedies set forth in this Section 4.07 concerning any actions with respect to the MSRs arising under or related to any Servicing Contract shall be subject to the Acknowledgment Agreement entered into with Ginnie Mae. 
Section 4.08    Limitation on Duties Regarding Preservation of Repurchase Assets.  Buyer’s duty with respect to the custody, safekeeping and physical preservation of the Repurchase Assets in its possession, under Section 9-207 of the Uniform Commercial Code or otherwise, shall be to deal with it in the same manner as Buyer deals with similar property for its own account.  Neither Buyer nor any of its directors, officers or employees shall be liable for failure to demand, collect or realize upon all or any part of the Repurchase Assets or for any delay in doing so or shall be under any obligation to sell or otherwise dispose of any Repurchase Assets upon the request of Seller or otherwise.
Section 4.09    Powers Coupled with an Interest.  All authorizations and agencies herein contained with respect to the Repurchase Assets are irrevocable and powers coupled with an interest.
Section 4.10    Release of Security Interest.  Upon the latest to occur of (a) the repayment to Buyer of all Obligations hereunder, and (b) the occurrence of the Termination Date, Buyer shall release its security interest in any remaining Repurchase Assets hereunder and shall promptly execute and deliver to Seller such documents or instruments as Seller shall reasonably request to evidence such release.
Section 4.11    Reinstatement.  All security interests created by this Article IV shall continue to be effective, or be reinstated, as the case may be, if at any time any payment, or any part thereof, of any Obligation of Seller is rescinded or must otherwise be restored or returned by the Buyer upon the insolvency, bankruptcy, dissolution, liquidation or reorganization of Seller or upon or as a result of the appointment of a receiver, intervenor or conservator of, or trustee or similar officer for, Seller or any substantial part of its property, or otherwise, all as if such release had not been made.
Section 4.12    Subordination
-31-

.  Seller shall not seek in any Insolvency Event of the Issuer to be treated as part of the same class of creditors as Buyer and shall not oppose any pleading or motion by Buyer advocating that Buyer and Seller should be treated as separate classes of creditors.  Seller acknowledges and agrees that its rights with respect to the Repurchase Assets are and shall continue to be at all times junior and subordinate to the rights of Buyer under this Agreement.
ARTICLE V

CONDITIONS PRECEDENT
Section 5.01    Initial Transaction.  The obligation of Buyer to enter into Transactions with the Seller hereunder is subject to the satisfaction, immediately prior to or concurrently with the entering into such Transaction, of the condition precedent that Buyer shall have received all of the following items, each of which shall be satisfactory to Buyer and its counsel in form and substance:
(a)    Program Agreements and Note.  The Program Agreements and Note, in all instances duly executed and delivered by the parties thereto and being in full force and effect, free of any modification, breach or waiver.
(b)    Security Interest.  Evidence that all other actions necessary or, in the opinion of Buyer, desirable to perfect and protect Buyer’s interest in the Repurchase Assets have been taken, including duly authorized and filed Uniform Commercial Code financing statements on Form UCC-1.
(c)    Fees.  Buyer shall have received payment in full of all fees and Expenses which are payable hereunder to Buyer on or before such date.
(d)    Advance Verification Agent Report.  The preliminary Advance Verification Agent Report shall have delivered to the Administrative Agent.
(e)    Determination Date Report.  The Administrative Agent has consented to the information set forth in the immediately preceding Determination Date Report.
(f)    Issuer Tax Opinion.  The Seller shall cause the Issuer to deliver an Issuer Tax Opinion to the Administrative Agent and the Buyer.
Section 5.02    All Transactions.  The obligation of Buyer to enter into each Transaction pursuant to this Agreement is subject to the following conditions precedent:
(a)    Transaction Notice and Asset Schedule.  In accordance with Section 2.02, Buyer shall have received from Seller a Transaction Notice with an Asset Schedule that has been updated to include the Note related to a proposed Transaction hereunder on such Business Day.
(b)    No Margin Deficit.  After giving effect to each new Transaction, the aggregate outstanding amount of the Purchase Price shall not exceed the Asset Value of the Note then in effect.
-32-

(c)    No Default.  No Default or Event of Default shall have occurred and be continuing.
(d)    Requirements of Law.  Buyer shall not have determined that the introduction of or a change in any Requirement of Law or in the interpretation or administration of any Requirement of Law applicable to Buyer has made it unlawful, and no Governmental Authority shall have asserted that it is unlawful, for Buyer to enter into Transactions with a Pricing Rate based on Base Rate.
(e)    Representations and Warranties.  Both immediately prior to the related Transaction and also after giving effect thereto and to the intended use thereof, the representations and warranties made by Seller in each Program Agreement shall be true, correct and complete on and as of such Purchase Date in all material respects with the same force and effect as if made on and as of such date (or, if any such representation or warranty is expressly stated to have been made as of a specific date, as of such specific date).
(f)    Note.  Buyer shall have received the Note relating to any Purchased Assets, which is in form and substance satisfactory to Buyer in its sole discretion.
(g)    Material Adverse Change.  None of the following shall have occurred and/or be continuing:
(A)    Buyer’s corporate bond rating as calculated by S&P or Moody’s has been lowered or downgraded to a rating below investment grade by S&P or Moody’s;
(B)    an event or events shall have occurred in the good faith determination of Buyer resulting in the effective absence of a “lending market” for financing debt obligations secured by mortgage loans or servicing receivables or securities backed by mortgage loans or servicing receivables or an event or events shall have occurred resulting in Buyer not being able to finance the Note through the “lending market” with traditional counterparties at rates which would have been reasonable prior to the occurrence of such event or events; or
(C)    there shall have occurred a material adverse change in the financial condition of Buyer which affects (or can reasonably be expected to affect) materially and adversely the ability of Buyer to fund its obligations under this Agreement.
(h)    Fees.  Buyer shall have received payment in full of all fees and Expenses which are payable hereunder to Buyer on or before such date.
Section 5.03    Closing Subject to Conditions Precedent.  The obligation of Buyer to purchase the Note is subject to the satisfaction on or prior to the Closing Date of the following conditions (any or all of which may be waived by Buyer):
(a)    Performance by the Issuer and loanDepot.  All the terms, covenants, agreements and conditions of the Transaction Documents to be complied with, satisfied, 
-33-

observed and performed by the Issuer, and loanDepot on or before the Closing Date shall have been complied with, satisfied, observed and performed in all material respects.
(b)    Representations and Warranties.  Each of the representations and warranties of the Issuer and loanDepot made in the Transaction Documents shall be true and correct in all material respects as of the Closing Date (except that such materiality qualifier shall not be applicable to any representations and warranties that already are qualified or modified by materiality in the text thereof and except to the extent they expressly relate to an earlier or later time).
(c)    Officer’s Certificate.  The Administrative Agent, Buyer and the Indenture Trustee shall have received in form and substance reasonably satisfactory to the Administrative Agent an officer’s certificate from loanDepot and a certificate of an Authorized Officer of the Issuer, dated the Closing Date, each certifying to the satisfaction of the conditions set forth in the preceding paragraphs (a) and (b), in each case together with incumbency, by-laws, resolutions and good standing.
(d)    Opinions of Counsel to the Issuer and loanDepot.  Counsel to the Issuer and Seller shall have delivered to the Administrative Agent, Buyer and the Indenture Trustee favorable opinions, dated the Closing Date and satisfactory in form and substance to the Administrative Agent and its counsel, relating to corporate matters, enforceability, securities contract, non-consolidation and perfection and an opinion as to which state’s law applies to security interest and perfection matters.  In addition to the foregoing, loanDepot, as servicer, shall have caused its counsel to deliver to the Issuer, Buyer, as purchaser of the Note hereunder, the Administrative Agent and the Indenture Trustee an opinion as to certain tax matters dated as of the Closing Date, satisfactory in form and substance to the Administrative Agent, Buyer and their respective counsel.
(e)    Officer’s Certificate of Indenture Trustee.  The Administrative Agent and Buyer shall have received in form and substance reasonably satisfactory to the Administrative Agent an Officer’s Certificate from the Indenture Trustee, dated the Closing Date, with respect to the Base Indenture, together with incumbency and good standing.
(f)    Opinions of Counsel to the Indenture Trustee.  Counsel to the Indenture Trustee shall have delivered to the Administrative Agent and Buyer a favorable opinion dated the Closing Date and reasonably satisfactory in form and substance to the Administrative Agent and its counsel related to the enforceability of the Base Indenture.
(g)    Opinions of Counsel to the Owner Trustee.  Delaware counsel to the Owner Trustee of the Issuer shall have delivered to the Administrative Agent and Buyer favorable opinions regarding the formation, existence and standing of the Issuer and of the Issuer’s execution, authorization and delivery of each of the Transaction Documents to which it is a party and such other matters as the Administrative Agent and Buyer may reasonably request, dated the Closing Date and reasonably satisfactory in form and substance to the Administrative Agent and Buyer and their respective counsel.
-34-

(h)    Filings and Recordations.  The Administrative Agent, Buyer and the Indenture Trustee shall have received evidence reasonably satisfactory to the Administrative Agent of (i) the completion of all recordings, registrations and filings as may be necessary or, in the reasonable opinion of the Administrative Agent, desirable to perfect or evidence: (A) the assignment by loanDepot, as Seller, to the Issuer of the ownership interest in the Collateral conveyed pursuant to the PC Repurchase Agreement and the proceeds thereof and (ii) the completion of all recordings, registrations, and filings as may be necessary or, in the reasonable opinion of the Administrative Agent, desirable to perfect or evidence the grant of a first priority perfected security interest in the Issuer’s ownership interest in the Collateral in favor of the Indenture Trustee, subject to no Liens prior to the Lien created by the Base Indenture.
(i)    Documents.  The Administrative Agent, Buyer and the Indenture Trustee shall have received a duly executed counterpart of each of the Transaction Documents, in form acceptable to Buyer, the Note and each and every document or certification delivered by any party in connection with any such Transaction Documents or the Note, and each such document shall be in full force and effect.
(j)    Actions or Proceedings.  No action, suit, proceeding or investigation by or before any Governmental Authority shall have been instituted to restrain or prohibit the consummation of, or to invalidate, any of the transactions contemplated by the Transaction Documents, the Note and the documents related thereto in any material respect.
(k)    Approvals and Consents.  All Governmental Actions of all Governmental Authorities required with respect to the transactions contemplated by the Transaction Documents, the Note and the documents related thereto shall have been obtained or made.
(l)    Fees, Costs and Expenses.  Buyer shall have received payment in full of all fees and Expenses which are payable hereunder to Buyer on or before the Closing Date, and the fees, costs and expenses payable by the Issuer and loanDepot on or prior to the Closing Date pursuant to this Agreement or any other Transaction Document shall have been paid in full.
(m)    Other Documents.  loanDepot shall have furnished to the Administrative Agent, Buyer and the Indenture Trustee such other opinions, information, certificates and documents as the Administrative Agent may reasonably request.
(n)    Advance Verification Agent.  loanDepot shall have engaged the Advance Verification Agent pursuant to an agreement reasonably satisfactory to the Administrative Agent.
(o)    Proceedings in Contemplation of Sale of the Note.  All actions and proceedings undertaken by the Issuer and loanDepot in connection with the issuance and sale of the Note as herein contemplated shall be satisfactory in all respects to the Administrative Agent, Buyer and their respective counsel.
(p)    Advance Rate Reduction Event, Servicer Termination Events, Events of Default and Funding Interruption Events.  No Advance Rate Reduction Event, Servicer Termination Event, Event of Default or Funding Interruption Event shall then be occurring.
-35-

(q)    Satisfaction of Conditions.  Each of the Funding Conditions and the PIAVF1 Funding Conditions shall have been satisfied. The Administrator shall include the PIAVF1 Funding Conditions in each Funding Certification in addition to the Funding Conditions and present a “yes” or “no” answer beside such PIAVF1 Funding Conditions indicating whether such PIAVF1 Funding Conditions have been satisfied, as set forth in Section 4.3 of the Base Indenture.
(r)    Organizational Documents.  A certificate of the corporate secretary of Seller in form and substance acceptable to Buyer, attaching certified copies of Seller’s certificate of formation, operating agreement and corporate resolutions approving the Program Agreements and transactions thereunder (either specifically or by general resolution) and all documents evidencing other necessary corporate action or governmental approvals as may be required in connection with the Program Agreements.
(s)    Good Standing Certificate.  A certified copy of a good standing certificate from the jurisdiction of organization of Seller, dated as of no earlier than the date ten (10) Business Days prior to the Closing Date.
(t)    Incumbency Certificate.  An incumbency certificate of the corporate secretary of each of Seller, certifying the names, true signatures and titles of the representatives duly authorized to request transactions hereunder and to execute the Program Agreements.
(u)    Acknowledgment Agreement. The Acknowledgment Agreement shall have been duly authorized, executed and delivered by each party thereto and shall be in form and substance reasonably satisfactory to the Administrative Agent and its legal counsel, and all conditions precedent to the effectiveness of the Acknowledgment Agreement shall have been satisfied or waived.
(v)    Subservicer Side Letter Agreement.  The Administrative Agent shall have consented to an amendment to the Subservicer Side Letter Agreement.
If any condition specified in this Section 5.03 shall not have been fulfilled when and as required to be fulfilled, this Agreement may be terminated by Buyer by notice to loanDepot at any time at or prior to the Closing Date and Buyer shall incur no liability as a result of such termination.
ARTICLE VI

COVENANTS
Seller covenants and agrees that until the payment and satisfaction in full of all Obligations, whether now existing or arising hereafter, shall have occurred:
Section 6.01    Litigation.  Seller will promptly, and in any event within ten (10) days after service of process on any of the following, give to Buyer notice of all litigation, actions, suits, arbitrations, investigations (including any of the foregoing which are threatened or pending) or other legal or arbitrable proceedings affecting Seller or any of its Subsidiaries or affecting any of the Property of any of them before any Governmental Authority that (i) 
-36-

questions or challenges the validity or enforceability of any of the Program Agreements or any action to be taken in connection with the transactions contemplated hereby, (ii) makes a claim individually or in the aggregate in an amount greater than $[***], or (iii) which, individually or in the aggregate, if adversely determined, could be reasonably likely to have a Material Adverse Effect.  Seller will promptly provide notice of any judgment, which with the passage of time, could cause an Event of Default hereunder.
Section 6.02    Prohibition of Fundamental Changes.  Seller shall not enter into any transaction of merger or consolidation or amalgamation, or liquidate, wind up or dissolve itself (or suffer any liquidation, winding up or dissolution) or sell all or substantially all of its assets.
Section 6.03    Sale of Assets.  Seller shall not sell, lease (as lessor) or transfer (as transferor) or otherwise dispose of any property or assets, whether now owned or hereafter acquired, if such sale, lease or transfer would reasonably be expected to have a Material Adverse Effect.
Section 6.04    Asset Schedule.  Seller shall at all times maintain a current list (which may be stored in electronic form) of the Note and increases and decreases in the outstanding VFN Principal Balance thereof.  
Section 6.05    No Adverse Claims.  Seller warrants and will defend the right, title and interest of Buyer in and to all Purchased Assets against all adverse claims and demands.
Section 6.06    Assignment.  Except as permitted herein, Seller shall not sell, assign, transfer or otherwise dispose of, or grant any option with respect to, or pledge, hypothecate or grant a security interest in or lien on or otherwise encumber (except pursuant to the Program Agreements), any of the Purchased Assets or any interest therein, provided that this Section 6.06 shall not prevent any transfer of Purchased Assets in accordance with the Program Agreements.
Section 6.07    Security Interest.  Seller shall do all things necessary to preserve the Purchased Assets so that they remain subject to a first priority perfected security interest hereunder.  Without limiting the foregoing, Seller will comply with all rules, regulations and other laws of any Governmental Authority and cause the Purchased Assets to comply with all applicable rules, regulations and other laws.  Seller will not allow any default for which Seller is responsible to occur under any Purchased Assets or any Program Agreement and Seller shall fully perform or cause to be performed when due all of its obligations under any Purchased Assets and any Program Agreement.
Section 6.08    Records.
(a)    Seller shall collect and maintain or cause to be collected and maintained all Records relating to the Purchased Assets in accordance with industry custom and practice for assets similar to the Purchased Assets, including those maintained pursuant to Section 6.09, and all such Records shall be in Seller’s or Buyer’s possession unless Buyer otherwise approves.  Seller will maintain all such Records in good and complete condition in accordance with industry practices for assets similar to the Purchased Assets and preserve them against loss.
-37-

(b)    For so long as Buyer has an interest in or lien on any Purchased Assets, Seller will hold or cause to be held all related Records in trust for Buyer.  Seller shall notify, or cause to be notified, every other party holding any such Records of the interests and liens in favor of Buyer granted hereby.
(c)    Upon reasonable advance notice from Buyer, Seller shall (x) make any and all such Records available to Buyer to examine any such Records, either by its own officers or employees, or by agents or contractors, or both, and make copies of all or any portion thereof, and (y) permit Buyer or its authorized agents to discuss the affairs, finances and accounts of Seller with its chief operating officer and chief financial officer and to discuss the affairs, finances and accounts of Seller with its independent certified public accountants.
Section 6.09    Books.  Seller shall keep or cause to be kept in reasonable detail books and records of account of its assets and business and shall clearly reflect therein the transfer of Purchased Assets to Buyer.
Section 6.10    Approvals.  Seller shall maintain all licenses, permits or other approvals necessary for Seller to conduct its business and to perform its obligations under the Program Agreements, and Seller shall conduct its business strictly in accordance with applicable law.
Section 6.11    Material Change in Business.  Seller shall not make any material change in the nature of its business as carried on at the Closing Date.
Section 6.12    Distributions.  If an Event of Default has occurred and is continuing, Seller shall not pay any dividends with respect to any capital stock or other equity interests in such entity, whether now or hereafter outstanding, or make any other distribution in respect thereof, either directly or indirectly, whether in cash or property or in obligations of Seller.
Section 6.13    Applicable Law.  Seller shall comply with the requirements of all applicable laws, rules, regulations and orders of any Governmental Authority.
Section 6.14    Existence.  Seller shall preserve and maintain its legal existence and all of its material rights, privileges, licenses and franchises.
Section 6.15    Chief Executive Office; Jurisdiction of Organization.  Seller shall not move its chief executive office from the address referred to in Section 3.17 or change its jurisdiction of organization from the jurisdiction referred to in Section 3.17 unless it shall have provided Buyer at least thirty (30) days’ prior written notice of such change.
Section 6.16    Taxes.  Seller shall timely file all tax returns that are required to be filed by them and shall timely pay and discharge all taxes, assessments and governmental charges or levies imposed on it or on its income or profits or on any of its property prior to the date on which penalties attach thereto, except for any such tax, assessment, charge or levy the payment of which is being contested in good faith and by proper proceedings and against which adequate reserves are being maintained.
-38-

Section 6.17    Transactions with Affiliates.  Other than the purchase of the Note, Seller will not enter into any transaction, including any purchase, sale, lease or exchange of property or the rendering of any service, with any Affiliate unless such transaction (a) does not result in a Default hereunder, (b) is in the ordinary course of Seller’s business and (c) is upon fair and reasonable terms no less favorable to Seller than it would obtain in a comparable arm’s length transaction with a Person which is not an Affiliate, or make a payment that is not otherwise permitted by this Section 6.17 to any Affiliate.
Section 6.18    Guarantees.  Seller shall not create, incur, assume or suffer to exist any Guarantees, except (i) to the extent reflected in Seller’s financial statements or notes thereto and (ii) to the extent the aggregate Guarantees of Seller do not exceed $[***].
Section 6.19    Indebtedness.  Seller shall not incur any additional material Indebtedness other than (i) the Existing Indebtedness specified on Exhibit B hereto; (ii) Indebtedness incurred with Buyer or its Affiliates; (iii) Indebtedness incurred in connection with new or existing secured lending facilities and (iv) usual and customary accounts payable for a mortgage company), without the prior written consent of Buyer.
Section 6.20    True and Correct Information.  All information, reports, exhibits, schedules, financial statements or certificates of Seller, any Affiliate thereof or any of their officers furnished to Buyer hereunder and during Buyer’s diligence of Seller are and will be true and complete in all material respects and do not omit to disclose any material facts necessary to make the statements herein or therein, in light of the circumstances in which they are made, not misleading.  All required financial statements, information and reports delivered by Seller to Buyer pursuant to this Agreement shall be prepared in accordance with U.S. GAAP, or, if applicable, to SEC filings, the appropriate SEC accounting regulations.
Section 6.21    No Pledge.  Except as contemplated herein, Seller shall not pledge, grant a security interest or assign any existing or future rights to service any of the Repurchase Assets or pledge or grant to any other Person any security interest in the Note.
Section 6.22    Plan Assets.  Seller shall not be an employee benefit plan as defined in Section 3 of Title I of ERISA, or a plan described in section 4975(e)(1) of the Code and Seller shall not use “plan assets” within the meaning of 29 CFR § 2510.3 101, as amended by section 3(42) of ERISA to engage in this Agreement or any Transaction hereunder.  Transactions to or with Seller shall not be subject to any state or local statute regulating investments of or fiduciary obligations with respect to governmental plans within the meaning of section 3(32) of ERISA.
Section 6.23    Sharing of Information.  Seller shall allow Buyer to exchange information related to Seller and the Transactions hereunder with third party lenders and Seller shall permit each third party lender to share such information with Buyer.
Section 6.24    Modification of the Base Indenture and Series 2021-PIAVF1 Indenture Supplement.  Seller shall not consent with respect to any of the Base Indenture and the Series 2021-PIAVF1 Indenture Supplement related to the Purchased Assets, to (i) the modification, amendment or termination of such the Base Indenture and the Series 2021-PIAVF1 
-39-

Indenture Supplement, (ii) the waiver of any provision of the Base Indenture and the Series 2021-PIAVF1 Indenture Supplement, or (iii) the resignation of loanDepot as servicer under the Base Indenture and the Series 2021-PIAVF1 Indenture Supplement, or the assignment, transfer, or material delegation of any of its rights or obligations, under such the Base Indenture and the Series 2021-PIAVF1 Indenture Supplement, without the prior written consent of Buyer exercised in Buyer’s sole discretion.
Section 6.25    Reporting Requirements.
(a)    Seller shall furnish to Buyer (i) promptly, copies of any material and adverse notices (including notices of defaults, breaches, potential defaults or potential breaches) and any material financial information that is not otherwise required to be provided by Seller hereunder which is given to Seller’s lenders, (ii) promptly, notice of the occurrence of (1) any Event of Default hereunder; (2) any default or material breach by Seller of any obligation under any Program Agreement or any material contract or agreement of Seller or (3) the occurrence of any event or circumstance that such party reasonably expects has resulted in, or will, with the passage of time, result in, a Material Adverse Effect or an Event of Default and (iii) the following:
(1)    as soon as available and in any event within forty (40) calendar days after the end of each calendar month, the unaudited balance sheet of Seller, as at the end of such period and the related unaudited consolidated statements of income for Seller for such period and the portion of the fiscal year through the end of such period, accompanied by a certificate of a Responsible Officer of Seller, which certificate shall state that said consolidated financial statements or financial statements, as applicable, fairly present in all material respects the consolidated financial condition or financial condition, as applicable, and results of operations of Seller in accordance with GAAP, consistently applied, as at the end of, and for, such period (subject to normal year-end adjustments);
(2)    as soon as available and in any event within forty (40) calendar days after the end of each calendar quarter, the unaudited cash flow statements of Seller, as at the end of such period and the portion of the fiscal year through the end of such period, accompanied by a certificate of a Responsible Officer of Seller, which certificate shall state that said consolidated financial statements or financial statements, as applicable, fairly present in all material respects the consolidated financial condition or financial condition, as applicable, and results of operations of Seller in accordance with GAAP, consistently applied, as at the end of, and for, such period (subject to normal year-end adjustments);
(3)    as soon as available and in any event within ninety (90) days after the end of each fiscal year of Seller, the balance sheet of Seller, as at the end of such fiscal year and the related consolidated statements of income and retained earnings and of cash flows for Seller for such year, setting forth in comparative form the figures for the previous year, accompanied by an opinion thereon of independent certified public accountants of recognized national standing, which opinion and the scope of audit shall be acceptable to Buyer in its sole discretion, 
-40-

shall have no “going concern” qualification and shall state that said consolidated financial statements or financial statements, as applicable, fairly present the consolidated financial condition or financial condition, as applicable, and results of operations of Seller as at the end of, and for, such fiscal year in accordance with GAAP;
(4)    such other prepared statements that Buyer may reasonably request;
(5)    from time to time such other information regarding the financial condition, operations, or business of Seller as Buyer may reasonably request;
(6)    as soon as reasonably possible, and in any event within thirty (30) days after a Responsible Officer of Seller has knowledge of the occurrence of any ERISA Event of Termination, stating the particulars of such ERISA Event of Termination in reasonable detail;
(7)    as soon as reasonably possible, notice of any of the following events:
a.    any material dispute, litigation, investigation, proceeding or suspension between Seller on the one hand, and any Governmental Authority or any Person;
b.    any material change in accounting policies or financial reporting practices of Seller;
c.    any material issues raised upon examination of Seller or Seller’s facilities by any Governmental Authority;
d.    any material change in the Indebtedness of Seller, including any default, renewal, non-renewal, termination, increase in available amount or decrease in available amount related thereto;
e.    promptly upon receipt of notice or knowledge of any lien or security interest (other than security interests created hereby or by the other Program Agreements) on, or claim asserted against, any of the Purchased Assets; and
f.    any other event, circumstance or condition that has resulted, or has a reasonable possibility of resulting, in a Material Adverse Effect with respect to Seller.
(b)    Officer’s Certificates.  Seller will furnish to Buyer, at the time Seller furnishes each set of financial statements pursuant to Section 6.25(a)(iii)(1), (2) or (3) above, an Officer’s Compliance Certificate of Seller in the form of Exhibit A to the MLRA Pricing Side Letter.  
-41-

(c)    Other.  Seller shall deliver to Buyer any other reports or information reasonably requested by Buyer or as otherwise required pursuant to this Agreement and the Indenture (including all reports and information delivered by the Issuer, the Administrator or the Indenture Trustee relating to the Note).
(d)    Regulatory Reporting Compliance.  Seller shall, on or before the last Business Day of the fifth (5th) month following the end of each of Seller’s (or, if the Mortgage Loans are subserviced by an Eligible Subservicer, the Subservicer’s) fiscal years (December 31), beginning with the fiscal year ending in 2021, deliver to Buyer a copy of the results of any Uniform Single Attestation Program for Mortgage Bankers or an Officer’s Certificate that satisfies the requirements of Item 1122(a) of Regulation AB, an independent public accountant’s report that satisfies the requirements of Item 1123 of Regulation AB, or similar review conducted on Seller (or if the Mortgage Loans are subserviced by an Eligible Subservicer, the Eligible Subservicer) by its accountants, and such other reports as Seller may prepare relating to its servicing functions as Seller.
Section 6.26    Servicer Administration.  If at any time loanDepot intends to service the Mortgage Loans directly without a subservicer, loanDepot shall not less than 120 days prior to the anticipated servicing transfer date, provide notice to the Administrative Agent of such intention and solicit Administrative Agent’s prior written consent, which the Administrative Agent shall have 60 days from the receipt of the notice to provide and which consent may not be unreasonably withheld.  If the Administrative Agent does not respond to the request for consent within the 60-day period, such consent shall be deemed to have been provided.  If the Administrative Agent denies the request for consent in writing, then loanDepot shall repurchase the Note not later than the later of (x) the sixtieth (60th) day following receipt of the Administrative Agent’s denial letter or (y) such anticipated servicing transfer date.
Section 6.27    Litigation Summary.  On each date on which the Officer’s Compliance Certificate is delivered, Seller shall provide to Buyer a true and correct summary of all material actions, notices, proceedings and investigations pending with respect to which Seller has received service of process or other form of notice or, to the best of Seller’s knowledge, threatened against it, before any court, administrative or governmental agency or other regulatory body or tribunal.
Section 6.28    Hedging.  On each date on which the Officer’s Compliance Certificate is delivered, Seller shall provide a true and correct summary of all interest rate protection agreements entered into or maintained by Seller and a summary of the realized gains or losses of such interest rate protection agreements compared against any change in value of the MSRs. 
-42-

ARTICLE VII

DEFAULTS/RIGHTS AND REMEDIES OF BUYER UPON DEFAULT
Section 7.01    Events of Default.  Each of the following events or circumstances shall constitute an “Event of Default”:
(a)    Payment Failure.  Failure of Seller to (i) make any payment (which failure continues for a period of two (2) Business Days following written notice (which may be in electronic form) from Buyer) of Price Differential or Repurchase Price or any other sum which has become due, on a Price Differential Payment Date or a Repurchase Date or otherwise, whether by acceleration or otherwise, under the terms of this Agreement, or (ii) cure any Margin Deficit when due pursuant to Section 2.05.
(b)    Cross Default.  (i) An Event of Default (as defined in the Indenture) has occurred and is continuing under the Indenture or an Event of Default (as defined in the  Mortgage Loan Repurchase Agreement) has occurred and is continuing under any Repurchase Document or (ii) Seller or Affiliates thereof shall be in default under (A) any Indebtedness, in the aggregate, in excess of $[***] of Seller or any Affiliate thereof which default (1) involves the failure to pay a matured obligation, or (2) permits the acceleration of the maturity of obligations by any other party to or beneficiary with respect to such Indebtedness, or (B) any other contract or contracts, in the aggregate in excess of $[***] to which Seller or any Affiliate thereof is a party which default (1) involves the failure to pay a matured obligation, or (2) permits the acceleration of the maturity of obligations  by any other party to or beneficiary of such contract, in each case, to the extent not waived and subject to applicable cure periods.
(c)    Assignment.  Assignment or attempted assignment by Seller of this Agreement or any rights hereunder without first obtaining the specific written consent of Buyer, or the granting by Seller of any security interest, lien or other encumbrances on any Purchased Assets to any person other than Buyer.
(d)    Insolvency.  An Act of Insolvency shall have occurred with respect to Seller.
(e)    Material Adverse Change.  Any material adverse change in the Property, business, financial condition or operations of Seller or any of its Affiliates shall occur, in each case as determined by Buyer in its sole good faith discretion, or any other condition shall exist which, in Buyer’s sole good faith discretion, constitutes a material impairment of Seller’s ability to perform its obligations under this Agreement or any other Program Agreement.
(f)    Immediate Breach of Representation or Covenant or Obligation.  A breach by Seller of any of the representations, warranties or covenants or obligations set forth in Section 2 of the Pricing Side Letter (Financial Covenants), or in Sections 3.01 (Seller Existence), 3.07 (Solvency), 3.12 (Material Adverse Change), Section 3.22 (Other Indebtedness), Section 6.02 (Prohibition of Fundamental Changes), Section 6.14 (Existence), Section 6.18 (Guarantees), Section 6.19 (Indebtedness), Section 6.21 (No Pledge) or Section 6.22 (Plan Assets) of this Agreement.
-43-

(g)    Additional Breach of Representation or Covenant.  A material breach by Seller of any other material representation, warranty or covenant set forth in this Agreement (and not otherwise specified in Section 7.01(f) above), if such breach is not cured within five (5) Business Days.
(h)    Change in Control.  The occurrence of a Change in Control.
(i)    Failure to Transfer.  Seller fails to transfer a material portion of the Purchased Assets to Buyer on the applicable Purchase Date (provided Buyer has tendered the related Purchase Price).
(j)    Judgment.  A final judgment or judgments for the payment of money in excess of [***] shall be rendered against Seller or any of its Affiliates by one or more courts, administrative tribunals or other bodies having jurisdiction and the same shall not be satisfied, discharged (or provision shall not be made for such discharge) or bonded, or a stay of execution thereof shall not be procured, within thirty (30) days from the date of entry thereof.
(k)    Government Action.  Any Governmental Authority or any person, agency or entity acting or purporting to act under governmental authority shall have taken any action to condemn, seize or appropriate, or to assume custody or control of, all or any substantial part of the Property of Seller or any Affiliate thereof, or shall have taken any action to displace the management of Seller or any Affiliate thereof or to curtail its authority in the conduct of the business of Seller or any Affiliate thereof, or takes any action in the nature of enforcement to remove, limit or restrict the approval of Seller or Affiliate as an issuer, buyer or a seller/servicer of mortgage loans or securities backed thereby, and such action provided for in this subparagraph (l) shall not have been discontinued or stayed within thirty (30) days.
(l)    Inability to Perform.  A Responsible Officer of Seller shall admit its inability to, or its intention not to, perform any of Seller’s Obligations hereunder.
(m)    Security Interest.  This Agreement shall for any reason cease to create a valid, first priority security interest in any material portion of the Repurchase Assets purported to be covered hereby.
(n)    Financial Statements.  Seller’s audited annual financial statements or the notes thereto or other opinions or conclusions stated therein shall be qualified or limited by reference to the status of Seller as a “going concern” or a reference of similar import.
(o)    Validity of Agreement.  For any reason, this Agreement at any time shall not be in full force and effect in all material respects or shall not be enforceable in all material respects in accordance with its terms, or any Lien granted pursuant thereto shall fail to be perfected and of first priority, or Seller or any Affiliate of Seller shall seek to disaffirm or terminate, limit or reduce repudiate its obligations hereunder.
Section 7.02    No Waiver.  An Event of Default shall be deemed to be continuing unless expressly waived by Buyer in writing.
-44-

Section 7.03    Due and Payable.  Upon the occurrence of any Event of Default which has not been waived in writing by Buyer, Buyer may, by notice to Seller, declare all Obligations to be immediately due and payable, and any obligation of Buyer to enter into Transactions with Seller shall thereupon immediately terminate.  Upon such declaration, the Obligations shall become immediately due and payable, both as to Purchase Price outstanding and Price Differential, without presentment, demand, protest or notice of any kind, all of which are hereby expressly waived, anything contained herein or other evidence of such Obligations to the contrary notwithstanding, except with respect to any Event of Default set forth in Section 7.01(d), in which case all Obligations shall automatically become immediately due and payable without the necessity of any notice or other demand, and any obligation of Buyer to enter into Transactions with Seller shall immediately terminate.  Buyer may enforce payment of the same and exercise any or all of the rights, powers and remedies possessed by Buyer, whether under this Agreement or any other Program Agreement or afforded by applicable law.
Section 7.04    Fees.  The remedies provided for herein are cumulative and are not exclusive of any other remedies provided by law.  Seller agrees to pay to Buyer reasonable attorneys’ fees and reasonable legal expenses incurred in enforcing Buyer’s rights, powers and remedies under this Agreement and each other Program Agreement.
Section 7.05    Default Rate.  Without regard to whether Buyer has exercised any other rights or remedies hereunder, if an Event of Default shall have occurred and be continuing, the applicable Margin in respect of the Pricing Rate shall be increased, to the extent permitted by law, as set forth in clause (ii) of the definition of “Margin”.
ARTICLE VIII

ENTIRE AGREEMENT; AMENDMENTS
AND WAIVERS; SEPARATE ACTIONS BY BUYER
Section 8.01    Entire Agreement.  This Agreement (including the Schedules and Exhibits hereto) constitutes the entire agreement of the parties hereto and supersedes any and all prior or contemporaneous agreements, written or oral, as to the matters contained herein, and no modification or waiver of any provision hereof or any of the Program Agreements, nor consent to the departure by Seller therefrom, shall be effective unless the same is in writing, and then such waiver or consent shall be effective only in the specific instance, and for the purpose, for which it is given.
Section 8.02    Waivers, Separate Actions by Buyer.  Any amendment or waiver effected in accordance with this Article VIII shall be binding upon Buyer and Seller; and Buyer’s failure to insist upon the strict performance of any term, condition or other provision of this Agreement or any of the Program Agreements, or to exercise any right or remedy hereunder or thereunder, shall not constitute a waiver by Buyer of any such term, condition or other provision or Default or Event of Default in connection therewith, nor shall a single or partial exercise of any such right or remedy preclude any other or future exercise, or the exercise of any other right or remedy; and any waiver of any such term, condition or other provision or of any such Default or Event of Default shall not affect or alter this Agreement or any of the Program Agreements, and each and every term, condition and other provision of this Agreement and the Program 
-45-

Agreements shall, in such event, continue in full force and effect and shall be operative with respect to any other then existing or subsequent Default or Event of Default in connection therewith.  The occurrence of an Event of Default hereunder or under any of the Program Agreements or the occurrence of an Advance Rate Reduction Event under the Indenture shall be deemed to be continuing unless and until waived in writing by Buyer.
ARTICLE IX

SUCCESSORS AND ASSIGNS
Section 9.01    Successors and Assigns.  This Agreement shall be binding upon and inure to the benefit of the parties hereto and their respective successors and permitted assigns, any portion thereof, or any interest therein.  Seller shall not have the right to assign all or any part of this Agreement or any interest herein without the prior written consent of Buyer.
Section 9.02    Participations and Transfers.
(a)    Buyer may in accordance with applicable law at any time sell to one or more banks or other entities (“Participants”) participating interests in all or a portion of Buyer’s rights and obligations under this Agreement and the other Program Agreements; provided that (i) if such sale is to a Competitor, Buyer shall obtain Seller’s written consent on or prior to such sale; provided, however, Seller’s consent shall not be required in the event that (A) such Participant is an Affiliate of Buyer or (B) an Event of Default has occurred and is continuing, (ii) each such sale shall represent an interest in a Transaction in a Purchase Price of $[***] or more and (iii) other than with respect to a participating interest consisting of a pro rata interest in all payments due to Buyer under this Agreement and prior to an Event of Default Buyer receives an opinion of a nationally recognized tax counsel experienced in such matters that such sale will not result in the Issuer being subject to tax on its net income as an association (or publicly traded partnership) taxable as a corporation or a taxable mortgage pool taxable as a corporation, each for U.S. federal income tax purposes.  In the event of any such sale by Buyer of participating interests to a Participant, Buyer shall remain a party to the Transaction for all purposes under this Agreement and the Program Agreements and Seller shall continue to deal solely and directly with Buyer in connection with Buyer’s rights and obligations under this Agreement and the Program Agreements. Buyer shall provide notice to Ginnie Mae within five (5) Business Days of any participation made in accordance with this Section 9.02(a).
(b)    Buyer may in accordance with applicable law at any time assign, pledge, hypothecate, or otherwise transfer to one or more banks, financial institutions, investment companies, investment funds or any other Person (each, a “Transferee”) all or a portion of Buyer’s rights and obligations under this Agreement and the other Program Agreements; provided, that (i) Seller has consented to such assignment, pledge, hypothecation, or other transfer; provided, however, Seller’s consent shall not be required in the event that (A) such Transferee is an Affiliate of Buyer or (B) an Event of Default has occurred; (ii) absent an Event of Default, Buyer shall give at least ten days’ prior notice thereof to Seller; (iii) that each such sale shall represent an interest in the Transactions in an aggregate Purchase Price of $[***] or more; (iv) such Transferee shall have also acquired the same percentage interest in each other Series of Variable Funding Notes, unless such Transferee is an Affiliate of Buyer or unless 
-46-

Ginnie Mae has consented in writing to waive this requirement and (v) other than with respect to an assignment, pledge, hypothecation or transfer consisting of a pro rata interest in all payments due to Buyer under this Agreement and prior to an Event of Default Buyer received an opinion of a nationally recognized tax counsel experienced in such matters that such assignment, pledge, hypothecation or transfer  will not result in the Issuer being subject to tax on its net income as an association (or publicly traded partnership) taxable as a corporation or a taxable mortgage pool taxable as a corporation, each for U.S. federal income tax purposes. Buyer shall provide notice to Ginnie Mae within five (5) Business Days of any participation made in accordance with this Section 9.02(b). In the event of any such assignment, pledge, hypothecation or transfer by Buyer of Buyer’s rights under this Agreement and the other Program Agreements, Seller shall continue to deal solely and directly with Buyer in connection with Buyer’s rights and obligations under this Agreement.  Buyer (acting as agent for Seller) shall maintain at its address referred to in Section 10.05 a register (the “Register”) for the recordation of the names and addresses of Transferees, and the Purchase Price outstanding and Price Differential in the Transactions held by each thereof.  The entries in the Register shall be prima facie conclusive and binding, and Seller may treat each Person whose name is recorded in the Register as the owner of the Transactions recorded therein for all purposes of this Agreement.  No assignment shall be effective until it is recorded in the Register.
(c)    All actions taken by Buyer pursuant to this Section 9.02 shall be at the expense of Buyer.  Buyer may distribute to any prospective assignee any document or other information delivered to Buyer by Seller.
Section 9.03    Buyer and Participant Register.
(a)    Subject to acceptance and recording thereof pursuant to paragraph (b) of this Section 9.03, from and after the effective date specified in each assignment and acceptance the assignee thereunder shall be a party hereto and, to the extent of the interest assigned by such assignment and acceptance, have the rights and obligations of Buyer under this Agreement.  Any assignment or transfer by Buyer of rights or obligations under this Agreement that does not comply with this Section 9.03 shall be treated for purposes of this Agreement as a sale by such Buyer of a participation in such rights and obligations in accordance with Section 9.02.
(b)    Seller or an agent of Seller shall maintain a register (the “Transaction Register”) on which it will record the Transactions entered into hereunder, and each assignment and acceptance and participation.  The Transaction Register shall include the names and addresses of Buyers (including all assignees, successors and Participants), and the Purchase Price of the Transactions entered into by Buyer.  Failure to make any such recordation, or any error in such recordation shall not affect Seller’s obligations in respect of such Transactions.  If Buyer sells a participation in any Transaction, it shall provide Seller, or maintain as agent of Seller, the information described in this paragraph and permit Seller to review such information as reasonably needed for Seller to comply with its obligations under this Agreement or under any applicable law or governmental regulation or procedure.
-47-

ARTICLE X

MISCELLANEOUS
Section 10.01    Survival.  This Agreement and the other Program Agreements and all covenants, agreements, representations and warranties herein and therein and in the certificates delivered pursuant hereto and thereto, shall survive the entering into of the Transaction and shall continue in full force and effect so long as any Obligations are outstanding and unpaid.
Section 10.02    Indemnification.  Seller shall, and hereby agrees to, indemnify, defend and hold harmless Buyer, any Affiliate of Buyer and their respective directors, officers, agents, employees and counsel from and against any and all losses, claims, damages, liabilities, deficiencies, judgments or expenses incurred by any of them (except to the extent that it is finally judicially determined to have resulted from their own gross negligence or willful misconduct) as a consequence of, or arising out of or by reason of any litigation, investigations, claims or proceedings which arise out of or are in any way related to, (i) this Agreement or any other Program Agreement or the transactions contemplated hereby or thereby, (ii) Seller’s servicing practices or procedures; (iii) any actual or proposed use by Seller of the proceeds of the Purchase Price, and (iv) any Default, Event of Default or any other breach by Seller of any of the provisions of this Agreement or any other Program Agreement, including amounts paid in settlement, court costs and reasonable fees and disbursements of counsel incurred in connection with any such litigation, investigation, claim or proceeding or any advice rendered in connection with any of the foregoing.  If and to the extent that any Obligations are unenforceable for any reason, Seller hereby agrees to make the maximum contribution to the payment and satisfaction of such Obligations which is permissible under applicable law.  Seller’s obligations set forth in this Section 10.02 shall survive any termination of this Agreement and each other Program Agreement and the payment in full of the Obligations, and are in addition to, and not in substitution of, any other of its obligations set forth in this Agreement or otherwise.  In addition, Seller shall, upon demand, pay to Buyer all costs and Expenses (including the reasonable fees and disbursements of counsel) paid or incurred by Buyer in (i) enforcing or defending its rights under or in respect of this Agreement or any other Program Agreement, (ii) collecting the Purchase Price outstanding, (iii) foreclosing or otherwise collecting upon any Repurchase Assets and (iv) obtaining any legal, accounting or other advice in connection with any of the foregoing. This Section shall not apply with respect to Taxes other than Taxes that represent losses, claims, damages, etc. arising from any non-Tax claim.
Section 10.03    Nonliability of Buyer.  The parties hereto agree that, notwithstanding any affiliation that may exist between Seller and Buyer, the relationship between Seller and Buyer shall be solely that of arms-length participants.  Buyer shall not have any fiduciary responsibilities to Seller.  Seller (i) agrees that Buyer shall not have any liability to Seller (whether sounding in tort, contract or otherwise) for losses suffered by Seller in connection with, arising out of, or in any way related to, the transactions contemplated and the relationship established by this agreement, the other loan documents or any other agreement entered into in connection herewith or any act, omission or event occurring in connection therewith, unless it is determined by a judgment of a court that is binding on Buyer (which judgment shall be final and not subject to review on appeal), that such losses were the result of 
-48-

acts or omissions on the part of Buyer constituting gross negligence or willful misconduct and (ii) waives, releases and agrees not to sue upon any claim against Buyer (whether sounding in tort, contract or otherwise), except a claim based upon gross negligence or willful misconduct.  Whether or not such damages are related to a claim that is subject to such waiver and whether or not such waiver is effective, Buyer shall not have any liability with respect to, and Seller hereby waives, releases and agrees not to sue upon any claim for, any special, indirect, consequential or punitive damages suffered by Seller in connection with, arising out of, or in any way related to the transactions contemplated or the relationship established by this Agreement, the other loan documents or any other agreement entered into in connection herewith or therewith or any act, omission or event occurring in connection herewith or therewith, unless it is determined by a judgment of a court that is binding on Buyer (which judgment shall be final and not subject to review on appeal), that such damages were the result of acts or omissions on the part of Buyer, as applicable, constituting willful misconduct or gross negligence.
Section 10.04    Governing Law; Submission to Jurisdiction; Waivers.
(a)     This Agreement shall be binding and inure to the benefit of the parties hereto and their respective successors and permitted assigns.  Seller acknowledges that the obligations of Buyer hereunder or otherwise are not the subject of any recourse to, any direct or indirect parent or other Affiliate of Buyer.  THIS AGREEMENT AND ANY CLAIM, CONTROVERSY, DISPUTE OR CAUSE OF ACTION (WHETHER IN CONTRACT, TORT OR OTHERWISE) BASED UPON, ARISING UNDER OR RELATED TO OR IN CONNECTION WITH THIS AGREEMENT, THE RELATIONSHIP OF THE PARTIES HERETO, AND/OR THE INTERPRETATION AND ENFORCEMENT OF THE RIGHTS AND DUTIES OF THE PARTIES HERETO WILL BE CONSTRUED IN ACCORDANCE WITH AND GOVERNED BY THE LAWS OF THE STATE OF NEW YORK, INCLUDING THE STATUTES OF LIMITATIONS AND OTHER PROCEDURAL LAWS THEREOF (WITHOUT REFERENCE TO THE CONFLICT OF LAW PRINCIPLES THEREOF OTHER THAN SECTIONS 5-1401 AND 5-1402 OF THE NEW YORK GENERAL OBLIGATIONS LAW, WHICH SHALL APPLY) AND THE OBLIGATIONS, RIGHTS AND REMEDIES OF THE PARTIES HEREUNDER SHALL BE DETERMINED IN ACCORDANCE WITH SUCH LAWS.
(b)    EACH OF THE PARTIES HERETO AND BUYER, BY THEIR ACCEPTANCE OF THE NOTE, HEREBY IRREVOCABLY AND UNCONDITIONALLY:
(i)    SUBMITS FOR ITSELF AND ITS PROPERTY IN ANY LEGAL ACTION OR PROCEEDING RELATING TO THIS AGREEMENT, OR FOR RECOGNITION AND ENFORCEMENT OF ANY JUDGMENT IN RESPECT THEREOF, TO THE GENERAL JURISDICTION OF THE COURTS OF THE STATE OF NEW YORK SITTING IN THE BOROUGH OF MANHATTAN, THE FEDERAL COURTS OF THE UNITED STATES OF AMERICA FOR THE SOUTHERN DISTRICT OF NEW YORK, AND APPELLATE COURTS FROM ANY THEREOF;
(ii)    CONSENTS THAT ANY SUCH ACTION OR PROCEEDING MAY BE BROUGHT IN SUCH COURTS AND, TO THE EXTENT PERMITTED BY 
-49-

LAW, WAIVES ANY OBJECTION THAT IT MAY NOW OR HEREAFTER HAVE TO THE VENUE OF ANY SUCH ACTION OR PROCEEDING IN ANY SUCH COURT OR THAT SUCH ACTION OR PROCEEDING WAS BROUGHT IN AN INCONVENIENT COURT AND AGREES NOT TO PLEAD OR CLAIM THE SAME;
(iii)    AGREES THAT SERVICE OF PROCESS IN ANY SUCH ACTION OR PROCEEDING MAY BE EFFECTED BY MAILING A COPY THEREOF BY REGISTERED OR CERTIFIED MAIL (OR ANY SUBSTANTIALLY SIMILAR FORM OF MAIL), POSTAGE PREPAID, TO ITS ADDRESS SET FORTH HEREIN OR AT SUCH OTHER ADDRESS OF WHICH EACH OTHER PARTY HERETO SHALL HAVE BEEN NOTIFIED IN WRITING;
(iv)    AGREES THAT NOTHING HEREIN SHALL AFFECT THE RIGHT TO EFFECT SERVICE OF PROCESS IN ANY OTHER MANNER PERMITTED BY LAW OR SHALL LIMIT THE RIGHT TO SUE IN ANY OTHER JURISDICTION; AND
(v)    WAIVES, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY AND ALL RIGHT TO TRIAL BY JURY IN ANY LEGAL PROCEEDING ARISING OUT OF OR RELATING TO THE INDENTURE OR THE TRANSACTIONS CONTEMPLATED THEREBY AND HEREBY.
Section 10.05    Notices.  Any and all notices (with the exception of Transaction Notices, which shall be delivered via facsimile only), statements, demands or other communications hereunder may be given by a party to the other by mail, email, facsimile, messenger or otherwise to the address specified below, or so sent to such party at any other place specified in a notice of change of address hereafter received by the other.  All notices, demands and requests hereunder may be made orally, to be confirmed promptly in writing, or by other communication as specified in the preceding sentence.
If to Seller:
loanDepot.com, LLC
26642 Towne Centre Drive
Foothill Ranch, California 92610
Attention: [***], EVP, Treasurer
Phone Number: [***]
Email: [***]

With copies to:

loanDepot.com, LLC
26642 Towne Centre Drive
Foothill Ranch, California 92610
Attention: [***], CFO
-50-

Phone Number: [***]
Email: [***]

loanDepot.com, LLC
26642 Towne Centre Drive
Foothill Ranch, California 92610
Attention: [***], EVP, General Counsel
Email: [***]

If to Buyer:

For Transaction Notice:

CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH 
c/o Credit Suisse Securities (USA) LLC
One Madison Avenue, 2nd floor
New York, NY  10010
Attention:  [***]
Phone:  [***]
E-mail:  [***]

with a copy to:

CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC
c/o Credit Suisse Securities (USA) LLC
Eleven Madison Avenue, 4th Floor
New York, NY  10010
Attention:  [***]
Phone Number:  [***]
Fax Number:  [***]
E-mail:  [***]

For all other Notices:

CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC 
c/o Credit Suisse Securities (USA) LLC
Eleven Madison Avenue, 4th Floor
New York, NY 10010
Attention:  [***]
Phone Number:  [***]
Fax Number:  [***]
E-mail:  [***]

Section 10.06    Severability.  Each provision and agreement herein shall be treated as separate and independent from any other provision or agreement herein and shall be enforceable notwithstanding the unenforceability of any such other provision or agreement.  In 
-51-

case any provision in or obligation under this Agreement or any other Program Agreement shall be invalid, illegal or unenforceable in any jurisdiction, the validity, legality and enforceability of the remaining provisions or obligations, or of such provision or obligation in any other jurisdiction, shall not in any way be affected or impaired thereby.
Section 10.07    Section Headings.  The Article and Section headings in this Agreement are inserted for convenience of reference only and shall not in any way affect the meaning or construction of any provision of this Agreement.
Section 10.08    Counterparts.  This Agreement may be executed in any number of counterparts and all of such counterparts shall be an original, but all of which shall together constitute one and the same instrument.  The parties agree that this Agreement, any addendum or amendment hereto or any other document necessary for the consummation of the transactions contemplated by this Agreement may be accepted, executed or agreed to through the use of an electronic signature in accordance with the Electronic Signatures in Global and National Commerce Act, 15 U.S.C. § 7001 et seq, Official Text of the Uniform Electronic Transactions Act as approved by the National Conference of Commissioners on Uniform State Laws at its Annual Conference on July 29, 1999 and any applicable state law. Any document accepted, executed or agreed to in conformity with such laws will be binding on all parties hereto to the same extent as if it were physically executed and each party hereby consents to the use of any secure third party electronic signature capture service with appropriate document access tracking, electronic signature tracking and document retention.
Section 10.09    Periodic Due Diligence Review.  Seller acknowledges that Buyer has the right to perform continuing due diligence reviews with respect to Seller and the Purchased Assets, for purposes of verifying compliance with the representations, warranties and specifications made hereunder, or otherwise, and Seller agree that upon reasonable (but no less than five (5) Business Days’) prior written notice unless an Event of Default shall have occurred, in which case no notice is required, to Seller, Buyer or its authorized representatives will be permitted during normal business hours, and in a manner that does not unreasonably interfere with the ordinary conduct of Seller’s business, to examine, inspect, and make copies and extracts of, any and all documents, records, agreements, instruments or information relating to such Purchased Assets in the possession or under the control of Seller.  Seller also shall make available to Buyer a knowledgeable financial or accounting officer for the purpose of answering questions respecting the Purchased Assets.  Without limiting the generality of the foregoing, Seller acknowledges that Buyer may enter into a Transaction related to any Purchased Assets from Seller based solely upon the information provided by Seller to Buyer in the Asset Schedule and the representations, warranties and covenants contained herein, and that Buyer, at its option, has the right at any time to conduct a partial or complete due diligence review on some or all of the Purchased Assets related to a Transaction.  Seller agrees to cooperate with Buyer and any third party underwriter in connection with such underwriting, including providing Buyer and any third party underwriter with access to any and all documents, records, agreements, instruments or information relating to such Purchased Assets in the possession, or under the control, of Seller.
Section 10.10    Hypothecation or Pledge of Repurchase Assets.  Buyer shall have free and unrestricted use of all Repurchase Assets and nothing in this Agreement shall preclude Buyer from engaging in repurchase transactions with all or a portion of the Repurchase Assets or 
-52-

otherwise pledging, repledging, transferring, hypothecating, or rehypothecating all or a portion of the Repurchase Assets; provided that prior to an Event of Default, such pledge, repledge, transfer, hypothecation or rehypothecation is treated as a financing or hedging transaction for U.S. federal income tax purposes or a pro rata interest in all payments due to Buyer under this Agreement; provided, further that other than with respect to a pro rata interest in all payments due to Buyer under this Agreement and prior to an Event of Default Buyer receives an opinion of a nationally recognized tax counsel experienced in such matters that such repurchase transaction, pledge, repledge, transfer, hypothecation or rehypothecation will not result in the Issuer being subject to tax on its net income as an association (or publicly traded partnership) taxable as a corporation or a taxable mortgage pool taxable as a corporation, each for U.S. federal income tax purposes.
Section 10.11    Non-Confidentiality of Tax Treatment.
(a)    This Agreement and its terms, provisions, supplements and amendments, and notices hereunder, are proprietary to Buyer or Seller, as applicable and shall be held by each party hereto, as applicable in strict confidence and shall not be disclosed to any third party without the written consent of Buyer or Seller, except for (i) disclosure to Buyer’s or Seller’s direct and indirect Affiliates and Subsidiaries, attorneys or accountants, but only to the extent such disclosure is necessary and such parties agree to hold all information in strict confidence, or (ii) disclosure required by law, rule, regulation or order of a court or other regulatory body.  Notwithstanding the foregoing or anything to the contrary contained herein or in any other Program Agreements, the parties hereto may disclose to any and all Persons, without limitation of any kind, the federal, state and local tax treatment of the Transactions, any fact relevant to understanding the federal, state and local tax treatment of the Transactions, and all materials of any kind (including opinions or other tax analyses) relating to such federal, state and local tax treatment and that may be relevant to understanding such tax treatment; provided that Seller may not disclose the name of or identifying information with respect to Buyer or any pricing terms (including the Pricing Rate, the Purchase Price Percentage and the Purchase Price) or other nonpublic business or financial information (including any sublimits) that is unrelated to the federal, state and local tax treatment of the Transactions and is not relevant to understanding the federal, state and local tax treatment of the Transactions, without the prior written consent of Buyer.
(b)    Notwithstanding anything in this Agreement to the contrary, Seller shall comply with all applicable local, state and federal laws, including all privacy and data protection law, rules and regulations that are applicable to the Repurchase Assets and/or any applicable terms of this Agreement (the “Confidential Information”).  Seller understands that the Confidential Information may contain “nonpublic personal information”, as that term is defined in Section 509(4) of the Gramm-Leach-Bliley Act (the “GLB Act”), and Seller agrees to maintain such nonpublic personal information that it receives hereunder in accordance with the GLB Act and other applicable federal and state privacy laws.  Seller shall implement such physical and other security measures as shall be necessary to (a) ensure the security and confidentiality of the “nonpublic personal information” of the “customers” and “consumers” (as those terms are defined in the GLB Act) of Buyer or any Affiliate of Buyer which Seller holds, (b) protect against any threats or hazards to the security and integrity of such nonpublic personal information, and (c) protect against any unauthorized access to or use of such nonpublic personal 
-53-

information.  Seller represents and warrants that it has implemented appropriate measures to meet the objectives of Section 501(b) of the GLB Act and of the applicable standards adopted pursuant thereto, as now or hereafter in effect.  Upon request, Seller will provide evidence reasonably satisfactory to allow Buyer to confirm that the providing party has satisfied its obligations as required under this Section 10.11.  Without limitation, this may include Buyer’s review of audits, summaries of test results, and other equivalent evaluations of Seller.  Seller shall notify Buyer immediately following discovery of any breach or compromise of the security, confidentiality, or integrity of nonpublic personal information of the customers and consumers of Buyer or any Affiliate of Buyer provided directly to Seller by Buyer or such Affiliate.  Seller shall provide such notice to Buyer by personal delivery, by facsimile with confirmation of receipt, or by overnight courier with confirmation of receipt to the applicable requesting individual.
Section 10.12    Set-off.  In addition to any rights and remedies of Buyer hereunder and by law, Buyer shall have the right, without prior notice to Seller, any such notice being expressly waived by Seller to the extent permitted by applicable law to set-off and appropriate and apply against any Obligation from Seller or any Affiliate thereof to Buyer or any of its Affiliates any and all deposits (general or special, time or demand, provisional or final), in any currency, and any other obligation (including to return funds to Seller), credits, indebtedness or claims, in any currency, in each case whether direct or indirect, absolute or contingent, matured or unmatured, at any time held or owing by or due from Buyer or any Affiliate thereof to or for the credit or the account of Seller or any Affiliate thereof.  Buyer agrees promptly to notify Seller after any such set off and application made by Buyer; provided that the failure to give such notice shall not affect the validity of such set off and application.
Section 10.13    Intent.
(a)    The parties recognize that each Transaction is a “master netting agreement” as that term is defined in Section 101 of Title 11 of the United States Code, as amended and a “securities contract” as that term is defined in Section 741 of Title 11 of the United States Code, as amended and that all payments hereunder are deemed “margin payments” or “settlement payments” as defined in Title 11 of the United States Code.
(b)    It is understood that either party’s right to liquidate Purchased Assets delivered to it in connection with Transactions hereunder or to exercise any other remedies pursuant to Section 7.03 is a contractual right to liquidate such Transaction as described in Sections 555 and Section 561 of Title 11 of the United States Code, as amended.
(c)    The parties agree and acknowledge that if a party hereto is an “insured depository institution,” as such term is defined in the Federal Deposit Insurance Act, as amended (“FDIA”), then each Transaction hereunder is a “qualified financial contract,” as that term is defined in FDIA and any rules, orders or policy statements thereunder (except insofar as the type of assets subject to such Transaction would render such definition inapplicable).
(d)    It is understood that this Agreement constitutes a “netting contract” as defined in and subject to Title IV of the Federal Deposit Insurance Corporation Improvement Act of 1991 (“FDICIA”) and each payment entitlement and payment obligation under any 
-54-

Transaction hereunder shall constitute a “covered contractual payment entitlement” or “covered contractual payment obligation”, respectively, as defined in and subject to FDICIA (except insofar as one or both of the parties is not a “financial institution” as that term is defined in FDICIA).
(e)    This Agreement is intended to be a “securities contract,” within the meaning of Section 555 under the Bankruptcy Code, and a “master netting agreement,” within the meaning of Section 561 under the Bankruptcy Code.
(f)    It is the intention of the parties that, for U.S. federal income tax purposes and for accounting purposes, each Transaction constitute a financing with Seller incurring an indebtedness, and that Seller be (except to the extent that Buyer shall have exercised its remedies following an Event of Default) the owner of the Purchased Assets for such purposes.  Unless prohibited by applicable law that becomes effective after the date of this Agreement, Seller and Buyer shall treat the Transactions as described in the preceding sentence (including on any and all filings with any U.S. federal, state, or local taxing authority and agree not to take any action inconsistent with such treatment).
-55-

IN WITNESS WHEREOF, Seller and Buyer have caused this Master Repurchase Agreement to be executed and delivered by their duly authorized officers or trustees as of the date first above written.

CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, as Buyer

By:     
Name:
Title:

By:     
Name:
Title:

CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC, as Administrative Agent 

By:     
Name:
Title:

[loanDepot GMSR Master Trust – Series 2021-PIAVF1 Repurchase Agreement]

LOANDEPOT.COM, LLC, 
as Seller

By:     
Name:
Title:

[loanDepot GMSR Master Trust – Series 2021-PIAVF1 Repurchase Agreement]

SCHEDULE 1

RESPONSIBLE OFFICERS – SELLER
SELLER AUTHORIZATIONS
Any of the persons whose signatures and titles appear below are authorized, acting singly, to act for Seller under this Agreement:
Responsible Officers for execution of Program Agreements and amendments:
															
	Name		Title		Signature
	[_____]		[_____]		

Responsible Officers for execution of Transaction Notices and day-to-day operational functions:
															
	Name		Title		Signature
	[_____]		[_____]		
	[_____]		[_____]		
	[_____]		[_____]		
	[_____]		[_____]		
	[_____]		[_____]		

Schedule 1-1

SCHEDULE 2

ASSET SCHEDULE
															
	Note	Initial VFN Principal Balance / Purchase Price	Net Increase/Decrease in VFN Principal Balance / Purchase Price	Outstanding VFN Principal Balance / Purchase Price

	Maximum VFN Principal Balance / 
Maximum Purchase Price

	loanDepot GMSR Master Trust, Series 2021-PIAVF1 Class A-PIAVF1 Variable Funding Note	$0.00	$0.00	$0.00	$1,000,000,000
	Series 2021-PIAVF1 Repurchase Agreement	$0.00	$0.00	$0.00	$0.00

Schedule 2-1

SCHEDULE 3
BUYER ACCOUNT
Name of Bank:            [***]
ABA Number of Bank:        [***]
Name of Account:            [***]
Account Number:            [***]

    
Schedule 3-1

SCHEDULE 4
LIST OF COMPETITORS
[***]
Schedule 4-1

EXHIBIT A
FORM OF TRANSACTION NOTICE
Dated:  [_________]
CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
c/o Credit Suisse Securities (USA) LLC
Eleven Madison Avenue
New York, NY 10010
Attention:  [***]
Email:  [***] 

TRANSACTION NOTICE
Ladies and Gentlemen:
We refer to the Master Repurchase Agreement, dated as of February 10, 2022 (the “Series 2021-PIAVF1 Repurchase Agreement”), among loanDepot.com, LLC (the “Seller”), Credit Suisse AG, Cayman Islands Branch (the “Buyer”) and Credit Suisse First Boston Mortgage Capital LLC (the “Administrative Agent”).  Each capitalized term used but not defined herein shall have the meaning specified in the Series 2021-PIAVF1 Repurchase Agreement.  This notice is being delivered by Seller pursuant to Section 2.02 of the Series 2021-PIAVF1 Repurchase Agreement.
Please be notified that Seller hereby irrevocably requests that Buyer enter into the following Transaction(s) with the Seller as follows [on the Funding Date (as defined in the Indenture)] / [on [      ], 20[  ]]:
Exhibit A-1

																											
			Market Value	Current Purchase Price		Market Value	New Purchase Price		Change in Purchase Price
	loan_ID	as of date	curr_upb	curr_prin_balance	effective_date	curr_upb	curr_prin_balance	AR	PAY UP / 
(PAY DOWN)
	MBSFHA	 	 	 	 	 	 	 	 
	MBSVA	 	 	 	 	 	 	 	 
	MBSUSD	 	 	 	 	 	 	 	 
		 	 	 	 	 	 	 	 
	TOTAL	 	 	 	 	 	 	 	 

									
	 	VFN	Series 2021-PIAVF1 Repurchase Agreement
	Series Invested Amount	$[__]
	Maximum VFN Principal Balance	$[__]	$[__]
	Existing Note Balance Outstanding / Purchase Price	$[__]	$[__]
	Additional Balance/Purchase Price requested	$[__]	$[__]
	New Note Balance Outstanding / Repurchase Price	$[__]	$[__]
	Effective Advance Rate	[__]%	[__]%
	VFN/Series Invested Amount	VFN Repo/Series Invested Amount

Seller requests that the proceeds of the Purchase Price be deposited at Seller’s direction in the following account:
Exhibit A-2

Bank Name:        [_______]
ABA Number:        [_______]
Account Number:    [_______] 
References:          [_______]
Attn:              [_______]

Exhibit A-3

Seller hereby represents and warrants that each of the representations and warranties made by Seller in each of the Program Agreements to which it is a party is true and correct in all material respects, in each case, on and as of the date hereof, except to the extent such representations and warranties expressly relate to an earlier date.  Attached hereto is a true and complete updated copy of the Asset Schedule.

LOANDEPOT.COM, LLC, as Seller

By:     

Exhibit A-4

Asset Schedule

															
	Note	Initial VFN Principal Balance / Purchase Price	Net Increase/Decrease in VFN Principal Balance / Purchase Price	Outstanding VFN Principal Balance / Purchase Price

	Maximum VFN Principal Balance / 
Maximum Purchase Price

	loanDepot GMSR Master Trust, Series 2021-PIAVF1 Class A-PIAVF1 Variable Funding Note	$[__]	$[__]	$[__]	$[__]
	Series 2021-PIAVF1 Repurchase Agreement	$[__]	$[__]	$[__]	$[__]

    
Exhibit A-5

EXHIBIT B
EXISTING INDEBTEDNESS
[See Attached]
Exhibit B-1Document

EXECUTION COPY

Certain confidential information contained in this document, marked by “[***]”, has been omitted because it is both (i) not material and (ii) would be competitively harmful if publicly disclosed.
SECOND AMENDED AND RESTATED GMSR PARTICIPATION AGREEMENT 
Dated as of November 15, 2021
by and between
LOANDEPOT.COM, LLC
as the Company
and
LOANDEPOT.COM, LLC
as the Initial Participant
This SECOND AMENDED AND RESTATED GMSR PARTICIPATION AGREEMENT, dated as of November 15, 2021 (the “Effective Date”) (as may be amended, restated, replaced, supplemented or otherwise modified from time to time, this “Agreement”), is made by and between LOANDEPOT.COM, LLC (the “Company”) and LOANDEPOT.COM, LLC (the “Initial Participant”), and is consented to by loanDepot GMSR Master Trust, as repo buyer (the “Buyer”), CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC, as administrative agent (the “Administrative Agent”) and CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH (“CSCIB”) as noteholder of the Outstanding VFNs (the “Noteholder”).  Capitalized terms used herein have the meanings specified in Section 1.
W I T N E S S E T H:
WHEREAS, the Company and the Initial Participant have entered into that certain GMSR Participation Agreement, dated as of August 11, 2017, which was amended and restated by that certain Amended and Restated GMSR Participation Agreement, dated as of October 31, 2018 (the “Original Participation Agreement”);
WHEREAS, the Company and the Initial Participant have agreed, subject to the terms of this Agreement, that the Original Participation Agreement be amended and restated on the Effective Date;
WHEREAS, loanDepot GMSR Master Trust (the “Issuer”), Citibank, N.A. (“Citibank”), as indenture trustee (in such capacity, the “Indenture Trustee”), as calculation agent (in such capacity, the “Calculation Agent”), as paying agent (in such capacity, the “Paying Agent”) and as securities intermediary (in such capacity, the “Securities Intermediary”), the Company, as administrator (in such capacity, the “Administrator”) and as servicer (in such capacity, the “Servicer”), the Administrative Agent and Pentalpha Surveillance LLC, as credit manager, are parties to that certain Second Amended and Restated Base Indenture, dated as of the date hereof (as may be amended, restated, supplemented, or otherwise modified from time to time, the “Base Indenture”), as supplemented by the Amended and Restated Series 2017-VF1 Indenture Supplement, dated as of November 15, 2021, by and among the Issuer, the Indenture Trustee, the Calculation Agent, the Paying Agent, the Securities Intermediary, the Administrator, the Servicer and the Administrative Agent (as may be amended, restated, supplemented, or 
			
	060958.0000168 EMF_US 79902503v11

otherwise modified from time to time, the “Series 2017-VF1 Indenture Supplement”), the Series 2017-MBSADV1 Indenture Supplement, dated as of August 11, 2017, by and among the Issuer, the Indenture Trustee, the Calculation Agent, the Paying Agent, the Securities Intermediary, the Administrator, the Servicer and the Administrative Agent (the “Series 2017-MBSADV1 Indenture Supplement”) and the other indenture supplements thereto;
WHEREAS, currently there are two (2) Outstanding Series of Variable Funding Notes: (i) the Series 2017-VF1 Note (the “Series 2017-VF1 Note”), which was issued to the Company pursuant to the terms of the Series 2017-VF1 Indenture Supplement, and which was purchased by CSCIB under the Amended and Restated Series 2017-VF1 Master Repurchase Agreement, dated as of the date hereof, between the Company, the Administrative Agent and CSCIB (the “VFN Repurchase Agreement”), pursuant to which the Company sold all of its rights, title and interest in the Series 2017-VF1 Note to CSCIB; and (ii) the Series 2017-MBSADV1 Note (the “Series 2017-MBSADV1 Note”), which was issued pursuant to the Series 2017-MBSADV1 Indenture Supplement and sold to CSCIB pursuant to the Note Purchase Agreement, dated as of August 11, 2017, among the Issuer, the Administrative Agent and CSCIB, as purchaser (the “Series 2017-MBSADV1 Note Purchase Agreement”);
WHEREAS, pursuant to Section 10.3(g)(iii) of the Base Indenture, so long as any Note is Outstanding and until all obligations have been paid in full, the Company shall not consent to any amendment, modification or waiver of any term or condition of any Transaction Document, without the prior written consent of the Administrative Agent;
WHEREAS, the Original Participation Agreement is a Transaction Document;
WHEREAS, pursuant to Section 4.1(a)(iii) of the Trust Agreement, the consent of each of the Owners (as defined in the Trust Agreement) (unless an Event of Default has occurred and is continuing), the Administrative Agent and the Series Required Noteholders of all Variable Funding Notes is required for the amendment or other change to any Transaction Document in circumstances where the consent of any Noteholder or the Administrative Agent is required (other than an amendment or supplement to the Base Indenture pursuant to Section 12.1 thereof);
WHEREAS, Section 2(c) of the Original Participation Agreement requires the consent of the Buyer and Ginnie Mae in order to issue additional Participation Certificates hereunder;
WHEREAS, the Company owns and may from time to time originate, or acquire from third parties, Servicing Rights;
WHEREAS, the Servicing Rights consist of the right to receive, among other things, Portfolio Excess Spread and Advance Reimbursement Amounts;
WHEREAS, in order to obtain greater liquidity, the Company created a Participation Interest in the Portfolio Excess Spread and Advance Reimbursement Amounts relating to MBS Advances pursuant to which the holder of such Participation Interest is entitled to receive Portfolio Collections with respect to such Portfolio Excess Spread and MBS Advance 
2

Reimbursement Amounts and created the Original Participation Certificate to evidence such Participation Interest; 
WHEREAS, the Company and the Initial Participant desire to enter into this Agreement to expand the Participation Interest in Advance Reimbursement Amounts to include Servicing Advance Reimbursement Amounts;
WHEREAS, the Company and the Initial Participant desire to amend and restate the Original Participation Certificate, so that such Excess Spread Participation Certificate will reflect a Participation Interest in only the Portfolio Excess Spread and entitle the holder to receive Portfolio Collections solely with respect to the Portfolio Excess Spread;
WHEREAS, the Company and the Initial Participant desire to create a separate Participation Interest in the MBS Advance Reimbursement Amounts pursuant to which such Participant will be entitled to receive Portfolio Collections with respect to such MBS Advance Reimbursement Amounts and will create hereunder the P&I Advance Participation Certificate to evidence such Participation Interest; 
WHEREAS, the Company and the Initial Participant desire to create a Participation Interest in the Servicing Advance Reimbursement Amounts pursuant to which such Participant will be entitled to receive Portfolio Collections with respect to such Servicing Advance Reimbursement Amounts and will create hereunder the Servicing Advance Participation Certificate to evidence such Participation Interest; and
WHEREAS, the Initial Participant sold the Original Participation Certificate and will sell the P&I Advance Participation Certificate and the Servicing Advance Participation Certificate to the Buyer pursuant to that certain Second Amended and Restated Master Repurchase Agreement, dated as of November 15, 2021, between the Company and the Buyer, and consented to by the Indenture Trustee, the Administrative Agent, and CSCIB, as noteholder of the Outstanding VFNs (as amended, restated, replaced, supplemented or otherwise modified from time to time, the “Master Repurchase Agreement”).
NOW, THEREFORE, in consideration of the mutual covenants herein contained, the parties hereto mutually agree as follows:
Section 1.    Definitions. References to a “Section” or the “recitals” are, unless otherwise specified, to a Section or the recitals of this Agreement. Capitalized terms not otherwise defined herein shall have the meaning ascribed thereto in the Master Repurchase Agreement or the Base Indenture, as applicable.  The words “hereof”, “herein” and “hereunder” and words of similar import when used in this agreement shall refer to this Agreement as a whole and not to any particular provision of this Agreement. Unless otherwise specified herein, the term “or” has the inclusive meaning represented by the term “and/or”, and the term “including” is not limiting.  Whenever used in this Agreement, the following terms shall have the respective meanings set forth below. Any capitalized terms defined in the body of this Agreement but not listed below shall have the meaning ascribed to such capitalized terms in the body of this Agreement.
3

“Accredited Investor” shall have the meaning assigned to such term in Section 5(e). 
“Acknowledgment Agreement” means, the Amended and Restated Acknowledgment Agreement, dated as of October 31, 2018, by and among Ginnie Mae, the Company and the Indenture Trustee.
“Acquired MSRs” means mortgage servicing rights related to previously issued Ginnie Mae MBS that the Servicer acquired, provided that Ginnie Mae has acknowledged that the Servicer is deemed the “issuer” of the Pooled Mortgages related to such acquired mortgage servicing rights by execution of the Assignment Agreement in the form of Appendix VIII-3 of the Ginnie Mae Guide, or any such successor form approved by Ginnie Mae from time to time.
“Advance Reimbursement Amounts” means, with respect to any MBS Advance or Servicing Advance, any amount collected on a Mortgage Pool, withdrawn from a custodial account in accordance with the Ginnie Mae Contract, free and clear from any Ginnie Mae rights or other restrictions on transfer set forth therein, or received from any Successor Issuer, to reimburse any such MBS Advance or Servicing Advance, including any Liquidation  Proceeds, FHA Claim Proceeds, USDA Claim Proceeds, PIH Claim Proceeds or VA Claim Proceeds; provided that “Advance Reimbursement Amounts” shall not include any such amounts that constitute Excluded Reimbursement Rights.
“Agency Requirements” means with respect to any Portfolio Mortgage Loan, (a) the Ginnie Mae Contract and (b) the statutes and implementing regulations governing the mortgage loan insurance or guarantee program of the FHA, PIH, USDA or VA, as applicable, and any agreements, announcements, directives and correspondence related thereto, and all amendments to any of the foregoing.
“Agreement” shall have the meaning assigned to such term in the preamble.
“Ancillary Income” means all income derived from a Portfolio Mortgage Loan (other than payments or collections in respect of principal, interest, escrow payments and prepayment penalties attributable to such Portfolio Mortgage Loan) and to which the Company or any subservicer, as the servicer or subservicer of the Portfolio Mortgage Loan, is entitled to in accordance with the applicable Agency Requirements, including (i) all late charges, fees received with respect to checks or bank drafts returned by the related bank for insufficient funds, assumption fees, optional insurance administrative fees, all interest, income, or credit on funds deposited in the escrow accounts and custodial accounts or other receipts on or with respect to such Mortgage Loan (subject to Applicable Law and the Ginnie Mae Contract), (ii) reconveyance fees, subordination fees, speedpay fees, mortgage pay on the web fees, automatic clearing house fees, demand statement fees, modification fees, if any, and other similar types of fees arising from or in connection with any Mortgage Loan to the extent not otherwise payable by the mortgagor under Applicable Law or pursuant to the terms of the related Mortgage Note, and (iii) any incentive fees payable by FHA under the applicable FHA Mortgage Insurance Contract, by USDA under the USDA Loan Guarantee Document, or by VA under the applicable VA Loan Guaranty Agreement, as applicable, to the Servicer or any subservicer, as servicer or subservicer of the Mortgage Loans, including incentive amounts payable in connection with Mortgage Loan modifications and other loss mitigation activities.
4

“Applicable Laws” means laws, rules, regulations and executive orders in effect from time to time applicable to banking institutions, including those relating to the funding of terrorist activities and money laundering, including Section 326 of the USA Patriot Act of the United States. 
“Business Day” means any day other than (i) a Saturday or Sunday or (ii) any other day on which national banking associations or state banking institutions in New York, New York, the State of California, the State of Texas, the city and state where the Corporate Trust Office is located or the Federal Reserve Bank of New York, are authorized or obligated by law, executive order or governmental decree to be closed.
“Buyer” shall have the meaning assigned to such term in the preamble.
“Collection Period” means, with respect to each Transaction Remittance Date, the calendar month preceding the month in which such Transaction Remittance Date occurs.
“Company” shall have the meaning assigned to such term in the preamble.
“Corporate Advance” means any advance disbursed by or on behalf of the Company with respect to any Mortgage Pool as required by the Ginnie Mae Contract with respect to any Mortgage Loan included in the related Mortgage Pool (other than amounts advanced as MBS Advances or Escrow Advances), excluding any advance disbursed by an Interim Servicer related to Acquired MSRs until such time as Servicer completes reconciliation of such advances with the Interim Servicer and pays the Interim Servicer for such advances. 
“Corporate Trust Office” means the corporate trust office of the Indenture Trustee.
“Debtor” shall have the meaning assigned to such term in the Acknowledgment Agreement.
“Effective Date” shall have the meaning assigned to such term in the preamble.
“Escrow Advance” means any advance disbursed by or on behalf of the Company with respect to any Mortgage Pool as required by the Ginnie Mae Contract in order to pay tax obligations or insurance premiums due under any Mortgage Loan included in the related Mortgage Pool when the funds on deposit in any escrow custodial account or any other account containing escrow funds related to the applicable Mortgage Pool are insufficient to make the required payment, excluding any advance disbursed by an Interim Servicer related to Acquired MSRs until such time as Servicer completes reconciliation of such advances with the Interim Servicer and pays the Interim Servicer for such advances.
“Excess Spread Participation Certificate” or “Excess Spread PC” shall mean each participation certificate in the form of Exhibit B-1 attached hereto, including the Original Participation Certificate, as amended and restated, which evidences the related Participation Interest in the Portfolio Excess Spread related to the Portfolio Mortgage Loans. 
“Excluded Advances” means any Advance related to an Excluded Mortgage Loan that was made after the time such Mortgage Loan became subject to a Permitted Disposition.
5

“Excluded Assets” shall mean, collectively, the Excluded Advances, Excluded Mortgage Loans, Excluded Mortgage Pools, Excluded MSRs, and Excluded Reimbursement Rights.
“Excluded Mortgage Loan” shall mean a mortgage loan included in an Excluded Mortgage Pool.
“Excluded Mortgage Pool” shall mean any Mortgage Pool with respect to which the related servicing rights are either ineligible pursuant to the Master Repurchase Agreement or have been sold or are otherwise committed to be sold and have been previously listed on Schedule I to a Participation Certificate (subject to the provisions of Section 3).
“Excluded MSRs” means the servicing rights related to any Excluded Mortgage Pool.
“Excluded Reimbursement Rights” means the rights to reimbursement with respect to any of the Excluded Advances.
“FHA” means the Federal Housing Administration, an agency within HUD, or any successor thereto, and including the Federal Housing Commissioner and the Secretary of HUD where appropriate under the FHA Regulations.
“FHA Claim Proceeds” means the portion of insurance proceeds which are received from FHA under an FHA Mortgage Insurance Contract in the event of a default with respect to an FHA Loan and are permitted reimbursements to the Servicer for MBS Advances or Servicing Advances in accordance with the Ginnie Mae Contract, including any debenture interest on such MBS Advances or Servicing Advances.
“FHA Loan” means a Mortgage Loan which is the subject of an FHA Mortgage Insurance Contract.
“FHA Mortgage Insurance Contract” means the contractual obligation of the FHA respecting the insurance of a Mortgage Loan. 
“FHA Regulations” means the regulations promulgated by HUD under the National Housing Act, as amended from time to time and codified in 24 Code of Federal Regulations, and other HUD issuances relating to FHA Loans, including the related handbooks, circulars, notices and mortgagee letters.
“Ginnie Mae” means the Government National Mortgage Association, or any successor thereto. 
“Ginnie Mae Contract” means (a) 12 U.S.C. Section 1721(g) and the implementing regulations governing the Ginnie Mae mortgage-backed securities program, 24 C.F.R. Part 300, (b) the applicable guaranty agreements and contractual agreements between Ginnie Mae and the Company, and (c) the Ginnie Mae Guide and other applicable guides, and all amendments to any of the foregoing. 
6

“Ginnie Mae Guide” means the Ginnie Mae Mortgage-Backed Securities Guide, Handbook 5500.3, Rev. 1, and any related announcements, directives and correspondence issued by Ginnie Mae, all as may be amended from time to time. 
“Ginnie Mae MBS” means a Ginnie Mae I MBS or a Ginnie Mae II MBS with respect to which the Company is the issuer of record and that is guaranteed by Ginnie Mae, backed by pools of Ginnie Mae eligible mortgage loans in accordance with Section 306(g) of the National Housing Act, 12 U.S.C. Section 1721(g), the issuance of which and the servicing of such Ginnie Mae eligible mortgage loans by the Company are governed in all respects by the Ginnie Mae Contract.
“Guaranty Fee” means, the monthly guarantee fee required to be paid by the Servicer to Ginnie Mae pursuant to the Ginnie Mae Contract and Ginnie Mae Guide.  
“HUD” means the United States Department of Housing and Urban Development, or any successor thereto.
“Initial Participant” shall have the meaning assigned to such term in the preamble.
“Interim Servicer” means the transferor of an Acquired MSR acting in its capacity as subservicer for the benefit of the Servicer in connection with the purchase thereof.
“Liquidated Asset” means a Mortgage Loan that has been either (a) repurchased from a Mortgage Pool underlying a Ginnie Mae MBS or (b) released from a Mortgage Pool following (i) a short sale or (ii) a sale of the mortgaged property (including REO Property resulting from the foreclosure, or deed in lieu of foreclosure, of the related mortgaged property). 
“Liquidation Proceeds” means, with respect to any Mortgage Loan that becomes a Liquidated Asset, the portion of Advance Reimbursement Amounts recovered in accordance with the Ginnie Mae Contract from the proceeds received on account of the liquidation of such Mortgage Loan.
“Master Repurchase Agreement” shall have the meaning assigned to such term in the recitals.
“MBS” means a mortgage backed security guaranteed by Ginnie Mae pursuant to the Ginnie Mae Contract.  
“MBS Advance” means any advance disbursed by or on behalf of the Servicer from its own funds with respect to any Mortgage Pool as required by the Ginnie Mae Contract in order to provide for the payment of principal and interest amounts due on the related MBS on its remittance date under the Ginnie Mae Contract, specifically excluding (a) the Servicer’s use of excess funds from one Mortgage Pool to cover MBS Advances attributable to another Mortgage Pool in either (i) Servicer’s “Ginnie Mae I MBS Program P&I Custodial Account” or (ii) Servicer’s “Ginnie Mae II MBS Program P&I Custodial Account,” in either case, to cover shortfalls caused by delinquent loans sharing the same “P&I Custodial Account,” as permitted under Section 15-5(A) of the Ginnie Mae Guide, and (b) any advance disbursed by an Interim 
7

Servicer related to Acquired MSRs until such time as Servicer completes reconciliation of such advances with the Interim Servicer and pays the Interim Servicer for such advances.
“MBS Advance Reimbursement Amounts” means any Advance Reimbursement Amounts related to reimbursements for previously made MBS Advances. 
“MBS Entry Date” shall mean the date, during the term of this Agreement and subsequent to the date hereof, on which the Company issues or becomes the issuer with respect to one or more Ginnie Mae MBSs.
“Mortgage” means a mortgage, deed of trust or other security instrument securing a Mortgage Note.
“Mortgage Loan” means a loan secured by a Mortgage on real property (including REO Property resulting from the foreclosure of the real property that had secured such loan), which loan has been included in a Mortgage Pool underlying Ginnie Mae MBS.
“Mortgage Loan Documents” means the Mortgages, Mortgage Notes, assignments and any documents between the mortgagor and the applicable borrower related to the Mortgage Loan.
“Mortgage Note” means the promissory note or other evidence of indebtedness of a borrower that is secured by a Mortgage.
“Mortgage Pool” means a pool or package of Mortgage Loans insured by the FHA or guaranteed by the PIH, USDA or VA backing a Ginnie Mae MBS.
“Original Participation Certificate” shall mean the participation certificate issued in connection with the Original Participation Agreement, which evidenced the related Participation Interest in the Portfolio Excess Spread and the MBS Advance Reimbursement Amounts. 
“P&I Advance Participation Certificate” or “P&I Advance PC” shall mean each participation certificate in the form of Exhibit B-2 attached hereto, which evidences the related Participation Interest in the MBS Advance Reimbursement Amounts related to the Portfolio Mortgage Loans. 
“Participant” shall mean the Initial Participant or any subsequent holder of a Participation Interest in accordance with the terms hereof.
“Participation Certificate” shall mean each participation certificate in the form of Exhibit B attached hereto, which evidences the related Participation Interest. 
“Participation Certificate Register” shall have the meaning assigned to such term in Section 20.
“Participation Certificate Registrar” shall have the meaning assigned to such term in Section 20.
8

“Participation Interest” shall mean each participating beneficial ownership interest (of the type and nature contemplated by 11 U.S.C. § 541(d) of the United States Bankruptcy Code) in the Portfolio Excess Spread, MBS Advance Reimbursement Amounts or Servicing Advance Reimbursement Amounts with respect to the Portfolio, and proceeds thereof together with the other rights and privileges specified in this Agreement as evidenced by the issuance of a Participation Certificate.
“PIH” means the Office of Public and Indian Housing within the United States Department of Housing and Urban Development, or any successor thereto.
“PIH Claim Proceeds” means the portion of guaranty claim proceeds which are received from PIH in the event of a default with respect to a PIH Loan and are permitted reimbursements to the Servicer for MBS Advances or Servicing Advances in accordance with the Ginnie Mae Contract, including any accrued unpaid interest on such MBS Advances or Servicing Advances.
“PIH Loan” means a Mortgage Loan which is the subject of a PIH Mortgage Insurance Contract.
“PIH Mortgage Insurance Contract” means the contractual obligation of the PIH respecting the insurance of a Mortgage Loan.
“Pooled Mortgages” shall have the meaning assigned to such term in Section 2(f).
“Portfolio” means, except with respect to an Excluded Mortgage Pool (and any related Excluded Assets) specified on Schedule I of the related Participation Certificate (as may be updated from time to time pursuant to Sections 2(b) and 3), all of the Mortgage Loans included in all Mortgage Pools related to a Ginnie Mae MBS, whether now existing or hereafter created, for so long as such Ginnie Mae MBS shall remain outstanding, each such Ginnie Mae MBS to be listed on Schedule I to such Participation Certificate (subject to the provisions of Section 3).
“Portfolio Collections” means, with respect to the Portfolio, the funds collected on the related Portfolio Mortgage Loans and allocated as the servicing compensation payable to the Company as servicer of such Portfolio Mortgage Loans pursuant to one or more Servicing Agreements, or as Advance Reimbursement Amounts received by the Company pursuant to such Servicing Agreements, but excluding Ancillary Income and any Guaranty Fee.
“Portfolio Excess Spread” means, with respect to the Portfolio, the rights of the Company, severable from any and all other rights and obligations under the applicable Servicing Agreements, to the Portfolio Total Spread minus the Base Servicing Fee on the Portfolio.
“Portfolio Mortgage Loan” means each Mortgage Loan included in a Mortgage Pool related to a Ginnie Mae MBS that is part of the Portfolio.
“Portfolio Total Spread” means, with respect to the Portfolio, for each Collection Period, the Portfolio Collections received during such Collection Period, but excluding Ancillary Income, any Guaranty Fee, and Advance Reimbursement Amounts.
9

“QIB” shall have the meaning assigned to such term in Section 11. 
“REO Property” means a mortgaged property in which the owner of the related Mortgage Loan has acquired title to such mortgaged property through foreclosure or by deed in lieu of foreclosure.
“Rule 144A” shall have the meaning assigned to such term in Section 11.
“Secured Party” shall have the meaning assigned to such term in the Acknowledgment Agreement.  
“Securities Act” shall have the meaning assigned to such term in Section 5(e).
“Security Interest” shall have the meaning assigned to such term in the Acknowledgment Agreement.  
“Servicer” means the Company in its capacity as the servicer or sub-servicer under the Ginnie Mae Contract in servicing the related Portfolio Mortgage Loans, and any successor issuer appointed as servicer under the Ginnie Mae Contract.
“Servicing Advance Participation Certificate” or “Servicing Advance PC” shall mean each participation certificate in the form of Exhibit B-3 attached hereto, which evidences the related Participation Interest in the Servicing Advance Reimbursement Amounts related to the Portfolio Mortgage Loans.
“Servicing Advance Reimbursement Amounts” means any Advance Reimbursement Amounts related to reimbursements for previously made Servicing Advances.
“Servicing Advances” means Corporate Advances and Escrow Advances.
“Servicing Agreement” means, with respect to each Portfolio Mortgage Loan, any servicing agreement applicable thereto, including the applicable Agency Requirements, and any other agreements under which such Portfolio Mortgage Loan is serviced and administered.
“Servicing Rights” means, with respect to each Portfolio Mortgage Loan, the right to do any and all of the following in accordance with the Ginnie Mae Contract: (a) service and administer such Portfolio Mortgage Loan; (b) collect any payments or monies payable or received for servicing such Portfolio Mortgage Loan (including all Portfolio Total Spread and Advance Reimbursement Amounts); (c) collect any Ancillary Income with respect to such Portfolio Mortgage Loan; (d) enforce the provisions of all agreements or documents creating, defining or evidencing any such servicing rights and all rights of the servicer thereunder, including any clean-up calls and termination options; (e) collect and apply any escrow payments or other similar payments with respect to such Portfolio Mortgage Loan; (f) control and maintain all accounts and other rights to payments related to any of the property described in the other clauses of this definition; (g) possess and use any and all documents, files, records, servicing files, servicing documents, servicing records, data tapes, computer records, or other information pertaining to such Portfolio Mortgage Loan or pertaining to the past, present or prospective 
10

servicing of such Portfolio Mortgage Loan; and (h) enforce any and all rights, powers and privileges incident to any of the foregoing.
“Subservicer Side Letter Agreement” shall have the meaning set forth in the PC Repurchase Agreement.
“Transaction Remittance Date” shall mean the date required in accordance with Section 2.3 of the Subservicer Side Letter Agreement.
“Transfer” shall have the meaning assigned to such term in Section 10.
“USDA” means the Rural Housing Service agency of the Rural Development unit of the United States Department of Agriculture, or any successor.
“USDA Claim Proceeds” means the portion of guarantee claim proceeds which are received from USDA in the event of a default with respect to a USDA Loan and are permitted reimbursements to the Servicer for MBS Advances or Servicing Advances in accordance with the Ginnie Mae Contract, including any accrued unpaid interest on such MBS Advances or Servicing Advances.
“USDA Loan” means a Mortgage Loan which is guaranteed by USDA, as evidenced by a USDA Loan Guarantee Document.
“USDA Loan Guarantee Document” means a loan guarantee document issued by USDA in accordance with 7 C.F.R. § 3555.107.
“VA” means the U.S. Department of Veterans Affairs, an agency of the United States of America, or any successor thereto, including the Secretary of Veterans Affairs.
“VA Claim Proceeds” means the portion of guaranty claim proceeds which are received from VA in the event of a default with respect to a VA Loan and are permitted reimbursements to the Servicer for MBS Advances or Servicing Advances in accordance with the Ginnie Mae Contract, including any accrued unpaid interest on such MBS Advances or Servicing Advances.
“VA Loan” means a Mortgage Loan which is subject of a VA Loan Guaranty Agreement as evidenced by a loan guaranty certificate, or a Mortgage Loan which is a vendor loan sold by the VA.
“VA Loan Guaranty Agreement” means the obligation of the United States to pay a specific percentage of a Mortgage Loan (subject to a maximum amount) upon default of the mortgagor pursuant to the Servicemen’s Readjustment Act, as amended, restated, supplemented or otherwise modified from time to time.
“WSFS” shall have the meaning assigned to such term in Section 26.
Section 2.    Intent; Creation of Participation Interests; Termination of Participation Interests.
11

(a)    In order to obtain greater liquidity, the Company created the Participation Interest in the Portfolio Excess Spread and the MBS Advance Reimbursement Amounts and desires to allocate the Participation Interests in MBS Advance Reimbursement Amounts to a separate Participation Certificate and to create the Participation Interest in Servicing Advance Reimbursement Amounts evidenced by another separate Participation Certificate.
(b)    Unless Schedule I to a Participation Certificate is updated on the applicable MBS Entry Date to reflect that the related Mortgage Pool is an Excluded Mortgage Pool, on each MBS Entry Date, the Portfolio Excess Spread and Advance Reimbursement Amounts related to the Mortgage Loans included in a Mortgage Pool related to a Ginnie Mae MBS on that date shall, automatically and without further action on the part of any Person, become subject to this Agreement and to the related Participation Certificate and shall be a part of the Portfolio.  The Company shall on a monthly basis (and may on a more frequent basis in the Company’s discretion), update Schedule I to each Participation Certificate (which may be maintained in electronic form) to reflect any issuance of Ginnie Mae MBS, if applicable, on the applicable MBS Entry Date and deliver such updated Schedule I to the Participant to be attached to such Participation Certificate; provided, however, that a failure to update or deliver Schedule I, or to attach the updated Schedule I to any Participation Certificate, shall have no effect on the rights and obligations of the parties under this Agreement or such Participation Certificate.
(c)    On the date of the Original Participation Agreement, the Company issued the Original Participation Certificate. Simultaneously with the execution hereof, the Company will amend and restate the Original Participation Certificate into the Excess Spread PC, evidencing a Participation Interest in the Portfolio Excess Spread and issue two new Participation Certificates, each in the related form of Exhibit B hereto, in the name of the Initial Participant, dated the Effective Date and evidencing: (i) with respect to the P&I Advance PC, a Participation Interest in the MBS Advance Reimbursement Amounts and (ii) with respect to the Servicing Advance PC, a Participation Interest in the Servicing Advance Reimbursement Amounts, in each case, with respect to the Portfolio as it exists on the Effective Date, as further described in Schedule I to the related Participation Certificate.  Thereafter, Participant shall be deemed the owner of the applicable Participation Interest described therein.  As of the Effective Date, the Original Participation Certificate will have been returned and cancelled in accordance with Section 24. During the term of the Master Repurchase Agreement, there shall only be one Excess Spread PC, one P&I Advance PC and one Servicing Advance PC, unless otherwise consented to in writing by the Buyer and Ginnie Mae.
(d)    Administration of the Portfolio Excess Spread and the Advance Reimbursement Amounts shall be governed by the terms of this Agreement and each applicable Servicing Agreement, and the servicing and administration of the underlying Portfolio Mortgage Loans and/or REO Properties that support the Portfolio Excess Spread and the Advance Reimbursement Amounts shall be subject in all respects to the provisions of this Agreement and each applicable Servicing Agreement. The Company shall retain record legal title to any payments, distributions and other collections on the Portfolio Excess Spread and the Advance Reimbursement Amounts, in its capacity as the owner of the Servicing Rights, but subject to the Participation Interests, and each Participant shall only be deemed to be in privity with the 
12

Company and in no event whatsoever shall any Participant be construed to be in privity with any underlying investor or owner of any Portfolio Mortgage Loan.
(e)    During the term of the Master Repurchase Agreement, the Participation Interest shall be subject to the Buyer’s lien under the Master Repurchase Agreement on the Servicing Rights and such other rights afforded the Buyer with respect thereto.
(f)    Notwithstanding anything to the contrary contained herein:
(1)    The property subject to the security interest reflected in the Participation Certificates includes all of the right, title and interest of the Company in certain mortgages and/or participation interests related to such mortgages (“Pooled Mortgages”), and pooled under the mortgage-backed securities program of Ginnie Mae, pursuant to section 306(g) of the National Housing Act, 12 U.S.C. § 1721(g);
(2)    To the extent that the security interest reflected in the Participation Certificates relates in any way to the Pooled Mortgages, such security interest is subject and subordinate to all rights, powers and prerogatives of Ginnie Mae, whether now existing or hereafter arising, under and in connection with: (i) 12 U.S.C. § 1721(g) and any implementing regulations; (ii) the terms and conditions of that certain Amended and Restated Acknowledgment Agreement, dated as of October 31, 2018, with respect to the Security Interest, by and among Ginnie Mae, the Company and the Indenture Trustee; (iii) applicable Guaranty Agreements and contractual agreements between Ginnie Mae and the Company and (iv) the Ginnie Mae Mortgage-Backed Securities Guide, Handbook 5500.3 Rev. 1, and other applicable guides;
(3)    Such rights, powers and prerogatives of Ginnie Mae include, but are not limited to, Ginnie Mae’s right, by issuing a letter of extinguishment to the Company, to effect and complete the extinguishment of all redemption, equitable, legal or other right, title or interest of the Company in the Pooled Mortgages, in which event the security interest as it relates in any way to the Pooled Mortgages shall instantly and automatically be extinguished as well; and
(4)    For purposes of clarification, “subject and subordinate” in clause (2) above means, among other things, that any cash held by the Secured Party as collateral and any cash proceeds received by the Secured Party in respect of any sale or other disposition of, collection from, or other realization upon, all or any part of the collateral may only be applied by the Secured Party to the extent that such proceeds have been received by, or for the account of, the Debtor free and clear of all Ginnie Mae rights and other restrictions 
13

on transfer under applicable Ginnie Mae guidelines; provided that this clause (4) shall not be interpreted as establishing rights in favor of Ginnie Mae except to the extent that such rights are reflected in, or arise under, the Ginnie Mae Contract.
Section 3.    Removal of Portfolio Mortgage Loans.  From time to time, the Company may remove Mortgage Loans and/or Mortgage Pools from the Portfolio in connection with a Permitted Disposition. The Company and the Participant shall cooperate to promptly update the schedule to each Participation Certificate to reflect any such removal.  In accordance with such removal, which removal may occur prior to a transfer of economic interests, the Company and the Participant acknowledge that there may be a discrepancy between the timing of such removal and the transfer of interests to a prospective buyer, as well as recognition thereof by Ginnie Mae’s systems.  Consequently, such status may be reflected on the applicable schedule to indicate that such Mortgage Pools are Excluded Mortgage Pools (and assets related thereto are Excluded Assets).  The Participant shall execute any instruments of release as may be reasonably required by the Company in connection with such removal. 
Section 4.    Portfolio Collections and Cash Proceeds.  In the event that the Company receives any amounts on account of Portfolio Excess Spread, Advance Reimbursement Amounts, or Cash Proceeds (to the extent required to avoid an Event of Default and to ensure that the VFN Principal Balance for the related Outstanding VFN does not exceed the related Maximum Permitted Amount), the Company shall or shall cause its designee to remit such amounts on the related Transaction Remittance Date as directed by the related Participant in writing on or prior to the date such distribution is made; provided that, during the term of the Master Repurchase Agreement, any remittances shall be made in accordance with the deposit and remittance requirements as set forth in Sections 2.12 and 6.12 of the Master Repurchase Agreement.
Section 5.    Representations and Warranties of Each Participant. Each Participant represents and warrants to the Company, as of the date hereof and as of the date of any Transfer, and it is specifically understood and agreed, that:
(a)    Such Participant is duly organized and validly existing under the laws of the jurisdiction of its formation.
(b)    The execution and delivery of this Agreement by such Participant, and the performance of, and compliance with, the terms of this Agreement by such Participant, will not violate such Participant’s organizational documents or constitute a default (or an event which, with notice or lapse of time, or both, would constitute a default) under, or result in the breach of, any material agreement or other instrument to which it is a party or which is applicable to it or any of its assets.
(c)    Such Participant has the full power and authority to enter into and consummate all transactions contemplated by this Agreement, has duly authorized the execution, delivery and performance of this Agreement and has duly executed and delivered this Agreement.
14

(d)    Such Participant has not dealt with any broker, investment banker, agent or other Person that may be entitled to any commission or compensation in connection with the sale of the Participation Interest or the consummation of any of the transactions contemplated herein.
(e)    Such Participant is either (a) a “qualified institutional buyer” as defined in Rule 144A under the Securities Act of 1933, as amended (the “Securities Act”) and is acquiring the related Participation Interest for its own account or for the account of one or more qualified institutional buyers for whom it is authorized to act or (B) an “accredited investor” within the meaning of Rule 501 under the Securities Act (an “Accredited Investor”) that is acquiring such Participation Interest for its own account or for the account of one or more Accredited Investors, for investment purposes and not with a view to, or for offer or sale in connection with any distribution in violation of the Securities Act, provided that the provisions of this Section 5(e) shall not apply with respect to the Transfer from the Initial Participant to the Buyer pursuant to the Master Repurchase Agreement. 
The representations and warranties of each Participant contained in this Section 5 are personal to such Participant and no successor or assign of such Participant shall have any liability therefrom.
Section 6.    Representations and Warranties of Company. The Company, as of the date hereof and as of any MBS Entry Date, hereby represents and warrants to, and covenants with, each Participant that:
(a)    The Company is a limited liability company duly organized, existing and in good standing under the laws of the State of Delaware and will remain the same.
(b)    The execution and delivery of this Agreement by the Company, and the performance of, and compliance with, the terms of this Agreement by the Company, will not violate the Company’s organizational documents or constitute a default (or an event which, with notice or lapse of time, or both, would constitute a default) under, or result in the breach of, any material agreement or other instrument to which it is a party or which is applicable to it or any of its assets, in each case which materially and adversely affect the ability of the Company to carry out the transactions contemplated by this Agreement.
(c)    The Company has the full power and authority to enter into and consummate all transactions contemplated by this Agreement, has duly authorized the execution, delivery and performance of this Agreement, and has duly executed and delivered this Agreement.
(d)    The Company has not dealt with any broker, investment banker, agent or other Person that may be entitled to any commission or compensation in connection with the sale of each Participation Interest or the consummation of any of the other transactions contemplated hereby.
(e)    The Company is, and will remain, in compliance with all federal, state and local laws, regulations and orders applicable to the Company and its assets to the extent material to this Agreement.
15

(f)    Neither the Company nor anyone acting on its behalf has offered, transferred, pledged, sold or otherwise disposed of the Participation Certificate, any interest in the Participation Certificates or any other similar security to, or solicited any offer to buy or accept a transfer, pledge or other disposition of the Participation Certificates, any interest in the Participation Certificates or any other similar security from, or otherwise approached or negotiated with respect to the Participation Certificates, any interest in the Participation Certificates or any other similar security with, any person in any manner, or made any general solicitation by means of general advertising or in any other manner, or taken any other action which would constitute a distribution of the Participation Certificates under the Securities Act or which would render the disposition of the Participation Certificates a violation of Section 5 of the Securities Act or require registration pursuant thereto. The foregoing representations and warranties of the Company shall survive (i) the delivery and Transfer of the applicable Participation Interest and Participation Certificate to each Participant and (ii) any transfer by the Company of its rights hereunder.
Section 7.    Servicing and Other Matters.
(a)    Company’s Duties With Respect to Servicing.
(i)    The Company agrees for the benefit of the Participant to service the related Portfolio Mortgage Loans at all times in strict accordance in all material respects with the related Servicing Agreement.  In connection with the Portfolio Mortgage Loans related to each Participation Certificate, the Company shall not, without the express written consent of the Participant (which consent may be withheld in its absolute discretion), (a) terminate or amend any Servicing Rights, or (b) enter into any termination, modification, waiver or amendment of any applicable Servicing Agreement or its rights and duties thereunder, except as required by Ginnie Mae. Notwithstanding anything to the contrary herein or any of the other Program Agreements, it is understood by the parties that Ginnie Mae has the absolute and unconditional right to modify the Ginnie Mae Contract at any time.
(ii)    Under no circumstances shall the Participant be responsible for the servicing acts and omissions of the Company or any other servicer, subservicer or any originator of the Portfolio Mortgage Loans, or for any servicing related obligations or liabilities of any servicer under the Servicing Agreements or any Person under the Mortgage Loan Documents, or for any other obligations or liabilities of the Company.
(iii)    Upon the termination of the Company as issuer or servicer under the applicable Servicing Agreement, the Company shall remain liable to the Participant and the applicable loan owner or master servicer for all liabilities and obligations incurred by the Company while the Company was acting as the servicer thereunder.
(b)    Base Servicing Fees. The Company agrees that, notwithstanding the provisions of the applicable Servicing Agreements, as between the parties hereto, the Company shall be entitled to servicing fees on the Portfolio only to the extent of the applicable 
16

Base Servicing Fee and only to the extent that funds available for the payment of such Base Servicing Fee are available. Under no circumstances shall the Participant be liable to the Company for the payment of any Base Servicing Fee.
Section 8.    Independent Analysis of Each Participant. Each Participant acknowledges that it has, independently and without reliance upon the Company and based on such documents and information as such Participant has deemed appropriate, made the Participant’s own credit analysis and decision to purchase the applicable Participation Interest. Each Participant hereby acknowledges that (except as set forth hereinabove) the Company has made no representations or warranties with respect to the Portfolio Excess Spread, the Advance Reimbursement Amounts or the Participation Interest, and that the Participant assumes all risk of loss in connection with its Participation Interest.
Section 9.    No Creation of a Partnership. Nothing contained in this Agreement, and no action taken pursuant hereto shall be deemed to constitute the Company with any Participant, a partnership, association, joint venture or other entity.
Section 10.    Article 8 Opt-In. The Company hereby irrevocably elects that each Participation Certificate shall constitute and shall remain a “security” for purposes of Article 8 of the Uniform Commercial Code.
Section 11.    Sale of Each Participant’s Interest. Each Participant agrees that it will not sell, assign, transfer, pledge, syndicate, hypothecate, contribute, encumber or otherwise dispose of all or any portion of its applicable Participation Interest (a “Transfer”) without the prior written consent of the Company; provided, that any Transfer permitted by the Program Agreements shall not require such consent.  No transfer of any Participation Certificate shall be made (other than the transfer to the Buyer under the Master Repurchase Agreement) unless (A) such transfer is to a Person that (i) the transferor believes is a qualified institutional buyer (a “QIB”) as defined in Rule 144A (“Rule 144A”) under the Securities Act and is aware that the transferor of such Participation Certificate may be relying on the exemption from the registration requirements of the Securities Act provided by Rule 144A and is acquiring such Participation Certificate for its own account or for the account of one or more QIBs for whom it is authorized to act and (ii) is also a “qualified purchaser” as defined in Section 2(a)(51) of the Investment Company Act and (B) a fully-executed Assignment and Assumption, in the form attached to the applicable Exhibit B to this Agreement is delivered to the Participation Certificate Registrar. The registered Participant shall have the right to inspect the Participation Certificate Register, subject to such reasonable regulations as the Participation Certificate Registrar shall prescribe. The person listed as the owner of a Participation Certificate on the Participation Certificate Register shall be treated as the Participant for purposes of this Agreement and otherwise. Upon surrender for registration of transfer of any Participation Certificate to the Participation Certificate Registrar, the Company shall execute and deliver, in the name of the designated transferee or transferees, one or more new Participation Certificates.
Section 12.    No Pledge or Loan. This Agreement is intended to effect the creation of Participation Interests and shall not be deemed to represent a pledge of any interest of the Company to any Participant, or a loan from any Participant to the Company. Notwithstanding the parties’ stated intent, in the event that any of the sales of the Participation Interests hereunder 
17

shall be re-characterized to be a loan, the Company, as security for the performance by it of its obligations hereunder, hereby grants, assigns and pledges to the Initial Participant a fully perfected first priority security interest in all of Company’s right, title and interest in, to and under the related Portfolio Excess Spread and Advance Reimbursement Amounts, whether now owned or hereafter acquired, now existing or hereafter created and wherever located. 
Section 13.    GOVERNING LAW; WAIVER OF JURY TRIAL. THIS AGREEMENT AND THE RESPECTIVE RIGHTS AND OBLIGATIONS OF THE PARTIES HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE WITH AND GOVERNED BY THE LAWS OF THE STATE OF NEW YORK APPLICABLE TO CONTRACTS MADE AND TO BE PERFORMED ENTIRELY WITHIN SUCH STATE WITHOUT REGARD TO CONFLICTS OF LAW PRINCIPLES (OTHER THAN SECTION 5-1401 AND SECTION 5-1402 OF THE GENERAL OBLIGATIONS LAW, WHICH SHALL GOVERN). EACH PARTY HERETO ACKNOWLEDGES AND AGREES THAT ANY CONTROVERSY WHICH MAY ARISE UNDER THIS AGREEMENT IS LIKELY TO INVOLVE COMPLICATED AND DIFFICULT ISSUES, AND, THEREFORE, EACH SUCH PARTY HEREBY IRREVOCABLY AND UNCONDITIONALLY WAIVES TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY RIGHT SUCH PARTY MAY HAVE TO A TRIAL BY JURY IN RESPECT TO ANY ACTION DIRECTLY OR INDIRECTLY ARISING OUT OF, UNDER OR IN CONNECTION WITH OR RELATING TO THIS AGREEMENT OR THE TRANSACTIONS CONTEMPLATED BY THIS AGREEMENT.
Section 14.    SUBMISSION TO JURISDICTION; WAIVERS . EACH PARTY HERETO HEREBY IRREVOCABLY (I) SUBMITS, FOR ITSELF IN ANY LEGAL ACTION OR PROCEEDING RELATING TO THIS AGREEMENT, OR FOR RECOGNITION AND ENFORCEMENT OF ANY JUDGMENT IN RESPECT THEREOF, TO THE JURISDICTION OF ANY NEW YORK STATE OR FEDERAL COURT SITTING IN THE BOROUGH OF MANHATTAN IN NEW YORK CITY WITH RESPECT TO MATTERS ARISING OUT OF OR RELATING TO THIS AGREEMENT; (II) AGREES THAT ALL CLAIMS WITH RESPECT TO ANY ACTION OR PROCEEDING REGARDING SUCH MATTERS MAY BE HEARD AND DETERMINED IN SUCH NEW YORK STATE OR FEDERAL COURTS; (III) WAIVES, TO THE FULLEST POSSIBLE EXTENT, WITH RESPECT TO SUCH COURTS, THE DEFENSE OF AN INCONVENIENT FORUM; AND (IV) AGREES THAT A FINAL JUDGMENT IN ANY SUCH ACTION OR PROCEEDING SHALL BE CONCLUSIVE AND MAY BE ENFORCED IN OTHER JURISDICTIONS BY SUIT ON THE JUDGMENT OR IN ANY OTHER MANNER PROVIDED BY LAW.
Section 15.    Modifications. Except as expressly provided herein, this Agreement shall not be modified, cancelled or terminated except by an instrument in writing signed by the parties hereto.
Section 16.    Successors and Assigns; Third Party Beneficiaries. This Agreement shall inure to the benefit of and be binding upon the parties hereto and their respective successors and assigns. Except for transferees of Transfers permitted pursuant to the terms hereof, none of the provisions of this Agreement shall be for the benefit of or enforceable by any Person not a party hereto.
18

Section 17.    Counterparts; Facsimile Execution. This Agreement may be executed in any number of counterparts and all of such counterparts shall together constitute one and the same instrument. The parties agree that this Agreement, any addendum or amendment hereto or any other document necessary for the consummation of the transactions contemplated by this Agreement may be accepted, executed or agreed to through the use of an electronic signature in accordance with the Electronic Signatures in Global and National Commerce Act, 15 U.S.C. § 7001 et seq, Official Text of the Uniform Electronic Transactions Act as approved by the National Conference of Commissioners on Uniform State Laws at its Annual Conference on July 29, 1999 and any applicable state law. Any document accepted, executed or agreed to in conformity with such laws will be binding on all parties hereto to the same extent as if it were physically executed and each party hereby consents to the use of any secure third party electronic signature capture service with appropriate document access tracking, electronic signature tracking and document retention.
Section 18.    Captions. The titles and headings of the paragraphs of this Agreement have been inserted for convenience of reference only and are not intended to summarize or otherwise describe the subject matter of the paragraphs and shall not be given any consideration in the construction of this Agreement.
Section 19.    Notices. All notices required hereunder shall be given by telephone (confirmed in writing) or shall be in writing and personally delivered or sent by facsimile transmission, reputable overnight delivery service or certified United States mail, postage prepaid, and addressed to the respective parties at their addresses set forth on Exhibit A or otherwise as informed to the other parties by written notice given as aforesaid. All written notices so given shall be deemed effective upon receipt or, if mailed, upon the earlier to occur of receipt or the expiration of the fourth day following the date of mailing.
Section 20.    Participant Register. The ownership of each Participation Interest shall be registered on a record of ownership located in the United States (the “Participation Certificate Register”) maintained by the Company (the “Participation Certificate Registrar”). The Participation Certificate Register shall contain the name and address of the holder of each Participation Certificate and the name and address of any transferee of such Participation Certificate, together with wire instructions for such holder or transferee, of which the Participation Certificate Registrar has received actual notice, which requirements are intended to comply with U.S. Treasury regulations section 5f.103-1(c). Subject to the Transfers contemplated in Section 11 hereof, each Participation Certificate shall be registered as to its percentage Participation Interest and may be transferred to any third person only by surrendering such Participation Certificate to the Participation Certificate Registrar and the issuance of a new Participation Certificate to the transferee in compliance with the requirements of this Agreement, which is intended to comply with U.S. Treasury regulations section 1.871-14(c). The Participation Certificate Register shall be available for inspection from time to time during normal business hours and upon reasonable prior notice to the Participation Certificate Registrar. Each Participation Certificate is intended to qualify as a “pass-through certificate” within the meaning of U.S. Treasury Regulations Section 1.871-14(d).  Notwithstanding anything else in this Agreement to the contrary, the right to receive payments with respect to a Participation Interest hereunder may be transferred only if the Transfer is registered on such record of ownership and the transferee is identified as the owner of an interest in the obligation. The 
19

Participants shall be entitled to treat the registered holder of each Participation Interest (as recorded on such record of ownership) as the owner in fact thereof for all purposes and shall not be bound to recognize any equitable or other claim to or interest in such Participation Interest or hereunder on the part of any other person or entity.
Section 21.    Third Party Costs. The Company agrees to pay the reasonable out of pocket costs of Participant related (i) to the negotiation, execution, and closing of the transactions contemplated by this Agreement and (ii) the ongoing administrative costs of the Participant related to the tracking, reporting and administration of the investments made pursuant to this Agreement.
Section 22.    Tax Information. To facilitate each Participant’s annual tax reporting the Company shall provide to such Participant the relevant IRS Form 1065 K-1s and other necessary tax information, provided to the Company, which corresponds to all of such Participant’s Portfolio Collections arising from or related to applicable Participation Interests.
Section 23.    Conflicts. In the event of any conflict between the terms of this Agreement and the Master Repurchase Agreement the terms of the Master Repurchase Agreement shall prevail.
Section 24.    Conditions Precedent Satisfied. In order for this Agreement to be effective, the Participant shall have delivered to the Company the Original Participation Certificate, and the Company shall have cancelled the Original Participation Certificate.
Section 25.    Amendment and Restatement; Consent.  As of the date hereof, the terms and conditions of the Original Participation Agreement shall be amended and restated as set forth herein and the Original Participation Agreement shall be superseded by this Agreement.  The rights and obligations of the parties evidenced by the Original Participation Agreement shall be evidenced by this Agreement and shall continue to be in full force and effect as set forth in this Agreement.  Each of the Company, the Initial Participant, the Buyer, the Administrative Agent and CSCIB, as Noteholder of 100% of the Outstanding VFN, hereby consents to this Agreement and acknowledges and agrees that the amendments effected by this Agreement shall become effective on the Effective Date.

Section 26.    Owner Trustee Limitation of Liability.  It is expressly understood and agreed by the parties hereto that (a) this Agreement is executed and delivered by Wilmington Savings Fund Society, FSB (“WSFS”), not individually or personally but solely as trustee of Buyer, in the exercise of the powers and authority conferred and vested in it, (b) each of the representations, warranties, undertakings and agreements herein made on the part of Buyer is made and intended not as personal representations, warranties, undertakings and agreements by WSFS but is made and intended for the purpose of binding only Buyer, (c) nothing herein contained shall be construed as creating any liability on WSFS, individually or personally, to perform any covenant either expressed or implied contained herein, all such liability, if any, being expressly waived by the parties hereto and by any Person claiming by, through or under the parties hereto, (d) WSFS has made no investigation as to the accuracy or completeness of any representations or warranties made by Buyer in this Agreement and (e) under no circumstances shall WSFS be personally liable for the payment of any indebtedness or expenses of Buyer or be 
20

liable for the breach or failure of any obligation, representation, warranty or covenant made or undertaken by Buyer under this Agreement or any other related documents.

[REMAINDER OF PAGE INTENTIONALLY BLANK]
21

IN WITNESS WHEREOF, the Company and the Initial Participant have caused this Agreement to be duly executed as of the day and year first above written.
LOANDEPOT.COM, LLC, as the Company
By:        
Name:    
Title:    
LOANDEPOT.COM, LLC, as the Initial Participant
By:        
Name:    
Title:    

loanDepot GMSR Master Trust – Second Amended and Restated GMSR Participation Agreement

CONSENTED AND AGREED TO BY: 
CREDIT SUISSE FIRST BOSTON MORTGAGE CAPITAL LLC, as Administrative Agent 
By:        
Name:
Title:

CONSENTED AND AGREED TO BY:
loanDepot GMSR Master Trust – Second Amended and Restated GMSR Participation Agreement

CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, as Noteholder of 100% of the Outstanding VFNs
By:    
Name:
Title:
By:    
Name:
Title:

CONSENTED AND AGREED TO BY:
loanDepot GMSR Master Trust – Second Amended and Restated GMSR Participation Agreement

			
	LOANDEPOT GMSR MASTER TRUST, as Buyer
By:    Wilmington Savings Fund Society, FSB, not in its individual capacity but solely as Owner Trustee

	By:    
Name:    
Title:    

loanDepot GMSR Master Trust – Second Amended and Restated GMSR Participation Agreement

EXHIBIT A

NOTICE ADDRESSES
Company:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], EVP, Treasurer
Phone Number: [***]
E-mail: [***]
With copies to:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], CFO
Phone Number: [***]
E-mail: [***]

LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], EVP, General Counsel
Email: [***]

Participants:
As set forth in the Participation Certificate Register.

A-1

EXHIBIT B -1

FORM OF 

SECOND AMENDED AND RESTATED GINNIE MAE MSR EXCESS SPREAD PARTICIPATION CERTIFICATE
This is a participation interest certificate (“Participation Certificate”) evidencing a participation interest granted to the Participant (as defined herein) in the Portfolio Excess Spread related to the Mortgage Loans included in a Mortgage Pool related to a Ginnie Mae MBS with respect to which LOANDEPOT.COM, LLC is the issuer of record, including those identified on Schedule I attached hereto (but specifically excluding those noted as excluded on Schedule I), as such schedule may be amended from time to time in accordance with, and as more particularly described in, the Second Amended and Restated GMSR Participation Agreement, dated as of November 15, 2021 (as amended, restated, supplemented or otherwise modified from time to time, the “Participation Agreement”), by and between LOANDEPOT.COM, LLC (the “Company”) and LOANDEPOT.COM, LLC (the “Initial Participant”).  Capitalized terms used herein and not otherwise defined shall have the meaning ascribed to them in the Participation Agreement.
Pursuant to the terms of the Participation Agreement, the Company hereby grants a Participation Interest in the Portfolio Excess Spread to __________, (as the registrant for collateral purposes of loanDepot.com, LLC, as the Initial Participant, the “Participant”):
Certificate No. 1    Percentage Interest: 100%
THIS PARTICIPATION CERTIFICATE HAS NOT BEEN REGISTERED OR QUALIFIED UNDER THE SECURITIES ACT OF 1933, AS AMENDED (THE “SECURITIES ACT”), OR THE SECURITIES LAWS OF ANY STATE. ANY RESALE, TRANSFER OR OTHER DISPOSITION OF THIS PARTICIPATION CERTIFICATE WITHOUT SUCH REGISTRATION OR QUALIFICATION MAY BE MADE ONLY IN A TRANSACTION WHICH DOES NOT REQUIRE SUCH REGISTRATION OR QUALIFICATION AND IN ACCORDANCE WITH THE PROVISIONS OF SECTION 11 OF THE PARTICIPATION AGREEMENT.
The Company hereby irrevocably elects that this Participation Certificate shall constitute and shall remain a “security” for purposes of Article 8 of the Uniform Commercial Code.
This Participation Certificate is subject to the terms, provisions and conditions of the Participation Agreement, as to each of which the holder of this Participation Certificate, by virtue of the acceptance hereof, assents and by which such holder is bound.
This Participation Certificate shall be construed in accordance with the internal laws of the State of New York applicable to agreements made and to be performed in said State, without regard to conflicts of law principles (other than Section 5-1401 and Section 5-1402 of the New York General Obligations Law, which shall govern), and the obligations, rights and remedies of the holder hereof shall be determined in accordance with such laws.
 [SIGNATURE FOLLOWS]
Exhibit B-1

IN WITNESS WHEREOF, the Company has caused this Participation Certificate to be duly executed.
LOANDEPOT.COM, LLC
By:        
Authorized Officer/Authorized Signer
Address for Notices:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
[***], EVP, Treasurer
Phone Number: [***]
E-mail: [***]

With copies to:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], CFO
Phone Number: [***]
E-mail: [***]

LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], EVP, General Counsel
Email: [***]

Exhibit B-1

ASSIGNMENT AND ASSUMPTION
FOR VALUE RECEIVED, the undersigned Assignor hereby sell(s), assign(s) and transfer(s) unto     
    
    
(please print or typewrite name and address including postal zip code of Assignee)
the Participation Interest evidenced by the within Participation Certificate and hereby authorize(s) the registration of transfer of such Participation Interest to the above named assignee on the Participation Certificate Register of the Company. The Participation Certificate is subject to the terms, provisions and conditions of the Participation Agreement.
I (we) further direct the issuance of a new certificate of a like percentage interest and class to the above named assignee and delivery of such certificate to the following address: 
    
    
    
Dated: _______________
    
Signature by or on behalf of Assignor
ACCEPTANCE:
The undersigned Assignee hereby accepts and assumes all of the rights, interests and obligations of the Participation Interest holder under the Participation Agreement pursuant to which the participation interest transferred hereby was created. The undersigned Assignee hereby makes the representations and warranties contained in Section 5 of the Participation Agreement to the Company and to the Assignor.
Dated: _______________
    
Signature by or on behalf of Assignee
Exhibit B-1

DISTRIBUTION INSTRUCTIONS
Assignee should include the following for purposes of distribution of any proceeds of a Participation Interest:
Distributions shall, if permitted, be made by wire transfer or otherwise, in immediately available funds, to     
    
     for the account of
    .
Distributions made by check (such check to be made payable to _______________) 
and all applicable statements and notices should be mailed to     
    
    .
This information is provided by __________________________, the assignee named above, or _____________________________________, as its agent.
Exhibit B-1

SCHEDULE I
TO PARTICIPATION CERTIFICATE
																					
			
	Ginnie Mae Pool Number	MBS Entry Date	Issued UPB	Issued Number of Loans	
					

**Note:  The Company is the issuer of record with respect to the pools specified below; however, the related servicing rights are either ineligible pursuant to the Master Repurchase Agreement or have been sold or are otherwise committed to be sold and accordingly are not subject to this Participation Certificate:

												
	Ginnie Mae Pool Number	MBS Entry Date	Issued UPB	Issued Number of Loans

Schedule I to Exhibit B-1

EXHIBIT B-2

FORM OF 

GINNIE MAE MSR 
P&I ADVANCE PARTICIPATION CERTIFICATE
This is a participation interest certificate (“Participation Certificate”) evidencing a participation interest granted to the Participant (as defined herein) in the MBS Advance Reimbursement Amounts related to the Mortgage Loans included in a Mortgage Pool related to a Ginnie Mae MBS with respect to which LOANDEPOT.COM, LLC is the issuer of record, including those identified on Schedule I attached hereto (but specifically excluding those noted as excluded on Schedule I), as such schedule may be amended from time to time in accordance with, and as more particularly described in, the Second Amended and Restated GMSR Participation Agreement, dated as of November 15, 2021 (as amended, restated, supplemented or otherwise modified from time to time, the “Participation Agreement”), by and between LOANDEPOT.COM, LLC (the “Company”) and LOANDEPOT.COM, LLC (the “Initial Participant”).  Capitalized terms used herein and not otherwise defined shall have the meaning ascribed to them in the Participation Agreement.
Pursuant to the terms of the Participation Agreement, the Company hereby grants a Participation Interest in the MBS Advance Reimbursement Amounts to __________, (as the registrant for collateral purposes of loanDepot.com, LLC, as the Initial Participant, the “Participant”):
Certificate No. 1    Percentage Interest: 100%
THIS PARTICIPATION CERTIFICATE HAS NOT BEEN REGISTERED OR QUALIFIED UNDER THE SECURITIES ACT OF 1933, AS AMENDED (THE “SECURITIES ACT”), OR THE SECURITIES LAWS OF ANY STATE. ANY RESALE, TRANSFER OR OTHER DISPOSITION OF THIS PARTICIPATION CERTIFICATE WITHOUT SUCH REGISTRATION OR QUALIFICATION MAY BE MADE ONLY IN A TRANSACTION WHICH DOES NOT REQUIRE SUCH REGISTRATION OR QUALIFICATION AND IN ACCORDANCE WITH THE PROVISIONS OF SECTION 11 OF THE PARTICIPATION AGREEMENT.
The Company hereby irrevocably elects that this Participation Certificate shall constitute and shall remain a “security” for purposes of Article 8 of the Uniform Commercial Code.
This Participation Certificate is subject to the terms, provisions and conditions of the Participation Agreement, as to each of which the holder of this Participation Certificate, by virtue of the acceptance hereof, assents and by which such holder is bound.
This Participation Certificate shall be construed in accordance with the internal laws of the State of New York applicable to agreements made and to be performed in said State, without regard to conflicts of law principles (other than Section 5-1401 and Section 5-1402 of the New York General Obligations Law, which shall govern), and the obligations, rights and remedies of the holder hereof shall be determined in accordance with such laws.
[SIGNATURE FOLLOWS]
Exhibit B-2

IN WITNESS WHEREOF, the Company has caused this Participation Certificate to be duly executed.
LOANDEPOT.COM, LLC
By:        
Authorized Officer/Authorized Signer
Address for Notices:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
[***], EVP, Treasurer
Phone Number: [***]
E-mail: [***]

With copies to:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], CFO
Phone Number: [***]
E-mail: [***]

LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], EVP, General Counsel
Email: [***]
Exhibit B-2

ASSIGNMENT AND ASSUMPTION
FOR VALUE RECEIVED, the undersigned Assignor hereby sell(s), assign(s) and transfer(s) unto     
    
    
(please print or typewrite name and address including postal zip code of Assignee)
the Participation Interest evidenced by the within Participation Certificate and hereby authorize(s) the registration of transfer of such Participation Interest to the above named assignee on the Participation Certificate Register of the Company. The Participation Certificate is subject to the terms, provisions and conditions of the Participation Agreement.
I (we) further direct the issuance of a new certificate of a like percentage interest and class to the above named assignee and delivery of such certificate to the following address: 
    
    
    
Dated: _______________
    
Signature by or on behalf of Assignor
ACCEPTANCE:
The undersigned Assignee hereby accepts and assumes all of the rights, interests and obligations of the Participation Interest holder under the Participation Agreement pursuant to which the participation interest transferred hereby was created. The undersigned Assignee hereby makes the representations and warranties contained in Section 5 of the Participation Agreement to the Company and to the Assignor.
Dated: _______________
    
Signature by or on behalf of Assignee
Exhibit B-2

DISTRIBUTION INSTRUCTIONS
Assignee should include the following for purposes of distribution of any proceeds of a Participation Interest:
Distributions shall, if permitted, be made by wire transfer or otherwise, in immediately available funds, to     
    
     for the account of
    .
Distributions made by check (such check to be made payable to _______________) 
and all applicable statements and notices should be mailed to     
    
    .
This information is provided by __________________________, the assignee named above, or _____________________________________, as its agent.
Exhibit B-2

SCHEDULE I
TO PARTICIPATION CERTIFICATE
																					
			
	Ginnie Mae Pool Number	MBS Entry Date	Issued UPB	Issued Number of Loans	
					

**Note:  The Company is the issuer of record with respect to the pools specified below; however, the related servicing rights are either ineligible pursuant to the Master Repurchase Agreement or have been sold or are otherwise committed to be sold and accordingly are not subject to this Participation Certificate:

												
	Ginnie Mae Pool Number	MBS Entry Date	Issued UPB	Issued Number of Loans

Schedule I to Exhibit B-2

EXHIBIT B-3

FORM OF 

GINNIE MAE MSR 
SERVICING ADVANCE PARTICIPATION CERTIFICATE
This is a participation interest certificate (“Participation Certificate”) evidencing a participation interest granted to the Participant (as defined herein) in the Servicing Advance Reimbursement Amounts related to the Mortgage Loans included in a Mortgage Pool related to a Ginnie Mae MBS with respect to which LOANDEPOT.COM, LLC is the issuer of record, including those identified on Schedule I attached hereto (but specifically excluding those noted as excluded on Schedule I), as such schedule may be amended from time to time in accordance with, and as more particularly described in, the Second Amended and Restated GMSR Participation Agreement, dated as of November 15, 2021 (as amended, restated, supplemented or otherwise modified from time to time, the “Participation Agreement”), by and between LOANDEPOT.COM, LLC (the “Company”) and LOANDEPOT.COM, LLC (the “Initial Participant”).  Capitalized terms used herein and not otherwise defined shall have the meaning ascribed to them in the Participation Agreement.
Pursuant to the terms of the Participation Agreement, the Company hereby grants a Participation Interest in the Servicing Advance Reimbursement Amounts to __________, (as the registrant for collateral purposes of loanDepot.com, LLC, as the Initial Participant, the “Participant”):
Certificate No. 1    Percentage Interest: 100%
THIS PARTICIPATION CERTIFICATE HAS NOT BEEN REGISTERED OR QUALIFIED UNDER THE SECURITIES ACT OF 1933, AS AMENDED (THE “SECURITIES ACT”), OR THE SECURITIES LAWS OF ANY STATE. ANY RESALE, TRANSFER OR OTHER DISPOSITION OF THIS PARTICIPATION CERTIFICATE WITHOUT SUCH REGISTRATION OR QUALIFICATION MAY BE MADE ONLY IN A TRANSACTION WHICH DOES NOT REQUIRE SUCH REGISTRATION OR QUALIFICATION AND IN ACCORDANCE WITH THE PROVISIONS OF SECTION 11 OF THE PARTICIPATION AGREEMENT.
The Company hereby irrevocably elects that this Participation Certificate shall constitute and shall remain a “security” for purposes of Article 8 of the Uniform Commercial Code.
This Participation Certificate is subject to the terms, provisions and conditions of the Participation Agreement, as to each of which the holder of this Participation Certificate, by virtue of the acceptance hereof, assents and by which such holder is bound.
This Participation Certificate shall be construed in accordance with the internal laws of the State of New York applicable to agreements made and to be performed in said State, without regard to conflicts of law principles (other than Section 5-1401 and Section 5-1402 of the New York General Obligations Law, which shall govern), and the obligations, rights and remedies of the holder hereof shall be determined in accordance with such laws.
 [SIGNATURE FOLLOWS]
Exhibit B-3

IN WITNESS WHEREOF, the Company has caused this Participation Certificate to be duly executed.
LOANDEPOT.COM, LLC
By:        
Authorized Officer/Authorized Signer
Address for Notices:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
[***], EVP, Treasurer
Phone Number: [***]
E-mail: [***]

With copies to:
LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], CFO
Phone Number: [***]
E-mail: [***]

LOANDEPOT.COM, LLC
26642 Towne Centre Drive
Foothill Ranch, CA 92610
Attention: [***], EVP, General Counsel
Email: [***]

Exhibit B-3

ASSIGNMENT AND ASSUMPTION
FOR VALUE RECEIVED, the undersigned Assignor hereby sell(s), assign(s) and transfer(s) unto     
    
    
(please print or typewrite name and address including postal zip code of Assignee)
the Participation Interest evidenced by the within Participation Certificate and hereby authorize(s) the registration of transfer of such Participation Interest to the above named assignee on the Participation Certificate Register of the Company. The Participation Certificate is subject to the terms, provisions and conditions of the Participation Agreement.
I (we) further direct the issuance of a new certificate of a like percentage interest and class to the above named assignee and delivery of such certificate to the following address: 
    
    
    
Dated: _______________
    
Signature by or on behalf of Assignor
ACCEPTANCE:
The undersigned Assignee hereby accepts and assumes all of the rights, interests and obligations of the Participation Interest holder under the Participation Agreement pursuant to which the participation interest transferred hereby was created. The undersigned Assignee hereby makes the representations and warranties contained in Section 5 of the Participation Agreement to the Company and to the Assignor.
Dated: _______________
    
Signature by or on behalf of Assignee
Exhibit B-3

DISTRIBUTION INSTRUCTIONS
Assignee should include the following for purposes of distribution of any proceeds of a Participation Interest:
Distributions shall, if permitted, be made by wire transfer or otherwise, in immediately available funds, to     
    
     for the account of
    .
Distributions made by check (such check to be made payable to _______________) 
and all applicable statements and notices should be mailed to     
    
    .
This information is provided by __________________________, the assignee named above, or _____________________________________, as its agent.
Exhibit B-3

SCHEDULE I
TO PARTICIPATION CERTIFICATE
																					
			
	Ginnie Mae Pool Number	MBS Entry Date	Issued UPB	Issued Number of Loans	
					

**Note:  The Company is the issuer of record with respect to the pools specified below; however, the related servicing rights are either ineligible pursuant to the Master Repurchase Agreement or have been sold or are otherwise committed to be sold and accordingly are not subject to this Participation Certificate:

												
	Ginnie Mae Pool Number	MBS Entry Date	Issued UPB	Issued Number of Loans

Schedule I to Exhibit B-3

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00340-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00340-of-00352.parquet"}]]