Clanker
Source:Verified
Write Functions / setAdmin
Overview

The setAdmin function in the Clanker contract allows the owner to set or update the admin status of a specified address. It verifies that the caller is the owner of the contract before updating the admin status and emits an event to log the change.

Inputs
  • admin (address): The address of the user whose admin status is being set.
  • isAdmin (bool): A boolean indicating whether the specified address should be granted admin status (true) or revoked (false).
Outputs
  • None: This function does not return any values.
Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...