hats-finance / Convergence-Finance---IBO-0x0e410e7af8e70fc5bffcdbfbdf1673ee7b3d0777

IBO, Vesting & Bond mecanism repo prepared for Hat finance audit competition
0 stars 0 forks source link

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

Open hats-bug-reporter[bot] opened 1 year ago

hats-bug-reporter[bot] commented 1 year ago

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

Description: Description

file: /contracts/PresaleVesting/Ibo.sol

106        treasuryBonds = _treasuryBonds;

107        bondCalculator = _bondCalculator;

108        cvgOracle = _cvgOracle;

109        iboStartTimestamp = block.timestamp;

110        merkleRootPepe = _merklePepe;

111        merkleRootWl = _merkleWl;

https://github.com/Cvg-Finance/hats-audit/blob/da48577d2f42fa8c2e35bb7223208ea6ba88012e/contracts/PresaleVesting/Ibo.sol#L106-L111

file: /contracts/PresaleVesting/VestingCvg.sol

87        presaleWl = _presaleWl;

88        presaleSeed = _presaleSeed;

89        ibo = _ibo;

https://github.com/Cvg-Finance/hats-audit/blob/da48577d2f42fa8c2e35bb7223208ea6ba88012e/contracts/PresaleVesting/VestingCvg.sol#L87-L89

file: /contracts/Token/Cvg.sol

28        cvgControlTower = _cvgControlTower;

29        airdrop = _airdrop;

https://github.com/Cvg-Finance/hats-audit/blob/da48577d2f42fa8c2e35bb7223208ea6ba88012e/contracts/Token/Cvg.sol#L28-L29

walk-on-me commented 1 year ago

Hello, Thanks a lot for your attention.

This is a configuration issue. We have so to consider this issue as Invalid