Closed kasima closed 6 years ago
An idea from @kfichter:
What if we required users to pay a small fee when submitting exits that'd be used to fund
finalizeExits()
? Basically, we'd keep a pool:uint256 exitFeePool
. Every call tofinalizeExits()
that processes a finalization would transfer a small amount of ETH back to the caller.
Regarding above: it might also be feasible to require some fee that will almost definitely cover the cost of processing the transaction in finalizeExits()
and then refunding the exiting user any excess beyond the gas cost (which is refunded to the user calling finalizeExits()
).
We basically want every user to pay for the cost of their own finalization (no free riders). We can approximate the amount of gas required to execute each finalization, but we can't estimate the gas price.
Moved to research repo
Need to figure out how to incentivize calling of
finalizeExits()
.