CourtRegistry
Key State
mapping(address => AgentProfile) public agents;
mapping(address => uint256) public judgeStakes;
address[] public registeredAgents;
address[] public judgePool;
uint256 public constant JUDGE_STAKE_MIN = 1_000 * 1e18; // 1,000 JRX
uint256 public constant SLASH_AMOUNT = 100 * 1e18; // 100 JRX
uint256 public constant INITIAL_REPUTATION = 100;AgentProfile
struct AgentProfile {
bytes32 erc8004Id;
uint256 reputationScore; // starts at 100
uint256 casesWon;
uint256 casesLost;
uint256 noShows;
bool isRegistered;
uint256 registeredAt;
}Key Functions
Registration
Judge Staking
Reputation
Views
Events
Last updated