ETH Price: $3,995.34 (+2.74%)

Token

SpriteClub (SPRITE)
 

Overview

Max Total Supply

7,777 SPRITE

Holders

3,423

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SPRITE
0xba9217ab791200d027484d328b9ed7c71ff492a5
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:
SpriteClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

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

// @@@@@@@@@@@@&&&&&&&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&@@@@@@@@@@@@@@@@@
// @@@@@@@@@@&&&&&&&&&&&&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&&&&&&&&&@@@@@@@@@@@@@
// @@@@@@@&&&&&G?~^~~~~!YB&##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&GPP5YY5PG#&&&&@@@@@@@@@@
// @@@@@@&#&#5~          :Y&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&#G7.       .^?B&&&&@@@@@@@@
// @@@@@&#&#?    .!YJ!:   :P&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&P  .......    :Y#&#&@@@@@@@
// @@@@@##&?.  .7G&&&#B7.  :G&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&Y. 7PB###B57:    Y#&&&@@@@@@
// @@@@@##&! . .#&&#&&&&?.  .JB&&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&BJ~..Y&&&&&&&&&J. . ^5&#&@@@@@@
// @@@@@##&P~  .5#&####&#5^.  :?G#&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&#GJ^  .7&&#&&####&G! . 7G&#&@@@@@@
// @@@@@@##@J  ..Y#&####&&#P5?~..^7G#&&&@@@@@@@@@@@@@@@@@@@@@@@&#&&#Y~.   ^5&&#######&&Y.  :P&#&@@@@@@@
// @@@@@@&&&#J .  J&&#####&&&&&B5~  J#&#&@@@@@@@@@@@@@@@@@@@@&#&&B?:   .~JB&&#######&&J: .:G&#&&@@@@@@@
// @@@@@@@&#&P .. ^5&#####&##&&&&#~. J&##&@@@@@@@@@@@@@@@@@@&#&B?.   :?P#&&########&&7.  :B&&&&@@@@@@@@
// @@@@@@@&#&P..  .7&###########&&B: ^Y&##@@@@@@@@@@@@@@@@@&#&B?    !P&&&&########&#J.  :J&&#&@@@@@@@@@
// @@@@@@&&&&5 .. ~P&###########&#J.  ~&##&@@@@@@@@@@@@@@@@##&Y: .. J@############&#!.  ^G#&&&@@@@@@@@@
// @@@@&&#&#J.   ^P&##########&&#Y    ~&##@@@@@@@@@@@@@@@@@&#&B?    ?&&&&#########&#G:  .7&&#&@@@@@@@@@
// @@@&#&&P~    7B&##########&&P!    !P&#&@@@@@@@@@@@@@@@@@@&#&BJ:.  ~5#&&&########&&J:  .5#&#&@@@@@@@@
// @@&#&#J.   :Y#&##########&&J:   ~P&&#&@@@@@@@@@@@@@@@@@@@@&&&&#PJ^  :?PB&&########&P~  .P#&&&@@@@@@@
// @&#&#Y    ~B&&##########&&7.  .7#&&&&@@@@@@@@@@@@@@@@@@@@@@@&&&&&#5~  .^Y&########&&P^  ^G&#&@@@@@@@
// @&#&P    :J&###########&#J.  .~&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&#?.  :J&&#######&&5 .:P&#&@@@@@@@
// @&#&P  . ~P&###########&#~.  :Y#&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&&:   ^&&#######&&5 .~G&#&@@@@@@@
// @&#&G:   :J&###########&#P:  .!&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#J:  ^&&#######&P~ .:G&#&@@@@@@@
// @&&&&G^   !&&&#######&&#&&7.  .?#&#&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&#B^  ^&&#######&B?   7G&&&&@@@@@
// @@&&#&#J^ .7#&&&#####&&##&&Y:   ^P&#&&@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&#B^  ^##&#######&#Y^  ^Y&&#&@@@@
// @@@@&&&&B5~ ^5#&&#########&&P^   ^5&##@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#Y:  ^&&######&&#&&#P7. !G&&&&@@
// @@@@@@&&&&#J  :J#&#########&&P  . ?&##&@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#~.  ~&&##########&&&&5^ .G&&&&@
// @@@@@@@@&#&B.   :J&&########&G..  ?&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#. . ^&&#############&&5  ^G&#&@
// @@@@@@@@@&&#Y. . :#&&#######&G:. .J&##@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#:   :5#&#############@5   P&#&@
// @@@@@@@@@&#&&:   ^&&#######&&P  :5#&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#G^ . .#&#&&########&&G!  .G&#&@
// @@@@@@@@@&#&&:  :J&&######&#Y: ^G&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&&J:  .#&#&&#####&&&B?:  ~G#&&&@
// @@@@@@@@@&#&#:  !#&&####&&B7. :#&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&G~  .#&#######&#P!. :7P&&#&&@@
// @@@@@@@@@&#&#:  !&#####&##^  ^P&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&&7  .#&######&P~  ^YB&&&&&@@@@
// @@@@@@@@@&#&#:  !@#####&#J:  ~&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##&7 .^#&#####&#? .:B&&&&@@@@@@@
// @@@@@@@@@&#&#~. ^P&&###&#~.  !&&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#7 .~#&#####&Y^ .Y#&#&@@@@@@@@
// @@@@@@@@@@&###~  :P&&&&&G.  :?&&#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##&5^ .^#&###&&&!  :P#&#&@@@@@@@@
// @@@@@@@@@@@&#&B?.  ~?J?!.   !B&#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#&&7.  .G&&&&&#7.  :5#&#&@@@@@@@@
// @@@@@@@@@@@@&#&&G?:..      !P&##@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#&&?:  ..75GP?~. . :B#&&&@@@@@@@@
// @@@@@@@@@@@@@&&&&&#BP5YYYYP#&#&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&#!  .  ...   . .7&&#&@@@@@@@@@
// @@@@@@@@@@@@@@@@&&&&&&&&&&&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##&G?:          :J&##&@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#&&BP7~~~~~~?5B&&&&@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&&&&&&&&&&&&@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&&&&&&@@@@@@@@@@@@@@@@

import './ERC721S.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/interfaces/IERC2981.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';

contract SpriteClub is ERC721S, IERC2981, Ownable, Pausable {
    using Strings for uint256;

    bool public isSpritelistSaleActive;
    bool public isRafflelistSaleActive;

    bytes32 public spritelistMerkleRoot;
    bytes32 public rafflelistMerkleRoot;
    mapping(address => uint256) public mintCounts;
    mapping(uint256 => uint256) public spriteAnswers;

    uint16 public royaltyBasisPoints;
    string public collectionURI;
    string internal metadataBaseURI;
    bool public isMetadataFinalized;
    uint256 public mintPrice;

    constructor(string memory initialMetadataBaseURI, string memory initialCollectionURI, uint16 initialRoyaltyBasisPoints, uint256 initialTransactionMintLimit, uint256 initialAddressMintLimit, uint256 initialCollectionSize, uint256 initialMintPrice)
    ERC721S('SpriteClub', 'SPRITE', initialTransactionMintLimit, initialAddressMintLimit, initialCollectionSize)
    Ownable() {
        metadataBaseURI = initialMetadataBaseURI;
        collectionURI = initialCollectionURI;
        royaltyBasisPoints = initialRoyaltyBasisPoints;
        mintPrice = initialMintPrice;
    }

    // Meta

    function royaltyInfo(uint256, uint256 salePrice) external view override returns (address, uint256) {
        return (address(this), salePrice * royaltyBasisPoints / 10000);
    }

    function contractURI() external view returns (string memory) {
        return collectionURI;
    }

    // Admin

    function setCollectionURI(string calldata newCollectionURI) external onlyOwner {
        collectionURI = newCollectionURI;
    }

    function setMintPrice(uint256 newMintPrice) external onlyOwner {
        mintPrice = newMintPrice;
    }

    function setMetadataBaseURI(string calldata newMetadataBaseURI) external onlyOwner {
        require(!isMetadataFinalized, 'SpriteClub: metadata is now final');
        metadataBaseURI = newMetadataBaseURI;
    }

    function finalizeMetadata() external onlyOwner {
        require(!isMetadataFinalized, 'SpriteClub: metadata is already finalized');
        isMetadataFinalized = true;
    }

    function setRoyaltyBasisPoints(uint16 newRoyaltyBasisPoints) external onlyOwner {
        require(newRoyaltyBasisPoints >= 0, 'SpriteClub: royaltyBasisPoints must be >= 0');
        require(newRoyaltyBasisPoints < 5000, 'SpriteClub: royaltyBasisPoints must be < 5000 (50%)');
        royaltyBasisPoints = newRoyaltyBasisPoints;
    }

    function setIsSpritelistSaleActive(bool newIsSpritelistSaleActive) external onlyOwner {
        require(mintPrice >= 0 || !newIsSpritelistSaleActive, 'SpriteClub: cannot start if mintPrice is 0');
        require(spritelistMerkleRoot != 0, 'SpriteClub: cannot start if spritelistMerkleRoot not set');
        isSpritelistSaleActive = newIsSpritelistSaleActive;
    }

    function setIsRafflelistSaleActive(bool newIsRafflelistSaleActive) external onlyOwner {
        require(mintPrice >= 0 || !newIsRafflelistSaleActive, 'SpriteClub: cannot start if mintPrice is 0');
        require(rafflelistMerkleRoot != 0, 'SpriteClub: cannot start if rafflelistMerkleRoot not set');
        isRafflelistSaleActive = newIsRafflelistSaleActive;
    }

    function setSpritelistMerkleRoot(bytes32 newSpritelistMerkleRoot) external onlyOwner {
        spritelistMerkleRoot = newSpritelistMerkleRoot;
    }

    function setRafflelistMerkleRoot(bytes32 newRafflelistMerkleRoot) external onlyOwner {
        rafflelistMerkleRoot = newRafflelistMerkleRoot;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(owner()).transfer(balance);
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    // Metadata

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'SpriteClub: URI query for nonexistent token');
        return string(abi.encodePacked(metadataBaseURI, tokenId.toString(), '.json'));
    }

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

    // Minting

    function _beforeTokenTransfers(address from, address to, uint256 startTokenId, uint256 quantity) internal override whenNotPaused() {
        super._beforeTokenTransfers(from, to, startTokenId, quantity);
    }

    modifier callerIsUser() {
        require(tx.origin == _msgSender(), "SpriteClub: The caller is another contract");
        _;
    }

    function _generateMerkleLeaf(address account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account));
    }

    function _verifyMerkleLeaf(bytes32 merkleLeaf, bytes32 merkleRoot, bytes32[] memory proof) internal pure returns (bool) {
        return MerkleProof.verify(proof, merkleRoot, merkleLeaf);
    }

    function _verifyAnswer(uint256 answer) internal pure returns (bool) {
        if (answer <= 0 || answer > 60000) {
            return false;
        }
        for (uint256 i; i < 5; i++) {
            uint256 value = answer;
            for (uint256 j; j < i; j++) {
                value = value / 10;
            }
            value = value % 10;
            if (value <= 0 || value > 5) {
                return false;
            }
        }
        return true;
    }

    function spritelistMint(uint256 answer, uint256 quantity, bytes32[] calldata proof) public payable callerIsUser {
        require(isSpritelistSaleActive && mintPrice > 0, "SpriteClub: spritelist sale not active");
        require(msg.value >= mintPrice * quantity, "SpriteClub: insufficient payment");
        require(mintCounts[_msgSender()] == 0, "SpriteClub: already claimed");
        require(_verifyMerkleLeaf(_generateMerkleLeaf(_msgSender()), spritelistMerkleRoot, proof), "SpriteClub: invalid proof");
        require(_verifyAnswer(answer), "SpriteClub: answer invalid");
        mintCounts[_msgSender()] += quantity;
        spriteAnswers[currentTokenIndex] = answer;
        _mint(_msgSender(), quantity, false);
    }

    function spritelistMintWithApproval(uint256 answer, uint256 quantity, bytes32[] calldata proof, address[] calldata approvedAddresses) external payable callerIsUser {
        spritelistMint(answer, quantity, proof);
        for (uint256 i; i < approvedAddresses.length; i++) {
            _setApprovalForAll(_msgSender(), approvedAddresses[i], true);
        }
    }

    function rafflelistMint(uint256 answer, bytes32[] calldata proof) public payable callerIsUser {
        require(isRafflelistSaleActive && mintPrice > 0, "SpriteClub: rafflelist sale not active");
        require(msg.value >= mintPrice, "SpriteClub: insufficient payment");
        require(mintCounts[_msgSender()] == 0, "SpriteClub: already claimed");
        require(_verifyMerkleLeaf(_generateMerkleLeaf(_msgSender()), rafflelistMerkleRoot, proof), "SpriteClub: invalid proof");
        require(_verifyAnswer(answer), "SpriteClub: answer invalid");
        mintCounts[_msgSender()] += 1;
        spriteAnswers[currentTokenIndex] = answer;
        _mint(_msgSender(), 1, false);
    }

    function rafflelistMintWithApproval(uint256 answer, bytes32[] calldata proof, address[] calldata approvedAddresses) external payable callerIsUser {
        rafflelistMint(answer, proof);
        for (uint256 i; i < approvedAddresses.length; i++) {
            _setApprovalForAll(_msgSender(), approvedAddresses[i], true);
        }
    }

    function ownerMint(address to, uint256 quantity) external onlyOwner {
        _mint(to, quantity, true);
    }

}

File 2 of 16 : ERC721S.sol
// SPDX-License-Identifier: UNLICENSED
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';


contract ERC721S is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Minting happens in order from 0 onwwards
    uint256 internal currentTokenIndex = 0;

    // Total token limit
    uint256 public immutable collectionSize;

    // Minting limit per transaction
    uint256 public immutable transactionMintLimit;

    // Minting limit per address
    uint256 public immutable addressMintLimit;

    // Mapping from token ID to owner address
    mapping(uint256 => address) internal _owners;

    // Mapping owner address to token count
    mapping(address => uint256) internal _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_, uint256 transactionMintLimit_, uint256 addressMintLimit_, uint256 collectionSize_) {
        _name = name_;
        _symbol = symbol_;
        transactionMintLimit = transactionMintLimit_;
        addressMintLimit = addressMintLimit_;
        collectionSize = collectionSize_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

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

    function totalSupply() public view override returns (uint256) {
        return currentTokenIndex;
    }

    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentTokenIndex;
    }

    function ownerOf(uint256 tokenId) public view override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721S: owner query for nonexistent token");
        return owner;
    }

    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < currentTokenIndex, "ERC721S: index out of bounds");
        return index;
    }

    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), 'ERC721S: balance query for the zero address');
        return _balances[owner];
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), "ERC721S: index out of bounds");
        uint256 tokenIndex = 0;
        for (uint256 tokenId = 0; tokenId < currentTokenIndex; tokenId++) {
            if (_owners[tokenId] == owner) {
                if (tokenIndex == index) {
                    return tokenId;
                }
                tokenIndex++;
            }
        }
        revert('ERC721S: unable to get token of owner by index');
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'ERC721S: URI query for nonexistent token');
        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
    }

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

    function approve(address to, uint256 tokenId) public override {
        address owner = _owners[tokenId];
        require(to != owner, "ERC721S: approval to current owner");
        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721S: approve caller is not owner nor approved for all"
        );
        _approve(to, tokenId);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(_owners[tokenId], to, tokenId);
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC721S: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), 'ERC721S: approved query for nonexistent token');
        return _tokenApprovals[tokenId];
    }

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721S: query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override {
        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override {
        safeTransferFrom(from, to, tokenId, '');
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721S: transfer to non ERC721Receiver implementer'
        );
    }

    function _mint(address to, uint256 quantity, bool shouldIgnoreLimits) internal {
        require(to != address(0), 'ERC721S: mint to the zero address');
        if (!shouldIgnoreLimits) {
            require(quantity > 0 && quantity <= transactionMintLimit, 'ERC721S: invalid quantity');
            require(_balances[to] + quantity <= addressMintLimit, "ERC721S: adress mint limit reached");
        }
        uint256 startTokenId = currentTokenIndex;
        uint256 nextCurrentTokenIndex = currentTokenIndex + quantity;
        require(nextCurrentTokenIndex <= collectionSize, 'ERC721S: quantity out of bounds');
        _beforeTokenTransfers(address(0), to, startTokenId, quantity);
        _balances[to] += quantity;
        for (; startTokenId < nextCurrentTokenIndex; startTokenId++) {
            _owners[startTokenId] = to;
            emit Transfer(address(0), to, startTokenId);
        }
        currentTokenIndex = nextCurrentTokenIndex;
    }

    function _transfer(address from, address to, uint256 tokenId) private {
        require(_owners[tokenId] == from, "ERC721S: transfer of token that is not own");
        require(to != address(0), "ERC721S: oww, dont do that! I almost got burnt!");
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721S: caller is not owner nor approved");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) {
        if (!to.isContract()) {
            return true;
        }
        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('ERC721S: transfer to non ERC721Receiver implementer');
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    function _beforeTokenTransfers(address from, address to, uint256 startTokenId, uint256 quantity) internal virtual {}
}

File 3 of 16 : 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 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 5 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 6 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 16 : 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 8 of 16 : 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 9 of 16 : 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 10 of 16 : 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 11 of 16 : 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 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 16 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialMetadataBaseURI","type":"string"},{"internalType":"string","name":"initialCollectionURI","type":"string"},{"internalType":"uint16","name":"initialRoyaltyBasisPoints","type":"uint16"},{"internalType":"uint256","name":"initialTransactionMintLimit","type":"uint256"},{"internalType":"uint256","name":"initialAddressMintLimit","type":"uint256"},{"internalType":"uint256","name":"initialCollectionSize","type":"uint256"},{"internalType":"uint256","name":"initialMintPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"addressMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRafflelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSpritelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rafflelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"answer","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"rafflelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"answer","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address[]","name":"approvedAddresses","type":"address[]"}],"name":"rafflelistMintWithApproval","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyBasisPoints","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"newCollectionURI","type":"string"}],"name":"setCollectionURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newIsRafflelistSaleActive","type":"bool"}],"name":"setIsRafflelistSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newIsSpritelistSaleActive","type":"bool"}],"name":"setIsSpritelistSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newMetadataBaseURI","type":"string"}],"name":"setMetadataBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRafflelistMerkleRoot","type":"bytes32"}],"name":"setRafflelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newRoyaltyBasisPoints","type":"uint16"}],"name":"setRoyaltyBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newSpritelistMerkleRoot","type":"bytes32"}],"name":"setSpritelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"spriteAnswers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spritelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"answer","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"spritelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"answer","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address[]","name":"approvedAddresses","type":"address[]"}],"name":"spritelistMintWithApproval","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionMintLimit","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260006002553480156200001657600080fd5b5060405162003bf838038062003bf88339810160408190526200003991620002d5565b6040518060400160405280600a81526020016929b83934ba32a1b63ab160b11b8152506040518060400160405280600681526020016553505249544560d01b81525085858584600090805190602001906200009692919062000178565b508351620000ac90600190602087019062000178565b5060a09290925260c05260805250620000c790503362000126565b6007805460ff60a01b191690558651620000e990600e9060208a019062000178565b508551620000ff90600d90602089019062000178565b50600c805461ffff191661ffff969096169590951790945550505060105550620003d59050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001869062000382565b90600052602060002090601f016020900481019282620001aa5760008555620001f5565b82601f10620001c557805160ff1916838001178555620001f5565b82800160010185558215620001f5579182015b82811115620001f5578251825591602001919060010190620001d8565b506200020392915062000207565b5090565b5b8082111562000203576000815560010162000208565b600082601f8301126200023057600080fd5b81516001600160401b03808211156200024d576200024d620003bf565b604051601f8301601f19908116603f01168101908282118183101715620002785762000278620003bf565b816040528381526020925086838588010111156200029557600080fd5b600091505b83821015620002b957858201830151818301840152908201906200029a565b83821115620002cb5760008385830101525b9695505050505050565b600080600080600080600060e0888a031215620002f157600080fd5b87516001600160401b03808211156200030957600080fd5b620003178b838c016200021e565b985060208a01519150808211156200032e57600080fd5b506200033d8a828b016200021e565b965050604088015161ffff811681146200035657600080fd5b80955050606088015193506080880151925060a0880151915060c0880151905092959891949750929550565b600181811c908216806200039757607f821691505b60208210811415620003b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c0516137de6200041a6000396000818161056801526124a6015260008181610813015261241c015260008181610635015261255801526137de6000f3fe60806040526004361061033f5760003560e01c806353277879116101b0578063a22cb465116100ec578063de134e7511610095578063f2fde38b1161006f578063f2fde38b1461097e578063f4a0a5281461099e578063f4a560a5146109be578063fb94bd8a146109d357600080fd5b8063de134e751461090d578063e8a3d48514610920578063e985e9c51461093557600080fd5b8063c01f2f76116100c6578063c01f2f76146108b2578063c87b56dd146108cc578063d7e43885146108ec57600080fd5b8063a22cb4651461085d578063a5097ebf1461087d578063b88d4fde1461089257600080fd5b806370a08231116101595780638da5cb5b116101335780638da5cb5b146107e357806394f5f9f91461080157806395d89b4114610835578063a20692731461084a57600080fd5b806370a0823114610799578063715018a6146107b95780638456cb59146107ce57600080fd5b80636352211e1161018a5780636352211e14610743578063676c7e5e146107635780636817c76c1461078357600080fd5b806353277879146106d757806357bab666146107045780635c975abb1461072457600080fd5b80632c0193411161027f57806342260b5d11610228578063484b973c11610202578063484b973c146106575780634f2a4c2b146106775780634f6ccce71461069757806352c9caa4146106b757600080fd5b806342260b5d146105d557806342842e0e1461060357806345c0f5331461062357600080fd5b80633ccfd60b116102595780633ccfd60b1461058a5780633d860d291461059f5780633f4ba83a146105c057600080fd5b80632c019341146105165780632f745c591461053657806338b91e541461055657600080fd5b806312e0ffd7116102ec57806323b872dd116102c657806323b872dd1461048157806325b30ab7146104a15780632639f460146104b75780632a55205a146104d757600080fd5b806312e0ffd71461042c57806318160ddd1461043f5780631af90f6e1461045457600080fd5b8063081812fc1161031d578063081812fc146103b0578063095ea7b3146103e85780630ed3f9151461040857600080fd5b806301ffc9a714610344578063021a0c811461037957806306fdde031461038e575b600080fd5b34801561035057600080fd5b5061036461035f36600461322a565b6109f3565b60405190151581526020015b60405180910390f35b61038c610387366004613435565b610ac4565b005b34801561039a57600080fd5b506103a3610b90565b604051610370919061360f565b3480156103bc57600080fd5b506103d06103cb366004613211565b610c22565b6040516001600160a01b039091168152602001610370565b3480156103f457600080fd5b5061038c6104033660046131cc565b610cbd565b34801561041457600080fd5b5061041e60095481565b604051908152602001610370565b61038c61043a3660046133e2565b610dec565b34801561044b57600080fd5b5060025461041e565b34801561046057600080fd5b5061041e61046f366004613211565b600b6020526000908152604090205481565b34801561048d57600080fd5b5061038c61049c36600461308a565b6110e0565b3480156104ad57600080fd5b5061041e60085481565b3480156104c357600080fd5b5061038c6104d2366004613264565b6110eb565b3480156104e357600080fd5b506104f76104f23660046133c0565b61113f565b604080516001600160a01b039093168352602083019190915201610370565b34801561052257600080fd5b5061038c6105313660046131f6565b611171565b34801561054257600080fd5b5061041e6105513660046131cc565b611267565b34801561056257600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561059657600080fd5b5061038c611390565b3480156105ab57600080fd5b5060075461036490600160a81b900460ff1681565b3480156105cc57600080fd5b5061038c611427565b3480156105e157600080fd5b50600c546105f09061ffff1681565b60405161ffff9091168152602001610370565b34801561060f57600080fd5b5061038c61061e36600461308a565b611479565b34801561062f57600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561066357600080fd5b5061038c6106723660046131cc565b611494565b34801561068357600080fd5b5061038c610692366004613211565b6114e8565b3480156106a357600080fd5b5061041e6106b2366004613211565b611535565b3480156106c357600080fd5b5061038c6106d23660046131f6565b61158c565b3480156106e357600080fd5b5061041e6106f2366004613035565b600a6020526000908152604090205481565b34801561071057600080fd5b5061038c61071f366004613211565b611682565b34801561073057600080fd5b50600754600160a01b900460ff16610364565b34801561074f57600080fd5b506103d061075e366004613211565b6116cf565b34801561076f57600080fd5b5061038c61077e3660046132d6565b61175a565b34801561078f57600080fd5b5061041e60105481565b3480156107a557600080fd5b5061041e6107b4366004613035565b611835565b3480156107c557600080fd5b5061038c6118cf565b3480156107da57600080fd5b5061038c611921565b3480156107ef57600080fd5b506007546001600160a01b03166103d0565b34801561080d57600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561084157600080fd5b506103a3611971565b61038c610858366004613346565b611980565b34801561086957600080fd5b5061038c6108783660046131a2565b611a1b565b34801561088957600080fd5b506103a3611a26565b34801561089e57600080fd5b5061038c6108ad3660046130c6565b611ab4565b3480156108be57600080fd5b50600f546103649060ff1681565b3480156108d857600080fd5b506103a36108e7366004613211565b611b3d565b3480156108f857600080fd5b5060075461036490600160b01b900460ff1681565b61038c61091b3660046132fa565b611bee565b34801561092c57600080fd5b506103a3611ed3565b34801561094157600080fd5b50610364610950366004613057565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561098a57600080fd5b5061038c610999366004613035565b611ee2565b3480156109aa57600080fd5b5061038c6109b9366004613211565b611fb2565b3480156109ca57600080fd5b5061038c611fff565b3480156109df57600080fd5b5061038c6109ee366004613264565b6120cf565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a5657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a8a57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610abe57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b323314610b2b5760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b60648201526084015b60405180910390fd5b610b3786868686610dec565b60005b81811015610b8757610b75335b848484818110610b5957610b59613746565b9050602002016020810190610b6e9190613035565b600161219c565b80610b7f816136eb565b915050610b3a565b50505050505050565b606060008054610b9f906136b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcb906136b0565b8015610c185780601f10610bed57610100808354040283529160200191610c18565b820191906000526020600020905b815481529060010190602001808311610bfb57829003601f168201915b5050505050905090565b6000610c2f826002541190565b610ca15760405162461bcd60e51b815260206004820152602d60248201527f455243373231533a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e000000000000000000000000000000000000006064820152608401610b22565b506000908152600560205260409020546001600160a01b031690565b6000818152600360205260409020546001600160a01b03908116908316811415610d4f5760405162461bcd60e51b815260206004820152602260248201527f455243373231533a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b336001600160a01b0382161480610d6b5750610d6b8133610950565b610ddd5760405162461bcd60e51b815260206004820152603960248201527f455243373231533a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b22565b610de7838361226b565b505050565b323314610e4e5760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b6064820152608401610b22565b600754600160a81b900460ff168015610e6957506000601054115b610ec45760405162461bcd60e51b815260206004820152602660248201527f537072697465436c75623a207370726974656c6973742073616c65206e6f742060448201526561637469766560d01b6064820152608401610b22565b82601054610ed2919061364e565b341015610f215760405162461bcd60e51b815260206004820181905260248201527f537072697465436c75623a20696e73756666696369656e74207061796d656e746044820152606401610b22565b336000908152600a602052604090205415610f7e5760405162461bcd60e51b815260206004820152601b60248201527f537072697465436c75623a20616c726561647920636c61696d656400000000006044820152606401610b22565b604080513360601b6bffffffffffffffffffffffff19166020808301919091528251601481840301815260349092019092528051910120610ff5906008548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122df92505050565b6110415760405162461bcd60e51b815260206004820152601960248201527f537072697465436c75623a20696e76616c69642070726f6f66000000000000006044820152606401610b22565b61104a846122f4565b6110965760405162461bcd60e51b815260206004820152601a60248201527f537072697465436c75623a20616e7377657220696e76616c69640000000000006044820152606401610b22565b336000908152600a6020526040812080548592906110b5908490613622565b90915550506002546000908152600b602052604090208490556110da3384600061238e565b50505050565b610de7838383612686565b6007546001600160a01b031633146111335760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b610de7600d8383612f34565b600c54600090819030906127109061115b9061ffff168661364e565b611165919061363a565b915091505b9250929050565b6007546001600160a01b031633146111b95760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b60085461122e5760405162461bcd60e51b815260206004820152603860248201527f537072697465436c75623a2063616e6e6f74207374617274206966207370726960448201527f74656c6973744d65726b6c65526f6f74206e6f742073657400000000000000006064820152608401610b22565b60078054911515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600061127283611835565b82106112c05760405162461bcd60e51b815260206004820152601c60248201527f455243373231533a20696e646578206f7574206f6620626f756e6473000000006044820152606401610b22565b6000805b600254811015611321576000818152600360205260409020546001600160a01b038681169116141561130f5783821415611301579150610abe9050565b8161130b816136eb565b9250505b80611319816136eb565b9150506112c4565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231533a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610b22565b6007546001600160a01b031633146113d85760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b476113eb6007546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611423573d6000803e3d6000fd5b5050565b6007546001600160a01b0316331461146f5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114776128ea565b565b610de783838360405180602001604052806000815250611ab4565b6007546001600160a01b031633146114dc5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114238282600161238e565b6007546001600160a01b031633146115305760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600855565b600060025482106115885760405162461bcd60e51b815260206004820152601c60248201527f455243373231533a20696e646578206f7574206f6620626f756e6473000000006044820152606401610b22565b5090565b6007546001600160a01b031633146115d45760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6009546116495760405162461bcd60e51b815260206004820152603860248201527f537072697465436c75623a2063616e6e6f74207374617274206966207261666660448201527f6c656c6973744d65726b6c65526f6f74206e6f742073657400000000000000006064820152608401610b22565b60078054911515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6007546001600160a01b031633146116ca5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600955565b6000818152600360205260408120546001600160a01b031680610abe5760405162461bcd60e51b815260206004820152602a60248201527f455243373231533a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610b22565b6007546001600160a01b031633146117a25760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6113888161ffff161061181d5760405162461bcd60e51b815260206004820152603360248201527f537072697465436c75623a20726f79616c74794261736973506f696e7473206d60448201527f757374206265203c2035303030202835302529000000000000000000000000006064820152608401610b22565b600c805461ffff191661ffff92909216919091179055565b60006001600160a01b0382166118b35760405162461bcd60e51b815260206004820152602b60248201527f455243373231533a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610b22565b506001600160a01b031660009081526004602052604090205490565b6007546001600160a01b031633146119175760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114776000612990565b6007546001600160a01b031633146119695760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114776129ef565b606060018054610b9f906136b0565b3233146119e25760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b6064820152608401610b22565b6119ed858585611bee565b60005b81811015611a1357611a0133610b47565b80611a0b816136eb565b9150506119f0565b505050505050565b61142333838361219c565b600d8054611a33906136b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5f906136b0565b8015611aac5780601f10611a8157610100808354040283529160200191611aac565b820191906000526020600020905b815481529060010190602001808311611a8f57829003601f168201915b505050505081565b611abf848484612686565b611acb84848484612a84565b6110da5760405162461bcd60e51b815260206004820152603360248201527f455243373231533a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b22565b6060611b4a826002541190565b611bbc5760405162461bcd60e51b815260206004820152602b60248201527f537072697465436c75623a2055524920717565727920666f72206e6f6e65786960448201527f7374656e7420746f6b656e0000000000000000000000000000000000000000006064820152608401610b22565b600e611bc783612be6565b604051602001611bd8929190613500565b6040516020818303038152906040529050919050565b323314611c505760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b6064820152608401610b22565b600754600160b01b900460ff168015611c6b57506000601054115b611cc65760405162461bcd60e51b815260206004820152602660248201527f537072697465436c75623a20726166666c656c6973742073616c65206e6f742060448201526561637469766560d01b6064820152608401610b22565b601054341015611d185760405162461bcd60e51b815260206004820181905260248201527f537072697465436c75623a20696e73756666696369656e74207061796d656e746044820152606401610b22565b336000908152600a602052604090205415611d755760405162461bcd60e51b815260206004820152601b60248201527f537072697465436c75623a20616c726561647920636c61696d656400000000006044820152606401610b22565b604080513360601b6bffffffffffffffffffffffff19166020808301919091528251601481840301815260349092019092528051910120611dec906009548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122df92505050565b611e385760405162461bcd60e51b815260206004820152601960248201527f537072697465436c75623a20696e76616c69642070726f6f66000000000000006044820152606401610b22565b611e41836122f4565b611e8d5760405162461bcd60e51b815260206004820152601a60248201527f537072697465436c75623a20616e7377657220696e76616c69640000000000006044820152606401610b22565b336000908152600a60205260408120805460019290611ead908490613622565b90915550506002546000908152600b60205260409020839055610de7336001600061238e565b6060600d8054610b9f906136b0565b6007546001600160a01b03163314611f2a5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6001600160a01b038116611fa65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b22565b611faf81612990565b50565b6007546001600160a01b03163314611ffa5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b601055565b6007546001600160a01b031633146120475760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600f5460ff16156120c05760405162461bcd60e51b815260206004820152602960248201527f537072697465436c75623a206d6574616461746120697320616c72656164792060448201527f66696e616c697a656400000000000000000000000000000000000000000000006064820152608401610b22565b600f805460ff19166001179055565b6007546001600160a01b031633146121175760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600f5460ff16156121905760405162461bcd60e51b815260206004820152602160248201527f537072697465436c75623a206d65746164617461206973206e6f772066696e6160448201527f6c000000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b610de7600e8383612f34565b816001600160a01b0316836001600160a01b031614156121fe5760405162461bcd60e51b815260206004820152601a60248201527f455243373231533a20617070726f766520746f2063616c6c65720000000000006044820152606401610b22565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000818152600560209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038781169182179092556003909352818420549151859492909116917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a45050565b60006122ec828486612d18565b949350505050565b6000811580612304575061ea6082115b1561231157506000919050565b60005b6005811015612385578260005b8281101561234857612334600a8361363a565b915080612340816136eb565b915050612321565b50612354600a82613706565b90508015806123635750600581115b15612372575060009392505050565b508061237d816136eb565b915050612314565b50600192915050565b6001600160a01b03831661240a5760405162461bcd60e51b815260206004820152602160248201527f455243373231533a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b806125455760008211801561243f57507f00000000000000000000000000000000000000000000000000000000000000008211155b61248b5760405162461bcd60e51b815260206004820152601960248201527f455243373231533a20696e76616c6964207175616e74697479000000000000006044820152606401610b22565b6001600160a01b0383166000908152600460205260409020547f0000000000000000000000000000000000000000000000000000000000000000906124d1908490613622565b11156125455760405162461bcd60e51b815260206004820152602260248201527f455243373231533a20616472657373206d696e74206c696d697420726561636860448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b60025460006125548483613622565b90507f00000000000000000000000000000000000000000000000000000000000000008111156125c65760405162461bcd60e51b815260206004820152601f60248201527f455243373231533a207175616e74697479206f7574206f6620626f756e6473006044820152606401610b22565b6125d36000868487612d2e565b6001600160a01b038516600090815260046020526040812080548692906125fb908490613622565b90915550505b8082101561267d57600082815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03891690811790915590518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a481612675816136eb565b925050612601565b60025550505050565b6000818152600360205260409020546001600160a01b038481169116146127155760405162461bcd60e51b815260206004820152602a60248201527f455243373231533a207472616e73666572206f6620746f6b656e20746861742060448201527f6973206e6f74206f776e000000000000000000000000000000000000000000006064820152608401610b22565b6001600160a01b0382166127915760405162461bcd60e51b815260206004820152602f60248201527f455243373231533a206f77772c20646f6e7420646f207468617421204920616c60448201527f6d6f737420676f74206275726e742100000000000000000000000000000000006064820152608401610b22565b61279b3382612d8d565b61280d5760405162461bcd60e51b815260206004820152602960248201527f455243373231533a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610b22565b61281a8383836001612d2e565b61282560008261226b565b6001600160a01b038316600090815260046020526040812080546001929061284e90849061366d565b90915550506001600160a01b038216600090815260046020526040812080546001929061287c908490613622565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600754600160a01b900460ff166129435760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b22565b6007805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600754600160a01b900460ff1615612a495760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b22565b6007805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129733390565b60006001600160a01b0384163b612a9d575060016122ec565b604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612acf9033908990889088906004016135d3565b602060405180830381600087803b158015612ae957600080fd5b505af1925050508015612b19575060408051601f3d908101601f19168201909252612b1691810190613247565b60015b612bc9573d808015612b47576040519150601f19603f3d011682016040523d82523d6000602084013e612b4c565b606091505b508051612bc15760405162461bcd60e51b815260206004820152603360248201527f455243373231533a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b22565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081612c2657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c505780612c3a816136eb565b9150612c499050600a8361363a565b9150612c2a565b60008167ffffffffffffffff811115612c6b57612c6b61375c565b6040519080825280601f01601f191660200182016040528015612c95576020820181803683370190505b5090505b84156122ec57612caa60018361366d565b9150612cb7600a86613706565b612cc2906030613622565b60f81b818381518110612cd757612cd7613746565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612d11600a8661363a565b9450612c99565b600082612d258584612e88565b14949350505050565b600754600160a01b900460ff1615612d885760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b22565b6110da565b6000612d9a826002541190565b612e0b5760405162461bcd60e51b8152602060048201526024808201527f455243373231533a20717565727920666f72206e6f6e6578697374656e74207460448201527f6f6b656e000000000000000000000000000000000000000000000000000000006064820152608401610b22565b6000612e16836116cf565b9050806001600160a01b0316846001600160a01b03161480612e5d57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806122ec5750836001600160a01b0316612e7684610c22565b6001600160a01b031614949350505050565b600081815b8451811015612f2c576000858281518110612eaa57612eaa613746565b60200260200101519050808311612eec576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612f19565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612f24816136eb565b915050612e8d565b509392505050565b828054612f40906136b0565b90600052602060002090601f016020900481019282612f625760008555612fa8565b82601f10612f7b5782800160ff19823516178555612fa8565b82800160010185558215612fa8579182015b82811115612fa8578235825591602001919060010190612f8d565b506115889291505b808211156115885760008155600101612fb0565b80356001600160a01b0381168114612fdb57600080fd5b919050565b60008083601f840112612ff257600080fd5b50813567ffffffffffffffff81111561300a57600080fd5b6020830191508360208260051b850101111561116a57600080fd5b80358015158114612fdb57600080fd5b60006020828403121561304757600080fd5b61305082612fc4565b9392505050565b6000806040838503121561306a57600080fd5b61307383612fc4565b915061308160208401612fc4565b90509250929050565b60008060006060848603121561309f57600080fd5b6130a884612fc4565b92506130b660208501612fc4565b9150604084013590509250925092565b600080600080608085870312156130dc57600080fd5b6130e585612fc4565b93506130f360208601612fc4565b925060408501359150606085013567ffffffffffffffff8082111561311757600080fd5b818701915087601f83011261312b57600080fd5b81358181111561313d5761313d61375c565b604051601f8201601f19908116603f011681019083821181831017156131655761316561375c565b816040528281528a602084870101111561317e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156131b557600080fd5b6131be83612fc4565b915061308160208401613025565b600080604083850312156131df57600080fd5b6131e883612fc4565b946020939093013593505050565b60006020828403121561320857600080fd5b61305082613025565b60006020828403121561322357600080fd5b5035919050565b60006020828403121561323c57600080fd5b813561305081613772565b60006020828403121561325957600080fd5b815161305081613772565b6000806020838503121561327757600080fd5b823567ffffffffffffffff8082111561328f57600080fd5b818501915085601f8301126132a357600080fd5b8135818111156132b257600080fd5b8660208285010111156132c457600080fd5b60209290920196919550909350505050565b6000602082840312156132e857600080fd5b813561ffff8116811461305057600080fd5b60008060006040848603121561330f57600080fd5b83359250602084013567ffffffffffffffff81111561332d57600080fd5b61333986828701612fe0565b9497909650939450505050565b60008060008060006060868803121561335e57600080fd5b85359450602086013567ffffffffffffffff8082111561337d57600080fd5b61338989838a01612fe0565b909650945060408801359150808211156133a257600080fd5b506133af88828901612fe0565b969995985093965092949392505050565b600080604083850312156133d357600080fd5b50508035926020909101359150565b600080600080606085870312156133f857600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561341d57600080fd5b61342987828801612fe0565b95989497509550505050565b6000806000806000806080878903121561344e57600080fd5b8635955060208701359450604087013567ffffffffffffffff8082111561347457600080fd5b6134808a838b01612fe0565b9096509450606089013591508082111561349957600080fd5b506134a689828a01612fe0565b979a9699509497509295939492505050565b600081518084526134d0816020860160208601613684565b601f01601f19169290920160200192915050565b600081516134f6818560208601613684565b9290920192915050565b600080845481600182811c91508083168061351c57607f831692505b602080841082141561353c57634e487b7160e01b86526022600452602486fd5b81801561355057600181146135615761358e565b60ff1986168952848901965061358e565b60008b81526020902060005b868110156135865781548b82015290850190830161356d565b505084890196505b5050505050506135ca6135a182866134e4565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261360560808301846134b8565b9695505050505050565b60208152600061305060208301846134b8565b600082198211156136355761363561371a565b500190565b60008261364957613649613730565b500490565b60008160001904831182151516156136685761366861371a565b500290565b60008282101561367f5761367f61371a565b500390565b60005b8381101561369f578181015183820152602001613687565b838111156110da5750506000910152565b600181811c908216806136c457607f821691505b602082108114156136e557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156136ff576136ff61371a565b5060010190565b60008261371557613715613730565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611faf57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220437f2373ed2e916318c39019d706c664421ea13c700b5aed80393200ec5b72af64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000001e6100000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d564e504a623468376f554e68666e38744d58684b4750327577433378564d31536843724864705a33693134742f000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061033f5760003560e01c806353277879116101b0578063a22cb465116100ec578063de134e7511610095578063f2fde38b1161006f578063f2fde38b1461097e578063f4a0a5281461099e578063f4a560a5146109be578063fb94bd8a146109d357600080fd5b8063de134e751461090d578063e8a3d48514610920578063e985e9c51461093557600080fd5b8063c01f2f76116100c6578063c01f2f76146108b2578063c87b56dd146108cc578063d7e43885146108ec57600080fd5b8063a22cb4651461085d578063a5097ebf1461087d578063b88d4fde1461089257600080fd5b806370a08231116101595780638da5cb5b116101335780638da5cb5b146107e357806394f5f9f91461080157806395d89b4114610835578063a20692731461084a57600080fd5b806370a0823114610799578063715018a6146107b95780638456cb59146107ce57600080fd5b80636352211e1161018a5780636352211e14610743578063676c7e5e146107635780636817c76c1461078357600080fd5b806353277879146106d757806357bab666146107045780635c975abb1461072457600080fd5b80632c0193411161027f57806342260b5d11610228578063484b973c11610202578063484b973c146106575780634f2a4c2b146106775780634f6ccce71461069757806352c9caa4146106b757600080fd5b806342260b5d146105d557806342842e0e1461060357806345c0f5331461062357600080fd5b80633ccfd60b116102595780633ccfd60b1461058a5780633d860d291461059f5780633f4ba83a146105c057600080fd5b80632c019341146105165780632f745c591461053657806338b91e541461055657600080fd5b806312e0ffd7116102ec57806323b872dd116102c657806323b872dd1461048157806325b30ab7146104a15780632639f460146104b75780632a55205a146104d757600080fd5b806312e0ffd71461042c57806318160ddd1461043f5780631af90f6e1461045457600080fd5b8063081812fc1161031d578063081812fc146103b0578063095ea7b3146103e85780630ed3f9151461040857600080fd5b806301ffc9a714610344578063021a0c811461037957806306fdde031461038e575b600080fd5b34801561035057600080fd5b5061036461035f36600461322a565b6109f3565b60405190151581526020015b60405180910390f35b61038c610387366004613435565b610ac4565b005b34801561039a57600080fd5b506103a3610b90565b604051610370919061360f565b3480156103bc57600080fd5b506103d06103cb366004613211565b610c22565b6040516001600160a01b039091168152602001610370565b3480156103f457600080fd5b5061038c6104033660046131cc565b610cbd565b34801561041457600080fd5b5061041e60095481565b604051908152602001610370565b61038c61043a3660046133e2565b610dec565b34801561044b57600080fd5b5060025461041e565b34801561046057600080fd5b5061041e61046f366004613211565b600b6020526000908152604090205481565b34801561048d57600080fd5b5061038c61049c36600461308a565b6110e0565b3480156104ad57600080fd5b5061041e60085481565b3480156104c357600080fd5b5061038c6104d2366004613264565b6110eb565b3480156104e357600080fd5b506104f76104f23660046133c0565b61113f565b604080516001600160a01b039093168352602083019190915201610370565b34801561052257600080fd5b5061038c6105313660046131f6565b611171565b34801561054257600080fd5b5061041e6105513660046131cc565b611267565b34801561056257600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000281565b34801561059657600080fd5b5061038c611390565b3480156105ab57600080fd5b5060075461036490600160a81b900460ff1681565b3480156105cc57600080fd5b5061038c611427565b3480156105e157600080fd5b50600c546105f09061ffff1681565b60405161ffff9091168152602001610370565b34801561060f57600080fd5b5061038c61061e36600461308a565b611479565b34801561062f57600080fd5b5061041e7f0000000000000000000000000000000000000000000000000000000000001e6181565b34801561066357600080fd5b5061038c6106723660046131cc565b611494565b34801561068357600080fd5b5061038c610692366004613211565b6114e8565b3480156106a357600080fd5b5061041e6106b2366004613211565b611535565b3480156106c357600080fd5b5061038c6106d23660046131f6565b61158c565b3480156106e357600080fd5b5061041e6106f2366004613035565b600a6020526000908152604090205481565b34801561071057600080fd5b5061038c61071f366004613211565b611682565b34801561073057600080fd5b50600754600160a01b900460ff16610364565b34801561074f57600080fd5b506103d061075e366004613211565b6116cf565b34801561076f57600080fd5b5061038c61077e3660046132d6565b61175a565b34801561078f57600080fd5b5061041e60105481565b3480156107a557600080fd5b5061041e6107b4366004613035565b611835565b3480156107c557600080fd5b5061038c6118cf565b3480156107da57600080fd5b5061038c611921565b3480156107ef57600080fd5b506007546001600160a01b03166103d0565b34801561080d57600080fd5b5061041e7f000000000000000000000000000000000000000000000000000000000000000281565b34801561084157600080fd5b506103a3611971565b61038c610858366004613346565b611980565b34801561086957600080fd5b5061038c6108783660046131a2565b611a1b565b34801561088957600080fd5b506103a3611a26565b34801561089e57600080fd5b5061038c6108ad3660046130c6565b611ab4565b3480156108be57600080fd5b50600f546103649060ff1681565b3480156108d857600080fd5b506103a36108e7366004613211565b611b3d565b3480156108f857600080fd5b5060075461036490600160b01b900460ff1681565b61038c61091b3660046132fa565b611bee565b34801561092c57600080fd5b506103a3611ed3565b34801561094157600080fd5b50610364610950366004613057565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561098a57600080fd5b5061038c610999366004613035565b611ee2565b3480156109aa57600080fd5b5061038c6109b9366004613211565b611fb2565b3480156109ca57600080fd5b5061038c611fff565b3480156109df57600080fd5b5061038c6109ee366004613264565b6120cf565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a5657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a8a57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610abe57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b323314610b2b5760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b60648201526084015b60405180910390fd5b610b3786868686610dec565b60005b81811015610b8757610b75335b848484818110610b5957610b59613746565b9050602002016020810190610b6e9190613035565b600161219c565b80610b7f816136eb565b915050610b3a565b50505050505050565b606060008054610b9f906136b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcb906136b0565b8015610c185780601f10610bed57610100808354040283529160200191610c18565b820191906000526020600020905b815481529060010190602001808311610bfb57829003601f168201915b5050505050905090565b6000610c2f826002541190565b610ca15760405162461bcd60e51b815260206004820152602d60248201527f455243373231533a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e000000000000000000000000000000000000006064820152608401610b22565b506000908152600560205260409020546001600160a01b031690565b6000818152600360205260409020546001600160a01b03908116908316811415610d4f5760405162461bcd60e51b815260206004820152602260248201527f455243373231533a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b336001600160a01b0382161480610d6b5750610d6b8133610950565b610ddd5760405162461bcd60e51b815260206004820152603960248201527f455243373231533a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b22565b610de7838361226b565b505050565b323314610e4e5760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b6064820152608401610b22565b600754600160a81b900460ff168015610e6957506000601054115b610ec45760405162461bcd60e51b815260206004820152602660248201527f537072697465436c75623a207370726974656c6973742073616c65206e6f742060448201526561637469766560d01b6064820152608401610b22565b82601054610ed2919061364e565b341015610f215760405162461bcd60e51b815260206004820181905260248201527f537072697465436c75623a20696e73756666696369656e74207061796d656e746044820152606401610b22565b336000908152600a602052604090205415610f7e5760405162461bcd60e51b815260206004820152601b60248201527f537072697465436c75623a20616c726561647920636c61696d656400000000006044820152606401610b22565b604080513360601b6bffffffffffffffffffffffff19166020808301919091528251601481840301815260349092019092528051910120610ff5906008548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122df92505050565b6110415760405162461bcd60e51b815260206004820152601960248201527f537072697465436c75623a20696e76616c69642070726f6f66000000000000006044820152606401610b22565b61104a846122f4565b6110965760405162461bcd60e51b815260206004820152601a60248201527f537072697465436c75623a20616e7377657220696e76616c69640000000000006044820152606401610b22565b336000908152600a6020526040812080548592906110b5908490613622565b90915550506002546000908152600b602052604090208490556110da3384600061238e565b50505050565b610de7838383612686565b6007546001600160a01b031633146111335760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b610de7600d8383612f34565b600c54600090819030906127109061115b9061ffff168661364e565b611165919061363a565b915091505b9250929050565b6007546001600160a01b031633146111b95760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b60085461122e5760405162461bcd60e51b815260206004820152603860248201527f537072697465436c75623a2063616e6e6f74207374617274206966207370726960448201527f74656c6973744d65726b6c65526f6f74206e6f742073657400000000000000006064820152608401610b22565b60078054911515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600061127283611835565b82106112c05760405162461bcd60e51b815260206004820152601c60248201527f455243373231533a20696e646578206f7574206f6620626f756e6473000000006044820152606401610b22565b6000805b600254811015611321576000818152600360205260409020546001600160a01b038681169116141561130f5783821415611301579150610abe9050565b8161130b816136eb565b9250505b80611319816136eb565b9150506112c4565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231533a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610b22565b6007546001600160a01b031633146113d85760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b476113eb6007546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611423573d6000803e3d6000fd5b5050565b6007546001600160a01b0316331461146f5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114776128ea565b565b610de783838360405180602001604052806000815250611ab4565b6007546001600160a01b031633146114dc5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114238282600161238e565b6007546001600160a01b031633146115305760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600855565b600060025482106115885760405162461bcd60e51b815260206004820152601c60248201527f455243373231533a20696e646578206f7574206f6620626f756e6473000000006044820152606401610b22565b5090565b6007546001600160a01b031633146115d45760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6009546116495760405162461bcd60e51b815260206004820152603860248201527f537072697465436c75623a2063616e6e6f74207374617274206966207261666660448201527f6c656c6973744d65726b6c65526f6f74206e6f742073657400000000000000006064820152608401610b22565b60078054911515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6007546001600160a01b031633146116ca5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600955565b6000818152600360205260408120546001600160a01b031680610abe5760405162461bcd60e51b815260206004820152602a60248201527f455243373231533a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610b22565b6007546001600160a01b031633146117a25760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6113888161ffff161061181d5760405162461bcd60e51b815260206004820152603360248201527f537072697465436c75623a20726f79616c74794261736973506f696e7473206d60448201527f757374206265203c2035303030202835302529000000000000000000000000006064820152608401610b22565b600c805461ffff191661ffff92909216919091179055565b60006001600160a01b0382166118b35760405162461bcd60e51b815260206004820152602b60248201527f455243373231533a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610b22565b506001600160a01b031660009081526004602052604090205490565b6007546001600160a01b031633146119175760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114776000612990565b6007546001600160a01b031633146119695760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6114776129ef565b606060018054610b9f906136b0565b3233146119e25760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b6064820152608401610b22565b6119ed858585611bee565b60005b81811015611a1357611a0133610b47565b80611a0b816136eb565b9150506119f0565b505050505050565b61142333838361219c565b600d8054611a33906136b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5f906136b0565b8015611aac5780601f10611a8157610100808354040283529160200191611aac565b820191906000526020600020905b815481529060010190602001808311611a8f57829003601f168201915b505050505081565b611abf848484612686565b611acb84848484612a84565b6110da5760405162461bcd60e51b815260206004820152603360248201527f455243373231533a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b22565b6060611b4a826002541190565b611bbc5760405162461bcd60e51b815260206004820152602b60248201527f537072697465436c75623a2055524920717565727920666f72206e6f6e65786960448201527f7374656e7420746f6b656e0000000000000000000000000000000000000000006064820152608401610b22565b600e611bc783612be6565b604051602001611bd8929190613500565b6040516020818303038152906040529050919050565b323314611c505760405162461bcd60e51b815260206004820152602a60248201527f537072697465436c75623a205468652063616c6c657220697320616e6f7468656044820152691c8818dbdb9d1c9858dd60b21b6064820152608401610b22565b600754600160b01b900460ff168015611c6b57506000601054115b611cc65760405162461bcd60e51b815260206004820152602660248201527f537072697465436c75623a20726166666c656c6973742073616c65206e6f742060448201526561637469766560d01b6064820152608401610b22565b601054341015611d185760405162461bcd60e51b815260206004820181905260248201527f537072697465436c75623a20696e73756666696369656e74207061796d656e746044820152606401610b22565b336000908152600a602052604090205415611d755760405162461bcd60e51b815260206004820152601b60248201527f537072697465436c75623a20616c726561647920636c61696d656400000000006044820152606401610b22565b604080513360601b6bffffffffffffffffffffffff19166020808301919091528251601481840301815260349092019092528051910120611dec906009548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122df92505050565b611e385760405162461bcd60e51b815260206004820152601960248201527f537072697465436c75623a20696e76616c69642070726f6f66000000000000006044820152606401610b22565b611e41836122f4565b611e8d5760405162461bcd60e51b815260206004820152601a60248201527f537072697465436c75623a20616e7377657220696e76616c69640000000000006044820152606401610b22565b336000908152600a60205260408120805460019290611ead908490613622565b90915550506002546000908152600b60205260409020839055610de7336001600061238e565b6060600d8054610b9f906136b0565b6007546001600160a01b03163314611f2a5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b6001600160a01b038116611fa65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b22565b611faf81612990565b50565b6007546001600160a01b03163314611ffa5760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b601055565b6007546001600160a01b031633146120475760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600f5460ff16156120c05760405162461bcd60e51b815260206004820152602960248201527f537072697465436c75623a206d6574616461746120697320616c72656164792060448201527f66696e616c697a656400000000000000000000000000000000000000000000006064820152608401610b22565b600f805460ff19166001179055565b6007546001600160a01b031633146121175760405162461bcd60e51b815260206004820181905260248201526000805160206137898339815191526044820152606401610b22565b600f5460ff16156121905760405162461bcd60e51b815260206004820152602160248201527f537072697465436c75623a206d65746164617461206973206e6f772066696e6160448201527f6c000000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b610de7600e8383612f34565b816001600160a01b0316836001600160a01b031614156121fe5760405162461bcd60e51b815260206004820152601a60248201527f455243373231533a20617070726f766520746f2063616c6c65720000000000006044820152606401610b22565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000818152600560209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038781169182179092556003909352818420549151859492909116917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a45050565b60006122ec828486612d18565b949350505050565b6000811580612304575061ea6082115b1561231157506000919050565b60005b6005811015612385578260005b8281101561234857612334600a8361363a565b915080612340816136eb565b915050612321565b50612354600a82613706565b90508015806123635750600581115b15612372575060009392505050565b508061237d816136eb565b915050612314565b50600192915050565b6001600160a01b03831661240a5760405162461bcd60e51b815260206004820152602160248201527f455243373231533a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b806125455760008211801561243f57507f00000000000000000000000000000000000000000000000000000000000000028211155b61248b5760405162461bcd60e51b815260206004820152601960248201527f455243373231533a20696e76616c6964207175616e74697479000000000000006044820152606401610b22565b6001600160a01b0383166000908152600460205260409020547f0000000000000000000000000000000000000000000000000000000000000002906124d1908490613622565b11156125455760405162461bcd60e51b815260206004820152602260248201527f455243373231533a20616472657373206d696e74206c696d697420726561636860448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b60025460006125548483613622565b90507f0000000000000000000000000000000000000000000000000000000000001e618111156125c65760405162461bcd60e51b815260206004820152601f60248201527f455243373231533a207175616e74697479206f7574206f6620626f756e6473006044820152606401610b22565b6125d36000868487612d2e565b6001600160a01b038516600090815260046020526040812080548692906125fb908490613622565b90915550505b8082101561267d57600082815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03891690811790915590518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a481612675816136eb565b925050612601565b60025550505050565b6000818152600360205260409020546001600160a01b038481169116146127155760405162461bcd60e51b815260206004820152602a60248201527f455243373231533a207472616e73666572206f6620746f6b656e20746861742060448201527f6973206e6f74206f776e000000000000000000000000000000000000000000006064820152608401610b22565b6001600160a01b0382166127915760405162461bcd60e51b815260206004820152602f60248201527f455243373231533a206f77772c20646f6e7420646f207468617421204920616c60448201527f6d6f737420676f74206275726e742100000000000000000000000000000000006064820152608401610b22565b61279b3382612d8d565b61280d5760405162461bcd60e51b815260206004820152602960248201527f455243373231533a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610b22565b61281a8383836001612d2e565b61282560008261226b565b6001600160a01b038316600090815260046020526040812080546001929061284e90849061366d565b90915550506001600160a01b038216600090815260046020526040812080546001929061287c908490613622565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600754600160a01b900460ff166129435760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b22565b6007805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600754600160a01b900460ff1615612a495760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b22565b6007805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129733390565b60006001600160a01b0384163b612a9d575060016122ec565b604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612acf9033908990889088906004016135d3565b602060405180830381600087803b158015612ae957600080fd5b505af1925050508015612b19575060408051601f3d908101601f19168201909252612b1691810190613247565b60015b612bc9573d808015612b47576040519150601f19603f3d011682016040523d82523d6000602084013e612b4c565b606091505b508051612bc15760405162461bcd60e51b815260206004820152603360248201527f455243373231533a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b22565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081612c2657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c505780612c3a816136eb565b9150612c499050600a8361363a565b9150612c2a565b60008167ffffffffffffffff811115612c6b57612c6b61375c565b6040519080825280601f01601f191660200182016040528015612c95576020820181803683370190505b5090505b84156122ec57612caa60018361366d565b9150612cb7600a86613706565b612cc2906030613622565b60f81b818381518110612cd757612cd7613746565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612d11600a8661363a565b9450612c99565b600082612d258584612e88565b14949350505050565b600754600160a01b900460ff1615612d885760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b22565b6110da565b6000612d9a826002541190565b612e0b5760405162461bcd60e51b8152602060048201526024808201527f455243373231533a20717565727920666f72206e6f6e6578697374656e74207460448201527f6f6b656e000000000000000000000000000000000000000000000000000000006064820152608401610b22565b6000612e16836116cf565b9050806001600160a01b0316846001600160a01b03161480612e5d57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806122ec5750836001600160a01b0316612e7684610c22565b6001600160a01b031614949350505050565b600081815b8451811015612f2c576000858281518110612eaa57612eaa613746565b60200260200101519050808311612eec576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612f19565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612f24816136eb565b915050612e8d565b509392505050565b828054612f40906136b0565b90600052602060002090601f016020900481019282612f625760008555612fa8565b82601f10612f7b5782800160ff19823516178555612fa8565b82800160010185558215612fa8579182015b82811115612fa8578235825591602001919060010190612f8d565b506115889291505b808211156115885760008155600101612fb0565b80356001600160a01b0381168114612fdb57600080fd5b919050565b60008083601f840112612ff257600080fd5b50813567ffffffffffffffff81111561300a57600080fd5b6020830191508360208260051b850101111561116a57600080fd5b80358015158114612fdb57600080fd5b60006020828403121561304757600080fd5b61305082612fc4565b9392505050565b6000806040838503121561306a57600080fd5b61307383612fc4565b915061308160208401612fc4565b90509250929050565b60008060006060848603121561309f57600080fd5b6130a884612fc4565b92506130b660208501612fc4565b9150604084013590509250925092565b600080600080608085870312156130dc57600080fd5b6130e585612fc4565b93506130f360208601612fc4565b925060408501359150606085013567ffffffffffffffff8082111561311757600080fd5b818701915087601f83011261312b57600080fd5b81358181111561313d5761313d61375c565b604051601f8201601f19908116603f011681019083821181831017156131655761316561375c565b816040528281528a602084870101111561317e57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156131b557600080fd5b6131be83612fc4565b915061308160208401613025565b600080604083850312156131df57600080fd5b6131e883612fc4565b946020939093013593505050565b60006020828403121561320857600080fd5b61305082613025565b60006020828403121561322357600080fd5b5035919050565b60006020828403121561323c57600080fd5b813561305081613772565b60006020828403121561325957600080fd5b815161305081613772565b6000806020838503121561327757600080fd5b823567ffffffffffffffff8082111561328f57600080fd5b818501915085601f8301126132a357600080fd5b8135818111156132b257600080fd5b8660208285010111156132c457600080fd5b60209290920196919550909350505050565b6000602082840312156132e857600080fd5b813561ffff8116811461305057600080fd5b60008060006040848603121561330f57600080fd5b83359250602084013567ffffffffffffffff81111561332d57600080fd5b61333986828701612fe0565b9497909650939450505050565b60008060008060006060868803121561335e57600080fd5b85359450602086013567ffffffffffffffff8082111561337d57600080fd5b61338989838a01612fe0565b909650945060408801359150808211156133a257600080fd5b506133af88828901612fe0565b969995985093965092949392505050565b600080604083850312156133d357600080fd5b50508035926020909101359150565b600080600080606085870312156133f857600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561341d57600080fd5b61342987828801612fe0565b95989497509550505050565b6000806000806000806080878903121561344e57600080fd5b8635955060208701359450604087013567ffffffffffffffff8082111561347457600080fd5b6134808a838b01612fe0565b9096509450606089013591508082111561349957600080fd5b506134a689828a01612fe0565b979a9699509497509295939492505050565b600081518084526134d0816020860160208601613684565b601f01601f19169290920160200192915050565b600081516134f6818560208601613684565b9290920192915050565b600080845481600182811c91508083168061351c57607f831692505b602080841082141561353c57634e487b7160e01b86526022600452602486fd5b81801561355057600181146135615761358e565b60ff1986168952848901965061358e565b60008b81526020902060005b868110156135865781548b82015290850190830161356d565b505084890196505b5050505050506135ca6135a182866134e4565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261360560808301846134b8565b9695505050505050565b60208152600061305060208301846134b8565b600082198211156136355761363561371a565b500190565b60008261364957613649613730565b500490565b60008160001904831182151516156136685761366861371a565b500290565b60008282101561367f5761367f61371a565b500390565b60005b8381101561369f578181015183820152602001613687565b838111156110da5750506000910152565b600181811c908216806136c457607f821691505b602082108114156136e557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156136ff576136ff61371a565b5060010190565b60008261371557613715613730565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611faf57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220437f2373ed2e916318c39019d706c664421ea13c700b5aed80393200ec5b72af64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000001e6100000000000000000000000000000000000000000000000000f8b0a10e4700000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d564e504a623468376f554e68666e38744d58684b4750327577433378564d31536843724864705a33693134742f000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialMetadataBaseURI (string): ipfs://QmVNPJb4h7oUNhfn8tMXhKGP2uwC3xVM1ShCrHdpZ3i14t/
Arg [1] : initialCollectionURI (string):
Arg [2] : initialRoyaltyBasisPoints (uint16): 70
Arg [3] : initialTransactionMintLimit (uint256): 2
Arg [4] : initialAddressMintLimit (uint256): 2
Arg [5] : initialCollectionSize (uint256): 7777
Arg [6] : initialMintPrice (uint256): 70000000000000000

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000046
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000000000000000000000000000000000000000001e61
Arg [6] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d564e504a623468376f554e68666e38744d58684b475032
Arg [9] : 7577433378564d31536843724864705a33693134742f00000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000


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.