The TradingAccountBranch::createTradingAccountAndMulticall()
is responsible for creating a trading account and execute different function on it such as depositMargin()
This function is payable meaning ETH can be sent during the transaction. This value is never used anywhere else in Zaros meaning the ETH will remain in the contract with no way to retrieve it.
Funds can be lost in the contract.
Manual review
Remove the payable
from the function.
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.