Deposit into Priority Pool calls deposit function of the staking pool which transfers asset token from priority pool to staking pool. This requires approve operation on priority pool but there is no approve operation.
In PriorityPool, deposit is done by calling _deposit function.
_deposit function calls stakingPool.deposit function.
The StakingPool's deposit function calls transfer asset token using safeTransferFrom function to transfer token from priority pool to staking pool
Above operation requires approving the staking pool on priority pool. However there is no operation to approve staking pool on priority pool
Depositing into PriorityPool will not work
Mannual
Approve the StakingPool on PriorityPool.
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.