If there are insufficient nodes (possibly due to requiring too many) or the difficulty requirements are too high, the buyer may not receive the oracle results during the buy phase.
The validationDeviationFactor
is an unused parameter.
The marketParams
array keeps growing, and if its length exceeds around 6,000, the gas required for a single transaction will surpass the gas limit, causing the getRoundPhase
function to fail. This would render almost all of the agent's functionalities unusable.
The isOperator
does not need to include the swan address, as swan will not proactively call any privileged functions of the agent.
There's no need to transfer SwanAsset
and tokens to swan first before giving them to the user. Using transferFrom
to directly send them to the user would be more gas-efficient.
When the user calls the purchase
function, if the number of assets bought in a single transaction exceeds around 39, the transaction will fail due to insufficient gas. Both the seller and the buyer will lose the transaction fees they have already paid.
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.