Closed code423n4 closed 2 years ago
pmerkleplant
Following variables in Zap.sol are unused and could be removed to save gas:
Zap.sol
calcMintWithRen()::_ibbtc
calcMintWithRen()::_fee
calcMintWithWbtc()::_ibbtc
calcMintWithWbtc()::_fee
calcRedeemInRen()::_fee
calcRedeemInRen()::_ren
calcRedeemInWbtc()::_fee
calcRedeemInWbtc()::_wbtc
Agree with finding
duplicate of #39
Handle
pmerkleplant
Vulnerability details
Following variables in
Zap.sol
are unused and could be removed to save gas:calcMintWithRen()::_ibbtc
calcMintWithRen()::_fee
calcMintWithWbtc()::_ibbtc
calcMintWithWbtc()::_fee
calcRedeemInRen()::_fee
calcRedeemInRen()::_ren
calcRedeemInWbtc()::_fee
calcRedeemInWbtc()::_wbtc