OIP-2 Internal dripper and protocol reserves
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
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
Fork Simulation
This implements issue #985
And since this is our first Vault Core change since finding this bug, we are adding in #1247.
0x4382bfabecb29d3f383e046050d643bb041284294484219ffc958f17250063fa
@DanielVF should I review this PR? Are we still thinking of deploying this one?