kopia lustrzana https://github.com/bugout-dev/moonstream
17 wiersze
299 B
Python
17 wiersze
299 B
Python
|
from dataclasses import dataclass
|
||
|
from datetime import datetime
|
||
|
from enum import Enum
|
||
|
|
||
|
|
||
|
class AvailableBlockchainType(Enum):
|
||
|
ETHEREUM = "ethereum"
|
||
|
POLYGON = "polygon"
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class DateRange:
|
||
|
start_time: datetime
|
||
|
end_time: datetime
|
||
|
include_start: bool
|
||
|
include_end: bool
|