Interfaces
IAuthIAuth
Functions
addAdmin
Adds an admin to the contract.
Only existing admins can add new admins.
addOperator
This function adds a new operator to the contract.
This function adds a new operator to the contract. It is only callable by the contract owner. The new operator must be a valid Ethereum address.
admins
This function is used to check if an address is an admin.
This function is used to check if an address is an admin. It takes an address as an argument and returns a boolean value.
deleteAdmin
This function is used to delete an admin from the list of admins.
This function requires the address of the admin to be deleted. It will delete the admin from the list of admins.
deleteOperator
This function is used to delete an operator from the contract.
This function is called by the owner of the contract to delete an operator from the contract. The address of the operator to be deleted is passed as an argument.
operators
This function checks if the given address is an operator.
This function is used to check if the given address is an operator. It returns a boolean value indicating whether the address is an operator or not.