Skip to content
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

Improving redistribution efficiency #1

Open
sketsdever opened this issue Apr 19, 2023 · 0 comments
Open

Improving redistribution efficiency #1

sketsdever opened this issue Apr 19, 2023 · 0 comments

Comments

@sketsdever
Copy link
Collaborator

Right now, the builder transfers kickbacks directly to each recipient. This transfer incurs a gas cost, so the user’s effective profit = kickback - cost of transfer. We would like to increase effective profit by reducing the cost for a user to receive their kickback.

One idea is to create a claims contract that stores a mapping of addresses → balances. Every time a user receives a kickback, the builder updates the balance that is mapped to their address. The user can claim() their balance from the contract at any point in time. Because the cost of storage is less than the cost of a transfer, the user can save fees by waiting for several kickbacks before claiming their balance. Further analysis is needed to evaluate precisely how long a user will need to wait for this to be cost effective. It partially depends on the average number of mev-share kickbacks that are processed in a given block.

The claims contract could be avoided by having builders custody funds themselves, though this would introduce additional trust assumptions and possible liabilities for builders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant