Inspector
Inspector
Inspector user type data structure.
Parameters
| Name | Type | Description |
|---|
struct Inspector {
uint64 id;
address inspectorWallet;
string name;
string proofPhoto;
uint256 totalInspections;
uint256 giveUps;
uint256 lastAcceptedAt;
uint256 lastRealizedAt;
uint64 lastInspection;
struct Pool pool;
uint256 createdAt;
}
Penalty
Invalidated inspection penalty.
struct Penalty {
uint64 inspectionId;
}
Pool
Inspector pool data.
Parameters
| Name | Type | Description |
|---|
struct Pool {
uint256 level;
uint256 currentEra;
}