Skip to content

Commit

Permalink
fix: replace from_dict with init (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Jan 19, 2022
1 parent 65ee3bf commit 6e8d8a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ape_tokens/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from eth_utils import to_checksum_address
from tokenlists import TokenListManager

ERC20 = ContractType.from_dict(
{
ERC20 = ContractType(
**{
"contractName": "ERC20", # type: ignore
"abi": [
{
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
python_requires=">=3.7, <4",
install_requires=[
"importlib-metadata ; python_version<'3.8'",
"eth-ape>=0.1.0b2",
"eth-ape>=0.1.0b4",
"tokenlists>=0.1.1",
],
entry_points={
Expand Down

0 comments on commit 6e8d8a7

Please sign in to comment.