Skip to main content

Inspector

Inspector

Inspector user type data structure.

Parameters

NameTypeDescription
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

NameTypeDescription
struct Pool {
uint256 level;
uint256 currentEra;
}