Skip to content

Commit

Permalink
fix: registry
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBasically committed Sep 1, 2023
1 parent 805075c commit 35d15ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions scripts/print_strategies.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
from datetime import datetime

import click
import sentry_sdk
from brownie.utils.output import build_tree

sentry_sdk.set_tag('script','print_strategies')


def main():
from yearn.v2.registry import Registry
registry = Registry()
registry = Contract.from_explorer('0xACd0CEa837A6E6f5824F4Cac6467a67dfF4B0868')
print(registry)
registry.load_strategies()
tree = []
Expand Down
2 changes: 1 addition & 1 deletion yearn/v2/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load_registry(self):
contract('0x8ED9F6343f057870F1DeF47AaE7CD88dfAA049A8'), # StakingRewardsRegistry
]
elif chain.id == Network.Base:
return [contract('0x697BC6bd64677bE63240262869dD5F2A3eEACCd3')]
return [contract('0xF3885eDe00171997BFadAa98E01E167B53a78Ec5')]
else:
raise UnsupportedNetwork('yearn v2 is not available on this network')

Expand Down

0 comments on commit 35d15ab

Please sign in to comment.