origin-dollar icon indicating copy to clipboard operation
origin-dollar copied to clipboard

OIP-2 Internal dripper and protocol reserves

Open DanielVF opened this issue 3 years ago • 2 comments

Smooths all yield out and adds a protocol reserve.

By smoothing we improve user experience, and provide hack resistance (since any false yield will be spread out over days, and unavailable in the same block)

Big Picture

image

The drip rate from the funds reserve is recalculated after every rebase. The rebase rate is based on dividing out the total held in the reserve by the drip duration.

Distribution amount

image

Fork Simulation

image image

This implements issue #985

And since this is our first Vault Core change since finding this bug, we are adding in #1247.

DanielVF avatar Dec 15 '22 19:12 DanielVF

0x4382bfabecb29d3f383e046050d643bb041284294484219ffc958f17250063fa

DanielVF avatar Mar 17 '23 15:03 DanielVF

@DanielVF should I review this PR? Are we still thinking of deploying this one?

sparrowDom avatar Jul 06 '23 15:07 sparrowDom