ETH Price: $3,350.52 (-3.72%)

Token

Floor (FLR)
 

Overview

Max Total Supply

3,016 FLR

Holders

1,042

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
hammerman.eth
Balance
6 FLR
0x2937769116151d3609bfcd7b5efd23dee4f4d913
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The FLOOR NFT collection consists of 7,777 AI-generated collectible FLOORs artistically constructed on the Ethereum Blockchain. All 7,777 are programmatically randomly generated from 150+ attributes hand-drawn by DAHR exclusively for this project. Each FLOOR is unique and ser...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FloorNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : floorsNft.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;

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/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";


interface ISpacePunksTreasureKeys {
    function burnKeyForAddress(uint256 typeId, address burnTokenAddress) external;
    function balanceOf(address account, uint256 id) external view returns (uint256);
}

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

    Counters.Counter private _tokenIdCounter;

    uint256 public maxTokenSupply;

    uint256 public maxMintsPerTxn = 5;

    uint256 public constant TREASURE_KEYS_LIMIT = 350;

    uint256 public mintPrice = 0.07 ether;

    bool public saleIsActive = false;

    bool public preSaleIsActive = false;

    bool public buildingIsActive = false;

    string public baseURI;

    string public provenance;

    uint256 public startingIndexBlock;

    uint256 public startingIndex;

    address public _withdrawalWallet;

    address private _manager;

    mapping (address => bool) public presaleWallets;

    event FloorBuilt(uint256 firstTokenId, uint256 secondTokenId, uint256 builtFloorTokenId);

    event PaymentReleased(address to, uint256 amount);

    event EthClaimed(address to, uint256 amount);

    event PreSaleMint(address owner, uint qty);

    constructor(string memory name, string memory symbol, uint256 maxFloorSupply) ERC721(name, symbol) {
        maxTokenSupply = maxFloorSupply;
        _withdrawalWallet = 0x495192b1718475F1e3619Efd3c7d9A8ba3ef6F63;
    }

    function setWithdrawalWallet(address _wallet) public onlyOwner {
        _withdrawalWallet = _wallet;
    }

    function setMaxMintsPerTxn(uint256 amount) public onlyOwner {
        maxMintsPerTxn = amount;
    }

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

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

    function withdraw(uint256 amount) public onlyOwner {
        require(address(this).balance >= amount, "Insufficient balance");
        require(payable(_withdrawalWallet).send(amount));

        emit PaymentReleased(_withdrawalWallet, amount);
    }

    /*
    | Reserve to contract creator
    */
    function reserveMint(uint256 reservedAmount) public onlyOwner {
        uint256 supply = _tokenIdCounter.current();
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _safeMint(msg.sender, supply + i);
            _tokenIdCounter.increment();
        }
    }

    /*
    | Mint to address, eg. giveaway
    */
    function mintToAddress(uint256 reservedAmount, address mintAddress) public onlyOwner {
        uint256 supply = _tokenIdCounter.current();
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _safeMint(mintAddress, supply + i);
            _tokenIdCounter.increment();
        }
    }

    /*
    | Pause sale if active, make active if paused.
    */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

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

    /*
    | Set presale wallets
    */
    function setPresaleWallets(address[] memory _a) public onlyOwner {
        for(uint256 i; i < _a.length; i++){
            presaleWallets[_a[i]] = true;
        }
    }

    function cleanPresaleWallets(address[] memory _a) public onlyOwner {
        for(uint256 i; i < _a.length; i++){
            presaleWallets[_a[i]] = false;
        }
    }

    function buyPresale(uint numberOfTokens) external payable {
        require(preSaleIsActive, "Presale is not active");
        require(numberOfTokens <= maxMintsPerTxn, "You can not mint that many at a time");
        require(totalSupply() + numberOfTokens <= maxTokenSupply - TREASURE_KEYS_LIMIT, "Purchase would exceed max available floors");
        require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");
        require(presaleWallets[msg.sender] == true, "You are not in the presale whitelist");
        for(uint i = 0; i < numberOfTokens; i++){
            uint256 mintIndex = _tokenIdCounter.current() + 1;
            _safeMint(msg.sender, mintIndex);
            _tokenIdCounter.increment();
        }
        emit PreSaleMint(msg.sender, numberOfTokens);
    }

    /*
    | Pause building if active, make active if paused.
    */
    function flipBuildingState() public onlyOwner {
        buildingIsActive = !buildingIsActive;
    }

    /*
    | Mint Floor NFTs
    */
    function mintFloors(uint256 numberOfTokens) public payable {
        require(saleIsActive, "Sale must be active to mint floors");
        require(numberOfTokens <= maxMintsPerTxn, "You can not mint that many at a time");
        require(totalSupply() + numberOfTokens <= maxTokenSupply - TREASURE_KEYS_LIMIT, "Purchase would exceed max available floors");
        require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");

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

        // If we haven't set the starting index, set the starting index block.
        if (startingIndexBlock == 0) {
            startingIndexBlock = block.number;
        }
    }

    function setManager(address manager) public onlyOwner {
        _manager = manager;
    }

    modifier onlyOwnerOrManager() {
        require(owner() == _msgSender() || _manager == _msgSender(), "Caller is not the owner or manager");
        _;
    }

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

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

    /**
     * Set the starting index for the collection.
     */
    function setStartingIndex() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        require(startingIndexBlock != 0, "Starting index block must be set");

        startingIndex = uint(blockhash(startingIndexBlock)) % maxTokenSupply;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes).
        if (block.number - startingIndexBlock > 255) {
            startingIndex = uint(blockhash(block.number - 1)) % maxTokenSupply;
        }
        // Prevent default sequence.
        if (startingIndex == 0) {
            startingIndex = 1;
        }
    }

    /**
     * Set the starting index block for the collection. Usually, this will be set after the first sale mint.
     */
    function emergencySetStartingIndexBlock() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");

        startingIndexBlock = block.number;
    }

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


    function buildFloor(uint256 firstTokenId, uint256 secondTokenId) public {
        require(buildingIsActive && !saleIsActive, "Either sale is currently active or building is inactive");
        require(_isApprovedOrOwner(_msgSender(), firstTokenId) && _isApprovedOrOwner(_msgSender(), secondTokenId), "Caller is not owner nor approved");

        _burn(firstTokenId);
        _burn(secondTokenId);

        uint256 builtFloorTokenId = _tokenIdCounter.current() + 1;
        _safeMint(msg.sender, builtFloorTokenId);
        _tokenIdCounter.increment();

        emit FloorBuilt(firstTokenId, secondTokenId, builtFloorTokenId);
    }

    function mintWithTreasureKey() external {
        ISpacePunksTreasureKeys keys = ISpacePunksTreasureKeys(0x4bc87F553fcE25bd613a7C31b17d6D224A84c7bF);

        require(keys.balanceOf(msg.sender, 7) > 0, "SPC Treasure Keys: must own at least one key");

        keys.burnKeyForAddress(7, msg.sender);
        _mintWithSpacePunksTreasureKey(msg.sender);
    }

    function _mintWithSpacePunksTreasureKey(address _to) private {
        uint256 mintIndex = _tokenIdCounter.current() + 1;
        if (mintIndex <= maxTokenSupply) {
            _safeMint(_to, mintIndex);
            _tokenIdCounter.increment();
        }
    }
}

File 2 of 15 : 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}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. 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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    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` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 15 : 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 5 of 15 : 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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 15 : 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;
        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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 15 : 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, decremented or reset. 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;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 15 : 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) {
        return msg.data;
    }
}

File 12 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 15 : 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);
}

File 15 of 15 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxFloorSupply","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"secondTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"builtFloorTokenId","type":"uint256"}],"name":"FloorBuilt","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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"PreSaleMint","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":"TREASURE_KEYS_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_withdrawalWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"firstTokenId","type":"uint256"},{"internalType":"uint256","name":"secondTokenId","type":"uint256"}],"name":"buildFloor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buildingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"buyPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_a","type":"address[]"}],"name":"cleanPresaleWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipBuildingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","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":[{"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":"maxMintsPerTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintFloors","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintWithTreasureKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"}],"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintsPerTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxFloorSupply","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":"address[]","name":"_a","type":"address[]"}],"name":"setPresaleWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"setWithdrawalWallet","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"}]

60806040526005600d5566f8b0a10e470000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055503480156200007257600080fd5b506040516200643a3803806200643a833981810160405281019062000098919062000366565b82828160009080519060200190620000b292919062000221565b508060019080519060200190620000cb92919062000221565b505050620000ee620000e26200015360201b60201c565b6200015b60201b60201c565b80600c8190555073495192b1718475f1e3619efd3c7d9a8ba3ef6f63601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620005a8565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022f906200049f565b90600052602060002090601f0160209004810192826200025357600085556200029f565b82601f106200026e57805160ff19168380011785556200029f565b828001600101855582156200029f579182015b828111156200029e57825182559160200191906001019062000281565b5b509050620002ae9190620002b2565b5090565b5b80821115620002cd576000816000905550600101620002b3565b5090565b6000620002e8620002e28462000429565b62000400565b9050828152602081018484840111156200030757620003066200056e565b5b6200031484828562000469565b509392505050565b600082601f83011262000334576200033362000569565b5b815162000346848260208601620002d1565b91505092915050565b60008151905062000360816200058e565b92915050565b60008060006060848603121562000382576200038162000578565b5b600084015167ffffffffffffffff811115620003a357620003a262000573565b5b620003b1868287016200031c565b935050602084015167ffffffffffffffff811115620003d557620003d462000573565b5b620003e3868287016200031c565b9250506040620003f6868287016200034f565b9150509250925092565b60006200040c6200041f565b90506200041a8282620004d5565b919050565b6000604051905090565b600067ffffffffffffffff8211156200044757620004466200053a565b5b62000452826200057d565b9050602081019050919050565b6000819050919050565b60005b83811015620004895780820151818401526020810190506200046c565b8381111562000499576000848401525b50505050565b60006002820490506001821680620004b857607f821691505b60208210811415620004cf57620004ce6200050b565b5b50919050565b620004e0826200057d565b810181811067ffffffffffffffff821117156200050257620005016200053a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000599816200045f565b8114620005a557600080fd5b50565b615e8280620005b86000396000f3fe6080604052600436106103355760003560e01c80636817c76c116101ab578063b88d4fde116100f7578063e986655011610095578063f2fde38b1161006f578063f2fde38b14610b78578063f4a0a52814610ba1578063f7c64f9e14610bca578063f98a3ec414610bf357610335565b8063e986655014610b1f578063eb8d244414610b36578063f032554914610b6157610335565b8063cb774d47116100d1578063cb774d4714610a63578063d0ebdbe714610a8e578063e36d649814610ab7578063e985e9c514610ae257610335565b8063b88d4fde146109e6578063c265b23714610a0f578063c87b56dd14610a2657610335565b80638da5cb5b11610164578063a22cb4651161013e578063a22cb46514610940578063a55b556214610969578063af54001e14610992578063b07ed982146109bd57610335565b80638da5cb5b146108bf5780638e2857ce146108ea57806395d89b411461091557610335565b80636817c76c146107d55780636c0360eb1461080057806370a082311461082b578063715018a61461086857806375796f761461087f5780637d17fcbe146108a857610335565b80632e1a7d4d1161028557806349c322171161022357806350f7c204116101fd57806350f7c2041461071b578063512b658d1461074657806355f804b31461076f5780636352211e1461079857610335565b806349c32217146106ab5780634e80619a146106c75780634f6ccce7146106de57610335565b806330b2264e1161025f57806330b2264e1461060557806334918dfd1461064257806342842e0e1461065957806342966c681461068257610335565b80632e1a7d4d146105745780632f745c591461059d57806330481157146105da57610335565b80630f7309e8116102f257806318160ddd116102cc57806318160ddd146104cc5780631f0234d8146104f757806323b872dd14610522578063262a2dec1461054b57610335565b80630f7309e81461044f578063109695231461047a5780631342ff4c146104a357610335565b806301ffc9a71461033a57806306fdde0314610377578063081812fc146103a2578063095ea7b3146103df5780630c7bc14a146104085780630f09136014610433575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906144d9565b610c1c565b60405161036e9190614c4f565b60405180910390f35b34801561038357600080fd5b5061038c610c2e565b6040516103999190614c93565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c4919061457c565b610cc0565b6040516103d69190614b96565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190614450565b610d45565b005b34801561041457600080fd5b5061041d610e5d565b60405161042a9190615095565b60405180910390f35b61044d6004803603810190610448919061457c565b610e63565b005b34801561045b57600080fd5b50610464611019565b6040516104719190614c93565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190614533565b6110a7565b005b3480156104af57600080fd5b506104ca60048036038101906104c5919061457c565b61113d565b005b3480156104d857600080fd5b506104e161120c565b6040516104ee9190615095565b60405180910390f35b34801561050357600080fd5b5061050c611219565b6040516105199190614c4f565b60405180910390f35b34801561052e57600080fd5b506105496004803603810190610544919061433a565b61122c565b005b34801561055757600080fd5b50610572600480360381019061056d9190614616565b61128c565b005b34801561058057600080fd5b5061059b6004803603810190610596919061457c565b6113dd565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190614450565b61155a565b6040516105d19190615095565b60405180910390f35b3480156105e657600080fd5b506105ef6115ff565b6040516105fc9190614b96565b60405180910390f35b34801561061157600080fd5b5061062c600480360381019061062791906142cd565b611625565b6040516106399190614c4f565b60405180910390f35b34801561064e57600080fd5b50610657611645565b005b34801561066557600080fd5b50610680600480360381019061067b919061433a565b6116ed565b005b34801561068e57600080fd5b506106a960048036038101906106a4919061457c565b61170d565b005b6106c560048036038101906106c0919061457c565b611769565b005b3480156106d357600080fd5b506106dc6119ce565b005b3480156106ea57600080fd5b506107056004803603810190610700919061457c565b611b2e565b6040516107129190615095565b60405180910390f35b34801561072757600080fd5b50610730611b9f565b60405161073d9190615095565b60405180910390f35b34801561075257600080fd5b5061076d600480360381019061076891906145d6565b611ba5565b005b34801561077b57600080fd5b5061079660048036038101906107919190614533565b611c75565b005b3480156107a457600080fd5b506107bf60048036038101906107ba919061457c565b611d0b565b6040516107cc9190614b96565b60405180910390f35b3480156107e157600080fd5b506107ea611dbd565b6040516107f79190615095565b60405180910390f35b34801561080c57600080fd5b50610815611dc3565b6040516108229190614c93565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d91906142cd565b611e51565b60405161085f9190615095565b60405180910390f35b34801561087457600080fd5b5061087d611f09565b005b34801561088b57600080fd5b506108a660048036038101906108a191906142cd565b611f91565b005b3480156108b457600080fd5b506108bd612051565b005b3480156108cb57600080fd5b506108d461211b565b6040516108e19190614b96565b60405180910390f35b3480156108f657600080fd5b506108ff612145565b60405161090c9190614c4f565b60405180910390f35b34801561092157600080fd5b5061092a612158565b6040516109379190614c93565b60405180910390f35b34801561094c57600080fd5b5061096760048036038101906109629190614410565b6121ea565b005b34801561097557600080fd5b50610990600480360381019061098b9190614490565b61236b565b005b34801561099e57600080fd5b506109a761247c565b6040516109b49190615095565b60405180910390f35b3480156109c957600080fd5b506109e460048036038101906109df919061457c565b612482565b005b3480156109f257600080fd5b50610a0d6004803603810190610a08919061438d565b612508565b005b348015610a1b57600080fd5b50610a2461256a565b005b348015610a3257600080fd5b50610a4d6004803603810190610a48919061457c565b612612565b604051610a5a9190614c93565b60405180910390f35b348015610a6f57600080fd5b50610a786126b9565b604051610a859190615095565b60405180910390f35b348015610a9a57600080fd5b50610ab56004803603810190610ab091906142cd565b6126bf565b005b348015610ac357600080fd5b50610acc61277f565b604051610ad99190615095565b60405180910390f35b348015610aee57600080fd5b50610b096004803603810190610b0491906142fa565b612785565b604051610b169190614c4f565b60405180910390f35b348015610b2b57600080fd5b50610b34612819565b005b348015610b4257600080fd5b50610b4b61298b565b604051610b589190614c4f565b60405180910390f35b348015610b6d57600080fd5b50610b7661299e565b005b348015610b8457600080fd5b50610b9f6004803603810190610b9a91906142cd565b612a46565b005b348015610bad57600080fd5b50610bc86004803603810190610bc3919061457c565b612b3e565b005b348015610bd657600080fd5b50610bf16004803603810190610bec919061457c565b612bc4565b005b348015610bff57600080fd5b50610c1a6004803603810190610c159190614490565b612c4a565b005b6000610c2782612d5b565b9050919050565b606060008054610c3d906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610c69906153ba565b8015610cb65780601f10610c8b57610100808354040283529160200191610cb6565b820191906000526020600020905b815481529060010190602001808311610c9957829003601f168201915b5050505050905090565b6000610ccb82612dd5565b610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0190614ef5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d5082611d0b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890614f95565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610de0612e41565b73ffffffffffffffffffffffffffffffffffffffff161480610e0f5750610e0e81610e09612e41565b612785565b5b610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590614e35565b60405180910390fd5b610e588383612e49565b505050565b61015e81565b600f60009054906101000a900460ff16610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990614f55565b60405180910390fd5b600d54811115610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90614d55565b60405180910390fd5b61015e600c54610f0791906152be565b81610f1061120c565b610f1a91906151dd565b1115610f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5290614e95565b60405180910390fd5b3481600e54610f6a9190615264565b1115610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290614dd5565b60405180910390fd5b60005b818110156110025760006001610fc4600b612f02565b610fce91906151dd565b9050600c548111610fee57610fe33382612f10565b610fed600b612f2e565b5b508080610ffa9061541d565b915050610fae565b506000601254141561101657436012819055505b50565b60118054611026906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054611052906153ba565b801561109f5780601f106110745761010080835404028352916020019161109f565b820191906000526020600020905b81548152906001019060200180831161108257829003601f168201915b505050505081565b6110af612e41565b73ffffffffffffffffffffffffffffffffffffffff166110cd61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a90614f15565b60405180910390fd5b806011908051906020019061113992919061402e565b5050565b611145612e41565b73ffffffffffffffffffffffffffffffffffffffff1661116361211b565b73ffffffffffffffffffffffffffffffffffffffff16146111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090614f15565b60405180910390fd5b60006111c5600b612f02565b90506000600190505b828111611207576111ea3382846111e591906151dd565b612f10565b6111f4600b612f2e565b80806111ff9061541d565b9150506111ce565b505050565b6000600880549050905090565b600f60019054906101000a900460ff1681565b61123d611237612e41565b82612f44565b61127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390614ff5565b60405180910390fd5b611287838383613022565b505050565b600f60029054906101000a900460ff1680156112b55750600f60009054906101000a900460ff16155b6112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90614eb5565b60405180910390fd5b6113056112ff612e41565b83612f44565b801561131e575061131d611317612e41565b82612f44565b5b61135d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135490614fb5565b60405180910390fd5b6113668261327e565b61136f8161327e565b6000600161137d600b612f02565b61138791906151dd565b90506113933382612f10565b61139d600b612f2e565b7f263e0efe5b3c22f5c71e3a15368da67865028653ec53ebe144743ed822d9c5a78383836040516113d0939291906150b0565b60405180910390a1505050565b6113e5612e41565b73ffffffffffffffffffffffffffffffffffffffff1661140361211b565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090614f15565b60405180910390fd5b8047101561149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390614db5565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506114fc57600080fd5b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161154f929190614c26565b60405180910390a150565b600061156583611e51565b82106115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d90614cb5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60166020528060005260406000206000915054906101000a900460ff1681565b61164d612e41565b73ffffffffffffffffffffffffffffffffffffffff1661166b61211b565b73ffffffffffffffffffffffffffffffffffffffff16146116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614f15565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b61170883838360405180602001604052806000815250612508565b505050565b61171e611718612e41565b82612f44565b61175d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175490615055565b60405180910390fd5b6117668161327e565b50565b600f60019054906101000a900460ff166117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90615035565b60405180910390fd5b600d548111156117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f490614d55565b60405180910390fd5b61015e600c5461180d91906152be565b8161181661120c565b61182091906151dd565b1115611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890614e95565b60405180910390fd5b3481600e546118709190615264565b11156118b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a890614dd5565b60405180910390fd5b60011515601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90615075565b60405180910390fd5b60005b81811015611991576000600161195d600b612f02565b61196791906151dd565b90506119733382612f10565b61197d600b612f2e565b5080806119899061541d565b915050611947565b507f4c4aacb77138163adee65ce2fc6ebc1c7111049703ca6a69485495b46c93935833826040516119c3929190614c26565b60405180910390a150565b6000734bc87f553fce25bd613a7c31b17d6d224a84c7bf905060008173ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360076040518363ffffffff1660e01b8152600401611a24929190614bfd565b60206040518083038186803b158015611a3c57600080fd5b505afa158015611a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7491906145a9565b11611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab90614d15565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166316ed917a6007336040518363ffffffff1660e01b8152600401611af0929190614c6a565b600060405180830381600087803b158015611b0a57600080fd5b505af1158015611b1e573d6000803e3d6000fd5b50505050611b2b3361338f565b50565b6000611b3861120c565b8210611b79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7090615015565b60405180910390fd5b60088281548110611b8d57611b8c615553565b5b90600052602060002001549050919050565b600c5481565b611bad612e41565b73ffffffffffffffffffffffffffffffffffffffff16611bcb61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890614f15565b60405180910390fd5b6000611c2d600b612f02565b90506000600190505b838111611c6f57611c52838284611c4d91906151dd565b612f10565b611c5c600b612f2e565b8080611c679061541d565b915050611c36565b50505050565b611c7d612e41565b73ffffffffffffffffffffffffffffffffffffffff16611c9b61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce890614f15565b60405180910390fd5b8060109080519060200190611d0792919061402e565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dab90614e75565b60405180910390fd5b80915050919050565b600e5481565b60108054611dd0906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054611dfc906153ba565b8015611e495780601f10611e1e57610100808354040283529160200191611e49565b820191906000526020600020905b815481529060010190602001808311611e2c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990614e55565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f11612e41565b73ffffffffffffffffffffffffffffffffffffffff16611f2f61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7c90614f15565b60405180910390fd5b611f8f60006133cb565b565b611f99612e41565b73ffffffffffffffffffffffffffffffffffffffff16611fb761211b565b73ffffffffffffffffffffffffffffffffffffffff161461200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490614f15565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612059612e41565b73ffffffffffffffffffffffffffffffffffffffff1661207761211b565b73ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490614f15565b60405180910390fd5b600060135414612112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210990614e15565b60405180910390fd5b43601281905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60029054906101000a900460ff1681565b606060018054612167906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054612193906153ba565b80156121e05780601f106121b5576101008083540402835291602001916121e0565b820191906000526020600020905b8154815290600101906020018083116121c357829003601f168201915b5050505050905090565b6121f2612e41565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790614d95565b60405180910390fd5b806005600061226d612e41565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661231a612e41565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161235f9190614c4f565b60405180910390a35050565b612373612e41565b73ffffffffffffffffffffffffffffffffffffffff1661239161211b565b73ffffffffffffffffffffffffffffffffffffffff16146123e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123de90614f15565b60405180910390fd5b60005b81518110156124785760006016600084848151811061240c5761240b615553565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806124709061541d565b9150506123ea565b5050565b600d5481565b61248a612e41565b73ffffffffffffffffffffffffffffffffffffffff166124a861211b565b73ffffffffffffffffffffffffffffffffffffffff16146124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f590614f15565b60405180910390fd5b80600c8190555050565b612519612513612e41565b83612f44565b612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90614ff5565b60405180910390fd5b61256484848484613491565b50505050565b612572612e41565b73ffffffffffffffffffffffffffffffffffffffff1661259061211b565b73ffffffffffffffffffffffffffffffffffffffff16146125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dd90614f15565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b606061261d82612dd5565b61265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614f75565b60405180910390fd5b60006126666134ed565b9050600081511161268657604051806020016040528060008152506126b1565b806126908461357f565b6040516020016126a1929190614b72565b6040516020818303038152906040525b915050919050565b60135481565b6126c7612e41565b73ffffffffffffffffffffffffffffffffffffffff166126e561211b565b73ffffffffffffffffffffffffffffffffffffffff161461273b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273290614f15565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612821612e41565b73ffffffffffffffffffffffffffffffffffffffff1661283f61211b565b73ffffffffffffffffffffffffffffffffffffffff1614612895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288c90614f15565b60405180910390fd5b6000601354146128da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d190614e15565b60405180910390fd5b60006012541415612920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291790614fd5565b60405180910390fd5b600c546012544060001c6129349190615466565b60138190555060ff6012544361294a91906152be565b111561297557600c5460014361296091906152be565b4060001c61296e9190615466565b6013819055505b600060135414156129895760016013819055505b565b600f60009054906101000a900460ff1681565b6129a6612e41565b73ffffffffffffffffffffffffffffffffffffffff166129c461211b565b73ffffffffffffffffffffffffffffffffffffffff1614612a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1190614f15565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b612a4e612e41565b73ffffffffffffffffffffffffffffffffffffffff16612a6c61211b565b73ffffffffffffffffffffffffffffffffffffffff1614612ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab990614f15565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2990614cf5565b60405180910390fd5b612b3b816133cb565b50565b612b46612e41565b73ffffffffffffffffffffffffffffffffffffffff16612b6461211b565b73ffffffffffffffffffffffffffffffffffffffff1614612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190614f15565b60405180910390fd5b80600e8190555050565b612bcc612e41565b73ffffffffffffffffffffffffffffffffffffffff16612bea61211b565b73ffffffffffffffffffffffffffffffffffffffff1614612c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3790614f15565b60405180910390fd5b80600d8190555050565b612c52612e41565b73ffffffffffffffffffffffffffffffffffffffff16612c7061211b565b73ffffffffffffffffffffffffffffffffffffffff1614612cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbd90614f15565b60405180910390fd5b60005b8151811015612d5757600160166000848481518110612ceb57612cea615553565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080612d4f9061541d565b915050612cc9565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dce5750612dcd826136e0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ebc83611d0b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b612f2a8282604051806020016040528060008152506137c2565b5050565b6001816000016000828254019250508190555050565b6000612f4f82612dd5565b612f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8590614df5565b60405180910390fd5b6000612f9983611d0b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061300857508373ffffffffffffffffffffffffffffffffffffffff16612ff084610cc0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061301957506130188185612785565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661304282611d0b565b73ffffffffffffffffffffffffffffffffffffffff1614613098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308f90614f35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ff90614d75565b60405180910390fd5b61311383838361381d565b61311e600082612e49565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461316e91906152be565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131c591906151dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061328982611d0b565b90506132978160008461381d565b6132a2600083612e49565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132f291906152be565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600161339d600b612f02565b6133a791906151dd565b9050600c5481116133c7576133bc8282612f10565b6133c6600b612f2e565b5b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61349c848484613022565b6134a88484848461382d565b6134e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134de90614cd5565b60405180910390fd5b50505050565b6060601080546134fc906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054613528906153ba565b80156135755780601f1061354a57610100808354040283529160200191613575565b820191906000526020600020905b81548152906001019060200180831161355857829003601f168201915b5050505050905090565b606060008214156135c7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506136db565b600082905060005b600082146135f95780806135e29061541d565b915050600a826135f29190615233565b91506135cf565b60008167ffffffffffffffff81111561361557613614615582565b5b6040519080825280601f01601f1916602001820160405280156136475781602001600182028036833780820191505090505b5090505b600085146136d45760018261366091906152be565b9150600a8561366f9190615466565b603061367b91906151dd565b60f81b81838151811061369157613690615553565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136cd9190615233565b945061364b565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137ab57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137bb57506137ba826139c4565b5b9050919050565b6137cc8383613a2e565b6137d9600084848461382d565b613818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380f90614cd5565b60405180910390fd5b505050565b613828838383613bfc565b505050565b600061384e8473ffffffffffffffffffffffffffffffffffffffff16613d10565b156139b7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613877612e41565b8786866040518563ffffffff1660e01b81526004016138999493929190614bb1565b602060405180830381600087803b1580156138b357600080fd5b505af19250505080156138e457506040513d601f19601f820116820180604052508101906138e19190614506565b60015b613967573d8060008114613914576040519150601f19603f3d011682016040523d82523d6000602084013e613919565b606091505b5060008151141561395f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395690614cd5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139bc565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9590614ed5565b60405180910390fd5b613aa781612dd5565b15613ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ade90614d35565b60405180910390fd5b613af36000838361381d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b4391906151dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613c07838383613d23565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613c4a57613c4581613d28565b613c89565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c8857613c878382613d71565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ccc57613cc781613ede565b613d0b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613d0a57613d098282613faf565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d7e84611e51565b613d8891906152be565b9050600060076000848152602001908152602001600020549050818114613e6d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ef291906152be565b9050600060096000848152602001908152602001600020549050600060088381548110613f2257613f21615553565b5b906000526020600020015490508060088381548110613f4457613f43615553565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f9357613f92615524565b5b6001900381819060005260206000200160009055905550505050565b6000613fba83611e51565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461403a906153ba565b90600052602060002090601f01602090048101928261405c57600085556140a3565b82601f1061407557805160ff19168380011785556140a3565b828001600101855582156140a3579182015b828111156140a2578251825591602001919060010190614087565b5b5090506140b091906140b4565b5090565b5b808211156140cd5760008160009055506001016140b5565b5090565b60006140e46140df8461510c565b6150e7565b90508083825260208201905082856020860282011115614107576141066155b6565b5b60005b85811015614137578161411d88826141c5565b84526020840193506020830192505060018101905061410a565b5050509392505050565b600061415461414f84615138565b6150e7565b9050828152602081018484840111156141705761416f6155bb565b5b61417b848285615378565b509392505050565b600061419661419184615169565b6150e7565b9050828152602081018484840111156141b2576141b16155bb565b5b6141bd848285615378565b509392505050565b6000813590506141d481615df0565b92915050565b600082601f8301126141ef576141ee6155b1565b5b81356141ff8482602086016140d1565b91505092915050565b60008135905061421781615e07565b92915050565b60008135905061422c81615e1e565b92915050565b60008151905061424181615e1e565b92915050565b600082601f83011261425c5761425b6155b1565b5b813561426c848260208601614141565b91505092915050565b600082601f83011261428a576142896155b1565b5b813561429a848260208601614183565b91505092915050565b6000813590506142b281615e35565b92915050565b6000815190506142c781615e35565b92915050565b6000602082840312156142e3576142e26155c5565b5b60006142f1848285016141c5565b91505092915050565b60008060408385031215614311576143106155c5565b5b600061431f858286016141c5565b9250506020614330858286016141c5565b9150509250929050565b600080600060608486031215614353576143526155c5565b5b6000614361868287016141c5565b9350506020614372868287016141c5565b9250506040614383868287016142a3565b9150509250925092565b600080600080608085870312156143a7576143a66155c5565b5b60006143b5878288016141c5565b94505060206143c6878288016141c5565b93505060406143d7878288016142a3565b925050606085013567ffffffffffffffff8111156143f8576143f76155c0565b5b61440487828801614247565b91505092959194509250565b60008060408385031215614427576144266155c5565b5b6000614435858286016141c5565b925050602061444685828601614208565b9150509250929050565b60008060408385031215614467576144666155c5565b5b6000614475858286016141c5565b9250506020614486858286016142a3565b9150509250929050565b6000602082840312156144a6576144a56155c5565b5b600082013567ffffffffffffffff8111156144c4576144c36155c0565b5b6144d0848285016141da565b91505092915050565b6000602082840312156144ef576144ee6155c5565b5b60006144fd8482850161421d565b91505092915050565b60006020828403121561451c5761451b6155c5565b5b600061452a84828501614232565b91505092915050565b600060208284031215614549576145486155c5565b5b600082013567ffffffffffffffff811115614567576145666155c0565b5b61457384828501614275565b91505092915050565b600060208284031215614592576145916155c5565b5b60006145a0848285016142a3565b91505092915050565b6000602082840312156145bf576145be6155c5565b5b60006145cd848285016142b8565b91505092915050565b600080604083850312156145ed576145ec6155c5565b5b60006145fb858286016142a3565b925050602061460c858286016141c5565b9150509250929050565b6000806040838503121561462d5761462c6155c5565b5b600061463b858286016142a3565b925050602061464c858286016142a3565b9150509250929050565b61465f816152f2565b82525050565b61466e81615304565b82525050565b600061467f8261519a565b61468981856151b0565b9350614699818560208601615387565b6146a2816155ca565b840191505092915050565b6146b681615366565b82525050565b60006146c7826151a5565b6146d181856151c1565b93506146e1818560208601615387565b6146ea816155ca565b840191505092915050565b6000614700826151a5565b61470a81856151d2565b935061471a818560208601615387565b80840191505092915050565b6000614733602b836151c1565b915061473e826155db565b604082019050919050565b60006147566032836151c1565b91506147618261562a565b604082019050919050565b60006147796026836151c1565b915061478482615679565b604082019050919050565b600061479c602c836151c1565b91506147a7826156c8565b604082019050919050565b60006147bf601c836151c1565b91506147ca82615717565b602082019050919050565b60006147e26024836151c1565b91506147ed82615740565b604082019050919050565b60006148056024836151c1565b91506148108261578f565b604082019050919050565b60006148286019836151c1565b9150614833826157de565b602082019050919050565b600061484b6014836151c1565b915061485682615807565b602082019050919050565b600061486e601f836151c1565b915061487982615830565b602082019050919050565b6000614891602c836151c1565b915061489c82615859565b604082019050919050565b60006148b4601d836151c1565b91506148bf826158a8565b602082019050919050565b60006148d76038836151c1565b91506148e2826158d1565b604082019050919050565b60006148fa602a836151c1565b915061490582615920565b604082019050919050565b600061491d6029836151c1565b91506149288261596f565b604082019050919050565b6000614940602a836151c1565b915061494b826159be565b604082019050919050565b60006149636037836151c1565b915061496e82615a0d565b604082019050919050565b60006149866020836151c1565b915061499182615a5c565b602082019050919050565b60006149a9602c836151c1565b91506149b482615a85565b604082019050919050565b60006149cc6020836151c1565b91506149d782615ad4565b602082019050919050565b60006149ef6029836151c1565b91506149fa82615afd565b604082019050919050565b6000614a126022836151c1565b9150614a1d82615b4c565b604082019050919050565b6000614a35602f836151c1565b9150614a4082615b9b565b604082019050919050565b6000614a586021836151c1565b9150614a6382615bea565b604082019050919050565b6000614a7b6020836151c1565b9150614a8682615c39565b602082019050919050565b6000614a9e6020836151c1565b9150614aa982615c62565b602082019050919050565b6000614ac16031836151c1565b9150614acc82615c8b565b604082019050919050565b6000614ae4602c836151c1565b9150614aef82615cda565b604082019050919050565b6000614b076015836151c1565b9150614b1282615d29565b602082019050919050565b6000614b2a6030836151c1565b9150614b3582615d52565b604082019050919050565b6000614b4d6024836151c1565b9150614b5882615da1565b604082019050919050565b614b6c8161535c565b82525050565b6000614b7e82856146f5565b9150614b8a82846146f5565b91508190509392505050565b6000602082019050614bab6000830184614656565b92915050565b6000608082019050614bc66000830187614656565b614bd36020830186614656565b614be06040830185614b63565b8181036060830152614bf28184614674565b905095945050505050565b6000604082019050614c126000830185614656565b614c1f60208301846146ad565b9392505050565b6000604082019050614c3b6000830185614656565b614c486020830184614b63565b9392505050565b6000602082019050614c646000830184614665565b92915050565b6000604082019050614c7f60008301856146ad565b614c8c6020830184614656565b9392505050565b60006020820190508181036000830152614cad81846146bc565b905092915050565b60006020820190508181036000830152614cce81614726565b9050919050565b60006020820190508181036000830152614cee81614749565b9050919050565b60006020820190508181036000830152614d0e8161476c565b9050919050565b60006020820190508181036000830152614d2e8161478f565b9050919050565b60006020820190508181036000830152614d4e816147b2565b9050919050565b60006020820190508181036000830152614d6e816147d5565b9050919050565b60006020820190508181036000830152614d8e816147f8565b9050919050565b60006020820190508181036000830152614dae8161481b565b9050919050565b60006020820190508181036000830152614dce8161483e565b9050919050565b60006020820190508181036000830152614dee81614861565b9050919050565b60006020820190508181036000830152614e0e81614884565b9050919050565b60006020820190508181036000830152614e2e816148a7565b9050919050565b60006020820190508181036000830152614e4e816148ca565b9050919050565b60006020820190508181036000830152614e6e816148ed565b9050919050565b60006020820190508181036000830152614e8e81614910565b9050919050565b60006020820190508181036000830152614eae81614933565b9050919050565b60006020820190508181036000830152614ece81614956565b9050919050565b60006020820190508181036000830152614eee81614979565b9050919050565b60006020820190508181036000830152614f0e8161499c565b9050919050565b60006020820190508181036000830152614f2e816149bf565b9050919050565b60006020820190508181036000830152614f4e816149e2565b9050919050565b60006020820190508181036000830152614f6e81614a05565b9050919050565b60006020820190508181036000830152614f8e81614a28565b9050919050565b60006020820190508181036000830152614fae81614a4b565b9050919050565b60006020820190508181036000830152614fce81614a6e565b9050919050565b60006020820190508181036000830152614fee81614a91565b9050919050565b6000602082019050818103600083015261500e81614ab4565b9050919050565b6000602082019050818103600083015261502e81614ad7565b9050919050565b6000602082019050818103600083015261504e81614afa565b9050919050565b6000602082019050818103600083015261506e81614b1d565b9050919050565b6000602082019050818103600083015261508e81614b40565b9050919050565b60006020820190506150aa6000830184614b63565b92915050565b60006060820190506150c56000830186614b63565b6150d26020830185614b63565b6150df6040830184614b63565b949350505050565b60006150f1615102565b90506150fd82826153ec565b919050565b6000604051905090565b600067ffffffffffffffff82111561512757615126615582565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561515357615152615582565b5b61515c826155ca565b9050602081019050919050565b600067ffffffffffffffff82111561518457615183615582565b5b61518d826155ca565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006151e88261535c565b91506151f38361535c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561522857615227615497565b5b828201905092915050565b600061523e8261535c565b91506152498361535c565b925082615259576152586154c6565b5b828204905092915050565b600061526f8261535c565b915061527a8361535c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152b3576152b2615497565b5b828202905092915050565b60006152c98261535c565b91506152d48361535c565b9250828210156152e7576152e6615497565b5b828203905092915050565b60006152fd8261533c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153718261535c565b9050919050565b82818337600083830152505050565b60005b838110156153a557808201518184015260208101905061538a565b838111156153b4576000848401525b50505050565b600060028204905060018216806153d257607f821691505b602082108114156153e6576153e56154f5565b5b50919050565b6153f5826155ca565b810181811067ffffffffffffffff8211171561541457615413615582565b5b80604052505050565b60006154288261535c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561545b5761545a615497565b5b600182019050919050565b60006154718261535c565b915061547c8361535c565b92508261548c5761548b6154c6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f535043205472656173757265204b6579733a206d757374206f776e206174206c60008201527f65617374206f6e65206b65790000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f752063616e206e6f74206d696e742074686174206d616e7920617420612060008201527f74696d6500000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520666c6f6f727300000000000000000000000000000000000000000000602082015250565b7f4569746865722073616c652069732063757272656e746c79206163746976652060008201527f6f72206275696c64696e6720697320696e616374697665000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420666c6f6f60008201527f7273000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f596f7520617265206e6f7420696e207468652070726573616c6520776869746560008201527f6c69737400000000000000000000000000000000000000000000000000000000602082015250565b615df9816152f2565b8114615e0457600080fd5b50565b615e1081615304565b8114615e1b57600080fd5b50565b615e2781615310565b8114615e3257600080fd5b50565b615e3e8161535c565b8114615e4957600080fd5b5056fea26469706673582212204ab3c5e5b6d630d677338c35aabb3d4f76898df750d88a4a5afc478d79a4945864736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000ce80000000000000000000000000000000000000000000000000000000000000005466c6f6f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003464c520000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103355760003560e01c80636817c76c116101ab578063b88d4fde116100f7578063e986655011610095578063f2fde38b1161006f578063f2fde38b14610b78578063f4a0a52814610ba1578063f7c64f9e14610bca578063f98a3ec414610bf357610335565b8063e986655014610b1f578063eb8d244414610b36578063f032554914610b6157610335565b8063cb774d47116100d1578063cb774d4714610a63578063d0ebdbe714610a8e578063e36d649814610ab7578063e985e9c514610ae257610335565b8063b88d4fde146109e6578063c265b23714610a0f578063c87b56dd14610a2657610335565b80638da5cb5b11610164578063a22cb4651161013e578063a22cb46514610940578063a55b556214610969578063af54001e14610992578063b07ed982146109bd57610335565b80638da5cb5b146108bf5780638e2857ce146108ea57806395d89b411461091557610335565b80636817c76c146107d55780636c0360eb1461080057806370a082311461082b578063715018a61461086857806375796f761461087f5780637d17fcbe146108a857610335565b80632e1a7d4d1161028557806349c322171161022357806350f7c204116101fd57806350f7c2041461071b578063512b658d1461074657806355f804b31461076f5780636352211e1461079857610335565b806349c32217146106ab5780634e80619a146106c75780634f6ccce7146106de57610335565b806330b2264e1161025f57806330b2264e1461060557806334918dfd1461064257806342842e0e1461065957806342966c681461068257610335565b80632e1a7d4d146105745780632f745c591461059d57806330481157146105da57610335565b80630f7309e8116102f257806318160ddd116102cc57806318160ddd146104cc5780631f0234d8146104f757806323b872dd14610522578063262a2dec1461054b57610335565b80630f7309e81461044f578063109695231461047a5780631342ff4c146104a357610335565b806301ffc9a71461033a57806306fdde0314610377578063081812fc146103a2578063095ea7b3146103df5780630c7bc14a146104085780630f09136014610433575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906144d9565b610c1c565b60405161036e9190614c4f565b60405180910390f35b34801561038357600080fd5b5061038c610c2e565b6040516103999190614c93565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c4919061457c565b610cc0565b6040516103d69190614b96565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190614450565b610d45565b005b34801561041457600080fd5b5061041d610e5d565b60405161042a9190615095565b60405180910390f35b61044d6004803603810190610448919061457c565b610e63565b005b34801561045b57600080fd5b50610464611019565b6040516104719190614c93565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190614533565b6110a7565b005b3480156104af57600080fd5b506104ca60048036038101906104c5919061457c565b61113d565b005b3480156104d857600080fd5b506104e161120c565b6040516104ee9190615095565b60405180910390f35b34801561050357600080fd5b5061050c611219565b6040516105199190614c4f565b60405180910390f35b34801561052e57600080fd5b506105496004803603810190610544919061433a565b61122c565b005b34801561055757600080fd5b50610572600480360381019061056d9190614616565b61128c565b005b34801561058057600080fd5b5061059b6004803603810190610596919061457c565b6113dd565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190614450565b61155a565b6040516105d19190615095565b60405180910390f35b3480156105e657600080fd5b506105ef6115ff565b6040516105fc9190614b96565b60405180910390f35b34801561061157600080fd5b5061062c600480360381019061062791906142cd565b611625565b6040516106399190614c4f565b60405180910390f35b34801561064e57600080fd5b50610657611645565b005b34801561066557600080fd5b50610680600480360381019061067b919061433a565b6116ed565b005b34801561068e57600080fd5b506106a960048036038101906106a4919061457c565b61170d565b005b6106c560048036038101906106c0919061457c565b611769565b005b3480156106d357600080fd5b506106dc6119ce565b005b3480156106ea57600080fd5b506107056004803603810190610700919061457c565b611b2e565b6040516107129190615095565b60405180910390f35b34801561072757600080fd5b50610730611b9f565b60405161073d9190615095565b60405180910390f35b34801561075257600080fd5b5061076d600480360381019061076891906145d6565b611ba5565b005b34801561077b57600080fd5b5061079660048036038101906107919190614533565b611c75565b005b3480156107a457600080fd5b506107bf60048036038101906107ba919061457c565b611d0b565b6040516107cc9190614b96565b60405180910390f35b3480156107e157600080fd5b506107ea611dbd565b6040516107f79190615095565b60405180910390f35b34801561080c57600080fd5b50610815611dc3565b6040516108229190614c93565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d91906142cd565b611e51565b60405161085f9190615095565b60405180910390f35b34801561087457600080fd5b5061087d611f09565b005b34801561088b57600080fd5b506108a660048036038101906108a191906142cd565b611f91565b005b3480156108b457600080fd5b506108bd612051565b005b3480156108cb57600080fd5b506108d461211b565b6040516108e19190614b96565b60405180910390f35b3480156108f657600080fd5b506108ff612145565b60405161090c9190614c4f565b60405180910390f35b34801561092157600080fd5b5061092a612158565b6040516109379190614c93565b60405180910390f35b34801561094c57600080fd5b5061096760048036038101906109629190614410565b6121ea565b005b34801561097557600080fd5b50610990600480360381019061098b9190614490565b61236b565b005b34801561099e57600080fd5b506109a761247c565b6040516109b49190615095565b60405180910390f35b3480156109c957600080fd5b506109e460048036038101906109df919061457c565b612482565b005b3480156109f257600080fd5b50610a0d6004803603810190610a08919061438d565b612508565b005b348015610a1b57600080fd5b50610a2461256a565b005b348015610a3257600080fd5b50610a4d6004803603810190610a48919061457c565b612612565b604051610a5a9190614c93565b60405180910390f35b348015610a6f57600080fd5b50610a786126b9565b604051610a859190615095565b60405180910390f35b348015610a9a57600080fd5b50610ab56004803603810190610ab091906142cd565b6126bf565b005b348015610ac357600080fd5b50610acc61277f565b604051610ad99190615095565b60405180910390f35b348015610aee57600080fd5b50610b096004803603810190610b0491906142fa565b612785565b604051610b169190614c4f565b60405180910390f35b348015610b2b57600080fd5b50610b34612819565b005b348015610b4257600080fd5b50610b4b61298b565b604051610b589190614c4f565b60405180910390f35b348015610b6d57600080fd5b50610b7661299e565b005b348015610b8457600080fd5b50610b9f6004803603810190610b9a91906142cd565b612a46565b005b348015610bad57600080fd5b50610bc86004803603810190610bc3919061457c565b612b3e565b005b348015610bd657600080fd5b50610bf16004803603810190610bec919061457c565b612bc4565b005b348015610bff57600080fd5b50610c1a6004803603810190610c159190614490565b612c4a565b005b6000610c2782612d5b565b9050919050565b606060008054610c3d906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610c69906153ba565b8015610cb65780601f10610c8b57610100808354040283529160200191610cb6565b820191906000526020600020905b815481529060010190602001808311610c9957829003601f168201915b5050505050905090565b6000610ccb82612dd5565b610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0190614ef5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d5082611d0b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890614f95565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610de0612e41565b73ffffffffffffffffffffffffffffffffffffffff161480610e0f5750610e0e81610e09612e41565b612785565b5b610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590614e35565b60405180910390fd5b610e588383612e49565b505050565b61015e81565b600f60009054906101000a900460ff16610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990614f55565b60405180910390fd5b600d54811115610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90614d55565b60405180910390fd5b61015e600c54610f0791906152be565b81610f1061120c565b610f1a91906151dd565b1115610f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5290614e95565b60405180910390fd5b3481600e54610f6a9190615264565b1115610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290614dd5565b60405180910390fd5b60005b818110156110025760006001610fc4600b612f02565b610fce91906151dd565b9050600c548111610fee57610fe33382612f10565b610fed600b612f2e565b5b508080610ffa9061541d565b915050610fae565b506000601254141561101657436012819055505b50565b60118054611026906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054611052906153ba565b801561109f5780601f106110745761010080835404028352916020019161109f565b820191906000526020600020905b81548152906001019060200180831161108257829003601f168201915b505050505081565b6110af612e41565b73ffffffffffffffffffffffffffffffffffffffff166110cd61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a90614f15565b60405180910390fd5b806011908051906020019061113992919061402e565b5050565b611145612e41565b73ffffffffffffffffffffffffffffffffffffffff1661116361211b565b73ffffffffffffffffffffffffffffffffffffffff16146111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090614f15565b60405180910390fd5b60006111c5600b612f02565b90506000600190505b828111611207576111ea3382846111e591906151dd565b612f10565b6111f4600b612f2e565b80806111ff9061541d565b9150506111ce565b505050565b6000600880549050905090565b600f60019054906101000a900460ff1681565b61123d611237612e41565b82612f44565b61127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390614ff5565b60405180910390fd5b611287838383613022565b505050565b600f60029054906101000a900460ff1680156112b55750600f60009054906101000a900460ff16155b6112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90614eb5565b60405180910390fd5b6113056112ff612e41565b83612f44565b801561131e575061131d611317612e41565b82612f44565b5b61135d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135490614fb5565b60405180910390fd5b6113668261327e565b61136f8161327e565b6000600161137d600b612f02565b61138791906151dd565b90506113933382612f10565b61139d600b612f2e565b7f263e0efe5b3c22f5c71e3a15368da67865028653ec53ebe144743ed822d9c5a78383836040516113d0939291906150b0565b60405180910390a1505050565b6113e5612e41565b73ffffffffffffffffffffffffffffffffffffffff1661140361211b565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090614f15565b60405180910390fd5b8047101561149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390614db5565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506114fc57600080fd5b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161154f929190614c26565b60405180910390a150565b600061156583611e51565b82106115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d90614cb5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60166020528060005260406000206000915054906101000a900460ff1681565b61164d612e41565b73ffffffffffffffffffffffffffffffffffffffff1661166b61211b565b73ffffffffffffffffffffffffffffffffffffffff16146116c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b890614f15565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b61170883838360405180602001604052806000815250612508565b505050565b61171e611718612e41565b82612f44565b61175d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175490615055565b60405180910390fd5b6117668161327e565b50565b600f60019054906101000a900460ff166117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90615035565b60405180910390fd5b600d548111156117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f490614d55565b60405180910390fd5b61015e600c5461180d91906152be565b8161181661120c565b61182091906151dd565b1115611861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185890614e95565b60405180910390fd5b3481600e546118709190615264565b11156118b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a890614dd5565b60405180910390fd5b60011515601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90615075565b60405180910390fd5b60005b81811015611991576000600161195d600b612f02565b61196791906151dd565b90506119733382612f10565b61197d600b612f2e565b5080806119899061541d565b915050611947565b507f4c4aacb77138163adee65ce2fc6ebc1c7111049703ca6a69485495b46c93935833826040516119c3929190614c26565b60405180910390a150565b6000734bc87f553fce25bd613a7c31b17d6d224a84c7bf905060008173ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360076040518363ffffffff1660e01b8152600401611a24929190614bfd565b60206040518083038186803b158015611a3c57600080fd5b505afa158015611a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7491906145a9565b11611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab90614d15565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166316ed917a6007336040518363ffffffff1660e01b8152600401611af0929190614c6a565b600060405180830381600087803b158015611b0a57600080fd5b505af1158015611b1e573d6000803e3d6000fd5b50505050611b2b3361338f565b50565b6000611b3861120c565b8210611b79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7090615015565b60405180910390fd5b60088281548110611b8d57611b8c615553565b5b90600052602060002001549050919050565b600c5481565b611bad612e41565b73ffffffffffffffffffffffffffffffffffffffff16611bcb61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890614f15565b60405180910390fd5b6000611c2d600b612f02565b90506000600190505b838111611c6f57611c52838284611c4d91906151dd565b612f10565b611c5c600b612f2e565b8080611c679061541d565b915050611c36565b50505050565b611c7d612e41565b73ffffffffffffffffffffffffffffffffffffffff16611c9b61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce890614f15565b60405180910390fd5b8060109080519060200190611d0792919061402e565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dab90614e75565b60405180910390fd5b80915050919050565b600e5481565b60108054611dd0906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054611dfc906153ba565b8015611e495780601f10611e1e57610100808354040283529160200191611e49565b820191906000526020600020905b815481529060010190602001808311611e2c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990614e55565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f11612e41565b73ffffffffffffffffffffffffffffffffffffffff16611f2f61211b565b73ffffffffffffffffffffffffffffffffffffffff1614611f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7c90614f15565b60405180910390fd5b611f8f60006133cb565b565b611f99612e41565b73ffffffffffffffffffffffffffffffffffffffff16611fb761211b565b73ffffffffffffffffffffffffffffffffffffffff161461200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490614f15565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612059612e41565b73ffffffffffffffffffffffffffffffffffffffff1661207761211b565b73ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490614f15565b60405180910390fd5b600060135414612112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210990614e15565b60405180910390fd5b43601281905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60029054906101000a900460ff1681565b606060018054612167906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054612193906153ba565b80156121e05780601f106121b5576101008083540402835291602001916121e0565b820191906000526020600020905b8154815290600101906020018083116121c357829003601f168201915b5050505050905090565b6121f2612e41565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790614d95565b60405180910390fd5b806005600061226d612e41565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661231a612e41565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161235f9190614c4f565b60405180910390a35050565b612373612e41565b73ffffffffffffffffffffffffffffffffffffffff1661239161211b565b73ffffffffffffffffffffffffffffffffffffffff16146123e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123de90614f15565b60405180910390fd5b60005b81518110156124785760006016600084848151811061240c5761240b615553565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806124709061541d565b9150506123ea565b5050565b600d5481565b61248a612e41565b73ffffffffffffffffffffffffffffffffffffffff166124a861211b565b73ffffffffffffffffffffffffffffffffffffffff16146124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f590614f15565b60405180910390fd5b80600c8190555050565b612519612513612e41565b83612f44565b612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90614ff5565b60405180910390fd5b61256484848484613491565b50505050565b612572612e41565b73ffffffffffffffffffffffffffffffffffffffff1661259061211b565b73ffffffffffffffffffffffffffffffffffffffff16146125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dd90614f15565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b606061261d82612dd5565b61265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614f75565b60405180910390fd5b60006126666134ed565b9050600081511161268657604051806020016040528060008152506126b1565b806126908461357f565b6040516020016126a1929190614b72565b6040516020818303038152906040525b915050919050565b60135481565b6126c7612e41565b73ffffffffffffffffffffffffffffffffffffffff166126e561211b565b73ffffffffffffffffffffffffffffffffffffffff161461273b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273290614f15565b60405180910390fd5b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612821612e41565b73ffffffffffffffffffffffffffffffffffffffff1661283f61211b565b73ffffffffffffffffffffffffffffffffffffffff1614612895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288c90614f15565b60405180910390fd5b6000601354146128da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d190614e15565b60405180910390fd5b60006012541415612920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291790614fd5565b60405180910390fd5b600c546012544060001c6129349190615466565b60138190555060ff6012544361294a91906152be565b111561297557600c5460014361296091906152be565b4060001c61296e9190615466565b6013819055505b600060135414156129895760016013819055505b565b600f60009054906101000a900460ff1681565b6129a6612e41565b73ffffffffffffffffffffffffffffffffffffffff166129c461211b565b73ffffffffffffffffffffffffffffffffffffffff1614612a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1190614f15565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b612a4e612e41565b73ffffffffffffffffffffffffffffffffffffffff16612a6c61211b565b73ffffffffffffffffffffffffffffffffffffffff1614612ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab990614f15565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2990614cf5565b60405180910390fd5b612b3b816133cb565b50565b612b46612e41565b73ffffffffffffffffffffffffffffffffffffffff16612b6461211b565b73ffffffffffffffffffffffffffffffffffffffff1614612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190614f15565b60405180910390fd5b80600e8190555050565b612bcc612e41565b73ffffffffffffffffffffffffffffffffffffffff16612bea61211b565b73ffffffffffffffffffffffffffffffffffffffff1614612c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3790614f15565b60405180910390fd5b80600d8190555050565b612c52612e41565b73ffffffffffffffffffffffffffffffffffffffff16612c7061211b565b73ffffffffffffffffffffffffffffffffffffffff1614612cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbd90614f15565b60405180910390fd5b60005b8151811015612d5757600160166000848481518110612ceb57612cea615553565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080612d4f9061541d565b915050612cc9565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dce5750612dcd826136e0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ebc83611d0b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b612f2a8282604051806020016040528060008152506137c2565b5050565b6001816000016000828254019250508190555050565b6000612f4f82612dd5565b612f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8590614df5565b60405180910390fd5b6000612f9983611d0b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061300857508373ffffffffffffffffffffffffffffffffffffffff16612ff084610cc0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061301957506130188185612785565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661304282611d0b565b73ffffffffffffffffffffffffffffffffffffffff1614613098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308f90614f35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ff90614d75565b60405180910390fd5b61311383838361381d565b61311e600082612e49565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461316e91906152be565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131c591906151dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061328982611d0b565b90506132978160008461381d565b6132a2600083612e49565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132f291906152be565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600161339d600b612f02565b6133a791906151dd565b9050600c5481116133c7576133bc8282612f10565b6133c6600b612f2e565b5b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61349c848484613022565b6134a88484848461382d565b6134e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134de90614cd5565b60405180910390fd5b50505050565b6060601080546134fc906153ba565b80601f0160208091040260200160405190810160405280929190818152602001828054613528906153ba565b80156135755780601f1061354a57610100808354040283529160200191613575565b820191906000526020600020905b81548152906001019060200180831161355857829003601f168201915b5050505050905090565b606060008214156135c7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506136db565b600082905060005b600082146135f95780806135e29061541d565b915050600a826135f29190615233565b91506135cf565b60008167ffffffffffffffff81111561361557613614615582565b5b6040519080825280601f01601f1916602001820160405280156136475781602001600182028036833780820191505090505b5090505b600085146136d45760018261366091906152be565b9150600a8561366f9190615466565b603061367b91906151dd565b60f81b81838151811061369157613690615553565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136cd9190615233565b945061364b565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137ab57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137bb57506137ba826139c4565b5b9050919050565b6137cc8383613a2e565b6137d9600084848461382d565b613818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380f90614cd5565b60405180910390fd5b505050565b613828838383613bfc565b505050565b600061384e8473ffffffffffffffffffffffffffffffffffffffff16613d10565b156139b7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613877612e41565b8786866040518563ffffffff1660e01b81526004016138999493929190614bb1565b602060405180830381600087803b1580156138b357600080fd5b505af19250505080156138e457506040513d601f19601f820116820180604052508101906138e19190614506565b60015b613967573d8060008114613914576040519150601f19603f3d011682016040523d82523d6000602084013e613919565b606091505b5060008151141561395f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395690614cd5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139bc565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9590614ed5565b60405180910390fd5b613aa781612dd5565b15613ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ade90614d35565b60405180910390fd5b613af36000838361381d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b4391906151dd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613c07838383613d23565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613c4a57613c4581613d28565b613c89565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613c8857613c878382613d71565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ccc57613cc781613ede565b613d0b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613d0a57613d098282613faf565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d7e84611e51565b613d8891906152be565b9050600060076000848152602001908152602001600020549050818114613e6d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613ef291906152be565b9050600060096000848152602001908152602001600020549050600060088381548110613f2257613f21615553565b5b906000526020600020015490508060088381548110613f4457613f43615553565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f9357613f92615524565b5b6001900381819060005260206000200160009055905550505050565b6000613fba83611e51565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461403a906153ba565b90600052602060002090601f01602090048101928261405c57600085556140a3565b82601f1061407557805160ff19168380011785556140a3565b828001600101855582156140a3579182015b828111156140a2578251825591602001919060010190614087565b5b5090506140b091906140b4565b5090565b5b808211156140cd5760008160009055506001016140b5565b5090565b60006140e46140df8461510c565b6150e7565b90508083825260208201905082856020860282011115614107576141066155b6565b5b60005b85811015614137578161411d88826141c5565b84526020840193506020830192505060018101905061410a565b5050509392505050565b600061415461414f84615138565b6150e7565b9050828152602081018484840111156141705761416f6155bb565b5b61417b848285615378565b509392505050565b600061419661419184615169565b6150e7565b9050828152602081018484840111156141b2576141b16155bb565b5b6141bd848285615378565b509392505050565b6000813590506141d481615df0565b92915050565b600082601f8301126141ef576141ee6155b1565b5b81356141ff8482602086016140d1565b91505092915050565b60008135905061421781615e07565b92915050565b60008135905061422c81615e1e565b92915050565b60008151905061424181615e1e565b92915050565b600082601f83011261425c5761425b6155b1565b5b813561426c848260208601614141565b91505092915050565b600082601f83011261428a576142896155b1565b5b813561429a848260208601614183565b91505092915050565b6000813590506142b281615e35565b92915050565b6000815190506142c781615e35565b92915050565b6000602082840312156142e3576142e26155c5565b5b60006142f1848285016141c5565b91505092915050565b60008060408385031215614311576143106155c5565b5b600061431f858286016141c5565b9250506020614330858286016141c5565b9150509250929050565b600080600060608486031215614353576143526155c5565b5b6000614361868287016141c5565b9350506020614372868287016141c5565b9250506040614383868287016142a3565b9150509250925092565b600080600080608085870312156143a7576143a66155c5565b5b60006143b5878288016141c5565b94505060206143c6878288016141c5565b93505060406143d7878288016142a3565b925050606085013567ffffffffffffffff8111156143f8576143f76155c0565b5b61440487828801614247565b91505092959194509250565b60008060408385031215614427576144266155c5565b5b6000614435858286016141c5565b925050602061444685828601614208565b9150509250929050565b60008060408385031215614467576144666155c5565b5b6000614475858286016141c5565b9250506020614486858286016142a3565b9150509250929050565b6000602082840312156144a6576144a56155c5565b5b600082013567ffffffffffffffff8111156144c4576144c36155c0565b5b6144d0848285016141da565b91505092915050565b6000602082840312156144ef576144ee6155c5565b5b60006144fd8482850161421d565b91505092915050565b60006020828403121561451c5761451b6155c5565b5b600061452a84828501614232565b91505092915050565b600060208284031215614549576145486155c5565b5b600082013567ffffffffffffffff811115614567576145666155c0565b5b61457384828501614275565b91505092915050565b600060208284031215614592576145916155c5565b5b60006145a0848285016142a3565b91505092915050565b6000602082840312156145bf576145be6155c5565b5b60006145cd848285016142b8565b91505092915050565b600080604083850312156145ed576145ec6155c5565b5b60006145fb858286016142a3565b925050602061460c858286016141c5565b9150509250929050565b6000806040838503121561462d5761462c6155c5565b5b600061463b858286016142a3565b925050602061464c858286016142a3565b9150509250929050565b61465f816152f2565b82525050565b61466e81615304565b82525050565b600061467f8261519a565b61468981856151b0565b9350614699818560208601615387565b6146a2816155ca565b840191505092915050565b6146b681615366565b82525050565b60006146c7826151a5565b6146d181856151c1565b93506146e1818560208601615387565b6146ea816155ca565b840191505092915050565b6000614700826151a5565b61470a81856151d2565b935061471a818560208601615387565b80840191505092915050565b6000614733602b836151c1565b915061473e826155db565b604082019050919050565b60006147566032836151c1565b91506147618261562a565b604082019050919050565b60006147796026836151c1565b915061478482615679565b604082019050919050565b600061479c602c836151c1565b91506147a7826156c8565b604082019050919050565b60006147bf601c836151c1565b91506147ca82615717565b602082019050919050565b60006147e26024836151c1565b91506147ed82615740565b604082019050919050565b60006148056024836151c1565b91506148108261578f565b604082019050919050565b60006148286019836151c1565b9150614833826157de565b602082019050919050565b600061484b6014836151c1565b915061485682615807565b602082019050919050565b600061486e601f836151c1565b915061487982615830565b602082019050919050565b6000614891602c836151c1565b915061489c82615859565b604082019050919050565b60006148b4601d836151c1565b91506148bf826158a8565b602082019050919050565b60006148d76038836151c1565b91506148e2826158d1565b604082019050919050565b60006148fa602a836151c1565b915061490582615920565b604082019050919050565b600061491d6029836151c1565b91506149288261596f565b604082019050919050565b6000614940602a836151c1565b915061494b826159be565b604082019050919050565b60006149636037836151c1565b915061496e82615a0d565b604082019050919050565b60006149866020836151c1565b915061499182615a5c565b602082019050919050565b60006149a9602c836151c1565b91506149b482615a85565b604082019050919050565b60006149cc6020836151c1565b91506149d782615ad4565b602082019050919050565b60006149ef6029836151c1565b91506149fa82615afd565b604082019050919050565b6000614a126022836151c1565b9150614a1d82615b4c565b604082019050919050565b6000614a35602f836151c1565b9150614a4082615b9b565b604082019050919050565b6000614a586021836151c1565b9150614a6382615bea565b604082019050919050565b6000614a7b6020836151c1565b9150614a8682615c39565b602082019050919050565b6000614a9e6020836151c1565b9150614aa982615c62565b602082019050919050565b6000614ac16031836151c1565b9150614acc82615c8b565b604082019050919050565b6000614ae4602c836151c1565b9150614aef82615cda565b604082019050919050565b6000614b076015836151c1565b9150614b1282615d29565b602082019050919050565b6000614b2a6030836151c1565b9150614b3582615d52565b604082019050919050565b6000614b4d6024836151c1565b9150614b5882615da1565b604082019050919050565b614b6c8161535c565b82525050565b6000614b7e82856146f5565b9150614b8a82846146f5565b91508190509392505050565b6000602082019050614bab6000830184614656565b92915050565b6000608082019050614bc66000830187614656565b614bd36020830186614656565b614be06040830185614b63565b8181036060830152614bf28184614674565b905095945050505050565b6000604082019050614c126000830185614656565b614c1f60208301846146ad565b9392505050565b6000604082019050614c3b6000830185614656565b614c486020830184614b63565b9392505050565b6000602082019050614c646000830184614665565b92915050565b6000604082019050614c7f60008301856146ad565b614c8c6020830184614656565b9392505050565b60006020820190508181036000830152614cad81846146bc565b905092915050565b60006020820190508181036000830152614cce81614726565b9050919050565b60006020820190508181036000830152614cee81614749565b9050919050565b60006020820190508181036000830152614d0e8161476c565b9050919050565b60006020820190508181036000830152614d2e8161478f565b9050919050565b60006020820190508181036000830152614d4e816147b2565b9050919050565b60006020820190508181036000830152614d6e816147d5565b9050919050565b60006020820190508181036000830152614d8e816147f8565b9050919050565b60006020820190508181036000830152614dae8161481b565b9050919050565b60006020820190508181036000830152614dce8161483e565b9050919050565b60006020820190508181036000830152614dee81614861565b9050919050565b60006020820190508181036000830152614e0e81614884565b9050919050565b60006020820190508181036000830152614e2e816148a7565b9050919050565b60006020820190508181036000830152614e4e816148ca565b9050919050565b60006020820190508181036000830152614e6e816148ed565b9050919050565b60006020820190508181036000830152614e8e81614910565b9050919050565b60006020820190508181036000830152614eae81614933565b9050919050565b60006020820190508181036000830152614ece81614956565b9050919050565b60006020820190508181036000830152614eee81614979565b9050919050565b60006020820190508181036000830152614f0e8161499c565b9050919050565b60006020820190508181036000830152614f2e816149bf565b9050919050565b60006020820190508181036000830152614f4e816149e2565b9050919050565b60006020820190508181036000830152614f6e81614a05565b9050919050565b60006020820190508181036000830152614f8e81614a28565b9050919050565b60006020820190508181036000830152614fae81614a4b565b9050919050565b60006020820190508181036000830152614fce81614a6e565b9050919050565b60006020820190508181036000830152614fee81614a91565b9050919050565b6000602082019050818103600083015261500e81614ab4565b9050919050565b6000602082019050818103600083015261502e81614ad7565b9050919050565b6000602082019050818103600083015261504e81614afa565b9050919050565b6000602082019050818103600083015261506e81614b1d565b9050919050565b6000602082019050818103600083015261508e81614b40565b9050919050565b60006020820190506150aa6000830184614b63565b92915050565b60006060820190506150c56000830186614b63565b6150d26020830185614b63565b6150df6040830184614b63565b949350505050565b60006150f1615102565b90506150fd82826153ec565b919050565b6000604051905090565b600067ffffffffffffffff82111561512757615126615582565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561515357615152615582565b5b61515c826155ca565b9050602081019050919050565b600067ffffffffffffffff82111561518457615183615582565b5b61518d826155ca565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006151e88261535c565b91506151f38361535c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561522857615227615497565b5b828201905092915050565b600061523e8261535c565b91506152498361535c565b925082615259576152586154c6565b5b828204905092915050565b600061526f8261535c565b915061527a8361535c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152b3576152b2615497565b5b828202905092915050565b60006152c98261535c565b91506152d48361535c565b9250828210156152e7576152e6615497565b5b828203905092915050565b60006152fd8261533c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153718261535c565b9050919050565b82818337600083830152505050565b60005b838110156153a557808201518184015260208101905061538a565b838111156153b4576000848401525b50505050565b600060028204905060018216806153d257607f821691505b602082108114156153e6576153e56154f5565b5b50919050565b6153f5826155ca565b810181811067ffffffffffffffff8211171561541457615413615582565b5b80604052505050565b60006154288261535c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561545b5761545a615497565b5b600182019050919050565b60006154718261535c565b915061547c8361535c565b92508261548c5761548b6154c6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f535043205472656173757265204b6579733a206d757374206f776e206174206c60008201527f65617374206f6e65206b65790000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f752063616e206e6f74206d696e742074686174206d616e7920617420612060008201527f74696d6500000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520666c6f6f727300000000000000000000000000000000000000000000602082015250565b7f4569746865722073616c652069732063757272656e746c79206163746976652060008201527f6f72206275696c64696e6720697320696e616374697665000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420666c6f6f60008201527f7273000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f596f7520617265206e6f7420696e207468652070726573616c6520776869746560008201527f6c69737400000000000000000000000000000000000000000000000000000000602082015250565b615df9816152f2565b8114615e0457600080fd5b50565b615e1081615304565b8114615e1b57600080fd5b50565b615e2781615310565b8114615e3257600080fd5b50565b615e3e8161535c565b8114615e4957600080fd5b5056fea26469706673582212204ab3c5e5b6d630d677338c35aabb3d4f76898df750d88a4a5afc478d79a4945864736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000ce80000000000000000000000000000000000000000000000000000000000000005466c6f6f720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003464c520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Floor
Arg [1] : symbol (string): FLR
Arg [2] : maxFloorSupply (uint256): 3304

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000ce8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 466c6f6f72000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 464c520000000000000000000000000000000000000000000000000000000000


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.