> ## Documentation Index
> Fetch the complete documentation index at: https://kleros-mintlify-6ebc7975.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PolicyRegistry

> PolicyRegistry contract reference: store and update IPFS URIs of court policies, setPolicy governor method, and PolicyUpdate events for Kleros V2.

Stores IPFS URIs for court policies. Governed by the protocol governor.

## Methods

### `setPolicy(uint96 _courtID, string _courtName, string _policyURI)`

Sets the policy for a court. Only callable by the governor.

### `policies(uint96 _courtID) → string`

Returns the IPFS URI for a court's policy.

## Events

| Event                                         | Description                |
| --------------------------------------------- | -------------------------- |
| `PolicyUpdate(courtID, courtName, policyURI)` | Policy updated for a court |

[View Source](https://github.com/kleros/kleros-v2/blob/dev/contracts/src/arbitration/PolicyRegistry.sol)
