Modular infrastructure for financially-backed, verifiable prediction resolution. Every answer has quantifiable accountability.
Understand the problem TOC solves and how it differs from oracles and prediction markets.
Learn moreThe POP lifecycle: create, resolve, dispute, finalize. Understand the 9-state machine.
View lifecycleIntegrate TOC into your smart contracts. Create POPs, read results, handle disputes.
View codeSYSTEM, TK_GUARANTEED, PERMISSIONLESS - choose your trust level
Pluggable data sources: Pyth oracles, optimistic, or build your own
TruthKeeper adjudication with admin escalation path
Resolution, dispute, and escalation bonds with 50/50 slash mechanics
// Get result with full context
ExtensiveResult memory result = registry.getExtensiveResult(popId);
// Check accountability tier
if (result.tier == AccountabilityTier.SYSTEM) {
// Full protocol backing - high value settlements
}
// Decode based on answer type
if (result.answerType == AnswerType.BOOLEAN) {
bool answer = abi.decode(result.result, (bool));
}