Return amount
in cancel and withdraw functions
#1130
Labels
effort: low
Easy or tiny task that takes less than a day.
priority: 1
This is important. It should be dealt with shortly.
type: feature
New feature or request.
work: clear
Sense-categorize-respond. The relationship between cause and effect is clear.
While brainstorming https://github.com/sablier-labs/company-discussions/discussions/85, I came to realize that its super useful to return amounts in functions which transfer tokens:
cancel
cancelMultiple
withdrawMax
withdrawMaxAndTransfer
Currently, it requires making two calls such as
refundableAmountOf
followed bycancel
.cc @sablier-labs/solidity in case you have any objection.
The text was updated successfully, but these errors were encountered: