No check if the address of tokenAddress
in createPool
function exists
The function createPool(address)
does not have a way to verify if the pool exists (can be zero address or non-existing contract). A user can create a TSwapPool
contract with non-deployed or zero address.
Manual Review
Code a way to verify if an address is a deployed contract (and != zero address). If it is not, revert with the existing PoolFactory__PoolDoesNotExist(address tokenAddress)
error that is currently unused.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.