Developers Documentation
  • Overview
    • Contracts Overview
    • Public Repositories
    • Smart Contract Addresses
      • Polygon PoS
  • Core protocol
    • Architecture Overview
    • Blocks
    • Vault Strategy
    • Vault Configuration
    • Vault Deployment
    • Vault Operations
    • Access Manager
    • Contracts
      • StrategVault
      • StrategERC3525
      • StrategVaultFactory
      • StrategAssetBuffer
      • StrategBlockRegistry
      • StrategUserInteractions
      • StrategOperatorProxy
      • StrategOperatorDataAggregator
  • Borrow module
    • Architecture Overview
    • Aave V3 Position manager
    • Smart Contract Docs
      • StrategPositionManagerFactory
      • StrategAaveV3PositionManager
      • StrategAaveV3PositionManagerInfo
  • Portal Module
    • Architecture Overview
    • Swap
      • Features
      • Functions
    • Oracle
      • Architecture design
      • Functions
  • Tools
    • Developer kit
Powered by GitBook
On this page
  1. Core protocol

Access Manager

OpenZeppelin's AccessManager to include specific roles and functionalities.

The Strateg Protocol uses the OpenZeppelin AccessManager to manage the access control of the different protected functions.

The following roles are defined:

Role name
RoleID
Description

ADMIN_ROLE

0

The Access Manager super admin. Can grant and revoke any role. Set by default in the Access Manager constructor.

UPGRADER_ROLE

1

The users who can upgrade the protocol implementations.

SOPT_TAKER_ROLE

2

The users / smart contracts allowed to execute a payment on StrategOperatingPaymentToken.

OPERATOR_ROLE

3

The users who can operate vault with StrategOperatorProxy and operate Oracle on the StrategPortal

OPERATION_GUARDIAN_ROLE

4

the users who can lock a vault to avoid operator to rebalance it

ERC2771_RELAYER_ROLE

5

the smart contracts which are considered as trusted forwarder for ERC2771 calls

CROSSCHAIN_RELAYER_ROLE

6

the users who can call crosschain message handler functions (not used yet)

FEE_MANAGER_ROLE

7

the users who can manage fee collectors

PreviousVault OperationsNextContracts

Last updated 1 year ago