File size: 391 Bytes
6391563
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from pydantic import BaseModel

class ProductivityData(BaseModel):
    unique_folded: int
    total_completed_jobs: int
    
class Productivity(BaseModel):
    all_time: ProductivityData
    last_24h: ProductivityData
    
class ThroughputData(BaseModel):
    validator_sent: float
    miner_sent: float

class Throughput(BaseModel):
    all_time: ThroughputData
    last_24h: ThroughputData