import { Tab, Tabs } from 'nextra-theme-docs'
ACL contract keeps global roles for whole Gearbox Protocol. There are 3 basic roles in the system:
Role | Responsibility |
---|---|
Configurator | Role which has the most powerful roles for configuring system parameters |
PausableAdmin | Role can pause contracts |
UnPausableAdmin | Role can unpause contracts |
Configurator is onwer
of ACL
contract. This code snippet shows how to get the current adddress:
address configurator = ACL(addressProvider.getACL()).owner();
In current deployment, Configurator is managed by Technical Multisig, in the future, Gearbox will use Compound Bravo Governance.
In many cases, developer needs to change system parameters:
<Tabs items={["Forge (solidity)", "HardHat (typescript)"]}> <>
address configurator = ACL(addressProvider.getACL()).owner();
evm.prank(configurator);
</> <>
</>