> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seer.pm/llms.txt
> Use this file to discover all available pages before exploring further.

# FutarchyRealityProxy

Contract used as a Reality Oracle. Is called to resolve a proposal based on the answer provided.

## Variables

### conditionalTokens

```solidity theme={null}
contract IConditionalTokens conditionalTokens
```

*Conditional Tokens contract.*

### realitio

```solidity theme={null}
contract IRealityETH_v3_0 realitio
```

*Reality.eth contract.*

## Functions

### constructor

```solidity theme={null}
constructor(contract IConditionalTokens _conditionalTokens, contract IRealityETH_v3_0 _realitio) public
```

*Constructor.*

**Parameters**

| Name | Type | Description |
| - | - | - |
| \_conditionalTokens | contract IConditionalTokens | Conditional Tokens contract address. |
| \_realitio | contract IRealityETH\_v3\_0 | Reality.eth contract address. |

### resolve

```solidity theme={null}
function resolve(contract FutarchyProposal proposal) external
```

*Resolves the specified proposal.*

**Parameters**

| Name | Type | Description |
| - | - | - |
| proposal | contract FutarchyProposal | Proposal to resolve. UNTRUSTED. |

**Pre-condition**

This proposal reality questions must be finalized. If there is a reopened question, that question need to be finalized instead.

**Logic**

1. If the answer is 0, the proposal is accepted.
2. For any other value (including if the question resolves to INVALID), the proposal is rejected.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.