add cryptopunks trace classifier
This commit is contained in:
parent
c94b2523c1
commit
af2aab4940
1
mev_inspect/abis/cryptopunks/cryptopunks.json
Normal file
1
mev_inspect/abis/cryptopunks/cryptopunks.json
Normal file
File diff suppressed because one or more lines are too long
13
mev_inspect/classifiers/specs/cryptopunks.py
Normal file
13
mev_inspect/classifiers/specs/cryptopunks.py
Normal 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"]
|
||||
)
|
@ -44,6 +44,7 @@ class Protocol(Enum):
|
||||
balancer_v1 = "balancer_v1"
|
||||
compound_v2 = "compound_v2"
|
||||
cream = "cream"
|
||||
cryptopunks = "cryptopunks"
|
||||
|
||||
|
||||
class ClassifiedTrace(Trace):
|
||||
|
Loading…
x
Reference in New Issue
Block a user