-
Notifications
You must be signed in to change notification settings - Fork 49
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
Make "batch" function payable #1090
Comments
Lets include this change alongside making other withdraw functions payable ( |
I was trying to implement this and am facing some issues. I’m afraid we won’t be able to achieve this via batch. If we declare This leads to the conclusion that we can’t declare it as |
In the for loop inside What do you think of this? |
don't think will work as the |
One thing to test is that if a function is not marked as |
we can't do this: |
Curious, why does Uniswap's multicall work? What's different in their implementation? Note: as you can see they don't specify a value in delegatecall |
Uniswap has a different problem situation, which is not related to our problem situation. Our problem is that we want to charge a flat, per-transaction ETH fee regardless of how many withdrawals are made in a transaction. Since the
|
they have declared all the functions where e.g. etc.. |
https://github.com/sablier-labs/company-discussions/discussions/72#discussioncomment-11292236
payable
.withdraw
, viawithdrawMultiple
, or viabatch
, which would make the accounting difficult to handle.We will keep track of ETH transfers through other means, e.g., Etherscan, subgraphs, etc.
The text was updated successfully, but these errors were encountered: