ETH Price: $3,388.16 (-2.67%)
Gas: 1 Gwei

Token

xTastyBones (xTastyBones)
 

Overview

Max Total Supply

2,222 xTastyBones

Holders

193

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
8 xTastyBones
0x758fe7e0d53d46a97801e63abea0f78c2ab73055
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:
xTastyBones

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract xTastyBones is ERC721A, Ownable, ReentrancyGuard {

    using Strings for uint256;

    bytes32 public MERKLE_ROOT; 

    uint256 public PRICE;
    uint256 public WHITELIST_PRICE;
    string private BASE_URI;

    bool public IS_PRE_SALE_ACTIVE;
    bool public IS_PUBLIC_SALE_ACTIVE;
    
    uint256 public MAX_MINT_PER_WALLET;
    uint256 public MAX_MINT_PER_TRANSACTION;
    
    uint256 public MAX_SUPPLY;

    constructor(
        bytes32 merkleRoot, 
        uint256 price, 
        uint256 whitelistPrice, 
        string memory baseURI, 
        uint256 maxMintPerWallet, 
        uint256 maxMintPerTransaction, 
        uint256 maxSupply
        ) ERC721A("xTastyBones", "xTastyBones") {

        MERKLE_ROOT = merkleRoot;
        
        PRICE = price;
        WHITELIST_PRICE = whitelistPrice;
        
        BASE_URI = baseURI;

        IS_PRE_SALE_ACTIVE = false;
        IS_PUBLIC_SALE_ACTIVE = false;

        MAX_MINT_PER_WALLET = maxMintPerWallet;
        MAX_MINT_PER_TRANSACTION = maxMintPerTransaction;

        MAX_SUPPLY = maxSupply;
    }

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

    function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner {
        MERKLE_ROOT = newMerkleRoot;
    }

    function setPrice(uint256 customPrice) external onlyOwner {
        PRICE = customPrice;
    }
    
    function setWhitelistPrice(uint256 customPrice) external onlyOwner {
        WHITELIST_PRICE = customPrice;
    }

    function lowerMaxSupply(uint256 newMaxSupply) external onlyOwner {
        require(newMaxSupply < MAX_SUPPLY, "New max supply must be lower than current");
        require(newMaxSupply >= _currentIndex, "New max supply lower than total number of mints");
        MAX_SUPPLY = newMaxSupply;
    }

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        BASE_URI = newBaseURI;
    }

    function setPreSaleActive(bool preSaleIsActive) external onlyOwner {
        IS_PRE_SALE_ACTIVE = preSaleIsActive;
    }

    function setPublicSaleActive(bool publicSaleIsActive) external onlyOwner {
        IS_PUBLIC_SALE_ACTIVE = publicSaleIsActive;
    }

    modifier validMintAmount(uint256 _mintAmount) {
        require(_mintAmount > 0, "Must mint at least one token");
        require(_currentIndex + _mintAmount <= MAX_SUPPLY, "Exceeded max tokens minted");
        require(_mintAmount <= MAX_MINT_PER_TRANSACTION, "Max amount of mints per transaction exceeded");
        require(balanceOf(msg.sender) + _mintAmount <= MAX_MINT_PER_WALLET, "Max amount of mints per wallet exceeded");
        _;
    }

    function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable validMintAmount(_mintAmount) {
        require(IS_PRE_SALE_ACTIVE, "Pre-sale is not active");
        require(msg.value >= SafeMath.mul(WHITELIST_PRICE, _mintAmount), "Insufficient funds");
        require(MerkleProof.verify(_merkleProof, MERKLE_ROOT, keccak256(abi.encodePacked(msg.sender))), 'Address is not whitelisted');

        _safeMint(msg.sender, _mintAmount);
    }

    function mint(uint256 _mintAmount) public payable validMintAmount(_mintAmount) {
        require(IS_PUBLIC_SALE_ACTIVE, "Public sale is not active");
        require(msg.value >= SafeMath.mul(PRICE, _mintAmount), "Insufficient funds");
        
        _safeMint(msg.sender, _mintAmount);
    }

    function mintOwner(address _to, uint256 _mintAmount) public onlyOwner {
        require(_mintAmount > 0, "Must mint at least one token");
        require(_currentIndex + _mintAmount <= MAX_SUPPLY, "Exceeded max tokens minted");
        
        _safeMint(_to, _mintAmount);
    }

    address private constant payoutAddress1 =
    0xb34Ce2526a4a74Ac657cBF5eb947fEE80DA1de0F;

    address private constant payoutAddress2 =
    0x618E73405A82D82AE1A430b1083b857a93C3d7a8;

    address private constant payoutAddress3 =
    0x98b5eE0c0e6bce2E73c3b0E429396348f07519Ba;

    function withdraw() public onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(payoutAddress1), SafeMath.div(SafeMath.mul(balance, 75), 100));
        Address.sendValue(payable(payoutAddress2), SafeMath.div(SafeMath.mul(balance, 15), 100));
        Address.sendValue(payable(payoutAddress3), SafeMath.div(SafeMath.mul(balance, 10), 100));
    }

}

File 2 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant: 
                    // There will always be an ownership that has an address and is not burned 
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = uint128(updatedIndex);
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked { 
            _burnCounter++;
        }
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 5 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 6 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 11 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 15 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"maxMintPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxMintPerTransaction","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IS_PRE_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_PUBLIC_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MERKLE_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"lowerMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"preSaleIsActive","type":"bool"}],"name":"setPreSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"customPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"publicSaleIsActive","type":"bool"}],"name":"setPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"customPrice","type":"uint256"}],"name":"setWhitelistPrice","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200512e3803806200512e8339818101604052810190620000379190620003af565b6040518060400160405280600b81526020017f785461737479426f6e65730000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f785461737479426f6e65730000000000000000000000000000000000000000008152508160019080519060200190620000bb92919062000253565b508060029080519060200190620000d492919062000253565b505050620000f7620000eb6200018560201b60201c565b6200018d60201b60201c565b60016008819055508660098190555085600a8190555084600b8190555083600c90805190602001906200012c92919062000253565b506000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff02191690831515021790555082600e8190555081600f8190555080601081905550505050505050506200064d565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000261906200052a565b90600052602060002090601f016020900481019282620002855760008555620002d1565b82601f10620002a057805160ff1916838001178555620002d1565b82800160010185558215620002d1579182015b82811115620002d0578251825591602001919060010190620002b3565b5b509050620002e09190620002e4565b5090565b5b80821115620002ff576000816000905550600101620002e5565b5090565b60006200031a6200031484620004aa565b62000481565b905082815260208101848484011115620003395762000338620005f9565b5b62000346848285620004f4565b509392505050565b6000815190506200035f8162000619565b92915050565b600082601f8301126200037d576200037c620005f4565b5b81516200038f84826020860162000303565b91505092915050565b600081519050620003a98162000633565b92915050565b600080600080600080600060e0888a031215620003d157620003d062000603565b5b6000620003e18a828b016200034e565b9750506020620003f48a828b0162000398565b9650506040620004078a828b0162000398565b955050606088015167ffffffffffffffff8111156200042b576200042a620005fe565b5b620004398a828b0162000365565b94505060806200044c8a828b0162000398565b93505060a06200045f8a828b0162000398565b92505060c0620004728a828b0162000398565b91505092959891949750929550565b60006200048d620004a0565b90506200049b828262000560565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c857620004c7620005c5565b5b620004d38262000608565b9050602081019050919050565b6000819050919050565b6000819050919050565b60005b8381101562000514578082015181840152602081019050620004f7565b8381111562000524576000848401525b50505050565b600060028204905060018216806200054357607f821691505b602082108114156200055a576200055962000596565b5b50919050565b6200056b8262000608565b810181811067ffffffffffffffff821117156200058d576200058c620005c5565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200062481620004e0565b81146200063057600080fd5b50565b6200063e81620004ea565b81146200064a57600080fd5b50565b614ad1806200065d6000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063a22cb465116100ab578063d2cab0561161006f578063d2cab056146107e4578063e2e06fa314610800578063e94d75f314610829578063e985e9c514610854578063f2fde38b1461089157610225565b8063a22cb46514610701578063b19960e61461072a578063b88d4fde14610755578063c4e9374d1461077e578063c87b56dd146107a757610225565b80638da5cb5b116100f25780638da5cb5b1461063b5780638e70d2741461066657806391b7f5ed1461069157806395d89b41146106ba578063a0712d68146106e557610225565b8063715018a6146105a7578063717d57d3146105be5780637cb64759146105e75780638d859f3e1461061057610225565b806332cb6b0c116101b157806351e75e8b1161017557806351e75e8b146104b057806355f804b3146104db5780636352211e1461050457806364d2e9d01461054157806370a082311461056a57610225565b806332cb6b0c146103df5780633ccfd60b1461040a578063408cbf941461042157806342842e0e1461044a5780634f6ccce71461047357610225565b806317e7f295116101f857806317e7f295146102f857806318160ddd1461032357806323b872dd1461034e57806324ef901e146103775780632f745c59146103a257610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613aa4565b6108ba565b60405161025e9190613fb5565b60405180910390f35b34801561027357600080fd5b5061027c610a04565b6040516102899190613feb565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613b47565b610a96565b6040516102c69190613f4e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613a0a565b610b12565b005b34801561030457600080fd5b5061030d610c1d565b60405161031a91906141ed565b60405180910390f35b34801561032f57600080fd5b50610338610c23565b60405161034591906141ed565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906138f4565b610c78565b005b34801561038357600080fd5b5061038c610c88565b60405161039991906141ed565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190613a0a565b610c8e565b6040516103d691906141ed565b60405180910390f35b3480156103eb57600080fd5b506103f4610e95565b60405161040191906141ed565b60405180910390f35b34801561041657600080fd5b5061041f610e9b565b005b34801561042d57600080fd5b5061044860048036038101906104439190613a0a565b61100b565b005b34801561045657600080fd5b50610471600480360381019061046c91906138f4565b611156565b005b34801561047f57600080fd5b5061049a60048036038101906104959190613b47565b611176565b6040516104a791906141ed565b60405180910390f35b3480156104bc57600080fd5b506104c56112e7565b6040516104d29190613fd0565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613afe565b6112ed565b005b34801561051057600080fd5b5061052b60048036038101906105269190613b47565b611383565b6040516105389190613f4e565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613a4a565b611399565b005b34801561057657600080fd5b50610591600480360381019061058c9190613887565b611432565b60405161059e91906141ed565b60405180910390f35b3480156105b357600080fd5b506105bc611502565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190613b47565b61158a565b005b3480156105f357600080fd5b5061060e60048036038101906106099190613a77565b611610565b005b34801561061c57600080fd5b50610625611696565b60405161063291906141ed565b60405180910390f35b34801561064757600080fd5b5061065061169c565b60405161065d9190613f4e565b60405180910390f35b34801561067257600080fd5b5061067b6116c6565b6040516106889190613fb5565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190613b47565b6116d9565b005b3480156106c657600080fd5b506106cf61175f565b6040516106dc9190613feb565b60405180910390f35b6106ff60048036038101906106fa9190613b47565b6117f1565b005b34801561070d57600080fd5b50610728600480360381019061072391906139ca565b6119fb565b005b34801561073657600080fd5b5061073f611b73565b60405161074c91906141ed565b60405180910390f35b34801561076157600080fd5b5061077c60048036038101906107779190613947565b611b79565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613b47565b611bcc565b005b3480156107b357600080fd5b506107ce60048036038101906107c99190613b47565b611d07565b6040516107db9190613feb565b60405180910390f35b6107fe60048036038101906107f99190613b74565b611da6565b005b34801561080c57600080fd5b5061082760048036038101906108229190613a4a565b612065565b005b34801561083557600080fd5b5061083e6120fe565b60405161084b9190613fb5565b60405180910390f35b34801561086057600080fd5b5061087b600480360381019061087691906138b4565b612111565b6040516108889190613fb5565b60405180910390f35b34801561089d57600080fd5b506108b860048036038101906108b39190613887565b6121a5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109ed57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109fd57506109fc8261229d565b5b9050919050565b606060018054610a13906144b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f906144b2565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b5050505050905090565b6000610aa182612307565b610ad7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1d82611383565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b85576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ba461236f565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bd65750610bd481610bcf61236f565b612111565b155b15610c0d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c18838383612377565b505050565b600b5481565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610c83838383612429565b505050565b600f5481565b6000610c9983611432565b8210610cd1576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610e89576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610de85750610e7c565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e2857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e7a5786841415610e71578195505050505050610e8f565b83806001019450505b505b8080600101915050610d0b565b50600080fd5b92915050565b60105481565b610ea361236f565b73ffffffffffffffffffffffffffffffffffffffff16610ec161169c565b73ffffffffffffffffffffffffffffffffffffffff1614610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e906140ed565b60405180910390fd5b60026008541415610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f54906141cd565b60405180910390fd5b60026008819055506000479050610f9c73b34ce2526a4a74ac657cbf5eb947fee80da1de0f610f97610f9084604b612946565b606461295c565b612972565b610fce73618e73405a82d82ae1a430b1083b857a93c3d7a8610fc9610fc284600f612946565b606461295c565b612972565b6110007398b5ee0c0e6bce2e73c3b0e429396348f07519ba610ffb610ff484600a612946565b606461295c565b612972565b506001600881905550565b61101361236f565b73ffffffffffffffffffffffffffffffffffffffff1661103161169c565b73ffffffffffffffffffffffffffffffffffffffff1614611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e906140ed565b60405180910390fd5b600081116110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c19061416d565b60405180910390fd5b6010548160008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1661110791906142dd565b1115611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906141ad565b60405180910390fd5b6111528282612a66565b5050565b61117183838360405180602001604052806000815250611b79565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156112af576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516112a1578583141561129857819450505050506112e2565b82806001019350505b5080806001019150506111ae565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60095481565b6112f561236f565b73ffffffffffffffffffffffffffffffffffffffff1661131361169c565b73ffffffffffffffffffffffffffffffffffffffff1614611369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611360906140ed565b60405180910390fd5b80600c908051906020019061137f9291906135ed565b5050565b600061138e82612a84565b600001519050919050565b6113a161236f565b73ffffffffffffffffffffffffffffffffffffffff166113bf61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906140ed565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561149a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61150a61236f565b73ffffffffffffffffffffffffffffffffffffffff1661152861169c565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906140ed565b60405180910390fd5b6115886000612d2c565b565b61159261236f565b73ffffffffffffffffffffffffffffffffffffffff166115b061169c565b73ffffffffffffffffffffffffffffffffffffffff1614611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd906140ed565b60405180910390fd5b80600b8190555050565b61161861236f565b73ffffffffffffffffffffffffffffffffffffffff1661163661169c565b73ffffffffffffffffffffffffffffffffffffffff161461168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611683906140ed565b60405180910390fd5b8060098190555050565b600a5481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60009054906101000a900460ff1681565b6116e161236f565b73ffffffffffffffffffffffffffffffffffffffff166116ff61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c906140ed565b60405180910390fd5b80600a8190555050565b60606002805461176e906144b2565b80601f016020809104026020016040519081016040528092919081815260200182805461179a906144b2565b80156117e75780601f106117bc576101008083540402835291602001916117e7565b820191906000526020600020905b8154815290600101906020018083116117ca57829003601f168201915b5050505050905090565b8060008111611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c9061416d565b60405180910390fd5b6010548160008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1661187291906142dd565b11156118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118aa906141ad565b60405180910390fd5b600f548111156118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef9061418d565b60405180910390fd5b600e548161190533611432565b61190f91906142dd565b1115611950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119479061414d565b60405180910390fd5b600d60019054906101000a900460ff1661199f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611996906140cd565b60405180910390fd5b6119ab600a5483612946565b3410156119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e49061408d565b60405180910390fd5b6119f73383612a66565b5050565b611a0361236f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a68576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611a7561236f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b2261236f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b679190613fb5565b60405180910390a35050565b600e5481565b611b84848484612429565b611b9084848484612df2565b611bc6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611bd461236f565b73ffffffffffffffffffffffffffffffffffffffff16611bf261169c565b73ffffffffffffffffffffffffffffffffffffffff1614611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f906140ed565b60405180910390fd5b6010548110611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c839061412d565b60405180910390fd5b60008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015611cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf4906140ad565b60405180910390fd5b8060108190555050565b6060611d1282612307565b611d48576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611d52612f80565b9050600081511415611d735760405180602001604052806000815250611d9e565b80611d7d84613012565b604051602001611d8e929190613f15565b6040516020818303038152906040525b915050919050565b8260008111611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de19061416d565b60405180910390fd5b6010548160008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611e2791906142dd565b1115611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f906141ad565b60405180910390fd5b600f54811115611ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea49061418d565b60405180910390fd5b600e5481611eba33611432565b611ec491906142dd565b1115611f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efc9061414d565b60405180910390fd5b600d60009054906101000a900460ff16611f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4b9061410d565b60405180910390fd5b611f60600b5485612946565b341015611fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f999061408d565b60405180910390fd5b612016838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001611ffb9190613efa565b60405160208183030381529060405280519060200120613173565b612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c9061402d565b60405180910390fd5b61205f3385612a66565b50505050565b61206d61236f565b73ffffffffffffffffffffffffffffffffffffffff1661208b61169c565b73ffffffffffffffffffffffffffffffffffffffff16146120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d8906140ed565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b600d60019054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121ad61236f565b73ffffffffffffffffffffffffffffffffffffffff166121cb61169c565b73ffffffffffffffffffffffffffffffffffffffff1614612221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612218906140ed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122889061400d565b60405180910390fd5b61229a81612d2c565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612368575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061243482612a84565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661245b61236f565b73ffffffffffffffffffffffffffffffffffffffff16148061248e575061248d826000015161248861236f565b612111565b5b806124d3575061249c61236f565b73ffffffffffffffffffffffffffffffffffffffff166124bb84610a96565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061250c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612575576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125dc576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125e9858585600161318a565b6125f96000848460000151612377565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128d65760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156128d55782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461293f8585856001613190565b5050505050565b600081836129549190614364565b905092915050565b6000818361296a9190614333565b905092915050565b804710156129b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ac9061406d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129db90613f39565b60006040518083038185875af1925050503d8060008114612a18576040519150601f19603f3d011682016040523d82523d6000602084013e612a1d565b606091505b5050905080612a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a589061404d565b60405180910390fd5b505050565b612a80828260405180602001604052806000815250613196565b5050565b612a8c613673565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612cf5576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612cf357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612bd7578092505050612d27565b5b600115612cf257818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ced578092505050612d27565b612bd8565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612e138473ffffffffffffffffffffffffffffffffffffffff166131a8565b15612f73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3c61236f565b8786866040518563ffffffff1660e01b8152600401612e5e9493929190613f69565b602060405180830381600087803b158015612e7857600080fd5b505af1925050508015612ea957506040513d601f19601f82011682018060405250810190612ea69190613ad1565b60015b612f23573d8060008114612ed9576040519150601f19603f3d011682016040523d82523d6000602084013e612ede565b606091505b50600081511415612f1b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f78565b600190505b949350505050565b6060600c8054612f8f906144b2565b80601f0160208091040260200160405190810160405280929190818152602001828054612fbb906144b2565b80156130085780601f10612fdd57610100808354040283529160200191613008565b820191906000526020600020905b815481529060010190602001808311612feb57829003601f168201915b5050505050905090565b6060600082141561305a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061316e565b600082905060005b6000821461308c57808061307590614515565b915050600a826130859190614333565b9150613062565b60008167ffffffffffffffff8111156130a8576130a761466f565b5b6040519080825280601f01601f1916602001820160405280156130da5781602001600182028036833780820191505090505b5090505b60008514613167576001826130f391906143be565b9150600a856131029190614582565b603061310e91906142dd565b60f81b81838151811061312457613123614640565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131609190614333565b94506130de565b8093505050505b919050565b60008261318085846131cb565b1490509392505050565b50505050565b50505050565b6131a38383836001613240565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156132355760008582815181106131f2576131f1614640565b5b602002602001015190508083116132145761320d83826135d6565b9250613221565b61321e81846135d6565b92505b50808061322d90614515565b9150506131d4565b508091505092915050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132db576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613316576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613323600086838761318a565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561358857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561353c575061353a6000888488612df2565b155b15613573576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818060010192505080806001019150506134c1565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506135cf6000868387613190565b5050505050565b600082600052816020526040600020905092915050565b8280546135f9906144b2565b90600052602060002090601f01602090048101928261361b5760008555613662565b82601f1061363457805160ff1916838001178555613662565b82800160010185558215613662579182015b82811115613661578251825591602001919060010190613646565b5b50905061366f91906136b6565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136cf5760008160009055506001016136b7565b5090565b60006136e66136e18461422d565b614208565b905082815260208101848484011115613702576137016146ad565b5b61370d848285614470565b509392505050565b60006137286137238461425e565b614208565b905082815260208101848484011115613744576137436146ad565b5b61374f848285614470565b509392505050565b60008135905061376681614a28565b92915050565b60008083601f840112613782576137816146a3565b5b8235905067ffffffffffffffff81111561379f5761379e61469e565b5b6020830191508360208202830111156137bb576137ba6146a8565b5b9250929050565b6000813590506137d181614a3f565b92915050565b6000813590506137e681614a56565b92915050565b6000813590506137fb81614a6d565b92915050565b60008151905061381081614a6d565b92915050565b600082601f83011261382b5761382a6146a3565b5b813561383b8482602086016136d3565b91505092915050565b600082601f830112613859576138586146a3565b5b8135613869848260208601613715565b91505092915050565b60008135905061388181614a84565b92915050565b60006020828403121561389d5761389c6146b7565b5b60006138ab84828501613757565b91505092915050565b600080604083850312156138cb576138ca6146b7565b5b60006138d985828601613757565b92505060206138ea85828601613757565b9150509250929050565b60008060006060848603121561390d5761390c6146b7565b5b600061391b86828701613757565b935050602061392c86828701613757565b925050604061393d86828701613872565b9150509250925092565b60008060008060808587031215613961576139606146b7565b5b600061396f87828801613757565b945050602061398087828801613757565b935050604061399187828801613872565b925050606085013567ffffffffffffffff8111156139b2576139b16146b2565b5b6139be87828801613816565b91505092959194509250565b600080604083850312156139e1576139e06146b7565b5b60006139ef85828601613757565b9250506020613a00858286016137c2565b9150509250929050565b60008060408385031215613a2157613a206146b7565b5b6000613a2f85828601613757565b9250506020613a4085828601613872565b9150509250929050565b600060208284031215613a6057613a5f6146b7565b5b6000613a6e848285016137c2565b91505092915050565b600060208284031215613a8d57613a8c6146b7565b5b6000613a9b848285016137d7565b91505092915050565b600060208284031215613aba57613ab96146b7565b5b6000613ac8848285016137ec565b91505092915050565b600060208284031215613ae757613ae66146b7565b5b6000613af584828501613801565b91505092915050565b600060208284031215613b1457613b136146b7565b5b600082013567ffffffffffffffff811115613b3257613b316146b2565b5b613b3e84828501613844565b91505092915050565b600060208284031215613b5d57613b5c6146b7565b5b6000613b6b84828501613872565b91505092915050565b600080600060408486031215613b8d57613b8c6146b7565b5b6000613b9b86828701613872565b935050602084013567ffffffffffffffff811115613bbc57613bbb6146b2565b5b613bc88682870161376c565b92509250509250925092565b613bdd816143f2565b82525050565b613bf4613bef826143f2565b61455e565b82525050565b613c0381614404565b82525050565b613c1281614410565b82525050565b6000613c238261428f565b613c2d81856142a5565b9350613c3d81856020860161447f565b613c46816146bc565b840191505092915050565b6000613c5c8261429a565b613c6681856142c1565b9350613c7681856020860161447f565b613c7f816146bc565b840191505092915050565b6000613c958261429a565b613c9f81856142d2565b9350613caf81856020860161447f565b80840191505092915050565b6000613cc86026836142c1565b9150613cd3826146da565b604082019050919050565b6000613ceb601a836142c1565b9150613cf682614729565b602082019050919050565b6000613d0e603a836142c1565b9150613d1982614752565b604082019050919050565b6000613d31601d836142c1565b9150613d3c826147a1565b602082019050919050565b6000613d546012836142c1565b9150613d5f826147ca565b602082019050919050565b6000613d77602f836142c1565b9150613d82826147f3565b604082019050919050565b6000613d9a6019836142c1565b9150613da582614842565b602082019050919050565b6000613dbd6020836142c1565b9150613dc88261486b565b602082019050919050565b6000613de06016836142c1565b9150613deb82614894565b602082019050919050565b6000613e036029836142c1565b9150613e0e826148bd565b604082019050919050565b6000613e266027836142c1565b9150613e318261490c565b604082019050919050565b6000613e49601c836142c1565b9150613e548261495b565b602082019050919050565b6000613e6c602c836142c1565b9150613e7782614984565b604082019050919050565b6000613e8f6000836142b6565b9150613e9a826149d3565b600082019050919050565b6000613eb2601a836142c1565b9150613ebd826149d6565b602082019050919050565b6000613ed5601f836142c1565b9150613ee0826149ff565b602082019050919050565b613ef481614466565b82525050565b6000613f068284613be3565b60148201915081905092915050565b6000613f218285613c8a565b9150613f2d8284613c8a565b91508190509392505050565b6000613f4482613e82565b9150819050919050565b6000602082019050613f636000830184613bd4565b92915050565b6000608082019050613f7e6000830187613bd4565b613f8b6020830186613bd4565b613f986040830185613eeb565b8181036060830152613faa8184613c18565b905095945050505050565b6000602082019050613fca6000830184613bfa565b92915050565b6000602082019050613fe56000830184613c09565b92915050565b600060208201905081810360008301526140058184613c51565b905092915050565b6000602082019050818103600083015261402681613cbb565b9050919050565b6000602082019050818103600083015261404681613cde565b9050919050565b6000602082019050818103600083015261406681613d01565b9050919050565b6000602082019050818103600083015261408681613d24565b9050919050565b600060208201905081810360008301526140a681613d47565b9050919050565b600060208201905081810360008301526140c681613d6a565b9050919050565b600060208201905081810360008301526140e681613d8d565b9050919050565b6000602082019050818103600083015261410681613db0565b9050919050565b6000602082019050818103600083015261412681613dd3565b9050919050565b6000602082019050818103600083015261414681613df6565b9050919050565b6000602082019050818103600083015261416681613e19565b9050919050565b6000602082019050818103600083015261418681613e3c565b9050919050565b600060208201905081810360008301526141a681613e5f565b9050919050565b600060208201905081810360008301526141c681613ea5565b9050919050565b600060208201905081810360008301526141e681613ec8565b9050919050565b60006020820190506142026000830184613eeb565b92915050565b6000614212614223565b905061421e82826144e4565b919050565b6000604051905090565b600067ffffffffffffffff8211156142485761424761466f565b5b614251826146bc565b9050602081019050919050565b600067ffffffffffffffff8211156142795761427861466f565b5b614282826146bc565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006142e882614466565b91506142f383614466565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614328576143276145b3565b5b828201905092915050565b600061433e82614466565b915061434983614466565b925082614359576143586145e2565b5b828204905092915050565b600061436f82614466565b915061437a83614466565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143b3576143b26145b3565b5b828202905092915050565b60006143c982614466565b91506143d483614466565b9250828210156143e7576143e66145b3565b5b828203905092915050565b60006143fd82614446565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561449d578082015181840152602081019050614482565b838111156144ac576000848401525b50505050565b600060028204905060018216806144ca57607f821691505b602082108114156144de576144dd614611565b5b50919050565b6144ed826146bc565b810181811067ffffffffffffffff8211171561450c5761450b61466f565b5b80604052505050565b600061452082614466565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614553576145526145b3565b5b600182019050919050565b600061456982614570565b9050919050565b600061457b826146cd565b9050919050565b600061458d82614466565b915061459883614466565b9250826145a8576145a76145e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4e6577206d617820737570706c79206c6f776572207468616e20746f74616c2060008201527f6e756d626572206f66206d696e74730000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5072652d73616c65206973206e6f742061637469766500000000000000000000600082015250565b7f4e6577206d617820737570706c79206d757374206265206c6f7765722074686160008201527f6e2063757272656e740000000000000000000000000000000000000000000000602082015250565b7f4d617820616d6f756e74206f66206d696e7473207065722077616c6c6574206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b7f4d617820616d6f756e74206f66206d696e747320706572207472616e7361637460008201527f696f6e2065786365656465640000000000000000000000000000000000000000602082015250565b50565b7f4578636565646564206d617820746f6b656e73206d696e746564000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614a31816143f2565b8114614a3c57600080fd5b50565b614a4881614404565b8114614a5357600080fd5b50565b614a5f81614410565b8114614a6a57600080fd5b50565b614a768161441a565b8114614a8157600080fd5b50565b614a8d81614466565b8114614a9857600080fd5b5056fea264697066735822122026e56864e2fc7cde782d8d6dcecfb5859e2abd3c8b30882fad77a7905bfe618464736f6c63430008070033c9da437a8da0281c869d4fe16b1b6ae106056ca133bfa82daafd0dc6e323d61400000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000001b39000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d59634b6b59434b384d556637395131684b5155696256754d6f316d4c5672383350314552445973616d4d4d462f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a611610123578063a22cb465116100ab578063d2cab0561161006f578063d2cab056146107e4578063e2e06fa314610800578063e94d75f314610829578063e985e9c514610854578063f2fde38b1461089157610225565b8063a22cb46514610701578063b19960e61461072a578063b88d4fde14610755578063c4e9374d1461077e578063c87b56dd146107a757610225565b80638da5cb5b116100f25780638da5cb5b1461063b5780638e70d2741461066657806391b7f5ed1461069157806395d89b41146106ba578063a0712d68146106e557610225565b8063715018a6146105a7578063717d57d3146105be5780637cb64759146105e75780638d859f3e1461061057610225565b806332cb6b0c116101b157806351e75e8b1161017557806351e75e8b146104b057806355f804b3146104db5780636352211e1461050457806364d2e9d01461054157806370a082311461056a57610225565b806332cb6b0c146103df5780633ccfd60b1461040a578063408cbf941461042157806342842e0e1461044a5780634f6ccce71461047357610225565b806317e7f295116101f857806317e7f295146102f857806318160ddd1461032357806323b872dd1461034e57806324ef901e146103775780632f745c59146103a257610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613aa4565b6108ba565b60405161025e9190613fb5565b60405180910390f35b34801561027357600080fd5b5061027c610a04565b6040516102899190613feb565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613b47565b610a96565b6040516102c69190613f4e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613a0a565b610b12565b005b34801561030457600080fd5b5061030d610c1d565b60405161031a91906141ed565b60405180910390f35b34801561032f57600080fd5b50610338610c23565b60405161034591906141ed565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906138f4565b610c78565b005b34801561038357600080fd5b5061038c610c88565b60405161039991906141ed565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190613a0a565b610c8e565b6040516103d691906141ed565b60405180910390f35b3480156103eb57600080fd5b506103f4610e95565b60405161040191906141ed565b60405180910390f35b34801561041657600080fd5b5061041f610e9b565b005b34801561042d57600080fd5b5061044860048036038101906104439190613a0a565b61100b565b005b34801561045657600080fd5b50610471600480360381019061046c91906138f4565b611156565b005b34801561047f57600080fd5b5061049a60048036038101906104959190613b47565b611176565b6040516104a791906141ed565b60405180910390f35b3480156104bc57600080fd5b506104c56112e7565b6040516104d29190613fd0565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613afe565b6112ed565b005b34801561051057600080fd5b5061052b60048036038101906105269190613b47565b611383565b6040516105389190613f4e565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613a4a565b611399565b005b34801561057657600080fd5b50610591600480360381019061058c9190613887565b611432565b60405161059e91906141ed565b60405180910390f35b3480156105b357600080fd5b506105bc611502565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190613b47565b61158a565b005b3480156105f357600080fd5b5061060e60048036038101906106099190613a77565b611610565b005b34801561061c57600080fd5b50610625611696565b60405161063291906141ed565b60405180910390f35b34801561064757600080fd5b5061065061169c565b60405161065d9190613f4e565b60405180910390f35b34801561067257600080fd5b5061067b6116c6565b6040516106889190613fb5565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190613b47565b6116d9565b005b3480156106c657600080fd5b506106cf61175f565b6040516106dc9190613feb565b60405180910390f35b6106ff60048036038101906106fa9190613b47565b6117f1565b005b34801561070d57600080fd5b50610728600480360381019061072391906139ca565b6119fb565b005b34801561073657600080fd5b5061073f611b73565b60405161074c91906141ed565b60405180910390f35b34801561076157600080fd5b5061077c60048036038101906107779190613947565b611b79565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613b47565b611bcc565b005b3480156107b357600080fd5b506107ce60048036038101906107c99190613b47565b611d07565b6040516107db9190613feb565b60405180910390f35b6107fe60048036038101906107f99190613b74565b611da6565b005b34801561080c57600080fd5b5061082760048036038101906108229190613a4a565b612065565b005b34801561083557600080fd5b5061083e6120fe565b60405161084b9190613fb5565b60405180910390f35b34801561086057600080fd5b5061087b600480360381019061087691906138b4565b612111565b6040516108889190613fb5565b60405180910390f35b34801561089d57600080fd5b506108b860048036038101906108b39190613887565b6121a5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109ed57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109fd57506109fc8261229d565b5b9050919050565b606060018054610a13906144b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f906144b2565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b5050505050905090565b6000610aa182612307565b610ad7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b1d82611383565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b85576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ba461236f565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bd65750610bd481610bcf61236f565b612111565b155b15610c0d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c18838383612377565b505050565b600b5481565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610c83838383612429565b505050565b600f5481565b6000610c9983611432565b8210610cd1576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015610e89576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115610de85750610e7c565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e2857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e7a5786841415610e71578195505050505050610e8f565b83806001019450505b505b8080600101915050610d0b565b50600080fd5b92915050565b60105481565b610ea361236f565b73ffffffffffffffffffffffffffffffffffffffff16610ec161169c565b73ffffffffffffffffffffffffffffffffffffffff1614610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e906140ed565b60405180910390fd5b60026008541415610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f54906141cd565b60405180910390fd5b60026008819055506000479050610f9c73b34ce2526a4a74ac657cbf5eb947fee80da1de0f610f97610f9084604b612946565b606461295c565b612972565b610fce73618e73405a82d82ae1a430b1083b857a93c3d7a8610fc9610fc284600f612946565b606461295c565b612972565b6110007398b5ee0c0e6bce2e73c3b0e429396348f07519ba610ffb610ff484600a612946565b606461295c565b612972565b506001600881905550565b61101361236f565b73ffffffffffffffffffffffffffffffffffffffff1661103161169c565b73ffffffffffffffffffffffffffffffffffffffff1614611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e906140ed565b60405180910390fd5b600081116110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c19061416d565b60405180910390fd5b6010548160008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1661110791906142dd565b1115611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906141ad565b60405180910390fd5b6111528282612a66565b5050565b61117183838360405180602001604052806000815250611b79565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b828110156112af576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516112a1578583141561129857819450505050506112e2565b82806001019350505b5080806001019150506111ae565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60095481565b6112f561236f565b73ffffffffffffffffffffffffffffffffffffffff1661131361169c565b73ffffffffffffffffffffffffffffffffffffffff1614611369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611360906140ed565b60405180910390fd5b80600c908051906020019061137f9291906135ed565b5050565b600061138e82612a84565b600001519050919050565b6113a161236f565b73ffffffffffffffffffffffffffffffffffffffff166113bf61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c906140ed565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561149a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61150a61236f565b73ffffffffffffffffffffffffffffffffffffffff1661152861169c565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906140ed565b60405180910390fd5b6115886000612d2c565b565b61159261236f565b73ffffffffffffffffffffffffffffffffffffffff166115b061169c565b73ffffffffffffffffffffffffffffffffffffffff1614611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd906140ed565b60405180910390fd5b80600b8190555050565b61161861236f565b73ffffffffffffffffffffffffffffffffffffffff1661163661169c565b73ffffffffffffffffffffffffffffffffffffffff161461168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611683906140ed565b60405180910390fd5b8060098190555050565b600a5481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60009054906101000a900460ff1681565b6116e161236f565b73ffffffffffffffffffffffffffffffffffffffff166116ff61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c906140ed565b60405180910390fd5b80600a8190555050565b60606002805461176e906144b2565b80601f016020809104026020016040519081016040528092919081815260200182805461179a906144b2565b80156117e75780601f106117bc576101008083540402835291602001916117e7565b820191906000526020600020905b8154815290600101906020018083116117ca57829003601f168201915b5050505050905090565b8060008111611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c9061416d565b60405180910390fd5b6010548160008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1661187291906142dd565b11156118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118aa906141ad565b60405180910390fd5b600f548111156118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef9061418d565b60405180910390fd5b600e548161190533611432565b61190f91906142dd565b1115611950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119479061414d565b60405180910390fd5b600d60019054906101000a900460ff1661199f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611996906140cd565b60405180910390fd5b6119ab600a5483612946565b3410156119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e49061408d565b60405180910390fd5b6119f73383612a66565b5050565b611a0361236f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a68576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611a7561236f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b2261236f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b679190613fb5565b60405180910390a35050565b600e5481565b611b84848484612429565b611b9084848484612df2565b611bc6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611bd461236f565b73ffffffffffffffffffffffffffffffffffffffff16611bf261169c565b73ffffffffffffffffffffffffffffffffffffffff1614611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f906140ed565b60405180910390fd5b6010548110611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c839061412d565b60405180910390fd5b60008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015611cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf4906140ad565b60405180910390fd5b8060108190555050565b6060611d1282612307565b611d48576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611d52612f80565b9050600081511415611d735760405180602001604052806000815250611d9e565b80611d7d84613012565b604051602001611d8e929190613f15565b6040516020818303038152906040525b915050919050565b8260008111611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de19061416d565b60405180910390fd5b6010548160008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611e2791906142dd565b1115611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f906141ad565b60405180910390fd5b600f54811115611ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea49061418d565b60405180910390fd5b600e5481611eba33611432565b611ec491906142dd565b1115611f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efc9061414d565b60405180910390fd5b600d60009054906101000a900460ff16611f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4b9061410d565b60405180910390fd5b611f60600b5485612946565b341015611fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f999061408d565b60405180910390fd5b612016838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001611ffb9190613efa565b60405160208183030381529060405280519060200120613173565b612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c9061402d565b60405180910390fd5b61205f3385612a66565b50505050565b61206d61236f565b73ffffffffffffffffffffffffffffffffffffffff1661208b61169c565b73ffffffffffffffffffffffffffffffffffffffff16146120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d8906140ed565b60405180910390fd5b80600d60016101000a81548160ff02191690831515021790555050565b600d60019054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121ad61236f565b73ffffffffffffffffffffffffffffffffffffffff166121cb61169c565b73ffffffffffffffffffffffffffffffffffffffff1614612221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612218906140ed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122889061400d565b60405180910390fd5b61229a81612d2c565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612368575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061243482612a84565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661245b61236f565b73ffffffffffffffffffffffffffffffffffffffff16148061248e575061248d826000015161248861236f565b612111565b5b806124d3575061249c61236f565b73ffffffffffffffffffffffffffffffffffffffff166124bb84610a96565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061250c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612575576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125dc576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125e9858585600161318a565b6125f96000848460000151612377565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128d65760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156128d55782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461293f8585856001613190565b5050505050565b600081836129549190614364565b905092915050565b6000818361296a9190614333565b905092915050565b804710156129b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ac9061406d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129db90613f39565b60006040518083038185875af1925050503d8060008114612a18576040519150601f19603f3d011682016040523d82523d6000602084013e612a1d565b606091505b5050905080612a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a589061404d565b60405180910390fd5b505050565b612a80828260405180602001604052806000815250613196565b5050565b612a8c613673565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612cf5576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612cf357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612bd7578092505050612d27565b5b600115612cf257818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ced578092505050612d27565b612bd8565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612e138473ffffffffffffffffffffffffffffffffffffffff166131a8565b15612f73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3c61236f565b8786866040518563ffffffff1660e01b8152600401612e5e9493929190613f69565b602060405180830381600087803b158015612e7857600080fd5b505af1925050508015612ea957506040513d601f19601f82011682018060405250810190612ea69190613ad1565b60015b612f23573d8060008114612ed9576040519150601f19603f3d011682016040523d82523d6000602084013e612ede565b606091505b50600081511415612f1b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f78565b600190505b949350505050565b6060600c8054612f8f906144b2565b80601f0160208091040260200160405190810160405280929190818152602001828054612fbb906144b2565b80156130085780601f10612fdd57610100808354040283529160200191613008565b820191906000526020600020905b815481529060010190602001808311612feb57829003601f168201915b5050505050905090565b6060600082141561305a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061316e565b600082905060005b6000821461308c57808061307590614515565b915050600a826130859190614333565b9150613062565b60008167ffffffffffffffff8111156130a8576130a761466f565b5b6040519080825280601f01601f1916602001820160405280156130da5781602001600182028036833780820191505090505b5090505b60008514613167576001826130f391906143be565b9150600a856131029190614582565b603061310e91906142dd565b60f81b81838151811061312457613123614640565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131609190614333565b94506130de565b8093505050505b919050565b60008261318085846131cb565b1490509392505050565b50505050565b50505050565b6131a38383836001613240565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156132355760008582815181106131f2576131f1614640565b5b602002602001015190508083116132145761320d83826135d6565b9250613221565b61321e81846135d6565b92505b50808061322d90614515565b9150506131d4565b508091505092915050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132db576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613316576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613323600086838761318a565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561358857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561353c575061353a6000888488612df2565b155b15613573576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818060010192505080806001019150506134c1565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506135cf6000868387613190565b5050505050565b600082600052816020526040600020905092915050565b8280546135f9906144b2565b90600052602060002090601f01602090048101928261361b5760008555613662565b82601f1061363457805160ff1916838001178555613662565b82800160010185558215613662579182015b82811115613661578251825591602001919060010190613646565b5b50905061366f91906136b6565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136cf5760008160009055506001016136b7565b5090565b60006136e66136e18461422d565b614208565b905082815260208101848484011115613702576137016146ad565b5b61370d848285614470565b509392505050565b60006137286137238461425e565b614208565b905082815260208101848484011115613744576137436146ad565b5b61374f848285614470565b509392505050565b60008135905061376681614a28565b92915050565b60008083601f840112613782576137816146a3565b5b8235905067ffffffffffffffff81111561379f5761379e61469e565b5b6020830191508360208202830111156137bb576137ba6146a8565b5b9250929050565b6000813590506137d181614a3f565b92915050565b6000813590506137e681614a56565b92915050565b6000813590506137fb81614a6d565b92915050565b60008151905061381081614a6d565b92915050565b600082601f83011261382b5761382a6146a3565b5b813561383b8482602086016136d3565b91505092915050565b600082601f830112613859576138586146a3565b5b8135613869848260208601613715565b91505092915050565b60008135905061388181614a84565b92915050565b60006020828403121561389d5761389c6146b7565b5b60006138ab84828501613757565b91505092915050565b600080604083850312156138cb576138ca6146b7565b5b60006138d985828601613757565b92505060206138ea85828601613757565b9150509250929050565b60008060006060848603121561390d5761390c6146b7565b5b600061391b86828701613757565b935050602061392c86828701613757565b925050604061393d86828701613872565b9150509250925092565b60008060008060808587031215613961576139606146b7565b5b600061396f87828801613757565b945050602061398087828801613757565b935050604061399187828801613872565b925050606085013567ffffffffffffffff8111156139b2576139b16146b2565b5b6139be87828801613816565b91505092959194509250565b600080604083850312156139e1576139e06146b7565b5b60006139ef85828601613757565b9250506020613a00858286016137c2565b9150509250929050565b60008060408385031215613a2157613a206146b7565b5b6000613a2f85828601613757565b9250506020613a4085828601613872565b9150509250929050565b600060208284031215613a6057613a5f6146b7565b5b6000613a6e848285016137c2565b91505092915050565b600060208284031215613a8d57613a8c6146b7565b5b6000613a9b848285016137d7565b91505092915050565b600060208284031215613aba57613ab96146b7565b5b6000613ac8848285016137ec565b91505092915050565b600060208284031215613ae757613ae66146b7565b5b6000613af584828501613801565b91505092915050565b600060208284031215613b1457613b136146b7565b5b600082013567ffffffffffffffff811115613b3257613b316146b2565b5b613b3e84828501613844565b91505092915050565b600060208284031215613b5d57613b5c6146b7565b5b6000613b6b84828501613872565b91505092915050565b600080600060408486031215613b8d57613b8c6146b7565b5b6000613b9b86828701613872565b935050602084013567ffffffffffffffff811115613bbc57613bbb6146b2565b5b613bc88682870161376c565b92509250509250925092565b613bdd816143f2565b82525050565b613bf4613bef826143f2565b61455e565b82525050565b613c0381614404565b82525050565b613c1281614410565b82525050565b6000613c238261428f565b613c2d81856142a5565b9350613c3d81856020860161447f565b613c46816146bc565b840191505092915050565b6000613c5c8261429a565b613c6681856142c1565b9350613c7681856020860161447f565b613c7f816146bc565b840191505092915050565b6000613c958261429a565b613c9f81856142d2565b9350613caf81856020860161447f565b80840191505092915050565b6000613cc86026836142c1565b9150613cd3826146da565b604082019050919050565b6000613ceb601a836142c1565b9150613cf682614729565b602082019050919050565b6000613d0e603a836142c1565b9150613d1982614752565b604082019050919050565b6000613d31601d836142c1565b9150613d3c826147a1565b602082019050919050565b6000613d546012836142c1565b9150613d5f826147ca565b602082019050919050565b6000613d77602f836142c1565b9150613d82826147f3565b604082019050919050565b6000613d9a6019836142c1565b9150613da582614842565b602082019050919050565b6000613dbd6020836142c1565b9150613dc88261486b565b602082019050919050565b6000613de06016836142c1565b9150613deb82614894565b602082019050919050565b6000613e036029836142c1565b9150613e0e826148bd565b604082019050919050565b6000613e266027836142c1565b9150613e318261490c565b604082019050919050565b6000613e49601c836142c1565b9150613e548261495b565b602082019050919050565b6000613e6c602c836142c1565b9150613e7782614984565b604082019050919050565b6000613e8f6000836142b6565b9150613e9a826149d3565b600082019050919050565b6000613eb2601a836142c1565b9150613ebd826149d6565b602082019050919050565b6000613ed5601f836142c1565b9150613ee0826149ff565b602082019050919050565b613ef481614466565b82525050565b6000613f068284613be3565b60148201915081905092915050565b6000613f218285613c8a565b9150613f2d8284613c8a565b91508190509392505050565b6000613f4482613e82565b9150819050919050565b6000602082019050613f636000830184613bd4565b92915050565b6000608082019050613f7e6000830187613bd4565b613f8b6020830186613bd4565b613f986040830185613eeb565b8181036060830152613faa8184613c18565b905095945050505050565b6000602082019050613fca6000830184613bfa565b92915050565b6000602082019050613fe56000830184613c09565b92915050565b600060208201905081810360008301526140058184613c51565b905092915050565b6000602082019050818103600083015261402681613cbb565b9050919050565b6000602082019050818103600083015261404681613cde565b9050919050565b6000602082019050818103600083015261406681613d01565b9050919050565b6000602082019050818103600083015261408681613d24565b9050919050565b600060208201905081810360008301526140a681613d47565b9050919050565b600060208201905081810360008301526140c681613d6a565b9050919050565b600060208201905081810360008301526140e681613d8d565b9050919050565b6000602082019050818103600083015261410681613db0565b9050919050565b6000602082019050818103600083015261412681613dd3565b9050919050565b6000602082019050818103600083015261414681613df6565b9050919050565b6000602082019050818103600083015261416681613e19565b9050919050565b6000602082019050818103600083015261418681613e3c565b9050919050565b600060208201905081810360008301526141a681613e5f565b9050919050565b600060208201905081810360008301526141c681613ea5565b9050919050565b600060208201905081810360008301526141e681613ec8565b9050919050565b60006020820190506142026000830184613eeb565b92915050565b6000614212614223565b905061421e82826144e4565b919050565b6000604051905090565b600067ffffffffffffffff8211156142485761424761466f565b5b614251826146bc565b9050602081019050919050565b600067ffffffffffffffff8211156142795761427861466f565b5b614282826146bc565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006142e882614466565b91506142f383614466565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614328576143276145b3565b5b828201905092915050565b600061433e82614466565b915061434983614466565b925082614359576143586145e2565b5b828204905092915050565b600061436f82614466565b915061437a83614466565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143b3576143b26145b3565b5b828202905092915050565b60006143c982614466565b91506143d483614466565b9250828210156143e7576143e66145b3565b5b828203905092915050565b60006143fd82614446565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561449d578082015181840152602081019050614482565b838111156144ac576000848401525b50505050565b600060028204905060018216806144ca57607f821691505b602082108114156144de576144dd614611565b5b50919050565b6144ed826146bc565b810181811067ffffffffffffffff8211171561450c5761450b61466f565b5b80604052505050565b600061452082614466565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614553576145526145b3565b5b600182019050919050565b600061456982614570565b9050919050565b600061457b826146cd565b9050919050565b600061458d82614466565b915061459883614466565b9250826145a8576145a76145e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4e6577206d617820737570706c79206c6f776572207468616e20746f74616c2060008201527f6e756d626572206f66206d696e74730000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5072652d73616c65206973206e6f742061637469766500000000000000000000600082015250565b7f4e6577206d617820737570706c79206d757374206265206c6f7765722074686160008201527f6e2063757272656e740000000000000000000000000000000000000000000000602082015250565b7f4d617820616d6f756e74206f66206d696e7473207065722077616c6c6574206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b7f4d617820616d6f756e74206f66206d696e747320706572207472616e7361637460008201527f696f6e2065786365656465640000000000000000000000000000000000000000602082015250565b50565b7f4578636565646564206d617820746f6b656e73206d696e746564000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614a31816143f2565b8114614a3c57600080fd5b50565b614a4881614404565b8114614a5357600080fd5b50565b614a5f81614410565b8114614a6a57600080fd5b50565b614a768161441a565b8114614a8157600080fd5b50565b614a8d81614466565b8114614a9857600080fd5b5056fea264697066735822122026e56864e2fc7cde782d8d6dcecfb5859e2abd3c8b30882fad77a7905bfe618464736f6c63430008070033

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

c9da437a8da0281c869d4fe16b1b6ae106056ca133bfa82daafd0dc6e323d61400000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000001b39000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d59634b6b59434b384d556637395131684b5155696256754d6f316d4c5672383350314552445973616d4d4d462f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : merkleRoot (bytes32): 0xc9da437a8da0281c869d4fe16b1b6ae106056ca133bfa82daafd0dc6e323d614
Arg [1] : price (uint256): 20000000000000000
Arg [2] : whitelistPrice (uint256): 10000000000000000
Arg [3] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmYcKkYCK8MUf79Q1hKQUibVuMo1mLVr83P1ERDYsamMMF/
Arg [4] : maxMintPerWallet (uint256): 100
Arg [5] : maxMintPerTransaction (uint256): 30
Arg [6] : maxSupply (uint256): 6969

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : c9da437a8da0281c869d4fe16b1b6ae106056ca133bfa82daafd0dc6e323d614
Arg [1] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [2] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [6] : 0000000000000000000000000000000000000000000000000000000000001b39
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [8] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [9] : 732f516d59634b6b59434b384d556637395131684b5155696256754d6f316d4c
Arg [10] : 5672383350314552445973616d4d4d462f000000000000000000000000000000


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.