> For the complete documentation index, see [llms.txt](https://dev.spectra.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.spectra.finance/technical-reference/contract-functions/access-manager.md).

# Access Manager

We use the [Openzepellin 5.0](https://blog.openzeppelin.com/introducing-openzeppelin-contracts-5.0) Access Manager contract to manage the access rights of the protocol.&#x20;

{% hint style="info" %}
To learn more about openZeppelin access control using an Access Manager follow[ this link](https://docs.openzeppelin.com/contracts/5.x/access-control#using_accessmanager)
{% endhint %}

## Roles

<table><thead><tr><th width="265.3333333333333">Role Name</th><th width="92">ID</th><th>Description</th></tr></thead><tbody><tr><td>ADMIN_ROLE</td><td>0</td><td>The default admin role of the <a href="https://docs.openzeppelin.com/contracts/5.x/api/access#AccessManager">Access Manager</a>. This role allows to create new roles and assign users to roles.</td></tr><tr><td>UPGRADE_ROLE</td><td>1</td><td>Grant the permission to upgrade the protocol contract implementations</td></tr><tr><td>PAUSER_ROLE</td><td>2</td><td>Grant the permission to pause the PT and LP Vault  in case of emergency</td></tr><tr><td>FEE_SETTER_ROLE</td><td>3</td><td>Grant the permission to change the fees of the protocol in the <a href="/pages/rTKgghFh2t0fOKSsFxnZ">registry contract</a>.</td></tr><tr><td>REGISTRY_ROLE</td><td>4</td><td>Grant the permission to change the addresses in the <a href="/pages/rTKgghFh2t0fOKSsFxnZ">registry contracts</a>.</td></tr><tr><td>REWARDS_HARVESTER_ROLE</td><td>5</td><td>Grant the permission to <a href="/pages/c4OVd0StMcFMVakIvw5K">claim rewards</a> on a PT rewards proxy.</td></tr><tr><td>REWARDS_PROXY_SETTER_ROLE</td><td>6</td><td>Grant the permission to add a <a href="/pages/c4OVd0StMcFMVakIvw5K">rewards proxy </a>on a PT.</td></tr><tr><td>VOTER_GOVERNOR_ROLE</td><td>7</td><td>Grant the permission to perform actions reserved to governor of the tokenomics contracts.</td></tr><tr><td>VOTER_EMERGENCY_COUNCIL_ROLE</td><td>8</td><td>Grant the permission to ban and reauthorise voting for specific pools.</td></tr><tr><td>VOTER_ROLE</td><td>9</td><td>Granted to <a href="/pages/1GluF75U4NROgtAwvE0c"><code>Voter.sol</code></a> to perform contracts operations.</td></tr><tr><td>FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE</td><td>10</td><td>Grant the permission to create create fees rewards.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://dev.spectra.finance/technical-reference/contract-functions/access-manager.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
