-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vault share pricing and unmatured position valuation (#4)
* refactor position accounting into library * positive interest works * cleanup, rename playground to pricing test, add remappings.txt to massively speed up LSP * add tests for hyperdrive w/ fees * moving things around and adding tests for portfolio value estimation * massively simplify calculateCloseLong and remove unused internal contracts * hyperdrive execution math is exact * wei-exact accounting * comment all the things * Update Everlong.sol Co-authored-by: Alex Towle <[email protected]> * Update IEverlong.sol Co-authored-by: Alex Towle <[email protected]> * Update contracts/interfaces/IEverlong.sol Co-authored-by: Alex Towle <[email protected]> * addressing feedback from @jalextowle * addressing feedback from @jalextowle * testing fixes (#5) * tmp * portfolio and 4626 fixes/tests * fix rebase issues * update existing tests, remove position tests (will re-add similar scope with idle liquidity feature) * Update test/units/EverlongPortfolio.t.sol Co-authored-by: Alex Towle <[email protected]> * Update contracts/Everlong.sol Co-authored-by: Alex Towle <[email protected]> --------- Co-authored-by: Alex Towle <[email protected]> --------- Co-authored-by: Alex Towle <[email protected]>
- Loading branch information
1 parent
599067b
commit 60ec1f1
Showing
30 changed files
with
1,844 additions
and
1,449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,3 +137,7 @@ lcov.info | |
|
||
# vscode workspace settings | ||
.vscode | ||
|
||
# notes | ||
NOTES.md | ||
TODO.md |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.