proposeNewSuperAdmin
in which case, the current super admin would effectively renounce the super admin role and all of its privileges to grant it to the new address. The new address has to confirm the acceptance of the super-admin role for the process to take effect, otherwise the old super admin will remain in the role. This two step process is used to ensure there is always a super admin role assigned.
proposeNewSuperAdmin
. Once the proposed account confirms the role by invoking confirmSuperAdmin
, the new super Admin will renounce to the proposed-super-Admin role.
APP_ADMIN_ROLE
can be granted only by the super admin at any time. App Admins do not have the ability to create/revoke other App Admins. This role can grant permissions to the access level, risk and rule admin roles as well as treasury accounts. This role also has control over setting addresses for provider contracts, registering/deregistering asset contracts and setting upgraded handler addresses. Functions with the modifier onlyRole(APP_ADMIN_ROLE) can only be called by this role.
DESIRED_APP_ADMIN_ADDRESS
in the following cast command with the address that is being granted the role of AppAdmin:
APP_ADMIN_ADDRESS_TO_BE_REVOKED
with the address of a current app admin that is no longer desired to have the APP_ADMIN_ROLE
. The bytes32 argument here is the keccak256 hash of the APP_ADMIN_ROLE
.
APP_ADMIN_ROLE
from the caller of this command. Replace APP_ADMIN_ADDRESS_TO_BE_RENOUNCED
with the address associated with the private key used to sign this transaction. The bytes32 argument here is the keccak256 hash of the APP_ADMIN_ROLE
.
DESIRED_RISK_ADMIN_ADDRESS
in the following cast command with the address that is being granted the RISK_ADMIN_ROLE
:
RISK_ADMIN_ADDRESS_TO_BE_REVOKED
with the address of a current risk admin that is no longer desired to have the RISK_ADMIN_ROLE
. The bytes32 argument here is the keccak256 hash of the RISK_ADMIN_ROLE
.
RISK_ADMIN_ROLE
from the caller of this command. Replace RISK_ADMIN_ADDRESS_TO_BE_REVOKED
with the address associated with the private key used to sign this transaction. The bytes32 argument here is the keccak256 hash of the RISK_ADMIN_ROLE
.
DESIRED_ACCESS_LEVEL_ADMIN_ADDRESS
in the following cast command with the address that is being granted the ACCESS_LEVEL_ADMIN_ROLE
:
ACCESS_LEVEL_ADMIN_ADDRESS_TO_BE_REVOKED
with the address of a current access level admin that is no longer desired to have the ACCESS_LEVEL_ADMIN_ROLE
. The bytes32 argument here is the keccak256 hash of the ACCESS_LEVEL_ADMIN_ROLE
.
ACCESS_LEVEL_ADMIN_ROLE
from the caller of this command. Replace ACCESS_LEVEL_ADMIN_ADDRESS_TO_BE_REVOKED
with the address associated with the private key used to sign this transaction. The bytes32 argument here is the keccak256 hash of the ACCESS_LEVEL_ADMIN_ROLE
.
DESIRED_RULE_ADMIN_ADDRESS
in the following cast command with the address that is being granted the RULE_ADMIN_ROLE
:
RULE_ADMIN_ADDRESS_TO_BE_REVOKED
with the address of a current rule admin that is no longer desired to have the RULE_ADMIN_ROLE
. The bytes32 argument here is the keccak256 hash of the RULE_ADMIN_ROLE
.
RULE_ADMIN_ROLE
from the caller of this command. Replace RULE_ADMIN_ADDRESS_TO_BE_REVOKED
with the address associated with the private key used to sign this transaction. The bytes32 argument here is the keccak256 hash of the RULE_ADMIN_ROLE
.
DESIRED_TREASURY_ACCOUNT_ADDRESS
in the following cast command with the address that is being granted the TREASURY_ACCOUNT
role:
TREASURY_ACCOUNT_ADDRESS_TO_BE_REVOKED
with the address of a current treasury account that is no longer desired to have the TREASURY_ACCOUNT
role. The bytes32 argument here is the keccak256 hash of the TREASURY_ACCOUNT
role.
TREASURY_ACCOUNT
role from the caller of this command. Replace TREASURY_ACCOUNT_ADDRESS_TO_BE_REVOKED
with the address associated with the private key used to sign this transaction. The bytes32 argument here is the keccak256 hash of the TREASURY_ACCOUNT
role.
APPLICATION_TOKEN_ADDRESS
with the token address. Replace DESIRED_TOKEN_ADMIN_ADDRESS
in the following command with the address that is being granted the TOKEN_ADMIN_ROLE
:
TOKEN_ADMIN_ROLE
.APPLICATION_TOKEN_ADDRESS
with the token address. Replace TOKEN_ADMIN_ADDRESS_TO_BE_REVOKED
with the address of a current Token Admin that is no longer desired to have the TOKEN_ADMIN_ROLE
. The bytes32 argument here is the keccak256 hash of the TOKEN_ADMIN_ROLE
:
TOKEN_ADMIN_ROLE
from the caller of this command. Replace APPLICATION_TOKEN_ADDRESS
with the token address. Replace TOKEN_ADMIN_ADDRESS_TO_BE_REVOKED
with the address asoociated with the private key used to sign this transaction. The bytes32 argument here is the keccak256 hash of the TOKEN_ADMIN_ROLE
:
APPLICATION_PROXY_ADDRESS
with the proxy contract address. Replace NEW_PROXY_ADMIN
with the address of the new proxy admin.