rotki
rotki copied to clipboard
Accounting rules for eth staking events
Currently the eth staking withdrawals respect the accounting rules but is linked to the evm rule. https://discord.com/channels/657906918408585217/1080783409640648765/1209420978728476692
ETH staking events should be taxable in their own.
- [ ] if
eth_staking_taxable_after_withdrawal_enabledis set toFalsethen the eth staking events shouldn't be taxable - [ ] We need to introduce the entry type in the accounting rules. For this we need
- [ ] A db upgrade to include it in the database for the accounting_rules table
- [ ] When adding the rules to
AccountingRulesManagerwe should take into consideration this entry type - [ ]
get_event_settingsneeds to take into account the type
- [ ] Expose in the API the information for the entry type
- [ ] In the frontend for the rules that have a counterparty we shouldn't add information about the entry type since those are available only for the evm events