ETH Price: $2,450.74 (-2.40%)

Token

BooToken (BOO)
 

Overview

Max Total Supply

2,814,157.440856481481479992 BOO

Holders

688

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
56.154166666666666666 BOO

Value
$0.00
0xcde4fc0df2f81fc6b3e920ac64017cdaeb8e2cc1
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:
BooToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : BooToken.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract BooToken is ERC20, Ownable, Pausable, ReentrancyGuard {
    IERC721 public immutable ETHEREALS;

    uint256 constant public MAX_PER_TX = 50;
    uint256 constant public BASE_RATE = 10 ether;

    mapping(address => uint256) public stash;
    mapping(address => uint256) public lastUpdate;
    mapping(uint256 => address) public tokenOwners;
    mapping(address => mapping(uint256 => uint256)) public ownedTokens;
    mapping(address => uint256) public stakedTokens;
    mapping(uint256 => uint256) public tokenIndex;
    mapping(address => bool) public allowed;

    constructor(address ethereals)
        ERC20("BooToken", "BOO")
    {
        ETHEREALS = IERC721(ethereals);
    }

    modifier onlyAllowed() {
        require(allowed[msg.sender], "Caller not allowed");
        _;
    }

    modifier isApprovedForAll() {
        require(
            ETHEREALS.isApprovedForAll(msg.sender, address(this)),
            "Contract not approved"
        );
        _;
    }

    /// @notice Get Ethereals token ID by account and index
    /// @param account The address of the token owner
    /// @param index Index of the owned token
    /// @return The token ID of the owned token at that index
    function getOwnedByIndex(address account, uint256 index) public view returns (uint256) {
        require(index < stakedTokens[account], "Nonexistent token");

        return ownedTokens[account][index];
    }

    function getAllOwned(address account) public view returns (uint256[] memory) {
        uint256[] memory owned = new uint256[](stakedTokens[account]);

        for (uint256 i = 0; i < owned.length; i++) {
            owned[i] = ownedTokens[account][i];
        }

        return owned;
    }

    /// @notice Get amount of claimable BOO tokens
    /// @param account The address to return claimable token amount for
    /// @return The amount of claimable tokens
    function getClaimable(address account) public view returns (uint256) {
        return stash[account] + _getPending(account);
    }

    function _getPending(address account) internal view returns (uint256) {
        return stakedTokens[account]
        * BASE_RATE
        * (block.timestamp - lastUpdate[account])
        / 1 days;
    }

    function _update(address account) internal {
        stash[account] += _getPending(account);
        lastUpdate[account] = block.timestamp;
    }

    /// @notice Claim available BOO tokens
    /// @param account The address to claim tokens for
    function claim(address account) public nonReentrant {
        _claim(account);
    }

    function _claim(address account) internal whenNotPaused {
        require(msg.sender == account || allowed[msg.sender], "Caller not allowed");

        uint256 claimable = getClaimable(account);

        _mint(account, claimable);
        stash[account] = 0;
        lastUpdate[account] = block.timestamp;
    }

    /// @notice Update permissions for a given contract address
    /// @dev Used for extending token utility
    /// @param account The address to change permissions for
    /// @param isAllowed Whether the address is allowed to use privileged functionality
    function setAllowed(address account, bool isAllowed) external onlyOwner {
        allowed[account] = isAllowed;
    }

    /// @notice Stake Ethereals tokens
    /// @param tokenIds The tokens IDs to stake
    function stake(uint256[] calldata tokenIds) external isApprovedForAll whenNotPaused {
        require(tokenIds.length <= MAX_PER_TX, "Exceeds max tokens per transaction");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(ETHEREALS.ownerOf(tokenIds[i]) == msg.sender, "Caller is not token owner");
        }

        _update(msg.sender);

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 current = tokenIds[i];

            tokenOwners[current] = msg.sender;
            tokenIndex[current] = stakedTokens[msg.sender];
            ownedTokens[msg.sender][tokenIndex[current]] = current;
            stakedTokens[msg.sender] += 1;

            ETHEREALS.transferFrom(msg.sender, address(this), tokenIds[i]);
        }
    }

    /// @notice Remove Ethereals tokens and optionally collect BOO tokens
    /// @param tokenIds The tokens IDs to unstake
    /// @param claimTokens Whether BOO tokens should be claimed
    function unstake(uint256[] calldata tokenIds, bool claimTokens) external nonReentrant {
        require(tokenIds.length <= MAX_PER_TX, "Exceeds max tokens per transaction");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(tokenOwners[tokenIds[i]] == msg.sender, "Caller is not token owner");
        }

        if (claimTokens) _claim(msg.sender);
        else _update(msg.sender);

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 last = ownedTokens[msg.sender][stakedTokens[msg.sender] - 1];

            tokenOwners[tokenIds[i]] = address(0);
            tokenIndex[last] = tokenIndex[tokenIds[i]];
            ownedTokens[msg.sender][tokenIndex[tokenIds[i]]] = last;
            stakedTokens[msg.sender] -= 1;

            ETHEREALS.transferFrom(address(this), msg.sender, tokenIds[i]);
        }
    }

    /// @notice Burn a specified amount of BOO tokens
    /// @dev Used only by contracts for extending token utility
    /// @param from The account to burn tokens from
    /// @param amount The amount of tokens to burn
    function burn(address from, uint256 amount) external onlyAllowed {
        _burn(from, amount);
    }

    /// @notice Recover tokens accidentally transferred directly to the contract
    /// @dev Only available to owner if internal owner mapping was not updated
    /// @param to The account to send the token to
    /// @param tokenId The ID of the token to recover
    function recoveryTransfer(address to, uint256 tokenId) external onlyOwner {
        require(tokenOwners[tokenId] == address(0), "Token was not transferred accidentally");

        ETHEREALS.transferFrom(address(this), to, tokenId);
    }
}

File 2 of 10 : 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 3 of 10 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        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 4 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 5 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 7 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

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

pragma solidity ^0.8.0;

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

    /**
     * @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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ethereals","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":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ETHEREALS","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"getAllOwned","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnedByIndex","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":[{"internalType":"address","name":"","type":"address"}],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoveryTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isAllowed","type":"bool"}],"name":"setAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenOwners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"claimTokens","type":"bool"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162004108380380620041088339818101604052810190620000379190620002ed565b6040518060400160405280600881526020017f426f6f546f6b656e0000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f424f4f00000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000bb92919062000226565b508060049080519060200190620000d492919062000226565b505050620000f7620000eb6200015860201b60201c565b6200016060201b60201c565b6000600560146101000a81548160ff02191690831515021790555060016006819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050620003cc565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000234906200034d565b90600052602060002090601f016020900481019282620002585760008555620002a4565b82601f106200027357805160ff1916838001178555620002a4565b82800160010185558215620002a4579182015b82811115620002a357825182559160200191906001019062000286565b5b509050620002b39190620002b7565b5090565b5b80821115620002d2576000816000905550600101620002b8565b5090565b600081519050620002e781620003b2565b92915050565b6000602082840312156200030057600080fd5b60006200031084828501620002d6565b91505092915050565b600062000326826200032d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200036657607f821691505b602082108114156200037d576200037c62000383565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003bd8162000319565b8114620003c957600080fd5b50565b60805160601c613cfa6200040e600039600081816107e60152818161098401528181610c9901528181611375015281816115f201526117340152613cfa6000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063a5b39cfb116100ad578063dd62ed3e1161007c578063dd62ed3e1461064d578063e149f0361461067d578063f2fde38b146106ad578063f43a22dc146106c9578063f8a14f46146106e757610206565b8063a5b39cfb1461058d578063a9059cbb146105bd578063cb03fb1e146105ed578063d63a8e111461061d57610206565b806395d89b41116100e957806395d89b41146104f35780639dc29fac14610511578063a457c2d71461052d578063a583024b1461055d57610206565b806370a082311461046b578063715018a61461049b5780637717228a146104a55780638da5cb5b146104d557610206565b80632da74ccc1161019d57806341910f901161016c57806341910f90146103d95780634697f05d146103f7578063552f39401461041357806357f576eb146104315780635c975abb1461044d57610206565b80632da74ccc1461033f578063313ce5671461036f5780633228337a1461038d57806339509351146103a957610206565b806318160ddd116101d957806318160ddd146102a55780631d0504a8146102c35780631e83409a146102f357806323b872dd1461030f57610206565b80630583e9f81461020b57806306fdde031461023b578063095ea7b3146102595780630fbf0a9314610289575b600080fd5b61022560048036038101906102209190612dd1565b610717565b604051610232919061391a565b60405180910390f35b61024361072f565b6040516102509190613678565b60405180910390f35b610273600480360381019061026e9190612ccf565b6107c1565b6040516102809190613642565b60405180910390f35b6102a3600480360381019061029e9190612d0b565b6107e4565b005b6102ad610d7e565b6040516102ba919061391a565b60405180910390f35b6102dd60048036038101906102d89190612bb6565b610d88565b6040516102ea919061391a565b60405180910390f35b61030d60048036038101906103089190612bb6565b610da0565b005b61032960048036038101906103249190612c44565b610e02565b6040516103369190613642565b60405180910390f35b61035960048036038101906103549190612ccf565b610e31565b604051610366919061391a565b60405180910390f35b610377610f0d565b6040516103849190613935565b60405180910390f35b6103a760048036038101906103a29190612d50565b610f16565b005b6103c360048036038101906103be9190612ccf565b611463565b6040516103d09190613642565b60405180910390f35b6103e161150d565b6040516103ee919061391a565b60405180910390f35b610411600480360381019061040c9190612c93565b611519565b005b61041b6115f0565b604051610428919061365d565b60405180910390f35b61044b60048036038101906104469190612ccf565b611614565b005b6104556117c5565b6040516104629190613642565b60405180910390f35b61048560048036038101906104809190612bb6565b6117dc565b604051610492919061391a565b60405180910390f35b6104a3611824565b005b6104bf60048036038101906104ba9190612bb6565b6118ac565b6040516104cc9190613620565b60405180910390f35b6104dd611a1f565b6040516104ea91906135a5565b60405180910390f35b6104fb611a49565b6040516105089190613678565b60405180910390f35b61052b60048036038101906105269190612ccf565b611adb565b005b61054760048036038101906105429190612ccf565b611b75565b6040516105549190613642565b60405180910390f35b61057760048036038101906105729190612bb6565b611c5f565b604051610584919061391a565b60405180910390f35b6105a760048036038101906105a29190612bb6565b611cbb565b6040516105b4919061391a565b60405180910390f35b6105d760048036038101906105d29190612ccf565b611cd3565b6040516105e49190613642565b60405180910390f35b61060760048036038101906106029190612bb6565b611cf6565b604051610614919061391a565b60405180910390f35b61063760048036038101906106329190612bb6565b611d0e565b6040516106449190613642565b60405180910390f35b61066760048036038101906106629190612c08565b611d2e565b604051610674919061391a565b60405180910390f35b61069760048036038101906106929190612ccf565b611db5565b6040516106a4919061391a565b60405180910390f35b6106c760048036038101906106c29190612bb6565b611dda565b005b6106d1611ed2565b6040516106de919061391a565b60405180910390f35b61070160048036038101906106fc9190612dd1565b611ed7565b60405161070e91906135a5565b60405180910390f35b600c6020528060005260406000206000915090505481565b60606003805461073e90613b66565b80601f016020809104026020016040519081016040528092919081815260200182805461076a90613b66565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905090565b6000806107cc611f0a565b90506107d9818585611f12565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b815260040161083f9291906135c0565b60206040518083038186803b15801561085757600080fd5b505afa15801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190612da8565b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c59061377a565b60405180910390fd5b6108d66117c5565b15610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d906137ba565b60405180910390fd5b603282829050111561095d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109549061379a565b60405180910390fd5b60005b82829050811015610ad3573373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e8585858181106109f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610a1a919061391a565b60206040518083038186803b158015610a3257600080fd5b505afa158015610a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6a9190612bdf565b73ffffffffffffffffffffffffffffffffffffffff1614610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab79061381a565b60405180910390fd5b8080610acb90613b98565b915050610960565b50610add336120dd565b60005b82829050811015610d79576000838383818110610b26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201359050336009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c60008381526020019081526020016000208190555080600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600c6000858152602001908152602001600020548152602001908152602001600020819055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c9091906139a5565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330878787818110610d0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401610d33939291906135e9565b600060405180830381600087803b158015610d4d57600080fd5b505af1158015610d61573d6000803e3d6000fd5b50505050508080610d7190613b98565b915050610ae0565b505050565b6000600254905090565b60076020528060005260406000206000915090505481565b60026006541415610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd906138ba565b60405180910390fd5b6002600681905550610df781612182565b600160068190555050565b600080610e0d611f0a565b9050610e1a858285612330565b610e258585856123bc565b60019150509392505050565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548210610eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab906137da565b60405180910390fd5b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006012905090565b60026006541415610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f53906138ba565b60405180910390fd5b60026006819055506032838390501115610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa29061379a565b60405180910390fd5b60005b838390508110156110ac573373ffffffffffffffffffffffffffffffffffffffff166009600086868581811061100d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611099576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110909061381a565b60405180910390fd5b80806110a490613b98565b915050610fae565b5080156110c1576110bc33612182565b6110cb565b6110ca336120dd565b5b60005b83839050811015611455576000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111689190613a86565b81526020019081526020016000205490506000600960008787868181106111b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c6000868685818110611248577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002054600c60008381526020019081526020016000208190555080600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600c60008989888181106112f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020548152602001908152602001600020819055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461136c9190613a86565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd30338888878181106113ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b815260040161140f939291906135e9565b600060405180830381600087803b15801561142957600080fd5b505af115801561143d573d6000803e3d6000fd5b5050505050808061144d90613b98565b9150506110ce565b506001600681905550505050565b60008061146e611f0a565b9050611502818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114fd91906139a5565b611f12565b600191505092915050565b678ac7230489e8000081565b611521611f0a565b73ffffffffffffffffffffffffffffffffffffffff1661153f611a1f565b73ffffffffffffffffffffffffffffffffffffffff1614611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906137fa565b60405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61161c611f0a565b73ffffffffffffffffffffffffffffffffffffffff1661163a611a1f565b73ffffffffffffffffffffffffffffffffffffffff1614611690576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611687906137fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611732576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117299061389a565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b815260040161178f939291906135e9565b600060405180830381600087803b1580156117a957600080fd5b505af11580156117bd573d6000803e3d6000fd5b505050505050565b6000600560149054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61182c611f0a565b73ffffffffffffffffffffffffffffffffffffffff1661184a611a1f565b73ffffffffffffffffffffffffffffffffffffffff16146118a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611897906137fa565b60405180910390fd5b6118aa600061263d565b565b60606000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205467ffffffffffffffff81111561192f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561195d5781602001602082028036833780820191505090505b50905060005b8151811015611a1557600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828152602001908152602001600020548282815181106119f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611a0d90613b98565b915050611963565b5080915050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611a5890613b66565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8490613b66565b8015611ad15780601f10611aa657610100808354040283529160200191611ad1565b820191906000526020600020905b815481529060010190602001808311611ab457829003601f168201915b5050505050905090565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e906136ba565b60405180910390fd5b611b718282612703565b5050565b600080611b80611f0a565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d906138da565b60405180910390fd5b611c538286868403611f12565b60019250505092915050565b6000611c6a826128da565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cb491906139a5565b9050919050565b600b6020528060005260406000206000915090505481565b600080611cde611f0a565b9050611ceb8185856123bc565b600191505092915050565b60086020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a602052816000526040600020602052806000526040600020600091509150505481565b611de2611f0a565b73ffffffffffffffffffffffffffffffffffffffff16611e00611a1f565b73ffffffffffffffffffffffffffffffffffffffff1614611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d906137fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebd906136fa565b60405180910390fd5b611ecf8161263d565b50565b603281565b60096020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f799061387a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe99061371a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516120d0919061391a565b60405180910390a3505050565b6120e6816128da565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213491906139a5565b9250508190555042600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b61218a6117c5565b156121ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c1906137ba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061224d5750600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61228c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612283906136ba565b60405180910390fd5b600061229782611c5f565b90506122a38282612999565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600061233c8484611d2e565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146123b657818110156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f9061373a565b60405180910390fd5b6123b58484848403611f12565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124239061385a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561249c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124939061369a565b60405180910390fd5b6124a7838383612af9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561252d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125249061375a565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125c091906139a5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612624919061391a565b60405180910390a3612637848484612afe565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276a9061383a565b60405180910390fd5b61277f82600083612af9565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fc906136da565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461285c9190613a86565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128c1919061391a565b60405180910390a36128d583600084612afe565b505050565b600062015180600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544261292b9190613a86565b678ac7230489e80000600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461297e9190613a2c565b6129889190613a2c565b61299291906139fb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a00906138fa565b60405180910390fd5b612a1560008383612af9565b8060026000828254612a2791906139a5565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a7c91906139a5565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612ae1919061391a565b60405180910390a3612af560008383612afe565b5050565b505050565b505050565b600081359050612b1281613c7f565b92915050565b600081519050612b2781613c7f565b92915050565b60008083601f840112612b3f57600080fd5b8235905067ffffffffffffffff811115612b5857600080fd5b602083019150836020820283011115612b7057600080fd5b9250929050565b600081359050612b8681613c96565b92915050565b600081519050612b9b81613c96565b92915050565b600081359050612bb081613cad565b92915050565b600060208284031215612bc857600080fd5b6000612bd684828501612b03565b91505092915050565b600060208284031215612bf157600080fd5b6000612bff84828501612b18565b91505092915050565b60008060408385031215612c1b57600080fd5b6000612c2985828601612b03565b9250506020612c3a85828601612b03565b9150509250929050565b600080600060608486031215612c5957600080fd5b6000612c6786828701612b03565b9350506020612c7886828701612b03565b9250506040612c8986828701612ba1565b9150509250925092565b60008060408385031215612ca657600080fd5b6000612cb485828601612b03565b9250506020612cc585828601612b77565b9150509250929050565b60008060408385031215612ce257600080fd5b6000612cf085828601612b03565b9250506020612d0185828601612ba1565b9150509250929050565b60008060208385031215612d1e57600080fd5b600083013567ffffffffffffffff811115612d3857600080fd5b612d4485828601612b2d565b92509250509250929050565b600080600060408486031215612d6557600080fd5b600084013567ffffffffffffffff811115612d7f57600080fd5b612d8b86828701612b2d565b93509350506020612d9e86828701612b77565b9150509250925092565b600060208284031215612dba57600080fd5b6000612dc884828501612b8c565b91505092915050565b600060208284031215612de357600080fd5b6000612df184828501612ba1565b91505092915050565b6000612e068383613578565b60208301905092915050565b612e1b81613aba565b82525050565b6000612e2c82613960565b612e368185613983565b9350612e4183613950565b8060005b83811015612e72578151612e598882612dfa565b9750612e6483613976565b925050600181019050612e45565b5085935050505092915050565b612e8881613acc565b82525050565b612e9781613b0f565b82525050565b6000612ea88261396b565b612eb28185613994565b9350612ec2818560208601613b33565b612ecb81613c6e565b840191505092915050565b6000612ee3602383613994565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f49601283613994565b91507f43616c6c6572206e6f7420616c6c6f77656400000000000000000000000000006000830152602082019050919050565b6000612f89602283613994565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fef602683613994565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613055602283613994565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130bb601d83613994565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b60006130fb602683613994565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613161601583613994565b91507f436f6e7472616374206e6f7420617070726f76656400000000000000000000006000830152602082019050919050565b60006131a1602283613994565b91507f45786365656473206d617820746f6b656e7320706572207472616e736163746960008301527f6f6e0000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613207601083613994565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613247601183613994565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b6000613287602083613994565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006132c7601983613994565b91507f43616c6c6572206973206e6f7420746f6b656e206f776e6572000000000000006000830152602082019050919050565b6000613307602183613994565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061336d602583613994565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133d3602483613994565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613439602683613994565b91507f546f6b656e20776173206e6f74207472616e736665727265642061636369646560008301527f6e74616c6c7900000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061349f601f83613994565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006134df602583613994565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613545601f83613994565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61358181613af8565b82525050565b61359081613af8565b82525050565b61359f81613b02565b82525050565b60006020820190506135ba6000830184612e12565b92915050565b60006040820190506135d56000830185612e12565b6135e26020830184612e12565b9392505050565b60006060820190506135fe6000830186612e12565b61360b6020830185612e12565b6136186040830184613587565b949350505050565b6000602082019050818103600083015261363a8184612e21565b905092915050565b60006020820190506136576000830184612e7f565b92915050565b60006020820190506136726000830184612e8e565b92915050565b600060208201905081810360008301526136928184612e9d565b905092915050565b600060208201905081810360008301526136b381612ed6565b9050919050565b600060208201905081810360008301526136d381612f3c565b9050919050565b600060208201905081810360008301526136f381612f7c565b9050919050565b6000602082019050818103600083015261371381612fe2565b9050919050565b6000602082019050818103600083015261373381613048565b9050919050565b60006020820190508181036000830152613753816130ae565b9050919050565b60006020820190508181036000830152613773816130ee565b9050919050565b6000602082019050818103600083015261379381613154565b9050919050565b600060208201905081810360008301526137b381613194565b9050919050565b600060208201905081810360008301526137d3816131fa565b9050919050565b600060208201905081810360008301526137f38161323a565b9050919050565b600060208201905081810360008301526138138161327a565b9050919050565b60006020820190508181036000830152613833816132ba565b9050919050565b60006020820190508181036000830152613853816132fa565b9050919050565b6000602082019050818103600083015261387381613360565b9050919050565b60006020820190508181036000830152613893816133c6565b9050919050565b600060208201905081810360008301526138b38161342c565b9050919050565b600060208201905081810360008301526138d381613492565b9050919050565b600060208201905081810360008301526138f3816134d2565b9050919050565b6000602082019050818103600083015261391381613538565b9050919050565b600060208201905061392f6000830184613587565b92915050565b600060208201905061394a6000830184613596565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006139b082613af8565b91506139bb83613af8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139f0576139ef613be1565b5b828201905092915050565b6000613a0682613af8565b9150613a1183613af8565b925082613a2157613a20613c10565b5b828204905092915050565b6000613a3782613af8565b9150613a4283613af8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a7b57613a7a613be1565b5b828202905092915050565b6000613a9182613af8565b9150613a9c83613af8565b925082821015613aaf57613aae613be1565b5b828203905092915050565b6000613ac582613ad8565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613b1a82613b21565b9050919050565b6000613b2c82613ad8565b9050919050565b60005b83811015613b51578082015181840152602081019050613b36565b83811115613b60576000848401525b50505050565b60006002820490506001821680613b7e57607f821691505b60208210811415613b9257613b91613c3f565b5b50919050565b6000613ba382613af8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bd657613bd5613be1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b613c8881613aba565b8114613c9357600080fd5b50565b613c9f81613acc565b8114613caa57600080fd5b50565b613cb681613af8565b8114613cc157600080fd5b5056fea264697066735822122014edbc738095df54547364f118fb89ef35ce5c3eaaeb42dbd2701732d41630ed64736f6c63430008000033000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc98

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063a5b39cfb116100ad578063dd62ed3e1161007c578063dd62ed3e1461064d578063e149f0361461067d578063f2fde38b146106ad578063f43a22dc146106c9578063f8a14f46146106e757610206565b8063a5b39cfb1461058d578063a9059cbb146105bd578063cb03fb1e146105ed578063d63a8e111461061d57610206565b806395d89b41116100e957806395d89b41146104f35780639dc29fac14610511578063a457c2d71461052d578063a583024b1461055d57610206565b806370a082311461046b578063715018a61461049b5780637717228a146104a55780638da5cb5b146104d557610206565b80632da74ccc1161019d57806341910f901161016c57806341910f90146103d95780634697f05d146103f7578063552f39401461041357806357f576eb146104315780635c975abb1461044d57610206565b80632da74ccc1461033f578063313ce5671461036f5780633228337a1461038d57806339509351146103a957610206565b806318160ddd116101d957806318160ddd146102a55780631d0504a8146102c35780631e83409a146102f357806323b872dd1461030f57610206565b80630583e9f81461020b57806306fdde031461023b578063095ea7b3146102595780630fbf0a9314610289575b600080fd5b61022560048036038101906102209190612dd1565b610717565b604051610232919061391a565b60405180910390f35b61024361072f565b6040516102509190613678565b60405180910390f35b610273600480360381019061026e9190612ccf565b6107c1565b6040516102809190613642565b60405180910390f35b6102a3600480360381019061029e9190612d0b565b6107e4565b005b6102ad610d7e565b6040516102ba919061391a565b60405180910390f35b6102dd60048036038101906102d89190612bb6565b610d88565b6040516102ea919061391a565b60405180910390f35b61030d60048036038101906103089190612bb6565b610da0565b005b61032960048036038101906103249190612c44565b610e02565b6040516103369190613642565b60405180910390f35b61035960048036038101906103549190612ccf565b610e31565b604051610366919061391a565b60405180910390f35b610377610f0d565b6040516103849190613935565b60405180910390f35b6103a760048036038101906103a29190612d50565b610f16565b005b6103c360048036038101906103be9190612ccf565b611463565b6040516103d09190613642565b60405180910390f35b6103e161150d565b6040516103ee919061391a565b60405180910390f35b610411600480360381019061040c9190612c93565b611519565b005b61041b6115f0565b604051610428919061365d565b60405180910390f35b61044b60048036038101906104469190612ccf565b611614565b005b6104556117c5565b6040516104629190613642565b60405180910390f35b61048560048036038101906104809190612bb6565b6117dc565b604051610492919061391a565b60405180910390f35b6104a3611824565b005b6104bf60048036038101906104ba9190612bb6565b6118ac565b6040516104cc9190613620565b60405180910390f35b6104dd611a1f565b6040516104ea91906135a5565b60405180910390f35b6104fb611a49565b6040516105089190613678565b60405180910390f35b61052b60048036038101906105269190612ccf565b611adb565b005b61054760048036038101906105429190612ccf565b611b75565b6040516105549190613642565b60405180910390f35b61057760048036038101906105729190612bb6565b611c5f565b604051610584919061391a565b60405180910390f35b6105a760048036038101906105a29190612bb6565b611cbb565b6040516105b4919061391a565b60405180910390f35b6105d760048036038101906105d29190612ccf565b611cd3565b6040516105e49190613642565b60405180910390f35b61060760048036038101906106029190612bb6565b611cf6565b604051610614919061391a565b60405180910390f35b61063760048036038101906106329190612bb6565b611d0e565b6040516106449190613642565b60405180910390f35b61066760048036038101906106629190612c08565b611d2e565b604051610674919061391a565b60405180910390f35b61069760048036038101906106929190612ccf565b611db5565b6040516106a4919061391a565b60405180910390f35b6106c760048036038101906106c29190612bb6565b611dda565b005b6106d1611ed2565b6040516106de919061391a565b60405180910390f35b61070160048036038101906106fc9190612dd1565b611ed7565b60405161070e91906135a5565b60405180910390f35b600c6020528060005260406000206000915090505481565b60606003805461073e90613b66565b80601f016020809104026020016040519081016040528092919081815260200182805461076a90613b66565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905090565b6000806107cc611f0a565b90506107d9818585611f12565b600191505092915050565b7f000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc9873ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b815260040161083f9291906135c0565b60206040518083038186803b15801561085757600080fd5b505afa15801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190612da8565b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c59061377a565b60405180910390fd5b6108d66117c5565b15610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d906137ba565b60405180910390fd5b603282829050111561095d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109549061379a565b60405180910390fd5b60005b82829050811015610ad3573373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc9873ffffffffffffffffffffffffffffffffffffffff16636352211e8585858181106109f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610a1a919061391a565b60206040518083038186803b158015610a3257600080fd5b505afa158015610a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6a9190612bdf565b73ffffffffffffffffffffffffffffffffffffffff1614610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab79061381a565b60405180910390fd5b8080610acb90613b98565b915050610960565b50610add336120dd565b60005b82829050811015610d79576000838383818110610b26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201359050336009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c60008381526020019081526020016000208190555080600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600c6000858152602001908152602001600020548152602001908152602001600020819055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c9091906139a5565b925050819055507f000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc9873ffffffffffffffffffffffffffffffffffffffff166323b872dd3330878787818110610d0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401610d33939291906135e9565b600060405180830381600087803b158015610d4d57600080fd5b505af1158015610d61573d6000803e3d6000fd5b50505050508080610d7190613b98565b915050610ae0565b505050565b6000600254905090565b60076020528060005260406000206000915090505481565b60026006541415610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd906138ba565b60405180910390fd5b6002600681905550610df781612182565b600160068190555050565b600080610e0d611f0a565b9050610e1a858285612330565b610e258585856123bc565b60019150509392505050565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548210610eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab906137da565b60405180910390fd5b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006012905090565b60026006541415610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f53906138ba565b60405180910390fd5b60026006819055506032838390501115610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa29061379a565b60405180910390fd5b60005b838390508110156110ac573373ffffffffffffffffffffffffffffffffffffffff166009600086868581811061100d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611099576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110909061381a565b60405180910390fd5b80806110a490613b98565b915050610fae565b5080156110c1576110bc33612182565b6110cb565b6110ca336120dd565b5b60005b83839050811015611455576000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111689190613a86565b81526020019081526020016000205490506000600960008787868181106111b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c6000868685818110611248577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002054600c60008381526020019081526020016000208190555080600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600c60008989888181106112f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020548152602001908152602001600020819055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461136c9190613a86565b925050819055507f000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc9873ffffffffffffffffffffffffffffffffffffffff166323b872dd30338888878181106113ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b815260040161140f939291906135e9565b600060405180830381600087803b15801561142957600080fd5b505af115801561143d573d6000803e3d6000fd5b5050505050808061144d90613b98565b9150506110ce565b506001600681905550505050565b60008061146e611f0a565b9050611502818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114fd91906139a5565b611f12565b600191505092915050565b678ac7230489e8000081565b611521611f0a565b73ffffffffffffffffffffffffffffffffffffffff1661153f611a1f565b73ffffffffffffffffffffffffffffffffffffffff1614611595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158c906137fa565b60405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b7f000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc9881565b61161c611f0a565b73ffffffffffffffffffffffffffffffffffffffff1661163a611a1f565b73ffffffffffffffffffffffffffffffffffffffff1614611690576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611687906137fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611732576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117299061389a565b60405180910390fd5b7f000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc9873ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b815260040161178f939291906135e9565b600060405180830381600087803b1580156117a957600080fd5b505af11580156117bd573d6000803e3d6000fd5b505050505050565b6000600560149054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61182c611f0a565b73ffffffffffffffffffffffffffffffffffffffff1661184a611a1f565b73ffffffffffffffffffffffffffffffffffffffff16146118a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611897906137fa565b60405180910390fd5b6118aa600061263d565b565b60606000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205467ffffffffffffffff81111561192f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561195d5781602001602082028036833780820191505090505b50905060005b8151811015611a1557600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828152602001908152602001600020548282815181106119f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611a0d90613b98565b915050611963565b5080915050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611a5890613b66565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8490613b66565b8015611ad15780601f10611aa657610100808354040283529160200191611ad1565b820191906000526020600020905b815481529060010190602001808311611ab457829003601f168201915b5050505050905090565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e906136ba565b60405180910390fd5b611b718282612703565b5050565b600080611b80611f0a565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d906138da565b60405180910390fd5b611c538286868403611f12565b60019250505092915050565b6000611c6a826128da565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cb491906139a5565b9050919050565b600b6020528060005260406000206000915090505481565b600080611cde611f0a565b9050611ceb8185856123bc565b600191505092915050565b60086020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a602052816000526040600020602052806000526040600020600091509150505481565b611de2611f0a565b73ffffffffffffffffffffffffffffffffffffffff16611e00611a1f565b73ffffffffffffffffffffffffffffffffffffffff1614611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d906137fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebd906136fa565b60405180910390fd5b611ecf8161263d565b50565b603281565b60096020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f799061387a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe99061371a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516120d0919061391a565b60405180910390a3505050565b6120e6816128da565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213491906139a5565b9250508190555042600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b61218a6117c5565b156121ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c1906137ba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061224d5750600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61228c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612283906136ba565b60405180910390fd5b600061229782611c5f565b90506122a38282612999565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600061233c8484611d2e565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146123b657818110156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f9061373a565b60405180910390fd5b6123b58484848403611f12565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124239061385a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561249c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124939061369a565b60405180910390fd5b6124a7838383612af9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561252d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125249061375a565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125c091906139a5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612624919061391a565b60405180910390a3612637848484612afe565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276a9061383a565b60405180910390fd5b61277f82600083612af9565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fc906136da565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461285c9190613a86565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128c1919061391a565b60405180910390a36128d583600084612afe565b505050565b600062015180600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544261292b9190613a86565b678ac7230489e80000600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461297e9190613a2c565b6129889190613a2c565b61299291906139fb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a00906138fa565b60405180910390fd5b612a1560008383612af9565b8060026000828254612a2791906139a5565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a7c91906139a5565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612ae1919061391a565b60405180910390a3612af560008383612afe565b5050565b505050565b505050565b600081359050612b1281613c7f565b92915050565b600081519050612b2781613c7f565b92915050565b60008083601f840112612b3f57600080fd5b8235905067ffffffffffffffff811115612b5857600080fd5b602083019150836020820283011115612b7057600080fd5b9250929050565b600081359050612b8681613c96565b92915050565b600081519050612b9b81613c96565b92915050565b600081359050612bb081613cad565b92915050565b600060208284031215612bc857600080fd5b6000612bd684828501612b03565b91505092915050565b600060208284031215612bf157600080fd5b6000612bff84828501612b18565b91505092915050565b60008060408385031215612c1b57600080fd5b6000612c2985828601612b03565b9250506020612c3a85828601612b03565b9150509250929050565b600080600060608486031215612c5957600080fd5b6000612c6786828701612b03565b9350506020612c7886828701612b03565b9250506040612c8986828701612ba1565b9150509250925092565b60008060408385031215612ca657600080fd5b6000612cb485828601612b03565b9250506020612cc585828601612b77565b9150509250929050565b60008060408385031215612ce257600080fd5b6000612cf085828601612b03565b9250506020612d0185828601612ba1565b9150509250929050565b60008060208385031215612d1e57600080fd5b600083013567ffffffffffffffff811115612d3857600080fd5b612d4485828601612b2d565b92509250509250929050565b600080600060408486031215612d6557600080fd5b600084013567ffffffffffffffff811115612d7f57600080fd5b612d8b86828701612b2d565b93509350506020612d9e86828701612b77565b9150509250925092565b600060208284031215612dba57600080fd5b6000612dc884828501612b8c565b91505092915050565b600060208284031215612de357600080fd5b6000612df184828501612ba1565b91505092915050565b6000612e068383613578565b60208301905092915050565b612e1b81613aba565b82525050565b6000612e2c82613960565b612e368185613983565b9350612e4183613950565b8060005b83811015612e72578151612e598882612dfa565b9750612e6483613976565b925050600181019050612e45565b5085935050505092915050565b612e8881613acc565b82525050565b612e9781613b0f565b82525050565b6000612ea88261396b565b612eb28185613994565b9350612ec2818560208601613b33565b612ecb81613c6e565b840191505092915050565b6000612ee3602383613994565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f49601283613994565b91507f43616c6c6572206e6f7420616c6c6f77656400000000000000000000000000006000830152602082019050919050565b6000612f89602283613994565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fef602683613994565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613055602283613994565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130bb601d83613994565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b60006130fb602683613994565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613161601583613994565b91507f436f6e7472616374206e6f7420617070726f76656400000000000000000000006000830152602082019050919050565b60006131a1602283613994565b91507f45786365656473206d617820746f6b656e7320706572207472616e736163746960008301527f6f6e0000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613207601083613994565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613247601183613994565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b6000613287602083613994565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006132c7601983613994565b91507f43616c6c6572206973206e6f7420746f6b656e206f776e6572000000000000006000830152602082019050919050565b6000613307602183613994565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061336d602583613994565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133d3602483613994565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613439602683613994565b91507f546f6b656e20776173206e6f74207472616e736665727265642061636369646560008301527f6e74616c6c7900000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061349f601f83613994565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006134df602583613994565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613545601f83613994565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61358181613af8565b82525050565b61359081613af8565b82525050565b61359f81613b02565b82525050565b60006020820190506135ba6000830184612e12565b92915050565b60006040820190506135d56000830185612e12565b6135e26020830184612e12565b9392505050565b60006060820190506135fe6000830186612e12565b61360b6020830185612e12565b6136186040830184613587565b949350505050565b6000602082019050818103600083015261363a8184612e21565b905092915050565b60006020820190506136576000830184612e7f565b92915050565b60006020820190506136726000830184612e8e565b92915050565b600060208201905081810360008301526136928184612e9d565b905092915050565b600060208201905081810360008301526136b381612ed6565b9050919050565b600060208201905081810360008301526136d381612f3c565b9050919050565b600060208201905081810360008301526136f381612f7c565b9050919050565b6000602082019050818103600083015261371381612fe2565b9050919050565b6000602082019050818103600083015261373381613048565b9050919050565b60006020820190508181036000830152613753816130ae565b9050919050565b60006020820190508181036000830152613773816130ee565b9050919050565b6000602082019050818103600083015261379381613154565b9050919050565b600060208201905081810360008301526137b381613194565b9050919050565b600060208201905081810360008301526137d3816131fa565b9050919050565b600060208201905081810360008301526137f38161323a565b9050919050565b600060208201905081810360008301526138138161327a565b9050919050565b60006020820190508181036000830152613833816132ba565b9050919050565b60006020820190508181036000830152613853816132fa565b9050919050565b6000602082019050818103600083015261387381613360565b9050919050565b60006020820190508181036000830152613893816133c6565b9050919050565b600060208201905081810360008301526138b38161342c565b9050919050565b600060208201905081810360008301526138d381613492565b9050919050565b600060208201905081810360008301526138f3816134d2565b9050919050565b6000602082019050818103600083015261391381613538565b9050919050565b600060208201905061392f6000830184613587565b92915050565b600060208201905061394a6000830184613596565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006139b082613af8565b91506139bb83613af8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139f0576139ef613be1565b5b828201905092915050565b6000613a0682613af8565b9150613a1183613af8565b925082613a2157613a20613c10565b5b828204905092915050565b6000613a3782613af8565b9150613a4283613af8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a7b57613a7a613be1565b5b828202905092915050565b6000613a9182613af8565b9150613a9c83613af8565b925082821015613aaf57613aae613be1565b5b828203905092915050565b6000613ac582613ad8565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613b1a82613b21565b9050919050565b6000613b2c82613ad8565b9050919050565b60005b83811015613b51578082015181840152602081019050613b36565b83811115613b60576000848401525b50505050565b60006002820490506001821680613b7e57607f821691505b60208210811415613b9257613b91613c3f565b5b50919050565b6000613ba382613af8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bd657613bd5613be1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b613c8881613aba565b8114613c9357600080fd5b50565b613c9f81613acc565b8114613caa57600080fd5b50565b613cb681613af8565b8114613cc157600080fd5b5056fea264697066735822122014edbc738095df54547364f118fb89ef35ce5c3eaaeb42dbd2701732d41630ed64736f6c63430008000033

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

000000000000000000000000fc778be06c9a58f8f3e5e99216efbb28f750bc98

-----Decoded View---------------
Arg [0] : ethereals (address): 0xfC778Be06c9A58f8f3e5E99216eFBB28f750Bc98

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


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.