-
Notifications
You must be signed in to change notification settings - Fork 20
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
Explore incentives to push splits #103
Comments
@xmxanuel came up with more more ideas:
|
The simplest version mimicking 0xsplits can be done with a new app and no changes to the protocol. Let's call it an
function collect(uint256 assetId, uint256[] receive, uint256[] split, address collector) public { When called it Alternatively |
This is a really neat design! I love that it provides an option for incentives without any changes to the protocol. We should definitely look into deploying an instance of AutomationApp and writing up some example code for how to use it once v0.2 is live on mainnet and audited. |
0xsplits protocol has a nice feature of tipping the person who triggers splitting and pays the gas. They've implemented it as a configurable percentage of the split funds which goes to the caller. This way the network keeps flushing itself, especially during low gas price periods. If there are bots involved, we can expect the tip for the caller to be around the lowest possible gas cost to push the split. The regular splits receivers don't really lose anything, somebody needed to pay for the gas anyway. It's even better, because it's done optimally and in form of a tax proportionally divided between all the receivers. E.g. if there are 100 receivers and each gets just 50$, nobody will ever trigger splitting, it makes no financial sense. But if the caller tip is 10%, each will get only 45$ but the bot may actually make it a reality because it'll get 500$ which is enough to cover the gas.
An approach like this is worth exploring, either by copying the 0xsplits solution or by inventing something similar but better suited for us.
The text was updated successfully, but these errors were encountered: