Access Manager

We use the Openzepellin 5.0 Access Manager contract to manage the access rights of the protocol.

To learn more about openZeppelin access control using an Access Manager follow this link

Roles

Role NameIDDescription

ADMIN_ROLE

0

The default admin role of the Access Manager. This role allows to create new roles and assign users to roles.

UPGRADE_ROLE

1

Grant the permission to upgrade the protocol contract implementations

PAUSER_ROLE

2

Grant the permission to pause the PT and LP Vault in case of emergency

FEE_SETTER_ROLE

3

Grant the permission to change the fees of the protocol in the registry contract.

REGISTRY_ROLE

4

Grant the permission to change the addresses in the registry contracts.

REWARDS_HARVESTER_ROLE

5

Grant the permission to claim rewards on a PT rewards proxy.

REWARDS_PROXY_SETTER_ROLE

6

Grant the permission to add a rewards proxy on a PT.

VOTER_GOVERNOR_ROLE

7

Grant the permission to perform actions reserved to governor of the tokenomics contracts.

VOTER_EMERGENCY_COUNCIL_ROLE

8

Grant the permission to ban and reauthorise voting for specific pools.

VOTER_ROLE

9

Granted to Voter.sol to perform contracts operations.

FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE

10

Grant the permission to create create fees rewards.

Last updated