Functions
policyAdminOnly
Ensures that the function caller is a Policy Admin for the specified policy. This modifier checks if the caller has the Policy Admin role for the given policy ID by delegating the check to another facet. If the caller is not authorized, the transaction is reverted.Name | Type | Description |
---|---|---|
policyId | uint256 | The ID of the policy to check. |
addr | address | The address of the user to verify. |
callingContractAdminOnly
Ensures that the function caller is a Calling Contract Admin for the specified contract. This modifier checks if the caller has the Calling Contract Admin role for the given contract address by delegating the check to another facet. If the caller is not authorized, the transaction is reverted.Name | Type | Description |
---|---|---|
callingContract | address | The address of the calling contract to check. |
addr | address | The address of the user to verify. |