Currently WETH address is hardcoded:
However this belongs to WETH only on Mainnet, this address is empty on other networks such as Arbitrum, Optimism, Polygon.
TokenFacet.wrapEth()
and TokenFacet.unwrapEth()
functions will not work. It means TractorFacet cannot be used to convert ETH into WETH inside batch.
Manual Review
Configure WETH address during deployment instead of hardcoding.
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.