ETH Price: $3,306.74 (-3.06%)
Gas: 12 Gwei

Token

GTA Coin (GTA)
 

Overview

Max Total Supply

2,000,000,000 GTA

Holders

22

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
4,497,051.837311662498934657 GTA

Value
$0.00
0xceb31dcaf08cf5ea3437bd3c0d669837673ca1d6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GTACoin

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : gtatest.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract GTACoin is ERC20, Ownable {
    using SafeMath for uint256;

    // Addresses to receive tokens
    address public constant address1 = 0xd1cC4546bceD011CBE79A67E97078212f4F2d8F5;
    address public constant address2 = 0x603279057feE011Bf87FA23E54Ef77b3EF098B8F;
    address public constant address3 = 0x4D0F376ad58e0897c9bD7C12FD5BbC9Ab8b1ee8f;
    address public constant address4 = 0x468c0BC408387c3E0f3f23847e8461315553DDfa;
    address public constant address5 = 0x553A00D24e103a426f8beed2e6c7D36f22C88Cf9;

    // Locking information
    mapping(address => uint256) public lockEndTime;

    // Event to notify token lock
    event TokensLocked(address indexed account, uint256 amount, uint256 unlockTime);

    // Constructor
    constructor() ERC20("GTA Coin", "GTA") Ownable(msg.sender) {
        // Total supply is 2 billion (2,000,000,000) tokens with 18 decimals
        _mint(msg.sender, 2000000000 * 10**18);

        // Send tokens to specified addresses and lock tokens for address1 from today
        sendTokensWithDynamicLock(address1, 200000000 * 10**18, calculateLockDuration(26, 11, 2024));
        sendTokensWithDynamicLock(address2, 200000000 * 10**18, 0); // No lock for address2
        sendTokensWithDynamicLock(address3, 400000000 * 10**18, 0); // No lock for address3
        sendTokensWithDynamicLock(address4, 200000000 * 10**18, 0); // No lock for address4
        sendTokensWithDynamicLock(address5, 1000000000 * 10**18, 0); // No lock for address5
        
    }

    // Send tokens to a specified address and lock them for a specific duration
    function sendTokensWithDynamicLock(address to, uint256 amount, uint256 lockDuration) internal onlyOwner {
        require(to != address(0), "Invalid address");
        require(amount > 0, "Invalid amount");

        _transfer(msg.sender, to, amount);

        // Set lock end time based on the current timestamp and dynamic lock duration
        if (lockDuration > 0) {
            lockEndTime[to] = block.timestamp + lockDuration;
            // Emit an event to notify the lock
            emit TokensLocked(to, amount, lockEndTime[to]);
        }
    }

    // Function to retrieve locked status and lock end time for an address
    function getLockStatus(address account) external view returns (bool isLocked, uint256 endTime) {
        return (block.timestamp < lockEndTime[account], lockEndTime[account]);
    }

    // Function to calculate lock duration in seconds given a specific date
    function calculateLockDuration(uint256 day, uint256 month, uint256 year) internal view returns (uint256) {
        uint256 lockEndDate = block.timestamp;

        // Calculate the timestamp for the specified date
        lockEndDate = lockEndDate.add(day * 1 days);
        lockEndDate = lockEndDate.add((month - 1) * 30 days);
        lockEndDate = lockEndDate.add((year - 1970) * 365 days);

        // Return the lock duration in seconds
        return lockEndDate - block.timestamp;
    }

    // Additional functions as needed...
}

File 2 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 8 : 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 4 of 8 : 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 8 : 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 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (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;
    }
}

File 7 of 8 : 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 8 of 8 : 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);
}

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

Contract Security Audit

Contract ABI

[{"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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"unlockTime","type":"uint256"}],"name":"TokensLocked","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":[],"name":"address1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"address2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"address3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"address4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"address5","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLockStatus","outputs":[{"internalType":"bool","name":"isLocked","type":"bool"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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"}]

608060405234801562000010575f80fd5b50336040518060400160405280600881526020017f47544120436f696e0000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f475441000000000000000000000000000000000000000000000000000000000081525081600390816200008f919062000c90565b508060049081620000a1919062000c90565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000117575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200010e919062000db7565b60405180910390fd5b62000128816200025f60201b60201c565b5062000147336b06765c793fa10079d00000006200032260201b60201c565b6200018f73d1cc4546bced011cbe79a67e97078212f4f2d8f56aa56fa5b99019a5c800000062000183601a600b6107e8620003ac60201b60201c565b6200045c60201b60201c565b620001c173603279057fee011bf87fa23e54ef77b3ef098b8f6aa56fa5b99019a5c80000005f6200045c60201b60201c565b620001f4734d0f376ad58e0897c9bd7c12fd5bbc9ab8b1ee8f6b014adf4b7320334b900000005f6200045c60201b60201c565b6200022673468c0bc408387c3e0f3f23847e8461315553ddfa6aa56fa5b99019a5c80000005f6200045c60201b60201c565b6200025973553a00d24e103a426f8beed2e6c7d36f22c88cf96b033b2e3c9fd0803ce80000005f6200045c60201b60201c565b6200103b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000395575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200038c919062000db7565b60405180910390fd5b620003a85f83836200062260201b60201c565b5050565b5f80429050620003d66201518086620003c6919062000dff565b826200084660201b90919060201c565b90506200040b62278d00600186620003ef919062000e49565b620003fb919062000dff565b826200084660201b90919060201c565b9050620004426301e133806107b28562000426919062000e49565b62000432919062000dff565b826200084660201b90919060201c565b9050428162000452919062000e49565b9150509392505050565b6200046c6200085d60201b60201c565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620004dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d49062000ee1565b60405180910390fd5b5f821162000522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005199062000f4f565b60405180910390fd5b62000535338484620008ff60201b60201c565b5f8111156200061d5780426200054c919062000f6f565b60065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff167fd741e738a23fd18a03a26522320d9fc6cac1fed483e215ea9150fbc2fc43385d8360065f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546040516200061492919062000fba565b60405180910390a25b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000676578060025f82825462000669919062000f6f565b9250508190555062000747565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101562000702578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620006f99392919062000fe5565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000790578060025f8282540392505081905550620007da565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000839919062001020565b60405180910390a3505050565b5f818362000855919062000f6f565b905092915050565b6200086d620009fd60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200089362000a0460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620008fd57620008bf620009fd60201b60201c565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401620008f4919062000db7565b60405180910390fd5b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000972575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040162000969919062000db7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620009e5575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620009dc919062000db7565b60405180910390fd5b620009f88383836200062260201b60201c565b505050565b5f33905090565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168062000aa857607f821691505b60208210810362000abe5762000abd62000a63565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830262000b227fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000ae5565b62000b2e868362000ae5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000b7862000b7262000b6c8462000b46565b62000b4f565b62000b46565b9050919050565b5f819050919050565b62000b938362000b58565b62000bab62000ba28262000b7f565b84845462000af1565b825550505050565b5f90565b62000bc162000bb3565b62000bce81848462000b88565b505050565b5b8181101562000bf55762000be95f8262000bb7565b60018101905062000bd4565b5050565b601f82111562000c445762000c0e8162000ac4565b62000c198462000ad6565b8101602085101562000c29578190505b62000c4162000c388562000ad6565b83018262000bd3565b50505b505050565b5f82821c905092915050565b5f62000c665f198460080262000c49565b1980831691505092915050565b5f62000c80838362000c55565b9150826002028217905092915050565b62000c9b8262000a2c565b67ffffffffffffffff81111562000cb75762000cb662000a36565b5b62000cc3825462000a90565b62000cd082828562000bf9565b5f60209050601f83116001811462000d06575f841562000cf1578287015190505b62000cfd858262000c73565b86555062000d6c565b601f19841662000d168662000ac4565b5f5b8281101562000d3f5784890151825560018201915060208501945060208101905062000d18565b8683101562000d5f578489015162000d5b601f89168262000c55565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000d9f8262000d74565b9050919050565b62000db18162000d93565b82525050565b5f60208201905062000dcc5f83018462000da6565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f62000e0b8262000b46565b915062000e188362000b46565b925082820262000e288162000b46565b9150828204841483151762000e425762000e4162000dd2565b5b5092915050565b5f62000e558262000b46565b915062000e628362000b46565b925082820390508181111562000e7d5762000e7c62000dd2565b5b92915050565b5f82825260208201905092915050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f62000ec9600f8362000e83565b915062000ed68262000e93565b602082019050919050565b5f6020820190508181035f83015262000efa8162000ebb565b9050919050565b7f496e76616c696420616d6f756e740000000000000000000000000000000000005f82015250565b5f62000f37600e8362000e83565b915062000f448262000f01565b602082019050919050565b5f6020820190508181035f83015262000f688162000f29565b9050919050565b5f62000f7b8262000b46565b915062000f888362000b46565b925082820190508082111562000fa35762000fa262000dd2565b5b92915050565b62000fb48162000b46565b82525050565b5f60408201905062000fcf5f83018562000fa9565b62000fde602083018462000fa9565b9392505050565b5f60608201905062000ffa5f83018662000da6565b62001009602083018562000fa9565b62001018604083018462000fa9565b949350505050565b5f602082019050620010355f83018462000fa9565b92915050565b61130a80620010495f395ff3fe608060405234801561000f575f80fd5b506004361061011f575f3560e01c80633a36399e116100ab5780639eea4a3a1161006f5780639eea4a3a1461030e578063a1c2f6441461032c578063a9059cbb1461034a578063dd62ed3e1461037a578063f2fde38b146103aa5761011f565b80633a36399e1461027a57806370a0823114610298578063715018a6146102c85780638da5cb5b146102d257806395d89b41146102f05761011f565b806318160ddd116100f257806318160ddd146101c05780631e38046c146101de5780632298a0eb146101fc57806323b872dd1461022c578063313ce5671461025c5761011f565b806306fdde0314610123578063095ea7b3146101415780630e417055146101715780630f36f6911461018f575b5f80fd5b61012b6103c6565b6040516101389190610f5c565b60405180910390f35b61015b6004803603810190610156919061100d565b610456565b6040516101689190611065565b60405180910390f35b610179610478565b604051610186919061108d565b60405180910390f35b6101a960048036038101906101a491906110a6565b610490565b6040516101b79291906110e0565b60405180910390f35b6101c8610519565b6040516101d59190611107565b60405180910390f35b6101e6610522565b6040516101f3919061108d565b60405180910390f35b610216600480360381019061021191906110a6565b61053a565b6040516102239190611107565b60405180910390f35b61024660048036038101906102419190611120565b61054f565b6040516102539190611065565b60405180910390f35b61026461057d565b604051610271919061118b565b60405180910390f35b610282610585565b60405161028f919061108d565b60405180910390f35b6102b260048036038101906102ad91906110a6565b61059d565b6040516102bf9190611107565b60405180910390f35b6102d06105e2565b005b6102da6105f5565b6040516102e7919061108d565b60405180910390f35b6102f861061d565b6040516103059190610f5c565b60405180910390f35b6103166106ad565b604051610323919061108d565b60405180910390f35b6103346106c5565b604051610341919061108d565b60405180910390f35b610364600480360381019061035f919061100d565b6106dd565b6040516103719190611065565b60405180910390f35b610394600480360381019061038f91906111a4565b6106ff565b6040516103a19190611107565b60405180910390f35b6103c460048036038101906103bf91906110a6565b610781565b005b6060600380546103d59061120f565b80601f01602080910402602001604051908101604052809291908181526020018280546104019061120f565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b5050505050905090565b5f80610460610805565b905061046d81858561080c565b600191505092915050565b73553a00d24e103a426f8beed2e6c7d36f22c88cf981565b5f8060065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054421060065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205491509150915091565b5f600254905090565b734d0f376ad58e0897c9bd7c12fd5bbc9ab8b1ee8f81565b6006602052805f5260405f205f915090505481565b5f80610559610805565b905061056685828561081e565b6105718585856108b0565b60019150509392505050565b5f6012905090565b73d1cc4546bced011cbe79a67e97078212f4f2d8f581565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6105ea6109a0565b6105f35f610a27565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461062c9061120f565b80601f01602080910402602001604051908101604052809291908181526020018280546106589061120f565b80156106a35780601f1061067a576101008083540402835291602001916106a3565b820191905f5260205f20905b81548152906001019060200180831161068657829003601f168201915b5050505050905090565b73603279057fee011bf87fa23e54ef77b3ef098b8f81565b73468c0bc408387c3e0f3f23847e8461315553ddfa81565b5f806106e7610805565b90506106f48185856108b0565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6107896109a0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036107f9575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016107f0919061108d565b60405180910390fd5b61080281610a27565b50565b5f33905090565b6108198383836001610aea565b505050565b5f61082984846106ff565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108aa578181101561089b578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016108929392919061123f565b60405180910390fd5b6108a984848484035f610aea565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610920575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610917919061108d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610990575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610987919061108d565b60405180910390fd5b61099b838383610cb9565b505050565b6109a8610805565b73ffffffffffffffffffffffffffffffffffffffff166109c66105f5565b73ffffffffffffffffffffffffffffffffffffffff1614610a25576109e9610805565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a1c919061108d565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610b5a575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610b51919061108d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bca575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610bc1919061108d565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610cb3578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610caa9190611107565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d09578060025f828254610cfd91906112a1565b92505081905550610dd7565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d92578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610d899392919061123f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e1e578060025f8282540392505081905550610e68565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ec59190611107565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610f09578082015181840152602081019050610eee565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610f2e82610ed2565b610f388185610edc565b9350610f48818560208601610eec565b610f5181610f14565b840191505092915050565b5f6020820190508181035f830152610f748184610f24565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610fa982610f80565b9050919050565b610fb981610f9f565b8114610fc3575f80fd5b50565b5f81359050610fd481610fb0565b92915050565b5f819050919050565b610fec81610fda565b8114610ff6575f80fd5b50565b5f8135905061100781610fe3565b92915050565b5f806040838503121561102357611022610f7c565b5b5f61103085828601610fc6565b925050602061104185828601610ff9565b9150509250929050565b5f8115159050919050565b61105f8161104b565b82525050565b5f6020820190506110785f830184611056565b92915050565b61108781610f9f565b82525050565b5f6020820190506110a05f83018461107e565b92915050565b5f602082840312156110bb576110ba610f7c565b5b5f6110c884828501610fc6565b91505092915050565b6110da81610fda565b82525050565b5f6040820190506110f35f830185611056565b61110060208301846110d1565b9392505050565b5f60208201905061111a5f8301846110d1565b92915050565b5f805f6060848603121561113757611136610f7c565b5b5f61114486828701610fc6565b935050602061115586828701610fc6565b925050604061116686828701610ff9565b9150509250925092565b5f60ff82169050919050565b61118581611170565b82525050565b5f60208201905061119e5f83018461117c565b92915050565b5f80604083850312156111ba576111b9610f7c565b5b5f6111c785828601610fc6565b92505060206111d885828601610fc6565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061122657607f821691505b602082108103611239576112386111e2565b5b50919050565b5f6060820190506112525f83018661107e565b61125f60208301856110d1565b61126c60408301846110d1565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6112ab82610fda565b91506112b683610fda565b92508282019050808211156112ce576112cd611274565b5b9291505056fea26469706673582212201e17fca70c1eb1aad9f3eb217c703227463c37767cf6a8f00e04eb5dceb1e70064736f6c63430008160033

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061011f575f3560e01c80633a36399e116100ab5780639eea4a3a1161006f5780639eea4a3a1461030e578063a1c2f6441461032c578063a9059cbb1461034a578063dd62ed3e1461037a578063f2fde38b146103aa5761011f565b80633a36399e1461027a57806370a0823114610298578063715018a6146102c85780638da5cb5b146102d257806395d89b41146102f05761011f565b806318160ddd116100f257806318160ddd146101c05780631e38046c146101de5780632298a0eb146101fc57806323b872dd1461022c578063313ce5671461025c5761011f565b806306fdde0314610123578063095ea7b3146101415780630e417055146101715780630f36f6911461018f575b5f80fd5b61012b6103c6565b6040516101389190610f5c565b60405180910390f35b61015b6004803603810190610156919061100d565b610456565b6040516101689190611065565b60405180910390f35b610179610478565b604051610186919061108d565b60405180910390f35b6101a960048036038101906101a491906110a6565b610490565b6040516101b79291906110e0565b60405180910390f35b6101c8610519565b6040516101d59190611107565b60405180910390f35b6101e6610522565b6040516101f3919061108d565b60405180910390f35b610216600480360381019061021191906110a6565b61053a565b6040516102239190611107565b60405180910390f35b61024660048036038101906102419190611120565b61054f565b6040516102539190611065565b60405180910390f35b61026461057d565b604051610271919061118b565b60405180910390f35b610282610585565b60405161028f919061108d565b60405180910390f35b6102b260048036038101906102ad91906110a6565b61059d565b6040516102bf9190611107565b60405180910390f35b6102d06105e2565b005b6102da6105f5565b6040516102e7919061108d565b60405180910390f35b6102f861061d565b6040516103059190610f5c565b60405180910390f35b6103166106ad565b604051610323919061108d565b60405180910390f35b6103346106c5565b604051610341919061108d565b60405180910390f35b610364600480360381019061035f919061100d565b6106dd565b6040516103719190611065565b60405180910390f35b610394600480360381019061038f91906111a4565b6106ff565b6040516103a19190611107565b60405180910390f35b6103c460048036038101906103bf91906110a6565b610781565b005b6060600380546103d59061120f565b80601f01602080910402602001604051908101604052809291908181526020018280546104019061120f565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b5050505050905090565b5f80610460610805565b905061046d81858561080c565b600191505092915050565b73553a00d24e103a426f8beed2e6c7d36f22c88cf981565b5f8060065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054421060065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205491509150915091565b5f600254905090565b734d0f376ad58e0897c9bd7c12fd5bbc9ab8b1ee8f81565b6006602052805f5260405f205f915090505481565b5f80610559610805565b905061056685828561081e565b6105718585856108b0565b60019150509392505050565b5f6012905090565b73d1cc4546bced011cbe79a67e97078212f4f2d8f581565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6105ea6109a0565b6105f35f610a27565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461062c9061120f565b80601f01602080910402602001604051908101604052809291908181526020018280546106589061120f565b80156106a35780601f1061067a576101008083540402835291602001916106a3565b820191905f5260205f20905b81548152906001019060200180831161068657829003601f168201915b5050505050905090565b73603279057fee011bf87fa23e54ef77b3ef098b8f81565b73468c0bc408387c3e0f3f23847e8461315553ddfa81565b5f806106e7610805565b90506106f48185856108b0565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6107896109a0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036107f9575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016107f0919061108d565b60405180910390fd5b61080281610a27565b50565b5f33905090565b6108198383836001610aea565b505050565b5f61082984846106ff565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108aa578181101561089b578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016108929392919061123f565b60405180910390fd5b6108a984848484035f610aea565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610920575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610917919061108d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610990575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610987919061108d565b60405180910390fd5b61099b838383610cb9565b505050565b6109a8610805565b73ffffffffffffffffffffffffffffffffffffffff166109c66105f5565b73ffffffffffffffffffffffffffffffffffffffff1614610a25576109e9610805565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a1c919061108d565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610b5a575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610b51919061108d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bca575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610bc1919061108d565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610cb3578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610caa9190611107565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d09578060025f828254610cfd91906112a1565b92505081905550610dd7565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d92578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610d899392919061123f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e1e578060025f8282540392505081905550610e68565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ec59190611107565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610f09578082015181840152602081019050610eee565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610f2e82610ed2565b610f388185610edc565b9350610f48818560208601610eec565b610f5181610f14565b840191505092915050565b5f6020820190508181035f830152610f748184610f24565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610fa982610f80565b9050919050565b610fb981610f9f565b8114610fc3575f80fd5b50565b5f81359050610fd481610fb0565b92915050565b5f819050919050565b610fec81610fda565b8114610ff6575f80fd5b50565b5f8135905061100781610fe3565b92915050565b5f806040838503121561102357611022610f7c565b5b5f61103085828601610fc6565b925050602061104185828601610ff9565b9150509250929050565b5f8115159050919050565b61105f8161104b565b82525050565b5f6020820190506110785f830184611056565b92915050565b61108781610f9f565b82525050565b5f6020820190506110a05f83018461107e565b92915050565b5f602082840312156110bb576110ba610f7c565b5b5f6110c884828501610fc6565b91505092915050565b6110da81610fda565b82525050565b5f6040820190506110f35f830185611056565b61110060208301846110d1565b9392505050565b5f60208201905061111a5f8301846110d1565b92915050565b5f805f6060848603121561113757611136610f7c565b5b5f61114486828701610fc6565b935050602061115586828701610fc6565b925050604061116686828701610ff9565b9150509250925092565b5f60ff82169050919050565b61118581611170565b82525050565b5f60208201905061119e5f83018461117c565b92915050565b5f80604083850312156111ba576111b9610f7c565b5b5f6111c785828601610fc6565b92505060206111d885828601610fc6565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061122657607f821691505b602082108103611239576112386111e2565b5b50919050565b5f6060820190506112525f83018661107e565b61125f60208301856110d1565b61126c60408301846110d1565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6112ab82610fda565b91506112b683610fda565b92508282019050808211156112ce576112cd611274565b5b9291505056fea26469706673582212201e17fca70c1eb1aad9f3eb217c703227463c37767cf6a8f00e04eb5dceb1e70064736f6c63430008160033

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.