-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 <frost_ostrich@proton.me> Co-authored-by: frost-ostrich <127277105+frost-ostrich@users.noreply.github.com> * gh hardhat tests * slither --------- Co-authored-by: Nicho <nichosystem@protonmail.com> Co-authored-by: jebsley3 <96315255+jebsley3@users.noreply.github.com> Co-authored-by: Marshall <99344331+marshall2112@users.noreply.github.com> Co-authored-by: temple-advocate <92966776+temple-advocate@users.noreply.github.com> Co-authored-by: cool-eth <82349338+cool-eth@users.noreply.github.com> Co-authored-by: frost ostrich <frost_ostrich@proton.me> Co-authored-by: frost-ostrich <127277105+frost-ostrich@users.noreply.github.com>
- Loading branch information
1 parent
f6253fb
commit d832d88
Showing
129 changed files
with
71,899 additions
and
1,639 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
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
"semi": true, | ||
"singleQuote": true, | ||
"useTabs": false | ||
} | ||
} |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ module.exports = { | |
'util/ABDKMath', // ABDKMath has issues compiling in solcover | ||
'fakes', // Ignore fakes | ||
] | ||
}; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "solhint:recommended", | ||
"rules": { | ||
"func-visibility": ["warn",{"ignoreConstructors":true}], | ||
"compiler-version": ["error","^0.8.17"], | ||
"reason-string": ["warn",{"maxLength":32}] | ||
} | ||
} |
This file was deleted.
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
Oops, something went wrong.