The setDeprecated
function in the Clanker
contract allows the contract owner to set a deprecation status for the contract. It verifies that the caller is the owner before updating the deprecated
state variable and emits a SetDeprecated
event to signal the change.
deprecated_
(bool
): A boolean value indicating the new deprecation status to be set for the contract.