You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
# You can use any Ape's extensive array of plugins and toolsfromape_tokensimporttokensexceptImportError:
# NOTE: Must install tokenlists to use this featuretokens= {}
...
YFI=tokens.get("YFI", Contract("<YFI address on mainnet>"))
...
The text was updated successfully, but these errors were encountered:
fubuloubu
changed the title
Allow exampe to work with or without ape-tokens installed
Allow example to work with or without ape-tokens installed
Oct 21, 2024
silverback/example.py
Line 7 in bfba34b
do something like:
The text was updated successfully, but these errors were encountered: