BEP-20 Compatibility
The BEP20 specification defines a list of API functions (and relevant events) that each token contract is expected to implement (and emit). The failure to meet these requirements means the token contract cannot be considered to be BEP20-compliant. In this section, we examine the list of API functions defined by the BEP20 specification and validate whether there exists any inconsistency or incompatibility in the implementation of the inherent business logic of the audited contract(s)
Expected Functionality | Description according to the BEP20 Standard | Compatible | |
name |
| Returns the name of the token. | ✓ |
symbol |
| Returns the symbol of the token. | ✓ |
decimals |
| Returns the number of decimals used to get its user representation | ✓ |
totalSupply |
| Returns the number of tokens in existence. | ✓ |
balanceOf |
| Returns the number of tokens owned by | ✓ |
allowance |
| Returns the remaining number of tokens that | ✓ |
transfer | transfer() is declared as a public function | Moves Returns a boolean value indicating whether the operation succeeded. Emits a | ✓ |
transferFrom |
| Moves Returns a boolean value indicating whether the operation succeeded. Emits a | ✓ |
approve |
| Sets Returns a boolean value indicating whether the operation succeeded. | ✓ |
Transfer Event |
| Emitted when Note that | ✓ |
Approval Event |
| Emitted when the allowance of a | ✓ |
Last updated