# Bright Sight - Optimistic Oracle

Overview: What is an optimistic oracle?

An Optimistic Oracle is a mechanism to provide data in a decentralized and trust-minimized manner. It operates under the assumption that data is generally provided correctly, and disputes are rare. This mechanism leverages economic incentives to ensure data integrity and accuracy.​

#### Key Features <a href="#key-features" id="key-features"></a>

**1. Optimistic Assumption**

The oracle operates on the principle that data providers (known as proposers) will submit accurate data. This is achieved by aligning incentives such that it is economically beneficial for proposers to be honest.

**2. Dispute Mechanism**

If a data point is incorrect, users can dispute it. When a dispute arises, the oracle enters into a dispute window phase where the accuracy of the data is assessed and users can vote on whether the proposed data is valid or invalid. This mechanism ensures that even though the system assumes honesty, it can still handle dishonesty effectively.

**3. Economic Incentives**

The optimistic oracle leverages financial incentives to maintain data integrity. Proposers must stake a bond such as USDC are rewarded for accurate data submission. If their data is disputed and voted to be in accurate they can lose their entire bond, while those who disputed and voted against this incorrect data receive rewards. Conversely, penalties are imposed for dishonest behavior.

**4. Decentralization**

The system is decentralized and permissionless, meaning no single entity controls the data. Multiple participants contribute to and validate the data, enhancing the system's robustness and reliability.​

#### How It Works <a href="#how-it-works" id="how-it-works"></a>

**Step 1: Data Submission**

A proposer stakes a bond, such as USDC, and submits a data point to the optimistic oracle data request. This data point is then available for use by various smart contracts or DeFi applications.

**Step 2: Challenge Period**

After data submission, there is a predefined challenge period known as the "dispute window". During this time, anyone can dispute the data if they believe it to be incorrect. If no dispute is raised within this period, the data is considered final and correct.

**Step 3: Dispute Handling**

If a dispute is raised, a user must stake an equivalent bond and the oracle enters a dispute resolution phase. The resolution process allows anyone with staked tokens to vote on whether the data is correct or not.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bright-sight.gitbook.io/optimistic-oracle/bright-sight-optimistic-oracle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
