From 6249abcef3fbf1e9a2bdde93701b9a0de285a28f Mon Sep 17 00:00:00 2001 From: Robert Miller Date: Tue, 16 Nov 2021 19:50:39 -0500 Subject: [PATCH] add opensea to init file --- mev_inspect/classifiers/specs/__init__.py | 2 ++ mev_inspect/classifiers/specs/opensea.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mev_inspect/classifiers/specs/__init__.py b/mev_inspect/classifiers/specs/__init__.py index 6d2b4e3..1da0e3d 100644 --- a/mev_inspect/classifiers/specs/__init__.py +++ b/mev_inspect/classifiers/specs/__init__.py @@ -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[ diff --git a/mev_inspect/classifiers/specs/opensea.py b/mev_inspect/classifiers/specs/opensea.py index 90ded1d..3af0e00 100644 --- a/mev_inspect/classifiers/specs/opensea.py +++ b/mev_inspect/classifiers/specs/opensea.py @@ -12,4 +12,6 @@ OPEN_SEA_SPEC = [ protocol=Protocol.opensea, valid_contract_addresses=["0x7be8076f4ea4a4ad08075c2508e481d6c946d12b"], ) -] \ No newline at end of file +] + +OPENSEA_CLASSIFIER_SPECS = [OPEN_SEA_SPEC]