ETH Price: $3,270.36 (-4.25%)

Token

CocoDraco (CCD)
 

Overview

Max Total Supply

133 CCD

Holders

36

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CCD
0x5aE81D989986FBcEc9B6fF938eEFA93DC9c2f61F
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CocoDraco

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : CocoDraco.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721Pausable.sol";
import "./Gem.sol";

contract CocoDraco is ERC721Enumerable, Ownable, ERC721Burnable, ERC721Pausable {

    using Strings for uint256;
    uint256 public idTracker = 0;
    uint256 public publicTracker = 0;
    uint256 public teamTracker = 0;
    uint256 public rareTracker = 0;

    Gem public gem;

    uint256 public constant PUBLIC_SALE = 2888;
    uint256 public constant TEAM_SUPPLY = 444;
    uint256 public constant MAX_BLACK_GOLD_DRACO = 1556;

    string public constant BASE_EXTENSION = ".json";
 
    uint256 public price = 68 * 1e15;
    uint256 public rarePrice = 120 * 1e18;
    
    uint256 public constant MAX_BY_MINT = 10;
    uint256 public constant WHITELIST_START = 1638162000; // Monday, 29 November 2021 05:00:00 GMT
    bool public onlyWhitelist = true;
    mapping(address => uint256) public whitelistAddresses;
   
    string public baseTokenURI;

    event CreateDraco(uint256 indexed id);

    constructor(string memory _baseTokenURI, Gem _gem) ERC721("CocoDraco", "CCD") {
        setBaseURI(_baseTokenURI);
        gem = _gem;
    }

    modifier saleIsOpen {
        if (_msgSender() != owner()) {
            require(!paused(), "Pausable: paused");
        }
        _;
    }

    function addWhitelist(address[] memory _addresses) public onlyOwner {
        for(uint256 i = 0 ; i < _addresses.length; i++){
            whitelistAddresses[_addresses[i]] = 3;
        }
    }
    
    function setWhitelist(bool _onlyWhitelist) public onlyOwner {
        onlyWhitelist = _onlyWhitelist;
    }

    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function setRarePrice(uint256 _rarePrice) public onlyOwner {
        rarePrice = _rarePrice;
    }

    function devMint(address _to, uint256 _count) public onlyOwner {
        require(teamTracker + _count <= TEAM_SUPPLY, "Max limit");
        require(_count <= 30, "Exceeds number");

        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_to, idTracker);
            teamTracker += 1;
            idTracker += 1;
        }
    }

    function mint(address _to, uint256 _count) public payable saleIsOpen {
        uint256 total = price * _count;
        require(WHITELIST_START <= block.timestamp, "Not started");
        require(publicTracker + _count <= PUBLIC_SALE, "Max limit");
        require(_count <= MAX_BY_MINT, "Exceeds number");
        require(msg.value >= total, "Value below price");
        if(onlyWhitelist){
            require(whitelistAddresses[msg.sender] >= _count, "Can't mint more than 3");
            whitelistAddresses[msg.sender] -= _count;
        }

        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_to, idTracker);
            publicTracker += 1;
            idTracker += 1;
        }
    }

    function rareMint(address _to, uint256 _count) public saleIsOpen {
        uint256 total = rarePrice * _count;
        require(rareTracker + _count <= MAX_BLACK_GOLD_DRACO, "Max limit");
        require(_count <= MAX_BY_MINT, "Exceeds number");
        require(gem.balanceOf(msg.sender) >= total, "Not enough GEM balance");
        
        gem.burn(
            msg.sender,
            total
        );

        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_to, rareTracker + PUBLIC_SALE + TEAM_SUPPLY);
            rareTracker += 1;
        }
    }

    function _mintAnElement(address _to, uint id) private {
        // uint id = _totalSupply();
        _safeMint(_to, id);
        emit CreateDraco(id);
    }

    function maxElement() public pure returns (uint256) {
        return PUBLIC_SALE + TEAM_SUPPLY + MAX_BLACK_GOLD_DRACO;
    }

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

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

    function tokenURI(uint256 _id) public view virtual override returns (string memory) {
         require(
            _exists(_id),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, _id.toString(), BASE_EXTENSION))
            : "";
    }

    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokensId;
    }

    function pause(bool val) public onlyOwner {
        if (val == true) {
            _pause();
            return;
        }
        _unpause();
    }

    function withdraw() public onlyOwner {
        require(
        payable(owner()).send(address(this).balance),
        "Withdraw unsuccessful"
        );
    }

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

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

File 2 of 21 : 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 21 : 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 21 : 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 21 : 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 21 : ERC721Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Ownable, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);
        if (_msgSender() != owner()) {
            require(!paused(), "ERC721Pausable: token transfer while paused");
        }
    }
}

File 7 of 21 : Gem.sol
// contracts/Cheeth.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

contract Gem is ERC20Burnable, Ownable {

    uint256 public constant MAX_WALLET_STAKED = 10;
    uint256 public constant EMISSION_RATE = uint256(40 * 1e18) / 86400;
    // 40 GEM / Draco / 86400

    uint256 public constant TREASURY_SUPPLY = 1000000 * 1e18;
    uint256 public endTime = 2000000000; // Wednesday, 18 May 2033 03:33:20
    uint256 public constant STAKING_START = 1638248400; // Tuesday, 30 November 2021 05:00:00 GMT
    address nullAddress = 0x0000000000000000000000000000000000000000;

    address public cocoDracoAddress;

    //Mapping of draco to timestamp
    mapping(uint256 => uint256) internal tokenIdToTimeStamp;

    //Mapping of draco to staker
    mapping(uint256 => address) internal tokenIdToStaker;

    //Mapping of staker to draco
    mapping(address => uint256[]) internal stakerToTokenIds;

    modifier onlyDracoAddress() {
        require(msg.sender == cocoDracoAddress, "Not draco address");
        _;
    }
    
    constructor() ERC20("Gem", "GEM") {
        _mint(msg.sender, TREASURY_SUPPLY);
    }

    function setCocoDracoAddress(address _cocoDracoAddress) public onlyOwner {
        cocoDracoAddress = _cocoDracoAddress;
    }

    function setEndTime(uint256 _endTime) public onlyOwner {
        endTime = _endTime;
    }

    function getTokensStaked(address staker)
        public
        view
        returns (uint256[] memory)
    {
        return stakerToTokenIds[staker];
    }

    function remove(address staker, uint256 index) internal {
        if (index >= stakerToTokenIds[staker].length) return;

        for (uint256 i = index; i < stakerToTokenIds[staker].length - 1; i++) {
            stakerToTokenIds[staker][i] = stakerToTokenIds[staker][i + 1];
        }
        stakerToTokenIds[staker].pop();
    }

    function removeTokenIdFromStaker(address staker, uint256 tokenId) internal {
        for (uint256 i = 0; i < stakerToTokenIds[staker].length; i++) {
            if (stakerToTokenIds[staker][i] == tokenId) {
                //This is the tokenId to remove;
                remove(staker, i);
            }
        }
    }

    function stakeByIds(uint256[] memory tokenIds) public {
        require(
            stakerToTokenIds[msg.sender].length + tokenIds.length <=
                MAX_WALLET_STAKED,
            "Max 10 staked draco"
        );

        require(block.timestamp >= STAKING_START, "Stake not started");
        require(block.timestamp <= endTime , "Stake ended");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                IERC721(cocoDracoAddress).ownerOf(tokenIds[i]) == msg.sender &&
                    tokenIdToStaker[tokenIds[i]] == nullAddress,
                "Token must be stakable by you!"
            );

            IERC721(cocoDracoAddress).transferFrom(
                msg.sender,
                address(this),
                tokenIds[i]
            );

            stakerToTokenIds[msg.sender].push(tokenIds[i]);

            tokenIdToTimeStamp[tokenIds[i]] = block.timestamp;
            tokenIdToStaker[tokenIds[i]] = msg.sender;
        }
    }

    function unstakeAll() public {
        require(
            stakerToTokenIds[msg.sender].length > 0,
            "Must have at least one token staked!"
        );
        uint256 totalRewards = 0;

        for (uint256 i = stakerToTokenIds[msg.sender].length; i > 0; i--) {
            uint256 tokenId = stakerToTokenIds[msg.sender][i - 1];

            IERC721(cocoDracoAddress).transferFrom(
                address(this),
                msg.sender,
                tokenId
            );

            totalRewards = totalRewards + getRewardsByTokenId(tokenId);

            removeTokenIdFromStaker(msg.sender, tokenId);

            tokenIdToStaker[tokenId] = nullAddress;
        }

        _mint(msg.sender, totalRewards);
    }

    function unstakeByIds(uint256[] memory tokenIds) public {
        uint256 totalRewards = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Message Sender was not original staker!"
            );

            IERC721(cocoDracoAddress).transferFrom(
                address(this),
                msg.sender,
                tokenIds[i]
            );

            totalRewards = totalRewards + getRewardsByTokenId(tokenIds[i]);

            removeTokenIdFromStaker(msg.sender, tokenIds[i]);

            tokenIdToStaker[tokenIds[i]] = nullAddress;
        }

        _mint(msg.sender, totalRewards);
    }

    function claimByTokenId(uint256 tokenId) public {
        require(
            tokenIdToStaker[tokenId] == msg.sender,
            "Token is not claimable by you!"
        );
        
        _mint(
            msg.sender,
            getRewardsByTokenId(tokenId)
        );

        tokenIdToTimeStamp[tokenId] = block.timestamp;
    }

    function claimAll() public {
        uint256[] memory tokenIds = stakerToTokenIds[msg.sender];
        uint256 totalRewards = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Token is not claimable by you!"
            );

            totalRewards = totalRewards + getRewardsByTokenId(tokenIds[i]);
            tokenIdToTimeStamp[tokenIds[i]] = block.timestamp;
        }

        _mint(msg.sender, totalRewards);
    }

    function getAllRewards(address staker) public view returns (uint256) {
        uint256[] memory tokenIds = stakerToTokenIds[staker];
        uint256 totalRewards = 0;

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

        return totalRewards;
    }

    function getRewardsByTokenId(uint256 tokenId)
        public
        view
        returns (uint256)
    {
        require(
            tokenIdToStaker[tokenId] != nullAddress,
            "Token is not staked!"
        );
        
        uint256 secondsStaked = block.timestamp - tokenIdToTimeStamp[tokenId];
        if(block.timestamp > endTime){
            secondsStaked = endTime - tokenIdToTimeStamp[tokenId];
        }
        return secondsStaked * EMISSION_RATE;
    }

    function getStaker(uint256 tokenId) public view returns (address) {
        return tokenIdToStaker[tokenId];
    }

    function burn(address _user, uint256 _amount) public onlyDracoAddress {
        _burn(_user, _amount);
    }
}

File 8 of 21 : 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 21 : 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 21 : 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 21 : 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 12 of 21 : 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 13 of 21 : 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 14 of 21 : 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 15 of 21 : 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 16 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 17 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 18 of 21 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

File 19 of 21 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

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

File 20 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 21 of 21 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"contract Gem","name":"_gem","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"CreateDraco","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BASE_EXTENSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BLACK_GOLD_DRACO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BY_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gem","outputs":[{"internalType":"contract Gem","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"idTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxElement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"rareMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rarePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rareTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rarePrice","type":"uint256"}],"name":"setRarePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_onlyWhitelist","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","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":[],"name":"teamTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_id","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":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b556000600c556000600d556000600e5566f195a3c4ba000060105568068155a43676e000006011556001601260006101000a81548160ff0219169083151502179055503480156200005857600080fd5b5060405162005e9338038062005e9383398181016040528101906200007e91906200048f565b6040518060400160405280600981526020017f436f636f447261636f00000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f434344000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010292919062000356565b5080600190805190602001906200011b92919062000356565b5050506200013e62000132620001b360201b60201c565b620001bb60201b60201c565b6000600a60146101000a81548160ff0219169083151502179055506200016a826200028160201b60201c565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200073e565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000291620001b360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002b76200032c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000310576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003079062000510565b60405180910390fd5b80601490805190602001906200032892919062000356565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003649062000620565b90600052602060002090601f016020900481019282620003885760008555620003d4565b82601f10620003a357805160ff1916838001178555620003d4565b82800160010185558215620003d4579182015b82811115620003d3578251825591602001919060010190620003b6565b5b509050620003e39190620003e7565b5090565b5b8082111562000402576000816000905550600101620003e8565b5090565b60006200041d62000417846200055b565b62000532565b9050828152602081018484840111156200043657600080fd5b62000443848285620005ea565b509392505050565b6000815190506200045c8162000724565b92915050565b600082601f8301126200047457600080fd5b81516200048684826020860162000406565b91505092915050565b60008060408385031215620004a357600080fd5b600083015167ffffffffffffffff811115620004be57600080fd5b620004cc8582860162000462565b9250506020620004df858286016200044b565b9150509250929050565b6000620004f860208362000591565b91506200050582620006fb565b602082019050919050565b600060208201905081810360008301526200052b81620004e9565b9050919050565b60006200053e62000551565b90506200054c828262000656565b919050565b6000604051905090565b600067ffffffffffffffff821115620005795762000578620006bb565b5b6200058482620006ea565b9050602081019050919050565b600082825260208201905092915050565b6000620005af82620005ca565b9050919050565b6000620005c382620005a2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200060a578082015181840152602081019050620005ed565b838111156200061a576000848401525b50505050565b600060028204905060018216806200063957607f821691505b6020821081141562000650576200064f6200068c565b5b50919050565b6200066182620006ea565b810181811067ffffffffffffffff82111715620006835762000682620006bb565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6200072f81620005b6565b81146200073b57600080fd5b50565b615745806200074e6000396000f3fe6080604052600436106102ae5760003560e01c80637910a26f11610175578063aedb952b116100dc578063d547cfb711610095578063e985e9c51161006f578063e985e9c514610a95578063edac985b14610ad2578063f2fde38b14610afb578063f958a65714610b24576102ae565b8063d547cfb714610a14578063d879128514610a3f578063df3fdf0014610a6a576102ae565b8063aedb952b14610904578063b6f75d651461092f578063b88d4fde14610958578063b9c3a81814610981578063c14b30b7146109ac578063c87b56dd146109d7576102ae565b80639d5a3f7c1161012e5780639d5a3f7c14610804578063a035b1fe1461082f578063a22cb4651461085a578063a3f568c614610883578063a88e0996146108ae578063ab90fb79146108d9576102ae565b80637910a26f146107045780637bd2bea71461072f5780638ad5de281461075a5780638da5cb5b1461078557806391b7f5ed146107b057806395d89b41146107d9576102ae565b806342966c6811610219578063627804af116101d2578063627804af146105e45780636352211e1461060d578063660e01e81461064a57806369ddd67d1461067357806370a08231146106b0578063715018a6146106ed576102ae565b806342966c68146104c2578063438b6300146104eb5780634f6ccce71461052857806355f804b3146105655780635c975abb1461058e5780635f89584e146105b9576102ae565b80631b7fe6b61161026b5780631b7fe6b6146103d557806323b872dd146104005780632f745c59146104295780633ccfd60b1461046657806340c10f191461047d57806342842e0e14610499576102ae565b806301ffc9a7146102b357806302329a29146102f057806306fdde0314610319578063081812fc14610344578063095ea7b31461038157806318160ddd146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613fb0565b610b4d565b6040516102e791906146d3565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613f87565b610b5f565b005b34801561032557600080fd5b5061032e610c01565b60405161033b9190614709565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190614043565b610c93565b6040516103789190614621565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613f0a565b610d18565b005b3480156103b657600080fd5b506103bf610e30565b6040516103cc9190614acb565b60405180910390f35b3480156103e157600080fd5b506103ea610e3d565b6040516103f79190614acb565b60405180910390f35b34801561040c57600080fd5b5061042760048036038101906104229190613e04565b610e43565b005b34801561043557600080fd5b50610450600480360381019061044b9190613f0a565b610ea3565b60405161045d9190614acb565b60405180910390f35b34801561047257600080fd5b5061047b610f48565b005b61049760048036038101906104929190613f0a565b611041565b005b3480156104a557600080fd5b506104c060048036038101906104bb9190613e04565b61134f565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190614043565b61136f565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613d9f565b6113cb565b60405161051f91906146b1565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190614043565b6114c5565b60405161055c9190614acb565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190614002565b61155c565b005b34801561059a57600080fd5b506105a36115f2565b6040516105b091906146d3565b60405180910390f35b3480156105c557600080fd5b506105ce611609565b6040516105db9190614acb565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190613f0a565b61160f565b005b34801561061957600080fd5b50610634600480360381019061062f9190614043565b611784565b6040516106419190614621565b60405180910390f35b34801561065657600080fd5b50610671600480360381019061066c9190614043565b611836565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613d9f565b6118bc565b6040516106a79190614acb565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d29190613d9f565b6118d4565b6040516106e49190614acb565b60405180910390f35b3480156106f957600080fd5b5061070261198c565b005b34801561071057600080fd5b50610719611a14565b6040516107269190614acb565b60405180910390f35b34801561073b57600080fd5b50610744611a1a565b60405161075191906146ee565b60405180910390f35b34801561076657600080fd5b5061076f611a40565b60405161077c9190614acb565b60405180910390f35b34801561079157600080fd5b5061079a611a45565b6040516107a79190614621565b60405180910390f35b3480156107bc57600080fd5b506107d760048036038101906107d29190614043565b611a6f565b005b3480156107e557600080fd5b506107ee611af5565b6040516107fb9190614709565b60405180910390f35b34801561081057600080fd5b50610819611b87565b6040516108269190614acb565b60405180910390f35b34801561083b57600080fd5b50610844611bab565b6040516108519190614acb565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c9190613ece565b611bb1565b005b34801561088f57600080fd5b50610898611d32565b6040516108a59190614acb565b60405180910390f35b3480156108ba57600080fd5b506108c3611d38565b6040516108d091906146d3565b60405180910390f35b3480156108e557600080fd5b506108ee611d4b565b6040516108fb9190614acb565b60405180910390f35b34801561091057600080fd5b50610919611d51565b6040516109269190614acb565b60405180910390f35b34801561093b57600080fd5b5061095660048036038101906109519190613f0a565b611d57565b005b34801561096457600080fd5b5061097f600480360381019061097a9190613e53565b612069565b005b34801561098d57600080fd5b506109966120cb565b6040516109a39190614acb565b60405180910390f35b3480156109b857600080fd5b506109c16120d1565b6040516109ce9190614acb565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f99190614043565b6120d9565b604051610a0b9190614709565b60405180910390f35b348015610a2057600080fd5b50610a296121b7565b604051610a369190614709565b60405180910390f35b348015610a4b57600080fd5b50610a54612245565b604051610a619190614acb565b60405180910390f35b348015610a7657600080fd5b50610a7f61224b565b604051610a8c9190614709565b60405180910390f35b348015610aa157600080fd5b50610abc6004803603810190610ab79190613dc8565b612284565b604051610ac991906146d3565b60405180910390f35b348015610ade57600080fd5b50610af96004803603810190610af49190613f46565b612318565b005b348015610b0757600080fd5b50610b226004803603810190610b1d9190613d9f565b61243c565b005b348015610b3057600080fd5b50610b4b6004803603810190610b469190613f87565b612534565b005b6000610b58826125cd565b9050919050565b610b67612647565b73ffffffffffffffffffffffffffffffffffffffff16610b85611a45565b73ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd2906149ab565b60405180910390fd5b600115158115151415610bf557610bf061264f565b610bfe565b610bfd6126f2565b5b50565b606060008054610c1090614e04565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3c90614e04565b8015610c895780601f10610c5e57610100808354040283529160200191610c89565b820191906000526020600020905b815481529060010190602001808311610c6c57829003601f168201915b5050505050905090565b6000610c9e82612794565b610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd49061498b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d2382611784565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b90614a2b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db3612647565b73ffffffffffffffffffffffffffffffffffffffff161480610de25750610de181610ddc612647565b612284565b5b610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e18906148eb565b60405180910390fd5b610e2b8383612800565b505050565b6000600880549050905090565b600b5481565b610e54610e4e612647565b826128b9565b610e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8a90614a6b565b60405180910390fd5b610e9e838383612997565b505050565b6000610eae836118d4565b8210610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee69061478b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f50612647565b73ffffffffffffffffffffffffffffffffffffffff16610f6e611a45565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906149ab565b60405180910390fd5b610fcc611a45565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061103f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103690614a4b565b60405180910390fd5b565b611049611a45565b73ffffffffffffffffffffffffffffffffffffffff16611067612647565b73ffffffffffffffffffffffffffffffffffffffff16146110cb5761108a6115f2565b156110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c1906148cb565b60405180910390fd5b5b6000816010546110db9190614c9c565b9050426361a45e501115611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b906147ab565b60405180910390fd5b610b4882600c546111359190614c15565b1115611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116d9061488b565b60405180910390fd5b600a8211156111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b19061476b565b60405180910390fd5b803410156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614a0b565b60405180910390fd5b601260009054906101000a900460ff16156112eb5781601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b9061482b565b60405180910390fd5b81601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112e39190614cf6565b925050819055505b60005b828110156113495761130284600b54612bf3565b6001600c60008282546113159190614c15565b925050819055506001600b600082825461132f9190614c15565b92505081905550808061134190614e67565b9150506112ee565b50505050565b61136a83838360405180602001604052806000815250612069565b505050565b61138061137a612647565b826128b9565b6113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690614aab565b60405180910390fd5b6113c881612c2e565b50565b606060006113d8836118d4565b905060008167ffffffffffffffff81111561141c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561144a5781602001602082028036833780820191505090505b50905060005b828110156114ba576114628582610ea3565b82828151811061149b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806114b290614e67565b915050611450565b508092505050919050565b60006114cf610e30565b8210611510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150790614a8b565b60405180910390fd5b6008828154811061154a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611564612647565b73ffffffffffffffffffffffffffffffffffffffff16611582611a45565b73ffffffffffffffffffffffffffffffffffffffff16146115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf906149ab565b60405180910390fd5b80601490805190602001906115ee929190613b18565b5050565b6000600a60149054906101000a900460ff16905090565b610b4881565b611617612647565b73ffffffffffffffffffffffffffffffffffffffff16611635611a45565b73ffffffffffffffffffffffffffffffffffffffff161461168b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611682906149ab565b60405180910390fd5b6101bc81600d5461169c9190614c15565b11156116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061488b565b60405180910390fd5b601e811115611721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117189061476b565b60405180910390fd5b60005b8181101561177f5761173883600b54612bf3565b6001600d600082825461174b9190614c15565b925050819055506001600b60008282546117659190614c15565b92505081905550808061177790614e67565b915050611724565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561182d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118249061492b565b60405180910390fd5b80915050919050565b61183e612647565b73ffffffffffffffffffffffffffffffffffffffff1661185c611a45565b73ffffffffffffffffffffffffffffffffffffffff16146118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a9906149ab565b60405180910390fd5b8060118190555050565b60136020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c9061490b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611994612647565b73ffffffffffffffffffffffffffffffffffffffff166119b2611a45565b73ffffffffffffffffffffffffffffffffffffffff1614611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff906149ab565b60405180910390fd5b611a126000612d3f565b565b600d5481565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a81565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a77612647565b73ffffffffffffffffffffffffffffffffffffffff16611a95611a45565b73ffffffffffffffffffffffffffffffffffffffff1614611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae2906149ab565b60405180910390fd5b8060108190555050565b606060018054611b0490614e04565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3090614e04565b8015611b7d5780601f10611b5257610100808354040283529160200191611b7d565b820191906000526020600020905b815481529060010190602001808311611b6057829003601f168201915b5050505050905090565b60006106146101bc610b48611b9c9190614c15565b611ba69190614c15565b905090565b60105481565b611bb9612647565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e9061486b565b60405180910390fd5b8060056000611c34612647565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ce1612647565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d2691906146d3565b60405180910390a35050565b60115481565b601260009054906101000a900460ff1681565b600c5481565b600e5481565b611d5f611a45565b73ffffffffffffffffffffffffffffffffffffffff16611d7d612647565b73ffffffffffffffffffffffffffffffffffffffff1614611de157611da06115f2565b15611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd7906148cb565b60405180910390fd5b5b600081601154611df19190614c9c565b905061061482600e54611e049190614c15565b1115611e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3c9061488b565b60405180910390fd5b600a821115611e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e809061476b565b60405180910390fd5b80600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611ee59190614621565b60206040518083038186803b158015611efd57600080fd5b505afa158015611f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f35919061406c565b1015611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d9061494b565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33836040518363ffffffff1660e01b8152600401611fd3929190614688565b600060405180830381600087803b158015611fed57600080fd5b505af1158015612001573d6000803e3d6000fd5b5050505060005b8281101561206357612036846101bc610b48600e546120279190614c15565b6120319190614c15565b612bf3565b6001600e60008282546120499190614c15565b92505081905550808061205b90614e67565b915050612008565b50505050565b61207a612074612647565b836128b9565b6120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090614a6b565b60405180910390fd5b6120c584848484612e05565b50505050565b6101bc81565b6361a45e5081565b60606120e482612794565b612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a906149eb565b60405180910390fd5b600061212d612e61565b9050600081511161214d57604051806020016040528060008152506121af565b8061215784612ef3565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161219f939291906145f0565b6040516020818303038152906040525b915050919050565b601480546121c490614e04565b80601f01602080910402602001604051908101604052809291908181526020018280546121f090614e04565b801561223d5780601f106122125761010080835404028352916020019161223d565b820191906000526020600020905b81548152906001019060200180831161222057829003601f168201915b505050505081565b61061481565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612320612647565b73ffffffffffffffffffffffffffffffffffffffff1661233e611a45565b73ffffffffffffffffffffffffffffffffffffffff1614612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b906149ab565b60405180910390fd5b60005b8151811015612438576003601360008484815181106123df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061243090614e67565b915050612397565b5050565b612444612647565b73ffffffffffffffffffffffffffffffffffffffff16612462611a45565b73ffffffffffffffffffffffffffffffffffffffff16146124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af906149ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251f906147eb565b60405180910390fd5b61253181612d3f565b50565b61253c612647565b73ffffffffffffffffffffffffffffffffffffffff1661255a611a45565b73ffffffffffffffffffffffffffffffffffffffff16146125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a7906149ab565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612640575061263f826130a0565b5b9050919050565b600033905090565b6126576115f2565b15612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e906148cb565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126db612647565b6040516126e89190614621565b60405180910390a1565b6126fa6115f2565b612739576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127309061474b565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61277d612647565b60405161278a9190614621565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661287383611784565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128c482612794565b612903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fa906148ab565b60405180910390fd5b600061290e83611784565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061297d57508373ffffffffffffffffffffffffffffffffffffffff1661296584610c93565b73ffffffffffffffffffffffffffffffffffffffff16145b8061298e575061298d8185612284565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129b782611784565b73ffffffffffffffffffffffffffffffffffffffff1614612a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a04906149cb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a749061484b565b60405180910390fd5b612a88838383613182565b612a93600082612800565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ae39190614cf6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b3a9190614c15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612bfd8282613192565b807f799cc526d4d14fa0d4ebe039e1b99d496f89a8ffba972a9f1786a3e1f9a6537b60405160405180910390a25050565b6000612c3982611784565b9050612c4781600084613182565b612c52600083612800565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ca29190614cf6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e10848484612997565b612e1c848484846131b0565b612e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e52906147cb565b60405180910390fd5b50505050565b606060148054612e7090614e04565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9c90614e04565b8015612ee95780601f10612ebe57610100808354040283529160200191612ee9565b820191906000526020600020905b815481529060010190602001808311612ecc57829003601f168201915b5050505050905090565b60606000821415612f3b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061309b565b600082905060005b60008214612f6d578080612f5690614e67565b915050600a82612f669190614c6b565b9150612f43565b60008167ffffffffffffffff811115612faf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fe15781602001600182028036833780820191505090505b5090505b6000851461309457600182612ffa9190614cf6565b9150600a856130099190614eb0565b60306130159190614c15565b60f81b818381518110613051577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561308d9190614c6b565b9450612fe5565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061316b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061317b575061317a82613347565b5b9050919050565b61318d8383836133b1565b505050565b6131ac82826040518060200160405280600081525061344b565b5050565b60006131d18473ffffffffffffffffffffffffffffffffffffffff166134a6565b1561333a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131fa612647565b8786866040518563ffffffff1660e01b815260040161321c949392919061463c565b602060405180830381600087803b15801561323657600080fd5b505af192505050801561326757506040513d601f19601f820116820180604052508101906132649190613fd9565b60015b6132ea573d8060008114613297576040519150601f19603f3d011682016040523d82523d6000602084013e61329c565b606091505b506000815114156132e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d9906147cb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061333f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133bc8383836134b9565b6133c4611a45565b73ffffffffffffffffffffffffffffffffffffffff166133e2612647565b73ffffffffffffffffffffffffffffffffffffffff1614613446576134056115f2565b15613445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343c9061472b565b60405180910390fd5b5b505050565b61345583836135cd565b61346260008484846131b0565b6134a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613498906147cb565b60405180910390fd5b505050565b600080823b905060008111915050919050565b6134c483838361379b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561350757613502816137a0565b613546565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135455761354483826137e9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135895761358481613956565b6135c8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135c7576135c68282613a99565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561363d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136349061496b565b60405180910390fd5b61364681612794565b15613686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367d9061480b565b60405180910390fd5b61369260008383613182565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136e29190614c15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137f6846118d4565b6138009190614cf6565b90506000600760008481526020019081526020016000205490508181146138e5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061396a9190614cf6565b90506000600960008481526020019081526020016000205490506000600883815481106139c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613a08577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613aa4836118d4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613b2490614e04565b90600052602060002090601f016020900481019282613b465760008555613b8d565b82601f10613b5f57805160ff1916838001178555613b8d565b82800160010185558215613b8d579182015b82811115613b8c578251825591602001919060010190613b71565b5b509050613b9a9190613b9e565b5090565b5b80821115613bb7576000816000905550600101613b9f565b5090565b6000613bce613bc984614b0b565b614ae6565b90508083825260208201905082856020860282011115613bed57600080fd5b60005b85811015613c1d5781613c038882613ca3565b845260208401935060208301925050600181019050613bf0565b5050509392505050565b6000613c3a613c3584614b37565b614ae6565b905082815260208101848484011115613c5257600080fd5b613c5d848285614dc2565b509392505050565b6000613c78613c7384614b68565b614ae6565b905082815260208101848484011115613c9057600080fd5b613c9b848285614dc2565b509392505050565b600081359050613cb2816156b3565b92915050565b600082601f830112613cc957600080fd5b8135613cd9848260208601613bbb565b91505092915050565b600081359050613cf1816156ca565b92915050565b600081359050613d06816156e1565b92915050565b600081519050613d1b816156e1565b92915050565b600082601f830112613d3257600080fd5b8135613d42848260208601613c27565b91505092915050565b600082601f830112613d5c57600080fd5b8135613d6c848260208601613c65565b91505092915050565b600081359050613d84816156f8565b92915050565b600081519050613d99816156f8565b92915050565b600060208284031215613db157600080fd5b6000613dbf84828501613ca3565b91505092915050565b60008060408385031215613ddb57600080fd5b6000613de985828601613ca3565b9250506020613dfa85828601613ca3565b9150509250929050565b600080600060608486031215613e1957600080fd5b6000613e2786828701613ca3565b9350506020613e3886828701613ca3565b9250506040613e4986828701613d75565b9150509250925092565b60008060008060808587031215613e6957600080fd5b6000613e7787828801613ca3565b9450506020613e8887828801613ca3565b9350506040613e9987828801613d75565b925050606085013567ffffffffffffffff811115613eb657600080fd5b613ec287828801613d21565b91505092959194509250565b60008060408385031215613ee157600080fd5b6000613eef85828601613ca3565b9250506020613f0085828601613ce2565b9150509250929050565b60008060408385031215613f1d57600080fd5b6000613f2b85828601613ca3565b9250506020613f3c85828601613d75565b9150509250929050565b600060208284031215613f5857600080fd5b600082013567ffffffffffffffff811115613f7257600080fd5b613f7e84828501613cb8565b91505092915050565b600060208284031215613f9957600080fd5b6000613fa784828501613ce2565b91505092915050565b600060208284031215613fc257600080fd5b6000613fd084828501613cf7565b91505092915050565b600060208284031215613feb57600080fd5b6000613ff984828501613d0c565b91505092915050565b60006020828403121561401457600080fd5b600082013567ffffffffffffffff81111561402e57600080fd5b61403a84828501613d4b565b91505092915050565b60006020828403121561405557600080fd5b600061406384828501613d75565b91505092915050565b60006020828403121561407e57600080fd5b600061408c84828501613d8a565b91505092915050565b60006140a183836145d2565b60208301905092915050565b6140b681614d2a565b82525050565b60006140c782614ba9565b6140d18185614bd7565b93506140dc83614b99565b8060005b8381101561410d5781516140f48882614095565b97506140ff83614bca565b9250506001810190506140e0565b5085935050505092915050565b61412381614d3c565b82525050565b600061413482614bb4565b61413e8185614be8565b935061414e818560208601614dd1565b61415781614f9d565b840191505092915050565b61416b81614d9e565b82525050565b600061417c82614bbf565b6141868185614bf9565b9350614196818560208601614dd1565b61419f81614f9d565b840191505092915050565b60006141b582614bbf565b6141bf8185614c0a565b93506141cf818560208601614dd1565b80840191505092915050565b60006141e8602b83614bf9565b91506141f382614fae565b604082019050919050565b600061420b601483614bf9565b915061421682614ffd565b602082019050919050565b600061422e600e83614bf9565b915061423982615026565b602082019050919050565b6000614251602b83614bf9565b915061425c8261504f565b604082019050919050565b6000614274600b83614bf9565b915061427f8261509e565b602082019050919050565b6000614297603283614bf9565b91506142a2826150c7565b604082019050919050565b60006142ba602683614bf9565b91506142c582615116565b604082019050919050565b60006142dd601c83614bf9565b91506142e882615165565b602082019050919050565b6000614300601683614bf9565b915061430b8261518e565b602082019050919050565b6000614323602483614bf9565b915061432e826151b7565b604082019050919050565b6000614346601983614bf9565b915061435182615206565b602082019050919050565b6000614369600983614bf9565b91506143748261522f565b602082019050919050565b600061438c602c83614bf9565b915061439782615258565b604082019050919050565b60006143af601083614bf9565b91506143ba826152a7565b602082019050919050565b60006143d2603883614bf9565b91506143dd826152d0565b604082019050919050565b60006143f5602a83614bf9565b91506144008261531f565b604082019050919050565b6000614418602983614bf9565b91506144238261536e565b604082019050919050565b600061443b601683614bf9565b9150614446826153bd565b602082019050919050565b600061445e602083614bf9565b9150614469826153e6565b602082019050919050565b6000614481602c83614bf9565b915061448c8261540f565b604082019050919050565b60006144a4602083614bf9565b91506144af8261545e565b602082019050919050565b60006144c7602983614bf9565b91506144d282615487565b604082019050919050565b60006144ea602f83614bf9565b91506144f5826154d6565b604082019050919050565b600061450d601183614bf9565b915061451882615525565b602082019050919050565b6000614530602183614bf9565b915061453b8261554e565b604082019050919050565b6000614553601583614bf9565b915061455e8261559d565b602082019050919050565b6000614576603183614bf9565b9150614581826155c6565b604082019050919050565b6000614599602c83614bf9565b91506145a482615615565b604082019050919050565b60006145bc603083614bf9565b91506145c782615664565b604082019050919050565b6145db81614d94565b82525050565b6145ea81614d94565b82525050565b60006145fc82866141aa565b915061460882856141aa565b915061461482846141aa565b9150819050949350505050565b600060208201905061463660008301846140ad565b92915050565b600060808201905061465160008301876140ad565b61465e60208301866140ad565b61466b60408301856145e1565b818103606083015261467d8184614129565b905095945050505050565b600060408201905061469d60008301856140ad565b6146aa60208301846145e1565b9392505050565b600060208201905081810360008301526146cb81846140bc565b905092915050565b60006020820190506146e8600083018461411a565b92915050565b60006020820190506147036000830184614162565b92915050565b600060208201905081810360008301526147238184614171565b905092915050565b60006020820190508181036000830152614744816141db565b9050919050565b60006020820190508181036000830152614764816141fe565b9050919050565b6000602082019050818103600083015261478481614221565b9050919050565b600060208201905081810360008301526147a481614244565b9050919050565b600060208201905081810360008301526147c481614267565b9050919050565b600060208201905081810360008301526147e48161428a565b9050919050565b60006020820190508181036000830152614804816142ad565b9050919050565b60006020820190508181036000830152614824816142d0565b9050919050565b60006020820190508181036000830152614844816142f3565b9050919050565b6000602082019050818103600083015261486481614316565b9050919050565b6000602082019050818103600083015261488481614339565b9050919050565b600060208201905081810360008301526148a48161435c565b9050919050565b600060208201905081810360008301526148c48161437f565b9050919050565b600060208201905081810360008301526148e4816143a2565b9050919050565b60006020820190508181036000830152614904816143c5565b9050919050565b60006020820190508181036000830152614924816143e8565b9050919050565b600060208201905081810360008301526149448161440b565b9050919050565b600060208201905081810360008301526149648161442e565b9050919050565b6000602082019050818103600083015261498481614451565b9050919050565b600060208201905081810360008301526149a481614474565b9050919050565b600060208201905081810360008301526149c481614497565b9050919050565b600060208201905081810360008301526149e4816144ba565b9050919050565b60006020820190508181036000830152614a04816144dd565b9050919050565b60006020820190508181036000830152614a2481614500565b9050919050565b60006020820190508181036000830152614a4481614523565b9050919050565b60006020820190508181036000830152614a6481614546565b9050919050565b60006020820190508181036000830152614a8481614569565b9050919050565b60006020820190508181036000830152614aa48161458c565b9050919050565b60006020820190508181036000830152614ac4816145af565b9050919050565b6000602082019050614ae060008301846145e1565b92915050565b6000614af0614b01565b9050614afc8282614e36565b919050565b6000604051905090565b600067ffffffffffffffff821115614b2657614b25614f6e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b5257614b51614f6e565b5b614b5b82614f9d565b9050602081019050919050565b600067ffffffffffffffff821115614b8357614b82614f6e565b5b614b8c82614f9d565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c2082614d94565b9150614c2b83614d94565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c6057614c5f614ee1565b5b828201905092915050565b6000614c7682614d94565b9150614c8183614d94565b925082614c9157614c90614f10565b5b828204905092915050565b6000614ca782614d94565b9150614cb283614d94565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ceb57614cea614ee1565b5b828202905092915050565b6000614d0182614d94565b9150614d0c83614d94565b925082821015614d1f57614d1e614ee1565b5b828203905092915050565b6000614d3582614d74565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614da982614db0565b9050919050565b6000614dbb82614d74565b9050919050565b82818337600083830152505050565b60005b83811015614def578082015181840152602081019050614dd4565b83811115614dfe576000848401525b50505050565b60006002820490506001821680614e1c57607f821691505b60208210811415614e3057614e2f614f3f565b5b50919050565b614e3f82614f9d565b810181811067ffffffffffffffff82111715614e5e57614e5d614f6e565b5b80604052505050565b6000614e7282614d94565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ea557614ea4614ee1565b5b600182019050919050565b6000614ebb82614d94565b9150614ec683614d94565b925082614ed657614ed5614f10565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4e6f742073746172746564000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e2774206d696e74206d6f7265207468616e203300000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682047454d2062616c616e636500000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f576974686472617720756e7375636365737366756c0000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6156bc81614d2a565b81146156c757600080fd5b50565b6156d381614d3c565b81146156de57600080fd5b50565b6156ea81614d48565b81146156f557600080fd5b50565b61570181614d94565b811461570c57600080fd5b5056fea26469706673582212208d79d5f3bd421b4a07e7431b5badf98a2c9621864d1983363f93d4a9ac99274064736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000388df33ca34b7c5ada35216c462d018da20f8b740000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62654c727841526332684e4e6a395938366369356e4d696f5a787269776b6d59674e4e7655564379416b56542f00000000000000000000

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c80637910a26f11610175578063aedb952b116100dc578063d547cfb711610095578063e985e9c51161006f578063e985e9c514610a95578063edac985b14610ad2578063f2fde38b14610afb578063f958a65714610b24576102ae565b8063d547cfb714610a14578063d879128514610a3f578063df3fdf0014610a6a576102ae565b8063aedb952b14610904578063b6f75d651461092f578063b88d4fde14610958578063b9c3a81814610981578063c14b30b7146109ac578063c87b56dd146109d7576102ae565b80639d5a3f7c1161012e5780639d5a3f7c14610804578063a035b1fe1461082f578063a22cb4651461085a578063a3f568c614610883578063a88e0996146108ae578063ab90fb79146108d9576102ae565b80637910a26f146107045780637bd2bea71461072f5780638ad5de281461075a5780638da5cb5b1461078557806391b7f5ed146107b057806395d89b41146107d9576102ae565b806342966c6811610219578063627804af116101d2578063627804af146105e45780636352211e1461060d578063660e01e81461064a57806369ddd67d1461067357806370a08231146106b0578063715018a6146106ed576102ae565b806342966c68146104c2578063438b6300146104eb5780634f6ccce71461052857806355f804b3146105655780635c975abb1461058e5780635f89584e146105b9576102ae565b80631b7fe6b61161026b5780631b7fe6b6146103d557806323b872dd146104005780632f745c59146104295780633ccfd60b1461046657806340c10f191461047d57806342842e0e14610499576102ae565b806301ffc9a7146102b357806302329a29146102f057806306fdde0314610319578063081812fc14610344578063095ea7b31461038157806318160ddd146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613fb0565b610b4d565b6040516102e791906146d3565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613f87565b610b5f565b005b34801561032557600080fd5b5061032e610c01565b60405161033b9190614709565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190614043565b610c93565b6040516103789190614621565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613f0a565b610d18565b005b3480156103b657600080fd5b506103bf610e30565b6040516103cc9190614acb565b60405180910390f35b3480156103e157600080fd5b506103ea610e3d565b6040516103f79190614acb565b60405180910390f35b34801561040c57600080fd5b5061042760048036038101906104229190613e04565b610e43565b005b34801561043557600080fd5b50610450600480360381019061044b9190613f0a565b610ea3565b60405161045d9190614acb565b60405180910390f35b34801561047257600080fd5b5061047b610f48565b005b61049760048036038101906104929190613f0a565b611041565b005b3480156104a557600080fd5b506104c060048036038101906104bb9190613e04565b61134f565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190614043565b61136f565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613d9f565b6113cb565b60405161051f91906146b1565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190614043565b6114c5565b60405161055c9190614acb565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190614002565b61155c565b005b34801561059a57600080fd5b506105a36115f2565b6040516105b091906146d3565b60405180910390f35b3480156105c557600080fd5b506105ce611609565b6040516105db9190614acb565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190613f0a565b61160f565b005b34801561061957600080fd5b50610634600480360381019061062f9190614043565b611784565b6040516106419190614621565b60405180910390f35b34801561065657600080fd5b50610671600480360381019061066c9190614043565b611836565b005b34801561067f57600080fd5b5061069a60048036038101906106959190613d9f565b6118bc565b6040516106a79190614acb565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d29190613d9f565b6118d4565b6040516106e49190614acb565b60405180910390f35b3480156106f957600080fd5b5061070261198c565b005b34801561071057600080fd5b50610719611a14565b6040516107269190614acb565b60405180910390f35b34801561073b57600080fd5b50610744611a1a565b60405161075191906146ee565b60405180910390f35b34801561076657600080fd5b5061076f611a40565b60405161077c9190614acb565b60405180910390f35b34801561079157600080fd5b5061079a611a45565b6040516107a79190614621565b60405180910390f35b3480156107bc57600080fd5b506107d760048036038101906107d29190614043565b611a6f565b005b3480156107e557600080fd5b506107ee611af5565b6040516107fb9190614709565b60405180910390f35b34801561081057600080fd5b50610819611b87565b6040516108269190614acb565b60405180910390f35b34801561083b57600080fd5b50610844611bab565b6040516108519190614acb565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c9190613ece565b611bb1565b005b34801561088f57600080fd5b50610898611d32565b6040516108a59190614acb565b60405180910390f35b3480156108ba57600080fd5b506108c3611d38565b6040516108d091906146d3565b60405180910390f35b3480156108e557600080fd5b506108ee611d4b565b6040516108fb9190614acb565b60405180910390f35b34801561091057600080fd5b50610919611d51565b6040516109269190614acb565b60405180910390f35b34801561093b57600080fd5b5061095660048036038101906109519190613f0a565b611d57565b005b34801561096457600080fd5b5061097f600480360381019061097a9190613e53565b612069565b005b34801561098d57600080fd5b506109966120cb565b6040516109a39190614acb565b60405180910390f35b3480156109b857600080fd5b506109c16120d1565b6040516109ce9190614acb565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f99190614043565b6120d9565b604051610a0b9190614709565b60405180910390f35b348015610a2057600080fd5b50610a296121b7565b604051610a369190614709565b60405180910390f35b348015610a4b57600080fd5b50610a54612245565b604051610a619190614acb565b60405180910390f35b348015610a7657600080fd5b50610a7f61224b565b604051610a8c9190614709565b60405180910390f35b348015610aa157600080fd5b50610abc6004803603810190610ab79190613dc8565b612284565b604051610ac991906146d3565b60405180910390f35b348015610ade57600080fd5b50610af96004803603810190610af49190613f46565b612318565b005b348015610b0757600080fd5b50610b226004803603810190610b1d9190613d9f565b61243c565b005b348015610b3057600080fd5b50610b4b6004803603810190610b469190613f87565b612534565b005b6000610b58826125cd565b9050919050565b610b67612647565b73ffffffffffffffffffffffffffffffffffffffff16610b85611a45565b73ffffffffffffffffffffffffffffffffffffffff1614610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd2906149ab565b60405180910390fd5b600115158115151415610bf557610bf061264f565b610bfe565b610bfd6126f2565b5b50565b606060008054610c1090614e04565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3c90614e04565b8015610c895780601f10610c5e57610100808354040283529160200191610c89565b820191906000526020600020905b815481529060010190602001808311610c6c57829003601f168201915b5050505050905090565b6000610c9e82612794565b610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd49061498b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d2382611784565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b90614a2b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db3612647565b73ffffffffffffffffffffffffffffffffffffffff161480610de25750610de181610ddc612647565b612284565b5b610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e18906148eb565b60405180910390fd5b610e2b8383612800565b505050565b6000600880549050905090565b600b5481565b610e54610e4e612647565b826128b9565b610e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8a90614a6b565b60405180910390fd5b610e9e838383612997565b505050565b6000610eae836118d4565b8210610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee69061478b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f50612647565b73ffffffffffffffffffffffffffffffffffffffff16610f6e611a45565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906149ab565b60405180910390fd5b610fcc611a45565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061103f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103690614a4b565b60405180910390fd5b565b611049611a45565b73ffffffffffffffffffffffffffffffffffffffff16611067612647565b73ffffffffffffffffffffffffffffffffffffffff16146110cb5761108a6115f2565b156110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c1906148cb565b60405180910390fd5b5b6000816010546110db9190614c9c565b9050426361a45e501115611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b906147ab565b60405180910390fd5b610b4882600c546111359190614c15565b1115611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116d9061488b565b60405180910390fd5b600a8211156111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b19061476b565b60405180910390fd5b803410156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614a0b565b60405180910390fd5b601260009054906101000a900460ff16156112eb5781601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b9061482b565b60405180910390fd5b81601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112e39190614cf6565b925050819055505b60005b828110156113495761130284600b54612bf3565b6001600c60008282546113159190614c15565b925050819055506001600b600082825461132f9190614c15565b92505081905550808061134190614e67565b9150506112ee565b50505050565b61136a83838360405180602001604052806000815250612069565b505050565b61138061137a612647565b826128b9565b6113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690614aab565b60405180910390fd5b6113c881612c2e565b50565b606060006113d8836118d4565b905060008167ffffffffffffffff81111561141c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561144a5781602001602082028036833780820191505090505b50905060005b828110156114ba576114628582610ea3565b82828151811061149b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806114b290614e67565b915050611450565b508092505050919050565b60006114cf610e30565b8210611510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150790614a8b565b60405180910390fd5b6008828154811061154a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611564612647565b73ffffffffffffffffffffffffffffffffffffffff16611582611a45565b73ffffffffffffffffffffffffffffffffffffffff16146115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf906149ab565b60405180910390fd5b80601490805190602001906115ee929190613b18565b5050565b6000600a60149054906101000a900460ff16905090565b610b4881565b611617612647565b73ffffffffffffffffffffffffffffffffffffffff16611635611a45565b73ffffffffffffffffffffffffffffffffffffffff161461168b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611682906149ab565b60405180910390fd5b6101bc81600d5461169c9190614c15565b11156116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061488b565b60405180910390fd5b601e811115611721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117189061476b565b60405180910390fd5b60005b8181101561177f5761173883600b54612bf3565b6001600d600082825461174b9190614c15565b925050819055506001600b60008282546117659190614c15565b92505081905550808061177790614e67565b915050611724565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561182d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118249061492b565b60405180910390fd5b80915050919050565b61183e612647565b73ffffffffffffffffffffffffffffffffffffffff1661185c611a45565b73ffffffffffffffffffffffffffffffffffffffff16146118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a9906149ab565b60405180910390fd5b8060118190555050565b60136020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c9061490b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611994612647565b73ffffffffffffffffffffffffffffffffffffffff166119b2611a45565b73ffffffffffffffffffffffffffffffffffffffff1614611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff906149ab565b60405180910390fd5b611a126000612d3f565b565b600d5481565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a81565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a77612647565b73ffffffffffffffffffffffffffffffffffffffff16611a95611a45565b73ffffffffffffffffffffffffffffffffffffffff1614611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae2906149ab565b60405180910390fd5b8060108190555050565b606060018054611b0490614e04565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3090614e04565b8015611b7d5780601f10611b5257610100808354040283529160200191611b7d565b820191906000526020600020905b815481529060010190602001808311611b6057829003601f168201915b5050505050905090565b60006106146101bc610b48611b9c9190614c15565b611ba69190614c15565b905090565b60105481565b611bb9612647565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e9061486b565b60405180910390fd5b8060056000611c34612647565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ce1612647565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d2691906146d3565b60405180910390a35050565b60115481565b601260009054906101000a900460ff1681565b600c5481565b600e5481565b611d5f611a45565b73ffffffffffffffffffffffffffffffffffffffff16611d7d612647565b73ffffffffffffffffffffffffffffffffffffffff1614611de157611da06115f2565b15611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd7906148cb565b60405180910390fd5b5b600081601154611df19190614c9c565b905061061482600e54611e049190614c15565b1115611e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3c9061488b565b60405180910390fd5b600a821115611e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e809061476b565b60405180910390fd5b80600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611ee59190614621565b60206040518083038186803b158015611efd57600080fd5b505afa158015611f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f35919061406c565b1015611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d9061494b565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33836040518363ffffffff1660e01b8152600401611fd3929190614688565b600060405180830381600087803b158015611fed57600080fd5b505af1158015612001573d6000803e3d6000fd5b5050505060005b8281101561206357612036846101bc610b48600e546120279190614c15565b6120319190614c15565b612bf3565b6001600e60008282546120499190614c15565b92505081905550808061205b90614e67565b915050612008565b50505050565b61207a612074612647565b836128b9565b6120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090614a6b565b60405180910390fd5b6120c584848484612e05565b50505050565b6101bc81565b6361a45e5081565b60606120e482612794565b612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a906149eb565b60405180910390fd5b600061212d612e61565b9050600081511161214d57604051806020016040528060008152506121af565b8061215784612ef3565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161219f939291906145f0565b6040516020818303038152906040525b915050919050565b601480546121c490614e04565b80601f01602080910402602001604051908101604052809291908181526020018280546121f090614e04565b801561223d5780601f106122125761010080835404028352916020019161223d565b820191906000526020600020905b81548152906001019060200180831161222057829003601f168201915b505050505081565b61061481565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612320612647565b73ffffffffffffffffffffffffffffffffffffffff1661233e611a45565b73ffffffffffffffffffffffffffffffffffffffff1614612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b906149ab565b60405180910390fd5b60005b8151811015612438576003601360008484815181106123df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061243090614e67565b915050612397565b5050565b612444612647565b73ffffffffffffffffffffffffffffffffffffffff16612462611a45565b73ffffffffffffffffffffffffffffffffffffffff16146124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af906149ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251f906147eb565b60405180910390fd5b61253181612d3f565b50565b61253c612647565b73ffffffffffffffffffffffffffffffffffffffff1661255a611a45565b73ffffffffffffffffffffffffffffffffffffffff16146125b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a7906149ab565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612640575061263f826130a0565b5b9050919050565b600033905090565b6126576115f2565b15612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e906148cb565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126db612647565b6040516126e89190614621565b60405180910390a1565b6126fa6115f2565b612739576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127309061474b565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61277d612647565b60405161278a9190614621565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661287383611784565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128c482612794565b612903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fa906148ab565b60405180910390fd5b600061290e83611784565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061297d57508373ffffffffffffffffffffffffffffffffffffffff1661296584610c93565b73ffffffffffffffffffffffffffffffffffffffff16145b8061298e575061298d8185612284565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129b782611784565b73ffffffffffffffffffffffffffffffffffffffff1614612a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a04906149cb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a749061484b565b60405180910390fd5b612a88838383613182565b612a93600082612800565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ae39190614cf6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b3a9190614c15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612bfd8282613192565b807f799cc526d4d14fa0d4ebe039e1b99d496f89a8ffba972a9f1786a3e1f9a6537b60405160405180910390a25050565b6000612c3982611784565b9050612c4781600084613182565b612c52600083612800565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ca29190614cf6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e10848484612997565b612e1c848484846131b0565b612e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e52906147cb565b60405180910390fd5b50505050565b606060148054612e7090614e04565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9c90614e04565b8015612ee95780601f10612ebe57610100808354040283529160200191612ee9565b820191906000526020600020905b815481529060010190602001808311612ecc57829003601f168201915b5050505050905090565b60606000821415612f3b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061309b565b600082905060005b60008214612f6d578080612f5690614e67565b915050600a82612f669190614c6b565b9150612f43565b60008167ffffffffffffffff811115612faf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fe15781602001600182028036833780820191505090505b5090505b6000851461309457600182612ffa9190614cf6565b9150600a856130099190614eb0565b60306130159190614c15565b60f81b818381518110613051577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561308d9190614c6b565b9450612fe5565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061316b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061317b575061317a82613347565b5b9050919050565b61318d8383836133b1565b505050565b6131ac82826040518060200160405280600081525061344b565b5050565b60006131d18473ffffffffffffffffffffffffffffffffffffffff166134a6565b1561333a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131fa612647565b8786866040518563ffffffff1660e01b815260040161321c949392919061463c565b602060405180830381600087803b15801561323657600080fd5b505af192505050801561326757506040513d601f19601f820116820180604052508101906132649190613fd9565b60015b6132ea573d8060008114613297576040519150601f19603f3d011682016040523d82523d6000602084013e61329c565b606091505b506000815114156132e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d9906147cb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061333f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6133bc8383836134b9565b6133c4611a45565b73ffffffffffffffffffffffffffffffffffffffff166133e2612647565b73ffffffffffffffffffffffffffffffffffffffff1614613446576134056115f2565b15613445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343c9061472b565b60405180910390fd5b5b505050565b61345583836135cd565b61346260008484846131b0565b6134a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613498906147cb565b60405180910390fd5b505050565b600080823b905060008111915050919050565b6134c483838361379b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561350757613502816137a0565b613546565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135455761354483826137e9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135895761358481613956565b6135c8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135c7576135c68282613a99565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561363d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136349061496b565b60405180910390fd5b61364681612794565b15613686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367d9061480b565b60405180910390fd5b61369260008383613182565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136e29190614c15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137f6846118d4565b6138009190614cf6565b90506000600760008481526020019081526020016000205490508181146138e5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061396a9190614cf6565b90506000600960008481526020019081526020016000205490506000600883815481106139c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613a08577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613aa4836118d4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613b2490614e04565b90600052602060002090601f016020900481019282613b465760008555613b8d565b82601f10613b5f57805160ff1916838001178555613b8d565b82800160010185558215613b8d579182015b82811115613b8c578251825591602001919060010190613b71565b5b509050613b9a9190613b9e565b5090565b5b80821115613bb7576000816000905550600101613b9f565b5090565b6000613bce613bc984614b0b565b614ae6565b90508083825260208201905082856020860282011115613bed57600080fd5b60005b85811015613c1d5781613c038882613ca3565b845260208401935060208301925050600181019050613bf0565b5050509392505050565b6000613c3a613c3584614b37565b614ae6565b905082815260208101848484011115613c5257600080fd5b613c5d848285614dc2565b509392505050565b6000613c78613c7384614b68565b614ae6565b905082815260208101848484011115613c9057600080fd5b613c9b848285614dc2565b509392505050565b600081359050613cb2816156b3565b92915050565b600082601f830112613cc957600080fd5b8135613cd9848260208601613bbb565b91505092915050565b600081359050613cf1816156ca565b92915050565b600081359050613d06816156e1565b92915050565b600081519050613d1b816156e1565b92915050565b600082601f830112613d3257600080fd5b8135613d42848260208601613c27565b91505092915050565b600082601f830112613d5c57600080fd5b8135613d6c848260208601613c65565b91505092915050565b600081359050613d84816156f8565b92915050565b600081519050613d99816156f8565b92915050565b600060208284031215613db157600080fd5b6000613dbf84828501613ca3565b91505092915050565b60008060408385031215613ddb57600080fd5b6000613de985828601613ca3565b9250506020613dfa85828601613ca3565b9150509250929050565b600080600060608486031215613e1957600080fd5b6000613e2786828701613ca3565b9350506020613e3886828701613ca3565b9250506040613e4986828701613d75565b9150509250925092565b60008060008060808587031215613e6957600080fd5b6000613e7787828801613ca3565b9450506020613e8887828801613ca3565b9350506040613e9987828801613d75565b925050606085013567ffffffffffffffff811115613eb657600080fd5b613ec287828801613d21565b91505092959194509250565b60008060408385031215613ee157600080fd5b6000613eef85828601613ca3565b9250506020613f0085828601613ce2565b9150509250929050565b60008060408385031215613f1d57600080fd5b6000613f2b85828601613ca3565b9250506020613f3c85828601613d75565b9150509250929050565b600060208284031215613f5857600080fd5b600082013567ffffffffffffffff811115613f7257600080fd5b613f7e84828501613cb8565b91505092915050565b600060208284031215613f9957600080fd5b6000613fa784828501613ce2565b91505092915050565b600060208284031215613fc257600080fd5b6000613fd084828501613cf7565b91505092915050565b600060208284031215613feb57600080fd5b6000613ff984828501613d0c565b91505092915050565b60006020828403121561401457600080fd5b600082013567ffffffffffffffff81111561402e57600080fd5b61403a84828501613d4b565b91505092915050565b60006020828403121561405557600080fd5b600061406384828501613d75565b91505092915050565b60006020828403121561407e57600080fd5b600061408c84828501613d8a565b91505092915050565b60006140a183836145d2565b60208301905092915050565b6140b681614d2a565b82525050565b60006140c782614ba9565b6140d18185614bd7565b93506140dc83614b99565b8060005b8381101561410d5781516140f48882614095565b97506140ff83614bca565b9250506001810190506140e0565b5085935050505092915050565b61412381614d3c565b82525050565b600061413482614bb4565b61413e8185614be8565b935061414e818560208601614dd1565b61415781614f9d565b840191505092915050565b61416b81614d9e565b82525050565b600061417c82614bbf565b6141868185614bf9565b9350614196818560208601614dd1565b61419f81614f9d565b840191505092915050565b60006141b582614bbf565b6141bf8185614c0a565b93506141cf818560208601614dd1565b80840191505092915050565b60006141e8602b83614bf9565b91506141f382614fae565b604082019050919050565b600061420b601483614bf9565b915061421682614ffd565b602082019050919050565b600061422e600e83614bf9565b915061423982615026565b602082019050919050565b6000614251602b83614bf9565b915061425c8261504f565b604082019050919050565b6000614274600b83614bf9565b915061427f8261509e565b602082019050919050565b6000614297603283614bf9565b91506142a2826150c7565b604082019050919050565b60006142ba602683614bf9565b91506142c582615116565b604082019050919050565b60006142dd601c83614bf9565b91506142e882615165565b602082019050919050565b6000614300601683614bf9565b915061430b8261518e565b602082019050919050565b6000614323602483614bf9565b915061432e826151b7565b604082019050919050565b6000614346601983614bf9565b915061435182615206565b602082019050919050565b6000614369600983614bf9565b91506143748261522f565b602082019050919050565b600061438c602c83614bf9565b915061439782615258565b604082019050919050565b60006143af601083614bf9565b91506143ba826152a7565b602082019050919050565b60006143d2603883614bf9565b91506143dd826152d0565b604082019050919050565b60006143f5602a83614bf9565b91506144008261531f565b604082019050919050565b6000614418602983614bf9565b91506144238261536e565b604082019050919050565b600061443b601683614bf9565b9150614446826153bd565b602082019050919050565b600061445e602083614bf9565b9150614469826153e6565b602082019050919050565b6000614481602c83614bf9565b915061448c8261540f565b604082019050919050565b60006144a4602083614bf9565b91506144af8261545e565b602082019050919050565b60006144c7602983614bf9565b91506144d282615487565b604082019050919050565b60006144ea602f83614bf9565b91506144f5826154d6565b604082019050919050565b600061450d601183614bf9565b915061451882615525565b602082019050919050565b6000614530602183614bf9565b915061453b8261554e565b604082019050919050565b6000614553601583614bf9565b915061455e8261559d565b602082019050919050565b6000614576603183614bf9565b9150614581826155c6565b604082019050919050565b6000614599602c83614bf9565b91506145a482615615565b604082019050919050565b60006145bc603083614bf9565b91506145c782615664565b604082019050919050565b6145db81614d94565b82525050565b6145ea81614d94565b82525050565b60006145fc82866141aa565b915061460882856141aa565b915061461482846141aa565b9150819050949350505050565b600060208201905061463660008301846140ad565b92915050565b600060808201905061465160008301876140ad565b61465e60208301866140ad565b61466b60408301856145e1565b818103606083015261467d8184614129565b905095945050505050565b600060408201905061469d60008301856140ad565b6146aa60208301846145e1565b9392505050565b600060208201905081810360008301526146cb81846140bc565b905092915050565b60006020820190506146e8600083018461411a565b92915050565b60006020820190506147036000830184614162565b92915050565b600060208201905081810360008301526147238184614171565b905092915050565b60006020820190508181036000830152614744816141db565b9050919050565b60006020820190508181036000830152614764816141fe565b9050919050565b6000602082019050818103600083015261478481614221565b9050919050565b600060208201905081810360008301526147a481614244565b9050919050565b600060208201905081810360008301526147c481614267565b9050919050565b600060208201905081810360008301526147e48161428a565b9050919050565b60006020820190508181036000830152614804816142ad565b9050919050565b60006020820190508181036000830152614824816142d0565b9050919050565b60006020820190508181036000830152614844816142f3565b9050919050565b6000602082019050818103600083015261486481614316565b9050919050565b6000602082019050818103600083015261488481614339565b9050919050565b600060208201905081810360008301526148a48161435c565b9050919050565b600060208201905081810360008301526148c48161437f565b9050919050565b600060208201905081810360008301526148e4816143a2565b9050919050565b60006020820190508181036000830152614904816143c5565b9050919050565b60006020820190508181036000830152614924816143e8565b9050919050565b600060208201905081810360008301526149448161440b565b9050919050565b600060208201905081810360008301526149648161442e565b9050919050565b6000602082019050818103600083015261498481614451565b9050919050565b600060208201905081810360008301526149a481614474565b9050919050565b600060208201905081810360008301526149c481614497565b9050919050565b600060208201905081810360008301526149e4816144ba565b9050919050565b60006020820190508181036000830152614a04816144dd565b9050919050565b60006020820190508181036000830152614a2481614500565b9050919050565b60006020820190508181036000830152614a4481614523565b9050919050565b60006020820190508181036000830152614a6481614546565b9050919050565b60006020820190508181036000830152614a8481614569565b9050919050565b60006020820190508181036000830152614aa48161458c565b9050919050565b60006020820190508181036000830152614ac4816145af565b9050919050565b6000602082019050614ae060008301846145e1565b92915050565b6000614af0614b01565b9050614afc8282614e36565b919050565b6000604051905090565b600067ffffffffffffffff821115614b2657614b25614f6e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b5257614b51614f6e565b5b614b5b82614f9d565b9050602081019050919050565b600067ffffffffffffffff821115614b8357614b82614f6e565b5b614b8c82614f9d565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c2082614d94565b9150614c2b83614d94565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c6057614c5f614ee1565b5b828201905092915050565b6000614c7682614d94565b9150614c8183614d94565b925082614c9157614c90614f10565b5b828204905092915050565b6000614ca782614d94565b9150614cb283614d94565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ceb57614cea614ee1565b5b828202905092915050565b6000614d0182614d94565b9150614d0c83614d94565b925082821015614d1f57614d1e614ee1565b5b828203905092915050565b6000614d3582614d74565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614da982614db0565b9050919050565b6000614dbb82614d74565b9050919050565b82818337600083830152505050565b60005b83811015614def578082015181840152602081019050614dd4565b83811115614dfe576000848401525b50505050565b60006002820490506001821680614e1c57607f821691505b60208210811415614e3057614e2f614f3f565b5b50919050565b614e3f82614f9d565b810181811067ffffffffffffffff82111715614e5e57614e5d614f6e565b5b80604052505050565b6000614e7282614d94565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ea557614ea4614ee1565b5b600182019050919050565b6000614ebb82614d94565b9150614ec683614d94565b925082614ed657614ed5614f10565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4e6f742073746172746564000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e2774206d696e74206d6f7265207468616e203300000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682047454d2062616c616e636500000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f576974686472617720756e7375636365737366756c0000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6156bc81614d2a565b81146156c757600080fd5b50565b6156d381614d3c565b81146156de57600080fd5b50565b6156ea81614d48565b81146156f557600080fd5b50565b61570181614d94565b811461570c57600080fd5b5056fea26469706673582212208d79d5f3bd421b4a07e7431b5badf98a2c9621864d1983363f93d4a9ac99274064736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000388df33ca34b7c5ada35216c462d018da20f8b740000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62654c727841526332684e4e6a395938366369356e4d696f5a787269776b6d59674e4e7655564379416b56542f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): ipfs://QmbeLrxARc2hNNj9Y86ci5nMioZxriwkmYgNNvUVCyAkVT/
Arg [1] : _gem (address): 0x388DF33ca34B7C5AdA35216C462D018Da20F8b74

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000388df33ca34b7c5ada35216c462d018da20f8b74
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d62654c727841526332684e4e6a395938366369356e4d69
Arg [4] : 6f5a787269776b6d59674e4e7655564379416b56542f00000000000000000000


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.