ETH Price: $3,335.57 (-3.81%)

Token

SnoozeToken ($SNOOZE)
 

Overview

Max Total Supply

22,667,462 $SNOOZE

Holders

665

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
13,485 $SNOOZE

Value
$0.00
0xf2228abc8077708d91787530bfa5d0b6e064e134
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:
SnoozeToken

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 9 : SnoozeToken.sol
//SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.16;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/*
   ,-,--.  .-._          _,.---._       _,.---._                  ,----.  
 ,-.'-  _\/==/ \  .-._ ,-.' , -  `.   ,-.' , -  `.   ,--,----. ,-.--` , \ 
/==/_ ,_.'|==|, \/ /, /==/_,  ,  - \ /==/_,  ,  - \ /==/` - ./|==|-  _.-` 
\==\  \   |==|-  \|  |==|   .=.     |==|   .=.     |`--`=/. / |==|   `.-. 
 \==\ -\  |==| ,  | -|==|_ : ;=:  - |==|_ : ;=:  - | /==/- / /==/_ ,    / 
 _\==\ ,\ |==| -   _ |==| , '='     |==| , '='     |/==/- /-.|==|    .-'  
/==/\/ _ ||==|  /\ , |\==\ -    ,_ / \==\ -    ,_ //==/, `--`\==|_  ,`-._ 
\==\ - , //==/, | |- | '.='. -   .'   '.='. -   .' \==\-  -, /==/ ,     / 
 `--`---' `--`./  `--`   `--`--''       `--`--''    `--`.-.--`--`-----``  
*/

contract SnoozeToken is ERC20, Ownable, Pausable, ReentrancyGuard {
    address public alwaysTired = address(0);

    uint256 public booster = 1;
    uint256 public mintReward = 1000;
    uint256 public interval = 864;
    uint256 public intervalReward = 1;
    uint256 public listPrice = 0;
    uint256 public whitelistReward = 0;

    address[] public list;

    bytes32 public whitelistRoot;

    mapping(address => uint256) public discord;
    mapping(address => uint256) public transfer;
    mapping(address => uint256) public count;
    mapping(address => uint256) public stash;
    mapping(address => bool) public whitelist;

    modifier onlyAlwaysTired() {
        require(
            msg.sender != address(0) && msg.sender == alwaysTired,
            "Must be AlwaysTired"
        );
        _;
    }

    constructor(address _alwaysTired) ERC20("SnoozeToken", "$SNOOZE") {
        alwaysTired = _alwaysTired;
        _pause();
    }

    function decimals() public view virtual override returns (uint8) {
        return 0;
    }

    function pause() external onlyOwner whenNotPaused {
        _pause();
    }

    function unpause() external onlyOwner whenPaused {
        _unpause();
    }

    function setAlwaysTired(address _alwaysTired) external onlyOwner {
        require(_alwaysTired != address(0), "Invalid address");
        alwaysTired = _alwaysTired;
    }

    function setMintReward(uint256 _mintReward) external onlyOwner {
        mintReward = _mintReward;
    }

    function setInterval(uint256 _interval) external onlyOwner {
        interval = _interval;
    }

    function setIntervalReward(uint256 _intervalReward) external onlyOwner {
        intervalReward = _intervalReward;
    }

    function setBooster(uint256 _booster) external onlyOwner {
        booster = _booster;
    }

    function setDiscord(
        address[] calldata _addresses,
        uint256[] calldata _amounts
    ) external onlyOwner {
        require(_addresses.length == _amounts.length, "Invalid length");
        unchecked {
            for (uint256 i = 0; i < _addresses.length; i++) {
                discord[_addresses[i]] = _amounts[i];
            }
        }
    }

    function setTransfer(
        address[] calldata _addresses,
        uint256[] calldata _timestamps
    ) external onlyOwner {
        require(_addresses.length == _timestamps.length, "Invalid length");
        unchecked {
            for (uint256 i = 0; i < _addresses.length; i++) {
                transfer[_addresses[i]] = _timestamps[i];
            }
        }
    }

    function setCount(address[] calldata _addresses, uint256[] calldata _counts)
        external
        onlyOwner
    {
        require(_addresses.length == _counts.length, "Invalid length");
        unchecked {
            for (uint256 i = 0; i < _addresses.length; i++) {
                count[_addresses[i]] = _counts[i];
            }
        }
    }

    function setStash(
        address[] calldata _addresses,
        uint256[] calldata _amounts
    ) external onlyOwner {
        require(_addresses.length == _amounts.length, "Invalid length");
        unchecked {
            for (uint256 i = 0; i < _addresses.length; i++) {
                stash[_addresses[i]] = _amounts[i];
            }
        }
    }

    function setListPrice(uint256 _listPrice) external onlyOwner {
        listPrice = _listPrice;
    }

    function getListLength() public view returns (uint256) {
        return list.length;
    }

    function clearList() external onlyOwner {
        delete list;
    }

    function setWhitelistRoot(bytes32 _whitelistRoot) external onlyOwner {
        whitelistRoot = _whitelistRoot;
    }

    function setWhitelistReward(uint256 _whitelistReward) external onlyOwner {
        whitelistReward = _whitelistReward;
    }

    function setWhitelist(address[] calldata _addresses, bool _claimed)
        external
        onlyOwner
    {
        unchecked {
            for (uint256 i = 0; i < _addresses.length; i++) {
                whitelist[_addresses[i]] = _claimed;
            }
        }
    }

    function updateRewards(
        address _from,
        address _to,
        uint256 _quantity
    ) external onlyAlwaysTired {
        unchecked {
            uint256 timestamp = block.timestamp;
            bool isMint = _from == address(0);
            // transfer from
            if (_from != address(0)) {
                uint256 countFrom = count[_from];
                _updateStash(_from, countFrom, timestamp, isMint, _quantity);
                count[_from] = countFrom - _quantity;
                transfer[_from] = timestamp;
            }
            // mint to / transfer to
            uint256 countTo = count[_to];
            _updateStash(_to, countTo, timestamp, isMint, _quantity);
            count[_to] = countTo + _quantity;
            transfer[_to] = timestamp;
        }
    }

    function _updateStash(
        address _address,
        uint256 _count,
        uint256 _timestamp,
        bool _isMint,
        uint256 _quantity
    ) internal {
        unchecked {
            uint256 stash_ = 0;
            if (_isMint) {
                stash_ += mintReward * _quantity;
            }
            uint256 transfer_ = transfer[_address];
            if (_count > 0 && transfer_ > 0) {
                uint256 factor = (_timestamp - transfer_) / interval;
                stash_ += _count * intervalReward * booster * factor;
            }
            stash[_address] += stash_;
        }
    }

    function airdrop(address[] calldata _addresses, uint256 _amount)
        external
        onlyOwner
        nonReentrant
    {
        require(_amount > 0, "Invalid amount");
        for (uint16 i = 0; i < _addresses.length; ) {
            require(_addresses[i] != address(0), "Invalid address");
            _mint(_addresses[i], _amount);
            unchecked {
                i++;
            }
        }
    }

    function available() external view whenNotPaused returns (uint256) {
        uint256 count_ = count[msg.sender];
        require(count_ > 0, "Must be Holder");
        uint256 timestamp = block.timestamp;
        uint256 transfer_ = transfer[msg.sender];
        uint256 amount = 0;
        unchecked {
            uint256 factor = (timestamp - transfer_) / interval;
            amount =
                count_ *
                intervalReward *
                booster *
                factor +
                stash[msg.sender];
        }
        return amount;
    }

    function claim() external whenNotPaused nonReentrant {
        uint256 count_ = count[msg.sender];
        require(count_ > 0, "Must be Holder");
        uint256 timestamp = block.timestamp;
        uint256 transfer_ = transfer[msg.sender];
        uint256 amount = 0;
        unchecked {
            uint256 factor = (timestamp - transfer_) / interval;
            amount =
                count_ *
                intervalReward *
                booster *
                factor +
                stash[msg.sender];
        }
        require(amount > 0, "No Snooze to claim");
        _mint(msg.sender, amount);
        transfer[msg.sender] = timestamp;
        delete stash[msg.sender];
    }

    function exchange() external whenNotPaused nonReentrant {
        uint256 count_ = count[msg.sender];
        require(count_ > 0, "Must be Holder");
        uint256 amount = discord[msg.sender];
        require(amount > 0, "No Snooze to exchange");
        _mint(msg.sender, amount);
        delete discord[msg.sender];
    }

    function spend(uint256 _amount) external whenNotPaused nonReentrant {
        uint256 count_ = count[msg.sender];
        require(count_ > 0, "Must be Holder");
        _burn(msg.sender, _amount);
    }

    function joinList(uint256 _amount) external whenNotPaused nonReentrant {
        uint256 count_ = count[msg.sender];
        require(count_ > 0, "Must be Holder");
        require(_amount >= listPrice, "Insufficient amount to join list");
        _burn(msg.sender, _amount);
        list.push(msg.sender);
    }

    function claimWhitelist(bytes32[] calldata _whitelistProof)
        external
        whenNotPaused
        nonReentrant
    {
        uint256 count_ = count[msg.sender];
        require(count_ > 0, "Must be Holder");
        require(
            MerkleProof.verify(
                _whitelistProof,
                whitelistRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Not on whitelist"
        );
        require(!whitelist[msg.sender], "No Snooze to claim");
        _mint(msg.sender, whitelistReward);
        whitelist[msg.sender] = true;
    }
}

File 2 of 9 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 4 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 value {ERC20} uses, unless this function is
     * 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 override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override 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 `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` 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.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 6 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` 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 amount
    ) external returns (bool);
}

File 9 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_alwaysTired","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[],"name":"alwaysTired","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"booster","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_whitelistProof","type":"bytes32[]"}],"name":"claimWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"discord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getListLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"intervalReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"joinList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"list","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_alwaysTired","type":"address"}],"name":"setAlwaysTired","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_booster","type":"uint256"}],"name":"setBooster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_counts","type":"uint256[]"}],"name":"setCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setDiscord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_interval","type":"uint256"}],"name":"setInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_intervalReward","type":"uint256"}],"name":"setIntervalReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listPrice","type":"uint256"}],"name":"setListPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintReward","type":"uint256"}],"name":"setMintReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setStash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_timestamps","type":"uint256[]"}],"name":"setTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"bool","name":"_claimed","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistReward","type":"uint256"}],"name":"setWhitelistReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"spend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stash","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":"","type":"address"}],"name":"transfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"updateRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

6080604052600780546001600160a01b0319169055600160088190556103e8600955610360600a55600b556000600c819055600d553480156200004157600080fd5b5060405162002a1938038062002a19833981016040819052620000649162000237565b6040518060400160405280600b81526020016a29b737b7bd32aa37b5b2b760a91b8152506040518060400160405280600781526020016624534e4f4f5a4560c81b8152508160039081620000b991906200030e565b506004620000c882826200030e565b505050620000e5620000df6200012360201b60201c565b62000127565b6005805460ff60a01b191690556001600655600780546001600160a01b0319166001600160a01b0383161790556200011c62000179565b50620003da565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000183620001dc565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001bf3390565b6040516001600160a01b03909116815260200160405180910390a1565b620001f0600554600160a01b900460ff1690565b15620002355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b565b6000602082840312156200024a57600080fd5b81516001600160a01b03811681146200026257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029457607f821691505b602082108103620002b557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030957600081815260208120601f850160051c81016020861015620002e45750805b601f850160051c820191505b818110156200030557828155600101620002f0565b5050505b505050565b81516001600160401b038111156200032a576200032a62000269565b62000342816200033b84546200027f565b84620002bb565b602080601f8311600181146200037a5760008415620003615750858301515b600019600386901b1c1916600185901b17855562000305565b600085815260208120601f198616915b82811015620003ab578886015182559484019460019091019084016200038a565b5085821015620003ca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61262f80620003ea6000396000f3fe608060405234801561001057600080fd5b50600436106103625760003560e01c8063715018a6116101c8578063b65c531b11610104578063dd62ed3e116100a2578063f2fde38b1161007c578063f2fde38b14610721578063f5aa406d14610734578063fd43683114610747578063fe7d5bbb1461075a57600080fd5b8063dd62ed3e146106c2578063f1af66d9146106fb578063f2e560991461070e57600080fd5b8063c6def076116100de578063c6def07614610696578063d2afabf71461069f578063d2f7265a146106b2578063d4ddc588146106ba57600080fd5b8063b65c531b14610668578063be45303314610670578063c204642c1461068357600080fd5b8063947a36fb11610171578063a42d6bae1161014b578063a42d6bae1461060f578063a457c2d71461062f578063a9059cbb14610642578063aa85d8601461065557600080fd5b8063947a36fb146105db57806395d89b41146105e45780639b19251a146105ec57600080fd5b806380e801ba116101a257806380e801ba146105af5780638456cb59146105c25780638da5cb5b146105ca57600080fd5b8063715018a61461056957806375d9be201461057157806380c9419e1461058457600080fd5b8063313ce567116102a257806358019e631161024057806366db59251161021a57806366db59251461051b5780636d9e91391461052e5780636eb588d91461053757806370a082311461054057600080fd5b806358019e63146104ed5780635c975abb146104f657806361ee09aa1461050857600080fd5b80633c271a051161027c5780633c271a05146104c25780633f4ba83a146104d557806348a0d754146104dd5780634e71d92d146104e557600080fd5b8063313ce56714610497578063386bfc98146104a657806339509351146104af57600080fd5b806318160ddd1161030f5780631dbf3bc7116102e95780631dbf3bc71461044b57806321a7789c1461045e57806322a900821461047157806323b872dd1461048457600080fd5b806318160ddd146104035780631a6952301461040b5780631d0504a81461042b57600080fd5b80630f0b4199116103405780630f0b4199146103d2578063138195c3146103e7578063174f57af146103fa57600080fd5b806305d85eda1461036757806306fdde031461039a578063095ea7b3146103af575b600080fd5b610387610375366004612281565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b6103a261076d565b604051610391919061229c565b6103c26103bd3660046122ea565b6107ff565b6040519015158152602001610391565b6103e56103e0366004612314565b610819565b005b6103e56103f5366004612379565b61097e565b61038760095481565b600254610387565b610387610419366004612281565b60116020526000908152604090205481565b610387610439366004612281565b60136020526000908152604090205481565b6103e5610459366004612314565b610a3e565b6103e561046c366004612379565b610afe565b6103e561047f366004612314565b610bb7565b6103c26104923660046123e5565b610bc4565b60405160008152602001610391565b610387600f5481565b6103c26104bd3660046122ea565b610be8565b6103e56104d0366004612421565b610c27565b6103e5610c9c565b610387610cb6565b6103e5610d63565b610387600d5481565b600554600160a01b900460ff166103c2565b6103e561051636600461247d565b610edc565b6103e5610529366004612314565b6110db565b610387600b5481565b610387600c5481565b61038761054e366004612281565b6001600160a01b031660009081526020819052604090205490565b6103e56110e8565b6103e561057f366004612379565b6110fa565b610597610592366004612314565b6111b3565b6040516001600160a01b039091168152602001610391565b6103e56105bd366004612314565b6111dd565b6103e56111ea565b6005546001600160a01b0316610597565b610387600a5481565b6103a2611202565b6103c26105fa366004612281565b60146020526000908152604090205460ff1681565b61038761061d366004612281565b60106020526000908152604090205481565b6103c261063d3660046122ea565b611211565b6103c26106503660046122ea565b6112bb565b600754610597906001600160a01b031681565b600e54610387565b6103e561067e366004612281565b6112c9565b6103e56106913660046124bf565b611356565b61038760085481565b6103e56106ad366004612314565b6114db565b6103e56114e8565b6103e5611615565b6103876106d036600461250b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103e5610709366004612379565b611629565b6103e561071c366004612314565b6116e2565b6103e561072f366004612281565b6116ef565b6103e5610742366004612314565b61177f565b6103e56107553660046123e5565b61178c565b6103e5610768366004612314565b6118a8565b60606003805461077c9061253e565b80601f01602080910402602001604051908101604052809291908181526020018280546107a89061253e565b80156107f55780601f106107ca576101008083540402835291602001916107f5565b820191906000526020600020905b8154815290600101906020018083116107d857829003601f168201915b5050505050905090565b60003361080d8185856118b5565b60019150505b92915050565b610821611a0e565b6002600654036108785760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260065533600090815260126020526040902054806108cb5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b600c5482101561091d5760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e7420616d6f756e7420746f206a6f696e206c697374604482015260640161086f565b6109273383611a68565b5050600e8054600181810183556000929092527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01805473ffffffffffffffffffffffffffffffffffffffff191633179055600655565b610986611be5565b8281146109c65760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a37578282828181106109e3576109e3612578565b9050602002013560106000878785818110610a0057610a00612578565b9050602002016020810190610a159190612281565b6001600160a01b031681526020810191909152604001600020556001016109c9565b5050505050565b610a46611a0e565b600260065403610a985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b60026006553360009081526012602052604090205480610aeb5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b610af53383611a68565b50506001600655565b610b06611be5565b828114610b465760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a3757828282818110610b6357610b63612578565b9050602002013560126000878785818110610b8057610b80612578565b9050602002016020810190610b959190612281565b6001600160a01b03168152602081019190915260400160002055600101610b49565b610bbf611be5565b600a55565b600033610bd2858285611c3f565b610bdd858585611ccb565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061080d9082908690610c229087906125a4565b6118b5565b610c2f611be5565b60005b82811015610c96578160146000868685818110610c5157610c51612578565b9050602002016020810190610c669190612281565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610c32565b50505050565b610ca4611be5565b610cac611ee2565b610cb4611f3b565b565b6000610cc0611a0e565b3360009081526012602052604090205480610d0e5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b33600090815260116020526040812054600a54429290819083850381610d3657610d366125b7565b33600090815260136020526040902054600854600b54989098029097029190040290940194505050505090565b610d6b611a0e565b600260065403610dbd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b60026006553360009081526012602052604090205480610e105760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b33600090815260116020526040812054600a54429290819083850381610e3857610e386125b7565b33600090815260136020526040902054600854600b5489020292909104919091020191505080610eaa5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d0000000000000000000000000000604482015260640161086f565b610eb43382611f90565b5050336000908152601160209081526040808320939093556013905290812055506001600655565b610ee4611a0e565b600260065403610f365760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b60026006553360009081526012602052604090205480610f895760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b610ffe83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061206f565b61104a5760405162461bcd60e51b815260206004820152601060248201527f4e6f74206f6e2077686974656c69737400000000000000000000000000000000604482015260640161086f565b3360009081526014602052604090205460ff16156110aa5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d0000000000000000000000000000604482015260640161086f565b6110b633600d54611f90565b5050336000908152601460205260409020805460ff1916600190811790915560065550565b6110e3611be5565b600d55565b6110f0611be5565b610cb46000612085565b611102611be5565b8281146111425760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a375782828281811061115f5761115f612578565b905060200201356013600087878581811061117c5761117c612578565b90506020020160208101906111919190612281565b6001600160a01b03168152602081019190915260400160002055600101611145565b600e81815481106111c357600080fd5b6000918252602090912001546001600160a01b0316905081565b6111e5611be5565b600955565b6111f2611be5565b6111fa611a0e565b610cb46120e4565b60606004805461077c9061253e565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156112ae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161086f565b610bdd82868684036118b5565b60003361080d818585611ccb565b6112d1611be5565b6001600160a01b0381166113275760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015260640161086f565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b61135e611be5565b6002600654036113b05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b6002600655806114025760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161086f565b60005b61ffff81168311156114d0576000848461ffff841681811061142957611429612578565b905060200201602081019061143e9190612281565b6001600160a01b0316036114945760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015260640161086f565b6114c884848361ffff168181106114ad576114ad612578565b90506020020160208101906114c29190612281565b83611f90565b600101611405565b505060016006555050565b6114e3611be5565b600b55565b6114f0611a0e565b6002600654036115425760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b600260065533600090815260126020526040902054806115955760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b33600090815260106020526040902054806115f25760405162461bcd60e51b815260206004820152601560248201527f4e6f20536e6f6f7a6520746f2065786368616e67650000000000000000000000604482015260640161086f565b6115fc3382611f90565b5050336000908152601060205260408120556001600655565b61161d611be5565b610cb4600e6000612233565b611631611be5565b8281146116715760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a375782828281811061168e5761168e612578565b90506020020135601160008787858181106116ab576116ab612578565b90506020020160208101906116c09190612281565b6001600160a01b03168152602081019190915260400160002055600101611674565b6116ea611be5565b600855565b6116f7611be5565b6001600160a01b0381166117735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161086f565b61177c81612085565b50565b611787611be5565b600f55565b33158015906117a557506007546001600160a01b031633145b6117f15760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520416c77617973546972656400000000000000000000000000604482015260640161086f565b426001600160a01b0384161580611853576001600160a01b0385166000908152601260205260409020546118288682858588612127565b6001600160a01b03861660009081526012602090815260408083209387900390935560119052208290555b6001600160a01b0384166000908152601260205260409020546118798582858588612127565b6001600160a01b0390941660009081526012602090815260408083209690950190955560119094525091205550565b6118b0611be5565b600c55565b6001600160a01b0383166119305760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b0382166119ac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600554600160a01b900460ff1615610cb45760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161086f565b6001600160a01b038216611ae45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b03821660009081526020819052604090205481811015611b735760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611ba29084906125cd565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611a01565b6005546001600160a01b03163314610cb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c965781811015611cbe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161086f565b610c9684848484036118b5565b6001600160a01b038316611d475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b038216611dc35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b03831660009081526020819052604090205481811015611e525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e899084906125a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ed591815260200190565b60405180910390a3610c96565b600554600160a01b900460ff16610cb45760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161086f565b611f43611ee2565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611fe65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161086f565b8060026000828254611ff891906125a4565b90915550506001600160a01b038216600090815260208190526040812080548392906120259084906125a4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008261207c85846121b4565b14949350505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120ec611a0e565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f733390565b60008215612136576009548202015b6001600160a01b038616600090815260116020526040902054851580159061215e5750600081115b1561218c576000600a5482870381612178576121786125b7565b04905080600854600b548902020283019250505b506001600160a01b039095166000908152601360205260409020805490950190945550505050565b600081815b84518110156121f9576121e5828683815181106121d8576121d8612578565b6020026020010151612201565b9150806121f1816125e0565b9150506121b9565b509392505050565b600081831061221d57600082815260208490526040902061222c565b60008381526020839052604090205b9392505050565b508054600082559060005260206000209081019061177c91905b80821115612261576000815560010161224d565b5090565b80356001600160a01b038116811461227c57600080fd5b919050565b60006020828403121561229357600080fd5b61222c82612265565b600060208083528351808285015260005b818110156122c9578581018301518582016040015282016122ad565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156122fd57600080fd5b61230683612265565b946020939093013593505050565b60006020828403121561232657600080fd5b5035919050565b60008083601f84011261233f57600080fd5b50813567ffffffffffffffff81111561235757600080fd5b6020830191508360208260051b850101111561237257600080fd5b9250929050565b6000806000806040858703121561238f57600080fd5b843567ffffffffffffffff808211156123a757600080fd5b6123b38883890161232d565b909650945060208701359150808211156123cc57600080fd5b506123d98782880161232d565b95989497509550505050565b6000806000606084860312156123fa57600080fd5b61240384612265565b925061241160208501612265565b9150604084013590509250925092565b60008060006040848603121561243657600080fd5b833567ffffffffffffffff81111561244d57600080fd5b6124598682870161232d565b9094509250506020840135801515811461247257600080fd5b809150509250925092565b6000806020838503121561249057600080fd5b823567ffffffffffffffff8111156124a757600080fd5b6124b38582860161232d565b90969095509350505050565b6000806000604084860312156124d457600080fd5b833567ffffffffffffffff8111156124eb57600080fd5b6124f78682870161232d565b909790965060209590950135949350505050565b6000806040838503121561251e57600080fd5b61252783612265565b915061253560208401612265565b90509250929050565b600181811c9082168061255257607f821691505b60208210810361257257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156108135761081361258e565b634e487b7160e01b600052601260045260246000fd5b818103818111156108135761081361258e565b6000600182016125f2576125f261258e565b506001019056fea2646970667358221220cf11040d33a2aa02f92b6a7ce05fd2ebba16a8ee4ef191d4e9c8fb3f74477fbc64736f6c634300081000330000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103625760003560e01c8063715018a6116101c8578063b65c531b11610104578063dd62ed3e116100a2578063f2fde38b1161007c578063f2fde38b14610721578063f5aa406d14610734578063fd43683114610747578063fe7d5bbb1461075a57600080fd5b8063dd62ed3e146106c2578063f1af66d9146106fb578063f2e560991461070e57600080fd5b8063c6def076116100de578063c6def07614610696578063d2afabf71461069f578063d2f7265a146106b2578063d4ddc588146106ba57600080fd5b8063b65c531b14610668578063be45303314610670578063c204642c1461068357600080fd5b8063947a36fb11610171578063a42d6bae1161014b578063a42d6bae1461060f578063a457c2d71461062f578063a9059cbb14610642578063aa85d8601461065557600080fd5b8063947a36fb146105db57806395d89b41146105e45780639b19251a146105ec57600080fd5b806380e801ba116101a257806380e801ba146105af5780638456cb59146105c25780638da5cb5b146105ca57600080fd5b8063715018a61461056957806375d9be201461057157806380c9419e1461058457600080fd5b8063313ce567116102a257806358019e631161024057806366db59251161021a57806366db59251461051b5780636d9e91391461052e5780636eb588d91461053757806370a082311461054057600080fd5b806358019e63146104ed5780635c975abb146104f657806361ee09aa1461050857600080fd5b80633c271a051161027c5780633c271a05146104c25780633f4ba83a146104d557806348a0d754146104dd5780634e71d92d146104e557600080fd5b8063313ce56714610497578063386bfc98146104a657806339509351146104af57600080fd5b806318160ddd1161030f5780631dbf3bc7116102e95780631dbf3bc71461044b57806321a7789c1461045e57806322a900821461047157806323b872dd1461048457600080fd5b806318160ddd146104035780631a6952301461040b5780631d0504a81461042b57600080fd5b80630f0b4199116103405780630f0b4199146103d2578063138195c3146103e7578063174f57af146103fa57600080fd5b806305d85eda1461036757806306fdde031461039a578063095ea7b3146103af575b600080fd5b610387610375366004612281565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b6103a261076d565b604051610391919061229c565b6103c26103bd3660046122ea565b6107ff565b6040519015158152602001610391565b6103e56103e0366004612314565b610819565b005b6103e56103f5366004612379565b61097e565b61038760095481565b600254610387565b610387610419366004612281565b60116020526000908152604090205481565b610387610439366004612281565b60136020526000908152604090205481565b6103e5610459366004612314565b610a3e565b6103e561046c366004612379565b610afe565b6103e561047f366004612314565b610bb7565b6103c26104923660046123e5565b610bc4565b60405160008152602001610391565b610387600f5481565b6103c26104bd3660046122ea565b610be8565b6103e56104d0366004612421565b610c27565b6103e5610c9c565b610387610cb6565b6103e5610d63565b610387600d5481565b600554600160a01b900460ff166103c2565b6103e561051636600461247d565b610edc565b6103e5610529366004612314565b6110db565b610387600b5481565b610387600c5481565b61038761054e366004612281565b6001600160a01b031660009081526020819052604090205490565b6103e56110e8565b6103e561057f366004612379565b6110fa565b610597610592366004612314565b6111b3565b6040516001600160a01b039091168152602001610391565b6103e56105bd366004612314565b6111dd565b6103e56111ea565b6005546001600160a01b0316610597565b610387600a5481565b6103a2611202565b6103c26105fa366004612281565b60146020526000908152604090205460ff1681565b61038761061d366004612281565b60106020526000908152604090205481565b6103c261063d3660046122ea565b611211565b6103c26106503660046122ea565b6112bb565b600754610597906001600160a01b031681565b600e54610387565b6103e561067e366004612281565b6112c9565b6103e56106913660046124bf565b611356565b61038760085481565b6103e56106ad366004612314565b6114db565b6103e56114e8565b6103e5611615565b6103876106d036600461250b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103e5610709366004612379565b611629565b6103e561071c366004612314565b6116e2565b6103e561072f366004612281565b6116ef565b6103e5610742366004612314565b61177f565b6103e56107553660046123e5565b61178c565b6103e5610768366004612314565b6118a8565b60606003805461077c9061253e565b80601f01602080910402602001604051908101604052809291908181526020018280546107a89061253e565b80156107f55780601f106107ca576101008083540402835291602001916107f5565b820191906000526020600020905b8154815290600101906020018083116107d857829003601f168201915b5050505050905090565b60003361080d8185856118b5565b60019150505b92915050565b610821611a0e565b6002600654036108785760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260065533600090815260126020526040902054806108cb5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b600c5482101561091d5760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e7420616d6f756e7420746f206a6f696e206c697374604482015260640161086f565b6109273383611a68565b5050600e8054600181810183556000929092527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01805473ffffffffffffffffffffffffffffffffffffffff191633179055600655565b610986611be5565b8281146109c65760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a37578282828181106109e3576109e3612578565b9050602002013560106000878785818110610a0057610a00612578565b9050602002016020810190610a159190612281565b6001600160a01b031681526020810191909152604001600020556001016109c9565b5050505050565b610a46611a0e565b600260065403610a985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b60026006553360009081526012602052604090205480610aeb5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b610af53383611a68565b50506001600655565b610b06611be5565b828114610b465760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a3757828282818110610b6357610b63612578565b9050602002013560126000878785818110610b8057610b80612578565b9050602002016020810190610b959190612281565b6001600160a01b03168152602081019190915260400160002055600101610b49565b610bbf611be5565b600a55565b600033610bd2858285611c3f565b610bdd858585611ccb565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061080d9082908690610c229087906125a4565b6118b5565b610c2f611be5565b60005b82811015610c96578160146000868685818110610c5157610c51612578565b9050602002016020810190610c669190612281565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610c32565b50505050565b610ca4611be5565b610cac611ee2565b610cb4611f3b565b565b6000610cc0611a0e565b3360009081526012602052604090205480610d0e5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b33600090815260116020526040812054600a54429290819083850381610d3657610d366125b7565b33600090815260136020526040902054600854600b54989098029097029190040290940194505050505090565b610d6b611a0e565b600260065403610dbd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b60026006553360009081526012602052604090205480610e105760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b33600090815260116020526040812054600a54429290819083850381610e3857610e386125b7565b33600090815260136020526040902054600854600b5489020292909104919091020191505080610eaa5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d0000000000000000000000000000604482015260640161086f565b610eb43382611f90565b5050336000908152601160209081526040808320939093556013905290812055506001600655565b610ee4611a0e565b600260065403610f365760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b60026006553360009081526012602052604090205480610f895760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b610ffe83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b16602082015290925060340190506040516020818303038152906040528051906020012061206f565b61104a5760405162461bcd60e51b815260206004820152601060248201527f4e6f74206f6e2077686974656c69737400000000000000000000000000000000604482015260640161086f565b3360009081526014602052604090205460ff16156110aa5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d0000000000000000000000000000604482015260640161086f565b6110b633600d54611f90565b5050336000908152601460205260409020805460ff1916600190811790915560065550565b6110e3611be5565b600d55565b6110f0611be5565b610cb46000612085565b611102611be5565b8281146111425760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a375782828281811061115f5761115f612578565b905060200201356013600087878581811061117c5761117c612578565b90506020020160208101906111919190612281565b6001600160a01b03168152602081019190915260400160002055600101611145565b600e81815481106111c357600080fd5b6000918252602090912001546001600160a01b0316905081565b6111e5611be5565b600955565b6111f2611be5565b6111fa611a0e565b610cb46120e4565b60606004805461077c9061253e565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156112ae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161086f565b610bdd82868684036118b5565b60003361080d818585611ccb565b6112d1611be5565b6001600160a01b0381166113275760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015260640161086f565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b61135e611be5565b6002600654036113b05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b6002600655806114025760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161086f565b60005b61ffff81168311156114d0576000848461ffff841681811061142957611429612578565b905060200201602081019061143e9190612281565b6001600160a01b0316036114945760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015260640161086f565b6114c884848361ffff168181106114ad576114ad612578565b90506020020160208101906114c29190612281565b83611f90565b600101611405565b505060016006555050565b6114e3611be5565b600b55565b6114f0611a0e565b6002600654036115425760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086f565b600260065533600090815260126020526040902054806115955760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b604482015260640161086f565b33600090815260106020526040902054806115f25760405162461bcd60e51b815260206004820152601560248201527f4e6f20536e6f6f7a6520746f2065786368616e67650000000000000000000000604482015260640161086f565b6115fc3382611f90565b5050336000908152601060205260408120556001600655565b61161d611be5565b610cb4600e6000612233565b611631611be5565b8281146116715760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b604482015260640161086f565b60005b83811015610a375782828281811061168e5761168e612578565b90506020020135601160008787858181106116ab576116ab612578565b90506020020160208101906116c09190612281565b6001600160a01b03168152602081019190915260400160002055600101611674565b6116ea611be5565b600855565b6116f7611be5565b6001600160a01b0381166117735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161086f565b61177c81612085565b50565b611787611be5565b600f55565b33158015906117a557506007546001600160a01b031633145b6117f15760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520416c77617973546972656400000000000000000000000000604482015260640161086f565b426001600160a01b0384161580611853576001600160a01b0385166000908152601260205260409020546118288682858588612127565b6001600160a01b03861660009081526012602090815260408083209387900390935560119052208290555b6001600160a01b0384166000908152601260205260409020546118798582858588612127565b6001600160a01b0390941660009081526012602090815260408083209690950190955560119094525091205550565b6118b0611be5565b600c55565b6001600160a01b0383166119305760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b0382166119ac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600554600160a01b900460ff1615610cb45760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161086f565b6001600160a01b038216611ae45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b03821660009081526020819052604090205481811015611b735760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611ba29084906125cd565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611a01565b6005546001600160a01b03163314610cb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086f565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c965781811015611cbe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161086f565b610c9684848484036118b5565b6001600160a01b038316611d475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b038216611dc35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b03831660009081526020819052604090205481811015611e525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161086f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e899084906125a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ed591815260200190565b60405180910390a3610c96565b600554600160a01b900460ff16610cb45760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161086f565b611f43611ee2565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611fe65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161086f565b8060026000828254611ff891906125a4565b90915550506001600160a01b038216600090815260208190526040812080548392906120259084906125a4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008261207c85846121b4565b14949350505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120ec611a0e565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f733390565b60008215612136576009548202015b6001600160a01b038616600090815260116020526040902054851580159061215e5750600081115b1561218c576000600a5482870381612178576121786125b7565b04905080600854600b548902020283019250505b506001600160a01b039095166000908152601360205260409020805490950190945550505050565b600081815b84518110156121f9576121e5828683815181106121d8576121d8612578565b6020026020010151612201565b9150806121f1816125e0565b9150506121b9565b509392505050565b600081831061221d57600082815260208490526040902061222c565b60008381526020839052604090205b9392505050565b508054600082559060005260206000209081019061177c91905b80821115612261576000815560010161224d565b5090565b80356001600160a01b038116811461227c57600080fd5b919050565b60006020828403121561229357600080fd5b61222c82612265565b600060208083528351808285015260005b818110156122c9578581018301518582016040015282016122ad565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156122fd57600080fd5b61230683612265565b946020939093013593505050565b60006020828403121561232657600080fd5b5035919050565b60008083601f84011261233f57600080fd5b50813567ffffffffffffffff81111561235757600080fd5b6020830191508360208260051b850101111561237257600080fd5b9250929050565b6000806000806040858703121561238f57600080fd5b843567ffffffffffffffff808211156123a757600080fd5b6123b38883890161232d565b909650945060208701359150808211156123cc57600080fd5b506123d98782880161232d565b95989497509550505050565b6000806000606084860312156123fa57600080fd5b61240384612265565b925061241160208501612265565b9150604084013590509250925092565b60008060006040848603121561243657600080fd5b833567ffffffffffffffff81111561244d57600080fd5b6124598682870161232d565b9094509250506020840135801515811461247257600080fd5b809150509250925092565b6000806020838503121561249057600080fd5b823567ffffffffffffffff8111156124a757600080fd5b6124b38582860161232d565b90969095509350505050565b6000806000604084860312156124d457600080fd5b833567ffffffffffffffff8111156124eb57600080fd5b6124f78682870161232d565b909790965060209590950135949350505050565b6000806040838503121561251e57600080fd5b61252783612265565b915061253560208401612265565b90509250929050565b600181811c9082168061255257607f821691505b60208210810361257257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156108135761081361258e565b634e487b7160e01b600052601260045260246000fd5b818103818111156108135761081361258e565b6000600182016125f2576125f261258e565b506001019056fea2646970667358221220cf11040d33a2aa02f92b6a7ce05fd2ebba16a8ee4ef191d4e9c8fb3f74477fbc64736f6c63430008100033

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

0000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99

-----Decoded View---------------
Arg [0] : _alwaysTired (address): 0x3CCBd9C381742c04D81332b5db461951672F6A99

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99


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.