ETH Price: $3,406.30 (-0.54%)

Token

Million Dollar Rat (MDRAT)
 

Overview

Max Total Supply

3,310 MDRAT

Holders

1,124

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
iusedtohaveanaddictionlmao.eth
Balance
1 MDRAT
0x6b611d278233cb7ca76fd5c08579c3337c01e577
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Million Dollar Rat is a collection of digital collectibles (NFTs). The collection consists of 3,310 rats.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MillionDollarRat

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : MillionDollarRat.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract MillionDollarRat is ERC721Enumerable, Ownable, ReentrancyGuard {
    using Strings for uint256;

    // emitted by {depositGoldenRatToSewer} on success
    event GoldenRatDeposited(address indexed owner, address indexed sewer);

    // This is the provenance record of all artwork in existence
    string public constant RATS_PROVENANCE = "60f27f7b882a5c8f31453d36f99fa1cc67b3c254934e4f327f66059599cf10e0";

    // opens Apr 29 3pm EST | 1619722800
    uint256 public constant SALE_START_TIMESTAMP = 1619722800;

    // The sale lasts for 21 days
    uint256 public constant REVEAL_TIMESTAMP = SALE_START_TIMESTAMP + 3 weeks;

    // Sale price tiers
    uint256 private constant TIER_1_PRICE = 50000000000000000; // 0.05 ETH
    uint256 private constant TIER_2_SUPPLY_THRESHOLD = 51;
    uint256 private constant TIER_2_PRICE = 150000000000000000; // 0.15 ETH
    uint256 private constant TIER_3_SUPPLY_THRESHOLD = 251;
    uint256 private constant TIER_3_PRICE = 180000000000000000; // 0.18 ETH
    uint256 private constant TIER_4_SUPPLY_THRESHOLD = 1251;
    uint256 private constant TIER_4_PRICE = 200000000000000000; // 0.20 ETH
    uint256 private constant TIER_5_SUPPLY_THRESHOLD = 2051;
    uint256 private constant TIER_5_PRICE = 220000000000000000; // 0.22 ETH
    uint256 private constant TIER_6_SUPPLY_THRESHOLD = 2851;
    uint256 private constant TIER_6_PRICE = 400000000000000000; //  0.4 ETH
    uint256 private constant TIER_7_SUPPLY_THRESHOLD = 3251;
    uint256 private constant TIER_7_PRICE = 450000000000000000; // 0.45 ETH
    uint256 private constant TIER_8_SUPPLY_THRESHOLD = 3301;
    uint256 private constant TIER_8_PRICE = 500000000000000000; // 0.5 ETH

    // ETH-USD price at deployment: $2300
    uint256 private constant GOLDEN_RAT_PRIZE = 435 ether;
    uint256 private constant GOLDEN_RAT_THRESHOLD = GOLDEN_RAT_PRIZE + 50 ether;

    uint256 public constant MAX_RAT_SUPPLY = 3311;
    uint256 private constant RAT_PACK_LIMIT = 10;
    uint256 private constant GOLDEN_RAT_TOKEN_ID = 0;
    string private constant PLACEHOLDER_SUFFIX = "placeholder.json";
    string private constant METADATA_INFIX = "/metadata/";

    uint256 public startingIndexBlock;
    uint256 public startingIndex;
    address private _sewer;

    // current metadata base prefix
    string private _baseTokenUri;

    // ===============================================================

    /*
     * @dev MillionDollarRat must be deployed after Sewer, and expects to receive
     *  its address in the constructor.
     */
    constructor(address sewer) ERC721("Million Dollar Rat", "MDRAT") {
        require(sewer != address(0), "Sewer not specified");

        // store Sewer address
        _sewer = sewer;

        // mint the Golden Rat
        _safeMint(address(this), totalSupply());
    }

    /**
     * @dev Returns rat price in the current tier.
     */
    function getRatPrice() public view returns (uint256) {
        require(
            block.timestamp >= SALE_START_TIMESTAMP,
            "Sale has not started"
        );
        require(totalSupply() < MAX_RAT_SUPPLY, "Sale has ended");

        uint256 currentSupply = totalSupply();

        if (currentSupply >= TIER_8_SUPPLY_THRESHOLD) {
            return TIER_8_PRICE;
        } else if (currentSupply >= TIER_7_SUPPLY_THRESHOLD) {
            return TIER_7_PRICE;
        } else if (currentSupply >= TIER_6_SUPPLY_THRESHOLD) {
            return TIER_6_PRICE;
        } else if (currentSupply >= TIER_5_SUPPLY_THRESHOLD) {
            return TIER_5_PRICE;
        } else if (currentSupply >= TIER_4_SUPPLY_THRESHOLD) {
            return TIER_4_PRICE;
        } else if (currentSupply >= TIER_3_SUPPLY_THRESHOLD) {
            return TIER_3_PRICE;
        } else if (currentSupply >= TIER_2_SUPPLY_THRESHOLD) {
            return TIER_2_PRICE;
        } else {
            return TIER_1_PRICE;
        }
    }

    /**
     * @dev Mint `numberOfRats` rats. Price slippage is okay between tiers.
     *  It's a feature.
     *
     *  - Only mints until `MAX_RAT_SUPPLY` is reached.
     *  - Mints up to `RAT_PACK_LIMIT` per request.
     *  - Reverts if minting will exceed MAX_RAT_SUPPLY.
     *
     *  `msg.value` must equal number of rats to be minted multiplied by
     *  the current price.
     */
    function mintRats(uint256 numberOfRats) public payable nonReentrant {
        require(totalSupply() < MAX_RAT_SUPPLY, "Sale has ended");
        require(numberOfRats > 0, "Cannot sell 0 Rats");
        require(numberOfRats <= RAT_PACK_LIMIT, "Buy limit exceeded");
        require(
            (totalSupply() + numberOfRats) <= MAX_RAT_SUPPLY,
            "Exceeds MAX_RAT_SUPPLY"
        );
        require(
            (getRatPrice() * numberOfRats) == msg.value,
            "ETH sent is not correct"
        );

        for (uint256 i = 0; i < numberOfRats; i++) {
            _safeMint(msg.sender, totalSupply());
        }

        /**
         * Source of "randomness". Theoretically miners could influence this but
         * not worried for the scope of this project
         */
        /**
         * [Stuck]
         * If not all rats have been minted, block.timestamp > REVEAL_TIMESTAMP,
         * and no one is calling {mintRats} past that point, the code below is not
         * executed, and thus startingIndexBlock is not set. We fix that in {reveal}.
         */
        if (
            startingIndexBlock == 0 &&
            (totalSupply() == MAX_RAT_SUPPLY ||
                block.timestamp >= REVEAL_TIMESTAMP)
        ) {
            startingIndexBlock = block.number;
        }
    }

    /**
     * @dev Call after the sale ends or when reveal period begins. This sets
     *  `startingIndex` for rats.
     */
    function reveal() public {
        require(startingIndex == 0, "Starting index is already set");
        require(
            block.timestamp >= REVEAL_TIMESTAMP ||
                totalSupply() == MAX_RAT_SUPPLY,
            "Before reveal OR full drop"
        );

        // account for the [Stuck] scenario, see {mintRats}
        if (startingIndexBlock == 0) {
            startingIndexBlock = block.number;
        }

        uint256 _start =
            uint256(blockhash(startingIndexBlock)) % MAX_RAT_SUPPLY;

        if (
            (_start > block.number)
                ? ((_start - block.number) > 255)
                : ((block.number - _start) > 255)
        ) {
            _start = uint256(blockhash(block.number - 1)) % MAX_RAT_SUPPLY;
        }

        if (_start == 0) {
            _start = _start + 1;
        }

        startingIndex = _start;
    }

    /*
     * @dev Award Golden Rat (tokenId = 0) to the owner of `tokenId`.
     *  Only callable after {reveal} has been explicitly called.
     *
     *  Reverts if `tokenId` has not been minted.
     *  Prevents duplicate transfer.
     *  Reverts if transfer is to contract owner or contract address.
     */
    function awardGoldenRat(uint256 tokenId) public onlyOwner nonReentrant {
        require(startingIndex > 0, "Golden Rat not yet revealed");
        require(_exists(tokenId), "Unknown winner rat, tokenId");
        require(
            ownerOf(GOLDEN_RAT_TOKEN_ID) == address(this),
            "Already awarded"
        );
        require(
            (ownerOf(tokenId) != owner()) &&
                (ownerOf(tokenId) != address(this)) &&
                (tokenId > 0),
            "Cannot award to self"
        );
        require(
            address(this).balance >= GOLDEN_RAT_THRESHOLD,
            "Prize threshold not reached"
        );

        _safeTransfer(
            ownerOf(GOLDEN_RAT_TOKEN_ID),
            ownerOf(tokenId),
            GOLDEN_RAT_TOKEN_ID,
            ""
        );

        //payable(_sewer).transfer(GOLDEN_RAT_PRIZE);
        (bool sent, ) = payable(_sewer).call{value: GOLDEN_RAT_PRIZE}("");

        require(sent, "ETH Transfer Failed");
    }

    /**
     * @dev Withdraw owner's ETH from this contract. This is only
     *  callable after {reveal} has been explicitly called.
     */
    function withdraw(uint256 amount) public onlyOwner nonReentrant {
        require(startingIndex > 0, "Golden Rat not yet revealed");

        require(
            !_exists(GOLDEN_RAT_TOKEN_ID) ||
                ownerOf(GOLDEN_RAT_TOKEN_ID) != address(this),
            "Award Golden Rat first"
        );

        require(
            (amount > 0) && (amount <= address(this).balance),
            "Invalid amount"
        );

        //payable(msg.sender).transfer(amount);
        (bool sent, ) = payable(msg.sender).call{value: amount}("");

        require(sent, "ETH Transfer Failed");
    }

    /*
     * @dev After the Golden Rat has been awarded, the owner can send it to
     *  the Sewer contract by calling this.
     */
    function depositGoldenRatToSewer() public {
        require(msg.sender != owner(), "Owner not allowed to do that");
        require(msg.sender != address(this), "Contract not allowed to do that");

        require(
            ownerOf(GOLDEN_RAT_TOKEN_ID) == msg.sender,
            "Not the owner of Golden Rat"
        );

        safeTransferFrom(msg.sender, _sewer, GOLDEN_RAT_TOKEN_ID);

        _burn(GOLDEN_RAT_TOKEN_ID);

        emit GoldenRatDeposited(msg.sender, _sewer);
    }

    // no trailing slash, please
    function setTokenURI(string memory newUri) public onlyOwner {
        _baseTokenUri = newUri;
    }

    function placeholderURI() internal view returns (string memory) {
        return
            string(
                abi.encodePacked(
                    _baseTokenUri,
                    METADATA_INFIX,
                    PLACEHOLDER_SUFFIX
                )
            );
    }

    function indexedTokenURI(uint256 tokenId)
        internal
        view
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(
                    _baseTokenUri,
                    METADATA_INFIX,
                    tokenId.toString(),
                    ".json"
                )
            );
    }

    function ratTokenURI() public view returns (string memory) {
        require(startingIndex > 0, "Before reveal");
        require(msg.sender == _sewer, "And you are?");

        return
            string(abi.encodePacked(_baseTokenUri, METADATA_INFIX, "0.json"));
    }

    /**
     * @dev Golden Rat is minted first, and its tokenId is 0. The URI for the
     *   Golden Rat always points to 0.json.  Before reveal this function returns
     *   placeholder URI for all tokens; after the reveal it returns adjusted
     *   URIs based on `startingIndex` transform for all tokens except Golden Rat.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "Unknown tokenId");

        string memory result;

        if (startingIndex > 0) {
            uint256 mappedTokenId =
                (tokenId == GOLDEN_RAT_TOKEN_ID)
                    ? GOLDEN_RAT_TOKEN_ID
                    : ((tokenId + startingIndex) >= MAX_RAT_SUPPLY)
                    ? ((tokenId + startingIndex) % MAX_RAT_SUPPLY) + 1
                    : (tokenId + startingIndex) % MAX_RAT_SUPPLY;

            result = indexedTokenURI(mappedTokenId);
        } else {
            result = placeholderURI();
        }

        return result;
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 6 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 7 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "./extensions/IERC721Enumerable.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping (uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping (address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC721).interfaceId
            || interfaceId == type(IERC721Metadata).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 8 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

File 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"sewer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"sewer","type":"address"}],"name":"GoldenRatDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_RAT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RATS_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_START_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"awardGoldenRat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositGoldenRatToSewer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRatPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfRats","type":"uint256"}],"name":"mintRats","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162006a0138038062006a01833981810160405281019062000037919062000db3565b6040518060400160405280601281526020017f4d696c6c696f6e20446f6c6c61722052617400000000000000000000000000008152506040518060400160405280600581526020017f4d445241540000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000cd5565b508060019080519060200190620000d492919062000cd5565b5050506000620000e96200026c60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000203576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001fa9062000feb565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200026530620002596200027460201b60201c565b6200028160201b60201c565b5062001386565b600033905090565b6000600880549050905090565b620002a3828260405180602001604052806000815250620002a760201b60201c565b5050565b620002b983836200031560201b60201c565b620002ce6000848484620004fb60201b60201c565b62000310576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003079062000f85565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000388576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200037f906200100d565b60405180910390fd5b6200039981620006b560201b60201c565b15620003dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d39062000fa7565b60405180910390fd5b620003f0600083836200072160201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200044291906200105c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620005298473ffffffffffffffffffffffffffffffffffffffff166200086860201b620024601760201c565b15620006a8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200055b6200026c60201b60201c565b8786866040518563ffffffff1660e01b81526004016200057f949392919062000f31565b602060405180830381600087803b1580156200059a57600080fd5b505af1925050508015620005ce57506040513d601f19601f82011682018060405250810190620005cb919062000ddf565b60015b62000657573d806000811462000601576040519150601f19603f3d011682016040523d82523d6000602084013e62000606565b606091505b506000815114156200064f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006469062000f85565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620006ad565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620007398383836200087b60201b620024731760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620007865762000780816200088060201b60201c565b620007ce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620007cd57620007cc8382620008c960201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200081b57620008158162000a4660201b60201c565b62000863565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620008625762000861828262000b8e60201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001620008e38462000c1a60201b6200154a1760201c565b620008ef9190620010b9565b9050600060076000848152602001908152602001600020549050818114620009d5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000a5c9190620010b9565b905060006009600084815260200190815260200160002054905060006008838154811062000ab3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000afc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000b72577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000ba68362000c1a60201b6200154a1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000c8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c859062000fc9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000ce39062001194565b90600052602060002090601f01602090048101928262000d07576000855562000d53565b82601f1062000d2257805160ff191683800117855562000d53565b8280016001018555821562000d53579182015b8281111562000d5257825182559160200191906001019062000d35565b5b50905062000d62919062000d66565b5090565b5b8082111562000d8157600081600090555060010162000d67565b5090565b60008151905062000d968162001352565b92915050565b60008151905062000dad816200136c565b92915050565b60006020828403121562000dc657600080fd5b600062000dd68482850162000d85565b91505092915050565b60006020828403121562000df257600080fd5b600062000e028482850162000d9c565b91505092915050565b62000e1681620010f4565b82525050565b600062000e29826200102f565b62000e3581856200103a565b935062000e478185602086016200115e565b62000e528162001228565b840191505092915050565b600062000e6c6032836200104b565b915062000e798262001239565b604082019050919050565b600062000e93601c836200104b565b915062000ea08262001288565b602082019050919050565b600062000eba602a836200104b565b915062000ec782620012b1565b604082019050919050565b600062000ee16013836200104b565b915062000eee8262001300565b602082019050919050565b600062000f086020836200104b565b915062000f158262001329565b602082019050919050565b62000f2b8162001154565b82525050565b600060808201905062000f48600083018762000e0b565b62000f57602083018662000e0b565b62000f66604083018562000f20565b818103606083015262000f7a818462000e1c565b905095945050505050565b6000602082019050818103600083015262000fa08162000e5d565b9050919050565b6000602082019050818103600083015262000fc28162000e84565b9050919050565b6000602082019050818103600083015262000fe48162000eab565b9050919050565b60006020820190508181036000830152620010068162000ed2565b9050919050565b60006020820190508181036000830152620010288162000ef9565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620010698262001154565b9150620010768362001154565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620010ae57620010ad620011ca565b5b828201905092915050565b6000620010c68262001154565b9150620010d38362001154565b925082821015620010e957620010e8620011ca565b5b828203905092915050565b6000620011018262001134565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200117e57808201518184015260208101905062001161565b838111156200118e576000848401525b50505050565b60006002820490506001821680620011ad57607f821691505b60208210811415620011c457620011c3620011f9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f5365776572206e6f742073706563696669656400000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6200135d81620010f4565b81146200136957600080fd5b50565b620013778162001108565b81146200138357600080fd5b50565b61566b80620013966000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063a475b5dd116100a0578063e0df5b6f1161006f578063e0df5b6f146106ce578063e36d6498146106f7578063e985e9c514610722578063f2fde38b1461075f578063fdead1d614610788576101ee565b8063a475b5dd14610626578063b88d4fde1461063d578063c87b56dd14610666578063cb774d47146106a3576101ee565b8063946807fd116100dc578063946807fd1461057c57806395d89b41146105a757806397eaa307146105d2578063a22cb465146105fd576101ee565b8063715018a6146104e457806374e09db0146104fb5780637c7d2ad8146105265780638da5cb5b14610551576101ee565b80632f745c59116101855780635cbeed68116101545780635cbeed68146104235780636352211e1461044e5780636e829d8f1461048b57806370a08231146104a7576101ee565b80632f745c59146103695780633810b26c146103a657806342842e0e146103bd5780634f6ccce7146103e6576101ee565b806318160ddd116101c157806318160ddd146102c157806318e20a38146102ec57806323b872dd146103175780632e1a7d4d14610340576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613a33565b6107b1565b6040516102279190614337565b60405180910390f35b34801561023c57600080fd5b5061024561082b565b6040516102529190614352565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613ac6565b6108bd565b60405161028f91906142d0565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906139f7565b610942565b005b3480156102cd57600080fd5b506102d6610a5a565b6040516102e39190614874565b60405180910390f35b3480156102f857600080fd5b50610301610a67565b60405161030e9190614874565b60405180910390f35b34801561032357600080fd5b5061033e600480360381019061033991906138f1565b610a7d565b005b34801561034c57600080fd5b5061036760048036038101906103629190613ac6565b610add565b005b34801561037557600080fd5b50610390600480360381019061038b91906139f7565b610d7d565b60405161039d9190614874565b60405180910390f35b3480156103b257600080fd5b506103bb610e22565b005b3480156103c957600080fd5b506103e460048036038101906103df91906138f1565b611034565b005b3480156103f257600080fd5b5061040d60048036038101906104089190613ac6565b611054565b60405161041a9190614874565b60405180910390f35b34801561042f57600080fd5b506104386110eb565b6040516104459190614874565b60405180910390f35b34801561045a57600080fd5b5061047560048036038101906104709190613ac6565b61124e565b60405161048291906142d0565b60405180910390f35b6104a560048036038101906104a09190613ac6565b611300565b005b3480156104b357600080fd5b506104ce60048036038101906104c9919061388c565b61154a565b6040516104db9190614874565b60405180910390f35b3480156104f057600080fd5b506104f9611602565b005b34801561050757600080fd5b5061051061173f565b60405161051d9190614874565b60405180910390f35b34801561053257600080fd5b5061053b611745565b6040516105489190614352565b60405180910390f35b34801561055d57600080fd5b50610566611761565b60405161057391906142d0565b60405180910390f35b34801561058857600080fd5b5061059161178b565b60405161059e9190614874565b60405180910390f35b3480156105b357600080fd5b506105bc611793565b6040516105c99190614352565b60405180910390f35b3480156105de57600080fd5b506105e7611825565b6040516105f49190614352565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906139bb565b611959565b005b34801561063257600080fd5b5061063b611ada565b005b34801561064957600080fd5b50610664600480360381019061065f9190613940565b611c26565b005b34801561067257600080fd5b5061068d60048036038101906106889190613ac6565b611c88565b60405161069a9190614352565b60405180910390f35b3480156106af57600080fd5b506106b8611d76565b6040516106c59190614874565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f09190613a85565b611d7c565b005b34801561070357600080fd5b5061070c611e12565b6040516107199190614874565b60405180910390f35b34801561072e57600080fd5b50610749600480360381019061074491906138b5565b611e18565b6040516107569190614337565b60405180910390f35b34801561076b57600080fd5b506107866004803603810190610781919061388c565b611eac565b005b34801561079457600080fd5b506107af60048036038101906107aa9190613ac6565b612058565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610824575061082382612478565b5b9050919050565b60606000805461083a90614b44565b80601f016020809104026020016040519081016040528092919081815260200182805461086690614b44565b80156108b35780601f10610888576101008083540402835291602001916108b3565b820191906000526020600020905b81548152906001019060200180831161089657829003601f168201915b5050505050905090565b60006108c88261255a565b610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe90614614565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094d8261124e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590614714565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109dd6125c6565b73ffffffffffffffffffffffffffffffffffffffff161480610a0c5750610a0b81610a066125c6565b611e18565b5b610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614574565b60405180910390fd5b610a5583836125ce565b505050565b6000600880549050905090565b621baf8063608b0230610a7a9190614979565b81565b610a8e610a886125c6565b82612687565b610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490614754565b60405180910390fd5b610ad8838383612765565b505050565b610ae56125c6565b73ffffffffffffffffffffffffffffffffffffffff16610b03611761565b73ffffffffffffffffffffffffffffffffffffffff1614610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090614634565b60405180910390fd5b6002600b541415610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690614834565b60405180910390fd5b6002600b819055506000600d5411610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390614394565b60405180910390fd5b610bf6600061255a565b1580610c3757503073ffffffffffffffffffffffffffffffffffffffff16610c1e600061124e565b73ffffffffffffffffffffffffffffffffffffffff1614155b610c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6d90614674565b60405180910390fd5b600081118015610c865750478111155b610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc90614474565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1682604051610ceb906142bb565b60006040518083038185875af1925050503d8060008114610d28576040519150601f19603f3d011682016040523d82523d6000602084013e610d2d565b606091505b5050905080610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890614374565b60405180910390fd5b506001600b8190555050565b6000610d888361154a565b8210610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc0906143d4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e2a611761565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f906146f4565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe90614514565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16610f28600061124e565b73ffffffffffffffffffffffffffffffffffffffff1614610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f75906147b4565b60405180910390fd5b610fac33600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000611034565b610fb660006129c1565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ff2431b151d5f777a8d5a3273cbae4bd04a32bbe15fd4b371ad98ab811dc29b7360405160405180910390a3565b61104f83838360405180602001604052806000815250611c26565b505050565b600061105e610a5a565b821061109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614794565b60405180910390fd5b600882815481106110d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600063608b0230421015611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90614814565b60405180910390fd5b610cef61113f610a5a565b1061117f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611176906144b4565b60405180910390fd5b6000611189610a5a565b9050610ce581106111a5576706f05b59d3b2000091505061124b565b610cb381106111bf5767063eb89da4ed000091505061124b565b610b2381106111d95767058d15e17628000091505061124b565b61080381106111f35767030d98d59a96000091505061124b565b6104e3811061120d576702c68af0bb14000091505061124b565b60fb81106112265767027f7d0bdb92000091505061124b565b6033811061123f57670214e8348c4f000091505061124b565b66b1a2bc2ec500009150505b90565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee906145b4565b60405180910390fd5b80915050919050565b6002600b541415611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90614834565b60405180910390fd5b6002600b81905550610cef611359610a5a565b10611399576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611390906144b4565b60405180910390fd5b600081116113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d3906147d4565b60405180910390fd5b600a811115611420576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611417906146d4565b60405180910390fd5b610cef8161142c610a5a565b6114369190614979565b1115611477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146e90614774565b60405180910390fd5b34816114816110eb565b61148b9190614a00565b146114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c290614854565b60405180910390fd5b60005b818110156114fa576114e7336114e2610a5a565b612ad2565b80806114f290614ba7565b9150506114ce565b506000600c541480156115325750610cef611513610a5a565b14806115315750621baf8063608b023061152d9190614979565b4210155b5b1561153f5743600c819055505b6001600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b290614594565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61160a6125c6565b73ffffffffffffffffffffffffffffffffffffffff16611628611761565b73ffffffffffffffffffffffffffffffffffffffff161461167e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167590614634565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610cef81565b6040518060600160405280604081526020016155f66040913981565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b63608b023081565b6060600180546117a290614b44565b80601f01602080910402602001604051908101604052809291908181526020018280546117ce90614b44565b801561181b5780601f106117f05761010080835404028352916020019161181b565b820191906000526020600020905b8154815290600101906020018083116117fe57829003601f168201915b5050505050905090565b60606000600d541161186c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611863906143b4565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f390614434565b60405180910390fd5b600f6040518060400160405280600a81526020017f2f6d657461646174612f0000000000000000000000000000000000000000000081525060405160200161194592919061428c565b604051602081830303815290604052905090565b6119616125c6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c6906144f4565b60405180910390fd5b80600560006119dc6125c6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a896125c6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ace9190614337565b60405180910390a35050565b6000600d5414611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1690614554565b60405180910390fd5b621baf8063608b0230611b329190614979565b42101580611b485750610cef611b46610a5a565b145b611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e906145d4565b60405180910390fd5b6000600c541415611b9a5743600c819055505b6000610cef600c544060001c611bb09190614bf0565b9050438111611bcd5760ff8143611bc79190614a5a565b11611bdd565b60ff4382611bdb9190614a5a565b115b15611c0357610cef600143611bf29190614a5a565b4060001c611c009190614bf0565b90505b6000811415611c1c57600181611c199190614979565b90505b80600d8190555050565b611c37611c316125c6565b83612687565b611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d90614754565b60405180910390fd5b611c8284848484612af0565b50505050565b6060611c938261255a565b611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc990614654565b60405180910390fd5b60606000600d541115611d62576000808414611d4c57610cef600d5485611cf99190614979565b1015611d1f57610cef600d5485611d109190614979565b611d1a9190614bf0565b611d47565b6001610cef600d5486611d329190614979565b611d3c9190614bf0565b611d469190614979565b5b611d4f565b60005b9050611d5a81612b4c565b915050611d6d565b611d6a612bb7565b90505b80915050919050565b600d5481565b611d846125c6565b73ffffffffffffffffffffffffffffffffffffffff16611da2611761565b73ffffffffffffffffffffffffffffffffffffffff1614611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90614634565b60405180910390fd5b80600f9080519060200190611e0e9291906136b0565b5050565b600c5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611eb46125c6565b73ffffffffffffffffffffffffffffffffffffffff16611ed2611761565b73ffffffffffffffffffffffffffffffffffffffff1614611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f90614634565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8f90614414565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6120606125c6565b73ffffffffffffffffffffffffffffffffffffffff1661207e611761565b73ffffffffffffffffffffffffffffffffffffffff16146120d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cb90614634565b60405180910390fd5b6002600b54141561211a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211190614834565b60405180910390fd5b6002600b819055506000600d5411612167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215e90614394565b60405180910390fd5b6121708161255a565b6121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a690614694565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166121d0600061124e565b73ffffffffffffffffffffffffffffffffffffffff1614612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d90614494565b60405180910390fd5b61222e611761565b73ffffffffffffffffffffffffffffffffffffffff1661224d8261124e565b73ffffffffffffffffffffffffffffffffffffffff16141580156122a557503073ffffffffffffffffffffffffffffffffffffffff1661228c8261124e565b73ffffffffffffffffffffffffffffffffffffffff1614155b80156122b15750600081115b6122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614734565b60405180910390fd5b6802b5e3af16b1880000681794d673456eec000061230e9190614979565b471015612350576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612347906147f4565b60405180910390fd5b61237d61235d600061124e565b6123668361124e565b600060405180602001604052806000815250612af0565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16681794d673456eec00006040516123ce906142bb565b60006040518083038185875af1925050503d806000811461240b576040519150601f19603f3d011682016040523d82523d6000602084013e612410565b606091505b5050905080612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b90614374565b60405180910390fd5b506001600b8190555050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061254357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612553575061255282612c4d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126418361124e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126928261255a565b6126d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c890614534565b60405180910390fd5b60006126dc8361124e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061274b57508373ffffffffffffffffffffffffffffffffffffffff16612733846108bd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061275c575061275b8185611e18565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127858261124e565b73ffffffffffffffffffffffffffffffffffffffff16146127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d2906146b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561284b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612842906144d4565b60405180910390fd5b612856838383612cb7565b6128616000826125ce565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128b19190614a5a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129089190614979565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006129cc8261124e565b90506129da81600084612cb7565b6129e56000836125ce565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a359190614a5a565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612aec828260405180602001604052806000815250612dcb565b5050565b612afb848484612765565b612b0784848484612e26565b612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d906143f4565b60405180910390fd5b50505050565b6060600f6040518060400160405280600a81526020017f2f6d657461646174612f00000000000000000000000000000000000000000000815250612b8f84612fbd565b604051602001612ba193929190614250565b6040516020818303038152906040529050919050565b6060600f6040518060400160405280600a81526020017f2f6d657461646174612f000000000000000000000000000000000000000000008152506040518060400160405280601081526020017f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000815250604051602001612c399392919061421f565b604051602081830303815290604052905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cc2838383612473565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0557612d008161316a565b612d44565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4357612d4283826131b3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8757612d8281613320565b612dc6565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc557612dc48282613463565b5b5b505050565b612dd583836134e2565b612de26000848484612e26565b612e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e18906143f4565b60405180910390fd5b505050565b6000612e478473ffffffffffffffffffffffffffffffffffffffff16612460565b15612fb0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e706125c6565b8786866040518563ffffffff1660e01b8152600401612e9294939291906142eb565b602060405180830381600087803b158015612eac57600080fd5b505af1925050508015612edd57506040513d601f19601f82011682018060405250810190612eda9190613a5c565b60015b612f60573d8060008114612f0d576040519150601f19603f3d011682016040523d82523d6000602084013e612f12565b606091505b50600081511415612f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4f906143f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fb5565b600190505b949350505050565b60606000821415613005576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613165565b600082905060005b6000821461303757808061302090614ba7565b915050600a8261303091906149cf565b915061300d565b60008167ffffffffffffffff811115613079577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130ab5781602001600182028036833780820191505090505b5090505b6000851461315e576001826130c49190614a5a565b9150600a856130d39190614bf0565b60306130df9190614979565b60f81b81838151811061311b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561315791906149cf565b94506130af565b8093505050505b919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131c08461154a565b6131ca9190614a5a565b90506000600760008481526020019081526020016000205490508181146132af576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133349190614a5a565b905060006009600084815260200190815260200160002054905060006008838154811061338a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613447577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061346e8361154a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613549906145f4565b60405180910390fd5b61355b8161255a565b1561359b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359290614454565b60405180910390fd5b6135a760008383612cb7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135f79190614979565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546136bc90614b44565b90600052602060002090601f0160209004810192826136de5760008555613725565b82601f106136f757805160ff1916838001178555613725565b82800160010185558215613725579182015b82811115613724578251825591602001919060010190613709565b5b5090506137329190613736565b5090565b5b8082111561374f576000816000905550600101613737565b5090565b6000613766613761846148b4565b61488f565b90508281526020810184848401111561377e57600080fd5b613789848285614b02565b509392505050565b60006137a461379f846148e5565b61488f565b9050828152602081018484840111156137bc57600080fd5b6137c7848285614b02565b509392505050565b6000813590506137de81615599565b92915050565b6000813590506137f3816155b0565b92915050565b600081359050613808816155c7565b92915050565b60008151905061381d816155c7565b92915050565b600082601f83011261383457600080fd5b8135613844848260208601613753565b91505092915050565b600082601f83011261385e57600080fd5b813561386e848260208601613791565b91505092915050565b600081359050613886816155de565b92915050565b60006020828403121561389e57600080fd5b60006138ac848285016137cf565b91505092915050565b600080604083850312156138c857600080fd5b60006138d6858286016137cf565b92505060206138e7858286016137cf565b9150509250929050565b60008060006060848603121561390657600080fd5b6000613914868287016137cf565b9350506020613925868287016137cf565b925050604061393686828701613877565b9150509250925092565b6000806000806080858703121561395657600080fd5b6000613964878288016137cf565b9450506020613975878288016137cf565b935050604061398687828801613877565b925050606085013567ffffffffffffffff8111156139a357600080fd5b6139af87828801613823565b91505092959194509250565b600080604083850312156139ce57600080fd5b60006139dc858286016137cf565b92505060206139ed858286016137e4565b9150509250929050565b60008060408385031215613a0a57600080fd5b6000613a18858286016137cf565b9250506020613a2985828601613877565b9150509250929050565b600060208284031215613a4557600080fd5b6000613a53848285016137f9565b91505092915050565b600060208284031215613a6e57600080fd5b6000613a7c8482850161380e565b91505092915050565b600060208284031215613a9757600080fd5b600082013567ffffffffffffffff811115613ab157600080fd5b613abd8482850161384d565b91505092915050565b600060208284031215613ad857600080fd5b6000613ae684828501613877565b91505092915050565b613af881614a8e565b82525050565b613b0781614aa0565b82525050565b6000613b188261492b565b613b228185614941565b9350613b32818560208601614b11565b613b3b81614cdd565b840191505092915050565b6000613b5182614936565b613b5b818561495d565b9350613b6b818560208601614b11565b613b7481614cdd565b840191505092915050565b6000613b8a82614936565b613b94818561496e565b9350613ba4818560208601614b11565b80840191505092915050565b60008154613bbd81614b44565b613bc7818661496e565b94506001821660008114613be25760018114613bf357613c26565b60ff19831686528186019350613c26565b613bfc85614916565b60005b83811015613c1e57815481890152600182019150602081019050613bff565b838801955050505b50505092915050565b6000613c3c60138361495d565b9150613c4782614cee565b602082019050919050565b6000613c5f601b8361495d565b9150613c6a82614d17565b602082019050919050565b6000613c82600d8361495d565b9150613c8d82614d40565b602082019050919050565b6000613ca5602b8361495d565b9150613cb082614d69565b604082019050919050565b6000613cc860328361495d565b9150613cd382614db8565b604082019050919050565b6000613ceb60268361495d565b9150613cf682614e07565b604082019050919050565b6000613d0e600c8361495d565b9150613d1982614e56565b602082019050919050565b6000613d31601c8361495d565b9150613d3c82614e7f565b602082019050919050565b6000613d54600e8361495d565b9150613d5f82614ea8565b602082019050919050565b6000613d77600f8361495d565b9150613d8282614ed1565b602082019050919050565b6000613d9a600e8361495d565b9150613da582614efa565b602082019050919050565b6000613dbd60248361495d565b9150613dc882614f23565b604082019050919050565b6000613de060198361495d565b9150613deb82614f72565b602082019050919050565b6000613e03601f8361495d565b9150613e0e82614f9b565b602082019050919050565b6000613e26602c8361495d565b9150613e3182614fc4565b604082019050919050565b6000613e49601d8361495d565b9150613e5482615013565b602082019050919050565b6000613e6c60388361495d565b9150613e778261503c565b604082019050919050565b6000613e8f602a8361495d565b9150613e9a8261508b565b604082019050919050565b6000613eb260298361495d565b9150613ebd826150da565b604082019050919050565b6000613ed5601a8361495d565b9150613ee082615129565b602082019050919050565b6000613ef860208361495d565b9150613f0382615152565b602082019050919050565b6000613f1b602c8361495d565b9150613f268261517b565b604082019050919050565b6000613f3e60058361496e565b9150613f49826151ca565b600582019050919050565b6000613f6160208361495d565b9150613f6c826151f3565b602082019050919050565b6000613f84600f8361495d565b9150613f8f8261521c565b602082019050919050565b6000613fa760168361495d565b9150613fb282615245565b602082019050919050565b6000613fca601b8361495d565b9150613fd58261526e565b602082019050919050565b6000613fed60298361495d565b9150613ff882615297565b604082019050919050565b600061401060128361495d565b915061401b826152e6565b602082019050919050565b6000614033601c8361495d565b915061403e8261530f565b602082019050919050565b600061405660218361495d565b915061406182615338565b604082019050919050565b600061407960148361495d565b915061408482615387565b602082019050919050565b600061409c60068361496e565b91506140a7826153b0565b600682019050919050565b60006140bf600083614952565b91506140ca826153d9565b600082019050919050565b60006140e260318361495d565b91506140ed826153dc565b604082019050919050565b600061410560168361495d565b91506141108261542b565b602082019050919050565b6000614128602c8361495d565b915061413382615454565b604082019050919050565b600061414b601b8361495d565b9150614156826154a3565b602082019050919050565b600061416e60128361495d565b9150614179826154cc565b602082019050919050565b6000614191601b8361495d565b915061419c826154f5565b602082019050919050565b60006141b460148361495d565b91506141bf8261551e565b602082019050919050565b60006141d7601f8361495d565b91506141e282615547565b602082019050919050565b60006141fa60178361495d565b915061420582615570565b602082019050919050565b61421981614af8565b82525050565b600061422b8286613bb0565b91506142378285613b7f565b91506142438284613b7f565b9150819050949350505050565b600061425c8286613bb0565b91506142688285613b7f565b91506142748284613b7f565b915061427f82613f31565b9150819050949350505050565b60006142988285613bb0565b91506142a48284613b7f565b91506142af8261408f565b91508190509392505050565b60006142c6826140b2565b9150819050919050565b60006020820190506142e56000830184613aef565b92915050565b60006080820190506143006000830187613aef565b61430d6020830186613aef565b61431a6040830185614210565b818103606083015261432c8184613b0d565b905095945050505050565b600060208201905061434c6000830184613afe565b92915050565b6000602082019050818103600083015261436c8184613b46565b905092915050565b6000602082019050818103600083015261438d81613c2f565b9050919050565b600060208201905081810360008301526143ad81613c52565b9050919050565b600060208201905081810360008301526143cd81613c75565b9050919050565b600060208201905081810360008301526143ed81613c98565b9050919050565b6000602082019050818103600083015261440d81613cbb565b9050919050565b6000602082019050818103600083015261442d81613cde565b9050919050565b6000602082019050818103600083015261444d81613d01565b9050919050565b6000602082019050818103600083015261446d81613d24565b9050919050565b6000602082019050818103600083015261448d81613d47565b9050919050565b600060208201905081810360008301526144ad81613d6a565b9050919050565b600060208201905081810360008301526144cd81613d8d565b9050919050565b600060208201905081810360008301526144ed81613db0565b9050919050565b6000602082019050818103600083015261450d81613dd3565b9050919050565b6000602082019050818103600083015261452d81613df6565b9050919050565b6000602082019050818103600083015261454d81613e19565b9050919050565b6000602082019050818103600083015261456d81613e3c565b9050919050565b6000602082019050818103600083015261458d81613e5f565b9050919050565b600060208201905081810360008301526145ad81613e82565b9050919050565b600060208201905081810360008301526145cd81613ea5565b9050919050565b600060208201905081810360008301526145ed81613ec8565b9050919050565b6000602082019050818103600083015261460d81613eeb565b9050919050565b6000602082019050818103600083015261462d81613f0e565b9050919050565b6000602082019050818103600083015261464d81613f54565b9050919050565b6000602082019050818103600083015261466d81613f77565b9050919050565b6000602082019050818103600083015261468d81613f9a565b9050919050565b600060208201905081810360008301526146ad81613fbd565b9050919050565b600060208201905081810360008301526146cd81613fe0565b9050919050565b600060208201905081810360008301526146ed81614003565b9050919050565b6000602082019050818103600083015261470d81614026565b9050919050565b6000602082019050818103600083015261472d81614049565b9050919050565b6000602082019050818103600083015261474d8161406c565b9050919050565b6000602082019050818103600083015261476d816140d5565b9050919050565b6000602082019050818103600083015261478d816140f8565b9050919050565b600060208201905081810360008301526147ad8161411b565b9050919050565b600060208201905081810360008301526147cd8161413e565b9050919050565b600060208201905081810360008301526147ed81614161565b9050919050565b6000602082019050818103600083015261480d81614184565b9050919050565b6000602082019050818103600083015261482d816141a7565b9050919050565b6000602082019050818103600083015261484d816141ca565b9050919050565b6000602082019050818103600083015261486d816141ed565b9050919050565b60006020820190506148896000830184614210565b92915050565b60006148996148aa565b90506148a58282614b76565b919050565b6000604051905090565b600067ffffffffffffffff8211156148cf576148ce614cae565b5b6148d882614cdd565b9050602081019050919050565b600067ffffffffffffffff821115614900576148ff614cae565b5b61490982614cdd565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061498482614af8565b915061498f83614af8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149c4576149c3614c21565b5b828201905092915050565b60006149da82614af8565b91506149e583614af8565b9250826149f5576149f4614c50565b5b828204905092915050565b6000614a0b82614af8565b9150614a1683614af8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a4f57614a4e614c21565b5b828202905092915050565b6000614a6582614af8565b9150614a7083614af8565b925082821015614a8357614a82614c21565b5b828203905092915050565b6000614a9982614ad8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b2f578082015181840152602081019050614b14565b83811115614b3e576000848401525b50505050565b60006002820490506001821680614b5c57607f821691505b60208210811415614b7057614b6f614c7f565b5b50919050565b614b7f82614cdd565b810181811067ffffffffffffffff82111715614b9e57614b9d614cae565b5b80604052505050565b6000614bb282614af8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614be557614be4614c21565b5b600182019050919050565b6000614bfb82614af8565b9150614c0683614af8565b925082614c1657614c15614c50565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455448205472616e73666572204661696c656400000000000000000000000000600082015250565b7f476f6c64656e20526174206e6f74207965742072657665616c65640000000000600082015250565b7f4265666f72652072657665616c00000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416e6420796f75206172653f0000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f416c726561647920617761726465640000000000000000000000000000000000600082015250565b7f53616c652068617320656e646564000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6e7472616374206e6f7420616c6c6f77656420746f20646f207468617400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4265666f72652072657665616c204f522066756c6c2064726f70000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f556e6b6e6f776e20746f6b656e49640000000000000000000000000000000000600082015250565b7f417761726420476f6c64656e2052617420666972737400000000000000000000600082015250565b7f556e6b6e6f776e2077696e6e6572207261742c20746f6b656e49640000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f427579206c696d69742065786365656465640000000000000000000000000000600082015250565b7f4f776e6572206e6f7420616c6c6f77656420746f20646f207468617400000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420617761726420746f2073656c66000000000000000000000000600082015250565b7f302e6a736f6e0000000000000000000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f45786365656473204d41585f5241545f535550504c5900000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420746865206f776e6572206f6620476f6c64656e205261740000000000600082015250565b7f43616e6e6f742073656c6c203020526174730000000000000000000000000000600082015250565b7f5072697a65207468726573686f6c64206e6f7420726561636865640000000000600082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4554482073656e74206973206e6f7420636f7272656374000000000000000000600082015250565b6155a281614a8e565b81146155ad57600080fd5b50565b6155b981614aa0565b81146155c457600080fd5b50565b6155d081614aac565b81146155db57600080fd5b50565b6155e781614af8565b81146155f257600080fd5b5056fe36306632376637623838326135633866333134353364333666393966613163633637623363323534393334653466333237663636303539353939636631306530a2646970667358221220d35947bafd727c28897e6b0b36c8e2307cecc4ce14ebfe30ee57ec3b58e2019064736f6c63430008030033000000000000000000000000bb2911e08a0d9543034fa660968353e52fad18ac

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063a475b5dd116100a0578063e0df5b6f1161006f578063e0df5b6f146106ce578063e36d6498146106f7578063e985e9c514610722578063f2fde38b1461075f578063fdead1d614610788576101ee565b8063a475b5dd14610626578063b88d4fde1461063d578063c87b56dd14610666578063cb774d47146106a3576101ee565b8063946807fd116100dc578063946807fd1461057c57806395d89b41146105a757806397eaa307146105d2578063a22cb465146105fd576101ee565b8063715018a6146104e457806374e09db0146104fb5780637c7d2ad8146105265780638da5cb5b14610551576101ee565b80632f745c59116101855780635cbeed68116101545780635cbeed68146104235780636352211e1461044e5780636e829d8f1461048b57806370a08231146104a7576101ee565b80632f745c59146103695780633810b26c146103a657806342842e0e146103bd5780634f6ccce7146103e6576101ee565b806318160ddd116101c157806318160ddd146102c157806318e20a38146102ec57806323b872dd146103175780632e1a7d4d14610340576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613a33565b6107b1565b6040516102279190614337565b60405180910390f35b34801561023c57600080fd5b5061024561082b565b6040516102529190614352565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613ac6565b6108bd565b60405161028f91906142d0565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906139f7565b610942565b005b3480156102cd57600080fd5b506102d6610a5a565b6040516102e39190614874565b60405180910390f35b3480156102f857600080fd5b50610301610a67565b60405161030e9190614874565b60405180910390f35b34801561032357600080fd5b5061033e600480360381019061033991906138f1565b610a7d565b005b34801561034c57600080fd5b5061036760048036038101906103629190613ac6565b610add565b005b34801561037557600080fd5b50610390600480360381019061038b91906139f7565b610d7d565b60405161039d9190614874565b60405180910390f35b3480156103b257600080fd5b506103bb610e22565b005b3480156103c957600080fd5b506103e460048036038101906103df91906138f1565b611034565b005b3480156103f257600080fd5b5061040d60048036038101906104089190613ac6565b611054565b60405161041a9190614874565b60405180910390f35b34801561042f57600080fd5b506104386110eb565b6040516104459190614874565b60405180910390f35b34801561045a57600080fd5b5061047560048036038101906104709190613ac6565b61124e565b60405161048291906142d0565b60405180910390f35b6104a560048036038101906104a09190613ac6565b611300565b005b3480156104b357600080fd5b506104ce60048036038101906104c9919061388c565b61154a565b6040516104db9190614874565b60405180910390f35b3480156104f057600080fd5b506104f9611602565b005b34801561050757600080fd5b5061051061173f565b60405161051d9190614874565b60405180910390f35b34801561053257600080fd5b5061053b611745565b6040516105489190614352565b60405180910390f35b34801561055d57600080fd5b50610566611761565b60405161057391906142d0565b60405180910390f35b34801561058857600080fd5b5061059161178b565b60405161059e9190614874565b60405180910390f35b3480156105b357600080fd5b506105bc611793565b6040516105c99190614352565b60405180910390f35b3480156105de57600080fd5b506105e7611825565b6040516105f49190614352565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906139bb565b611959565b005b34801561063257600080fd5b5061063b611ada565b005b34801561064957600080fd5b50610664600480360381019061065f9190613940565b611c26565b005b34801561067257600080fd5b5061068d60048036038101906106889190613ac6565b611c88565b60405161069a9190614352565b60405180910390f35b3480156106af57600080fd5b506106b8611d76565b6040516106c59190614874565b60405180910390f35b3480156106da57600080fd5b506106f560048036038101906106f09190613a85565b611d7c565b005b34801561070357600080fd5b5061070c611e12565b6040516107199190614874565b60405180910390f35b34801561072e57600080fd5b50610749600480360381019061074491906138b5565b611e18565b6040516107569190614337565b60405180910390f35b34801561076b57600080fd5b506107866004803603810190610781919061388c565b611eac565b005b34801561079457600080fd5b506107af60048036038101906107aa9190613ac6565b612058565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610824575061082382612478565b5b9050919050565b60606000805461083a90614b44565b80601f016020809104026020016040519081016040528092919081815260200182805461086690614b44565b80156108b35780601f10610888576101008083540402835291602001916108b3565b820191906000526020600020905b81548152906001019060200180831161089657829003601f168201915b5050505050905090565b60006108c88261255a565b610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe90614614565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094d8261124e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590614714565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109dd6125c6565b73ffffffffffffffffffffffffffffffffffffffff161480610a0c5750610a0b81610a066125c6565b611e18565b5b610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614574565b60405180910390fd5b610a5583836125ce565b505050565b6000600880549050905090565b621baf8063608b0230610a7a9190614979565b81565b610a8e610a886125c6565b82612687565b610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490614754565b60405180910390fd5b610ad8838383612765565b505050565b610ae56125c6565b73ffffffffffffffffffffffffffffffffffffffff16610b03611761565b73ffffffffffffffffffffffffffffffffffffffff1614610b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5090614634565b60405180910390fd5b6002600b541415610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690614834565b60405180910390fd5b6002600b819055506000600d5411610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390614394565b60405180910390fd5b610bf6600061255a565b1580610c3757503073ffffffffffffffffffffffffffffffffffffffff16610c1e600061124e565b73ffffffffffffffffffffffffffffffffffffffff1614155b610c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6d90614674565b60405180910390fd5b600081118015610c865750478111155b610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc90614474565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1682604051610ceb906142bb565b60006040518083038185875af1925050503d8060008114610d28576040519150601f19603f3d011682016040523d82523d6000602084013e610d2d565b606091505b5050905080610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890614374565b60405180910390fd5b506001600b8190555050565b6000610d888361154a565b8210610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc0906143d4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e2a611761565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f906146f4565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe90614514565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16610f28600061124e565b73ffffffffffffffffffffffffffffffffffffffff1614610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f75906147b4565b60405180910390fd5b610fac33600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000611034565b610fb660006129c1565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ff2431b151d5f777a8d5a3273cbae4bd04a32bbe15fd4b371ad98ab811dc29b7360405160405180910390a3565b61104f83838360405180602001604052806000815250611c26565b505050565b600061105e610a5a565b821061109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614794565b60405180910390fd5b600882815481106110d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600063608b0230421015611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90614814565b60405180910390fd5b610cef61113f610a5a565b1061117f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611176906144b4565b60405180910390fd5b6000611189610a5a565b9050610ce581106111a5576706f05b59d3b2000091505061124b565b610cb381106111bf5767063eb89da4ed000091505061124b565b610b2381106111d95767058d15e17628000091505061124b565b61080381106111f35767030d98d59a96000091505061124b565b6104e3811061120d576702c68af0bb14000091505061124b565b60fb81106112265767027f7d0bdb92000091505061124b565b6033811061123f57670214e8348c4f000091505061124b565b66b1a2bc2ec500009150505b90565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee906145b4565b60405180910390fd5b80915050919050565b6002600b541415611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90614834565b60405180910390fd5b6002600b81905550610cef611359610a5a565b10611399576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611390906144b4565b60405180910390fd5b600081116113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d3906147d4565b60405180910390fd5b600a811115611420576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611417906146d4565b60405180910390fd5b610cef8161142c610a5a565b6114369190614979565b1115611477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146e90614774565b60405180910390fd5b34816114816110eb565b61148b9190614a00565b146114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c290614854565b60405180910390fd5b60005b818110156114fa576114e7336114e2610a5a565b612ad2565b80806114f290614ba7565b9150506114ce565b506000600c541480156115325750610cef611513610a5a565b14806115315750621baf8063608b023061152d9190614979565b4210155b5b1561153f5743600c819055505b6001600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b290614594565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61160a6125c6565b73ffffffffffffffffffffffffffffffffffffffff16611628611761565b73ffffffffffffffffffffffffffffffffffffffff161461167e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167590614634565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610cef81565b6040518060600160405280604081526020016155f66040913981565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b63608b023081565b6060600180546117a290614b44565b80601f01602080910402602001604051908101604052809291908181526020018280546117ce90614b44565b801561181b5780601f106117f05761010080835404028352916020019161181b565b820191906000526020600020905b8154815290600101906020018083116117fe57829003601f168201915b5050505050905090565b60606000600d541161186c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611863906143b4565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f390614434565b60405180910390fd5b600f6040518060400160405280600a81526020017f2f6d657461646174612f0000000000000000000000000000000000000000000081525060405160200161194592919061428c565b604051602081830303815290604052905090565b6119616125c6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c6906144f4565b60405180910390fd5b80600560006119dc6125c6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a896125c6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ace9190614337565b60405180910390a35050565b6000600d5414611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1690614554565b60405180910390fd5b621baf8063608b0230611b329190614979565b42101580611b485750610cef611b46610a5a565b145b611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e906145d4565b60405180910390fd5b6000600c541415611b9a5743600c819055505b6000610cef600c544060001c611bb09190614bf0565b9050438111611bcd5760ff8143611bc79190614a5a565b11611bdd565b60ff4382611bdb9190614a5a565b115b15611c0357610cef600143611bf29190614a5a565b4060001c611c009190614bf0565b90505b6000811415611c1c57600181611c199190614979565b90505b80600d8190555050565b611c37611c316125c6565b83612687565b611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d90614754565b60405180910390fd5b611c8284848484612af0565b50505050565b6060611c938261255a565b611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc990614654565b60405180910390fd5b60606000600d541115611d62576000808414611d4c57610cef600d5485611cf99190614979565b1015611d1f57610cef600d5485611d109190614979565b611d1a9190614bf0565b611d47565b6001610cef600d5486611d329190614979565b611d3c9190614bf0565b611d469190614979565b5b611d4f565b60005b9050611d5a81612b4c565b915050611d6d565b611d6a612bb7565b90505b80915050919050565b600d5481565b611d846125c6565b73ffffffffffffffffffffffffffffffffffffffff16611da2611761565b73ffffffffffffffffffffffffffffffffffffffff1614611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90614634565b60405180910390fd5b80600f9080519060200190611e0e9291906136b0565b5050565b600c5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611eb46125c6565b73ffffffffffffffffffffffffffffffffffffffff16611ed2611761565b73ffffffffffffffffffffffffffffffffffffffff1614611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f90614634565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8f90614414565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6120606125c6565b73ffffffffffffffffffffffffffffffffffffffff1661207e611761565b73ffffffffffffffffffffffffffffffffffffffff16146120d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cb90614634565b60405180910390fd5b6002600b54141561211a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211190614834565b60405180910390fd5b6002600b819055506000600d5411612167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215e90614394565b60405180910390fd5b6121708161255a565b6121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a690614694565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166121d0600061124e565b73ffffffffffffffffffffffffffffffffffffffff1614612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d90614494565b60405180910390fd5b61222e611761565b73ffffffffffffffffffffffffffffffffffffffff1661224d8261124e565b73ffffffffffffffffffffffffffffffffffffffff16141580156122a557503073ffffffffffffffffffffffffffffffffffffffff1661228c8261124e565b73ffffffffffffffffffffffffffffffffffffffff1614155b80156122b15750600081115b6122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614734565b60405180910390fd5b6802b5e3af16b1880000681794d673456eec000061230e9190614979565b471015612350576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612347906147f4565b60405180910390fd5b61237d61235d600061124e565b6123668361124e565b600060405180602001604052806000815250612af0565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16681794d673456eec00006040516123ce906142bb565b60006040518083038185875af1925050503d806000811461240b576040519150601f19603f3d011682016040523d82523d6000602084013e612410565b606091505b5050905080612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b90614374565b60405180910390fd5b506001600b8190555050565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061254357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612553575061255282612c4d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126418361124e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126928261255a565b6126d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c890614534565b60405180910390fd5b60006126dc8361124e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061274b57508373ffffffffffffffffffffffffffffffffffffffff16612733846108bd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061275c575061275b8185611e18565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127858261124e565b73ffffffffffffffffffffffffffffffffffffffff16146127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d2906146b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561284b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612842906144d4565b60405180910390fd5b612856838383612cb7565b6128616000826125ce565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128b19190614a5a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129089190614979565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006129cc8261124e565b90506129da81600084612cb7565b6129e56000836125ce565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a359190614a5a565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612aec828260405180602001604052806000815250612dcb565b5050565b612afb848484612765565b612b0784848484612e26565b612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d906143f4565b60405180910390fd5b50505050565b6060600f6040518060400160405280600a81526020017f2f6d657461646174612f00000000000000000000000000000000000000000000815250612b8f84612fbd565b604051602001612ba193929190614250565b6040516020818303038152906040529050919050565b6060600f6040518060400160405280600a81526020017f2f6d657461646174612f000000000000000000000000000000000000000000008152506040518060400160405280601081526020017f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000815250604051602001612c399392919061421f565b604051602081830303815290604052905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cc2838383612473565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0557612d008161316a565b612d44565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4357612d4283826131b3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8757612d8281613320565b612dc6565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc557612dc48282613463565b5b5b505050565b612dd583836134e2565b612de26000848484612e26565b612e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e18906143f4565b60405180910390fd5b505050565b6000612e478473ffffffffffffffffffffffffffffffffffffffff16612460565b15612fb0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e706125c6565b8786866040518563ffffffff1660e01b8152600401612e9294939291906142eb565b602060405180830381600087803b158015612eac57600080fd5b505af1925050508015612edd57506040513d601f19601f82011682018060405250810190612eda9190613a5c565b60015b612f60573d8060008114612f0d576040519150601f19603f3d011682016040523d82523d6000602084013e612f12565b606091505b50600081511415612f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4f906143f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fb5565b600190505b949350505050565b60606000821415613005576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613165565b600082905060005b6000821461303757808061302090614ba7565b915050600a8261303091906149cf565b915061300d565b60008167ffffffffffffffff811115613079577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130ab5781602001600182028036833780820191505090505b5090505b6000851461315e576001826130c49190614a5a565b9150600a856130d39190614bf0565b60306130df9190614979565b60f81b81838151811061311b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561315791906149cf565b94506130af565b8093505050505b919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131c08461154a565b6131ca9190614a5a565b90506000600760008481526020019081526020016000205490508181146132af576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133349190614a5a565b905060006009600084815260200190815260200160002054905060006008838154811061338a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613447577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061346e8361154a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613549906145f4565b60405180910390fd5b61355b8161255a565b1561359b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359290614454565b60405180910390fd5b6135a760008383612cb7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135f79190614979565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546136bc90614b44565b90600052602060002090601f0160209004810192826136de5760008555613725565b82601f106136f757805160ff1916838001178555613725565b82800160010185558215613725579182015b82811115613724578251825591602001919060010190613709565b5b5090506137329190613736565b5090565b5b8082111561374f576000816000905550600101613737565b5090565b6000613766613761846148b4565b61488f565b90508281526020810184848401111561377e57600080fd5b613789848285614b02565b509392505050565b60006137a461379f846148e5565b61488f565b9050828152602081018484840111156137bc57600080fd5b6137c7848285614b02565b509392505050565b6000813590506137de81615599565b92915050565b6000813590506137f3816155b0565b92915050565b600081359050613808816155c7565b92915050565b60008151905061381d816155c7565b92915050565b600082601f83011261383457600080fd5b8135613844848260208601613753565b91505092915050565b600082601f83011261385e57600080fd5b813561386e848260208601613791565b91505092915050565b600081359050613886816155de565b92915050565b60006020828403121561389e57600080fd5b60006138ac848285016137cf565b91505092915050565b600080604083850312156138c857600080fd5b60006138d6858286016137cf565b92505060206138e7858286016137cf565b9150509250929050565b60008060006060848603121561390657600080fd5b6000613914868287016137cf565b9350506020613925868287016137cf565b925050604061393686828701613877565b9150509250925092565b6000806000806080858703121561395657600080fd5b6000613964878288016137cf565b9450506020613975878288016137cf565b935050604061398687828801613877565b925050606085013567ffffffffffffffff8111156139a357600080fd5b6139af87828801613823565b91505092959194509250565b600080604083850312156139ce57600080fd5b60006139dc858286016137cf565b92505060206139ed858286016137e4565b9150509250929050565b60008060408385031215613a0a57600080fd5b6000613a18858286016137cf565b9250506020613a2985828601613877565b9150509250929050565b600060208284031215613a4557600080fd5b6000613a53848285016137f9565b91505092915050565b600060208284031215613a6e57600080fd5b6000613a7c8482850161380e565b91505092915050565b600060208284031215613a9757600080fd5b600082013567ffffffffffffffff811115613ab157600080fd5b613abd8482850161384d565b91505092915050565b600060208284031215613ad857600080fd5b6000613ae684828501613877565b91505092915050565b613af881614a8e565b82525050565b613b0781614aa0565b82525050565b6000613b188261492b565b613b228185614941565b9350613b32818560208601614b11565b613b3b81614cdd565b840191505092915050565b6000613b5182614936565b613b5b818561495d565b9350613b6b818560208601614b11565b613b7481614cdd565b840191505092915050565b6000613b8a82614936565b613b94818561496e565b9350613ba4818560208601614b11565b80840191505092915050565b60008154613bbd81614b44565b613bc7818661496e565b94506001821660008114613be25760018114613bf357613c26565b60ff19831686528186019350613c26565b613bfc85614916565b60005b83811015613c1e57815481890152600182019150602081019050613bff565b838801955050505b50505092915050565b6000613c3c60138361495d565b9150613c4782614cee565b602082019050919050565b6000613c5f601b8361495d565b9150613c6a82614d17565b602082019050919050565b6000613c82600d8361495d565b9150613c8d82614d40565b602082019050919050565b6000613ca5602b8361495d565b9150613cb082614d69565b604082019050919050565b6000613cc860328361495d565b9150613cd382614db8565b604082019050919050565b6000613ceb60268361495d565b9150613cf682614e07565b604082019050919050565b6000613d0e600c8361495d565b9150613d1982614e56565b602082019050919050565b6000613d31601c8361495d565b9150613d3c82614e7f565b602082019050919050565b6000613d54600e8361495d565b9150613d5f82614ea8565b602082019050919050565b6000613d77600f8361495d565b9150613d8282614ed1565b602082019050919050565b6000613d9a600e8361495d565b9150613da582614efa565b602082019050919050565b6000613dbd60248361495d565b9150613dc882614f23565b604082019050919050565b6000613de060198361495d565b9150613deb82614f72565b602082019050919050565b6000613e03601f8361495d565b9150613e0e82614f9b565b602082019050919050565b6000613e26602c8361495d565b9150613e3182614fc4565b604082019050919050565b6000613e49601d8361495d565b9150613e5482615013565b602082019050919050565b6000613e6c60388361495d565b9150613e778261503c565b604082019050919050565b6000613e8f602a8361495d565b9150613e9a8261508b565b604082019050919050565b6000613eb260298361495d565b9150613ebd826150da565b604082019050919050565b6000613ed5601a8361495d565b9150613ee082615129565b602082019050919050565b6000613ef860208361495d565b9150613f0382615152565b602082019050919050565b6000613f1b602c8361495d565b9150613f268261517b565b604082019050919050565b6000613f3e60058361496e565b9150613f49826151ca565b600582019050919050565b6000613f6160208361495d565b9150613f6c826151f3565b602082019050919050565b6000613f84600f8361495d565b9150613f8f8261521c565b602082019050919050565b6000613fa760168361495d565b9150613fb282615245565b602082019050919050565b6000613fca601b8361495d565b9150613fd58261526e565b602082019050919050565b6000613fed60298361495d565b9150613ff882615297565b604082019050919050565b600061401060128361495d565b915061401b826152e6565b602082019050919050565b6000614033601c8361495d565b915061403e8261530f565b602082019050919050565b600061405660218361495d565b915061406182615338565b604082019050919050565b600061407960148361495d565b915061408482615387565b602082019050919050565b600061409c60068361496e565b91506140a7826153b0565b600682019050919050565b60006140bf600083614952565b91506140ca826153d9565b600082019050919050565b60006140e260318361495d565b91506140ed826153dc565b604082019050919050565b600061410560168361495d565b91506141108261542b565b602082019050919050565b6000614128602c8361495d565b915061413382615454565b604082019050919050565b600061414b601b8361495d565b9150614156826154a3565b602082019050919050565b600061416e60128361495d565b9150614179826154cc565b602082019050919050565b6000614191601b8361495d565b915061419c826154f5565b602082019050919050565b60006141b460148361495d565b91506141bf8261551e565b602082019050919050565b60006141d7601f8361495d565b91506141e282615547565b602082019050919050565b60006141fa60178361495d565b915061420582615570565b602082019050919050565b61421981614af8565b82525050565b600061422b8286613bb0565b91506142378285613b7f565b91506142438284613b7f565b9150819050949350505050565b600061425c8286613bb0565b91506142688285613b7f565b91506142748284613b7f565b915061427f82613f31565b9150819050949350505050565b60006142988285613bb0565b91506142a48284613b7f565b91506142af8261408f565b91508190509392505050565b60006142c6826140b2565b9150819050919050565b60006020820190506142e56000830184613aef565b92915050565b60006080820190506143006000830187613aef565b61430d6020830186613aef565b61431a6040830185614210565b818103606083015261432c8184613b0d565b905095945050505050565b600060208201905061434c6000830184613afe565b92915050565b6000602082019050818103600083015261436c8184613b46565b905092915050565b6000602082019050818103600083015261438d81613c2f565b9050919050565b600060208201905081810360008301526143ad81613c52565b9050919050565b600060208201905081810360008301526143cd81613c75565b9050919050565b600060208201905081810360008301526143ed81613c98565b9050919050565b6000602082019050818103600083015261440d81613cbb565b9050919050565b6000602082019050818103600083015261442d81613cde565b9050919050565b6000602082019050818103600083015261444d81613d01565b9050919050565b6000602082019050818103600083015261446d81613d24565b9050919050565b6000602082019050818103600083015261448d81613d47565b9050919050565b600060208201905081810360008301526144ad81613d6a565b9050919050565b600060208201905081810360008301526144cd81613d8d565b9050919050565b600060208201905081810360008301526144ed81613db0565b9050919050565b6000602082019050818103600083015261450d81613dd3565b9050919050565b6000602082019050818103600083015261452d81613df6565b9050919050565b6000602082019050818103600083015261454d81613e19565b9050919050565b6000602082019050818103600083015261456d81613e3c565b9050919050565b6000602082019050818103600083015261458d81613e5f565b9050919050565b600060208201905081810360008301526145ad81613e82565b9050919050565b600060208201905081810360008301526145cd81613ea5565b9050919050565b600060208201905081810360008301526145ed81613ec8565b9050919050565b6000602082019050818103600083015261460d81613eeb565b9050919050565b6000602082019050818103600083015261462d81613f0e565b9050919050565b6000602082019050818103600083015261464d81613f54565b9050919050565b6000602082019050818103600083015261466d81613f77565b9050919050565b6000602082019050818103600083015261468d81613f9a565b9050919050565b600060208201905081810360008301526146ad81613fbd565b9050919050565b600060208201905081810360008301526146cd81613fe0565b9050919050565b600060208201905081810360008301526146ed81614003565b9050919050565b6000602082019050818103600083015261470d81614026565b9050919050565b6000602082019050818103600083015261472d81614049565b9050919050565b6000602082019050818103600083015261474d8161406c565b9050919050565b6000602082019050818103600083015261476d816140d5565b9050919050565b6000602082019050818103600083015261478d816140f8565b9050919050565b600060208201905081810360008301526147ad8161411b565b9050919050565b600060208201905081810360008301526147cd8161413e565b9050919050565b600060208201905081810360008301526147ed81614161565b9050919050565b6000602082019050818103600083015261480d81614184565b9050919050565b6000602082019050818103600083015261482d816141a7565b9050919050565b6000602082019050818103600083015261484d816141ca565b9050919050565b6000602082019050818103600083015261486d816141ed565b9050919050565b60006020820190506148896000830184614210565b92915050565b60006148996148aa565b90506148a58282614b76565b919050565b6000604051905090565b600067ffffffffffffffff8211156148cf576148ce614cae565b5b6148d882614cdd565b9050602081019050919050565b600067ffffffffffffffff821115614900576148ff614cae565b5b61490982614cdd565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061498482614af8565b915061498f83614af8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149c4576149c3614c21565b5b828201905092915050565b60006149da82614af8565b91506149e583614af8565b9250826149f5576149f4614c50565b5b828204905092915050565b6000614a0b82614af8565b9150614a1683614af8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a4f57614a4e614c21565b5b828202905092915050565b6000614a6582614af8565b9150614a7083614af8565b925082821015614a8357614a82614c21565b5b828203905092915050565b6000614a9982614ad8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b2f578082015181840152602081019050614b14565b83811115614b3e576000848401525b50505050565b60006002820490506001821680614b5c57607f821691505b60208210811415614b7057614b6f614c7f565b5b50919050565b614b7f82614cdd565b810181811067ffffffffffffffff82111715614b9e57614b9d614cae565b5b80604052505050565b6000614bb282614af8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614be557614be4614c21565b5b600182019050919050565b6000614bfb82614af8565b9150614c0683614af8565b925082614c1657614c15614c50565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455448205472616e73666572204661696c656400000000000000000000000000600082015250565b7f476f6c64656e20526174206e6f74207965742072657665616c65640000000000600082015250565b7f4265666f72652072657665616c00000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416e6420796f75206172653f0000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f416c726561647920617761726465640000000000000000000000000000000000600082015250565b7f53616c652068617320656e646564000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6e7472616374206e6f7420616c6c6f77656420746f20646f207468617400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4265666f72652072657665616c204f522066756c6c2064726f70000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f556e6b6e6f776e20746f6b656e49640000000000000000000000000000000000600082015250565b7f417761726420476f6c64656e2052617420666972737400000000000000000000600082015250565b7f556e6b6e6f776e2077696e6e6572207261742c20746f6b656e49640000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f427579206c696d69742065786365656465640000000000000000000000000000600082015250565b7f4f776e6572206e6f7420616c6c6f77656420746f20646f207468617400000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420617761726420746f2073656c66000000000000000000000000600082015250565b7f302e6a736f6e0000000000000000000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f45786365656473204d41585f5241545f535550504c5900000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420746865206f776e6572206f6620476f6c64656e205261740000000000600082015250565b7f43616e6e6f742073656c6c203020526174730000000000000000000000000000600082015250565b7f5072697a65207468726573686f6c64206e6f7420726561636865640000000000600082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4554482073656e74206973206e6f7420636f7272656374000000000000000000600082015250565b6155a281614a8e565b81146155ad57600080fd5b50565b6155b981614aa0565b81146155c457600080fd5b50565b6155d081614aac565b81146155db57600080fd5b50565b6155e781614af8565b81146155f257600080fd5b5056fe36306632376637623838326135633866333134353364333666393966613163633637623363323534393334653466333237663636303539353939636631306530a2646970667358221220d35947bafd727c28897e6b0b36c8e2307cecc4ce14ebfe30ee57ec3b58e2019064736f6c63430008030033

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

000000000000000000000000bb2911e08a0d9543034fa660968353e52fad18ac

-----Decoded View---------------
Arg [0] : sewer (address): 0xbb2911E08A0D9543034fA660968353e52faD18ac

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


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.