Rebasing tokens are tokens that have each holder's balanceof() increase over time. Aave aTokens are an example of such tokens.
In Staking.sol users expect that when they deposit tokens to the contract, they get back all rewards earned, not just a flat rate. With the contracts of this project, deposited tokens will grow in value, but the user will only return the pre-calculated amount set in the storage variable balances[msg.sender] -= _amount;. Amounts go solely to the owner/creator or will remain locked in the contract if no withdraw excess tokens function is added to the contract for the owner.
If rebasing tokens are used as the collateral token, rewards accrue to the contract and cannot be withdrawn by either the user or the owner, and remain locked forever.
Manual Review
Provide a function for the pool owner to withdraw excess deposited tokens and repay any associated taxes.
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.