-
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
feat: sablier fee on Airstreams claim #1038
Conversation
de15007
to
945477a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i've seen that you have modified the contract as per my suggestion
i do have one more question:
test: setSablierFee
4657ecc
to
4abe924
Compare
test: ReceiveEth mock contract test: update precompiles refactor: add missing override modifier refactor: return feeAmount in withdrawFees in MerkleBase
fdfb966
to
475bf14
Compare
This PR is now ready for review pending conclusion in #1039. |
Thanks, @smol-ninja! We need to implement some additional functionality, unfortunately. |
No problem. |
This comment was marked as outdated.
This comment was marked as outdated.
2534f59
to
53ef500
Compare
f727f8e
to
b82c687
Compare
@andreivladbrg You can review this PR now. Its completed from my end. |
Bumping this up @andreivladbrg so that you can add it to your to do task. |
I’m sorry, @smol-ninja 😞. I rebased on |
|
No problem @andreivladbrg. I am sure it wont take more than 2 mins to fix it. These ain't as scary as they look in Github UI. |
974cac0
to
de0bce6
Compare
de0bce6
to
2538668
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So sorry for the late review, we’ve been busy with Flow, and I’ve just gotten my focus back on Lockup.
I haven’t fully reviewed the tests yet, but I’ll leave my feedback on src
below:
Also, why campaignOwner
and not campaignAdmin
?
Finally. Thanks for the partial review @andreivladbrg. Appreciate it!
No reason just #1032 (comment): |
refactor: use plural in mapping names refactor: DRY'ify through _computeSablierFeeForUser function refactor: adds missing override refactor: rename SetSablierFee to SetSablierFeeForUser feat: add non-zero check for to address in withdrawFees docs: polish natspecs fix: typos Co-authored-by: Andrei Vlad Birgaoanu <99738872+andreivladbrg@users.noreply.github.com>
As per Slack conversation between @razgraf and @andreivladbrg, its beneficial for the UI to include @andreivladbrg, which one would you go for? I’d like to go with the first approach as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 more comments re src
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just reviewed the tests as well, and they generally look good. (pushed some small polishes cf0990e)
There are a couple of things I would update (due to the new shared structure in periphery), but to avoid doing the same work twice after rebasing in this PR, I’ll address them there.
Sorry again for the long time waited. We are finally here 🚀
docs: polish natspecs over setDefaultSablierFee chore: change visibility to private for internal functions in Factory
@smol-ninja I have missed this one. The reason I introduced the internal function for deployment was due to a "stack too deep" error. If you can manage to abstract the logic into a single function, feel free to go for it. |
Changelog
SablierFee
structcampaignOwner
instruct Users
BUSL-1.1
license toSablierMerkleFactory