This feature is blocking transfers of reported stolen funds from exchanges or engaged in malicious activities.
To safeguard user funds against any potential manipulation, specific roles are assigned to different accounts. One account is authorized to blacklist other accounts while another account is authorized to burn funds. By dividing these responsibilities between two different accounts, the risk of misuse of this functionality is reduced.
function blacklist(address account) externalMark account as 'blacklisted' and disallow transfer and transferFrom operations.
Require COMPLIANCE_ROLE to invoke. Emit Blacklisted event`.
| Name | Type | Description |
|---|---|---|
| account | address | Address of account to mark 'blacklisted'. |
function removeBlacklisted(address account) externalRemove mark 'blacklisted' from account, reinstating abilities to invoke transfer and transferFrom.
Require COMPLIANCE_ROLE to invoke. Emit BlacklistedRemoved event`.
| Name | Type | Description |
|---|---|---|
| account | address | Address of account to remove 'blacklisted' mark from. |
function burnBlacklisted(address account) externalBurn all tokens from blacklisted account specified.
Require COMPLIANCE_ROLE to invoke. Emit BlacklistedBurnt event`. Account specified must be blacklisted.
| Name | Type | Description |
|---|---|---|
| account | address | Address of 'blacklisted' account to burn funds from. |
event Blacklisted(address account)Account was marked 'blacklisted'.
| Name | Type | Description |
|---|---|---|
| account | address | Address of account to have been marked 'blacklisted'. |
event BlacklistedRemoved(address account)Mark 'blacklisted' from account was removed.
| Name | Type | Description |
|---|---|---|
| account | address | Address of account 'blacklisted' mark was removed from. |
event BlacklistedBurnt(address account, uint256 amount)All tokens from blacklisted account specified were burnt.
| Name | Type | Description |
|---|---|---|
| account | address | Address of 'blacklisted' account funds were burnt from. |
| amount | uint256 |