ETH Price: $3,146.07 (+2.52%)

Token

Sky Crucible (SKYCWEAPONCRAFTING)
 

Overview

Max Total Supply

6,670 SKYCWEAPONCRAFTING

Holders

1,074

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 SKYCWEAPONCRAFTING
0x594007e7cb661782830f95c22c4ee7bda5189b36
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:
SkyCrucible

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : SkyCrucible.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract SkyCrucible is Ownable, ERC721A, ReentrancyGuard {
    bool public MINT_AVAILABLE;
    string public NAME;
    string public SYMBOL;
    string public BASE_URI;
    uint256 public MAX_SUPPLY;
    uint256 public PRICE_PER_TOKEN_SET;
    uint256 public FREE_MINT_START;
    uint256 public FREE_MINT_END;
    uint256 public FREE_MINT_DIVISOR;
    uint8 public TOKEN_SET_QUANTITY;
    uint8 public MAX_PER_MINT_SET_QUANTITY;
    uint16 public FREE_MINTS_GIVEN;

    mapping(address => bool) public hasMintedFree;

    event NewMint(address minter, uint256 quantityOfSets);
    event MintOpened();
    event MintPaused();
    event MintSoldOut();

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseUri,
        uint256 _maxSupply,
        uint256 _tokenSetPrice,
        uint8 _tokenSetQuantity,
        uint8 _maxPerMintSetQuantity,
        uint256 _freeMintStart,
        uint256 _freeMintEnd,
        uint256 _freeMintDivisor,
        bool _mintAvailable
    ) ERC721A(_name, _symbol) {
        NAME = _name;
        SYMBOL = _symbol;
        BASE_URI = _baseUri;
        MAX_SUPPLY = _maxSupply;
        PRICE_PER_TOKEN_SET = _tokenSetPrice;
        TOKEN_SET_QUANTITY = _tokenSetQuantity;
        MAX_PER_MINT_SET_QUANTITY = _maxPerMintSetQuantity;
        FREE_MINT_START = _freeMintStart;
        FREE_MINT_END = _freeMintEnd;
        FREE_MINT_DIVISOR = _freeMintDivisor;
        MINT_AVAILABLE = _mintAvailable;
    }

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

    function mintedFree(address buyer) public view returns (bool) {
        return (hasMintedFree[buyer]);
    }

    function eligibleForFreeMint(address buyer) public view returns (bool) {
        return (activeFreeMintPeriod() &&
            !mintedFree(buyer) &&
            freeMintsAvailable() > 0);
    }

    function activeFreeMintPeriod() public view returns (bool) {
        uint256 currentTime = block.timestamp;

        return (currentTime >= FREE_MINT_START && currentTime < FREE_MINT_END);
    }

    function totalFreeMints() public view returns (uint256) {
        return (MAX_SUPPLY / FREE_MINT_DIVISOR);
    }

    function freeMintsAvailable() public view returns (uint256) {
        return (totalFreeMints() - FREE_MINTS_GIVEN);
    }

    function safeMint(uint256 quantity) external payable {
        require(MINT_AVAILABLE, "Minting is not currently available");

        require(
            quantity >= 1,
            "Invalid quantity. Quantity parameter must be greater than or equal to 1."
        );

        require(
            quantity <= MAX_PER_MINT_SET_QUANTITY,
            "Invalid quantity. Quantity parameter must be less than or equal to MAX_PER_MINT_SET_QUANTITY."
        );

        bool validNormalPrice = msg.value == (PRICE_PER_TOKEN_SET * quantity);
        bool validFreeMintPrice = msg.value ==
            (PRICE_PER_TOKEN_SET * (quantity - 1));

        require(
            (validNormalPrice || validFreeMintPrice),
            "Invalid ether call value provided for mint quantity. Expected quantity multiplied by PRICE_PER_TOKEN_SET."
        );

        safeMint(quantity * TOKEN_SET_QUANTITY, true);
    }

    function safeMint(uint256 _mintQuantity, bool _validMintRequest) private {
        safeMint(
            _mintQuantity,
            _validMintRequest,
            freeMintAttempt(_mintQuantity)
        );
    }

    function safeMint(
        uint256 _mintQuantity,
        bool,
        bool _freeMintAttempt
    ) private {
        if (_freeMintAttempt && eligibleForFreeMint(msg.sender)) {
            FREE_MINTS_GIVEN += 5;
            hasMintedFree[msg.sender] = true;
            _maxQuantityCheck(_mintQuantity, 5);
        } else if (_freeMintAttempt && !eligibleForFreeMint(msg.sender)) {
            require(false, "Sorry, you're not eligible for a free mint!");
        } else {
            _maxQuantityCheck(_mintQuantity, 0);
        }
    }

    function _maxQuantityCheck(uint256 _mintQuantity, uint256 _freeMintQuantity)
        private
    {
        uint256 mintTotal = _mintQuantity;

        if (totalSupply() + _mintQuantity > MAX_SUPPLY) {
            mintTotal = MAX_SUPPLY - totalSupply();
            uint256 paidForMints = (mintTotal - _freeMintQuantity);
            uint256 captureAmount = ((paidForMints / TOKEN_SET_QUANTITY) *
                PRICE_PER_TOKEN_SET);
            uint256 refund = msg.value - captureAmount;

            (bool success, ) = payable(msg.sender).call{value: refund}("");

            require(success, "Failed to send partial ether amount");
        }

        _safeMint(msg.sender, mintTotal);

        emit NewMint(msg.sender, (mintTotal / TOKEN_SET_QUANTITY));

        if (totalSupply() == MAX_SUPPLY) {
            emit MintSoldOut();
        }
    }

    function freeMintAttempt(uint256 _mintQuantity) private returns (bool) {
        return (msg.value ==
            PRICE_PER_TOKEN_SET * ((_mintQuantity / TOKEN_SET_QUANTITY) - 1));
    }

    function setBaseURI(string memory _baseUri) public onlyOwner {
        BASE_URI = _baseUri;
    }

    function setFreeMintStart(uint256 _freeMintStart) public onlyOwner {
        FREE_MINT_START = _freeMintStart;
    }

    function setFreeMintEnd(uint256 _freeMintEnd) public onlyOwner {
        FREE_MINT_END = _freeMintEnd;
    }

    function setPricePerTokenSet(uint256 _pricePerTokenSet) public onlyOwner {
        PRICE_PER_TOKEN_SET = _pricePerTokenSet;
    }

    function setMintAvailable(bool _mintAvailable) public onlyOwner {
        MINT_AVAILABLE = _mintAvailable;

        if (_mintAvailable) {
            emit MintOpened();
        } else {
            emit MintPaused();
        }
    }

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

    function withdraw(address payee) public onlyOwner {
        uint256 balance = address(this).balance;

        payable(payee).transfer(balance);
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @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..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // 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) {
        return currentIndex;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @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) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        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.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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) {
        require(owner != address(0), 'ERC721A: balance query for the zero address');
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * 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) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @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) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            'ERC721A: approve caller is not owner nor approved for all'
        );

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: transfer to non ERC721Receiver implementer'
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    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;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

        _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 > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(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) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = 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 ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _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**256.
        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)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @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('ERC721A: transfer to non ERC721Receiver implementer');
                } 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.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

File 4 of 13 : 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 5 of 13 : 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 6 of 13 : 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 7 of 13 : 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 8 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 10 of 13 : 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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_tokenSetPrice","type":"uint256"},{"internalType":"uint8","name":"_tokenSetQuantity","type":"uint8"},{"internalType":"uint8","name":"_maxPerMintSetQuantity","type":"uint8"},{"internalType":"uint256","name":"_freeMintStart","type":"uint256"},{"internalType":"uint256","name":"_freeMintEnd","type":"uint256"},{"internalType":"uint256","name":"_freeMintDivisor","type":"uint256"},{"internalType":"bool","name":"_mintAvailable","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[],"name":"MintOpened","type":"event"},{"anonymous":false,"inputs":[],"name":"MintPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"MintSoldOut","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantityOfSets","type":"uint256"}],"name":"NewMint","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":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINTS_GIVEN","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINT_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINT_END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINT_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_MINT_SET_QUANTITY","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_AVAILABLE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN_SET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_SET_QUANTITY","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activeFreeMintPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"buyer","type":"address"}],"name":"eligibleForFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintsAvailable","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":"","type":"address"}],"name":"hasMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"buyer","type":"address"}],"name":"mintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMintEnd","type":"uint256"}],"name":"setFreeMintEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMintStart","type":"uint256"}],"name":"setFreeMintStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintAvailable","type":"bool"}],"name":"setMintAvailable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerTokenSet","type":"uint256"}],"name":"setPricePerTokenSet","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":"totalFreeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payee","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200533738038062005337833981810160405281019062000037919062000397565b8a8a620000596200004d6200016460201b60201c565b6200016c60201b60201c565b81600290805190602001906200007192919062000230565b5080600390805190602001906200008a92919062000230565b50505060016008819055508a600a9080519060200190620000ad92919062000230565b5089600b9080519060200190620000c692919062000230565b5088600c9080519060200190620000df92919062000230565b5087600d8190555086600e8190555085601260006101000a81548160ff021916908360ff16021790555084601260016101000a81548160ff021916908360ff16021790555083600f81905550826010819055508160118190555080600960006101000a81548160ff02191690831515021790555050505050505050505050506200068b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023e90620005a9565b90600052602060002090601f016020900481019282620002625760008555620002ae565b82601f106200027d57805160ff1916838001178555620002ae565b82800160010185558215620002ae579182015b82811115620002ad57825182559160200191906001019062000290565b5b509050620002bd9190620002c1565b5090565b5b80821115620002dc576000816000905550600101620002c2565b5090565b6000620002f7620002f1846200051d565b620004e9565b9050828152602081018484840111156200031057600080fd5b6200031d84828562000573565b509392505050565b60008151905062000336816200063d565b92915050565b600082601f8301126200034e57600080fd5b815162000360848260208601620002e0565b91505092915050565b6000815190506200037a8162000657565b92915050565b600081519050620003918162000671565b92915050565b60008060008060008060008060008060006101608c8e031215620003ba57600080fd5b60008c015167ffffffffffffffff811115620003d557600080fd5b620003e38e828f016200033c565b9b505060208c015167ffffffffffffffff8111156200040157600080fd5b6200040f8e828f016200033c565b9a505060408c015167ffffffffffffffff8111156200042d57600080fd5b6200043b8e828f016200033c565b99505060606200044e8e828f0162000369565b9850506080620004618e828f0162000369565b97505060a0620004748e828f0162000380565b96505060c0620004878e828f0162000380565b95505060e06200049a8e828f0162000369565b945050610100620004ae8e828f0162000369565b935050610120620004c28e828f0162000369565b925050610140620004d68e828f0162000325565b9150509295989b509295989b9093969950565b6000604051905081810181811067ffffffffffffffff821117156200051357620005126200060e565b5b8060405250919050565b600067ffffffffffffffff8211156200053b576200053a6200060e565b5b601f19601f8301169050602081019050919050565b60008115159050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156200059357808201518184015260208101905062000576565b83811115620005a3576000848401525b50505050565b60006002820490506001821680620005c257607f821691505b60208210811415620005d957620005d8620005df565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006488162000550565b81146200065457600080fd5b50565b62000662816200055c565b81146200066e57600080fd5b50565b6200067c8162000566565b81146200068857600080fd5b50565b614c9c806200069b6000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063c87b56dd116100b6578063ead2930a1161007a578063ead2930a14610949578063ebca294414610974578063eefbfe341461099f578063efdcb04a146109dc578063f2fde38b14610a07578063f76f8d7814610a3057610267565b8063c87b56dd1461084e578063dbddb26a1461088b578063de257ecc146108b6578063e980723d146108e1578063e985e9c51461090c57610267565b8063a1165f5d11610108578063a1165f5d14610740578063a22cb4651461076b578063a3f4df7e14610794578063a7671c66146107bf578063b88d4fde146107e8578063c513d0291461081157610267565b8063715018a61461067d578063732376fe1461069457806381bab363146106bf5780638da5cb5b146106ea57806395d89b411461071557610267565b806332cb6b0c116101dd5780634f6ccce7116101a15780634f6ccce71461054b57806351cff8d91461058857806355f804b3146105b15780636352211e146105da5780636f501a231461061757806370a082311461064057610267565b806332cb6b0c1461047a578063409c1840146104a557806342842e0e146104ce578063446b9f8e146104f75780634605253e1461052257610267565b806318160ddd1161022f57806318160ddd14610365578063209848011461039057806323b872dd146103cd5780632f745c59146103f65780632fb2930c1461043357806331c864e81461045e57610267565b806301ffc9a71461026c578063057406c6146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613717565b610a5b565b6040516102a091906143e6565b60405180910390f35b3480156102b557600080fd5b506102be610a6d565b6040516102cb91906143e6565b60405180910390f35b3480156102e057600080fd5b506102e9610a8c565b6040516102f69190614401565b60405180910390f35b34801561030b57600080fd5b50610326600480360381019061032191906137aa565b610b1e565b6040516103339190614356565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906136b2565b610ba3565b005b34801561037157600080fd5b5061037a610cbc565b604051610387919061475e565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b29190613547565b610cc6565b6040516103c491906143e6565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef91906135ac565b610d1c565b005b34801561040257600080fd5b5061041d600480360381019061041891906136b2565b610d2c565b60405161042a919061475e565b60405180910390f35b34801561043f57600080fd5b50610448610f1e565b6040516104559190614779565b60405180910390f35b610478600480360381019061047391906137aa565b610f31565b005b34801561048657600080fd5b5061048f6110c2565b60405161049c919061475e565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c791906137aa565b6110c8565b005b3480156104da57600080fd5b506104f560048036038101906104f091906135ac565b61114e565b005b34801561050357600080fd5b5061050c61116e565b6040516105199190614779565b60405180910390f35b34801561052e57600080fd5b50610549600480360381019061054491906137aa565b611181565b005b34801561055757600080fd5b50610572600480360381019061056d91906137aa565b611207565b60405161057f919061475e565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613547565b61125a565b005b3480156105bd57600080fd5b506105d860048036038101906105d39190613769565b611326565b005b3480156105e657600080fd5b5061060160048036038101906105fc91906137aa565b6113bc565b60405161060e9190614356565b60405180910390f35b34801561062357600080fd5b5061063e600480360381019061063991906136ee565b6113d2565b005b34801561064c57600080fd5b5061066760048036038101906106629190613547565b6114cf565b604051610674919061475e565b60405180910390f35b34801561068957600080fd5b506106926115b8565b005b3480156106a057600080fd5b506106a9611640565b6040516106b691906143e6565b60405180910390f35b3480156106cb57600080fd5b506106d4611653565b6040516106e1919061475e565b60405180910390f35b3480156106f657600080fd5b506106ff611659565b60405161070c9190614356565b60405180910390f35b34801561072157600080fd5b5061072a611682565b6040516107379190614401565b60405180910390f35b34801561074c57600080fd5b50610755611714565b604051610762919061475e565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613676565b611742565b005b3480156107a057600080fd5b506107a96118c3565b6040516107b69190614401565b60405180910390f35b3480156107cb57600080fd5b506107e660048036038101906107e191906137aa565b611951565b005b3480156107f457600080fd5b5061080f600480360381019061080a91906135fb565b6119d7565b005b34801561081d57600080fd5b5061083860048036038101906108339190613547565b611a33565b60405161084591906143e6565b60405180910390f35b34801561085a57600080fd5b50610875600480360381019061087091906137aa565b611a53565b6040516108829190614401565b60405180910390f35b34801561089757600080fd5b506108a0611afb565b6040516108ad9190614401565b60405180910390f35b3480156108c257600080fd5b506108cb611b89565b6040516108d8919061475e565b60405180910390f35b3480156108ed57600080fd5b506108f6611b8f565b604051610903919061475e565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e9190613570565b611b95565b60405161094091906143e6565b60405180910390f35b34801561095557600080fd5b5061095e611c29565b60405161096b919061475e565b60405180910390f35b34801561098057600080fd5b50610989611c2f565b6040516109969190614743565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c19190613547565b611c43565b6040516109d391906143e6565b60405180910390f35b3480156109e857600080fd5b506109f1611c79565b6040516109fe919061475e565b60405180910390f35b348015610a1357600080fd5b50610a2e6004803603810190610a299190613547565b611c90565b005b348015610a3c57600080fd5b50610a45611d88565b604051610a529190614401565b60405180910390f35b6000610a6682611e16565b9050919050565b600080429050600f548110158015610a86575060105481105b91505090565b606060028054610a9b90614a91565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac790614a91565b8015610b145780601f10610ae957610100808354040283529160200191610b14565b820191906000526020600020905b815481529060010190602001808311610af757829003601f168201915b5050505050905090565b6000610b2982611f60565b610b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5f90614723565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bae826113bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1690614603565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3e611f6e565b73ffffffffffffffffffffffffffffffffffffffff161480610c6d5750610c6c81610c67611f6e565b611b95565b5b610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390614503565b60405180910390fd5b610cb7838383611f76565b505050565b6000600154905090565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610d27838383612028565b505050565b6000610d37836114cf565b8210610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f90614423565b60405180910390fd5b6000610d82610cbc565b905060008060005b83811015610edc576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e7c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ece5786841415610ec5578195505050505050610f18565b83806001019450505b508080600101915050610d8a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0f906146e3565b60405180910390fd5b92915050565b601260019054906101000a900460ff1681565b600960009054906101000a900460ff16610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790614623565b60405180910390fd5b6001811015610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906146c3565b60405180910390fd5b601260019054906101000a900460ff1660ff16811115611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614483565b60405180910390fd5b600081600e546110299190614932565b34149050600060018361103c919061498c565b600e546110499190614932565b3414905081806110565750805b611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c906144e3565b60405180910390fd5b6110bd601260009054906101000a900460ff1660ff16846110b69190614932565b6001612568565b505050565b600d5481565b6110d0611f6e565b73ffffffffffffffffffffffffffffffffffffffff166110ee611659565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b90614583565b60405180910390fd5b80600e8190555050565b611169838383604051806020016040528060008152506119d7565b505050565b601260009054906101000a900460ff1681565b611189611f6e565b73ffffffffffffffffffffffffffffffffffffffff166111a7611659565b73ffffffffffffffffffffffffffffffffffffffff16146111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614583565b60405180910390fd5b8060108190555050565b6000611211610cbc565b8210611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906144a3565b60405180910390fd5b819050919050565b611262611f6e565b73ffffffffffffffffffffffffffffffffffffffff16611280611659565b73ffffffffffffffffffffffffffffffffffffffff16146112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd90614583565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611321573d6000803e3d6000fd5b505050565b61132e611f6e565b73ffffffffffffffffffffffffffffffffffffffff1661134c611659565b73ffffffffffffffffffffffffffffffffffffffff16146113a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139990614583565b60405180910390fd5b80600c90805190602001906113b8929190613331565b5050565b60006113c78261257f565b600001519050919050565b6113da611f6e565b73ffffffffffffffffffffffffffffffffffffffff166113f8611659565b73ffffffffffffffffffffffffffffffffffffffff161461144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590614583565b60405180910390fd5b80600960006101000a81548160ff021916908315150217905550801561149f577f4301b55b3d4fd9018308a6bd66bf37880623a9548566d1b12867ab619a993ca160405160405180910390a16114cc565b7fd7d248ba47bac931be252275aff92303dd610ca36c92c05dbac783fde1662a0e60405160405180910390a15b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153790614543565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6115c0611f6e565b73ffffffffffffffffffffffffffffffffffffffff166115de611659565b73ffffffffffffffffffffffffffffffffffffffff1614611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90614583565b60405180910390fd5b61163e6000612719565b565b600960009054906101000a900460ff1681565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461169190614a91565b80601f01602080910402602001604051908101604052809291908181526020018280546116bd90614a91565b801561170a5780601f106116df5761010080835404028352916020019161170a565b820191906000526020600020905b8154815290600101906020018083116116ed57829003601f168201915b5050505050905090565b6000601260029054906101000a900461ffff1661ffff16611733611c79565b61173d919061498c565b905090565b61174a611f6e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af906145c3565b60405180910390fd5b80600760006117c5611f6e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611872611f6e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118b791906143e6565b60405180910390a35050565b600a80546118d090614a91565b80601f01602080910402602001604051908101604052809291908181526020018280546118fc90614a91565b80156119495780601f1061191e57610100808354040283529160200191611949565b820191906000526020600020905b81548152906001019060200180831161192c57829003601f168201915b505050505081565b611959611f6e565b73ffffffffffffffffffffffffffffffffffffffff16611977611659565b73ffffffffffffffffffffffffffffffffffffffff16146119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c490614583565b60405180910390fd5b80600f8190555050565b6119e2848484612028565b6119ee848484846127dd565b611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2490614643565b60405180910390fd5b50505050565b60136020528060005260406000206000915054906101000a900460ff1681565b6060611a5e82611f60565b611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a94906145a3565b60405180910390fd5b6000611aa7612974565b9050600081511415611ac85760405180602001604052806000815250611af3565b80611ad284612a06565b604051602001611ae392919061431d565b6040516020818303038152906040525b915050919050565b600c8054611b0890614a91565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3490614a91565b8015611b815780601f10611b5657610100808354040283529160200191611b81565b820191906000526020600020905b815481529060010190602001808311611b6457829003601f168201915b505050505081565b600f5481565b60105481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b601260029054906101000a900461ffff1681565b6000611c4d610a6d565b8015611c5f5750611c5d82610cc6565b155b8015611c7257506000611c70611714565b115b9050919050565b6000601154600d54611c8b9190614901565b905090565b611c98611f6e565b73ffffffffffffffffffffffffffffffffffffffff16611cb6611659565b73ffffffffffffffffffffffffffffffffffffffff1614611d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0390614583565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7390614443565b60405180910390fd5b611d8581612719565b50565b600b8054611d9590614a91565b80601f0160208091040260200160405190810160405280929190818152602001828054611dc190614a91565b8015611e0e5780601f10611de357610100808354040283529160200191611e0e565b820191906000526020600020905b815481529060010190602001808311611df157829003601f168201915b505050505081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ee157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f4957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f595750611f5882612bb3565b5b9050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006120338261257f565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661205a611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614806120b6575061207f611f6e565b73ffffffffffffffffffffffffffffffffffffffff1661209e84610b1e565b73ffffffffffffffffffffffffffffffffffffffff16145b806120d257506120d182600001516120cc611f6e565b611b95565b5b905080612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b906145e3565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217d90614563565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed906144c3565b60405180910390fd5b6122038585856001612c1d565b6122136000848460000151611f76565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124f85761245781611f60565b156124f75782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125618585856001612c23565b5050505050565b61257b828261257685612c29565b612c6b565b5050565b6125876133b7565b61259082611f60565b6125cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c690614463565b60405180910390fd5b60008290505b600081106126d8576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126c9578092505050612714565b508080600190039150506125d5565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270b90614703565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006127fe8473ffffffffffffffffffffffffffffffffffffffff16612d94565b15612967578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612827611f6e565b8786866040518563ffffffff1660e01b81526004016128499493929190614371565b602060405180830381600087803b15801561286357600080fd5b505af192505050801561289457506040513d601f19601f820116820180604052508101906128919190613740565b60015b612917573d80600081146128c4576040519150601f19603f3d011682016040523d82523d6000602084013e6128c9565b606091505b5060008151141561290f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290690614643565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061296c565b600190505b949350505050565b6060600c805461298390614a91565b80601f01602080910402602001604051908101604052809291908181526020018280546129af90614a91565b80156129fc5780601f106129d1576101008083540402835291602001916129fc565b820191906000526020600020905b8154815290600101906020018083116129df57829003601f168201915b5050505050905090565b60606000821415612a4e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bae565b600082905060005b60008214612a80578080612a6990614ac3565b915050600a82612a799190614901565b9150612a56565b60008167ffffffffffffffff811115612ac2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612af45781602001600182028036833780820191505090505b5090505b60008514612ba757600182612b0d919061498c565b9150600a85612b1c9190614b0c565b6030612b2891906148ab565b60f81b818381518110612b64577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ba09190614901565b9450612af8565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b60006001601260009054906101000a900460ff1660ff1683612c4b9190614901565b612c55919061498c565b600e54612c629190614932565b34149050919050565b808015612c7d5750612c7c33611c43565b5b15612d24576005601260028282829054906101000a900461ffff16612ca29190614873565b92506101000a81548161ffff021916908361ffff1602179055506001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612d1f836005612da7565b612d8f565b808015612d375750612d3533611c43565b155b15612d82576000612d7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7490614523565b60405180910390fd5b612d8e565b612d8d836000612da7565b5b5b505050565b600080823b905060008111915050919050565b6000829050600d5483612db8610cbc565b612dc291906148ab565b1115612edf57612dd0610cbc565b600d54612ddd919061498c565b905060008282612ded919061498c565b90506000600e54601260009054906101000a900460ff1660ff1683612e129190614901565b612e1c9190614932565b905060008134612e2c919061498c565b905060003373ffffffffffffffffffffffffffffffffffffffff1682604051612e5490614341565b60006040518083038185875af1925050503d8060008114612e91576040519150601f19603f3d011682016040523d82523d6000602084013e612e96565b606091505b5050905080612eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed1906146a3565b60405180910390fd5b505050505b612ee93382612f82565b7f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602433601260009054906101000a900460ff1660ff1683612f299190614901565b604051612f379291906143bd565b60405180910390a1600d54612f4a610cbc565b1415612f7d577f3f2af9f26095d292132b7be52f11c1760da3a5825c66688b295287d8279a45de60405160405180910390a15b505050565b612f9c828260405180602001604052806000815250612fa0565b5050565b612fad8383836001612fb2565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302090614663565b60405180910390fd5b600084141561306d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306490614683565b60405180910390fd5b61307a6000868387612c1d565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561331457818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156132ff576132bf60008884886127dd565b6132fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f590614643565b60405180910390fd5b5b81806001019250508080600101915050613248565b50806001819055505061332a6000868387612c23565b5050505050565b82805461333d90614a91565b90600052602060002090601f01602090048101928261335f57600085556133a6565b82601f1061337857805160ff19168380011785556133a6565b828001600101855582156133a6579182015b828111156133a557825182559160200191906001019061338a565b5b5090506133b391906133f1565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561340a5760008160009055506001016133f2565b5090565b600061342161341c846147c5565b614794565b90508281526020810184848401111561343957600080fd5b613444848285614a4f565b509392505050565b600061345f61345a846147f5565b614794565b90508281526020810184848401111561347757600080fd5b613482848285614a4f565b509392505050565b60008135905061349981614c0a565b92915050565b6000813590506134ae81614c21565b92915050565b6000813590506134c381614c38565b92915050565b6000815190506134d881614c38565b92915050565b600082601f8301126134ef57600080fd5b81356134ff84826020860161340e565b91505092915050565b600082601f83011261351957600080fd5b813561352984826020860161344c565b91505092915050565b60008135905061354181614c4f565b92915050565b60006020828403121561355957600080fd5b60006135678482850161348a565b91505092915050565b6000806040838503121561358357600080fd5b60006135918582860161348a565b92505060206135a28582860161348a565b9150509250929050565b6000806000606084860312156135c157600080fd5b60006135cf8682870161348a565b93505060206135e08682870161348a565b92505060406135f186828701613532565b9150509250925092565b6000806000806080858703121561361157600080fd5b600061361f8782880161348a565b94505060206136308782880161348a565b935050604061364187828801613532565b925050606085013567ffffffffffffffff81111561365e57600080fd5b61366a878288016134de565b91505092959194509250565b6000806040838503121561368957600080fd5b60006136978582860161348a565b92505060206136a88582860161349f565b9150509250929050565b600080604083850312156136c557600080fd5b60006136d38582860161348a565b92505060206136e485828601613532565b9150509250929050565b60006020828403121561370057600080fd5b600061370e8482850161349f565b91505092915050565b60006020828403121561372957600080fd5b6000613737848285016134b4565b91505092915050565b60006020828403121561375257600080fd5b6000613760848285016134c9565b91505092915050565b60006020828403121561377b57600080fd5b600082013567ffffffffffffffff81111561379557600080fd5b6137a184828501613508565b91505092915050565b6000602082840312156137bc57600080fd5b60006137ca84828501613532565b91505092915050565b6137dc816149c0565b82525050565b6137eb816149d2565b82525050565b60006137fc82614825565b613806818561483b565b9350613816818560208601614a5e565b61381f81614bf9565b840191505092915050565b600061383582614830565b61383f8185614857565b935061384f818560208601614a5e565b61385881614bf9565b840191505092915050565b600061386e82614830565b6138788185614868565b9350613888818560208601614a5e565b80840191505092915050565b60006138a1602283614857565b91507f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613907602683614857565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061396d602a83614857565b91507f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008301527f74656e7420746f6b656e000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d3605d83614857565b91507f496e76616c6964207175616e746974792e205175616e7469747920706172616d60008301527f65746572206d757374206265206c657373207468616e206f7220657175616c2060208301527f746f204d41585f5045525f4d494e545f5345545f5155414e544954592e0000006040830152606082019050919050565b6000613a5f602383614857565b91507f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008301527f6e647300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ac5602583614857565b91507f455243373231413a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b2b606983614857565b91507f496e76616c69642065746865722063616c6c2076616c75652070726f7669646560008301527f6420666f72206d696e74207175616e746974792e20457870656374656420717560208301527f616e74697479206d756c7469706c6965642062792050524943455f5045525f5460408301527f4f4b454e5f5345542e00000000000000000000000000000000000000000000006060830152608082019050919050565b6000613bdd603983614857565b91507f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006020830152604082019050919050565b6000613c43602b83614857565b91507f536f7272792c20796f75277265206e6f7420656c696769626c6520666f72206160008301527f2066726565206d696e74210000000000000000000000000000000000000000006020830152604082019050919050565b6000613ca9602b83614857565b91507f455243373231413a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613d0f602683614857565b91507f455243373231413a207472616e736665722066726f6d20696e636f727265637460008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d75602083614857565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613db5602f83614857565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613e1b601a83614857565b91507f455243373231413a20617070726f766520746f2063616c6c65720000000000006000830152602082019050919050565b6000613e5b603283614857565b91507f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000613ec1602283614857565b91507f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008301527f65720000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f2760008361484c565b9150600082019050919050565b6000613f41602283614857565b91507f4d696e74696e67206973206e6f742063757272656e746c7920617661696c616260008301527f6c650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fa7603383614857565b91507f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008301527f6563656976657220696d706c656d656e746572000000000000000000000000006020830152604082019050919050565b600061400d602183614857565b91507f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614073602883614857565b91507f455243373231413a207175616e74697479206d7573742062652067726561746560008301527f72207468616e20300000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140d9602383614857565b91507f4661696c656420746f2073656e64207061727469616c20657468657220616d6f60008301527f756e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061413f604883614857565b91507f496e76616c6964207175616e746974792e205175616e7469747920706172616d60008301527f65746572206d7573742062652067726561746572207468616e206f722065717560208301527f616c20746f20312e0000000000000000000000000000000000000000000000006040830152606082019050919050565b60006141cb602e83614857565b91507f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008301527f6f776e657220627920696e6465780000000000000000000000000000000000006020830152604082019050919050565b6000614231602f83614857565b91507f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008301527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614297602d83614857565b91507f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008301527f78697374656e7420746f6b656e000000000000000000000000000000000000006020830152604082019050919050565b6142f981614a0a565b82525050565b61430881614a38565b82525050565b61431781614a42565b82525050565b60006143298285613863565b91506143358284613863565b91508190509392505050565b600061434c82613f1a565b9150819050919050565b600060208201905061436b60008301846137d3565b92915050565b600060808201905061438660008301876137d3565b61439360208301866137d3565b6143a060408301856142ff565b81810360608301526143b281846137f1565b905095945050505050565b60006040820190506143d260008301856137d3565b6143df60208301846142ff565b9392505050565b60006020820190506143fb60008301846137e2565b92915050565b6000602082019050818103600083015261441b818461382a565b905092915050565b6000602082019050818103600083015261443c81613894565b9050919050565b6000602082019050818103600083015261445c816138fa565b9050919050565b6000602082019050818103600083015261447c81613960565b9050919050565b6000602082019050818103600083015261449c816139c6565b9050919050565b600060208201905081810360008301526144bc81613a52565b9050919050565b600060208201905081810360008301526144dc81613ab8565b9050919050565b600060208201905081810360008301526144fc81613b1e565b9050919050565b6000602082019050818103600083015261451c81613bd0565b9050919050565b6000602082019050818103600083015261453c81613c36565b9050919050565b6000602082019050818103600083015261455c81613c9c565b9050919050565b6000602082019050818103600083015261457c81613d02565b9050919050565b6000602082019050818103600083015261459c81613d68565b9050919050565b600060208201905081810360008301526145bc81613da8565b9050919050565b600060208201905081810360008301526145dc81613e0e565b9050919050565b600060208201905081810360008301526145fc81613e4e565b9050919050565b6000602082019050818103600083015261461c81613eb4565b9050919050565b6000602082019050818103600083015261463c81613f34565b9050919050565b6000602082019050818103600083015261465c81613f9a565b9050919050565b6000602082019050818103600083015261467c81614000565b9050919050565b6000602082019050818103600083015261469c81614066565b9050919050565b600060208201905081810360008301526146bc816140cc565b9050919050565b600060208201905081810360008301526146dc81614132565b9050919050565b600060208201905081810360008301526146fc816141be565b9050919050565b6000602082019050818103600083015261471c81614224565b9050919050565b6000602082019050818103600083015261473c8161428a565b9050919050565b600060208201905061475860008301846142f0565b92915050565b600060208201905061477360008301846142ff565b92915050565b600060208201905061478e600083018461430e565b92915050565b6000604051905081810181811067ffffffffffffffff821117156147bb576147ba614bca565b5b8060405250919050565b600067ffffffffffffffff8211156147e0576147df614bca565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148105761480f614bca565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061487e82614a0a565b915061488983614a0a565b92508261ffff038211156148a05761489f614b3d565b5b828201905092915050565b60006148b682614a38565b91506148c183614a38565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f6576148f5614b3d565b5b828201905092915050565b600061490c82614a38565b915061491783614a38565b92508261492757614926614b6c565b5b828204905092915050565b600061493d82614a38565b915061494883614a38565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561498157614980614b3d565b5b828202905092915050565b600061499782614a38565b91506149a283614a38565b9250828210156149b5576149b4614b3d565b5b828203905092915050565b60006149cb82614a18565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a7c578082015181840152602081019050614a61565b83811115614a8b576000848401525b50505050565b60006002820490506001821680614aa957607f821691505b60208210811415614abd57614abc614b9b565b5b50919050565b6000614ace82614a38565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b0157614b00614b3d565b5b600182019050919050565b6000614b1782614a38565b9150614b2283614a38565b925082614b3257614b31614b6c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614c13816149c0565b8114614c1e57600080fd5b50565b614c2a816149d2565b8114614c3557600080fd5b50565b614c41816149de565b8114614c4c57600080fd5b50565b614c5881614a38565b8114614c6357600080fd5b5056fea26469706673582212206effc6c1143b65a2616fc549678cb777e67f1485b048fe88c10b58194b99702b64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000000000000000000000000000008e1bc9bf0400000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000620ca0f000000000000000000000000000000000000000000000000000000000624694e0000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000c536b79204372756369626c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012534b5943574541504f4e4352414654494e4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696167336865697467616672667062687371747168747261347332626d6c366b7775676e347037686571783436666e62356f6b66342f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102675760003560e01c8063715018a611610144578063c87b56dd116100b6578063ead2930a1161007a578063ead2930a14610949578063ebca294414610974578063eefbfe341461099f578063efdcb04a146109dc578063f2fde38b14610a07578063f76f8d7814610a3057610267565b8063c87b56dd1461084e578063dbddb26a1461088b578063de257ecc146108b6578063e980723d146108e1578063e985e9c51461090c57610267565b8063a1165f5d11610108578063a1165f5d14610740578063a22cb4651461076b578063a3f4df7e14610794578063a7671c66146107bf578063b88d4fde146107e8578063c513d0291461081157610267565b8063715018a61461067d578063732376fe1461069457806381bab363146106bf5780638da5cb5b146106ea57806395d89b411461071557610267565b806332cb6b0c116101dd5780634f6ccce7116101a15780634f6ccce71461054b57806351cff8d91461058857806355f804b3146105b15780636352211e146105da5780636f501a231461061757806370a082311461064057610267565b806332cb6b0c1461047a578063409c1840146104a557806342842e0e146104ce578063446b9f8e146104f75780634605253e1461052257610267565b806318160ddd1161022f57806318160ddd14610365578063209848011461039057806323b872dd146103cd5780632f745c59146103f65780632fb2930c1461043357806331c864e81461045e57610267565b806301ffc9a71461026c578063057406c6146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613717565b610a5b565b6040516102a091906143e6565b60405180910390f35b3480156102b557600080fd5b506102be610a6d565b6040516102cb91906143e6565b60405180910390f35b3480156102e057600080fd5b506102e9610a8c565b6040516102f69190614401565b60405180910390f35b34801561030b57600080fd5b50610326600480360381019061032191906137aa565b610b1e565b6040516103339190614356565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906136b2565b610ba3565b005b34801561037157600080fd5b5061037a610cbc565b604051610387919061475e565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b29190613547565b610cc6565b6040516103c491906143e6565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef91906135ac565b610d1c565b005b34801561040257600080fd5b5061041d600480360381019061041891906136b2565b610d2c565b60405161042a919061475e565b60405180910390f35b34801561043f57600080fd5b50610448610f1e565b6040516104559190614779565b60405180910390f35b610478600480360381019061047391906137aa565b610f31565b005b34801561048657600080fd5b5061048f6110c2565b60405161049c919061475e565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c791906137aa565b6110c8565b005b3480156104da57600080fd5b506104f560048036038101906104f091906135ac565b61114e565b005b34801561050357600080fd5b5061050c61116e565b6040516105199190614779565b60405180910390f35b34801561052e57600080fd5b50610549600480360381019061054491906137aa565b611181565b005b34801561055757600080fd5b50610572600480360381019061056d91906137aa565b611207565b60405161057f919061475e565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613547565b61125a565b005b3480156105bd57600080fd5b506105d860048036038101906105d39190613769565b611326565b005b3480156105e657600080fd5b5061060160048036038101906105fc91906137aa565b6113bc565b60405161060e9190614356565b60405180910390f35b34801561062357600080fd5b5061063e600480360381019061063991906136ee565b6113d2565b005b34801561064c57600080fd5b5061066760048036038101906106629190613547565b6114cf565b604051610674919061475e565b60405180910390f35b34801561068957600080fd5b506106926115b8565b005b3480156106a057600080fd5b506106a9611640565b6040516106b691906143e6565b60405180910390f35b3480156106cb57600080fd5b506106d4611653565b6040516106e1919061475e565b60405180910390f35b3480156106f657600080fd5b506106ff611659565b60405161070c9190614356565b60405180910390f35b34801561072157600080fd5b5061072a611682565b6040516107379190614401565b60405180910390f35b34801561074c57600080fd5b50610755611714565b604051610762919061475e565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613676565b611742565b005b3480156107a057600080fd5b506107a96118c3565b6040516107b69190614401565b60405180910390f35b3480156107cb57600080fd5b506107e660048036038101906107e191906137aa565b611951565b005b3480156107f457600080fd5b5061080f600480360381019061080a91906135fb565b6119d7565b005b34801561081d57600080fd5b5061083860048036038101906108339190613547565b611a33565b60405161084591906143e6565b60405180910390f35b34801561085a57600080fd5b50610875600480360381019061087091906137aa565b611a53565b6040516108829190614401565b60405180910390f35b34801561089757600080fd5b506108a0611afb565b6040516108ad9190614401565b60405180910390f35b3480156108c257600080fd5b506108cb611b89565b6040516108d8919061475e565b60405180910390f35b3480156108ed57600080fd5b506108f6611b8f565b604051610903919061475e565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e9190613570565b611b95565b60405161094091906143e6565b60405180910390f35b34801561095557600080fd5b5061095e611c29565b60405161096b919061475e565b60405180910390f35b34801561098057600080fd5b50610989611c2f565b6040516109969190614743565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c19190613547565b611c43565b6040516109d391906143e6565b60405180910390f35b3480156109e857600080fd5b506109f1611c79565b6040516109fe919061475e565b60405180910390f35b348015610a1357600080fd5b50610a2e6004803603810190610a299190613547565b611c90565b005b348015610a3c57600080fd5b50610a45611d88565b604051610a529190614401565b60405180910390f35b6000610a6682611e16565b9050919050565b600080429050600f548110158015610a86575060105481105b91505090565b606060028054610a9b90614a91565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac790614a91565b8015610b145780601f10610ae957610100808354040283529160200191610b14565b820191906000526020600020905b815481529060010190602001808311610af757829003601f168201915b5050505050905090565b6000610b2982611f60565b610b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5f90614723565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bae826113bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1690614603565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3e611f6e565b73ffffffffffffffffffffffffffffffffffffffff161480610c6d5750610c6c81610c67611f6e565b611b95565b5b610cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca390614503565b60405180910390fd5b610cb7838383611f76565b505050565b6000600154905090565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610d27838383612028565b505050565b6000610d37836114cf565b8210610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f90614423565b60405180910390fd5b6000610d82610cbc565b905060008060005b83811015610edc576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e7c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ece5786841415610ec5578195505050505050610f18565b83806001019450505b508080600101915050610d8a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0f906146e3565b60405180910390fd5b92915050565b601260019054906101000a900460ff1681565b600960009054906101000a900460ff16610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790614623565b60405180910390fd5b6001811015610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906146c3565b60405180910390fd5b601260019054906101000a900460ff1660ff16811115611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614483565b60405180910390fd5b600081600e546110299190614932565b34149050600060018361103c919061498c565b600e546110499190614932565b3414905081806110565750805b611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c906144e3565b60405180910390fd5b6110bd601260009054906101000a900460ff1660ff16846110b69190614932565b6001612568565b505050565b600d5481565b6110d0611f6e565b73ffffffffffffffffffffffffffffffffffffffff166110ee611659565b73ffffffffffffffffffffffffffffffffffffffff1614611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b90614583565b60405180910390fd5b80600e8190555050565b611169838383604051806020016040528060008152506119d7565b505050565b601260009054906101000a900460ff1681565b611189611f6e565b73ffffffffffffffffffffffffffffffffffffffff166111a7611659565b73ffffffffffffffffffffffffffffffffffffffff16146111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614583565b60405180910390fd5b8060108190555050565b6000611211610cbc565b8210611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906144a3565b60405180910390fd5b819050919050565b611262611f6e565b73ffffffffffffffffffffffffffffffffffffffff16611280611659565b73ffffffffffffffffffffffffffffffffffffffff16146112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd90614583565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611321573d6000803e3d6000fd5b505050565b61132e611f6e565b73ffffffffffffffffffffffffffffffffffffffff1661134c611659565b73ffffffffffffffffffffffffffffffffffffffff16146113a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139990614583565b60405180910390fd5b80600c90805190602001906113b8929190613331565b5050565b60006113c78261257f565b600001519050919050565b6113da611f6e565b73ffffffffffffffffffffffffffffffffffffffff166113f8611659565b73ffffffffffffffffffffffffffffffffffffffff161461144e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144590614583565b60405180910390fd5b80600960006101000a81548160ff021916908315150217905550801561149f577f4301b55b3d4fd9018308a6bd66bf37880623a9548566d1b12867ab619a993ca160405160405180910390a16114cc565b7fd7d248ba47bac931be252275aff92303dd610ca36c92c05dbac783fde1662a0e60405160405180910390a15b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153790614543565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6115c0611f6e565b73ffffffffffffffffffffffffffffffffffffffff166115de611659565b73ffffffffffffffffffffffffffffffffffffffff1614611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162b90614583565b60405180910390fd5b61163e6000612719565b565b600960009054906101000a900460ff1681565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461169190614a91565b80601f01602080910402602001604051908101604052809291908181526020018280546116bd90614a91565b801561170a5780601f106116df5761010080835404028352916020019161170a565b820191906000526020600020905b8154815290600101906020018083116116ed57829003601f168201915b5050505050905090565b6000601260029054906101000a900461ffff1661ffff16611733611c79565b61173d919061498c565b905090565b61174a611f6e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af906145c3565b60405180910390fd5b80600760006117c5611f6e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611872611f6e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118b791906143e6565b60405180910390a35050565b600a80546118d090614a91565b80601f01602080910402602001604051908101604052809291908181526020018280546118fc90614a91565b80156119495780601f1061191e57610100808354040283529160200191611949565b820191906000526020600020905b81548152906001019060200180831161192c57829003601f168201915b505050505081565b611959611f6e565b73ffffffffffffffffffffffffffffffffffffffff16611977611659565b73ffffffffffffffffffffffffffffffffffffffff16146119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c490614583565b60405180910390fd5b80600f8190555050565b6119e2848484612028565b6119ee848484846127dd565b611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2490614643565b60405180910390fd5b50505050565b60136020528060005260406000206000915054906101000a900460ff1681565b6060611a5e82611f60565b611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a94906145a3565b60405180910390fd5b6000611aa7612974565b9050600081511415611ac85760405180602001604052806000815250611af3565b80611ad284612a06565b604051602001611ae392919061431d565b6040516020818303038152906040525b915050919050565b600c8054611b0890614a91565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3490614a91565b8015611b815780601f10611b5657610100808354040283529160200191611b81565b820191906000526020600020905b815481529060010190602001808311611b6457829003601f168201915b505050505081565b600f5481565b60105481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b601260029054906101000a900461ffff1681565b6000611c4d610a6d565b8015611c5f5750611c5d82610cc6565b155b8015611c7257506000611c70611714565b115b9050919050565b6000601154600d54611c8b9190614901565b905090565b611c98611f6e565b73ffffffffffffffffffffffffffffffffffffffff16611cb6611659565b73ffffffffffffffffffffffffffffffffffffffff1614611d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0390614583565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7390614443565b60405180910390fd5b611d8581612719565b50565b600b8054611d9590614a91565b80601f0160208091040260200160405190810160405280929190818152602001828054611dc190614a91565b8015611e0e5780601f10611de357610100808354040283529160200191611e0e565b820191906000526020600020905b815481529060010190602001808311611df157829003601f168201915b505050505081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ee157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f4957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f595750611f5882612bb3565b5b9050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006120338261257f565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661205a611f6e565b73ffffffffffffffffffffffffffffffffffffffff1614806120b6575061207f611f6e565b73ffffffffffffffffffffffffffffffffffffffff1661209e84610b1e565b73ffffffffffffffffffffffffffffffffffffffff16145b806120d257506120d182600001516120cc611f6e565b611b95565b5b905080612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b906145e3565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217d90614563565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed906144c3565b60405180910390fd5b6122038585856001612c1d565b6122136000848460000151611f76565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124f85761245781611f60565b156124f75782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125618585856001612c23565b5050505050565b61257b828261257685612c29565b612c6b565b5050565b6125876133b7565b61259082611f60565b6125cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c690614463565b60405180910390fd5b60008290505b600081106126d8576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126c9578092505050612714565b508080600190039150506125d5565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270b90614703565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006127fe8473ffffffffffffffffffffffffffffffffffffffff16612d94565b15612967578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612827611f6e565b8786866040518563ffffffff1660e01b81526004016128499493929190614371565b602060405180830381600087803b15801561286357600080fd5b505af192505050801561289457506040513d601f19601f820116820180604052508101906128919190613740565b60015b612917573d80600081146128c4576040519150601f19603f3d011682016040523d82523d6000602084013e6128c9565b606091505b5060008151141561290f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290690614643565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061296c565b600190505b949350505050565b6060600c805461298390614a91565b80601f01602080910402602001604051908101604052809291908181526020018280546129af90614a91565b80156129fc5780601f106129d1576101008083540402835291602001916129fc565b820191906000526020600020905b8154815290600101906020018083116129df57829003601f168201915b5050505050905090565b60606000821415612a4e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bae565b600082905060005b60008214612a80578080612a6990614ac3565b915050600a82612a799190614901565b9150612a56565b60008167ffffffffffffffff811115612ac2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612af45781602001600182028036833780820191505090505b5090505b60008514612ba757600182612b0d919061498c565b9150600a85612b1c9190614b0c565b6030612b2891906148ab565b60f81b818381518110612b64577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ba09190614901565b9450612af8565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b60006001601260009054906101000a900460ff1660ff1683612c4b9190614901565b612c55919061498c565b600e54612c629190614932565b34149050919050565b808015612c7d5750612c7c33611c43565b5b15612d24576005601260028282829054906101000a900461ffff16612ca29190614873565b92506101000a81548161ffff021916908361ffff1602179055506001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612d1f836005612da7565b612d8f565b808015612d375750612d3533611c43565b155b15612d82576000612d7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7490614523565b60405180910390fd5b612d8e565b612d8d836000612da7565b5b5b505050565b600080823b905060008111915050919050565b6000829050600d5483612db8610cbc565b612dc291906148ab565b1115612edf57612dd0610cbc565b600d54612ddd919061498c565b905060008282612ded919061498c565b90506000600e54601260009054906101000a900460ff1660ff1683612e129190614901565b612e1c9190614932565b905060008134612e2c919061498c565b905060003373ffffffffffffffffffffffffffffffffffffffff1682604051612e5490614341565b60006040518083038185875af1925050503d8060008114612e91576040519150601f19603f3d011682016040523d82523d6000602084013e612e96565b606091505b5050905080612eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed1906146a3565b60405180910390fd5b505050505b612ee93382612f82565b7f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602433601260009054906101000a900460ff1660ff1683612f299190614901565b604051612f379291906143bd565b60405180910390a1600d54612f4a610cbc565b1415612f7d577f3f2af9f26095d292132b7be52f11c1760da3a5825c66688b295287d8279a45de60405160405180910390a15b505050565b612f9c828260405180602001604052806000815250612fa0565b5050565b612fad8383836001612fb2565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302090614663565b60405180910390fd5b600084141561306d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306490614683565b60405180910390fd5b61307a6000868387612c1d565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561331457818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156132ff576132bf60008884886127dd565b6132fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f590614643565b60405180910390fd5b5b81806001019250508080600101915050613248565b50806001819055505061332a6000868387612c23565b5050505050565b82805461333d90614a91565b90600052602060002090601f01602090048101928261335f57600085556133a6565b82601f1061337857805160ff19168380011785556133a6565b828001600101855582156133a6579182015b828111156133a557825182559160200191906001019061338a565b5b5090506133b391906133f1565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561340a5760008160009055506001016133f2565b5090565b600061342161341c846147c5565b614794565b90508281526020810184848401111561343957600080fd5b613444848285614a4f565b509392505050565b600061345f61345a846147f5565b614794565b90508281526020810184848401111561347757600080fd5b613482848285614a4f565b509392505050565b60008135905061349981614c0a565b92915050565b6000813590506134ae81614c21565b92915050565b6000813590506134c381614c38565b92915050565b6000815190506134d881614c38565b92915050565b600082601f8301126134ef57600080fd5b81356134ff84826020860161340e565b91505092915050565b600082601f83011261351957600080fd5b813561352984826020860161344c565b91505092915050565b60008135905061354181614c4f565b92915050565b60006020828403121561355957600080fd5b60006135678482850161348a565b91505092915050565b6000806040838503121561358357600080fd5b60006135918582860161348a565b92505060206135a28582860161348a565b9150509250929050565b6000806000606084860312156135c157600080fd5b60006135cf8682870161348a565b93505060206135e08682870161348a565b92505060406135f186828701613532565b9150509250925092565b6000806000806080858703121561361157600080fd5b600061361f8782880161348a565b94505060206136308782880161348a565b935050604061364187828801613532565b925050606085013567ffffffffffffffff81111561365e57600080fd5b61366a878288016134de565b91505092959194509250565b6000806040838503121561368957600080fd5b60006136978582860161348a565b92505060206136a88582860161349f565b9150509250929050565b600080604083850312156136c557600080fd5b60006136d38582860161348a565b92505060206136e485828601613532565b9150509250929050565b60006020828403121561370057600080fd5b600061370e8482850161349f565b91505092915050565b60006020828403121561372957600080fd5b6000613737848285016134b4565b91505092915050565b60006020828403121561375257600080fd5b6000613760848285016134c9565b91505092915050565b60006020828403121561377b57600080fd5b600082013567ffffffffffffffff81111561379557600080fd5b6137a184828501613508565b91505092915050565b6000602082840312156137bc57600080fd5b60006137ca84828501613532565b91505092915050565b6137dc816149c0565b82525050565b6137eb816149d2565b82525050565b60006137fc82614825565b613806818561483b565b9350613816818560208601614a5e565b61381f81614bf9565b840191505092915050565b600061383582614830565b61383f8185614857565b935061384f818560208601614a5e565b61385881614bf9565b840191505092915050565b600061386e82614830565b6138788185614868565b9350613888818560208601614a5e565b80840191505092915050565b60006138a1602283614857565b91507f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613907602683614857565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061396d602a83614857565b91507f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008301527f74656e7420746f6b656e000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d3605d83614857565b91507f496e76616c6964207175616e746974792e205175616e7469747920706172616d60008301527f65746572206d757374206265206c657373207468616e206f7220657175616c2060208301527f746f204d41585f5045525f4d494e545f5345545f5155414e544954592e0000006040830152606082019050919050565b6000613a5f602383614857565b91507f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008301527f6e647300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ac5602583614857565b91507f455243373231413a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b2b606983614857565b91507f496e76616c69642065746865722063616c6c2076616c75652070726f7669646560008301527f6420666f72206d696e74207175616e746974792e20457870656374656420717560208301527f616e74697479206d756c7469706c6965642062792050524943455f5045525f5460408301527f4f4b454e5f5345542e00000000000000000000000000000000000000000000006060830152608082019050919050565b6000613bdd603983614857565b91507f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006020830152604082019050919050565b6000613c43602b83614857565b91507f536f7272792c20796f75277265206e6f7420656c696769626c6520666f72206160008301527f2066726565206d696e74210000000000000000000000000000000000000000006020830152604082019050919050565b6000613ca9602b83614857565b91507f455243373231413a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613d0f602683614857565b91507f455243373231413a207472616e736665722066726f6d20696e636f727265637460008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d75602083614857565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613db5602f83614857565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613e1b601a83614857565b91507f455243373231413a20617070726f766520746f2063616c6c65720000000000006000830152602082019050919050565b6000613e5b603283614857565b91507f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000613ec1602283614857565b91507f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008301527f65720000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f2760008361484c565b9150600082019050919050565b6000613f41602283614857565b91507f4d696e74696e67206973206e6f742063757272656e746c7920617661696c616260008301527f6c650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fa7603383614857565b91507f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008301527f6563656976657220696d706c656d656e746572000000000000000000000000006020830152604082019050919050565b600061400d602183614857565b91507f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614073602883614857565b91507f455243373231413a207175616e74697479206d7573742062652067726561746560008301527f72207468616e20300000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140d9602383614857565b91507f4661696c656420746f2073656e64207061727469616c20657468657220616d6f60008301527f756e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061413f604883614857565b91507f496e76616c6964207175616e746974792e205175616e7469747920706172616d60008301527f65746572206d7573742062652067726561746572207468616e206f722065717560208301527f616c20746f20312e0000000000000000000000000000000000000000000000006040830152606082019050919050565b60006141cb602e83614857565b91507f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008301527f6f776e657220627920696e6465780000000000000000000000000000000000006020830152604082019050919050565b6000614231602f83614857565b91507f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008301527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614297602d83614857565b91507f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008301527f78697374656e7420746f6b656e000000000000000000000000000000000000006020830152604082019050919050565b6142f981614a0a565b82525050565b61430881614a38565b82525050565b61431781614a42565b82525050565b60006143298285613863565b91506143358284613863565b91508190509392505050565b600061434c82613f1a565b9150819050919050565b600060208201905061436b60008301846137d3565b92915050565b600060808201905061438660008301876137d3565b61439360208301866137d3565b6143a060408301856142ff565b81810360608301526143b281846137f1565b905095945050505050565b60006040820190506143d260008301856137d3565b6143df60208301846142ff565b9392505050565b60006020820190506143fb60008301846137e2565b92915050565b6000602082019050818103600083015261441b818461382a565b905092915050565b6000602082019050818103600083015261443c81613894565b9050919050565b6000602082019050818103600083015261445c816138fa565b9050919050565b6000602082019050818103600083015261447c81613960565b9050919050565b6000602082019050818103600083015261449c816139c6565b9050919050565b600060208201905081810360008301526144bc81613a52565b9050919050565b600060208201905081810360008301526144dc81613ab8565b9050919050565b600060208201905081810360008301526144fc81613b1e565b9050919050565b6000602082019050818103600083015261451c81613bd0565b9050919050565b6000602082019050818103600083015261453c81613c36565b9050919050565b6000602082019050818103600083015261455c81613c9c565b9050919050565b6000602082019050818103600083015261457c81613d02565b9050919050565b6000602082019050818103600083015261459c81613d68565b9050919050565b600060208201905081810360008301526145bc81613da8565b9050919050565b600060208201905081810360008301526145dc81613e0e565b9050919050565b600060208201905081810360008301526145fc81613e4e565b9050919050565b6000602082019050818103600083015261461c81613eb4565b9050919050565b6000602082019050818103600083015261463c81613f34565b9050919050565b6000602082019050818103600083015261465c81613f9a565b9050919050565b6000602082019050818103600083015261467c81614000565b9050919050565b6000602082019050818103600083015261469c81614066565b9050919050565b600060208201905081810360008301526146bc816140cc565b9050919050565b600060208201905081810360008301526146dc81614132565b9050919050565b600060208201905081810360008301526146fc816141be565b9050919050565b6000602082019050818103600083015261471c81614224565b9050919050565b6000602082019050818103600083015261473c8161428a565b9050919050565b600060208201905061475860008301846142f0565b92915050565b600060208201905061477360008301846142ff565b92915050565b600060208201905061478e600083018461430e565b92915050565b6000604051905081810181811067ffffffffffffffff821117156147bb576147ba614bca565b5b8060405250919050565b600067ffffffffffffffff8211156147e0576147df614bca565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148105761480f614bca565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061487e82614a0a565b915061488983614a0a565b92508261ffff038211156148a05761489f614b3d565b5b828201905092915050565b60006148b682614a38565b91506148c183614a38565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f6576148f5614b3d565b5b828201905092915050565b600061490c82614a38565b915061491783614a38565b92508261492757614926614b6c565b5b828204905092915050565b600061493d82614a38565b915061494883614a38565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561498157614980614b3d565b5b828202905092915050565b600061499782614a38565b91506149a283614a38565b9250828210156149b5576149b4614b3d565b5b828203905092915050565b60006149cb82614a18565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a7c578082015181840152602081019050614a61565b83811115614a8b576000848401525b50505050565b60006002820490506001821680614aa957607f821691505b60208210811415614abd57614abc614b9b565b5b50919050565b6000614ace82614a38565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b0157614b00614b3d565b5b600182019050919050565b6000614b1782614a38565b9150614b2283614a38565b925082614b3257614b31614b6c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614c13816149c0565b8114614c1e57600080fd5b50565b614c2a816149d2565b8114614c3557600080fd5b50565b614c41816149de565b8114614c4c57600080fd5b50565b614c5881614a38565b8114614c6357600080fd5b5056fea26469706673582212206effc6c1143b65a2616fc549678cb777e67f1485b048fe88c10b58194b99702b64736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000000000000000000000000000008e1bc9bf0400000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000620ca0f000000000000000000000000000000000000000000000000000000000624694e0000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000c536b79204372756369626c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012534b5943574541504f4e4352414654494e4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696167336865697467616672667062687371747168747261347332626d6c366b7775676e347037686571783436666e62356f6b66342f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Sky Crucible
Arg [1] : _symbol (string): SKYCWEAPONCRAFTING
Arg [2] : _baseUri (string): ipfs://bafybeiag3heitgafrfpbhsqtqhtra4s2bml6kwugn4p7heqx46fnb5okf4/
Arg [3] : _maxSupply (uint256): 50000
Arg [4] : _tokenSetPrice (uint256): 40000000000000000
Arg [5] : _tokenSetQuantity (uint8): 5
Arg [6] : _maxPerMintSetQuantity (uint8): 100
Arg [7] : _freeMintStart (uint256): 1644994800
Arg [8] : _freeMintEnd (uint256): 1648792800
Arg [9] : _freeMintDivisor (uint256): 10
Arg [10] : _mintAvailable (bool): True

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000c350
Arg [4] : 000000000000000000000000000000000000000000000000008e1bc9bf040000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 00000000000000000000000000000000000000000000000000000000620ca0f0
Arg [8] : 00000000000000000000000000000000000000000000000000000000624694e0
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [12] : 536b79204372756369626c650000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [14] : 534b5943574541504f4e4352414654494e470000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [16] : 697066733a2f2f62616679626569616733686569746761667266706268737174
Arg [17] : 7168747261347332626d6c366b7775676e347037686571783436666e62356f6b
Arg [18] : 66342f0000000000000000000000000000000000000000000000000000000000


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.