add cryptopunks trace classifier

This commit is contained in:
Robert Miller 2021-11-10 20:14:42 -05:00
parent c94b2523c1
commit af2aab4940
3 changed files with 15 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,13 @@
from mev_inspect.schemas.traces import (
Protocol,
)
from mev_inspect.schemas.classifiers import (
ClassifierSpec,
)
CRYPTO_PUNKS_SPEC = ClassifierSpec(
abi_name='cryptopunks',
protocol=Protocol.cryptopunks,
valid_contract_addresses=["0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB"]
)

View File

@ -44,6 +44,7 @@ class Protocol(Enum):
balancer_v1 = "balancer_v1"
compound_v2 = "compound_v2"
cream = "cream"
cryptopunks = "cryptopunks"
class ClassifiedTrace(Trace):