Technical ReferenceContract Functions

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_ROLE0The default admin role of the Access Manager. This role allows to create new roles and assign users to roles.
UPGRADE_ROLE1Grant the permission to upgrade the protocol contract implementations
PAUSER_ROLE2Grant the permission to pause the PT and LP Vault in case of emergency
FEE_SETTER_ROLE3Grant the permission to change the fees of the protocol in the registry contract.
REGISTRY_ROLE4Grant the permission to change the addresses in the registry contracts.
REWARDS_HARVESTER_ROLE5Grant the permission to claim rewards on a PT rewards proxy.
REWARDS_PROXY_SETTER_ROLE6Grant the permission to add a rewards proxy on a PT.
VOTER_GOVERNOR_ROLE7Grant the permission to perform actions reserved to governor of the tokenomics contracts.
VOTER_EMERGENCY_COUNCIL_ROLE8Grant the permission to ban and reauthorise voting for specific pools.
VOTER_ROLE9Granted to Voter.sol to perform contracts operations.
FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE10Grant the permission to create create fees rewards.

On this page