Track the contract owner.
address public owner
owner = msg.sender
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; contract Owned { address public owner; constructor() { // TODO } }