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

fix: addliquidity calculation #728

Merged
merged 1 commit into from
Jan 14, 2023
Merged

fix: addliquidity calculation #728

merged 1 commit into from
Jan 14, 2023

Conversation

jebsley3
Copy link
Contributor

No description provided.

@jebsley3 jebsley3 requested a review from a team as a code owner January 14, 2023 10:41
@github-actions github-actions bot added the dapp dapp related issues/PRs label Jan 14, 2023
@jebsley3 jebsley3 merged commit 683d9a4 into stage Jan 14, 2023
@jebsley3 jebsley3 deleted the fix/ramos-addliq-calc branch January 14, 2023 10:58
@jebsley3 jebsley3 mentioned this pull request Jan 14, 2023
jebsley3 added a commit that referenced this pull request Jan 14, 2023
frontier159 added a commit that referenced this pull request Jul 7, 2023
* fix: addliquidity calculation (#728) (#729)

* feat: temple v2 interfaces

* feat: dUSD initial implementation. testing wip

* feat: cleanup, more tests

* feat: cleanup, more tests

* feat: dUSD implementation and tests

* feat: minor updates, improved tests

* slither updates

* feat: start of strategies

* feat: add dusd testnet admin contract

* feat: added DSR base strategy

* feat: initial TRV - still WIP

* feat: still WIP

* feat: strategies report asset balances

* feat: strategies report asset balances

* feat: tests

* feat: gnosis strategy tests

* feat: wip dsr base strategy tests

* feat: wip continues

* Add safe guard

* Convert to revert string error for Safe UI

* Refactor elevated access

* Add v2 readme

* Add v2 readme

* Updated access

* Updated readme, batch update on guard

* Update README.md

Cleaned up the wording for clarity / readability

* TLC pre-requisites (#804)

* Updated Temple v2 to support TLC

* Add the RAMOS strategy (#805)

* implement the RAMOS strategy reporting the underlying assets

* add tests for RAMOS strategy

* disable the ETH balance report

* update tests for RAMOS strategy

* add TPI on TRV constructor in RAMOS strategy test

* implement functions to add/remove liquidity on RAMOS strategy

* proportional add liquidity

* update the addLiquidity function on RAMOS and the quote functions on PoolHelper

* update RAMOS contract and tests

* implement borrow/repay features on RAMOS strategy and add tests for borrow

* fix bpt total supply issue and add tests for repay

* fix issues on RAMOS contract

* remove operators from RAMOS strategy

* update tests for adding/removing the liquidity

* fix tests for RAMOS and PoolHelper contracts

* update the RAMOS access control mechanism and fix the tests for RAMOS and RAMOS strategy

* set the explicit access to RAMOS on RAMOS strategy test

* Tlc (#806)

* Updated Temple v2 to support TLC

* Updated Temple v2 to support TLC

* Updated Temple v2 to support TLC

* Initial TLC

* Make TLC a strategy

* Use an index accumulator instead of shares

* Updates, gas golfing

* comment out logs

* Tlc reworked (#807)

* Reworked to fit size - strategy split out

* Tlc delegatecall (#808)

* delegatecall

* Reworked to fit size - strategy split out

* added storage to interfaces

* fix up (#809)

* update names

* remove loops

* add expiry to fund request window

* refactor to take token address as input

* further tests

* tests, tests, tests

* split fund request types, tests

* positive interest rate only

* add more tests, cleanup

* comment all of the things

* a couple of extra tests

* remove oud, update tests

* flatten TLC contract

* fix edge cases on interest rate model

* interface tweaks to shutdown, asset balances

* PR feedback, solhint

* refactor ramos imports, ramos strategy updates

* Update ramos tests

* Add comments to Ramos, autoshutdown ramos

* Move TPI into a separate oracle contract

* rename temple/stable in ramos

* ramos rebalance up/down join & exit

* Add fees to ramos

* review feedback (#814)

* review feedback

---------

Co-authored-by: frost ostrich <[email protected]>
Co-authored-by: frost-ostrich <[email protected]>

* gh hardhat tests

* slither

---------

Co-authored-by: Nicho <[email protected]>
Co-authored-by: jebsley3 <[email protected]>
Co-authored-by: Marshall <[email protected]>
Co-authored-by: temple-advocate <[email protected]>
Co-authored-by: cool-eth <[email protected]>
Co-authored-by: frost ostrich <[email protected]>
Co-authored-by: frost-ostrich <[email protected]>
frontier159 added a commit that referenced this pull request Nov 6, 2023
* fix: addliquidity calculation (#728) (#729)

* updated early withdraw vault

* chore: merge fix from main

---------

Co-authored-by: Nicho <[email protected]>
Co-authored-by: jebsley3 <[email protected]>
Co-authored-by: Marshall <[email protected]>
frost-ostrich added a commit that referenced this pull request Nov 6, 2023
* feat: update ramos admin page to new v2 (#886)

* feat: update ramos admin page to new v2 & remove PercentageOfGapToClose section

* fix: ramos admin balancer pool index token order issue

* feat: ramos admin ui CRs

* fix: small typo

* Merge fix (#888)

* fix: addliquidity calculation (#728) (#729)

* updated early withdraw vault

* chore: merge fix from main

---------

Co-authored-by: Nicho <[email protected]>
Co-authored-by: jebsley3 <[email protected]>
Co-authored-by: Marshall <[email protected]>

---------

Co-authored-by: Frontier <[email protected]>
Co-authored-by: Nicho <[email protected]>
Co-authored-by: jebsley3 <[email protected]>
Co-authored-by: Marshall <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dapp dapp related issues/PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants