add open sea trace classifier
This commit is contained in:
parent
c94b2523c1
commit
0c69828a6f
1
mev_inspect/abis/opensea/OpenSea.json
Normal file
1
mev_inspect/abis/opensea/OpenSea.json
Normal file
File diff suppressed because one or more lines are too long
15
mev_inspect/classifiers/specs/opensea.py
Normal file
15
mev_inspect/classifiers/specs/opensea.py
Normal file
@ -0,0 +1,15 @@
|
||||
from mev_inspect.schemas.traces import (
|
||||
Protocol,
|
||||
)
|
||||
from mev_inspect.schemas.classifiers import (
|
||||
ClassifierSpec,
|
||||
)
|
||||
|
||||
|
||||
OPEN_SEA_SPEC = [
|
||||
ClassifierSpec(
|
||||
abi_name="OpenSea",
|
||||
protocol=Protocol.opensea,
|
||||
valid_contract_addresses=["0x7be8076f4ea4a4ad08075c2508e481d6c946d12b"],
|
||||
)
|
||||
]
|
@ -44,6 +44,7 @@ class Protocol(Enum):
|
||||
balancer_v1 = "balancer_v1"
|
||||
compound_v2 = "compound_v2"
|
||||
cream = "cream"
|
||||
opensea = "opensea"
|
||||
|
||||
|
||||
class ClassifiedTrace(Trace):
|
||||
|
Loading…
x
Reference in New Issue
Block a user