Name | Type | Description |
---|---|---|
policyId | uint256 | The ID of the policy. |
account | address | The address to check for the policy admin role. |
Name | Type | Description |
---|---|---|
<none> | bool | bool True if the address has the policy admin role, false otherwise. |
Name | Type | Description |
---|---|---|
policyId | uint256 | The ID of the policy. |
account | address | The address to assign the policy admin role. |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The generated admin role identifier. |
Name | Type | Description |
---|---|---|
newPolicyAdmin | address | The address of the proposed new policy admin. |
policyId | uint256 | The ID of the policy. |
Name | Type | Description |
---|---|---|
policyId | uint256 | The ID of the policy. |
Name | Type | Description |
---|---|---|
role | bytes32 | the role to renounce. |
account | address | address renouncing to the role. |
policyId | uint256 |
Name | Type | Description |
---|---|---|
role | bytes32 | the role to revoke. |
account | address | address of revoked role. |
policyId | uint256 |
Name | Type | Description |
---|---|---|
_role | bytes32 | The admin role identifier. |
_account | address | The address to be granted the role. |
Name | Type | Description |
---|---|---|
_policyId | uint256 | The ID of the policy. |
_adminRole | bytes32 | The role constant identifier. |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The generated admin role identifier. |
Name | Type | Description |
---|---|---|
_callingContract | address | The address of the calling contract. |
_account | address | The address to check for the calling contract admin role. |
Name | Type | Description |
---|---|---|
<none> | bool | bool True if the address has the calling contract admin role, false otherwise. |
Name | Type | Description |
---|---|---|
_callingContract | address | The address of the calling contract. |
_account | address | The address to assign the calling contract admin role. |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The generated admin role identifier. |
Name | Type | Description |
---|---|---|
_callingContract | address | policy Id |
_account | address | address to assign admin role Id |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 adminRoleId |
Name | Type | Description |
---|---|---|
_callingContract | address | The address of the calling contract. |
_account | address | The address to assign the calling contract admin role. |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The generated admin role identifier. |
Name | Type | Description |
---|---|---|
callingContractAddress | address | address of the calling contract. |
newCallingContractAdmin | address | address of new admin. |
Name | Type | Description |
---|---|---|
callingContractAddress | address | address of the calling contract. |
Name | Type | Description |
---|---|---|
_callingContract | address | The address of the calling contract. |
_adminRole | bytes32 | The role constant identifier. |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The generated admin role identifier. |
renounceRole
function to disable its public nature.
This function is intentionally disabled to enforce role renouncing through specific channels.
Name | Type | Description |
---|---|---|
role | bytes32 | The role to renounce. |
account | address | The address renouncing the role. |
revokeRole
function to disable its public nature.
This function is intentionally disabled to enforce role revocation through specific channels.
Name | Type | Description |
---|---|---|
role | bytes32 | The role to revoke. |
account | address | The address of the revoked role. |
grantRole
function to disable its public nature.
This function is intentionally disabled to enforce role granting through specific channels.
Name | Type | Description |
---|---|---|
role | bytes32 | The role to grant. |
account | address | The address to grant the role to. |