BNB Price: $695.89 (-1.98%)
Gas: 1 GWei
 

Overview

Max Total Supply

684,037,758,710.238BEBE

Holders

27,059

Total Transfers

-

Market

Price

$0.00 @ 0.000000 BNB

Onchain Market Cap

$0.00

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:
BEBE

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 9 : BEBEX.sol
// SPDX-License-Identifier: ISC
pragma solidity ^0.8.24;

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

contract BEBE is ERC20Burnable, Ownable, OperatorRestricted {    
    uint8 constant DECIMALS = 6;
    uint256 constant MWEI = 10** DECIMALS;
    uint256 constant TOTAL_SUPPLY = 10_000_000_000_000 * MWEI;
    uint256 constant PRE_MINT = 660_395_445_298 * MWEI;             

    constructor(address premint) ERC20("BEBE", "BEBE") Ownable(msg.sender) {
        super._mint(premint,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);
    }    
}

File 2 of 9 : Ownable.sol
// 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);
    }
}

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

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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);
}

File 4 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
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}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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:
     * ```
     * 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);
            }
        }
    }
}

File 5 of 9 : ERC20Burnable.sol
// 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);
    }
}

File 6 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC20 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);
}

File 7 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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);
}

File 8 of 9 : Context.sol
// 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;
    }
}

File 9 of 9 : OperatorRestricted.sol
// 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

[{"inputs":[{"internalType":"address","name":"premint","type":"address"}],"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"}]

60806040523480156200001157600080fd5b506040516200251538038062002515833981810160405281019062000037919062000578565b336040518060400160405280600481526020017f42454245000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42454245000000000000000000000000000000000000000000000000000000008152508160039081620000b5919062000824565b508060049081620000c7919062000824565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200013f5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200013691906200091c565b60405180910390fd5b62000150816200018b60201b60201c565b5062000184816006600a62000166919062000ac9565b6499c2a2cc3262000178919062000b1a565b6200025160201b60201c565b5062000c0b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002c65760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002bd91906200091c565b60405180910390fd5b620002da60008383620002de60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200033457806002600082825462000327919062000b65565b925050819055506200040a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620003c3578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620003ba9392919062000bb1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004555780600260008282540392505081905550620004a2565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000501919062000bee565b60405180910390a3505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005408262000513565b9050919050565b620005528162000533565b81146200055e57600080fd5b50565b600081519050620005728162000547565b92915050565b6000602082840312156200059157620005906200050e565b5b6000620005a18482850162000561565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062c57607f821691505b602082108103620006425762000641620005e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006ac7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200066d565b620006b886836200066d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000705620006ff620006f984620006d0565b620006da565b620006d0565b9050919050565b6000819050919050565b6200072183620006e4565b6200073962000730826200070c565b8484546200067a565b825550505050565b600090565b6200075062000741565b6200075d81848462000716565b505050565b5b8181101562000785576200077960008262000746565b60018101905062000763565b5050565b601f821115620007d4576200079e8162000648565b620007a9846200065d565b81016020851015620007b9578190505b620007d1620007c8856200065d565b83018262000762565b50505b505050565b600082821c905092915050565b6000620007f960001984600802620007d9565b1980831691505092915050565b6000620008148383620007e6565b9150826002028217905092915050565b6200082f82620005aa565b67ffffffffffffffff8111156200084b576200084a620005b5565b5b62000857825462000613565b6200086482828562000789565b600060209050601f8311600181146200089c576000841562000887578287015190505b62000893858262000806565b86555062000903565b601f198416620008ac8662000648565b60005b82811015620008d657848901518255600182019150602085019450602081019050620008af565b86831015620008f65784890151620008f2601f891682620007e6565b8355505b6001600288020188555050505b505050505050565b620009168162000533565b82525050565b60006020820190506200093360008301846200090b565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620009c7578086048111156200099f576200099e62000939565b5b6001851615620009af5780820291505b8081029050620009bf8562000968565b94506200097f565b94509492505050565b600082620009e2576001905062000ab5565b81620009f2576000905062000ab5565b816001811462000a0b576002811462000a165762000a4c565b600191505062000ab5565b60ff84111562000a2b5762000a2a62000939565b5b8360020a91508482111562000a455762000a4462000939565b5b5062000ab5565b5060208310610133831016604e8410600b841016171562000a865782820a90508381111562000a805762000a7f62000939565b5b62000ab5565b62000a95848484600162000975565b9250905081840481111562000aaf5762000aae62000939565b5b81810290505b9392505050565b600060ff82169050919050565b600062000ad682620006d0565b915062000ae38362000abc565b925062000b127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620009d0565b905092915050565b600062000b2782620006d0565b915062000b3483620006d0565b925082820262000b4481620006d0565b9150828204841483151762000b5e5762000b5d62000939565b5b5092915050565b600062000b7282620006d0565b915062000b7f83620006d0565b925082820190508082111562000b9a5762000b9962000939565b5b92915050565b62000bab81620006d0565b82525050565b600060608201905062000bc860008301866200090b565b62000bd7602083018562000ba0565b62000be6604083018462000ba0565b949350505050565b600060208201905062000c05600083018462000ba0565b92915050565b6118fa8062000c1b6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b41146102a6578063a9059cbb146102c4578063dd62ed3e146102f4578063ef685ae614610324578063f2fde38b146103405761010b565b806370a0823114610232578063715018a61461026257806379cc67901461026c5780638da5cb5b146102885761010b565b8063313ce567116100de578063313ce567146101ac57806342966c68146101ca578063558a7297146101e65780636d70f7ae146102025761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b61011861035c565b60405161012591906111db565b60405180910390f35b61014860048036038101906101439190611296565b6103ee565b60405161015591906112f1565b60405180910390f35b610166610411565b604051610173919061131b565b60405180910390f35b61019660048036038101906101919190611336565b61041b565b6040516101a391906112f1565b60405180910390f35b6101b461044a565b6040516101c191906113a5565b60405180910390f35b6101e460048036038101906101df91906113c0565b610453565b005b61020060048036038101906101fb9190611419565b610467565b005b61021c60048036038101906102179190611459565b6104ca565b60405161022991906112f1565b60405180910390f35b61024c60048036038101906102479190611459565b610520565b604051610259919061131b565b60405180910390f35b61026a610568565b005b61028660048036038101906102819190611296565b61057c565b005b61029061059c565b60405161029d9190611495565b60405180910390f35b6102ae6105c6565b6040516102bb91906111db565b60405180910390f35b6102de60048036038101906102d99190611296565b610658565b6040516102eb91906112f1565b60405180910390f35b61030e600480360381019061030991906114b0565b61067b565b60405161031b919061131b565b60405180910390f35b61033e60048036038101906103399190611296565b610702565b005b61035a60048036038101906103559190611459565b6107ee565b005b60606003805461036b9061151f565b80601f01602080910402602001604051908101604052809291908181526020018280546103979061151f565b80156103e45780601f106103b9576101008083540402835291602001916103e4565b820191906000526020600020905b8154815290600101906020018083116103c757829003601f168201915b5050505050905090565b6000806103f9610874565b905061040681858561087c565b600191505092915050565b6000600254905090565b600080610426610874565b905061043385828561088e565b61043e858585610922565b60019150509392505050565b60006006905090565b61046461045e610874565b82610a16565b50565b61046f610a98565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610570610a98565b61057a6000610b1f565b565b61058e82610588610874565b8361088e565b6105988282610a16565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546105d59061151f565b80601f01602080910402602001604051908101604052809291908181526020018280546106019061151f565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600080610663610874565b9050610670818585610922565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61070a610874565b73ffffffffffffffffffffffffffffffffffffffff1661072861059c565b73ffffffffffffffffffffffffffffffffffffffff1614806107a157506001151560066000610755610874565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b6107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d79061159c565b60405180910390fd5b6107ea8282610be5565b5050565b6107f6610a98565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108685760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161085f9190611495565b60405180910390fd5b61087181610b1f565b50565b600033905090565b6108898383836001610ccd565b505050565b600061089a848461067b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461091c578181101561090c578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610903939291906115bc565b60405180910390fd5b61091b84848484036000610ccd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109945760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161098b9190611495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a065760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016109fd9190611495565b60405180910390fd5b610a11838383610ea4565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a885760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610a7f9190611495565b60405180910390fd5b610a9482600083610ea4565b5050565b610aa0610874565b73ffffffffffffffffffffffffffffffffffffffff16610abe61059c565b73ffffffffffffffffffffffffffffffffffffffff1614610b1d57610ae1610874565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b149190611495565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6006600a610bf39190611755565b6509184e72a000610c0491906117a0565b813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7491906117f7565b610c7e9190611824565b1115610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb6906118a4565b60405180910390fd5b610cc982826110c9565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d3f5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610d369190611495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610db15760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610da89190611495565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610e9e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e95919061131b565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ef6578060026000828254610eea9190611824565b92505081905550610fc9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f82578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f79939291906115bc565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611012578060026000828254039250508190555061105f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110bc919061131b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361113b5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111329190611495565b60405180910390fd5b61114760008383610ea4565b5050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561118557808201518184015260208101905061116a565b60008484015250505050565b6000601f19601f8301169050919050565b60006111ad8261114b565b6111b78185611156565b93506111c7818560208601611167565b6111d081611191565b840191505092915050565b600060208201905081810360008301526111f581846111a2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061122d82611202565b9050919050565b61123d81611222565b811461124857600080fd5b50565b60008135905061125a81611234565b92915050565b6000819050919050565b61127381611260565b811461127e57600080fd5b50565b6000813590506112908161126a565b92915050565b600080604083850312156112ad576112ac6111fd565b5b60006112bb8582860161124b565b92505060206112cc85828601611281565b9150509250929050565b60008115159050919050565b6112eb816112d6565b82525050565b600060208201905061130660008301846112e2565b92915050565b61131581611260565b82525050565b6000602082019050611330600083018461130c565b92915050565b60008060006060848603121561134f5761134e6111fd565b5b600061135d8682870161124b565b935050602061136e8682870161124b565b925050604061137f86828701611281565b9150509250925092565b600060ff82169050919050565b61139f81611389565b82525050565b60006020820190506113ba6000830184611396565b92915050565b6000602082840312156113d6576113d56111fd565b5b60006113e484828501611281565b91505092915050565b6113f6816112d6565b811461140157600080fd5b50565b600081359050611413816113ed565b92915050565b600080604083850312156114305761142f6111fd565b5b600061143e8582860161124b565b925050602061144f85828601611404565b9150509250929050565b60006020828403121561146f5761146e6111fd565b5b600061147d8482850161124b565b91505092915050565b61148f81611222565b82525050565b60006020820190506114aa6000830184611486565b92915050565b600080604083850312156114c7576114c66111fd565b5b60006114d58582860161124b565b92505060206114e68582860161124b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061153757607f821691505b60208210810361154a576115496114f0565b5b50919050565b7f43414c4c45525f4e4f545f4f50455241544f5200000000000000000000000000600082015250565b6000611586601383611156565b915061159182611550565b602082019050919050565b600060208201905081810360008301526115b581611579565b9050919050565b60006060820190506115d16000830186611486565b6115de602083018561130c565b6115eb604083018461130c565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561167957808604811115611655576116546115f3565b5b60018516156116645780820291505b808102905061167285611622565b9450611639565b94509492505050565b600082611692576001905061174e565b816116a0576000905061174e565b81600181146116b657600281146116c0576116ef565b600191505061174e565b60ff8411156116d2576116d16115f3565b5b8360020a9150848211156116e9576116e86115f3565b5b5061174e565b5060208310610133831016604e8410600b84101617156117245782820a90508381111561171f5761171e6115f3565b5b61174e565b611731848484600161162f565b92509050818404811115611748576117476115f3565b5b81810290505b9392505050565b600061176082611260565b915061176b83611389565b92506117987fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611682565b905092915050565b60006117ab82611260565b91506117b683611260565b92508282026117c481611260565b915082820484148315176117db576117da6115f3565b5b5092915050565b6000815190506117f18161126a565b92915050565b60006020828403121561180d5761180c6111fd565b5b600061181b848285016117e2565b91505092915050565b600061182f82611260565b915061183a83611260565b9250828201905080821115611852576118516115f3565b5b92915050565b7f546f74616c20537570706c792045786365656465640000000000000000000000600082015250565b600061188e601583611156565b915061189982611858565b602082019050919050565b600060208201905081810360008301526118bd81611881565b905091905056fea264697066735822122085ff89b9e4338e7cd4c9ce5dc4841a8ff2f1d5d46a362d5534961c522a26e86e64736f6c63430008180033000000000000000000000000ac975d8656d8c5e7b031e32e73e58dbd3555a761

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b41146102a6578063a9059cbb146102c4578063dd62ed3e146102f4578063ef685ae614610324578063f2fde38b146103405761010b565b806370a0823114610232578063715018a61461026257806379cc67901461026c5780638da5cb5b146102885761010b565b8063313ce567116100de578063313ce567146101ac57806342966c68146101ca578063558a7297146101e65780636d70f7ae146102025761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b61011861035c565b60405161012591906111db565b60405180910390f35b61014860048036038101906101439190611296565b6103ee565b60405161015591906112f1565b60405180910390f35b610166610411565b604051610173919061131b565b60405180910390f35b61019660048036038101906101919190611336565b61041b565b6040516101a391906112f1565b60405180910390f35b6101b461044a565b6040516101c191906113a5565b60405180910390f35b6101e460048036038101906101df91906113c0565b610453565b005b61020060048036038101906101fb9190611419565b610467565b005b61021c60048036038101906102179190611459565b6104ca565b60405161022991906112f1565b60405180910390f35b61024c60048036038101906102479190611459565b610520565b604051610259919061131b565b60405180910390f35b61026a610568565b005b61028660048036038101906102819190611296565b61057c565b005b61029061059c565b60405161029d9190611495565b60405180910390f35b6102ae6105c6565b6040516102bb91906111db565b60405180910390f35b6102de60048036038101906102d99190611296565b610658565b6040516102eb91906112f1565b60405180910390f35b61030e600480360381019061030991906114b0565b61067b565b60405161031b919061131b565b60405180910390f35b61033e60048036038101906103399190611296565b610702565b005b61035a60048036038101906103559190611459565b6107ee565b005b60606003805461036b9061151f565b80601f01602080910402602001604051908101604052809291908181526020018280546103979061151f565b80156103e45780601f106103b9576101008083540402835291602001916103e4565b820191906000526020600020905b8154815290600101906020018083116103c757829003601f168201915b5050505050905090565b6000806103f9610874565b905061040681858561087c565b600191505092915050565b6000600254905090565b600080610426610874565b905061043385828561088e565b61043e858585610922565b60019150509392505050565b60006006905090565b61046461045e610874565b82610a16565b50565b61046f610a98565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610570610a98565b61057a6000610b1f565b565b61058e82610588610874565b8361088e565b6105988282610a16565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546105d59061151f565b80601f01602080910402602001604051908101604052809291908181526020018280546106019061151f565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600080610663610874565b9050610670818585610922565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61070a610874565b73ffffffffffffffffffffffffffffffffffffffff1661072861059c565b73ffffffffffffffffffffffffffffffffffffffff1614806107a157506001151560066000610755610874565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b6107e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d79061159c565b60405180910390fd5b6107ea8282610be5565b5050565b6107f6610a98565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108685760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161085f9190611495565b60405180910390fd5b61087181610b1f565b50565b600033905090565b6108898383836001610ccd565b505050565b600061089a848461067b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461091c578181101561090c578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610903939291906115bc565b60405180910390fd5b61091b84848484036000610ccd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109945760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161098b9190611495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a065760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016109fd9190611495565b60405180910390fd5b610a11838383610ea4565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a885760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610a7f9190611495565b60405180910390fd5b610a9482600083610ea4565b5050565b610aa0610874565b73ffffffffffffffffffffffffffffffffffffffff16610abe61059c565b73ffffffffffffffffffffffffffffffffffffffff1614610b1d57610ae1610874565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b149190611495565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6006600a610bf39190611755565b6509184e72a000610c0491906117a0565b813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7491906117f7565b610c7e9190611824565b1115610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb6906118a4565b60405180910390fd5b610cc982826110c9565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d3f5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610d369190611495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610db15760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610da89190611495565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610e9e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e95919061131b565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ef6578060026000828254610eea9190611824565b92505081905550610fc9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f82578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f79939291906115bc565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611012578060026000828254039250508190555061105f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110bc919061131b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361113b5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111329190611495565b60405180910390fd5b61114760008383610ea4565b5050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561118557808201518184015260208101905061116a565b60008484015250505050565b6000601f19601f8301169050919050565b60006111ad8261114b565b6111b78185611156565b93506111c7818560208601611167565b6111d081611191565b840191505092915050565b600060208201905081810360008301526111f581846111a2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061122d82611202565b9050919050565b61123d81611222565b811461124857600080fd5b50565b60008135905061125a81611234565b92915050565b6000819050919050565b61127381611260565b811461127e57600080fd5b50565b6000813590506112908161126a565b92915050565b600080604083850312156112ad576112ac6111fd565b5b60006112bb8582860161124b565b92505060206112cc85828601611281565b9150509250929050565b60008115159050919050565b6112eb816112d6565b82525050565b600060208201905061130660008301846112e2565b92915050565b61131581611260565b82525050565b6000602082019050611330600083018461130c565b92915050565b60008060006060848603121561134f5761134e6111fd565b5b600061135d8682870161124b565b935050602061136e8682870161124b565b925050604061137f86828701611281565b9150509250925092565b600060ff82169050919050565b61139f81611389565b82525050565b60006020820190506113ba6000830184611396565b92915050565b6000602082840312156113d6576113d56111fd565b5b60006113e484828501611281565b91505092915050565b6113f6816112d6565b811461140157600080fd5b50565b600081359050611413816113ed565b92915050565b600080604083850312156114305761142f6111fd565b5b600061143e8582860161124b565b925050602061144f85828601611404565b9150509250929050565b60006020828403121561146f5761146e6111fd565b5b600061147d8482850161124b565b91505092915050565b61148f81611222565b82525050565b60006020820190506114aa6000830184611486565b92915050565b600080604083850312156114c7576114c66111fd565b5b60006114d58582860161124b565b92505060206114e68582860161124b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061153757607f821691505b60208210810361154a576115496114f0565b5b50919050565b7f43414c4c45525f4e4f545f4f50455241544f5200000000000000000000000000600082015250565b6000611586601383611156565b915061159182611550565b602082019050919050565b600060208201905081810360008301526115b581611579565b9050919050565b60006060820190506115d16000830186611486565b6115de602083018561130c565b6115eb604083018461130c565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561167957808604811115611655576116546115f3565b5b60018516156116645780820291505b808102905061167285611622565b9450611639565b94509492505050565b600082611692576001905061174e565b816116a0576000905061174e565b81600181146116b657600281146116c0576116ef565b600191505061174e565b60ff8411156116d2576116d16115f3565b5b8360020a9150848211156116e9576116e86115f3565b5b5061174e565b5060208310610133831016604e8410600b84101617156117245782820a90508381111561171f5761171e6115f3565b5b61174e565b611731848484600161162f565b92509050818404811115611748576117476115f3565b5b81810290505b9392505050565b600061176082611260565b915061176b83611389565b92506117987fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611682565b905092915050565b60006117ab82611260565b91506117b683611260565b92508282026117c481611260565b915082820484148315176117db576117da6115f3565b5b5092915050565b6000815190506117f18161126a565b92915050565b60006020828403121561180d5761180c6111fd565b5b600061181b848285016117e2565b91505092915050565b600061182f82611260565b915061183a83611260565b9250828201905080821115611852576118516115f3565b5b92915050565b7f546f74616c20537570706c792045786365656465640000000000000000000000600082015250565b600061188e601583611156565b915061189982611858565b602082019050919050565b600060208201905081810360008301526118bd81611881565b905091905056fea264697066735822122085ff89b9e4338e7cd4c9ce5dc4841a8ff2f1d5d46a362d5534961c522a26e86e64736f6c63430008180033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ac975d8656d8c5e7b031e32e73e58dbd3555a761

-----Decoded View---------------
Arg [0] : premint (address): 0xAC975D8656D8c5e7B031E32e73e58dBd3555a761

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ac975d8656d8c5e7b031e32e73e58dbd3555a761


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.