omgnetwork / research

43 stars 2 forks source link

Explore incentives around finalizing exits #25

Closed kasima closed 5 years ago

kasima commented 6 years ago

(Moved this conversation from: https://github.com/omisego/plasma-mvp/issues/129)

Need to figure out how to incentivize calling of finalizeExits().

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 to finalizeExits() that processes a finalization would transfer a small amount of ETH back to the caller.

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.