AppAdministratorOrOwnerOnlyDiamondVersion.sol
AppAdministratorOrOwnerOnlyDiamondVersion
Inherits: ERC173, RBACModifiersCommonImports, FacetUtils
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This contract relies on an ERC173 facet already deployed in the diamond.
Allows for proper permissioning parent/child contract relationships so that owner and app admins may have permission.
Functions
appAdministratorOrOwnerOnly
Modifier ensures function caller is a Application Administrators or the parent contract
_appAdministratorOrOwnerOnly
transferPermissionOwnership
Transfers ownership of the contract to a new account (newOwner
).
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | The address to receive ownership |
appManagerAddress | address | address of the app manager for permission check Can only be called by the current owner. |