Open code423n4 opened 2 years ago
HolyPaladinToken.constructor()._rewardsVault (contracts/HolyPaladinToken.sol#174) lacks a zero-check on :
- rewardsVault = _rewardsVault (contracts/HolyPaladinToken.sol#194)
use small revert strings or use custom erros to save gas
QA & gas optimizations changes are done in the PR: https://github.com/PaladinFinance/Paladin-Tokenomics/pull/6 (some changes/tips were implemented, others are noted but won't be applied)
l01:
HolyPaladinToken.constructor()._rewardsVault (contracts/HolyPaladinToken.sol#174) lacks a zero-check on :
g05:
use small revert strings or use custom erros to save gas