Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Variable Gradual Dutch Auction Module #2

Open
Oighty opened this issue Dec 12, 2023 · 0 comments
Open

Two Variable Gradual Dutch Auction Module #2

Oighty opened this issue Dec 12, 2023 · 0 comments

Comments

@Oighty
Copy link
Contributor

Oighty commented Dec 12, 2023

Implement a two variable gradual dutch auction based on the math in this (draft) post:

Could make various combinations of linear and exponential decay (4 total combinations between variables), but this may be overkill. If using a version of the equation that incorporates minimum price directly (versus truncating with a minimum value), then linear decay must be used on the price variable. Likely, it's best to do linear decay only on price and have an option on the other variable.

Use case: Vesting curve auctions which match supply of vesting durations with demand. Replaces SDAs with a set vesting duration for protocols looking to "bond".

An initial version was started in src/modules/auctions/TVGDA.sol, but is not complete and has carry over from the GDA file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant