Skip to content

Commit

Permalink
Chore) update entry point names (#162)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
0xDegenDeveloper and dhruv035 committed Sep 16, 2024
1 parent 801fda5 commit 1c33f73
Show file tree
Hide file tree
Showing 39 changed files with 2,164 additions and 2,186 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ out/

.DS_Store
.env
scripts/simulationData/simulationOutput/simulationResults*.json
scripts/simulationData/simulationOutput/simulationResults*.json
scripts/simulationData/simulationSheet*.json
Loading

0 comments on commit 1c33f73

Please sign in to comment.