VRGDAs
VRGDAs copied to clipboard
Variable Rate Gradual Dutch Auctions.
The white paper references a square root mechanism, but I don't see one here. Am I missing it?
This PR introduces a `BoundedVRGDA` contract, which adds a simple `min` price to `VRGDA`. It can be used to prevent sale price going to 0, regardless of decay.
PR for https://github.com/transmissions11/VRGDAs/issues/12 Followed the design of https://github.com/transmissions11/libcompound - split Linear and Logistic into 2 libs.
 Noticed this during invariant testing of an Art Gobblers adjacent project. As we approach infinity, this implementation rounds down. The conjecture is that it should round up to 1...
Ain't much, but it's honest work. If bytecode size is of priority, feel free to close. Otherwise, may be worth it if the function is frequently called.
What we should do is separate the VRGDA logic into a lib, and then call that from the abstract classes.