💰Taxes
sERC20 takes full control when handling tax rates, there's no restrictions to the types of taxes you can have, there are however limits on the total round trip tax rate.
Restrictions
The buy tax threshold can be set as high as 35%, however the combination of the buy and sell tax thresholds can not exceed 35%.
The sell tax threshold can be set as high as 35%, however the combination of the buy and sell tax thresholds can not exceed 35%.
Round trip tax rates can not exceed 35%
Setting up taxes
Changing tax rates
The sERC20 contract does not implement any functionality to externally change your tax rates. This is because there are a wide variety of options available for taxing. To avoid restricting this customisability you are free to implement these methods yourself.
Examples
Reading tax rates
The sERC20 contract exposes functions for reading the current tax rates. You should NEVER handle these yourself, always refer to our built in methods to maintain your sERC20 implementation integrity.
Remember! ALWAYS use our build in methods any time you access state that can be controlled by sERC20, doing otherwise compromises your implementation integrity.
Last updated