Document:

EX-10.12

 Exhibit 10.12 

FORM OF TAX SHARING AGREEMENT 

BY AND AMONG 

DIAMONDBACK ENERGY, INC. 

AND 
 RATTLER MIDSTREAM
OPERATING LLC 

 TAX SHARING AGREEMENT 

This Tax Sharing Agreement (the “Agreement”), dated this [    ] day of
[        ], is entered into by and among DIAMONDBACK ENERGY, INC. (“DBE”), a Delaware corporation, and RATTLER MIDSTREAM OPERATING LLC (“Rattler”), a Delaware
limited liability company. 
 RECITALS 

WHEREAS, the revised franchise tax imposed by the State of Texas under Chapter 171 of the Texas Tax Code, generally effective for reports due
on or after January 1, 2008, requires taxable entities that are part of an affiliated group engaged in a unitary business to report as a combined group; 

WHEREAS, DBE owns a “controlling interest” in Rattler within the meaning of Texas Tax Code §171.0001(8)(C) and expects to file
Combined Returns, as required by Texas Tax Code §171.1014, for the combined group that includes DBE and Rattler; and 
 WHEREAS, the
Parties (as defined below) wish to set forth the general principles under which they will allocate and share various Taxes (as defined below) and related liabilities; 

WHEREAS, DBE, on behalf of itself and its present and future subsidiaries other than the Rattler Group (“DBE Group”),
and Rattler, on behalf of itself and its present and future subsidiaries (the “Rattler Group”), are entering into this Agreement to provide for the allocation among the DBE Group and the Rattler Group of all responsibilities,
liabilities and benefits relating to any Tax for which a Combined Return (as defined below) is filed for a taxable period including or beginning on or after the Effective Date (as defined below) and to provide for certain other matters; 

NOW, THEREFORE, in consideration of the mutual agreements, provisions and covenants contained in this Agreement, and other good and valuable consideration,
the receipt and sufficiency of which are hereby acknowledged, the Parties hereby agree as follows: 
 ARTICLE I 

Definitions 

1.1    Definitions. The following terms shall have the following meanings (such meanings to be equally
applicable to both the singular and the plural forms of the terms defined): 
 “Accounting Referee” is defined in
Section 6.11 herein. 
 “Code” means the Internal Revenue Code of 1986, as amended, or any successor thereto,
as in effect for the taxable period in question. 
 “Combined Group” means a group of corporations or other entities
that files a Combined Return. 

  
 2 

 “Combined Return” means any Tax Return (other than a Tax Return for
U.S. federal income taxes) filed on a consolidated, combined (including nexus combination, worldwide combination, domestic combination, line of business combination or any other form of combination) or unitary basis that includes activities of any
member of the DBE Group and any member of the Rattler Group. 
 “DBE Group” is defined in the Recitals to this
Agreement. 
 “Effective Date” means
[                    ]. 

“Final Determination” means the final resolution of any Tax (or other matter) for a taxable period, including related
interest or penalties, that, under applicable law, is not subject to further appeal, review or modification through proceedings or otherwise, including (i) by the expiration of a statute of limitations or a period for the filing of claims for
refunds, amending Tax Returns, appealing from adverse determinations or recovering any refund (including by offset), (ii) by a decision, judgment, decree or other order by a court of competent jurisdiction, which has become final and unappealable,
(iii) by a closing agreement, an accepted offer in compromise or a comparable agreement under laws of the particular Tax Authority, (iv) by execution of a form under the laws of a Tax Authority that is comparable to an Internal Revenue
Service Form 870 or 870-AD (excluding, however, with respect to a particular Tax Item for a particular taxable period any such form that reserves (whether by its terms or by operation of law) the right of the
taxpayer to file a claim for refund and/or the right of the Tax Authority to assert a further deficiency with respect to such Tax Item for such period) or (v) by any allowance of a refund or credit, but only after the expiration of all periods
during which such refund may be adjusted. 
 “Notice” is defined in Section 6.1 herein. 

“Party” means each of DBE and Rattler, and solely for purposes of this definition, “DBE” includes the DBE
Group and Rattler includes the Rattler Group. Each of DBE and Rattler shall cause the DBE Group and the Rattler Group, respectively, to comply with this Agreement. 

“Rattler Group” is defined in the Recitals to this Agreement. 

“Rattler Group Combined Tax Liability” means, with respect to any Tax, the Rattler Group’s liability for such Tax
owed with respect to a Combined Return for a taxable period, as determined under Section 3.2 of this Agreement. 
 “Rattler
Group Deposit” is defined in Section 3.4 herein. 
 “Rattler Group Members” means those entities
included in the Rattler Group. 
 “Rattler Group Pro Forma Combined Return” means a pro forma Tax Return or other
schedule prepared to reflect the Rattler Group Combined Tax Liability pursuant to Section 3.2 of this Agreement. 

“Reporting Entity” means the entity that is required by statute or rule to file the particular Combined
Return. 

  
 3 

 “Tax Attribute” means a Tax Item of a member of the Rattler Group
reflected on a Combined Return that is comparable to one or more of the following attributes with respect to a U.S. federal income tax consolidated tax return: a net operating loss, a net capital loss, an unused investment credit, an unused foreign
tax credit, an excess charitable contribution, a U.S. federal minimum tax credit or a U.S. federal general business credit (but not tax basis or earnings and profits). 

“Tax Authority” means a domestic governmental authority (other than the United States) or any subdivision, agency,
commission or authority thereof or any quasi-governmental or private body having jurisdiction over the assessment, determination, collection or imposition of any Tax (excluding the U.S. Internal Revenue Service). 

“Tax Controversy” means any audit, examination, dispute, suit, action, litigation or other judicial or administrative
proceeding initiated by DBE or Rattler or any Tax Authority. 
 “Tax Item” means any item of income, gain, loss,
deduction or credit, or other item reflected on a Tax Return or any Tax Attribute. 
 “Tax Return” means any return,
report, certificate, form or similar statement or document (including any related or supporting information or schedule attached thereto and any information return, amended Tax Return, claim for refund or declaration of estimated tax) required to be
supplied to, or filed with, a Tax Authority in connection with the determination, assessment or collection of any Tax or the administration of any laws, regulations or administrative requirements relating to any Tax. 

“Tax” or “Taxes” means all forms of taxation, whenever created or imposed, and whether imposed
by a domestic, local, municipal, governmental, state, federation or other body, but excluding taxes imposed by the United States, and without limiting the generality of the foregoing, shall include net income, alternative or add-on minimum, gross income, sales, use, ad valorem, gross receipts, value added, franchise, profits, license, transfer, recording, withholding, payroll, employment, excise, severance, stamp, occupation, premium,
property, windfall profit, custom duty or other tax, governmental fee or like assessment or charge of any kind whatsoever, together with any related interest, penalties or other additions to tax, or additional amounts imposed by any such Tax
Authority. 
 Any term used but not capitalized herein that is defined in the Code or in the Treasury Regulations thereunder shall, to the
extent required by the context of the provision at issue, have the meaning assigned to it in the Code or such regulation. 
 ARTICLE II

 Preparation and Filing of Tax Returns 

2.1    Manner of Filing 

(a)    For periods that include the Effective Date and periods after the Effective Date, DBE shall have the
sole and exclusive responsibility for the preparation and filing of, and shall cause the Reporting Entity to prepare and file, all Combined Returns. DBE shall 

  
 4 

 
be authorized to take, in its sole discretion, any and all action necessary or incidental to the preparation and filing of a Combined Return, including, without limitation, (i) making
elections and adopting accounting methods, (ii) filing all extensions of time, including extensions of time for payment of tax, (iii) filing claims for refund or credit or (iv) giving waivers or bonds. 

(b)    For periods that include the Effective Date and periods after the Effective Date, the Rattler Group
shall have the sole and exclusive responsibility for the preparation and filing of, and shall prepare and file or cause to be prepared and filed, all Tax Returns of the Rattler Group Members that are not Combined Returns. 

(c)    DBE shall have sole discretion to include, or cause to be included, in a Combined Return for any Tax
any member of the Rattler Group for which inclusion in such Combined Return is elective; provided, however, that the Rattler Group Combined Tax Liability for any period shall not exceed the aggregate of (x) each such elective Rattler Group
Member’s liability for such Tax for such period, computed as if such Rattler Group Member were not included in such Combined Return and (y) the Rattler Group Combined Tax Liability calculated for the Rattler Group Members for which
inclusion is not elective. DBE shall provide pro forma Tax Returns pursuant to Section 3.5 of this Agreement to support the calculation of the amount of any decrease in the Rattler Group Combined Tax Liability pursuant to this
Section 2.1(c). 
 2.2    Franchise Tax Taxable Period. References to “taxable
period” for any franchise or other doing business Tax shall mean the taxable period during which the income, operations, assets or capital comprising the base of such Tax is measured, regardless of whether the right to do business for another
taxable period is obtained by the payment of such franchise Tax. 
 ARTICLE III 

Allocation of Taxes 

3.1    Liability of the Rattler Group for Combined Taxes. For each Tax for each taxable period that includes
or begins on or after the Effective Date and for which a member of the Rattler Group is included in a Combined Return, Rattler, for so long as it is included in a Combined Return, shall be liable to DBE for an amount equal to the Rattler Group
Combined Tax Liability in respect of such Tax. If Rattler ceases to be included on a Combined Return during a tax year, Rattler shall calculate and determine its share of the Combined Tax Liability to be that portion of the Rattler Group’s
separate return tax liability that is allocable to the portion of the tax year in which Rattler was included on a Combined Return. 

3.2    Rattler Group Combined Tax Liability. With respect to each Tax for each taxable period that includes
or begins on or after the Effective Date and for which a member of the Rattler Group is included in a Combined Return, the Rattler Group Combined Tax Liability for such Tax for such taxable period shall be the Tax for such taxable period as
determined on a Rattler Group Pro Forma Combined Return prepared: 
 (a)    by including only the Tax
Items of the members of the Rattler Group that are included in the Combined Return and computing the liability of the Rattler Group Members for such Tax as if such Rattler Group Members were included in a separate combined, consolidated or unitary
return that includes only the Rattler Group Members; 

  
 5 

 (b)    except as provided in Section 3.2(e) hereof,
using all elections, accounting methods and conventions used on the Combined Return for such period; 

(c)    applying the Tax rate in effect for the Combined Return of the Combined Group for such taxable
period; 
 (d)    assuming that the Rattler Group elects not to carry back any net operating losses; and

 (e)    assuming that the Rattler Group’s utilization of any Tax Attribute carryforward or
carryback is limited to the Tax Attributes of the Rattler Group that would be available if the Rattler Group Combined Tax Liability for each taxable period ending after the Effective Date were determined in accordance with this Section 3.2.

 3.3    Preparation and Delivery of Pro Forma Tax Returns. Not later than 90 days following the date on
which a Combined Return is filed with the appropriate Tax Authority, DBE shall prepare and deliver to Rattler the related Rattler Group Pro Forma Combined Return calculating the Rattler Group Combined Tax Liability attributable to the period covered
by such filed Combined Return. 
 3.4    Payment of Tax. DBE shall timely pay (or shall cause to be timely
paid) any Tax reflected on a Combined Return and hold Rattler harmless for all liability for such Tax. In the event DBE is required to make an estimated payment or deposit of any Tax of any Combined Group which includes any member of the Rattler
Group, DBE shall calculate the portion, if any, of such estimated payment or deposit attributable to the Rattler Group using a methodology similar to that described in Section 3.2 (the “Rattler Group Deposit”) and shall
present such calculation to Rattler. Within 5 days thereafter, Rattler shall pay the Rattler Group Deposit to DBE. Within 30 days after delivery by DBE of a Rattler Group Pro Forma Combined Return to Rattler calculating the Rattler Group Combined
Tax Liability with respect to a Combined Return, Rattler shall pay to DBE such Rattler Group Combined Tax Liability less the amount of any Rattler Group Deposit relating to the same Combined Return. 

3.5    Subsequent Changes in Treatment of Tax Items. With respect to any Combined Return for any taxable
period beginning on or after the Effective Date, in the event of a change in the treatment of any Tax Item of any member of a Combined Group as a result of a Final Determination, within 30 days following such Final Determination (i) DBE shall
calculate the change, if any, to the Rattler Group Combined Tax Liability resulting from such change, (ii) DBE shall pay any decrease in the Rattler Group Combined Tax Liability to Rattler and (iii) Rattler shall pay any increase in the
Rattler Group Combined Tax Liability to DBE. 
 ARTICLE IV 

Control of Tax Proceedings; Cooperation and Exchange of Information 

4.1    Control of Proceedings. Except as provided in this Article IV, DBE shall have full responsibility and
discretion in handling, settling or contesting any Tax Controversy involving a Tax Return for which it has filing responsibility under this Agreement as well as all Tax Returns 

  
 6 

 
for all taxable periods ending before the Effective Date. Rattler shall have full responsibility and discretion in handling, settling or contesting any Tax Controversy involving a Tax Return for
which it has filing responsibility under this Agreement. Except as otherwise provided in this Article IV, any costs incurred in handling, settling or contesting any Tax Controversy shall be borne by the Party having full responsibility and
discretion thereof. 
 4.2    Cooperation and Exchange of Information. 

(a)    Each Party shall cooperate fully at such time and to the extent reasonably requested by any other Party in
connection with the preparation and filing of any Tax Return or claim for refund, or the conduct of any audit, dispute, proceeding, suit or action concerning any issues or other matters considered in this Agreement. Such cooperation shall include,
without limitation, the following: (i) the retention and provision on demand of Tax Returns, books, records (including those concerning ownership and Tax basis of property which a Party may possess), documentation or other information relating
to the Tax Returns, including accompanying schedules, related workpapers and documents relating to rulings or other determinations by Taxing Authorities, until the expiration of the applicable statute of limitations (giving effect to any extension,
waiver or mitigation thereof); (ii) the provision of additional information, including an explanation of material provided under clause (i) of this Section 4.2(a), to the extent such information is necessary or reasonably helpful in
connection with the foregoing; (iii) the execution of any document that may be necessary or reasonably helpful in connection with the filing of a Tax Return by DBE, Rattler or of their respective subsidiaries, or in connection with any audit,
dispute, proceeding, suit or action and (iv) such Party’s commercially reasonable efforts to obtain any documentation from a governmental authority or a third party that may be necessary or reasonably helpful in connection with any of the
foregoing. 
 (b)    Each Party shall make its employees and facilities available on a reasonable and mutually
convenient basis in connection with any of the foregoing matters. 
 (c)    If any Party fails to provide any
information requested pursuant to Section 4.2 hereof within a reasonable period, as determined in good faith by the Party requesting the information, then the requesting Party shall have the right to engage a public accounting firm to gather
such information, provided that 30 days’ prior written notice is given to the unresponsive Party. If the unresponsive Party fails to provide the requested information within 30 days of receipt of such notice, then such unresponsive Party shall
permit the requesting Party’s public accounting firm full access to all appropriate records or other information as reasonably necessary to comply with this Section 4.2 and shall reimburse the requesting Party or pay directly all costs
connected with the requesting Party’s engagement of the public accounting firm. 
 ARTICLE V 

Warranties and Representations; Payment Obligations 

5.1    Warranties and Representations Relating to Actions of DBE and Rattler. Each of DBE and Rattler
warrants and represents to the other that: 
 (a)    in the case of DBE, it is a corporation duly
organized, validly existing and in good standing under the laws of the State of Delaware and has all requisite power to carry out the transactions contemplated by this Agreement; 

  
 7 

 (b)    in the case of Rattler, it is a limited liability
company duly organized, validly existing and in good standing under the laws of the State of Delaware and has all requisite power to carry out the transactions contemplated by this Agreement; 

(c)    it has duly and validly taken all action necessary to authorize the execution, delivery and
performance of this Agreement and the consummation of the transactions contemplated hereby; 

(d)    this Agreement has been duly executed and delivered by it and constitutes its legal, valid and
binding obligation enforceable in accordance with its terms subject, as to the enforcement of remedies, to (i) applicable bankruptcy, reorganization, insolvency, moratorium or other similar laws affecting the enforcement of creditors’
rights generally from time to time in effect and (ii) general principles of equity, whether enforcement is sought in a proceeding at law or in equity and 

(e)    the execution and delivery of this Agreement, the consummation of the transactions contemplated
hereby or the compliance with any of the provisions of this Agreement will not (i) conflict with or result in a breach of any provision of its certificate of incorporation, by-laws, certificate of
formation, limited liability company agreement, as the case may be, (ii) breach, violate or result in a default under any of the terms of any agreement or other instrument or obligation to which it is a party or by which it or any of its
properties or assets may be bound or (iii) violate any order, writ, injunction, decree, statute, rule or regulation applicable to it or affecting any of its properties or assets. 

5.2    Calculation of Payment Obligations. Except as otherwise provided under this Agreement, to the extent
that the payor Party has a payment obligation to the payee Party pursuant to this Agreement, the payee Party shall provide the payor Party with its calculation of the amount of such obligation. The documentation of such calculation shall provide
sufficient detail to permit the payor Party to reasonably understand the calculation. All payment obligations shall be made to the payee Party or to the appropriate Tax Authority as specified by the payee Party within 30 days after delivery by the
payee Party to the payor Party of written notice of a payment obligation. Any disputes with respect to payment obligations shall be resolved in accordance with Section 6.11 below. 

5.3    Prompt Performance. All actions required to be taken by any Party under this Agreement shall be
performed within the time prescribed for performance in this Agreement or if no period is prescribed, such actions shall be performed promptly. 

5.4    Interest. Payments pursuant to this Agreement that are not made within the period prescribed therefor
in this Agreement shall bear interest (compounded daily) from and including the date immediately following the last date of such period through and including the date of payment at a rate equal to the U.S. federal short-term rate or rates
established pursuant to Section 6621 of the Code for the period during which such payment is due but unpaid. 

5.5    Tax Records. The Parties to this Agreement hereby agree to retain and provide on proper demand by any
Tax Authority (subject to any applicable privileges) the books, records, documentation and other information relating to any Tax Return until the later of (i) the expiration 

  
 8 

 
of the applicable statute of limitations (giving effect to any extension, waiver or mitigation thereof), (ii) the date specified in an applicable records retention agreement entered into with a
Tax Authority, (iii) a Final Determination made with respect to such Tax Return and (iv) the final resolution of any claim made under this Agreement for which such information is relevant. 

5.6    Continuing Covenants. Each Party agrees (i) not to take any action reasonably expected to result
in a new or changed Tax Item that is detrimental to any other Party and (ii) to take any action reasonably requested by any other Party that would reasonably be expected to result in a new or changed Tax Item that produces a benefit or avoids a
detriment to such other Party; provided that such action does not result in any additional cost not fully compensated for by the requesting Party. The Parties hereby acknowledge that the preceding sentence is not intended to limit, and therefore
shall not apply to, the rights of the Parties with respect to matters otherwise covered by this Agreement. 
 ARTICLE VI 

Miscellaneous Provisions 

6.1    Notice. Any notice, demand, claim or other communication required or permitted to be given under this
Agreement (a “Notice”) shall be in writing and may be personally served provided a receipt is obtained therefor, or may be sent by certified mail return receipt requested postage prepaid, to the Parties at the following
addresses (or at such other address as one Party may specify by notice to any other Party): 
 DBE at:     

Diamondback Energy, Inc. 
 500
West Texas, Suite 1200 
 Midland, Texas 79701 Attention: General Counsel 

Rattler at:     

Rattler Midstream Operating LLC 

500 West Texas, Suite 1200 

Midland, Texas 79701 Attention: General Counsel 

A Notice which is delivered personally shall be deemed given as of the date specified on the written receipt therefor. A Notice mailed as
provided herein shall be deemed given on the third business day following the date so mailed. Notification of a change of address may be given by any Party to another in the manner provided in this Section 6.1 for providing a Notice. 

6.2    Required Payments. Unless otherwise provided in this Agreement, any payment of Tax required shall be
due within 30 days of a Final Determination of the amount of such Tax. 
 6.3    Injunctions. The Parties
acknowledge that irreparable damage would occur in the event that any of the provisions of this Agreement were not performed in accordance with its specific terms or were otherwise breached. The Parties hereto shall be entitled to an injunction or
injunctions to prevent breaches of the provisions of this Agreement and to enforce specifically the terms and provisions of this Agreement in any court having jurisdiction, such remedy being in addition to any other remedy to which they may be
entitled at law or in equity. 

  
 9 

 6.4    Further Assurances. Subject to the provisions
hereof, the Parties hereto shall make, execute, acknowledge and deliver such other instruments and documents, and take all such other actions, as may be reasonably required in order to effectuate the purposes of this Agreement and to consummate the
transactions contemplated hereby. Subject to the provisions hereof, each of the Parties shall, in connection with entering into this Agreement, perform its obligations hereunder and take any and all actions relating hereto, comply with all
applicable laws, regulations, orders and decrees, obtain all required consents and approvals and make all required filings with any governmental agency, other regulatory or administrative agency, commission or similar authority and promptly provide
the other Parties with all such information as such Parties may reasonably request in order to be able to comply with the provisions of this sentence. 

6.5    Parties in Interest. Except as herein otherwise specifically provided, nothing in this Agreement
expressed or implied is intended to confer any right or benefit upon any person, firm or corporation other than the Parties and their respective successors and permitted assigns. 

6.6    Setoff. Except as provided by Section 2.1(c) of this Agreement, all payments to be made under
this Agreement shall be made without setoff, counterclaim or withholding, all of which are expressly waived. 

6.7    Change of Law. If, due to any change in applicable law or regulations or the interpretation thereof
by any court of law or other governing body having jurisdiction subsequent to the date of this Agreement, performance of any provision of this Agreement or any transaction contemplated hereby shall become impracticable or impossible, the Parties
hereto shall use their best efforts to find and employ an alternative means to achieve the same or substantially the same result as that contemplated by such provision. 

6.8    Termination and Survival. Notwithstanding anything in this Agreement to the contrary, this Agreement
shall remain in effect and its provisions shall survive for the full period of all applicable statutes of limitation (giving effect to any extension, waiver or mitigation thereof) or until otherwise agreed to in writing by DBE and Rattler, or their
successors. 
 6.9    Amendments; No Waivers. 

(a)    Any provision of this Agreement may be amended or waived if, and only if, such amendment or waiver
is in writing and signed, in the case of an amendment, by DBE and Rattler, or in the case of a waiver, by the Party against whom the waiver is to be effective. 

(b)    No failure or delay by any Party in exercising any right, power or privilege hereunder shall operate
as a waiver thereof nor shall any single or partial exercise thereof preclude any other or further exercise thereof or the exercise of any other right, power or privilege. 

6.10    Governing Law and Interpretation. This Agreement shall be governed by and construed in accordance
with the laws of the State of Delaware applicable to agreements made and to be performed in the State of Delaware. 

  
 10 

 6.11    Resolution of Certain Disputes. Any disagreement
between the Parties with respect to any matter that is the subject of this Agreement, including, without limitation, any disagreement with respect to any calculation or other determinations by DBE hereunder, which is not resolved by mutual agreement
of the Parties, shall be resolved by a nationally recognized independent accounting firm chosen by and mutually acceptable to the Parties hereto (an “Accounting Referee”). Such Accounting Referee shall be chosen by the
Parties within fifteen (15) business days from the date on which one Party serves written notice on another Party requesting the appointment of an Accounting Referee, provided that such notice specifically describes the calculations to be
considered and resolved by the Accounting Referee. In the event the Parties cannot agree on the selection of an Accounting Referee, then the Accounting Referee shall be any office or branch of the public accounting firm of PricewaterhouseCoopers
LLP. The Accounting Referee shall resolve any such disagreements as specified in the notice within 30 days of appointment; provided, however, that no Party shall be required to deliver any document or take any other action pursuant to this
Section 6.11 if it determines that such action would result in the waiver of any legal privilege or any detriment to its business. Any resolution of an issue submitted to the Accounting Referee shall be final and binding on the Parties hereto
without further recourse. The Parties shall share the costs and fees of the Accounting Referee equally. 

6.12    Confidentiality. Except to the extent required to protect a Party’s interests in a Tax
Controversy, each Party shall hold and shall cause its consultants and advisors to hold in strict confidence, unless compelled to disclose by judicial or administrative process or, in the opinion of its counsel, by other requirements of law, all
information (other than any such information relating solely to the business or affairs of such Party) concerning another Party or its representatives pursuant to this Agreement (except to the extent that such information can be shown to have been
(i) previously known by the Party to which it was furnished, (ii) in the public domain through no fault of such Party or (iii) later lawfully acquired from other sources by the Party to which it was furnished), and each Party shall
not release or disclose such information to any other person, except its auditors, attorneys, financial advisors, bankers and other consultants and advisors who shall be advised of the provisions of this Agreement. Each Party shall be deemed to have
satisfied its obligation to hold confidential information concerning or supplied by another Party if it exercises the same care as it takes to preserve confidentiality for its own similar information. 

6.13    Costs, Expenses and Attorneys’ Fees. Except as expressly set forth in this Agreement, each
Party shall bear its own costs and expenses incurred pursuant to this Agreement. In the event a Party to this Agreement brings an action or proceeding for the breach or enforcement of this Agreement, the prevailing party in such action, proceeding
or appeal, whether or not such action, proceeding or appeal proceeds to final judgment, shall be entitled to recover as an element of its costs, and not as damages, such reasonable attorneys’ fees as may be awarded in the action, proceeding or
appeal in addition to whatever other relief the prevailing party may be entitled. For purposes of this Section 6.13, the “prevailing party” shall be the Party who is entitled to recover its costs; a Party not entitled to recover its
costs shall not recover attorneys’ fees. No sum for attorneys’ fees shall be counted in calculating the amount of the judgment for purposes of determining whether a Party is entitled to recover its costs or attorneys’ fees. 

6.14    Counterparts. This Agreement may be executed in one or more counterparts, each of which shall be
deemed to be an original, but all of which together shall constitute one and the same instrument. 

  
 11 

 6.15    Severability. The Parties hereby agree that, if
any provision of this Agreement should be adjudicated to be invalid or unenforceable, such provision shall be deemed deleted herefrom with respect, and only with respect, to the operation of such provision in the particular jurisdiction in which
such adjudication was made, and only to the extent of the invalidity, and any such invalidity or unenforceability in a particular jurisdiction shall not invalidate or render unenforceable such provision in any other jurisdiction. All other remaining
provisions of this Agreement shall remain in full force and effect for the particular jurisdiction and all other jurisdictions. 

6.16    Entire Agreement. 

(a)    This Agreement contains the entire agreement between the Parties with respect to the subject matter hereof and
supersedes all other agreements, whether or not written, in respect of any Tax between the DBE Group and the Rattler Group. 

(b)    In the event of any conflict or inconsistency between the provisions of this Agreement and the provisions of any
other agreement between the DBE Group and the Rattler Group, the provisions of this Agreement shall take precedence and to such extent shall be deemed to supersede such conflicting provisions under the other agreement. 

6.17    Assignment. This Agreement is being entered into by DBE and Rattler on behalf of themselves and each
member of the DBE Group and the Rattler Group, respectively. This Agreement shall constitute a direct obligation of each such member and shall be deemed to have been readopted and affirmed on behalf of any entity that becomes a member of the DBE
Group or the Rattler Group in the future. Each of DBE and Rattler hereby guarantee the performance of all actions, agreements and obligations provided for under this Agreement of each member of the DBE Group and the Rattler Group, respectively. Each
of DBE and Rattler shall, upon the written request of the other, cause any of their respective group members to formally execute this Agreement. This Agreement shall be binding upon, and shall inure to the benefit of, the successors, assigns and
persons controlling any of the entities bound hereby for so long as such successors, assigns or controlling persons are members of the DBE Group or the Rattler Group or their successors and assigns. 

6.18    Fair Meaning. This Agreement shall be construed in accordance with its fair meaning and shall not be
construed strictly against the drafter. 
 6.19    Titles and Headings. Titles and headings to sections
herein are inserted for the convenience of reference only and are not intended to be a part of or to affect the meaning or interpretation of this Agreement. 

6.20    Construction. In this Agreement, unless the context otherwise requires, the terms
“herein,” “hereof” and “hereunder” refer to this Agreement. 
 [Signature Page Follows.] 

  
 12 

 IN WITNESS WHEREOF the Parties hereto have executed and delivered this Agreement as of the
day and year first above written. 
  

			
	Diamondback Energy, Inc.
		
	 By:
	 	
                     
                    

	 Name:
	 	  

	 Title:
	 	  

	
	Rattler Midstream Operating LLC
		
	 By:
	 	  

	 Name:
	 	  

	 Title:
	 	  

 [Signature Page to Tax Sharing Agreement]EX-10.13

 Exhibit 10.13 

FORM OF EQUITY CONTRIBUTION AGREEMENT 

BY AND BETWEEN 
 RATTLER
MIDSTREAM LP 
 AND 

RATTLER MIDSTREAM OPERATING LLC 
  

 FORM OF EQUITY CONTRIBUTION AGREEMENT 

This Equity Contribution Agreement (this “Agreement”), dated as of
             , 2019, is entered into by and between Rattler Midstream LP, a Delaware limited partnership (the “Partnership”), and Rattler Midstream Operating LLC, a
Delaware limited liability company (the “Rattler LLC”). 
 RECITALS 

WHEREAS, in connection with the proposed initial public offering of common units of the Partnership (the “IPO”), the
Partnership intends to use $             million of the net proceeds from the IPO to make a capital contribution to Rattler LLC in exchange for units of Rattler LLC (the “Rattler
LLC Units”) upon the terms and conditions set forth herein; 
 NOW, THEREFORE, in consideration of the representations,
warranties, covenants and agreements contained in this Agreement and other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, and intending to be legally bound hereby, the parties hereto hereby agree as
follows: 
 ARTICLE I. 

DEFINITIONS 

Section 1.01    Definitions. The following definitions shall be for all purposes, unless otherwise clearly
indicated to the contrary, applied to the terms used in this Agreement. Capitalized terms used herein but not defined shall have the meanings ascribed to them in the Limited Liability Company Agreement. 

“Agreement” has the meaning set forth in the preamble. 

“Business Day” means Monday through Friday of each Week, except that a legal holiday recognized as such by the
government of the United States of America or the State of Texas shall not be regarded as a Business Day. 

“Closing” means the closing of the issuance of the Rattler LLC Units by Rattler LLC to the Partnership under this
Agreement. 
 “Closing Date” means the closing date of the IPO. 

“IPO” has the meaning set forth in the recitals. 

“Limited Liability Company Agreement” means the First Amended and Restated Limited Liability Company Agreement of
Rattler Midstream Operating LLC, dated as of              , 2019, as it may be amended, supplemented or restated from time to time. 

“Partnership” has the meaning set forth in the preamble. 

  
 1 

 “Person” means an individual or a corporation, firm, limited
liability company, partnership, joint venture, trust, unincorporated organization, association, government agency or political subdivision thereof or other entity. 

“Rattler LLC” has the meaning set forth in the preamble. 

“Rattler LLC Units” has the meaning set forth in the recitals. 

“Securities Act” means the Securities Act of 1933, as amended, supplemented or restated from time to time, and any
successor to such statute. 
 ARTICLE II. 

PURCHASE OF RATTLER LLC UNITS 

Section 2.01    On the Closing Date, (i) the Partnership will make a capital contribution to Rattler LLC of
$             and (ii) Rattler LLC will issue to the Partnership             Rattler LLC Units. 

ARTICLE III. 
 CLOSING

 Section 3.01    At the Closing, each of the Partnership and Rattler LLC shall take, or cause to be taken,
all such actions and shall execute and deliver, or cause to be executed and delivered, all such documents (within its power to do so) required to effect the issuance of Rattler LLC Units to the Partnership as provided herein. 

Section 3.02    At least one Business Day prior to the Closing Date, Rattler LLC shall deliver to the Partnership
instructions designating the account or accounts to which the capital contribution shall be deposited by federal funds wire transfer on the Closing Date. 

ARTICLE IV. 

REPRESENTATIONS AND WARRANTIES 

Section 4.01    Organization; Authority; Valid and Binding Agreement. Each of the parties hereto hereby
represents and warrants to the other, as of the date hereof and as of the Closing Date, that (i) it is duly organized, validly existing and in good standing under the laws of its jurisdiction of organization, (ii) it has the corporate or
other similar power and authority, and has taken all necessary corporate or other similar action, as applicable, to authorize, execute, deliver and perform its obligations under this Agreement, (iii) this Agreement has been duly executed and
delivered by it, (iv) this Agreement, when executed and delivered by such party, assuming due execution and delivery hereof by the other party hereto, is a legal, valid and binding obligation of it, enforceable against it in accordance with its
terms, subject to applicable bankruptcy, insolvency, reorganization, fraudulent conveyance, moratorium or similar laws affecting creditors’ rights generally and (v) the execution, delivery and performance by it of this Agreement does not
(a) require any material governmental filing or governmental approval or any material consent or approval of such party’s stockholders, partners, members or any other third parties, except for such filings that have been, or will as
promptly as reasonably practicable hereafter be, made and such consents or approvals that have been obtained, or will as promptly as reasonably practicable 

  
 2 

 
hereafter be sought, or (b) materially violate or conflict with, result in a material breach of, or constitute a material default under any of its organizational documents or any agreements
by which it is bound. 
 Section 4.02    Additional Representations and Warranties of Rattler LLC. Rattler
LLC hereby further represents and warrants to the Partnership, as of the date hereof and as of the Closing Date, that the Rattler LLC Units to be issued to the Partnership hereunder have been duly authorized and, when issued and delivered by Rattler
LLC pursuant to the Limited Liability Company Agreement against payment of the consideration set forth herein, will be validly issued and fully paid (to the extent required under the Limited Liability Company Agreement) and nonassessable (except as
such nonassessability may be affected by Section 18-607 and 18-804 of the Delaware Limited Liability Company Act). 

Section 4.03    Additional Representations and Warranties of the Partnership. 

(a)    The Partnership hereby further represents and warrants, as of the Closing Date, that the Partnership shall have
available funds sufficient to make the capital contribution to Rattler LLC as contemplated herein, subject to the understanding of the parties hereto that such capital contribution shall be funded solely through the net proceeds received by the
Partnership from the sale of its common units to the underwriters in the IPO. 
 (b)    The Partnership further hereby
represents and warrants to Rattler LLC, as of the date hereof and as of the Closing Date, that (i) the Rattler LLC Units it is acquiring under this Agreement are being acquired for its own account and not with a view to any offering or
distribution within the meaning of the Securities Act and any applicable state securities laws, (ii) it has no present intention of selling or otherwise disposing of such Rattler LLC Units or any portion thereof in violation of such laws,
(iii) it has sufficient knowledge and expertise in financial and business matters so as to be capable of evaluating the merits and risks of acquiring such Rattler LLC Units and (iv) it understands that such Rattler LLC Units (a) have
not been registered under the Securities Act and (b) may not be sold or transferred in the absence of such registration or an exemption from such registration. 

Section 4.04    Certain Damages and Remedies. THE PARTIES HERETO EXPRESSLY WAIVE AND FOREGO ANY RIGHT TO
RECOVER PUNITIVE, EXEMPLARY, INDIRECT, SPECIAL, CONSEQUENTIAL OR SIMILAR DAMAGES (INCLUDING LOST PROFITS, LOSS OR CORRUPTION OF DATA OR DAMAGE DUE TO ANY IMPAIRMENT OF OPERATIONS) ARISING FROM OR IN CONNECTION WITH THIS AGREEMENT (INCLUDING ANY
ASSIGNMENTS OR TRANSFERS MADE OR RIGHTS GRANTED), WHETHER SUCH CLAIM IS BASED ON WARRANTY, CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY) OR OTHERWISE, EVEN IF AN AUTHORIZED REPRESENTATIVE OF SUCH PARTY IS ADVISED OF THE POSSIBILITY OR
LIKELIHOOD OF THE SAME. 

  
 3 

 ARTICLE V. 

FURTHER ASSURANCES 

Section 5.01    Each of the parties hereto hereby agrees, at its own cost and expense, from and after the date
hereof, to do, or cause to be done, all such acts and things, and to execute and deliver, or cause to be executed and delivered, all such documents, notices, instruments and agreements, as may be necessary or desirable to give effect to the
provisions and intent of this Agreement. 
 ARTICLE VI. 

ENTIRE AGREEMENT 

Section 6.01    This Agreement (together with any exhibits, annexes, schedules and the other agreements, documents
and instruments (i) incorporated or referenced hereby or delivered in connection herewith or (ii) related to or entered into in connection with the IPO, to the extent relating to the subject matter hereof) constitutes the entire agreement
between the parties hereto with respect to the subject matter hereof and supersedes and cancels all previous agreements and understandings, whether written or oral, between the parties hereto with respect to such subject matter. 

ARTICLE VII. 

MISCELLANEOUS 

Section 7.01    Notices. Any notice, statement, demand, claim, offer or other written instrument
required or permitted to be given pursuant to this Agreement shall be in writing signed by the party hereto giving such notice and shall be sent by email, hand messenger delivery, overnight courier service, or certified mail (receipt requested) to
the other party hereto at the address set forth below; provided that to be effective any such notice sent originally by email must be followed within two Business Days by a copy of such notice sent by overnight courier service: 

If to the Partnership: 
 Rattler
Midstream LP 
 500 West Texas, Suite 1200 

Midland, Texas 
 Email:
RJHolder@diamondbackenergy.com 
 Attention: Randall J. Holder, General Counsel 

If to Rattler LLC: 
 Rattler
Midstream Operating LLC 
 500 West Texas, Suite 1200 

Midland, Texas 
 Email:
RJHolder@diamondbackenergy.com 
 Attention: Randall J. Holder, General Counsel 

Each Party shall have the right to change the place to which notices shall be sent or delivered or to specify one additional address to which
copies of notices may be sent, in either case by similar notice sent or delivered in like manner to the other Party. Without limiting any other means by which a Party may be able to prove that a notice has been received by another Party, all notices
and communications shall be deemed to have been duly given: (i) at the time delivered by 

  
 4 

 
hand, if personally delivered; (ii) five Business Days after being deposited in the mail, postage prepaid, if mailed by first class certified mail, receipt requested; (iii) when
received, if sent by email, if received prior to 5 p.m., recipient’s time, on a Business Day, or on the next Business Day, if received later than 5 p.m., recipient’s time; and (iv) on the next Business Day after timely delivery to the
courier, if sent by overnight air courier guaranteeing next day delivery. In any case hereunder in which a Party is required or permitted to respond to a notice from another Party within a specified period, such period shall run from the date on
which the notice was deemed duly given as above provided, and the response shall be considered to be timely given if given as above provided by the last day of the period provided for such response. 

Section 7.02    Successors and Assigns.. Except as contemplated by
Section 7.05, neither this Agreement nor any of the rights or obligations hereunder shall be assigned by any of the parties hereto without the prior written consent of the other parties. Subject to the preceding sentence,
this Agreement will be binding upon, inure to the benefit of and be enforceable by the parties and their respective successors and assigns.  

Section 7.03    Counterparts. This Agreement may be executed in counterparts (which may be delivered by
electronic transmission). Each counterpart when so executed and delivered shall be deemed an original, and both such counterparts taken together shall constitute one and the same instrument. 

Section 7.04    Parties in Interest. This Agreement is binding upon and is for the benefit of the parties
hereto and their respective successors and permitted assigns. This Agreement is not made for the benefit of any Person not a party hereto, and no Person other than the parties hereto and their respective successors and permitted assigns will acquire
or have any benefit, right, remedy or claim under or by virtue of this Agreement. 

Section 7.05    Captions. All Section titles or captions contained in this Agreement or in the table of
contents of this Agreement are for convenience only and shall not be deemed to be a part of this Agreement or affect the meaning or interpretation of this Agreement 

Section 7.06    Assignment. No party will convey, assign or otherwise transfer either this Agreement or any of
the rights, interests or obligations hereunder without the prior written consent of the other party hereto (in each of such party’s sole and absolute discretion). Any such prohibited conveyance, assignment or transfer without the prior written
consent of the other party hereto will be void ab initio. 
 Section 7.07    Severability. Whenever
possible each provision and term of this Agreement will be interpreted in a manner to be effective and valid. If any term or provision of this Agreement or the application of any such term or provision to any Person or circumstance shall be held
invalid, illegal or unenforceable in any respect by a court of competent jurisdiction, the remaining provisions hereof, or the application of such term or provision to Persons or circumstances other than those as to which it has been held invalid,
illegal or unenforceable, will remain in full force and effect and will in no way be affected, impaired or invalidated thereby. If any term or provision of this Agreement is held to be prohibited or invalid, then such term or provision will be
ineffective only to the extent of such prohibition or invalidity without invalidating or affecting in any manner whatsoever the remainder of such term or provision or the other terms and provisions of this

  
 5 

 
Agreement. Upon determination that any other term or provision of this Agreement is invalid, void, illegal or unenforceable, a court of competent jurisdiction will modify such term or provision
so as to effect the original intent of the parties as closely as possible in an acceptable manner to the end that the transactions contemplated hereby are fulfilled to the fullest extent possible under the applicable laws. 

Section 7.08    Expenses. Each party shall bear its own expenses in connection with this Agreement, except as
otherwise expressly provided herein. 
 Section 7.09    Amendment, Modification and Waiver. This Agreement
may be modified, amended or supplemented only by written agreement executed by the parties hereto. Any failure of a party to comply with any obligation or agreement hereunder may only be waived in writing by the other party, but such waiver shall
not operate as a waiver of, or estoppel with respect to, any subsequent or other failure. No failure by a party to take any action with respect to any breach of this Agreement or default by the other party shall constitute a waiver of such
party’s right to enforce any provision hereof or to take any such action. 

Section 7.10    Termination. This Agreement shall terminate upon the consummation of Rattler LLC’s
issuance of Rattler LLC Units set forth herein. Notwithstanding the foregoing, the obligations of the parties hereto under Section 4.04 of this Agreement shall remain in full force and effect following such time. 

Section 7.11    Applicable Law; Forum; Venue and Jurisdiction; Waiver of Trial by Jury. 

(a)    This Agreement shall be construed in accordance with and governed by the laws of the State of Delaware, without
regard to the principles of conflicts of law. 
 (b)    Each of the parties hereto: 

(i)    irrevocably agrees that any claims, suits, actions or proceedings arising out of or relating in any way to this
Agreement (including any claims, suits or actions to interpret, apply or enforce the provisions of this Agreement or the duties, obligations or liabilities between the parties hereto, or the rights or powers of, or restrictions on, the parties
hereto) shall be exclusively brought in the Court of Chancery of the State of Delaware (or, if such court does not have subject matter jurisdiction thereof, any other court located in the State of Delaware with subject matter jurisdiction), in each
case regardless of whether such claims, suits, actions or proceedings sound in contract, tort, fraud or otherwise, are based on common law, statutory, equitable, legal or other grounds, or are derivative or direct claims; 

(ii)    irrevocably submits to the exclusive jurisdiction of the Court of Chancery of the State of Delaware (or, if such
court does not have subject matter jurisdiction thereof, any other court located in the State of Delaware with subject matter jurisdiction) in connection with any such claim, suit, action or proceeding; 

(iii)    agrees not to, and waives any right to, assert in any such claim, suit, action or proceeding that (A) it is
not personally subject to the jurisdiction of the Court of Chancery of the State of Delaware or of any other court to which proceedings in the Court of Chancery of the State of Delaware may be appealed, (B) such claim, suit, action or
proceeding is brought in an inconvenient forum, or (C) the venue of such claim, suit, action or proceeding is improper; 

  
 6 

 (iv)    expressly waives any requirement for the posting of a bond by a
party bringing such claim, suit, action or proceeding; 
 (v)    consents to process being served in any such claim,
suit, action or proceeding by mailing, certified mail, return receipt requested, a copy thereof to such party at the address in effect for notices hereunder, and agrees that such services shall constitute good and sufficient service of process and
notice thereof; provided, nothing in this clause (v) shall affect or limit any right to serve process in any other manner permitted by law; and 

(vi)    IRREVOCABLY WAIVES THE RIGHT TO TRIAL BY JURY IN ANY SUCH CLAIM, SUIT, ACTION OR PROCEEDING. 

[Signature Page Follows.] 

  
 7 

 IN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed by their
respective duly authorized officers as of the date first written above. 
  

			
	Rattler Midstream LP
		
	By:	 	Rattler Midstream GP LLC,
		 	its general partner
		
	By:	 	  

	Name:	 	  

	Title:	 	  

	
	Rattler Midstream Operating LLC
		
	By:	 	  

	Name:	 	  

	Title:	 	  

 [Signature Page to Equity Contribution Agreement]

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