-
Notifications
You must be signed in to change notification settings - Fork 80
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
Aerodrome OETH AMO #2019
Aerodrome OETH AMO #2019
Conversation
* Add Tooling for Base network * Fix scripts * Add empty migrations file * Fix failing fork tests
* @param asset address of the asset | ||
* @return uint256 unit price for 1 asset unit, in 18 decimal fixed | ||
*/ | ||
function price(address asset) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function is still identical to the one in OETHOracleRouter
. You can create a OETHOracleRouterBase
and implement the price
function in it. And then have OETHOracleRouter
and BaseOETHOracleRouter
inherit from it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactored here: 826361f
* feat: oethcore deployment * chore: fix deployment setup * chore: update global hook * config: update defi.yml * config: add base fork tests to defi.yml * Fix order of comparison * Minor tweaks * Fund correct deployer on fork * fix: tests * chore: fix tests * chore: remove stack trace flag * chore: fix typo * chore: fix test * fix: base fork test fixture * chore: rename deployment file * feat: OETHBase Vault base fork tests * fix: unit tests * feat: add more fork tests * feat: refactor deploy actions, fixture and fork test * chore: minor optimization * refactor: fix deploy actions and fixtures * refactor: fork tests * refactor: harvester contracts * refactor: tests and deploy action * chore: more refactoring * Update deploy scripts to use Guardian address (#2075) * wip * refactor: update deploy scripts to use guardian * chore: rename AeroHarvester -> OETHBaseHarvester * refactor: abstract oracle contract * chore: fmt * refactor: base harvester aerodrome route --------- Co-authored-by: Domen Grabec <[email protected]> Co-authored-by: Shahul Hameed <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2019 +/- ##
==========================================
- Coverage 60.34% 56.22% -4.13%
==========================================
Files 59 64 +5
Lines 3006 3262 +256
Branches 775 637 -138
==========================================
+ Hits 1814 1834 +20
- Misses 1189 1425 +236
Partials 3 3 ☔ View full report in Codecov by Sentry. |
Aerodrome OETH AMO
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
If you made a contract change, make sure to complete the checklist below before merging it in master.
Refer to our documentation for more details about contract security best practices.
Contract change checklist:
Notion resources: