2022-01-17 17:15:10 -08:00

16 lines
293 B
Python

from typing import List
from pydantic import BaseModel
from .swaps import Swap
class Sandwich(BaseModel):
block_number: int
sandwicher_address: str
frontrun_swap: Swap
backrun_swap: Swap
sandwiched_swaps: List[Swap]
profit_token_address: str
profit_amount: int