VIS-2 / taobank-04-24

0 stars 0 forks source link

OpenZeppelin ERC20 `safeApprove()` is deprecated #15

Open 0xMilenov opened 4 months ago

0xMilenov commented 4 months ago

Context

Vault::liquidate() VaultFactoryZapper::createVault() LiquidationRouter::addSeizedCollateral() AuctionManager::_transferToLastResortLiquidation()

Description

The use of safeApprove() has been marked as deprecated, thus is recommended to be replaced with safeIncreaseAllowance() and safeDecreaseAllowance().