-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whitelisting (tax exemption) feature according to prop #11824 #388
Conversation
- several fixes for tax exemption handling
- upgrade test
One thing to note. I removed the old "contract" handling of whitelisting as the implementation made no sense. For a contract to be whitelisted, it needed to be added to the "Binance" zone. Also it didn't whitelist the contract (from my understanding) as intended, it just made sure the address needed to be a contract. With this zone-approach contracts should now be able to be whitelisted as originally intended (incoming/outgoing = true). |
- added test
I would close this in favor of #393 if you agree @fragwuerdig ? |
👌 |
Summary of changes
Introduce zone-based tax exemption.
Zones are always tax-free internally.
Optionally they can be set to be tax-free for incoming and/or outgoing txs.
Cross-Zone transactions are always taxed, unless cross-zone exemption is also set for the zone
Report of required housekeeping
(FOR ADMIN) Before merging