Access Manager

OpenZeppelin's AccessManager to include specific roles and functionalities.

The Strateg Protocol uses the OpenZeppelin AccessManagerarrow-up-right 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

Last updated