Truth Assertion Flow
This is how truths can be asserted and validated on-chain using the Veritus Optimistic Oracle:
Truth Submission:
An asserter submits a truth, such as the outcome of an event or a verified claim, directly to the Veritus optimistic oracle. This submission includes a unique identifier to distinguish it from other assertions and a bond, which ensures the integrity of the claim. The bond is refunded if the assertion remains undisputed.
Note that in our case, for simplicity of data retrieval, we use a sequential u64
identifier for each assertion. However, the unique assertion ID that has been hashed with keccak256, similar to UMA Protocol's Optimistic Oracle V3, has been kept for reference and can be deployed for production if needed.
Truth Assertion and Validation Period:
Once submitted, the asserted truth enters a validation period during which it can be reviewed. During this time, any network participant has the option to dispute the truth if they believe it to be inaccurate. If the validation period expires without dispute, the truth is accepted as valid and confirmed on-chain.
Disputers can challenge the truth by submitting their own bond, which triggers the dispute resolution process. This structure ensures that only truths likely to withstand scrutiny are put forward.
Dispute Resolution:
In the event of a dispute, Veritus’s Escalation Manager handles the resolution. The manager assesses the validity of the asserted truth by evaluating available evidence. Based on this assessment, the dispute is resolved either by upholding the original truth or by rejecting it.
If the original assertion is found to be incorrect, the asserter’s bond is forfeited, and a portion of it is rewarded to the disputer. Conversely, if the truth is validated as accurate, the asserter’s bond is returned, reinforcing the integrity of the process.
Finalization and On-Chain Confirmation:
Once the validation period concludes without dispute, or if the dispute is resolved in favor of the asserter, the truth is confirmed and recorded on-chain. It then becomes accessible to decentralized applications on Aptos, enabling their use of verified information for a variety of purposes.
This flow guarantees that assertions are carefully validated before they are permanently available on-chain, allowing decentralized applications to rely on accurate, on-chain truths while maintaining transparency and accountability throughout the process.