ETH Price: $3,472.80 (+1.93%)

Token

Hardwaretor (HAW)
 

Overview

Max Total Supply

10,000,000.99999999999999329 HAW

Holders

499 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1 HAW

Value
$0.00
0x0a4c79ce84202b03e95b7a692e5d728d83c44c76
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The AI Designer module in Hardwaretor utilizes machine learning algorithms and data analytics to generate creative and optimized design solutions. By analyzing vast amounts of data, AI can identify patterns and suggest innovative designs that might not be apparent to human designers.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HAW

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 8 : HAW.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

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

contract HAW is ERC20, ERC20Burnable, Ownable {
    uint256 public constant MAX_SUPPLY = 300000000 * (10 ** 18); // Maximum supply of 1000 tokens
    uint256 public constant INITIAL_SUPPLY = 10000000 * (10 ** 18);

    struct Stake {
        uint256 amount;
        uint256 timestamp;
    }

    mapping(address => Stake) public stakes;
    uint256 public stakingRewardRate = 10; // 10% reward rate

    constructor() ERC20("Hardwaretor", "HAW") Ownable(msg.sender) {
        _mint(msg.sender, INITIAL_SUPPLY);
    }

    function mint(address to, uint256 amount) public onlyOwner {
        require(totalSupply() + amount <= MAX_SUPPLY, "Minting would exceed max supply");
        _mint(to, amount);
    }

    function stakeTokens(uint256 amount) external {
        require(balanceOf(msg.sender) >= amount, "Insufficient balance to stake");
        _burn(msg.sender, amount);

        stakes[msg.sender] = Stake({
            amount: amount,
            timestamp: block.timestamp
        });
    }

    function unstakeTokens() external {
        require(stakes[msg.sender].amount > 0, "No tokens staked");

        uint256 stakedAmount = stakes[msg.sender].amount;
        uint256 stakedDuration = block.timestamp - stakes[msg.sender].timestamp;
        uint256 reward = (stakedAmount * stakingRewardRate * stakedDuration) / (365 days * 100);

        delete stakes[msg.sender];

        _mint(msg.sender, stakedAmount + reward);
    }

    function setStakingRewardRate(uint256 newRate) external onlyOwner {
        stakingRewardRate = newRate;
    }
}

File 2 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 3 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 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 : 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 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 7 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);
}

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

Settings
{
  "evmVersion": "paris",
  "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":"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":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setStakingRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"inputs":[],"name":"unstakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a6007553480156200001657600080fd5b50336040518060400160405280600b81526020017f4861726477617265746f720000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4841570000000000000000000000000000000000000000000000000000000000815250816003908162000095919062000751565b508060049081620000a7919062000751565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200011f5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200011691906200087d565b60405180910390fd5b62000130816200015460201b60201c565b506200014e336a084595161401484a0000006200021a60201b60201c565b6200096f565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200028f5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200028691906200087d565b60405180910390fd5b620002a360008383620002a760201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620002fd578060026000828254620002f09190620008c9565b92505081905550620003d3565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156200038c578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620003839392919062000915565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200041e57806002600082825403925050819055506200046b565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004ca919062000952565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200055957607f821691505b6020821081036200056f576200056e62000511565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005d97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200059a565b620005e586836200059a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006326200062c6200062684620005fd565b62000607565b620005fd565b9050919050565b6000819050919050565b6200064e8362000611565b620006666200065d8262000639565b848454620005a7565b825550505050565b600090565b6200067d6200066e565b6200068a81848462000643565b505050565b5b81811015620006b257620006a660008262000673565b60018101905062000690565b5050565b601f8211156200070157620006cb8162000575565b620006d6846200058a565b81016020851015620006e6578190505b620006fe620006f5856200058a565b8301826200068f565b50505b505050565b600082821c905092915050565b6000620007266000198460080262000706565b1980831691505092915050565b600062000741838362000713565b9150826002028217905092915050565b6200075c82620004d7565b67ffffffffffffffff811115620007785762000777620004e2565b5b62000784825462000540565b62000791828285620006b6565b600060209050601f831160018114620007c95760008415620007b4578287015190505b620007c0858262000733565b86555062000830565b601f198416620007d98662000575565b60005b828110156200080357848901518255600182019150602085019450602081019050620007dc565b868310156200082357848901516200081f601f89168262000713565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008658262000838565b9050919050565b620008778162000858565b82525050565b60006020820190506200089460008301846200086c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620008d682620005fd565b9150620008e383620005fd565b9250828201905080821115620008fe57620008fd6200089a565b5b92915050565b6200090f81620005fd565b82525050565b60006060820190506200092c60008301866200086c565b6200093b602083018562000904565b6200094a604083018462000904565b949350505050565b600060208201905062000969600083018462000904565b92915050565b61196b806200097f6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b857806395d89b411161007c57806395d89b4114610354578063a5ce413b14610372578063a9059cbb1461037c578063b7d68519146103ac578063dd62ed3e146103c8578063f2fde38b146103f857610142565b806370a08231146102c4578063715018a6146102f45780637547c7a3146102fe57806379cc67901461031a5780638da5cb5b1461033657610142565b80632ff2e9dc1161010a5780632ff2e9dc14610214578063313ce5671461023257806332cb6b0c1461025057806340c10f191461026e57806342966c681461028a5780634f3fc2df146102a657610142565b806306fdde0314610147578063095ea7b31461016557806316934fc41461019557806318160ddd146101c657806323b872dd146101e4575b600080fd5b61014f610414565b60405161015c919061134f565b60405180910390f35b61017f600480360381019061017a919061140a565b6104a6565b60405161018c9190611465565b60405180910390f35b6101af60048036038101906101aa9190611480565b6104c9565b6040516101bd9291906114bc565b60405180910390f35b6101ce6104ed565b6040516101db91906114e5565b60405180910390f35b6101fe60048036038101906101f99190611500565b6104f7565b60405161020b9190611465565b60405180910390f35b61021c610526565b60405161022991906114e5565b60405180910390f35b61023a610535565b604051610247919061156f565b60405180910390f35b61025861053e565b60405161026591906114e5565b60405180910390f35b6102886004803603810190610283919061140a565b61054d565b005b6102a4600480360381019061029f919061158a565b6105c3565b005b6102ae6105d7565b6040516102bb91906114e5565b60405180910390f35b6102de60048036038101906102d99190611480565b6105dd565b6040516102eb91906114e5565b60405180910390f35b6102fc610625565b005b6103186004803603810190610313919061158a565b610639565b005b610334600480360381019061032f919061140a565b6106fc565b005b61033e61071c565b60405161034b91906115c6565b60405180910390f35b61035c610746565b604051610369919061134f565b60405180910390f35b61037a6107d8565b005b6103966004803603810190610391919061140a565b61098e565b6040516103a39190611465565b60405180910390f35b6103c660048036038101906103c1919061158a565b6109b1565b005b6103e260048036038101906103dd91906115e1565b6109c3565b6040516103ef91906114e5565b60405180910390f35b610412600480360381019061040d9190611480565b610a4a565b005b60606003805461042390611650565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90611650565b801561049c5780601f106104715761010080835404028352916020019161049c565b820191906000526020600020905b81548152906001019060200180831161047f57829003601f168201915b5050505050905090565b6000806104b1610ad0565b90506104be818585610ad8565b600191505092915050565b60066020528060005260406000206000915090508060000154908060010154905082565b6000600254905090565b600080610502610ad0565b905061050f858285610aea565b61051a858585610b7e565b60019150509392505050565b6a084595161401484a00000081565b60006012905090565b6af8277896582678ac00000081565b610555610c72565b6af8277896582678ac0000008161056a6104ed565b61057491906116b0565b11156105b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ac90611730565b60405180910390fd5b6105bf8282610cf9565b5050565b6105d46105ce610ad0565b82610d7b565b50565b60075481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61062d610c72565b6106376000610dfd565b565b80610643336105dd565b1015610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b9061179c565b60405180910390fd5b61068e3382610d7b565b604051806040016040528082815260200142815250600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505050565b61070e82610708610ad0565b83610aea565b6107188282610d7b565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461075590611650565b80601f016020809104026020016040519081016040528092919081815260200182805461078190611650565b80156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050905090565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541161085d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085490611808565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154426108f49190611828565b9050600063bbf81e00826007548561090c919061185c565b610916919061185c565b61092091906118cd565b9050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055505061098933828561098491906116b0565b610cf9565b505050565b600080610999610ad0565b90506109a6818585610b7e565b600191505092915050565b6109b9610c72565b8060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a52610c72565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ac45760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610abb91906115c6565b60405180910390fd5b610acd81610dfd565b50565b600033905090565b610ae58383836001610ec3565b505050565b6000610af684846109c3565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b785781811015610b68578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610b5f939291906118fe565b60405180910390fd5b610b7784848484036000610ec3565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bf05760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610be791906115c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c625760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610c5991906115c6565b60405180910390fd5b610c6d83838361109a565b505050565b610c7a610ad0565b73ffffffffffffffffffffffffffffffffffffffff16610c9861071c565b73ffffffffffffffffffffffffffffffffffffffff1614610cf757610cbb610ad0565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610cee91906115c6565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d6b5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d6291906115c6565b60405180910390fd5b610d776000838361109a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ded5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610de491906115c6565b60405180910390fd5b610df98260008361109a565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f355760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f2c91906115c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fa75760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610f9e91906115c6565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611094578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161108b91906114e5565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110ec5780600260008282546110e091906116b0565b925050819055506111bf565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611178578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161116f939291906118fe565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112085780600260008282540392505081905550611255565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112b291906114e5565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112f95780820151818401526020810190506112de565b60008484015250505050565b6000601f19601f8301169050919050565b6000611321826112bf565b61132b81856112ca565b935061133b8185602086016112db565b61134481611305565b840191505092915050565b600060208201905081810360008301526113698184611316565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113a182611376565b9050919050565b6113b181611396565b81146113bc57600080fd5b50565b6000813590506113ce816113a8565b92915050565b6000819050919050565b6113e7816113d4565b81146113f257600080fd5b50565b600081359050611404816113de565b92915050565b6000806040838503121561142157611420611371565b5b600061142f858286016113bf565b9250506020611440858286016113f5565b9150509250929050565b60008115159050919050565b61145f8161144a565b82525050565b600060208201905061147a6000830184611456565b92915050565b60006020828403121561149657611495611371565b5b60006114a4848285016113bf565b91505092915050565b6114b6816113d4565b82525050565b60006040820190506114d160008301856114ad565b6114de60208301846114ad565b9392505050565b60006020820190506114fa60008301846114ad565b92915050565b60008060006060848603121561151957611518611371565b5b6000611527868287016113bf565b9350506020611538868287016113bf565b9250506040611549868287016113f5565b9150509250925092565b600060ff82169050919050565b61156981611553565b82525050565b60006020820190506115846000830184611560565b92915050565b6000602082840312156115a05761159f611371565b5b60006115ae848285016113f5565b91505092915050565b6115c081611396565b82525050565b60006020820190506115db60008301846115b7565b92915050565b600080604083850312156115f8576115f7611371565b5b6000611606858286016113bf565b9250506020611617858286016113bf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061166857607f821691505b60208210810361167b5761167a611621565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006116bb826113d4565b91506116c6836113d4565b92508282019050808211156116de576116dd611681565b5b92915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b600061171a601f836112ca565b9150611725826116e4565b602082019050919050565b600060208201905081810360008301526117498161170d565b9050919050565b7f496e73756666696369656e742062616c616e636520746f207374616b65000000600082015250565b6000611786601d836112ca565b915061179182611750565b602082019050919050565b600060208201905081810360008301526117b581611779565b9050919050565b7f4e6f20746f6b656e73207374616b656400000000000000000000000000000000600082015250565b60006117f26010836112ca565b91506117fd826117bc565b602082019050919050565b60006020820190508181036000830152611821816117e5565b9050919050565b6000611833826113d4565b915061183e836113d4565b925082820390508181111561185657611855611681565b5b92915050565b6000611867826113d4565b9150611872836113d4565b9250828202611880816113d4565b9150828204841483151761189757611896611681565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006118d8826113d4565b91506118e3836113d4565b9250826118f3576118f261189e565b5b828204905092915050565b600060608201905061191360008301866115b7565b61192060208301856114ad565b61192d60408301846114ad565b94935050505056fea2646970667358221220643ee4e7751c628c950716fe53748229f0c0c1622f77683e8bc5096569bbd27c64736f6c63430008180033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b857806395d89b411161007c57806395d89b4114610354578063a5ce413b14610372578063a9059cbb1461037c578063b7d68519146103ac578063dd62ed3e146103c8578063f2fde38b146103f857610142565b806370a08231146102c4578063715018a6146102f45780637547c7a3146102fe57806379cc67901461031a5780638da5cb5b1461033657610142565b80632ff2e9dc1161010a5780632ff2e9dc14610214578063313ce5671461023257806332cb6b0c1461025057806340c10f191461026e57806342966c681461028a5780634f3fc2df146102a657610142565b806306fdde0314610147578063095ea7b31461016557806316934fc41461019557806318160ddd146101c657806323b872dd146101e4575b600080fd5b61014f610414565b60405161015c919061134f565b60405180910390f35b61017f600480360381019061017a919061140a565b6104a6565b60405161018c9190611465565b60405180910390f35b6101af60048036038101906101aa9190611480565b6104c9565b6040516101bd9291906114bc565b60405180910390f35b6101ce6104ed565b6040516101db91906114e5565b60405180910390f35b6101fe60048036038101906101f99190611500565b6104f7565b60405161020b9190611465565b60405180910390f35b61021c610526565b60405161022991906114e5565b60405180910390f35b61023a610535565b604051610247919061156f565b60405180910390f35b61025861053e565b60405161026591906114e5565b60405180910390f35b6102886004803603810190610283919061140a565b61054d565b005b6102a4600480360381019061029f919061158a565b6105c3565b005b6102ae6105d7565b6040516102bb91906114e5565b60405180910390f35b6102de60048036038101906102d99190611480565b6105dd565b6040516102eb91906114e5565b60405180910390f35b6102fc610625565b005b6103186004803603810190610313919061158a565b610639565b005b610334600480360381019061032f919061140a565b6106fc565b005b61033e61071c565b60405161034b91906115c6565b60405180910390f35b61035c610746565b604051610369919061134f565b60405180910390f35b61037a6107d8565b005b6103966004803603810190610391919061140a565b61098e565b6040516103a39190611465565b60405180910390f35b6103c660048036038101906103c1919061158a565b6109b1565b005b6103e260048036038101906103dd91906115e1565b6109c3565b6040516103ef91906114e5565b60405180910390f35b610412600480360381019061040d9190611480565b610a4a565b005b60606003805461042390611650565b80601f016020809104026020016040519081016040528092919081815260200182805461044f90611650565b801561049c5780601f106104715761010080835404028352916020019161049c565b820191906000526020600020905b81548152906001019060200180831161047f57829003601f168201915b5050505050905090565b6000806104b1610ad0565b90506104be818585610ad8565b600191505092915050565b60066020528060005260406000206000915090508060000154908060010154905082565b6000600254905090565b600080610502610ad0565b905061050f858285610aea565b61051a858585610b7e565b60019150509392505050565b6a084595161401484a00000081565b60006012905090565b6af8277896582678ac00000081565b610555610c72565b6af8277896582678ac0000008161056a6104ed565b61057491906116b0565b11156105b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ac90611730565b60405180910390fd5b6105bf8282610cf9565b5050565b6105d46105ce610ad0565b82610d7b565b50565b60075481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61062d610c72565b6106376000610dfd565b565b80610643336105dd565b1015610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b9061179c565b60405180910390fd5b61068e3382610d7b565b604051806040016040528082815260200142815250600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505050565b61070e82610708610ad0565b83610aea565b6107188282610d7b565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461075590611650565b80601f016020809104026020016040519081016040528092919081815260200182805461078190611650565b80156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b5050505050905090565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541161085d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085490611808565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154426108f49190611828565b9050600063bbf81e00826007548561090c919061185c565b610916919061185c565b61092091906118cd565b9050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055505061098933828561098491906116b0565b610cf9565b505050565b600080610999610ad0565b90506109a6818585610b7e565b600191505092915050565b6109b9610c72565b8060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a52610c72565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ac45760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610abb91906115c6565b60405180910390fd5b610acd81610dfd565b50565b600033905090565b610ae58383836001610ec3565b505050565b6000610af684846109c3565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b785781811015610b68578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610b5f939291906118fe565b60405180910390fd5b610b7784848484036000610ec3565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bf05760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610be791906115c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c625760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610c5991906115c6565b60405180910390fd5b610c6d83838361109a565b505050565b610c7a610ad0565b73ffffffffffffffffffffffffffffffffffffffff16610c9861071c565b73ffffffffffffffffffffffffffffffffffffffff1614610cf757610cbb610ad0565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610cee91906115c6565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d6b5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d6291906115c6565b60405180910390fd5b610d776000838361109a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ded5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610de491906115c6565b60405180910390fd5b610df98260008361109a565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f355760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f2c91906115c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fa75760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610f9e91906115c6565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611094578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161108b91906114e5565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110ec5780600260008282546110e091906116b0565b925050819055506111bf565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611178578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161116f939291906118fe565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112085780600260008282540392505081905550611255565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112b291906114e5565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112f95780820151818401526020810190506112de565b60008484015250505050565b6000601f19601f8301169050919050565b6000611321826112bf565b61132b81856112ca565b935061133b8185602086016112db565b61134481611305565b840191505092915050565b600060208201905081810360008301526113698184611316565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113a182611376565b9050919050565b6113b181611396565b81146113bc57600080fd5b50565b6000813590506113ce816113a8565b92915050565b6000819050919050565b6113e7816113d4565b81146113f257600080fd5b50565b600081359050611404816113de565b92915050565b6000806040838503121561142157611420611371565b5b600061142f858286016113bf565b9250506020611440858286016113f5565b9150509250929050565b60008115159050919050565b61145f8161144a565b82525050565b600060208201905061147a6000830184611456565b92915050565b60006020828403121561149657611495611371565b5b60006114a4848285016113bf565b91505092915050565b6114b6816113d4565b82525050565b60006040820190506114d160008301856114ad565b6114de60208301846114ad565b9392505050565b60006020820190506114fa60008301846114ad565b92915050565b60008060006060848603121561151957611518611371565b5b6000611527868287016113bf565b9350506020611538868287016113bf565b9250506040611549868287016113f5565b9150509250925092565b600060ff82169050919050565b61156981611553565b82525050565b60006020820190506115846000830184611560565b92915050565b6000602082840312156115a05761159f611371565b5b60006115ae848285016113f5565b91505092915050565b6115c081611396565b82525050565b60006020820190506115db60008301846115b7565b92915050565b600080604083850312156115f8576115f7611371565b5b6000611606858286016113bf565b9250506020611617858286016113bf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061166857607f821691505b60208210810361167b5761167a611621565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006116bb826113d4565b91506116c6836113d4565b92508282019050808211156116de576116dd611681565b5b92915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b600061171a601f836112ca565b9150611725826116e4565b602082019050919050565b600060208201905081810360008301526117498161170d565b9050919050565b7f496e73756666696369656e742062616c616e636520746f207374616b65000000600082015250565b6000611786601d836112ca565b915061179182611750565b602082019050919050565b600060208201905081810360008301526117b581611779565b9050919050565b7f4e6f20746f6b656e73207374616b656400000000000000000000000000000000600082015250565b60006117f26010836112ca565b91506117fd826117bc565b602082019050919050565b60006020820190508181036000830152611821816117e5565b9050919050565b6000611833826113d4565b915061183e836113d4565b925082820390508181111561185657611855611681565b5b92915050565b6000611867826113d4565b9150611872836113d4565b9250828202611880816113d4565b9150828204841483151761189757611896611681565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006118d8826113d4565b91506118e3836113d4565b9250826118f3576118f261189e565b5b828204905092915050565b600060608201905061191360008301866115b7565b61192060208301856114ad565b61192d60408301846114ad565b94935050505056fea2646970667358221220643ee4e7751c628c950716fe53748229f0c0c1622f77683e8bc5096569bbd27c64736f6c63430008180033

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.