You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though you are accurately tracking amount of funds being utilized in strategies and the rest, this contract is still susceptible to the inflation attack.
I recomment using only a single state variable to track the balance of the vault and do not rely on asset.balanceOfAddress(this)
The text was updated successfully, but these errors were encountered:
safe-yields-presale/src/trading/StrategyFundManagerCEX.sol
Lines 65 to 67 in 469cf9c
Though you are accurately tracking amount of funds being utilized in strategies and the rest, this contract is still susceptible to the inflation attack.
I recomment using only a single state variable to track the balance of the vault and do not rely on
asset.balanceOfAddress(this)
The text was updated successfully, but these errors were encountered: