omgnetwork / plasma-mvp

OmiseGO's research implementation of Minimal Viable Plasma
MIT License
561 stars 158 forks source link

Explore incentives around finalizing exits #129

Closed kasima closed 6 years ago

kasima commented 6 years ago

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

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

smartcontracts commented 6 years ago

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()).

smartcontracts commented 6 years ago

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.

kasima commented 6 years ago

Moved to research repo