From f67f62bf8db41542b758b0536b0c78fb7fe4dff2 Mon Sep 17 00:00:00 2001 From: Nicholas Yoder Date: Fri, 30 Jan 2026 13:15:57 -0500 Subject: [PATCH] Add accounting rules for exchange adjustments --- updates/accounting_rules/v9.json | 21 +++++++++++++++++++++ updates/info.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 updates/accounting_rules/v9.json diff --git a/updates/accounting_rules/v9.json b/updates/accounting_rules/v9.json new file mode 100644 index 0000000..7db8fcf --- /dev/null +++ b/updates/accounting_rules/v9.json @@ -0,0 +1,21 @@ +{ + "accounting_rules": [ + { + "event_type": "exchange adjustment", + "event_subtype": "spend", + "counterparty": null, + "taxable": false, + "count_entire_amount_spend": false, + "count_cost_basis_pnl": true, + "accounting_treatment": null + }, { + "event_type": "exchange adjustment", + "event_subtype": "receive", + "counterparty": null, + "taxable": false, + "count_entire_amount_spend": false, + "count_cost_basis_pnl": true, + "accounting_treatment": null + } + ] +} diff --git a/updates/info.json b/updates/info.json index 8a68310..0dde977 100644 --- a/updates/info.json +++ b/updates/info.json @@ -1 +1 @@ -{"spam_assets":{"latest":6},"rpc_nodes":{"latest":10,"limits":{"9":{"min_version":"1.39.0"},"10":{"min_version":"1.41.0"}}},"contracts":{"latest":0},"global_addressbook":{"latest":0},"accounting_rules":{"latest":8,"limits":{"4":{"min_version":"1.35.0"},"5":{"min_version":"1.38.0"},"8":{"min_version":"1.41.3"}}},"location_asset_mappings":{"latest":12,"limits":{"9":{"min_version":"1.38.0"},"10":{"min_version":"1.39.0"},"11":{"min_version":"1.40.0"}}},"counterparty_asset_mappings":{"latest":1},"location_unsupported_assets":{"latest":3,"limits":{"2":{"min_version":"1.38.0"}}}} +{"spam_assets":{"latest":6},"rpc_nodes":{"latest":10,"limits":{"9":{"min_version":"1.39.0"},"10":{"min_version":"1.41.0"}}},"contracts":{"latest":0},"global_addressbook":{"latest":0},"accounting_rules":{"latest":9,"limits":{"4":{"min_version":"1.35.0"},"5":{"min_version":"1.38.0"},"8":{"min_version":"1.41.3"},"9":{"min_version":"1.42"}}},"location_asset_mappings":{"latest":12,"limits":{"9":{"min_version":"1.38.0"},"10":{"min_version":"1.39.0"},"11":{"min_version":"1.40.0"}}},"counterparty_asset_mappings":{"latest":1},"location_unsupported_assets":{"latest":3,"limits":{"2":{"min_version":"1.38.0"}}}}