Assessment reports>Trillion>Threat Model>blacklist

Function: blacklist(address account)

This function blacklists a given address.

Inputs

  • account

    • Control: Completely controlled by the caller.

    • Constraints: None.

    • Impact: Address to blacklist.

Branches and code coverage

Intended branches

  • Add a given address to the blacklist.

Negative behavior

  • Revert if caller does not have BLACKLISTER_ROLE.

Zellic © 2024Back to top ↑