From 989afa2808de8518382a4dd6d47727066ba9124b Mon Sep 17 00:00:00 2001 From: Nicholas Yoder Date: Wed, 11 Feb 2026 15:08:28 -0500 Subject: [PATCH] Add accounting rules for new exchange transfer type --- requirements.txt | 2 +- updates/accounting_rules/v9.json | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6e86388..706b4b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -eth-utils==2.0.0 +eth-utils==5.3.1 jsonschema==4.21.1 safe-pysha3==1.0.4 pytest==7.4.4 diff --git a/updates/accounting_rules/v9.json b/updates/accounting_rules/v9.json index 7db8fcf..8114d96 100644 --- a/updates/accounting_rules/v9.json +++ b/updates/accounting_rules/v9.json @@ -16,6 +16,30 @@ "count_entire_amount_spend": false, "count_cost_basis_pnl": true, "accounting_treatment": null + }, { + "event_type": "exchange transfer", + "event_subtype": "spend", + "counterparty": null, + "taxable": false, + "count_entire_amount_spend": false, + "count_cost_basis_pnl": true, + "accounting_treatment": null + }, { + "event_type": "exchange transfer", + "event_subtype": "receive", + "counterparty": null, + "taxable": false, + "count_entire_amount_spend": false, + "count_cost_basis_pnl": true, + "accounting_treatment": null + }, { + "event_type": "exchange transfer", + "event_subtype": "fee", + "counterparty": null, + "taxable": true, + "count_entire_amount_spend": true, + "count_cost_basis_pnl": true, + "accounting_treatment": null } ] }