Replies: 8 comments 15 replies
|
There are a few other advantages to Batch Lockup
|
|
I agree with this proposal. The best argument for keeping it was this: avoid requiring the user to IMO, maintaining the Batch Lockup contract is not worth it anymore. Another argument for removing it is to have consistency across the Lockup and Flow versions, as one has a dedicated Batch contract while the other does not. (I think this can also be abstracted at the app level) |
|
Good points raised from all sides. Personally, I am not in favour of removing To address the concern raised in the OP, we could add a dedicated section in the docs specifically for these users, informing them on which two contracts need to be whitelisted. The section can have guidelines for different kinds of tokens requirements that we have seen so far. Beyond the debugging issues mentioned with Etherscan, another reason to retain
I would strongly disagree with this approach. We should focus on maintaining only the core logic in the contract to avoid splitting up again due to size limitations.
If I’m not mistaken, senders only need to approve
I don’t think consistency between Lockup and Flow is necessary. The two protocols are quite different and can have different designs systems. My suggestion would be to keep |
|
I'm still on the fence about this decision. |
UpdateThe existence of an intermediary PROOFNote This is a bespoke issue but it's guaranteed to happen again with non-permissionless tokens. Big issue since it required their engineers to step in and take a look at the issue. Whereas they were able to use Team Finance without any issues.
Tren FinanceA smaller issue, but they have rolled out their own analytics tool and they were unsure whether to look at
Alternative Solution: Bespoke Token LauncherAs discussed in Cannes, an alternative solution to this problem would be to create our own token launcher. cc @sablier-labs/evm, @razgraf, and @maxdesalle. |
This comment has been hidden.
This comment has been hidden.
|
Should we close this as unplanned/outdated, @sablier-labs/evm? |
|
yeah, we ended up keeping both |







Uh oh!
There was an error while loading. Please reload this page.
Idea
Delete the
BatchLockupcontract and either (i) use the general-purposebatchfunction or (ii) re-implement the logic inLockup.Rationale
Users interacting with Sablier programmatically have to ERC-20 approve and whitelist our contracts (e.g., in token contracts in which only some addresses are allowed to transfer tokens).
Using one contract (
Lockup) instead of two (LockupplusBatchLockup) would lower the cognitive load for these users.Here's a recent example:
General-Purpose Batch
The only downside I see with the general-purpose
batchis that understanding what happened in the transaction through Etherscan will become slightly more complicated.Reimplementing the Logic
This would be neater, but the contract size may prevent us from taking this approach.
Feedback
cc @sablier-labs/solidity and @sablier-labs/frontend for feedback
All reactions