ETH Price: $3,431.38 (-1.46%)
Gas: 5 Gwei

Token

The Realm (REALM)
 

Overview

Max Total Supply

328 REALM

Holders

150

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 REALM
0xb07106b2d4a156ffcdd59b990a6667d4ab0d7ae4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TheRealm

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : TheRealm.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

/*
    ███        ▄█    █▄       ▄████████         ▄████████    ▄████████    ▄████████  ▄█         ▄▄▄▄███▄▄▄▄   
▀█████████▄   ███    ███     ███    ███        ███    ███   ███    ███   ███    ███ ███       ▄██▀▀▀███▀▀▀██▄ 
   ▀███▀▀██   ███    ███     ███    █▀         ███    ███   ███    █▀    ███    ███ ███       ███   ███   ███ 
    ███   ▀  ▄███▄▄▄▄███▄▄  ▄███▄▄▄           ▄███▄▄▄▄██▀  ▄███▄▄▄       ███    ███ ███       ███   ███   ███ 
    ███     ▀▀███▀▀▀▀███▀  ▀▀███▀▀▀          ▀▀███▀▀▀▀▀   ▀▀███▀▀▀     ▀███████████ ███       ███   ███   ███ 
    ███       ███    ███     ███    █▄       ▀███████████   ███    █▄    ███    ███ ███       ███   ███   ███ 
    ███       ███    ███     ███    ███        ███    ███   ███    ███   ███    ███ ███▌    ▄ ███   ███   ███ 
   ▄████▀     ███    █▀      ██████████        ███    ███   ██████████   ███    █▀  █████▄▄██  ▀█   ███   █▀  
                                               ███    ███                           ▀                         

I see you nerd! ⌐⊙_⊙
*/

contract TheRealm is ERC721, ERC721Enumerable, ERC721Burnable, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;

    using ECDSA for bytes32;

    Counters.Counter private _tokenIdCounter;

    uint256 public maxTokenSupply;

    uint256 public constant MAX_MINTS_PER_TXN = 15;
    uint256 public constant AUCTION_REFUND_THRESHOLD = 0.005 ether;

    uint256 public mintPrice = 0.2 ether;

    uint256 public maxPresaleMintsPerWallet = 3;

    bool public preSaleIsActive = false;

    bool public auctionIsActive = false;

    // Auction parameters
    uint256 public auctionDuration;
    uint256 public auctionStartPrice;
    uint256 public auctionStartTime;

    string public baseURI;

    string public provenance;

    uint256 public startingIndexBlock;

    uint256 public startingIndex;

    mapping (address => uint256) private _presaleMints;

    address[6] private _shareholders;

    uint[6] private _shares;

    // Used to validate authorized mint addresses
    address private _signerAddress = 0x9da855aE60135e2e81e73162f3ec071704CB9575;

    event PaymentReleased(address to, uint256 amount);

    constructor(string memory name, string memory symbol, uint256 maxNFTs) ERC721(name, symbol) {
        maxTokenSupply = maxNFTs;

        _shareholders[0] = 0xDB67f2fD397a8C1EfDC290E9fC51f5945f94D8C2;
        _shareholders[1] = 0xB39bdD62A07032366d2CDbd0107fC9fDBaa1b852;
        _shareholders[2] = 0xEE2098Df368D4e564587fDEdB58dE2BDAd4017B8;
        _shareholders[3] = 0x57C2a3A08fE8B36a169f34CABdF836087bBeB5aD;
        _shareholders[4] = 0x11C72B94C3F7F8BfF28CDefEaAA770a95e5eD128;
        _shareholders[5] = 0x5d4365564f5a72CB8626d2D7ed7d48Ce6F00484a;

        _shares[0] = 3125;
        _shares[1] = 3125;
        _shares[2] = 2500;
        _shares[3] = 1000;
        _shares[4] = 150;
        _shares[5] = 100;
    }

    function setMaxTokenSupply(uint256 maxNFTs) public onlyOwner {
        maxTokenSupply = maxNFTs;
    }

    function setMintPrice(uint256 newPrice) public onlyOwner {
        mintPrice = newPrice;
    }

    function setMaxPresaleMintsPerWallet(uint256 newLimit) public onlyOwner {
        maxPresaleMintsPerWallet = newLimit;
    }

    function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner {
        Address.sendValue(to, amount);
        emit PaymentReleased(to, amount);
    }

    function setSignerAddress(address signerAddress) external onlyOwner {
        _signerAddress = signerAddress;
    }

    modifier whenAuctionActive() {
        require(auctionIsActive, "Auction not live");
        _;
    }

    function withdraw(uint256 amount) public onlyOwner {
        require(address(this).balance >= amount, "Insufficient balance");
        
        uint256 totalShares = 10000;
        for (uint256 i = 0; i < 6; i++) {
            uint256 payment = amount * _shares[i] / totalShares;

            Address.sendValue(payable(_shareholders[i]), payment);
            emit PaymentReleased(_shareholders[i], payment);
        }
    }

    /*
    * Mint reserved NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner {        
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(mintAddress, _tokenIdCounter.current());
        }
    }

    /*
    * Pause pre-sale if active, make active if paused.
    */
    function flipPreSaleState() public onlyOwner {
        preSaleIsActive = !preSaleIsActive;
    }

    function hashAddress(address senderAddress) public pure returns (bytes32) {
        return keccak256(abi.encode(
            senderAddress
        ));
    }

    function startAuction(uint256 duration, uint256 startPrice) external onlyOwner {
        require(! auctionIsActive, "Auction already active");
        auctionDuration = duration; // in seconds
        auctionStartPrice = startPrice;
        auctionStartTime = block.timestamp;
        auctionIsActive = true;
    }

    function pauseAuction() external onlyOwner whenAuctionActive {
        auctionIsActive = false;
    }

    /*
    * Mint The Realm NFTs during the pre-sale
    */
    function presaleMint(uint256 numberOfTokens, bytes memory signature) external payable {
        require(preSaleIsActive, "Pre-sale not live");
        require(_presaleMints[msg.sender] + numberOfTokens <= maxPresaleMintsPerWallet, "Max limit exceeded");
        require(_tokenIdCounter.current() + numberOfTokens <= maxTokenSupply, "Max supply reached");
        require(mintPrice * numberOfTokens <= msg.value, "Incorrect ether value");
        require(_signerAddress == hashAddress(msg.sender).toEthSignedMessageHash().recover(signature), "Invalid signature");

        _presaleMints[msg.sender] += numberOfTokens;

        for(uint256 i = 0; i < numberOfTokens; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

    /*
    * Mint The Realm NFTs during the dutch auction
    */
    function auctionMint(uint256 numberOfTokens) external payable whenAuctionActive nonReentrant {
        require(_tokenIdCounter.current() + numberOfTokens <= maxTokenSupply, "Max supply reached");
        require(numberOfTokens <= MAX_MINTS_PER_TXN, "Exceeds max mints");

        uint256 totalMintPrice = getMintPrice() * numberOfTokens;
        require(totalMintPrice <= msg.value, "Incorrect ether value");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }

        if (msg.value > (totalMintPrice + AUCTION_REFUND_THRESHOLD)) {
            // If the refund amount is less than the threshold, it is not worth the gas to refund.
            Address.sendValue(payable(msg.sender), msg.value - totalMintPrice);
        }
    }

    function getMintPrice() public view returns (uint256) {
        uint256 elapsed = auctionStartTime > 0 ? block.timestamp - auctionStartTime : 0;
        if (elapsed >= auctionDuration) {
            return mintPrice;
        } else {
            uint256 currentPrice = ((auctionDuration - elapsed) * (auctionStartPrice - mintPrice)) / auctionDuration + mintPrice;
            return currentPrice;
        }
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        baseURI = newBaseURI;
    }

    /*     
    * Set provenance once it's calculated.
    */
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        provenance = provenanceHash;
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 17 : 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 17 : 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 4 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.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 || 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 || 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 5 of 17 : 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 6 of 17 : 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 7 of 17 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 8 of 17 : 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 9 of 17 : 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 10 of 17 : 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 11 of 17 : 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 12 of 17 : 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 13 of 17 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

File 14 of 17 : 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 15 of 17 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 16 of 17 : 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 17 of 17 : 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
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxNFTs","type":"uint256"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"AUCTION_REFUND_THRESHOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_TXN","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":[],"name":"auctionDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"auctionMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"auctionStartPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState","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":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"senderAddress","type":"address"}],"name":"hashAddress","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":[],"name":"maxPresaleMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMaxPresaleMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxNFTs","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"}],"name":"startAuction","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"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526702c68af0bb140000600e556003600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff021916908315150217905550739da855ae60135e2e81e73162f3ec071704cb9575602560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000ad57600080fd5b50604051620066b3380380620066b38339818101604052810190620000d39190620007a8565b82828160009080519060200190620000ed92919062000520565b5080600190805190602001906200010692919062000520565b50505060006200011b6200051860201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001600b8190555080600d8190555073db67f2fd397a8c1efdc290e9fc51f5945f94d8c26019600060068110620001f657620001f562000842565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b39bdd62a07032366d2cdbd0107fc9fdbaa1b852601960016006811062000262576200026162000842565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ee2098df368d4e564587fdedb58de2bdad4017b86019600260068110620002ce57620002cd62000842565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507357c2a3a08fe8b36a169f34cabdf836087bbeb5ad60196003600681106200033a576200033962000842565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507311c72b94c3f7f8bff28cdefeaaa770a95e5ed1286019600460068110620003a657620003a562000842565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735d4365564f5a72cb8626d2d7ed7d48ce6f00484a601960056006811062000412576200041162000842565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c35601f6000600681106200046c576200046b62000842565b5b0181905550610c35601f6001600681106200048c576200048b62000842565b5b01819055506109c4601f600260068110620004ac57620004ab62000842565b5b01819055506103e8601f600360068110620004cc57620004cb62000842565b5b01819055506096601f600460068110620004eb57620004ea62000842565b5b01819055506064601f6005600681106200050a576200050962000842565b5b0181905550505050620008d6565b600033905090565b8280546200052e90620008a0565b90600052602060002090601f0160209004810192826200055257600085556200059e565b82601f106200056d57805160ff19168380011785556200059e565b828001600101855582156200059e579182015b828111156200059d57825182559160200191906001019062000580565b5b509050620005ad9190620005b1565b5090565b5b80821115620005cc576000816000905550600101620005b2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200063982620005ee565b810181811067ffffffffffffffff821117156200065b576200065a620005ff565b5b80604052505050565b600062000670620005d0565b90506200067e82826200062e565b919050565b600067ffffffffffffffff821115620006a157620006a0620005ff565b5b620006ac82620005ee565b9050602081019050919050565b60005b83811015620006d9578082015181840152602081019050620006bc565b83811115620006e9576000848401525b50505050565b600062000706620007008462000683565b62000664565b905082815260208101848484011115620007255762000724620005e9565b5b62000732848285620006b9565b509392505050565b600082601f830112620007525762000751620005e4565b5b815162000764848260208601620006ef565b91505092915050565b6000819050919050565b62000782816200076d565b81146200078e57600080fd5b50565b600081519050620007a28162000777565b92915050565b600080600060608486031215620007c457620007c3620005da565b5b600084015167ffffffffffffffff811115620007e557620007e4620005df565b5b620007f3868287016200073a565b935050602084015167ffffffffffffffff811115620008175762000816620005df565b5b62000825868287016200073a565b9250506040620008388682870162000791565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008b957607f821691505b60208210811415620008d057620008cf62000871565b5b50919050565b615dcd80620008e66000396000f3fe6080604052600436106102c95760003560e01c80636352211e11610175578063b88d4fde116100dc578063e36d649811610095578063f03255491161006f578063f032554914610ad5578063f2fde38b14610aec578063f4a0a52814610b15578063fd24a85414610b3e576102c9565b8063e36d649814610a42578063e985e9c514610a6d578063eb54f9ec14610aaa576102c9565b8063b88d4fde14610944578063b9ae73641461096d578063c87b56dd14610984578063cb774d47146109c1578063d756985b146109ec578063dfe93fa314610a17576102c9565b80638881396c1161012e5780638881396c146108485780638da5cb5b1461087157806395d89b411461089c578063a22cb465146108c7578063a7f93ebd146108f0578063b07ed9821461091b576102c9565b80636352211e146107365780636817c76c146107735780636c0360eb1461079e57806370a08231146107c9578063715018a6146108065780637406e68f1461081d576102c9565b80632f35e11f116102345780634d7313a4116101ed57806350f7c204116101c757806350f7c2041461068e578063529552fe146106b957806355f804b3146106e457806360b02f701461070d576102c9565b80634d7313a4146105ff5780634f6ccce7146106285780634fee13fc14610665576102c9565b80632f35e11f146104ec5780632f745c59146105175780633aa5fe591461055457806342842e0e1461059157806342966c68146105ba5780634d3554c3146105e3576102c9565b80630f7309e8116102865780630f7309e8146103f0578063109695231461041b57806318160ddd146104445780631f0234d81461046f57806323b872dd1461049a5780632e1a7d4d146104c3576102c9565b806301ffc9a7146102ce578063046dc1661461030b57806306fdde0314610334578063081812fc1461035f578063095ea7b31461039c5780630cbf54c8146103c5575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613e7e565b610b5a565b6040516103029190613ec6565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d9190613f3f565b610b6c565b005b34801561034057600080fd5b50610349610c2c565b6040516103569190614005565b60405180910390f35b34801561036b57600080fd5b506103866004803603810190610381919061405d565b610cbe565b6040516103939190614099565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be91906140b4565b610d43565b005b3480156103d157600080fd5b506103da610e5b565b6040516103e79190614103565b60405180910390f35b3480156103fc57600080fd5b50610405610e61565b6040516104129190614005565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190614253565b610eef565b005b34801561045057600080fd5b50610459610f85565b6040516104669190614103565b60405180910390f35b34801561047b57600080fd5b50610484610f92565b6040516104919190613ec6565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc919061429c565b610fa5565b005b3480156104cf57600080fd5b506104ea60048036038101906104e5919061405d565b611005565b005b3480156104f857600080fd5b506105016111cd565b60405161050e9190614103565b60405180910390f35b34801561052357600080fd5b5061053e600480360381019061053991906140b4565b6111d3565b60405161054b9190614103565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190613f3f565b611278565b6040516105889190614308565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b3919061429c565b6112a8565b005b3480156105c657600080fd5b506105e160048036038101906105dc919061405d565b6112c8565b005b6105fd60048036038101906105f8919061405d565b611324565b005b34801561060b57600080fd5b5061062660048036038101906106219190614361565b611530565b005b34801561063457600080fd5b5061064f600480360381019061064a919061405d565b6115f3565b60405161065c9190614103565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906143a1565b611664565b005b34801561069a57600080fd5b506106a3611764565b6040516106b09190614103565b60405180910390f35b3480156106c557600080fd5b506106ce61176a565b6040516106db9190613ec6565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190614253565b61177d565b005b34801561071957600080fd5b50610734600480360381019061072f91906143e1565b611813565b005b34801561074257600080fd5b5061075d6004803603810190610758919061405d565b6118d2565b60405161076a9190614099565b60405180910390f35b34801561077f57600080fd5b50610788611984565b6040516107959190614103565b60405180910390f35b3480156107aa57600080fd5b506107b361198a565b6040516107c09190614005565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190613f3f565b611a18565b6040516107fd9190614103565b60405180910390f35b34801561081257600080fd5b5061081b611ad0565b005b34801561082957600080fd5b50610832611c0d565b60405161083f9190614103565b60405180910390f35b34801561085457600080fd5b5061086f600480360381019061086a919061405d565b611c18565b005b34801561087d57600080fd5b50610886611c9e565b6040516108939190614099565b60405180910390f35b3480156108a857600080fd5b506108b1611cc8565b6040516108be9190614005565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e9919061444d565b611d5a565b005b3480156108fc57600080fd5b50610905611edb565b6040516109129190614103565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d919061405d565b611f63565b005b34801561095057600080fd5b5061096b6004803603810190610966919061452e565b611fe9565b005b34801561097957600080fd5b5061098261204b565b005b34801561099057600080fd5b506109ab60048036038101906109a6919061405d565b612133565b6040516109b89190614005565b60405180910390f35b3480156109cd57600080fd5b506109d66121da565b6040516109e39190614103565b60405180910390f35b3480156109f857600080fd5b50610a016121e0565b604051610a0e9190614103565b60405180910390f35b348015610a2357600080fd5b50610a2c6121e6565b604051610a399190614103565b60405180910390f35b348015610a4e57600080fd5b50610a576121eb565b604051610a649190614103565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f91906145b1565b6121f1565b604051610aa19190613ec6565b60405180910390f35b348015610ab657600080fd5b50610abf612285565b604051610acc9190614103565b60405180910390f35b348015610ae157600080fd5b50610aea61228b565b005b348015610af857600080fd5b50610b136004803603810190610b0e9190613f3f565b612333565b005b348015610b2157600080fd5b50610b3c6004803603810190610b37919061405d565b6124df565b005b610b586004803603810190610b5391906145f1565b612565565b005b6000610b6582612834565b9050919050565b610b746128ae565b73ffffffffffffffffffffffffffffffffffffffff16610b92611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614610be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf90614699565b60405180910390fd5b80602560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060008054610c3b906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c67906146e8565b8015610cb45780601f10610c8957610100808354040283529160200191610cb4565b820191906000526020600020905b815481529060010190602001808311610c9757829003601f168201915b5050505050905090565b6000610cc9826128b6565b610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff9061478c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4e826118d2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db69061481e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dde6128ae565b73ffffffffffffffffffffffffffffffffffffffff161480610e0d5750610e0c81610e076128ae565b6121f1565b5b610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e43906148b0565b60405180910390fd5b610e568383612922565b505050565b60115481565b60158054610e6e906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a906146e8565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b505050505081565b610ef76128ae565b73ffffffffffffffffffffffffffffffffffffffff16610f15611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290614699565b60405180910390fd5b8060159080519060200190610f81929190613d6f565b5050565b6000600880549050905090565b601060009054906101000a900460ff1681565b610fb6610fb06128ae565b826129db565b610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90614942565b60405180910390fd5b611000838383612ab9565b505050565b61100d6128ae565b73ffffffffffffffffffffffffffffffffffffffff1661102b611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107890614699565b60405180910390fd5b804710156110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb906149ae565b60405180910390fd5b6000612710905060005b60068110156111c857600082601f83600681106110ee576110ed6149ce565b5b0154856110fb9190614a2c565b6111059190614ab5565b90506111466019836006811061111e5761111d6149ce565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612d15565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566019836006811061117b5761117a6149ce565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111ac929190614ae6565b60405180910390a15080806111c090614b0f565b9150506110ce565b505050565b600f5481565b60006111de83611a18565b821061121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121690614bca565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60008160405160200161128b9190614099565b604051602081830303815290604052805190602001209050919050565b6112c383838360405180602001604052806000815250611fe9565b505050565b6112d96112d36128ae565b826129db565b611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f90614c5c565b60405180910390fd5b61132181612e09565b50565b601060019054906101000a900460ff16611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90614cc8565b60405180910390fd5b6002600b5414156113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090614d34565b60405180910390fd5b6002600b81905550600d54816113cf600c612f1a565b6113d99190614d54565b111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190614df6565b60405180910390fd5b600f81111561145e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145590614e62565b60405180910390fd5b600081611469611edb565b6114739190614a2c565b9050348111156114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af90614ece565b60405180910390fd5b60005b828110156114f3576114cd600c612f28565b6114e0336114db600c612f1a565b612f3e565b80806114eb90614b0f565b9150506114bb565b506611c37937e08000816115079190614d54565b3411156115245761152333823461151e9190614eee565b612d15565b5b506001600b8190555050565b6115386128ae565b73ffffffffffffffffffffffffffffffffffffffff16611556611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614699565b60405180910390fd5b6115b68183612d15565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516115e7929190614f81565b60405180910390a15050565b60006115fd610f85565b821061163e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116359061501c565b60405180910390fd5b60088281548110611652576116516149ce565b5b90600052602060002001549050919050565b61166c6128ae565b73ffffffffffffffffffffffffffffffffffffffff1661168a611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790614699565b60405180910390fd5b601060019054906101000a900460ff1615611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790615088565b60405180910390fd5b8160118190555080601281905550426013819055506001601060016101000a81548160ff0219169083151502179055505050565b600d5481565b601060019054906101000a900460ff1681565b6117856128ae565b73ffffffffffffffffffffffffffffffffffffffff166117a3611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090614699565b60405180910390fd5b806014908051906020019061180f929190613d6f565b5050565b61181b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16611839611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690614699565b60405180910390fd5b6000600190505b8281116118cd576118a7600c612f28565b6118ba826118b5600c612f1a565b612f3e565b80806118c590614b0f565b915050611896565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119729061511a565b60405180910390fd5b80915050919050565b600e5481565b60148054611997906146e8565b80601f01602080910402602001604051908101604052809291908181526020018280546119c3906146e8565b8015611a105780601f106119e557610100808354040283529160200191611a10565b820191906000526020600020905b8154815290600101906020018083116119f357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a80906151ac565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ad86128ae565b73ffffffffffffffffffffffffffffffffffffffff16611af6611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614699565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6611c37937e0800081565b611c206128ae565b73ffffffffffffffffffffffffffffffffffffffff16611c3e611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8b90614699565b60405180910390fd5b80600f8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611cd7906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d03906146e8565b8015611d505780601f10611d2557610100808354040283529160200191611d50565b820191906000526020600020905b815481529060010190602001808311611d3357829003601f168201915b5050505050905090565b611d626128ae565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790615218565b60405180910390fd5b8060056000611ddd6128ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e8a6128ae565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ecf9190613ec6565b60405180910390a35050565b600080600060135411611eef576000611efe565b60135442611efd9190614eee565b5b90506011548110611f1457600e54915050611f60565b6000600e54601154600e54601254611f2c9190614eee565b84601154611f3a9190614eee565b611f449190614a2c565b611f4e9190614ab5565b611f589190614d54565b905080925050505b90565b611f6b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16611f89611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690614699565b60405180910390fd5b80600d8190555050565b611ffa611ff46128ae565b836129db565b612039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203090614942565b60405180910390fd5b61204584848484612f5c565b50505050565b6120536128ae565b73ffffffffffffffffffffffffffffffffffffffff16612071611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90614699565b60405180910390fd5b601060019054906101000a900460ff16612116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210d90614cc8565b60405180910390fd5b6000601060016101000a81548160ff021916908315150217905550565b606061213e826128b6565b61217d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612174906152aa565b60405180910390fd5b6000612187612fb8565b905060008151116121a757604051806020016040528060008152506121d2565b806121b18461304a565b6040516020016121c2929190615306565b6040516020818303038152906040525b915050919050565b60175481565b60125481565b600f81565b60165481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b6122936128ae565b73ffffffffffffffffffffffffffffffffffffffff166122b1611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe90614699565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b61233b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16612359611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146123af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a690614699565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561241f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124169061539c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6124e76128ae565b73ffffffffffffffffffffffffffffffffffffffff16612505611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461255b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255290614699565b60405180910390fd5b80600e8190555050565b601060009054906101000a900460ff166125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ab90615408565b60405180910390fd5b600f5482601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126029190614d54565b1115612643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263a90615474565b60405180910390fd5b600d5482612651600c612f1a565b61265b9190614d54565b111561269c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269390614df6565b60405180910390fd5b3482600e546126ab9190614a2c565b11156126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390614ece565b60405180910390fd5b61270f816127016126fc33611278565b6131ab565b6131db90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16602560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461279e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612795906154e0565b60405180910390fd5b81601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ed9190614d54565b9250508190555060005b8281101561282f57612809600c612f28565b61281c33612817600c612f1a565b612f3e565b808061282790614b0f565b9150506127f7565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128a757506128a6826132a5565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612995836118d2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129e6826128b6565b612a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1c90615572565b60405180910390fd5b6000612a30836118d2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a9f57508373ffffffffffffffffffffffffffffffffffffffff16612a8784610cbe565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ab05750612aaf81856121f1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ad9826118d2565b73ffffffffffffffffffffffffffffffffffffffff1614612b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2690615604565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690615696565b60405180910390fd5b612baa838383613387565b612bb5600082612922565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c059190614eee565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5c9190614d54565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4f90615702565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d7e90615753565b60006040518083038185875af1925050503d8060008114612dbb576040519150601f19603f3d011682016040523d82523d6000602084013e612dc0565b606091505b5050905080612e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfb906157da565b60405180910390fd5b505050565b6000612e14826118d2565b9050612e2281600084613387565b612e2d600083612922565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e7d9190614eee565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612f58828260405180602001604052806000815250613397565b5050565b612f67848484612ab9565b612f73848484846133f2565b612fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa99061586c565b60405180910390fd5b50505050565b606060148054612fc7906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054612ff3906146e8565b80156130405780601f1061301557610100808354040283529160200191613040565b820191906000526020600020905b81548152906001019060200180831161302357829003601f168201915b5050505050905090565b60606000821415613092576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131a6565b600082905060005b600082146130c45780806130ad90614b0f565b915050600a826130bd9190614ab5565b915061309a565b60008167ffffffffffffffff8111156130e0576130df614128565b5b6040519080825280601f01601f1916602001820160405280156131125781602001600182028036833780820191505090505b5090505b6000851461319f5760018261312b9190614eee565b9150600a8561313a919061588c565b60306131469190614d54565b60f81b81838151811061315c5761315b6149ce565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131989190614ab5565b9450613116565b8093505050505b919050565b6000816040516020016131be919061592a565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415613208576020850151925060408501519150606085015160001a905061328e565b604085511415613252576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c0191505061328d565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132849061599c565b60405180910390fd5b5b61329a8682858561357a565b935050505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061337057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613380575061337f82613705565b5b9050919050565b61339283838361376f565b505050565b6133a18383613883565b6133ae60008484846133f2565b6133ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e49061586c565b60405180910390fd5b505050565b60006134138473ffffffffffffffffffffffffffffffffffffffff16613a51565b1561356d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261343c6128ae565b8786866040518563ffffffff1660e01b815260040161345e9493929190615a11565b6020604051808303816000875af192505050801561349a57506040513d601f19601f820116820180604052508101906134979190615a72565b60015b61351d573d80600081146134ca576040519150601f19603f3d011682016040523d82523d6000602084013e6134cf565b606091505b50600081511415613515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350c9061586c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613572565b600190505b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c11156135e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d990615b11565b60405180910390fd5b601b8460ff1614806135f75750601c8460ff16145b613636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362d90615ba3565b60405180910390fd5b60006001868686866040516000815260200160405260405161365b9493929190615bdf565b6020604051602081039080840390855afa15801561367d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156136f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f090615c70565b60405180910390fd5b80915050949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61377a838383613a64565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137bd576137b881613a69565b6137fc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137fb576137fa8382613ab2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561383f5761383a81613c1f565b61387e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461387d5761387c8282613cf0565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ea90615cdc565b60405180910390fd5b6138fc816128b6565b1561393c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393390615d48565b60405180910390fd5b61394860008383613387565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139989190614d54565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613abf84611a18565b613ac99190614eee565b9050600060076000848152602001908152602001600020549050818114613bae576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613c339190614eee565b9050600060096000848152602001908152602001600020549050600060088381548110613c6357613c626149ce565b5b906000526020600020015490508060088381548110613c8557613c846149ce565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cd457613cd3615d68565b5b6001900381819060005260206000200160009055905550505050565b6000613cfb83611a18565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d7b906146e8565b90600052602060002090601f016020900481019282613d9d5760008555613de4565b82601f10613db657805160ff1916838001178555613de4565b82800160010185558215613de4579182015b82811115613de3578251825591602001919060010190613dc8565b5b509050613df19190613df5565b5090565b5b80821115613e0e576000816000905550600101613df6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e5b81613e26565b8114613e6657600080fd5b50565b600081359050613e7881613e52565b92915050565b600060208284031215613e9457613e93613e1c565b5b6000613ea284828501613e69565b91505092915050565b60008115159050919050565b613ec081613eab565b82525050565b6000602082019050613edb6000830184613eb7565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613f0c82613ee1565b9050919050565b613f1c81613f01565b8114613f2757600080fd5b50565b600081359050613f3981613f13565b92915050565b600060208284031215613f5557613f54613e1c565b5b6000613f6384828501613f2a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fa6578082015181840152602081019050613f8b565b83811115613fb5576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fd782613f6c565b613fe18185613f77565b9350613ff1818560208601613f88565b613ffa81613fbb565b840191505092915050565b6000602082019050818103600083015261401f8184613fcc565b905092915050565b6000819050919050565b61403a81614027565b811461404557600080fd5b50565b60008135905061405781614031565b92915050565b60006020828403121561407357614072613e1c565b5b600061408184828501614048565b91505092915050565b61409381613f01565b82525050565b60006020820190506140ae600083018461408a565b92915050565b600080604083850312156140cb576140ca613e1c565b5b60006140d985828601613f2a565b92505060206140ea85828601614048565b9150509250929050565b6140fd81614027565b82525050565b600060208201905061411860008301846140f4565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61416082613fbb565b810181811067ffffffffffffffff8211171561417f5761417e614128565b5b80604052505050565b6000614192613e12565b905061419e8282614157565b919050565b600067ffffffffffffffff8211156141be576141bd614128565b5b6141c782613fbb565b9050602081019050919050565b82818337600083830152505050565b60006141f66141f1846141a3565b614188565b90508281526020810184848401111561421257614211614123565b5b61421d8482856141d4565b509392505050565b600082601f83011261423a5761423961411e565b5b813561424a8482602086016141e3565b91505092915050565b60006020828403121561426957614268613e1c565b5b600082013567ffffffffffffffff81111561428757614286613e21565b5b61429384828501614225565b91505092915050565b6000806000606084860312156142b5576142b4613e1c565b5b60006142c386828701613f2a565b93505060206142d486828701613f2a565b92505060406142e586828701614048565b9150509250925092565b6000819050919050565b614302816142ef565b82525050565b600060208201905061431d60008301846142f9565b92915050565b600061432e82613ee1565b9050919050565b61433e81614323565b811461434957600080fd5b50565b60008135905061435b81614335565b92915050565b6000806040838503121561437857614377613e1c565b5b600061438685828601614048565b92505060206143978582860161434c565b9150509250929050565b600080604083850312156143b8576143b7613e1c565b5b60006143c685828601614048565b92505060206143d785828601614048565b9150509250929050565b600080604083850312156143f8576143f7613e1c565b5b600061440685828601614048565b925050602061441785828601613f2a565b9150509250929050565b61442a81613eab565b811461443557600080fd5b50565b60008135905061444781614421565b92915050565b6000806040838503121561446457614463613e1c565b5b600061447285828601613f2a565b925050602061448385828601614438565b9150509250929050565b600067ffffffffffffffff8211156144a8576144a7614128565b5b6144b182613fbb565b9050602081019050919050565b60006144d16144cc8461448d565b614188565b9050828152602081018484840111156144ed576144ec614123565b5b6144f88482856141d4565b509392505050565b600082601f8301126145155761451461411e565b5b81356145258482602086016144be565b91505092915050565b6000806000806080858703121561454857614547613e1c565b5b600061455687828801613f2a565b945050602061456787828801613f2a565b935050604061457887828801614048565b925050606085013567ffffffffffffffff81111561459957614598613e21565b5b6145a587828801614500565b91505092959194509250565b600080604083850312156145c8576145c7613e1c565b5b60006145d685828601613f2a565b92505060206145e785828601613f2a565b9150509250929050565b6000806040838503121561460857614607613e1c565b5b600061461685828601614048565b925050602083013567ffffffffffffffff81111561463757614636613e21565b5b61464385828601614500565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614683602083613f77565b915061468e8261464d565b602082019050919050565b600060208201905081810360008301526146b281614676565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061470057607f821691505b60208210811415614714576147136146b9565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614776602c83613f77565b91506147818261471a565b604082019050919050565b600060208201905081810360008301526147a581614769565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614808602183613f77565b9150614813826147ac565b604082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061489a603883613f77565b91506148a58261483e565b604082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061492c603183613f77565b9150614937826148d0565b604082019050919050565b6000602082019050818103600083015261495b8161491f565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614998601483613f77565b91506149a382614962565b602082019050919050565b600060208201905081810360008301526149c78161498b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a3782614027565b9150614a4283614027565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a7b57614a7a6149fd565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ac082614027565b9150614acb83614027565b925082614adb57614ada614a86565b5b828204905092915050565b6000604082019050614afb600083018561408a565b614b0860208301846140f4565b9392505050565b6000614b1a82614027565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b4d57614b4c6149fd565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614bb4602b83613f77565b9150614bbf82614b58565b604082019050919050565b60006020820190508181036000830152614be381614ba7565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614c46603083613f77565b9150614c5182614bea565b604082019050919050565b60006020820190508181036000830152614c7581614c39565b9050919050565b7f41756374696f6e206e6f74206c69766500000000000000000000000000000000600082015250565b6000614cb2601083613f77565b9150614cbd82614c7c565b602082019050919050565b60006020820190508181036000830152614ce181614ca5565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614d1e601f83613f77565b9150614d2982614ce8565b602082019050919050565b60006020820190508181036000830152614d4d81614d11565b9050919050565b6000614d5f82614027565b9150614d6a83614027565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d9f57614d9e6149fd565b5b828201905092915050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614de0601283613f77565b9150614deb82614daa565b602082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b7f45786365656473206d6178206d696e7473000000000000000000000000000000600082015250565b6000614e4c601183613f77565b9150614e5782614e16565b602082019050919050565b60006020820190508181036000830152614e7b81614e3f565b9050919050565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b6000614eb8601583613f77565b9150614ec382614e82565b602082019050919050565b60006020820190508181036000830152614ee781614eab565b9050919050565b6000614ef982614027565b9150614f0483614027565b925082821015614f1757614f166149fd565b5b828203905092915050565b6000819050919050565b6000614f47614f42614f3d84613ee1565b614f22565b613ee1565b9050919050565b6000614f5982614f2c565b9050919050565b6000614f6b82614f4e565b9050919050565b614f7b81614f60565b82525050565b6000604082019050614f966000830185614f72565b614fa360208301846140f4565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000615006602c83613f77565b915061501182614faa565b604082019050919050565b6000602082019050818103600083015261503581614ff9565b9050919050565b7f41756374696f6e20616c72656164792061637469766500000000000000000000600082015250565b6000615072601683613f77565b915061507d8261503c565b602082019050919050565b600060208201905081810360008301526150a181615065565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615104602983613f77565b915061510f826150a8565b604082019050919050565b60006020820190508181036000830152615133816150f7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615196602a83613f77565b91506151a18261513a565b604082019050919050565b600060208201905081810360008301526151c581615189565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615202601983613f77565b915061520d826151cc565b602082019050919050565b60006020820190508181036000830152615231816151f5565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615294602f83613f77565b915061529f82615238565b604082019050919050565b600060208201905081810360008301526152c381615287565b9050919050565b600081905092915050565b60006152e082613f6c565b6152ea81856152ca565b93506152fa818560208601613f88565b80840191505092915050565b600061531282856152d5565b915061531e82846152d5565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615386602683613f77565b91506153918261532a565b604082019050919050565b600060208201905081810360008301526153b581615379565b9050919050565b7f5072652d73616c65206e6f74206c697665000000000000000000000000000000600082015250565b60006153f2601183613f77565b91506153fd826153bc565b602082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f4d6178206c696d69742065786365656465640000000000000000000000000000600082015250565b600061545e601283613f77565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b60006154ca601183613f77565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061555c602c83613f77565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006155ee602983613f77565b91506155f982615592565b604082019050919050565b6000602082019050818103600083015261561d816155e1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615680602483613f77565b915061568b82615624565b604082019050919050565b600060208201905081810360008301526156af81615673565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006156ec601d83613f77565b91506156f7826156b6565b602082019050919050565b6000602082019050818103600083015261571b816156df565b9050919050565b600081905092915050565b50565b600061573d600083615722565b91506157488261572d565b600082019050919050565b600061575e82615730565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006157c4603a83613f77565b91506157cf82615768565b604082019050919050565b600060208201905081810360008301526157f3816157b7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615856603283613f77565b9150615861826157fa565b604082019050919050565b6000602082019050818103600083015261588581615849565b9050919050565b600061589782614027565b91506158a283614027565b9250826158b2576158b1614a86565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006158f3601c836152ca565b91506158fe826158bd565b601c82019050919050565b6000819050919050565b61592461591f826142ef565b615909565b82525050565b6000615935826158e6565b91506159418284615913565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615986601f83613f77565b915061599182615950565b602082019050919050565b600060208201905081810360008301526159b581615979565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159e3826159bc565b6159ed81856159c7565b93506159fd818560208601613f88565b615a0681613fbb565b840191505092915050565b6000608082019050615a26600083018761408a565b615a33602083018661408a565b615a4060408301856140f4565b8181036060830152615a5281846159d8565b905095945050505050565b600081519050615a6c81613e52565b92915050565b600060208284031215615a8857615a87613e1c565b5b6000615a9684828501615a5d565b91505092915050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615afb602283613f77565b9150615b0682615a9f565b604082019050919050565b60006020820190508181036000830152615b2a81615aee565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b8d602283613f77565b9150615b9882615b31565b604082019050919050565b60006020820190508181036000830152615bbc81615b80565b9050919050565b600060ff82169050919050565b615bd981615bc3565b82525050565b6000608082019050615bf460008301876142f9565b615c016020830186615bd0565b615c0e60408301856142f9565b615c1b60608301846142f9565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615c5a601883613f77565b9150615c6582615c24565b602082019050919050565b60006020820190508181036000830152615c8981615c4d565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615cc6602083613f77565b9150615cd182615c90565b602082019050919050565b60006020820190508181036000830152615cf581615cb9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d32601c83613f77565b9150615d3d82615cfc565b602082019050919050565b60006020820190508181036000830152615d6181615d25565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212201da34ff9e85947b06af785caa51e78dfcbfc18f2ce3c27b1e5451c683ebef8a364736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000022b80000000000000000000000000000000000000000000000000000000000000009546865205265616c6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055245414c4d000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102c95760003560e01c80636352211e11610175578063b88d4fde116100dc578063e36d649811610095578063f03255491161006f578063f032554914610ad5578063f2fde38b14610aec578063f4a0a52814610b15578063fd24a85414610b3e576102c9565b8063e36d649814610a42578063e985e9c514610a6d578063eb54f9ec14610aaa576102c9565b8063b88d4fde14610944578063b9ae73641461096d578063c87b56dd14610984578063cb774d47146109c1578063d756985b146109ec578063dfe93fa314610a17576102c9565b80638881396c1161012e5780638881396c146108485780638da5cb5b1461087157806395d89b411461089c578063a22cb465146108c7578063a7f93ebd146108f0578063b07ed9821461091b576102c9565b80636352211e146107365780636817c76c146107735780636c0360eb1461079e57806370a08231146107c9578063715018a6146108065780637406e68f1461081d576102c9565b80632f35e11f116102345780634d7313a4116101ed57806350f7c204116101c757806350f7c2041461068e578063529552fe146106b957806355f804b3146106e457806360b02f701461070d576102c9565b80634d7313a4146105ff5780634f6ccce7146106285780634fee13fc14610665576102c9565b80632f35e11f146104ec5780632f745c59146105175780633aa5fe591461055457806342842e0e1461059157806342966c68146105ba5780634d3554c3146105e3576102c9565b80630f7309e8116102865780630f7309e8146103f0578063109695231461041b57806318160ddd146104445780631f0234d81461046f57806323b872dd1461049a5780632e1a7d4d146104c3576102c9565b806301ffc9a7146102ce578063046dc1661461030b57806306fdde0314610334578063081812fc1461035f578063095ea7b31461039c5780630cbf54c8146103c5575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613e7e565b610b5a565b6040516103029190613ec6565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d9190613f3f565b610b6c565b005b34801561034057600080fd5b50610349610c2c565b6040516103569190614005565b60405180910390f35b34801561036b57600080fd5b506103866004803603810190610381919061405d565b610cbe565b6040516103939190614099565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be91906140b4565b610d43565b005b3480156103d157600080fd5b506103da610e5b565b6040516103e79190614103565b60405180910390f35b3480156103fc57600080fd5b50610405610e61565b6040516104129190614005565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190614253565b610eef565b005b34801561045057600080fd5b50610459610f85565b6040516104669190614103565b60405180910390f35b34801561047b57600080fd5b50610484610f92565b6040516104919190613ec6565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc919061429c565b610fa5565b005b3480156104cf57600080fd5b506104ea60048036038101906104e5919061405d565b611005565b005b3480156104f857600080fd5b506105016111cd565b60405161050e9190614103565b60405180910390f35b34801561052357600080fd5b5061053e600480360381019061053991906140b4565b6111d3565b60405161054b9190614103565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190613f3f565b611278565b6040516105889190614308565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b3919061429c565b6112a8565b005b3480156105c657600080fd5b506105e160048036038101906105dc919061405d565b6112c8565b005b6105fd60048036038101906105f8919061405d565b611324565b005b34801561060b57600080fd5b5061062660048036038101906106219190614361565b611530565b005b34801561063457600080fd5b5061064f600480360381019061064a919061405d565b6115f3565b60405161065c9190614103565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906143a1565b611664565b005b34801561069a57600080fd5b506106a3611764565b6040516106b09190614103565b60405180910390f35b3480156106c557600080fd5b506106ce61176a565b6040516106db9190613ec6565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190614253565b61177d565b005b34801561071957600080fd5b50610734600480360381019061072f91906143e1565b611813565b005b34801561074257600080fd5b5061075d6004803603810190610758919061405d565b6118d2565b60405161076a9190614099565b60405180910390f35b34801561077f57600080fd5b50610788611984565b6040516107959190614103565b60405180910390f35b3480156107aa57600080fd5b506107b361198a565b6040516107c09190614005565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190613f3f565b611a18565b6040516107fd9190614103565b60405180910390f35b34801561081257600080fd5b5061081b611ad0565b005b34801561082957600080fd5b50610832611c0d565b60405161083f9190614103565b60405180910390f35b34801561085457600080fd5b5061086f600480360381019061086a919061405d565b611c18565b005b34801561087d57600080fd5b50610886611c9e565b6040516108939190614099565b60405180910390f35b3480156108a857600080fd5b506108b1611cc8565b6040516108be9190614005565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e9919061444d565b611d5a565b005b3480156108fc57600080fd5b50610905611edb565b6040516109129190614103565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d919061405d565b611f63565b005b34801561095057600080fd5b5061096b6004803603810190610966919061452e565b611fe9565b005b34801561097957600080fd5b5061098261204b565b005b34801561099057600080fd5b506109ab60048036038101906109a6919061405d565b612133565b6040516109b89190614005565b60405180910390f35b3480156109cd57600080fd5b506109d66121da565b6040516109e39190614103565b60405180910390f35b3480156109f857600080fd5b50610a016121e0565b604051610a0e9190614103565b60405180910390f35b348015610a2357600080fd5b50610a2c6121e6565b604051610a399190614103565b60405180910390f35b348015610a4e57600080fd5b50610a576121eb565b604051610a649190614103565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f91906145b1565b6121f1565b604051610aa19190613ec6565b60405180910390f35b348015610ab657600080fd5b50610abf612285565b604051610acc9190614103565b60405180910390f35b348015610ae157600080fd5b50610aea61228b565b005b348015610af857600080fd5b50610b136004803603810190610b0e9190613f3f565b612333565b005b348015610b2157600080fd5b50610b3c6004803603810190610b37919061405d565b6124df565b005b610b586004803603810190610b5391906145f1565b612565565b005b6000610b6582612834565b9050919050565b610b746128ae565b73ffffffffffffffffffffffffffffffffffffffff16610b92611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614610be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf90614699565b60405180910390fd5b80602560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060008054610c3b906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c67906146e8565b8015610cb45780601f10610c8957610100808354040283529160200191610cb4565b820191906000526020600020905b815481529060010190602001808311610c9757829003601f168201915b5050505050905090565b6000610cc9826128b6565b610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff9061478c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4e826118d2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db69061481e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dde6128ae565b73ffffffffffffffffffffffffffffffffffffffff161480610e0d5750610e0c81610e076128ae565b6121f1565b5b610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e43906148b0565b60405180910390fd5b610e568383612922565b505050565b60115481565b60158054610e6e906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a906146e8565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b505050505081565b610ef76128ae565b73ffffffffffffffffffffffffffffffffffffffff16610f15611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290614699565b60405180910390fd5b8060159080519060200190610f81929190613d6f565b5050565b6000600880549050905090565b601060009054906101000a900460ff1681565b610fb6610fb06128ae565b826129db565b610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90614942565b60405180910390fd5b611000838383612ab9565b505050565b61100d6128ae565b73ffffffffffffffffffffffffffffffffffffffff1661102b611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107890614699565b60405180910390fd5b804710156110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb906149ae565b60405180910390fd5b6000612710905060005b60068110156111c857600082601f83600681106110ee576110ed6149ce565b5b0154856110fb9190614a2c565b6111059190614ab5565b90506111466019836006811061111e5761111d6149ce565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612d15565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566019836006811061117b5761117a6149ce565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111ac929190614ae6565b60405180910390a15080806111c090614b0f565b9150506110ce565b505050565b600f5481565b60006111de83611a18565b821061121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121690614bca565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60008160405160200161128b9190614099565b604051602081830303815290604052805190602001209050919050565b6112c383838360405180602001604052806000815250611fe9565b505050565b6112d96112d36128ae565b826129db565b611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f90614c5c565b60405180910390fd5b61132181612e09565b50565b601060019054906101000a900460ff16611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90614cc8565b60405180910390fd5b6002600b5414156113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090614d34565b60405180910390fd5b6002600b81905550600d54816113cf600c612f1a565b6113d99190614d54565b111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190614df6565b60405180910390fd5b600f81111561145e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145590614e62565b60405180910390fd5b600081611469611edb565b6114739190614a2c565b9050348111156114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af90614ece565b60405180910390fd5b60005b828110156114f3576114cd600c612f28565b6114e0336114db600c612f1a565b612f3e565b80806114eb90614b0f565b9150506114bb565b506611c37937e08000816115079190614d54565b3411156115245761152333823461151e9190614eee565b612d15565b5b506001600b8190555050565b6115386128ae565b73ffffffffffffffffffffffffffffffffffffffff16611556611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614699565b60405180910390fd5b6115b68183612d15565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516115e7929190614f81565b60405180910390a15050565b60006115fd610f85565b821061163e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116359061501c565b60405180910390fd5b60088281548110611652576116516149ce565b5b90600052602060002001549050919050565b61166c6128ae565b73ffffffffffffffffffffffffffffffffffffffff1661168a611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790614699565b60405180910390fd5b601060019054906101000a900460ff1615611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790615088565b60405180910390fd5b8160118190555080601281905550426013819055506001601060016101000a81548160ff0219169083151502179055505050565b600d5481565b601060019054906101000a900460ff1681565b6117856128ae565b73ffffffffffffffffffffffffffffffffffffffff166117a3611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090614699565b60405180910390fd5b806014908051906020019061180f929190613d6f565b5050565b61181b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16611839611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690614699565b60405180910390fd5b6000600190505b8281116118cd576118a7600c612f28565b6118ba826118b5600c612f1a565b612f3e565b80806118c590614b0f565b915050611896565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119729061511a565b60405180910390fd5b80915050919050565b600e5481565b60148054611997906146e8565b80601f01602080910402602001604051908101604052809291908181526020018280546119c3906146e8565b8015611a105780601f106119e557610100808354040283529160200191611a10565b820191906000526020600020905b8154815290600101906020018083116119f357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a80906151ac565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ad86128ae565b73ffffffffffffffffffffffffffffffffffffffff16611af6611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614699565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6611c37937e0800081565b611c206128ae565b73ffffffffffffffffffffffffffffffffffffffff16611c3e611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8b90614699565b60405180910390fd5b80600f8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611cd7906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d03906146e8565b8015611d505780601f10611d2557610100808354040283529160200191611d50565b820191906000526020600020905b815481529060010190602001808311611d3357829003601f168201915b5050505050905090565b611d626128ae565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790615218565b60405180910390fd5b8060056000611ddd6128ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e8a6128ae565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ecf9190613ec6565b60405180910390a35050565b600080600060135411611eef576000611efe565b60135442611efd9190614eee565b5b90506011548110611f1457600e54915050611f60565b6000600e54601154600e54601254611f2c9190614eee565b84601154611f3a9190614eee565b611f449190614a2c565b611f4e9190614ab5565b611f589190614d54565b905080925050505b90565b611f6b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16611f89611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690614699565b60405180910390fd5b80600d8190555050565b611ffa611ff46128ae565b836129db565b612039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203090614942565b60405180910390fd5b61204584848484612f5c565b50505050565b6120536128ae565b73ffffffffffffffffffffffffffffffffffffffff16612071611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90614699565b60405180910390fd5b601060019054906101000a900460ff16612116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210d90614cc8565b60405180910390fd5b6000601060016101000a81548160ff021916908315150217905550565b606061213e826128b6565b61217d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612174906152aa565b60405180910390fd5b6000612187612fb8565b905060008151116121a757604051806020016040528060008152506121d2565b806121b18461304a565b6040516020016121c2929190615306565b6040516020818303038152906040525b915050919050565b60175481565b60125481565b600f81565b60165481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b6122936128ae565b73ffffffffffffffffffffffffffffffffffffffff166122b1611c9e565b73ffffffffffffffffffffffffffffffffffffffff1614612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe90614699565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b61233b6128ae565b73ffffffffffffffffffffffffffffffffffffffff16612359611c9e565b73ffffffffffffffffffffffffffffffffffffffff16146123af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a690614699565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561241f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124169061539c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6124e76128ae565b73ffffffffffffffffffffffffffffffffffffffff16612505611c9e565b73ffffffffffffffffffffffffffffffffffffffff161461255b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255290614699565b60405180910390fd5b80600e8190555050565b601060009054906101000a900460ff166125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ab90615408565b60405180910390fd5b600f5482601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126029190614d54565b1115612643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263a90615474565b60405180910390fd5b600d5482612651600c612f1a565b61265b9190614d54565b111561269c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269390614df6565b60405180910390fd5b3482600e546126ab9190614a2c565b11156126ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e390614ece565b60405180910390fd5b61270f816127016126fc33611278565b6131ab565b6131db90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16602560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461279e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612795906154e0565b60405180910390fd5b81601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ed9190614d54565b9250508190555060005b8281101561282f57612809600c612f28565b61281c33612817600c612f1a565b612f3e565b808061282790614b0f565b9150506127f7565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128a757506128a6826132a5565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612995836118d2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129e6826128b6565b612a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1c90615572565b60405180910390fd5b6000612a30836118d2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a9f57508373ffffffffffffffffffffffffffffffffffffffff16612a8784610cbe565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ab05750612aaf81856121f1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ad9826118d2565b73ffffffffffffffffffffffffffffffffffffffff1614612b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2690615604565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690615696565b60405180910390fd5b612baa838383613387565b612bb5600082612922565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c059190614eee565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5c9190614d54565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4f90615702565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d7e90615753565b60006040518083038185875af1925050503d8060008114612dbb576040519150601f19603f3d011682016040523d82523d6000602084013e612dc0565b606091505b5050905080612e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfb906157da565b60405180910390fd5b505050565b6000612e14826118d2565b9050612e2281600084613387565b612e2d600083612922565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e7d9190614eee565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612f58828260405180602001604052806000815250613397565b5050565b612f67848484612ab9565b612f73848484846133f2565b612fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa99061586c565b60405180910390fd5b50505050565b606060148054612fc7906146e8565b80601f0160208091040260200160405190810160405280929190818152602001828054612ff3906146e8565b80156130405780601f1061301557610100808354040283529160200191613040565b820191906000526020600020905b81548152906001019060200180831161302357829003601f168201915b5050505050905090565b60606000821415613092576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131a6565b600082905060005b600082146130c45780806130ad90614b0f565b915050600a826130bd9190614ab5565b915061309a565b60008167ffffffffffffffff8111156130e0576130df614128565b5b6040519080825280601f01601f1916602001820160405280156131125781602001600182028036833780820191505090505b5090505b6000851461319f5760018261312b9190614eee565b9150600a8561313a919061588c565b60306131469190614d54565b60f81b81838151811061315c5761315b6149ce565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131989190614ab5565b9450613116565b8093505050505b919050565b6000816040516020016131be919061592a565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415613208576020850151925060408501519150606085015160001a905061328e565b604085511415613252576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c0191505061328d565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132849061599c565b60405180910390fd5b5b61329a8682858561357a565b935050505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061337057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613380575061337f82613705565b5b9050919050565b61339283838361376f565b505050565b6133a18383613883565b6133ae60008484846133f2565b6133ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e49061586c565b60405180910390fd5b505050565b60006134138473ffffffffffffffffffffffffffffffffffffffff16613a51565b1561356d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261343c6128ae565b8786866040518563ffffffff1660e01b815260040161345e9493929190615a11565b6020604051808303816000875af192505050801561349a57506040513d601f19601f820116820180604052508101906134979190615a72565b60015b61351d573d80600081146134ca576040519150601f19603f3d011682016040523d82523d6000602084013e6134cf565b606091505b50600081511415613515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350c9061586c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613572565b600190505b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c11156135e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d990615b11565b60405180910390fd5b601b8460ff1614806135f75750601c8460ff16145b613636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362d90615ba3565b60405180910390fd5b60006001868686866040516000815260200160405260405161365b9493929190615bdf565b6020604051602081039080840390855afa15801561367d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156136f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f090615c70565b60405180910390fd5b80915050949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61377a838383613a64565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137bd576137b881613a69565b6137fc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137fb576137fa8382613ab2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561383f5761383a81613c1f565b61387e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461387d5761387c8282613cf0565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ea90615cdc565b60405180910390fd5b6138fc816128b6565b1561393c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393390615d48565b60405180910390fd5b61394860008383613387565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139989190614d54565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613abf84611a18565b613ac99190614eee565b9050600060076000848152602001908152602001600020549050818114613bae576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613c339190614eee565b9050600060096000848152602001908152602001600020549050600060088381548110613c6357613c626149ce565b5b906000526020600020015490508060088381548110613c8557613c846149ce565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cd457613cd3615d68565b5b6001900381819060005260206000200160009055905550505050565b6000613cfb83611a18565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d7b906146e8565b90600052602060002090601f016020900481019282613d9d5760008555613de4565b82601f10613db657805160ff1916838001178555613de4565b82800160010185558215613de4579182015b82811115613de3578251825591602001919060010190613dc8565b5b509050613df19190613df5565b5090565b5b80821115613e0e576000816000905550600101613df6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e5b81613e26565b8114613e6657600080fd5b50565b600081359050613e7881613e52565b92915050565b600060208284031215613e9457613e93613e1c565b5b6000613ea284828501613e69565b91505092915050565b60008115159050919050565b613ec081613eab565b82525050565b6000602082019050613edb6000830184613eb7565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613f0c82613ee1565b9050919050565b613f1c81613f01565b8114613f2757600080fd5b50565b600081359050613f3981613f13565b92915050565b600060208284031215613f5557613f54613e1c565b5b6000613f6384828501613f2a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fa6578082015181840152602081019050613f8b565b83811115613fb5576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fd782613f6c565b613fe18185613f77565b9350613ff1818560208601613f88565b613ffa81613fbb565b840191505092915050565b6000602082019050818103600083015261401f8184613fcc565b905092915050565b6000819050919050565b61403a81614027565b811461404557600080fd5b50565b60008135905061405781614031565b92915050565b60006020828403121561407357614072613e1c565b5b600061408184828501614048565b91505092915050565b61409381613f01565b82525050565b60006020820190506140ae600083018461408a565b92915050565b600080604083850312156140cb576140ca613e1c565b5b60006140d985828601613f2a565b92505060206140ea85828601614048565b9150509250929050565b6140fd81614027565b82525050565b600060208201905061411860008301846140f4565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61416082613fbb565b810181811067ffffffffffffffff8211171561417f5761417e614128565b5b80604052505050565b6000614192613e12565b905061419e8282614157565b919050565b600067ffffffffffffffff8211156141be576141bd614128565b5b6141c782613fbb565b9050602081019050919050565b82818337600083830152505050565b60006141f66141f1846141a3565b614188565b90508281526020810184848401111561421257614211614123565b5b61421d8482856141d4565b509392505050565b600082601f83011261423a5761423961411e565b5b813561424a8482602086016141e3565b91505092915050565b60006020828403121561426957614268613e1c565b5b600082013567ffffffffffffffff81111561428757614286613e21565b5b61429384828501614225565b91505092915050565b6000806000606084860312156142b5576142b4613e1c565b5b60006142c386828701613f2a565b93505060206142d486828701613f2a565b92505060406142e586828701614048565b9150509250925092565b6000819050919050565b614302816142ef565b82525050565b600060208201905061431d60008301846142f9565b92915050565b600061432e82613ee1565b9050919050565b61433e81614323565b811461434957600080fd5b50565b60008135905061435b81614335565b92915050565b6000806040838503121561437857614377613e1c565b5b600061438685828601614048565b92505060206143978582860161434c565b9150509250929050565b600080604083850312156143b8576143b7613e1c565b5b60006143c685828601614048565b92505060206143d785828601614048565b9150509250929050565b600080604083850312156143f8576143f7613e1c565b5b600061440685828601614048565b925050602061441785828601613f2a565b9150509250929050565b61442a81613eab565b811461443557600080fd5b50565b60008135905061444781614421565b92915050565b6000806040838503121561446457614463613e1c565b5b600061447285828601613f2a565b925050602061448385828601614438565b9150509250929050565b600067ffffffffffffffff8211156144a8576144a7614128565b5b6144b182613fbb565b9050602081019050919050565b60006144d16144cc8461448d565b614188565b9050828152602081018484840111156144ed576144ec614123565b5b6144f88482856141d4565b509392505050565b600082601f8301126145155761451461411e565b5b81356145258482602086016144be565b91505092915050565b6000806000806080858703121561454857614547613e1c565b5b600061455687828801613f2a565b945050602061456787828801613f2a565b935050604061457887828801614048565b925050606085013567ffffffffffffffff81111561459957614598613e21565b5b6145a587828801614500565b91505092959194509250565b600080604083850312156145c8576145c7613e1c565b5b60006145d685828601613f2a565b92505060206145e785828601613f2a565b9150509250929050565b6000806040838503121561460857614607613e1c565b5b600061461685828601614048565b925050602083013567ffffffffffffffff81111561463757614636613e21565b5b61464385828601614500565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614683602083613f77565b915061468e8261464d565b602082019050919050565b600060208201905081810360008301526146b281614676565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061470057607f821691505b60208210811415614714576147136146b9565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614776602c83613f77565b91506147818261471a565b604082019050919050565b600060208201905081810360008301526147a581614769565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614808602183613f77565b9150614813826147ac565b604082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061489a603883613f77565b91506148a58261483e565b604082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061492c603183613f77565b9150614937826148d0565b604082019050919050565b6000602082019050818103600083015261495b8161491f565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614998601483613f77565b91506149a382614962565b602082019050919050565b600060208201905081810360008301526149c78161498b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a3782614027565b9150614a4283614027565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a7b57614a7a6149fd565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ac082614027565b9150614acb83614027565b925082614adb57614ada614a86565b5b828204905092915050565b6000604082019050614afb600083018561408a565b614b0860208301846140f4565b9392505050565b6000614b1a82614027565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b4d57614b4c6149fd565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614bb4602b83613f77565b9150614bbf82614b58565b604082019050919050565b60006020820190508181036000830152614be381614ba7565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614c46603083613f77565b9150614c5182614bea565b604082019050919050565b60006020820190508181036000830152614c7581614c39565b9050919050565b7f41756374696f6e206e6f74206c69766500000000000000000000000000000000600082015250565b6000614cb2601083613f77565b9150614cbd82614c7c565b602082019050919050565b60006020820190508181036000830152614ce181614ca5565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614d1e601f83613f77565b9150614d2982614ce8565b602082019050919050565b60006020820190508181036000830152614d4d81614d11565b9050919050565b6000614d5f82614027565b9150614d6a83614027565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d9f57614d9e6149fd565b5b828201905092915050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614de0601283613f77565b9150614deb82614daa565b602082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b7f45786365656473206d6178206d696e7473000000000000000000000000000000600082015250565b6000614e4c601183613f77565b9150614e5782614e16565b602082019050919050565b60006020820190508181036000830152614e7b81614e3f565b9050919050565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b6000614eb8601583613f77565b9150614ec382614e82565b602082019050919050565b60006020820190508181036000830152614ee781614eab565b9050919050565b6000614ef982614027565b9150614f0483614027565b925082821015614f1757614f166149fd565b5b828203905092915050565b6000819050919050565b6000614f47614f42614f3d84613ee1565b614f22565b613ee1565b9050919050565b6000614f5982614f2c565b9050919050565b6000614f6b82614f4e565b9050919050565b614f7b81614f60565b82525050565b6000604082019050614f966000830185614f72565b614fa360208301846140f4565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000615006602c83613f77565b915061501182614faa565b604082019050919050565b6000602082019050818103600083015261503581614ff9565b9050919050565b7f41756374696f6e20616c72656164792061637469766500000000000000000000600082015250565b6000615072601683613f77565b915061507d8261503c565b602082019050919050565b600060208201905081810360008301526150a181615065565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615104602983613f77565b915061510f826150a8565b604082019050919050565b60006020820190508181036000830152615133816150f7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615196602a83613f77565b91506151a18261513a565b604082019050919050565b600060208201905081810360008301526151c581615189565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615202601983613f77565b915061520d826151cc565b602082019050919050565b60006020820190508181036000830152615231816151f5565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615294602f83613f77565b915061529f82615238565b604082019050919050565b600060208201905081810360008301526152c381615287565b9050919050565b600081905092915050565b60006152e082613f6c565b6152ea81856152ca565b93506152fa818560208601613f88565b80840191505092915050565b600061531282856152d5565b915061531e82846152d5565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615386602683613f77565b91506153918261532a565b604082019050919050565b600060208201905081810360008301526153b581615379565b9050919050565b7f5072652d73616c65206e6f74206c697665000000000000000000000000000000600082015250565b60006153f2601183613f77565b91506153fd826153bc565b602082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f4d6178206c696d69742065786365656465640000000000000000000000000000600082015250565b600061545e601283613f77565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b60006154ca601183613f77565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061555c602c83613f77565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006155ee602983613f77565b91506155f982615592565b604082019050919050565b6000602082019050818103600083015261561d816155e1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615680602483613f77565b915061568b82615624565b604082019050919050565b600060208201905081810360008301526156af81615673565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006156ec601d83613f77565b91506156f7826156b6565b602082019050919050565b6000602082019050818103600083015261571b816156df565b9050919050565b600081905092915050565b50565b600061573d600083615722565b91506157488261572d565b600082019050919050565b600061575e82615730565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006157c4603a83613f77565b91506157cf82615768565b604082019050919050565b600060208201905081810360008301526157f3816157b7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615856603283613f77565b9150615861826157fa565b604082019050919050565b6000602082019050818103600083015261588581615849565b9050919050565b600061589782614027565b91506158a283614027565b9250826158b2576158b1614a86565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006158f3601c836152ca565b91506158fe826158bd565b601c82019050919050565b6000819050919050565b61592461591f826142ef565b615909565b82525050565b6000615935826158e6565b91506159418284615913565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615986601f83613f77565b915061599182615950565b602082019050919050565b600060208201905081810360008301526159b581615979565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159e3826159bc565b6159ed81856159c7565b93506159fd818560208601613f88565b615a0681613fbb565b840191505092915050565b6000608082019050615a26600083018761408a565b615a33602083018661408a565b615a4060408301856140f4565b8181036060830152615a5281846159d8565b905095945050505050565b600081519050615a6c81613e52565b92915050565b600060208284031215615a8857615a87613e1c565b5b6000615a9684828501615a5d565b91505092915050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615afb602283613f77565b9150615b0682615a9f565b604082019050919050565b60006020820190508181036000830152615b2a81615aee565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b8d602283613f77565b9150615b9882615b31565b604082019050919050565b60006020820190508181036000830152615bbc81615b80565b9050919050565b600060ff82169050919050565b615bd981615bc3565b82525050565b6000608082019050615bf460008301876142f9565b615c016020830186615bd0565b615c0e60408301856142f9565b615c1b60608301846142f9565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615c5a601883613f77565b9150615c6582615c24565b602082019050919050565b60006020820190508181036000830152615c8981615c4d565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615cc6602083613f77565b9150615cd182615c90565b602082019050919050565b60006020820190508181036000830152615cf581615cb9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d32601c83613f77565b9150615d3d82615cfc565b602082019050919050565b60006020820190508181036000830152615d6181615d25565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212201da34ff9e85947b06af785caa51e78dfcbfc18f2ce3c27b1e5451c683ebef8a364736f6c634300080b0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000022b80000000000000000000000000000000000000000000000000000000000000009546865205265616c6d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055245414c4d000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): The Realm
Arg [1] : symbol (string): REALM
Arg [2] : maxNFTs (uint256): 8888

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000022b8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 546865205265616c6d0000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 5245414c4d000000000000000000000000000000000000000000000000000000


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.