ETH Price: $2,955.07 (+0.17%)

Token

Beyond Gaming (BDG)

Overview

Max Total Supply

19,605,691,438.968682 BDG

Holders

10,298

Transfers

-
15

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
BG

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: ISC
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import  "./OperatorRestricted.sol";

contract BG is ERC20Burnable, Ownable, OperatorRestricted {    
    uint8 constant DECIMALS = 6;
    uint256 constant MWEI = 10** DECIMALS;
    uint256 constant TOTAL_SUPPLY = 100_000_000_000 * MWEI;    
    uint256 constant PRE_MINT =      20_000_000_000 * MWEI;

    constructor() ERC20("Beyond Gaming", "BDG") Ownable(msg.sender) {
        super._mint(0xa8b93c17a7f4880811Cc32c5679331fe8406c308,PRE_MINT);
    }

    function decimals() public pure override returns (uint8) {
        return DECIMALS;
    }

    function operatorMint(address recipient, uint256 amount) external onlyOperators {
        mint(recipient, amount);
    }

    function mint(address recipient, uint256 amount) internal {
        require(
            this.totalSupply() + amount <= TOTAL_SUPPLY,
            "Total Supply Exceeded"
        );
        super._mint(recipient, amount);
    }    
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract OperatorRestricted  is Ownable{    


    mapping(address => bool) internal _operators;
    
    
    modifier onlyOperators() {
        require(
            owner() == _msgSender() || _operators[_msgSender()] == true,
            "CALLER_NOT_OPERATOR"
        );
        _;
    }
    
    function isOperator(address user) external view returns (bool) {
        return _operators[user];
    }

    function setOperator(address operator , bool value) external onlyOwner {
        _operators[operator] = value;
    }

}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"operatorMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50336040518060400160405280600d81526020017f4265796f6e642047616d696e67000000000000000000000000000000000000008152506040518060400160405280600381526020017f4244470000000000000000000000000000000000000000000000000000000000815250816003908161008d919061072b565b50806004908161009d919061072b565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101125760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610109919061083e565b60405180910390fd5b6101218161016860201b60201c565b5061016373a8b93c17a7f4880811cc32c5679331fe8406c3086006600a61014891906109c8565b6404a817c8006101589190610a13565b61022e60201b60201c565b610aea565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102a05760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610297919061083e565b60405180910390fd5b6102b2600083836102b660201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103085780600260008282546102fc9190610a55565b925050819055506103db565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610394578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161038b93929190610a98565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036104245780600260008282540392505081905550610471565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516104ce9190610acf565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061055c57607f821691505b60208210810361056f5761056e610515565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026105d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261059a565b6105e1868361059a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061062861062361061e846105f9565b610603565b6105f9565b9050919050565b6000819050919050565b6106428361060d565b61065661064e8261062f565b8484546105a7565b825550505050565b600090565b61066b61065e565b610676818484610639565b505050565b5b8181101561069a5761068f600082610663565b60018101905061067c565b5050565b601f8211156106df576106b081610575565b6106b98461058a565b810160208510156106c8578190505b6106dc6106d48561058a565b83018261067b565b50505b505050565b600082821c905092915050565b6000610702600019846008026106e4565b1980831691505092915050565b600061071b83836106f1565b9150826002028217905092915050565b610734826104db565b67ffffffffffffffff81111561074d5761074c6104e6565b5b6107578254610544565b61076282828561069e565b600060209050601f8311600181146107955760008415610783578287015190505b61078d858261070f565b8655506107f5565b601f1984166107a386610575565b60005b828110156107cb578489015182556001820191506020850194506020810190506107a6565b868310156107e857848901516107e4601f8916826106f1565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610828826107fd565b9050919050565b6108388161081d565b82525050565b6000602082019050610853600083018461082f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156108df578086048111156108bb576108ba610859565b5b60018516156108ca5780820291505b80810290506108d885610888565b945061089f565b94509492505050565b6000826108f857600190506109b4565b8161090657600090506109b4565b816001811461091c576002811461092657610955565b60019150506109b4565b60ff84111561093857610937610859565b5b8360020a91508482111561094f5761094e610859565b5b506109b4565b5060208310610133831016604e8410600b841016171561098a5782820a90508381111561098557610984610859565b5b6109b4565b6109978484846001610895565b925090508184048111156109ae576109ad610859565b5b81810290505b9392505050565b600060ff82169050919050565b60006109d3826105f9565b91506109de836109bb565b9250610a0b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846108e8565b905092915050565b6000610a1e826105f9565b9150610a29836105f9565b9250828202610a37816105f9565b91508282048414831517610a4e57610a4d610859565b5b5092915050565b6000610a60826105f9565b9150610a6b836105f9565b9250828201905080821115610a8357610a82610859565b5b92915050565b610a92816105f9565b82525050565b6000606082019050610aad600083018661082f565b610aba6020830185610a89565b610ac76040830184610a89565b949350505050565b6000602082019050610ae46000830184610a89565b92915050565b6118f980610af96000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b41146102a6578063a9059cbb146102c4578063dd62ed3e146102f4578063ef685ae614610324578063f2fde38b146103405761010b565b806370a0823114610232578063715018a61461026257806379cc67901461026c5780638da5cb5b146102885761010b565b8063313ce567116100de578063313ce567146101ac57806342966c68146101ca578063558a7297146101e65780636d70f7ae146102025761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b61011861035c565b60405161012591906111da565b60405180910390f35b61014860048036038101906101439190611295565b6103ee565b60405161015591906112f0565b60405180910390f35b610166610411565b604051610173919061131a565b60405180910390f35b61019660048036038101906101919190611335565b61041b565b6040516101a391906112f0565b60405180910390f35b6101b461044a565b6040516101c191906113a4565b60405180910390f35b6101e460048036038101906101df91906113bf565b610453565b005b61020060048036038101906101fb9190611418565b610467565b005b61021c60048036038101906102179190611458565b6104ca565b60405161022991906112f0565b60405180910390f35b61024c60048036038101906102479190611458565b610520565b604051610259919061131a565b60405180910390f35b61026a610568565b005b61028660048036038101906102819190611295565b61057c565b005b61029061059c565b60405161029d9190611494565b60405180910390f35b6102ae6105c6565b6040516102bb91906111da565b60405180910390f35b6102de60048036038101906102d99190611295565b610658565b6040516102eb91906112f0565b60405180910390f35b61030e600480360381019061030991906114af565b61067b565b60405161031b919061131a565b60405180910390f35b61033e60048036038101906103399190611295565b610702565b005b61035a60048036038101906103559190611458565b6107ee565b005b60606003805461036b9061151e565b80601f01602080910402602001604051908101604052809291908181526020018280546103979061151e565b80156103e45780601f106103b9576101008083540402835291602001916103e4565b820191906000526020600020905b8154815290600101906020018083116103c757829003601f168201915b5050505050905090565b6000806103f9610874565b905061040681858561087c565b600191505092915050565b6000600254905090565b600080610426610874565b905061043385828561088e565b61043e858585610922565b60019150509392505050565b60006006905090565b61046461045e610874565b82610a16565b50565b61046f610a98565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610570610a98565b61057a6000610b1f565b565b61058e82610588610874565b8361088e565b6105988282610a16565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546105d59061151e565b80601f01602080910402602001604051908101604052809291908181526020018280546106019061151e565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600080610663610874565b9050610670818585610922565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61070a610874565b73ffffffffffffffffffffffffffffffffffffffff1661072861059c565b73ffffffffffffffffffffffffffffffffffffffff1614806107a157506001151560066000610755610874565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b6107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d79061159b565b60405180910390fd5b6107ea8282610be5565b5050565b6107f6610a98565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108685760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161085f9190611494565b60405180910390fd5b61087181610b1f565b50565b600033905090565b6108898383836001610ccc565b505050565b600061089a848461067b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461091c578181101561090c578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610903939291906115bb565b60405180910390fd5b61091b84848484036000610ccc565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109945760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161098b9190611494565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a065760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016109fd9190611494565b60405180910390fd5b610a11838383610ea3565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a885760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610a7f9190611494565b60405180910390fd5b610a9482600083610ea3565b5050565b610aa0610874565b73ffffffffffffffffffffffffffffffffffffffff16610abe61059c565b73ffffffffffffffffffffffffffffffffffffffff1614610b1d57610ae1610874565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b149190611494565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6006600a610bf39190611754565b64174876e800610c03919061179f565b813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7391906117f6565b610c7d9190611823565b1115610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb5906118a3565b60405180910390fd5b610cc882826110c8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d3e5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610d359190611494565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610db05760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610da79190611494565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610e9d578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e94919061131a565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ef5578060026000828254610ee99190611823565b92505081905550610fc8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f81578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f78939291906115bb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611011578060026000828254039250508190555061105e565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110bb919061131a565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361113a5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111319190611494565b60405180910390fd5b61114660008383610ea3565b5050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611184578082015181840152602081019050611169565b60008484015250505050565b6000601f19601f8301169050919050565b60006111ac8261114a565b6111b68185611155565b93506111c6818560208601611166565b6111cf81611190565b840191505092915050565b600060208201905081810360008301526111f481846111a1565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061122c82611201565b9050919050565b61123c81611221565b811461124757600080fd5b50565b60008135905061125981611233565b92915050565b6000819050919050565b6112728161125f565b811461127d57600080fd5b50565b60008135905061128f81611269565b92915050565b600080604083850312156112ac576112ab6111fc565b5b60006112ba8582860161124a565b92505060206112cb85828601611280565b9150509250929050565b60008115159050919050565b6112ea816112d5565b82525050565b600060208201905061130560008301846112e1565b92915050565b6113148161125f565b82525050565b600060208201905061132f600083018461130b565b92915050565b60008060006060848603121561134e5761134d6111fc565b5b600061135c8682870161124a565b935050602061136d8682870161124a565b925050604061137e86828701611280565b9150509250925092565b600060ff82169050919050565b61139e81611388565b82525050565b60006020820190506113b96000830184611395565b92915050565b6000602082840312156113d5576113d46111fc565b5b60006113e384828501611280565b91505092915050565b6113f5816112d5565b811461140057600080fd5b50565b600081359050611412816113ec565b92915050565b6000806040838503121561142f5761142e6111fc565b5b600061143d8582860161124a565b925050602061144e85828601611403565b9150509250929050565b60006020828403121561146e5761146d6111fc565b5b600061147c8482850161124a565b91505092915050565b61148e81611221565b82525050565b60006020820190506114a96000830184611485565b92915050565b600080604083850312156114c6576114c56111fc565b5b60006114d48582860161124a565b92505060206114e58582860161124a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061153657607f821691505b602082108103611549576115486114ef565b5b50919050565b7f43414c4c45525f4e4f545f4f50455241544f5200000000000000000000000000600082015250565b6000611585601383611155565b91506115908261154f565b602082019050919050565b600060208201905081810360008301526115b481611578565b9050919050565b60006060820190506115d06000830186611485565b6115dd602083018561130b565b6115ea604083018461130b565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561167857808604811115611654576116536115f2565b5b60018516156116635780820291505b808102905061167185611621565b9450611638565b94509492505050565b600082611691576001905061174d565b8161169f576000905061174d565b81600181146116b557600281146116bf576116ee565b600191505061174d565b60ff8411156116d1576116d06115f2565b5b8360020a9150848211156116e8576116e76115f2565b5b5061174d565b5060208310610133831016604e8410600b84101617156117235782820a90508381111561171e5761171d6115f2565b5b61174d565b611730848484600161162e565b92509050818404811115611747576117466115f2565b5b81810290505b9392505050565b600061175f8261125f565b915061176a83611388565b92506117977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611681565b905092915050565b60006117aa8261125f565b91506117b58361125f565b92508282026117c38161125f565b915082820484148315176117da576117d96115f2565b5b5092915050565b6000815190506117f081611269565b92915050565b60006020828403121561180c5761180b6111fc565b5b600061181a848285016117e1565b91505092915050565b600061182e8261125f565b91506118398361125f565b9250828201905080821115611851576118506115f2565b5b92915050565b7f546f74616c20537570706c792045786365656465640000000000000000000000600082015250565b600061188d601583611155565b915061189882611857565b602082019050919050565b600060208201905081810360008301526118bc81611880565b905091905056fea264697066735822122052c4198c1173735f8d1323e21bb3bbe141b9a1a56b740f737dbe83ddfcef106864736f6c634300081c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b41146102a6578063a9059cbb146102c4578063dd62ed3e146102f4578063ef685ae614610324578063f2fde38b146103405761010b565b806370a0823114610232578063715018a61461026257806379cc67901461026c5780638da5cb5b146102885761010b565b8063313ce567116100de578063313ce567146101ac57806342966c68146101ca578063558a7297146101e65780636d70f7ae146102025761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b61011861035c565b60405161012591906111da565b60405180910390f35b61014860048036038101906101439190611295565b6103ee565b60405161015591906112f0565b60405180910390f35b610166610411565b604051610173919061131a565b60405180910390f35b61019660048036038101906101919190611335565b61041b565b6040516101a391906112f0565b60405180910390f35b6101b461044a565b6040516101c191906113a4565b60405180910390f35b6101e460048036038101906101df91906113bf565b610453565b005b61020060048036038101906101fb9190611418565b610467565b005b61021c60048036038101906102179190611458565b6104ca565b60405161022991906112f0565b60405180910390f35b61024c60048036038101906102479190611458565b610520565b604051610259919061131a565b60405180910390f35b61026a610568565b005b61028660048036038101906102819190611295565b61057c565b005b61029061059c565b60405161029d9190611494565b60405180910390f35b6102ae6105c6565b6040516102bb91906111da565b60405180910390f35b6102de60048036038101906102d99190611295565b610658565b6040516102eb91906112f0565b60405180910390f35b61030e600480360381019061030991906114af565b61067b565b60405161031b919061131a565b60405180910390f35b61033e60048036038101906103399190611295565b610702565b005b61035a60048036038101906103559190611458565b6107ee565b005b60606003805461036b9061151e565b80601f01602080910402602001604051908101604052809291908181526020018280546103979061151e565b80156103e45780601f106103b9576101008083540402835291602001916103e4565b820191906000526020600020905b8154815290600101906020018083116103c757829003601f168201915b5050505050905090565b6000806103f9610874565b905061040681858561087c565b600191505092915050565b6000600254905090565b600080610426610874565b905061043385828561088e565b61043e858585610922565b60019150509392505050565b60006006905090565b61046461045e610874565b82610a16565b50565b61046f610a98565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610570610a98565b61057a6000610b1f565b565b61058e82610588610874565b8361088e565b6105988282610a16565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546105d59061151e565b80601f01602080910402602001604051908101604052809291908181526020018280546106019061151e565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600080610663610874565b9050610670818585610922565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61070a610874565b73ffffffffffffffffffffffffffffffffffffffff1661072861059c565b73ffffffffffffffffffffffffffffffffffffffff1614806107a157506001151560066000610755610874565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b6107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d79061159b565b60405180910390fd5b6107ea8282610be5565b5050565b6107f6610a98565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108685760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161085f9190611494565b60405180910390fd5b61087181610b1f565b50565b600033905090565b6108898383836001610ccc565b505050565b600061089a848461067b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461091c578181101561090c578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610903939291906115bb565b60405180910390fd5b61091b84848484036000610ccc565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109945760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161098b9190611494565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a065760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016109fd9190611494565b60405180910390fd5b610a11838383610ea3565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a885760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610a7f9190611494565b60405180910390fd5b610a9482600083610ea3565b5050565b610aa0610874565b73ffffffffffffffffffffffffffffffffffffffff16610abe61059c565b73ffffffffffffffffffffffffffffffffffffffff1614610b1d57610ae1610874565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b149190611494565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6006600a610bf39190611754565b64174876e800610c03919061179f565b813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7391906117f6565b610c7d9190611823565b1115610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb5906118a3565b60405180910390fd5b610cc882826110c8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d3e5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610d359190611494565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610db05760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610da79190611494565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610e9d578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e94919061131a565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ef5578060026000828254610ee99190611823565b92505081905550610fc8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f81578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f78939291906115bb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611011578060026000828254039250508190555061105e565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110bb919061131a565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361113a5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111319190611494565b60405180910390fd5b61114660008383610ea3565b5050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611184578082015181840152602081019050611169565b60008484015250505050565b6000601f19601f8301169050919050565b60006111ac8261114a565b6111b68185611155565b93506111c6818560208601611166565b6111cf81611190565b840191505092915050565b600060208201905081810360008301526111f481846111a1565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061122c82611201565b9050919050565b61123c81611221565b811461124757600080fd5b50565b60008135905061125981611233565b92915050565b6000819050919050565b6112728161125f565b811461127d57600080fd5b50565b60008135905061128f81611269565b92915050565b600080604083850312156112ac576112ab6111fc565b5b60006112ba8582860161124a565b92505060206112cb85828601611280565b9150509250929050565b60008115159050919050565b6112ea816112d5565b82525050565b600060208201905061130560008301846112e1565b92915050565b6113148161125f565b82525050565b600060208201905061132f600083018461130b565b92915050565b60008060006060848603121561134e5761134d6111fc565b5b600061135c8682870161124a565b935050602061136d8682870161124a565b925050604061137e86828701611280565b9150509250925092565b600060ff82169050919050565b61139e81611388565b82525050565b60006020820190506113b96000830184611395565b92915050565b6000602082840312156113d5576113d46111fc565b5b60006113e384828501611280565b91505092915050565b6113f5816112d5565b811461140057600080fd5b50565b600081359050611412816113ec565b92915050565b6000806040838503121561142f5761142e6111fc565b5b600061143d8582860161124a565b925050602061144e85828601611403565b9150509250929050565b60006020828403121561146e5761146d6111fc565b5b600061147c8482850161124a565b91505092915050565b61148e81611221565b82525050565b60006020820190506114a96000830184611485565b92915050565b600080604083850312156114c6576114c56111fc565b5b60006114d48582860161124a565b92505060206114e58582860161124a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061153657607f821691505b602082108103611549576115486114ef565b5b50919050565b7f43414c4c45525f4e4f545f4f50455241544f5200000000000000000000000000600082015250565b6000611585601383611155565b91506115908261154f565b602082019050919050565b600060208201905081810360008301526115b481611578565b9050919050565b60006060820190506115d06000830186611485565b6115dd602083018561130b565b6115ea604083018461130b565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561167857808604811115611654576116536115f2565b5b60018516156116635780820291505b808102905061167185611621565b9450611638565b94509492505050565b600082611691576001905061174d565b8161169f576000905061174d565b81600181146116b557600281146116bf576116ee565b600191505061174d565b60ff8411156116d1576116d06115f2565b5b8360020a9150848211156116e8576116e76115f2565b5b5061174d565b5060208310610133831016604e8410600b84101617156117235782820a90508381111561171e5761171d6115f2565b5b61174d565b611730848484600161162e565b92509050818404811115611747576117466115f2565b5b81810290505b9392505050565b600061175f8261125f565b915061176a83611388565b92506117977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611681565b905092915050565b60006117aa8261125f565b91506117b58361125f565b92508282026117c38161125f565b915082820484148315176117da576117d96115f2565b5b5092915050565b6000815190506117f081611269565b92915050565b60006020828403121561180c5761180b6111fc565b5b600061181a848285016117e1565b91505092915050565b600061182e8261125f565b91506118398361125f565b9250828201905080821115611851576118506115f2565b5b92915050565b7f546f74616c20537570706c792045786365656465640000000000000000000000600082015250565b600061188d601583611155565b915061189882611857565b602082019050919050565b600060208201905081810360008301526118bc81611880565b905091905056fea264697066735822122052c4198c1173735f8d1323e21bb3bbe141b9a1a56b740f737dbe83ddfcef106864736f6c634300081c0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.