Configuration and Management
spherex Protect can be configured either by using the dashboard or or directly interacting with the spherex smart contract administrative functions.
Admin permissions are asinged to on-chain entities (EOA/contract), spherex Protect is therefore designed to comply with any governance structure. The role based access control includes two roles:
Administrator - The highest permissions entity in both spherexProtected and spherexEngine. The admin assigns and revokes the operator role. spherex recommends the Admin to be solely under you control.
Operator - Is in charge of the routine maintenance of the spherexEngine.
spherexProtected Permissions
Administrator
transferSphereXAdminRole
- Transfer admin role to addresschangeSphereXOperator
- Change the operator role's address
Operator
changeSphereXEngine
- Set engine's address
spherexEngine Permissions
Administrator
grantRole
- Assign Operator role to an address (assign zero address to revoke operator role without assigning new operator)
Operator
The spherexEngine operator can perform the following actions:
configureRules
- Configure which advanced attack mitigations are activedeactivateAllRules
- Disable the engineaddAllowedSender
- Add protected contract addressremoveAllowedSender
- Remove protected contract addressaddAllowedPatterns
- Add safe execurtion fingerprintsremoveAllowedPatterns
- Remove safe execurtion fingerprintsgrantSenderAdderRole
- Set factory contract addresssetprotectedsigs
- set the list of protected function (only in proxy mode)
Last updated