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

Feat/sim details #158

Merged
merged 6 commits into from
Sep 16, 2024
Merged

Feat/sim details #158

merged 6 commits into from
Sep 16, 2024

Conversation

dhruv035
Copy link
Collaborator

@dhruv035 dhruv035 commented Aug 2, 2024

No description provided.

@dhruv035 dhruv035 changed the base branch from main to develop August 2, 2024 18:42
@dhruv035 dhruv035 changed the base branch from develop to chore/update-entrypoint-names September 16, 2024 14:35
@dhruv035 dhruv035 marked this pull request as ready for review September 16, 2024 21:02
@dhruv035 dhruv035 merged commit 649e9f3 into chore/update-entrypoint-names Sep 16, 2024
4 checks passed
dhruv035 added a commit that referenced this pull request Sep 16, 2024
* commented out LP token tests

* updated vault interface naming

* added settlement price getter to option round

* formatting

* formatting

* added tests for vault queued bps

* clean comments, sorting, variable/function names

* Update red_black_tree.cairo

reduced some logic to use less steps

updated storage var names for clarity

* update vault contract

-removed vault_manager
-updated calls to new round interface
-changed event to StashWithdrawn (instead of QueuedLiquidityCollected)

* update bid struct

-fixed member names for clarity

* update option round contract

- change update bid to taking in price increase, amount cannot be altered now
- update account bid nonce to u64 to match tree nonce
- made auction start event also emit starting liquidity
- changed bid accepted event to bid placed event
- bid update event emits price increase
- made auction end event also emit unsold liquidity
- dropped total payout from round settled event
-

* formatting

* updated comments and sorting of functions

* updated comments

also store vault's and accounts' queued liquidity in the same mapping

* remove old comments

* update storage var

* Feat/sim details (#158)

* Edits

* Remove Outputs

* Update gitignore

* Update withdrawal premiums logic

* Fuzzing

* Update tests

---------

Co-authored-by: Dhruv Gupta <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant