The protocol is not compatible with fee-on-transfer tokens.
For example, in the SablierV2LockupTranched::_create()
function, the createAmounts.deposit
is saved to the stream, L233:
And the depositor transfers createAmounts.deposit
amount of asset token to the contract.
If the asset is a fee-on-transfer token, the token amount received by the contract is less than createAmounts.deposit
due to the transfer fee.
The stream would have insufficient tokent to distribute.
vscode
Update the relavant codes and track the token amount the contract received.
https://www.codehawks.com/contests/clvb9njmy00012dqjyaavpl44
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.