Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Missing check if capital pool is set

Summary

In TokenManager.sol withdraw the capitalPoolAddr is used as the from address when sending the withdrawn tokens. However, there is no check for the address being 0 which can cause transfer calls to revert.

Impact

Function call will fail.

Tools Used

Manual review

Recommendations

As in the tillIn() funtion

if (capitalPoolAddr == address(0x0)) {
revert Errors.ContractIsNotDeployed();
}
Updates

Lead Judging Commences

0xnevi Lead Judge
about 1 year ago
0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.