-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dedup _withdrawableAmountOf
#455
Comments
It would require to add Wouldn't calling |
We have the internal function |
Yes we do but we don't have the |
We can simply define it like this: /// @inheritdoc ISablierV2Lockup
function withdrawableAmountOf(uint256 streamId)
external
view
override
isNotNull(streamId)
returns (uint128 withdrawableAmount)
{
withdrawableAmount = _withdrawableAmountOf(streamId);
} You'll see when I make the PR. |
We can't do that for reasons I will explain in my PR (related to my status enum updates). |
The
_withdrawableAmountOf
implementations inSablierV2LockupLinear
andSablierV2LockupDynamic
can be moved to theSablierV2Lockup
abstract.The text was updated successfully, but these errors were encountered: