21 lines
554 B
Python
21 lines
554 B
Python
from mev_inspect.schemas.classifier_specs import ClassifierSpec
|
|
from mev_inspect.schemas.classified_traces import (
|
|
Classification,
|
|
Protocol,
|
|
)
|
|
|
|
BALANCER_V1_SPECS = [
|
|
ClassifierSpec(
|
|
abi_name="BPool",
|
|
protocol=Protocol.balancer_v1,
|
|
classifications={
|
|
"swapExactAmountIn(address,uint256,address,uint256,uint256)": Classification.swap,
|
|
"swapExactAmountOut(address,uint256,address,uint256,uint256)": Classification.swap,
|
|
},
|
|
),
|
|
]
|
|
|
|
BALANCER_CLASSIFIER_SPECS = [
|
|
*BALANCER_V1_SPECS,
|
|
]
|