add opensea to init file

This commit is contained in:
Robert Miller 2021-11-16 19:50:39 -05:00
parent 0c69828a6f
commit 6249abcef3
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ from .weth import WETH_CLASSIFIER_SPECS, WETH_ADDRESS
from .zero_ex import ZEROX_CLASSIFIER_SPECS
from .balancer import BALANCER_CLASSIFIER_SPECS
from .compound import COMPOUND_CLASSIFIER_SPECS
from .opensea import OPENSEA_CLASSIFIER_SPECS
ALL_CLASSIFIER_SPECS = (
ERC20_CLASSIFIER_SPECS
@ -21,6 +22,7 @@ ALL_CLASSIFIER_SPECS = (
+ ZEROX_CLASSIFIER_SPECS
+ BALANCER_CLASSIFIER_SPECS
+ COMPOUND_CLASSIFIER_SPECS
+ OPENSEA_CLASSIFIER_SPECS
)
_SPECS_BY_ABI_NAME_AND_PROTOCOL: Dict[

View File

@ -13,3 +13,5 @@ OPEN_SEA_SPEC = [
valid_contract_addresses=["0x7be8076f4ea4a4ad08075c2508e481d6c946d12b"],
)
]
OPENSEA_CLASSIFIER_SPECS = [OPEN_SEA_SPEC]