Open madMax92221 opened 10 months ago
All address params in the PremiumPool.sol constructor have a check for address 0 except _governance.
PremiumPool.sol
_governance
constructor(address _exchangeAgent, address _unoToken, address _usdcToken, address _multiSigWallet, address _governance) { require(_exchangeAgent != address(0), "UnoRe: zero exchangeAgent address"); require(_unoToken != address(0), "UnoRe: zero UNO address"); require(_usdcToken != address(0), "UnoRe: zero USDC address"); require(_multiSigWallet != address(0), "UnoRe: zero multisigwallet address");
Add address 0 check for _governance as well.
fixed at commit https://github.com/Uno-Re/SSIP-SSRP-contracts/commit/ab6376e10bfd02cca4aa40512a8ac08c92d68888
All address params in the
PremiumPool.sol
constructor have a check for address 0 except_governance
.Add address 0 check for
_governance
as well.