onlyAdmin(address adminContractAddress)
onlyAdmin
checks that the caller is the EndaomentAdminadminContractAddress
: is the supplied EndaomentAdmin contract addressonlyAdminOrRole(address adminContractAddress, enum IEndaomentAdmin.Role role)
onlyAdminOrRole
checks that the caller is either the Admin or the provided role.adminContractAddress
: supplied EndaomentAdmin addressrole
: The role to require unless the caller is the owner. PermittedonlyAddressOrAdminOrRole(address allowedAddress, address adminContractAddress, enum IEndaomentAdmin.Role role)
allowedAddress
: An exempt address provided that shall be allowed to proceed.adminContractAddress
: The EndaomentAdmin contract address.role
: The desired IEndaomentAdmin.Role to check against. PermittedisEqual(string s1, string s2) → bool
- internals1
: First string to compares2
: Second string to compare