SDLPoolPrimary::onTokenTransfer
is an implementation to lock SDL tokens or distribute rewards according to the documentation:
"ERC677 implementation to stake/lock SDL tokens or distribute rewards - will update or create a lock if the transferred token is SDL, will distribute rewards otherwise" (Documentation)[https://docs.stake.link/core-contracts/sdlpool#ontokentransfer]
SDLPoolPrimary::onTokenTransfer
will not be able to call RewardsPoolController::distributeTokens
if the token transferred is not from SDL.
Due to the implementation logic, it's going against their documentation.
SDLPool is not able to distribute SDL reward tokens as intended.
Manual Review
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.