Skip to content

Fix minor issues in ZRC2 ->ERC20 contract #721

@rrw-zilliqa

Description

@rrw-zilliqa

... reported by HashLock:

  1. SafeMath is the default in Solidity 0.8.x
  2. Replace _UINT8_MAX and _UINT256_MAX definitions with the Solidity symbolic constants.
  3. _UINT8_MAX should be of type uint8
  4. Make immutable variables immutable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions