TT10 contract is an ERC20 token contract with the contract owner owning the permission to mint and burn the tokens. The contract inherits the Ownable, Pausable, and interafce of the ERC20 libraries from the standard Openzeppelin modules. With Ownable library, it modifies the access control to some functionalities to be only possible to be called by the contract owner. The Pausable library gives the contract owner the privilege to pause and unpause the major functionalities of the token. For instance, when the contract owner pauses the contract, users can no longer make transfer or call the transferFrom functions to spend approved tokens. Not until the contract owner unpause, will those activities work.
Low | Medium | High | Critical | Total | |
---|---|---|---|---|---|
Not fixed | 1 | - | - | - | 1 |
Fixed | 4 | 1 | - | - | 5 |
Total | 5 | 1 | 0 | 0 | 6 |
# | File Name |
---|---|
1 | /docs.sol |
2 | access/Ownable2Step.sol |