Closed code423n4 closed 2 years ago
gzeon
https://github.com/code-423n4/2022-01-trader-joe/blob/a1579f6453bc4bf9fb0db9c627beaa41135438ed/contracts/RocketJoeFactory.sol#L178
function setRouter(address _router) external override onlyOwner { router = _router; emit SetRouter(_router); }
would cause this to revert https://github.com/code-423n4/2022-01-trader-joe/blob/a1579f6453bc4bf9fb0db9c627beaa41135438ed/contracts/LaunchEvent.sol#L411
(, , lpSupply) = router.addLiquidity(
Duplicate of #263
Handle
gzeon
Vulnerability details
Impact
https://github.com/code-423n4/2022-01-trader-joe/blob/a1579f6453bc4bf9fb0db9c627beaa41135438ed/contracts/RocketJoeFactory.sol#L178
would cause this to revert https://github.com/code-423n4/2022-01-trader-joe/blob/a1579f6453bc4bf9fb0db9c627beaa41135438ed/contracts/LaunchEvent.sol#L411