👮Blacklists
sERC20 takes full control when handling the blacklisting of address's. These built in methods control everything for your convenience.
Restrictions
The router address can not be blacklisted.
The pair address can not be blacklisted.
The contract address can not be blacklisted.
Blacklisting is only available for 10 minutes post trading enabled.
Blacklisting an address
The sERC20 contract takes full control of changes to your blacklist. Under the hood the library exposes the following functions for your convenience.
Setting the blacklisted status of an address
Remember this method is only available for up to 10 minutes after trading had been enabled!
Checking if an account is blacklisted
The sERC20 contract exposes functions for reading the blacklisted status on an address. You should NEVER handle these yourself, always refer to our built in methods to maintain your sERC20 implementation integrity.
Retrieve the blacklisted status for an address
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