If a user makes so many decreasePosition
requests in 1 day, the length of pendingStakes
becomes so large and this may cause to exceed block gas limit. This pendingStakes
is used in a for loop in the holderPendingStakes
function, which is then used in the position
function.
Holder cannot see its position.
Manual Review
Add a requirement to decreasePosition
function that checks minimum stake amount and add pendingStake limit for each user.
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.