Spectra Developer Docs
  • Developers Documentation
  • Getting Started
  • Guides
    • Tokenizing Yield
    • Providing Liquidity
    • Deploy PT and Curve Pool
    • Routing
    • IBT Additional Rewards
    • Locking APW for veAPW
    • Voting and Earning Rewards
  • Technical Reference
    • Deployed Contracts
    • Contract Functions
      • Principal Token
      • Yield Token
      • Registry
      • RateOracle
      • Factory
      • Access Manager
      • RouterUtil
      • Router
      • GovernanceRegistry
      • Voter
      • VotingReward
        • BribeVotingReward
        • FeesVotingReward
      • FeeDistributor
      • Spectra4626Wrapper
    • Yield Calculations
    • Spectra's Automated Market Makers
      • Rate Adjusted StableSwap pools
  • Glossary
  • INTEGRATION REFERENCE
    • Spectra Oracles
      • TWAP Oracles
      • Deterministic Oracles
        • Linear APR model
        • Linear Discount Model
        • Zero Coupon Bond Model
        • Comparison
      • Oracle Deployment
        • Deterministic Oracles Deployment
        • TWAP Oracles Deployment
Powered by GitBook
On this page
  1. Technical Reference
  2. Contract Functions

Access Manager

PreviousFactoryNextRouterUtil

Last updated 1 year ago

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

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

Roles

Role Name
ID
Description

ADMIN_ROLE

0

The default admin role of the . 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_ROLE

4

Grant the permission to change the addresses in the .

REWARDS_HARVESTER_ROLE

5

Grant the permission to on a PT rewards proxy.

REWARDS_PROXY_SETTER_ROLE

6

Grant the permission to add a 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 to perform contracts operations.

FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE

10

Grant the permission to create create fees rewards.

Openzepellin 5.0
this link
Access Manager
registry contract
registry contracts
claim rewards
rewards proxy
Voter.sol