-
Notifications
You must be signed in to change notification settings - Fork 120
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
WIP meta pool contracts with gauge token support #773
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #773 +/- ##
===========================================
- Coverage 92.88% 77.64% -15.24%
===========================================
Files 52 56 +4
Lines 3052 3651 +599
Branches 634 595 -39
===========================================
Hits 2835 2835
- Misses 217 816 +599
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
8ade918
to
fdcc658
Compare
|
||
// Check the last element of _pooledTokens is a gauge token | ||
// This is a naiive check | ||
IERC20 guageToken = _pooledTokens[_pooledTokens.length - 1]; |
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.
Nit: "gauge" misspelled
Adds 4 new contracts
Meta* contracts are cloned from existing metaswap contracts with modifications to support depositing/withdrawing from gauges. MetaSwapGaugeSupportV1 has a new inheritence from GaugeTokenHolder.