code-423n4 / 2021-12-yetifinance-findings

0 stars 0 forks source link

`ERC20_8.sol`, `WJLP.sol` SafeMath is no longer needed #260

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

WatchPug

Vulnerability details

SafeMath is no longer needed starting with Solidity 0.8. The compiler now has built in overflow checking.

Removing SafeMath can save some gas.

kingyetifinance commented 2 years ago

Duplicate #53

alcueca commented 2 years ago

Duplicate #246