hats-finance/HATs-Arbitration-Contracts-0x79a618f675857b45934ca1c413fd5f409cf89735

Missing checks for address(0x0) in the constructor/initializer

Opened this issue · 0 comments

Github username: @saidqayoumsadat
Submission hash (on-chain): 0xcbcca374d0d278b9d4e66cb41bc59342e77f215944efa72f259615c36d425ee7
Severity: low

Description:
Description

file: /contracts/mocks/HatVaultForConnectorMock.sol

48        arbitrator = _arbitrator;

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/mocks/HatVaultForConnectorMock.sol#L48

file: /contracts/mocks/UniSwapV3RouterMock.sol

30        WETH9 = _weth9;

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/mocks/UniSwapV3RouterMock.sol#L30

file: /contracts/RewardController.sol

55        rewardToken = IERC20Upgradeable(_rewardToken);

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/RewardController.sol#L55

file: /contracts/HATPaymentSplitterFactory.sol

14        implementation = _implementation;

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/HATPaymentSplitterFactory.sol#L14

file: /contracts/HATPaymentSplitter.sol

16        __PaymentSplitter_init(_payees, _shares);

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/HATPaymentSplitter.sol#L16