Sepolia Testnet

Token

ERC-20: Hardwaretor (HAW)
ERC-20

Overview

Max Total Supply

960.960051470966512779 HAW

Holders

97

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.0000000005 HAW
0xa8ab451f0c6601fc5771b3936a3691f5aec5a035
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:
HAW

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

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 = 1000 * (10 ** 18); // Maximum supply of 1000 tokens
    uint256 public constant INITIAL_SUPPLY = 50 * (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 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"}]

6080604052600a6007553480156200001657600080fd5b50336040518060400160405280600b81526020017f4861726477617265746f720000000000000000000000000000000000000000008152506040518060400160405280600381526020017f484157000000000000000000000000000000000000000000000000000000000081525081600390816200009591906200074f565b508060049081620000a791906200074f565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200011f5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200011691906200087b565b60405180910390fd5b62000130816200015260201b60201c565b506200014c336802b5e3af16b18800006200021860201b60201c565b6200096d565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200028d5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200028491906200087b565b60405180910390fd5b620002a160008383620002a560201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620002fb578060026000828254620002ee9190620008c7565b92505081905550620003d1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156200038a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620003819392919062000913565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200041c578060026000828254039250508190555062000469565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004c8919062000950565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200055757607f821691505b6020821081036200056d576200056c6200050f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005d77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000598565b620005e3868362000598565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006306200062a6200062484620005fb565b62000605565b620005fb565b9050919050565b6000819050919050565b6200064c836200060f565b620006646200065b8262000637565b848454620005a5565b825550505050565b600090565b6200067b6200066c565b6200068881848462000641565b505050565b5b81811015620006b057620006a460008262000671565b6001810190506200068e565b5050565b601f821115620006ff57620006c98162000573565b620006d48462000588565b81016020851015620006e4578190505b620006fc620006f38562000588565b8301826200068d565b50505b505050565b600082821c905092915050565b6000620007246000198460080262000704565b1980831691505092915050565b60006200073f838362000711565b9150826002028217905092915050565b6200075a82620004d5565b67ffffffffffffffff811115620007765762000775620004e0565b5b6200078282546200053e565b6200078f828285620006b4565b600060209050601f831160018114620007c75760008415620007b2578287015190505b620007be858262000731565b8655506200082e565b601f198416620007d78662000573565b60005b828110156200080157848901518255600182019150602085019450602081019050620007da565b868310156200082157848901516200081d601f89168262000711565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008638262000836565b9050919050565b620008758162000856565b82525050565b60006020820190506200089260008301846200086a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620008d482620005fb565b9150620008e183620005fb565b9250828201905080821115620008fc57620008fb62000898565b5b92915050565b6200090d81620005fb565b82525050565b60006060820190506200092a60008301866200086a565b62000939602083018562000902565b62000948604083018462000902565b949350505050565b600060208201905062000967600083018462000902565b92915050565b611965806200097d6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b857806395d89b411161007c57806395d89b4114610354578063a5ce413b14610372578063a9059cbb1461037c578063b7d68519146103ac578063dd62ed3e146103c8578063f2fde38b146103f857610142565b806370a08231146102c4578063715018a6146102f45780637547c7a3146102fe57806379cc67901461031a5780638da5cb5b1461033657610142565b80632ff2e9dc1161010a5780632ff2e9dc14610214578063313ce5671461023257806332cb6b0c1461025057806340c10f191461026e57806342966c681461028a5780634f3fc2df146102a657610142565b806306fdde0314610147578063095ea7b31461016557806316934fc41461019557806318160ddd146101c657806323b872dd146101e4575b600080fd5b61014f610414565b60405161015c9190611349565b60405180910390f35b61017f600480360381019061017a9190611404565b6104a6565b60405161018c919061145f565b60405180910390f35b6101af60048036038101906101aa919061147a565b6104c9565b6040516101bd9291906114b6565b60405180910390f35b6101ce6104ed565b6040516101db91906114df565b60405180910390f35b6101fe60048036038101906101f991906114fa565b6104f7565b60405161020b919061145f565b60405180910390f35b61021c610526565b60405161022991906114df565b60405180910390f35b61023a610533565b6040516102479190611569565b60405180910390f35b61025861053c565b60405161026591906114df565b60405180910390f35b61028860048036038101906102839190611404565b610549565b005b6102a4600480360381019061029f9190611584565b6105bd565b005b6102ae6105d1565b6040516102bb91906114df565b60405180910390f35b6102de60048036038101906102d9919061147a565b6105d7565b6040516102eb91906114df565b60405180910390f35b6102fc61061f565b005b61031860048036038101906103139190611584565b610633565b005b610334600480360381019061032f9190611404565b6106f6565b005b61033e610716565b60405161034b91906115c0565b60405180910390f35b61035c610740565b6040516103699190611349565b60405180910390f35b61037a6107d2565b005b61039660048036038101906103919190611404565b610988565b6040516103a3919061145f565b60405180910390f35b6103c660048036038101906103c19190611584565b6109ab565b005b6103e260048036038101906103dd91906115db565b6109bd565b6040516103ef91906114df565b60405180910390f35b610412600480360381019061040d919061147a565b610a44565b005b6060600380546104239061164a565b80601f016020809104026020016040519081016040528092919081815260200182805461044f9061164a565b801561049c5780601f106104715761010080835404028352916020019161049c565b820191906000526020600020905b81548152906001019060200180831161047f57829003601f168201915b5050505050905090565b6000806104b1610aca565b90506104be818585610ad2565b600191505092915050565b60066020528060005260406000206000915090508060000154908060010154905082565b6000600254905090565b600080610502610aca565b905061050f858285610ae4565b61051a858585610b78565b60019150509392505050565b6802b5e3af16b188000081565b60006012905090565b683635c9adc5dea0000081565b610551610c6c565b683635c9adc5dea00000816105646104ed565b61056e91906116aa565b11156105af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a69061172a565b60405180910390fd5b6105b98282610cf3565b5050565b6105ce6105c8610aca565b82610d75565b50565b60075481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610627610c6c565b6106316000610df7565b565b8061063d336105d7565b101561067e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067590611796565b60405180910390fd5b6106883382610d75565b604051806040016040528082815260200142815250600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505050565b61070882610702610aca565b83610ae4565b6107128282610d75565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461074f9061164a565b80601f016020809104026020016040519081016040528092919081815260200182805461077b9061164a565b80156107c85780601f1061079d576101008083540402835291602001916107c8565b820191906000526020600020905b8154815290600101906020018083116107ab57829003601f168201915b5050505050905090565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411610857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084e90611802565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154426108ee9190611822565b9050600063bbf81e0082600754856109069190611856565b6109109190611856565b61091a91906118c7565b9050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055505061098333828561097e91906116aa565b610cf3565b505050565b600080610993610aca565b90506109a0818585610b78565b600191505092915050565b6109b3610c6c565b8060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a4c610c6c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610abe5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610ab591906115c0565b60405180910390fd5b610ac781610df7565b50565b600033905090565b610adf8383836001610ebd565b505050565b6000610af084846109bd565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b725781811015610b62578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610b59939291906118f8565b60405180910390fd5b610b7184848484036000610ebd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bea5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610be191906115c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c5c5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610c5391906115c0565b60405180910390fd5b610c67838383611094565b505050565b610c74610aca565b73ffffffffffffffffffffffffffffffffffffffff16610c92610716565b73ffffffffffffffffffffffffffffffffffffffff1614610cf157610cb5610aca565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ce891906115c0565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d655760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d5c91906115c0565b60405180910390fd5b610d7160008383611094565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610de75760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610dde91906115c0565b60405180910390fd5b610df382600083611094565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f2f5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f2691906115c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fa15760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610f9891906115c0565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561108e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161108591906114df565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110e65780600260008282546110da91906116aa565b925050819055506111b9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611172578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611169939291906118f8565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611202578060026000828254039250508190555061124f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112ac91906114df565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112f35780820151818401526020810190506112d8565b60008484015250505050565b6000601f19601f8301169050919050565b600061131b826112b9565b61132581856112c4565b93506113358185602086016112d5565b61133e816112ff565b840191505092915050565b600060208201905081810360008301526113638184611310565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061139b82611370565b9050919050565b6113ab81611390565b81146113b657600080fd5b50565b6000813590506113c8816113a2565b92915050565b6000819050919050565b6113e1816113ce565b81146113ec57600080fd5b50565b6000813590506113fe816113d8565b92915050565b6000806040838503121561141b5761141a61136b565b5b6000611429858286016113b9565b925050602061143a858286016113ef565b9150509250929050565b60008115159050919050565b61145981611444565b82525050565b60006020820190506114746000830184611450565b92915050565b6000602082840312156114905761148f61136b565b5b600061149e848285016113b9565b91505092915050565b6114b0816113ce565b82525050565b60006040820190506114cb60008301856114a7565b6114d860208301846114a7565b9392505050565b60006020820190506114f460008301846114a7565b92915050565b6000806000606084860312156115135761151261136b565b5b6000611521868287016113b9565b9350506020611532868287016113b9565b9250506040611543868287016113ef565b9150509250925092565b600060ff82169050919050565b6115638161154d565b82525050565b600060208201905061157e600083018461155a565b92915050565b60006020828403121561159a5761159961136b565b5b60006115a8848285016113ef565b91505092915050565b6115ba81611390565b82525050565b60006020820190506115d560008301846115b1565b92915050565b600080604083850312156115f2576115f161136b565b5b6000611600858286016113b9565b9250506020611611858286016113b9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061166257607f821691505b6020821081036116755761167461161b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006116b5826113ce565b91506116c0836113ce565b92508282019050808211156116d8576116d761167b565b5b92915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000611714601f836112c4565b915061171f826116de565b602082019050919050565b6000602082019050818103600083015261174381611707565b9050919050565b7f496e73756666696369656e742062616c616e636520746f207374616b65000000600082015250565b6000611780601d836112c4565b915061178b8261174a565b602082019050919050565b600060208201905081810360008301526117af81611773565b9050919050565b7f4e6f20746f6b656e73207374616b656400000000000000000000000000000000600082015250565b60006117ec6010836112c4565b91506117f7826117b6565b602082019050919050565b6000602082019050818103600083015261181b816117df565b9050919050565b600061182d826113ce565b9150611838836113ce565b92508282039050818111156118505761184f61167b565b5b92915050565b6000611861826113ce565b915061186c836113ce565b925082820261187a816113ce565b915082820484148315176118915761189061167b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006118d2826113ce565b91506118dd836113ce565b9250826118ed576118ec611898565b5b828204905092915050565b600060608201905061190d60008301866115b1565b61191a60208301856114a7565b61192760408301846114a7565b94935050505056fea2646970667358221220dc7f60015d0c422d6da693c5bd39c2ec7c40f0f4a9b3ef126de507a870d7098a64736f6c63430008180033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c806370a08231116100b857806395d89b411161007c57806395d89b4114610354578063a5ce413b14610372578063a9059cbb1461037c578063b7d68519146103ac578063dd62ed3e146103c8578063f2fde38b146103f857610142565b806370a08231146102c4578063715018a6146102f45780637547c7a3146102fe57806379cc67901461031a5780638da5cb5b1461033657610142565b80632ff2e9dc1161010a5780632ff2e9dc14610214578063313ce5671461023257806332cb6b0c1461025057806340c10f191461026e57806342966c681461028a5780634f3fc2df146102a657610142565b806306fdde0314610147578063095ea7b31461016557806316934fc41461019557806318160ddd146101c657806323b872dd146101e4575b600080fd5b61014f610414565b60405161015c9190611349565b60405180910390f35b61017f600480360381019061017a9190611404565b6104a6565b60405161018c919061145f565b60405180910390f35b6101af60048036038101906101aa919061147a565b6104c9565b6040516101bd9291906114b6565b60405180910390f35b6101ce6104ed565b6040516101db91906114df565b60405180910390f35b6101fe60048036038101906101f991906114fa565b6104f7565b60405161020b919061145f565b60405180910390f35b61021c610526565b60405161022991906114df565b60405180910390f35b61023a610533565b6040516102479190611569565b60405180910390f35b61025861053c565b60405161026591906114df565b60405180910390f35b61028860048036038101906102839190611404565b610549565b005b6102a4600480360381019061029f9190611584565b6105bd565b005b6102ae6105d1565b6040516102bb91906114df565b60405180910390f35b6102de60048036038101906102d9919061147a565b6105d7565b6040516102eb91906114df565b60405180910390f35b6102fc61061f565b005b61031860048036038101906103139190611584565b610633565b005b610334600480360381019061032f9190611404565b6106f6565b005b61033e610716565b60405161034b91906115c0565b60405180910390f35b61035c610740565b6040516103699190611349565b60405180910390f35b61037a6107d2565b005b61039660048036038101906103919190611404565b610988565b6040516103a3919061145f565b60405180910390f35b6103c660048036038101906103c19190611584565b6109ab565b005b6103e260048036038101906103dd91906115db565b6109bd565b6040516103ef91906114df565b60405180910390f35b610412600480360381019061040d919061147a565b610a44565b005b6060600380546104239061164a565b80601f016020809104026020016040519081016040528092919081815260200182805461044f9061164a565b801561049c5780601f106104715761010080835404028352916020019161049c565b820191906000526020600020905b81548152906001019060200180831161047f57829003601f168201915b5050505050905090565b6000806104b1610aca565b90506104be818585610ad2565b600191505092915050565b60066020528060005260406000206000915090508060000154908060010154905082565b6000600254905090565b600080610502610aca565b905061050f858285610ae4565b61051a858585610b78565b60019150509392505050565b6802b5e3af16b188000081565b60006012905090565b683635c9adc5dea0000081565b610551610c6c565b683635c9adc5dea00000816105646104ed565b61056e91906116aa565b11156105af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a69061172a565b60405180910390fd5b6105b98282610cf3565b5050565b6105ce6105c8610aca565b82610d75565b50565b60075481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610627610c6c565b6106316000610df7565b565b8061063d336105d7565b101561067e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067590611796565b60405180910390fd5b6106883382610d75565b604051806040016040528082815260200142815250600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505050565b61070882610702610aca565b83610ae4565b6107128282610d75565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461074f9061164a565b80601f016020809104026020016040519081016040528092919081815260200182805461077b9061164a565b80156107c85780601f1061079d576101008083540402835291602001916107c8565b820191906000526020600020905b8154815290600101906020018083116107ab57829003601f168201915b5050505050905090565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411610857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084e90611802565b60405180910390fd5b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154426108ee9190611822565b9050600063bbf81e0082600754856109069190611856565b6109109190611856565b61091a91906118c7565b9050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055505061098333828561097e91906116aa565b610cf3565b505050565b600080610993610aca565b90506109a0818585610b78565b600191505092915050565b6109b3610c6c565b8060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a4c610c6c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610abe5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610ab591906115c0565b60405180910390fd5b610ac781610df7565b50565b600033905090565b610adf8383836001610ebd565b505050565b6000610af084846109bd565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610b725781811015610b62578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610b59939291906118f8565b60405180910390fd5b610b7184848484036000610ebd565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bea5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610be191906115c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c5c5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610c5391906115c0565b60405180910390fd5b610c67838383611094565b505050565b610c74610aca565b73ffffffffffffffffffffffffffffffffffffffff16610c92610716565b73ffffffffffffffffffffffffffffffffffffffff1614610cf157610cb5610aca565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610ce891906115c0565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d655760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610d5c91906115c0565b60405180910390fd5b610d7160008383611094565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610de75760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610dde91906115c0565b60405180910390fd5b610df382600083611094565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610f2f5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610f2691906115c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610fa15760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610f9891906115c0565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550801561108e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161108591906114df565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110e65780600260008282546110da91906116aa565b925050819055506111b9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611172578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611169939291906118f8565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611202578060026000828254039250508190555061124f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516112ac91906114df565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156112f35780820151818401526020810190506112d8565b60008484015250505050565b6000601f19601f8301169050919050565b600061131b826112b9565b61132581856112c4565b93506113358185602086016112d5565b61133e816112ff565b840191505092915050565b600060208201905081810360008301526113638184611310565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061139b82611370565b9050919050565b6113ab81611390565b81146113b657600080fd5b50565b6000813590506113c8816113a2565b92915050565b6000819050919050565b6113e1816113ce565b81146113ec57600080fd5b50565b6000813590506113fe816113d8565b92915050565b6000806040838503121561141b5761141a61136b565b5b6000611429858286016113b9565b925050602061143a858286016113ef565b9150509250929050565b60008115159050919050565b61145981611444565b82525050565b60006020820190506114746000830184611450565b92915050565b6000602082840312156114905761148f61136b565b5b600061149e848285016113b9565b91505092915050565b6114b0816113ce565b82525050565b60006040820190506114cb60008301856114a7565b6114d860208301846114a7565b9392505050565b60006020820190506114f460008301846114a7565b92915050565b6000806000606084860312156115135761151261136b565b5b6000611521868287016113b9565b9350506020611532868287016113b9565b9250506040611543868287016113ef565b9150509250925092565b600060ff82169050919050565b6115638161154d565b82525050565b600060208201905061157e600083018461155a565b92915050565b60006020828403121561159a5761159961136b565b5b60006115a8848285016113ef565b91505092915050565b6115ba81611390565b82525050565b60006020820190506115d560008301846115b1565b92915050565b600080604083850312156115f2576115f161136b565b5b6000611600858286016113b9565b9250506020611611858286016113b9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061166257607f821691505b6020821081036116755761167461161b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006116b5826113ce565b91506116c0836113ce565b92508282019050808211156116d8576116d761167b565b5b92915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000611714601f836112c4565b915061171f826116de565b602082019050919050565b6000602082019050818103600083015261174381611707565b9050919050565b7f496e73756666696369656e742062616c616e636520746f207374616b65000000600082015250565b6000611780601d836112c4565b915061178b8261174a565b602082019050919050565b600060208201905081810360008301526117af81611773565b9050919050565b7f4e6f20746f6b656e73207374616b656400000000000000000000000000000000600082015250565b60006117ec6010836112c4565b91506117f7826117b6565b602082019050919050565b6000602082019050818103600083015261181b816117df565b9050919050565b600061182d826113ce565b9150611838836113ce565b92508282039050818111156118505761184f61167b565b5b92915050565b6000611861826113ce565b915061186c836113ce565b925082820261187a816113ce565b915082820484148315176118915761189061167b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006118d2826113ce565b91506118dd836113ce565b9250826118ed576118ec611898565b5b828204905092915050565b600060608201905061190d60008301866115b1565b61191a60208301856114a7565b61192760408301846114a7565b94935050505056fea2646970667358221220dc7f60015d0c422d6da693c5bd39c2ec7c40f0f4a9b3ef126de507a870d7098a64736f6c63430008180033

[ 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.