Bonfida / agnostic-orderbook

Apache License 2.0
79 stars 33 forks source link

Add customizable cranker rewards to market state #13

Closed ellttBen closed 2 years ago

ellttBen commented 2 years ago

This PR allows caller programs to set the fixed fees that would go to crankers. Setting this fee should be done strategically to maximize cranker incentives for particular use cases.

If there is any interest, it could be possible to implement a change_fees instruction to enable developers to adapt their fees in production.