project-serum / serum-dex

Project Serum Rust Monorepo
https://projectserum.com
Apache License 2.0
615 stars 324 forks source link

RFC: Invest unsettled funds in a lending protocol #154

Open secretshardul opened 3 years ago

secretshardul commented 3 years ago

As per my understanding, unsettled funds remain idle until they are reclaimed by users. They could be invested in a lending protocol to earn interest. Take a small cut and pass the profits to the users. This shouldn't break composability as withdrawals and settlements happen in a single step.

secretshardul commented 3 years ago

Probably collides with https://github.com/project-serum/serum-dex/issues/109