code-423n4 / 2021-07-pooltogether-findings

0 stars 0 forks source link

getBalance() uses SafeMath with Solidity 0.8.2 #81

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

function getBalance() in contract MStableYieldSource uneccesarry uses SafeMath operations .mul() and .div() as Solidity 0.8.2 has this built-in.

PierrickGT commented 3 years ago

There is no getBalance function in the MStableYieldSource contract.

0xean commented 3 years ago

Issue is unclear as sponsor points out, there is no getBalance implementation in the contract. Closing.