ETH Price: $3,360.77 (-3.25%)

Token

Pixlton Car Club (PXCC)
 

Overview

Max Total Supply

4,006 PXCC

Holders

768

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
taavi.eth
Balance
2 PXCC
0x22aD49d3E1F81A2A626E2DF64Fbdabe1536CaB07
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Carl is mounting an invasion of the town of Pixlton! He has brought along a bunch of cars for willing participants to use in the attack.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PixltonCarClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./ERC721Enumerable.sol";
import "./IPixls.sol";

// Pixlton Car Club contract
contract PixltonCarClub is ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private CurrentTokenId;
    uint256[5471] private Ids;
    
    uint16 public constant MAX_MINTS_TX = 10;

    string public baseURI;
    uint256 public PublicTokenPrice = 0.03 ether;
    uint16 public MaxTokens = 5471;
    bool public PublicMintActive = false;
    bool public ClaimActive = false;

    // Ledger of Pixl IDs that were claimed with.
    mapping(uint256 => bool) ClaimedPixlIds;

    string public constant Z = "You'll see this on the internet. Go on, press like, and make my clicks spike.";

    // Parent NFT Contract mainnet address
    address public nftAddress = 0x082903f4e94c5e10A2B116a4284940a36AFAEd63;
    IPixls nftContract = IPixls(nftAddress);

    constructor(string memory _baseURI) ERC721("Pixlton Car Club", "PXCC") {
        baseURI = _baseURI;
        devMint(0x12Ea1c7a2E93b23b5f0845DF4FeeeCd26d3b6B8d, 40);
    }
    
    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseURI = _baseURI;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return string(abi.encodePacked(baseURI, Strings.toString(_tokenId)));
    }

    function toggleClaimState() public onlyOwner {
        ClaimActive = !ClaimActive;
    }

    function togglePublicMintState() public onlyOwner {
        PublicMintActive = !PublicMintActive;
    }

    function setPublicPrice(uint256 newPrice) public onlyOwner {
        PublicTokenPrice = newPrice;
    }

    function getClaimablePixls() external view returns (uint256[] memory) {
        uint256 amount = nftContract.balanceOf(msg.sender);
        uint256[] memory lot = new uint256[](amount);
        uint16 arrayIndex = 0;

        for (uint i = 0; i < amount; i++) {
            uint256 id = nftContract.tokenOfOwnerByIndex(msg.sender, i);
            
            if(!ClaimedPixlIds[id])
            {
                lot[arrayIndex] = id;            
                arrayIndex += 1;
            }
        }

        uint256 needDec = amount - arrayIndex;
        assembly { mstore(lot, sub(mload(lot), needDec)) }
        
        return lot;
    }

    function checkIfClaimed(uint256 nftId) external view returns (bool) {
        return ClaimedPixlIds[nftId];
    }

    function getAvailableCars() external view returns (uint256) {
        return MaxTokens - CurrentTokenId.current();
    }

    function walletOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);

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

    // Private minting (Pixls holders only) - Claim for singular Pixl
    function claimWithPixl(uint256 nftId) external {
        require(ClaimActive, "Pixlton Car Club must be active to claim.");
        require(CurrentTokenId.current() + 1 <= MaxTokens, "Not enough available cars to claim.");
        require(nftContract.ownerOf(nftId) == msg.sender, "Not the owner of this Pixl.");
        require(!ClaimedPixlIds[nftId], "This Pixl has already been used.");
                
        internalMint(msg.sender, 1);
        ClaimedPixlIds[nftId] = true;
    }

    // Private minting (Pixls holders only) - Claim for specific NFTs
    function multiClaimWithPixl(uint256 [] memory nftIds) public {
        require(ClaimActive, "Pixlton Car Club must be active to claim.");
        require(nftIds.length + CurrentTokenId.current() <= MaxTokens, "Not enough available cars to claim.");

        for (uint i=0; i< nftIds.length; i++) {
            require(nftContract.ownerOf(nftIds[i]) == msg.sender, "Not the owner of this Pixl.");

            if(ClaimedPixlIds[nftIds[i]]) {
                continue;
            } else {
                internalMint(msg.sender, 1);
                ClaimedPixlIds[nftIds[i]] = true;
            }
        }
    }

    // Private minting (Pixls holders only) - Claim for all of your Pixl holdings
    function multiClaimWithAll() external {
        require(ClaimActive, "Pixlton Car Club must be active to claim.");
        uint256 balance = nftContract.balanceOf(msg.sender);
        uint256[] memory lot = new uint256[](balance);

        for (uint i = 0; i < balance; i++) {
            lot[i] = nftContract.tokenOfOwnerByIndex(msg.sender, i);
        }

        multiClaimWithPixl(lot);
    }

    // Mint a limited stack for the developer.
    function devMint(address _to, uint256 _quantity) internal {        
        internalMint(_to, _quantity);
    }

    function totalSupply() public view override returns (uint256) {
        return CurrentTokenId.current();
    }

    function mintPublic(uint256 quantity) public payable {
        require(PublicMintActive, "Minting is not open to the public!");
        require(quantity <= MAX_MINTS_TX, "Trying to mint too many at a time!");
        require(quantity + CurrentTokenId.current() <= MaxTokens, "Not enough available cars to mint.");
        require(msg.value >= PublicTokenPrice * quantity, "Not enough ether sent!");
        require(msg.sender == tx.origin, "No contracts please!");

        internalMint(msg.sender, quantity);
    }

    function internalMint(address _to, uint256 _quantity) private {
        require(_quantity <= MaxTokens && _quantity > 0, "Incorrect mint quantity");
        require(_quantity + CurrentTokenId.current() <= MaxTokens, "Cannot exceed max supply");
        
        uint256 remaining = MaxTokens - CurrentTokenId.current();
        
        for(uint256 i; i < _quantity; i++){
            
            remaining--;                    
            uint256 tokenId = CurrentTokenId.current();
            uint256 index = getRandomNumber(remaining, i * tokenId);

            _mint(_to, ((Ids[index] == 0) ? index : Ids[index]) + 1);
                 
            Ids[index] = Ids[remaining] == 0 ? remaining : Ids[remaining];
            CurrentTokenId.increment();            
        }
    }

    function getRandomNumber(uint256 maxValue, uint256 salt) private view returns(uint256) {
        if (maxValue == 0)
            return 0;
            
        uint256 seed =
			uint256(
				keccak256(
					abi.encodePacked(
							block.difficulty +	
							((uint256(keccak256(abi.encodePacked(tx.origin, msg.sig)))) / (block.timestamp)) +
							block.number +
							salt
					)
				)
			);
		return seed % maxValue;
    }
    
    function withdraw() external onlyOwner {
        uint256 totalBalance = address(this).balance;
        payable(msg.sender).transfer(totalBalance);
    }

    function _mint(address to, uint256 tokenId) internal virtual override {
        _owners[tokenId]= to;
        emit Transfer(address(0), to, tokenId);
    }
}

File 2 of 15 : IPixls.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

interface IPixls {
    function ownerOf(uint256 tokenId) external view returns (address owner);
    function balanceOf(address owner) external view returns (uint256);
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
}

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

pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

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

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

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

        uint count;
        for(uint i; i < _owners.length; i++){
            if(owner == _owners[i]){
                if(count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

File 4 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

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/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;
    
    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[5471] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) 
        public 
        view 
        virtual 
        override 
        returns (uint) 
    {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count;
        for( uint i; i < _owners.length; ++i ){
          if( owner == _owners[i] )
            ++count;
        }
        return count;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId)
        internal
        view
        virtual
        returns (bool)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 5 of 15 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 6 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 9 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

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

File 10 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ClaimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_TX","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Z","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"checkIfClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"claimWithPixl","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":[],"name":"getAvailableCars","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimablePixls","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"multiClaimWithAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"}],"name":"multiClaimWithPixl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicMintState","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052666a94d74f430000612ac555612ac6805463ffffffff191661155f179055612ac880546001600160a01b031990811673082903f4e94c5e10a2b116a4284940a36afaed63908117909255612ac9805490911690911790553480156200006857600080fd5b5060405162003a9538038062003a958339810160408190526200008b91620005fa565b604080518082018252601081526f2834bc363a37b71021b0b91021b63ab160811b6020808301918252835180850190945260048452635058434360e01b908401528151919291620000df9160009162000554565b508051620000f590600190602084019062000554565b505050620001126200010c6200015160201b60201c565b62000155565b80516200012890612ac490602084019062000554565b506200014a7312ea1c7a2e93b23b5f0845df4feeecd26d3b6b8d6028620001a8565b5062000828565b3390565b61156380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001b48282620001b8565b5050565b612ac65461ffff168111801590620001d05750600081115b620002225760405162461bcd60e51b815260206004820152601760248201527f496e636f7272656374206d696e74207175616e7469747900000000000000000060448201526064015b60405180910390fd5b612ac65461ffff166200024361156462000410602090811b6200202117901c565b6200024f9083620006d6565b11156200029f5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420657863656564206d617820737570706c790000000000000000604482015260640162000219565b6000620002b96115646200041060201b620020211760201c565b612ac654620002cd919061ffff166200072a565b905060005b828110156200040a5781620002e78162000744565b9250506000620003046115646200041060201b620020211760201c565b905060006200031f8462000319848662000708565b62000414565b90506200037b866115658361155f81106200033e576200033e620007fc565b01541562000366576115658361155f81106200035e576200035e620007fc565b015462000368565b825b62000375906001620006d6565b620004e4565b6115658461155f8110620003935762000393620007fc565b015415620003bb576115658461155f8110620003b357620003b3620007fc565b0154620003bd565b835b6115658261155f8110620003d557620003d5620007fc565b0181905550620003f26115646200054b60201b620020251760201c565b5050808062000401906200079b565b915050620002d2565b50505050565b5490565b6000826200042557506000620004de565b6040513260601b6001600160601b0319166020820152600080356001600160e01b0319166034830152908390439042906038016040516020818303038152906040528051906020012060001c6200047d9190620006f1565b620004899044620006d6565b620004959190620006d6565b620004a19190620006d6565b604051602001620004b491815260200190565b60408051601f1981840301815291905280516020909101209050620004da8482620007b9565b9150505b92915050565b8160028261155f8110620004fc57620004fc620007fc565b0180546001600160a01b0319166001600160a01b0392831617905560405182918416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b82805462000562906200075e565b90600052602060002090601f016020900481019282620005865760008555620005d1565b82601f10620005a157805160ff1916838001178555620005d1565b82800160010185558215620005d1579182015b82811115620005d1578251825591602001919060010190620005b4565b50620005df929150620005e3565b5090565b5b80821115620005df5760008155600101620005e4565b600060208083850312156200060e57600080fd5b82516001600160401b03808211156200062657600080fd5b818501915085601f8301126200063b57600080fd5b81518181111562000650576200065062000812565b604051601f8201601f19908116603f011681019083821181831017156200067b576200067b62000812565b8160405282815288868487010111156200069457600080fd5b600093505b82841015620006b8578484018601518185018701529285019262000699565b82841115620006ca5760008684830101525b98975050505050505050565b60008219821115620006ec57620006ec620007d0565b500190565b600082620007035762000703620007e6565b500490565b6000816000190483118215151615620007255762000725620007d0565b500290565b6000828210156200073f576200073f620007d0565b500390565b600081620007565762000756620007d0565b506000190190565b600181811c908216806200077357607f821691505b602082108114156200079557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620007b257620007b2620007d0565b5060010190565b600082620007cb57620007cb620007e6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61325d80620008386000396000f3fe6080604052600436106102bb5760003560e01c80636c0360eb1161016e578063c6275255116100cb578063e985e9c51161007f578063ebb176c611610064578063ebb176c614610777578063efd0cbf91461078c578063f2fde38b1461079f57600080fd5b8063e985e9c514610718578063eaba63e31461076257600080fd5b8063cd10ba77116100b0578063cd10ba77146106c2578063cd902acf146106d7578063e3e3287c146106f857600080fd5b8063c627525514610682578063c87b56dd146106a257600080fd5b80638b43e5001161012257806395d89b411161010757806395d89b411461062d578063a22cb46514610642578063b88d4fde1461066257600080fd5b80638b43e500146105f95780638da5cb5b1461060e57600080fd5b8063707bdf5811610153578063707bdf58146105a857806370a08231146105c4578063715018a6146105e457600080fd5b80636c0360eb1461056b5780636c0716a21461058057600080fd5b8063390858c11161021c5780634f6ccce7116101d057806355f804b3116101b557806355f804b31461050a5780635bf8633a1461052a5780636352211e1461054b57600080fd5b80634f6ccce7146104b9578063503eb099146104d957600080fd5b806342842e0e1161020157806342842e0e14610457578063433b804614610477578063438b63001461048c57600080fd5b8063390858c11461042d5780633ccfd60b1461044257600080fd5b80631f710736116102735780632ae8a9f8116102585780632ae8a9f8146103d45780632e1bed5c146103f65780632f745c591461040d57600080fd5b80631f7107361461039457806323b872dd146103b457600080fd5b8063081812fc116102a4578063081812fc14610317578063095ea7b31461034f57806318160ddd1461037157600080fd5b806301ffc9a7146102c057806306fdde03146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db366004612dba565b6107bf565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b5061030a610803565b6040516102ec9190612fde565b34801561032357600080fd5b50610337610332366004612e3d565b610895565b6040516001600160a01b0390911681526020016102ec565b34801561035b57600080fd5b5061036f61036a366004612ce1565b610923565b005b34801561037d57600080fd5b50610386610a55565b6040519081526020016102ec565b3480156103a057600080fd5b5061036f6103af366004612e3d565b610a66565b3480156103c057600080fd5b5061036f6103cf366004612bed565b610cbc565b3480156103e057600080fd5b50612ac6546102e0906301000000900460ff1681565b34801561040257600080fd5b50610386612ac55481565b34801561041957600080fd5b50610386610428366004612ce1565b610d43565b34801561043957600080fd5b5061030a610e75565b34801561044e57600080fd5b5061036f610e91565b34801561046357600080fd5b5061036f610472366004612bed565b610f1f565b34801561048357600080fd5b50610386610f3a565b34801561049857600080fd5b506104ac6104a7366004612b73565b610f58565b6040516102ec9190612f9a565b3480156104c557600080fd5b506103866104d4366004612e3d565b611011565b3480156104e557600080fd5b506102e06104f4366004612e3d565b6000908152612ac7602052604090205460ff1690565b34801561051657600080fd5b5061036f610525366004612df4565b61108e565b34801561053657600080fd5b50612ac854610337906001600160a01b031681565b34801561055757600080fd5b50610337610566366004612e3d565b6110fd565b34801561057757600080fd5b5061030a611194565b34801561058c57600080fd5b50610595600a81565b60405161ffff90911681526020016102ec565b3480156105b457600080fd5b50612ac6546105959061ffff1681565b3480156105d057600080fd5b506103866105df366004612b73565b611223565b3480156105f057600080fd5b5061036f6112fb565b34801561060557600080fd5b5061036f611362565b34801561061a57600080fd5b50611563546001600160a01b0316610337565b34801561063957600080fd5b5061030a6113df565b34801561064e57600080fd5b5061036f61065d366004612cae565b6113ee565b34801561066e57600080fd5b5061036f61067d366004612c2e565b6114b4565b34801561068e57600080fd5b5061036f61069d366004612e3d565b611542565b3480156106ae57600080fd5b5061030a6106bd366004612e3d565b6115a3565b3480156106ce57600080fd5b5061036f61162d565b3480156106e357600080fd5b50612ac6546102e09062010000900460ff1681565b34801561070457600080fd5b5061036f610713366004612d0d565b6116a8565b34801561072457600080fd5b506102e0610733366004612bb4565b6001600160a01b0391821660009081526115626020908152604080832093909416825291909152205460ff1690565b34801561076e57600080fd5b5061036f611931565b34801561078357600080fd5b506104ac611b2a565b61036f61079a366004612e3d565b611d01565b3480156107ab57600080fd5b5061036f6107ba366004612b73565b611f41565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107fd57506107fd8261202e565b92915050565b606060008054610812906130ed565b80601f016020809104026020016040519081016040528092919081815260200182805461083e906130ed565b801561088b5780601f106108605761010080835404028352916020019161088b565b820191906000526020600020905b81548152906001019060200180831161086e57829003601f168201915b5050505050905090565b60006108a0826120c9565b6109065760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b50600090815261156160205260409020546001600160a01b031690565b600061092e826110fd565b9050806001600160a01b0316836001600160a01b031614156109b85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b336001600160a01b03821614806109d457506109d48133610733565b610a465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fd565b610a508383612100565b505050565b6000610a616115645490565b905090565b612ac6546301000000900460ff16610ad25760405162461bcd60e51b815260206004820152602960248201527f5069786c746f6e2043617220436c7562206d75737420626520616374697665206044820152683a379031b630b4b69760b91b60648201526084016108fd565b612ac65461ffff16610ae46115645490565b610aef906001613048565b1115610b495760405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f75676820617661696c61626c65206361727320746f20636c6160448201526234b69760e91b60648201526084016108fd565b612ac9546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610ba757600080fd5b505afa158015610bbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdf9190612b97565b6001600160a01b031614610c355760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f662074686973205069786c2e000000000060448201526064016108fd565b6000818152612ac7602052604090205460ff1615610c955760405162461bcd60e51b815260206004820181905260248201527f54686973205069786c2068617320616c7265616479206265656e20757365642e60448201526064016108fd565b610ca033600161217c565b6000908152612ac760205260409020805460ff19166001179055565b610cc63382612369565b610d385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b610a50838383612454565b6000610d4e83611223565b8210610db05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108fd565b6000805b61155f811015610e185760028161155f8110610dd257610dd2613183565b01546001600160a01b0386811691161415610e065783821415610df85791506107fd9050565b81610e0281613128565b9250505b80610e1081613128565b915050610db4565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108fd565b6040518060800160405280604d81526020016131db604d913981565b611563546001600160a01b03163314610eec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b6040514790339082156108fc029083906000818181858888f19350505050158015610f1b573d6000803e3d6000fd5b5050565b610a50838383604051806020016040528060008152506114b4565b6000610f466115645490565b612ac654610a61919061ffff16613093565b60606000610f6583611223565b905080610f865760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610fa157610fa1613199565b604051908082528060200260200182016040528015610fca578160200160208202803683370190505b50905060005b82811015610f7e57610fe28582610d43565b828281518110610ff457610ff4613183565b60209081029190910101528061100981613128565b915050610fd0565b600061155f821061108a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108fd565b5090565b611563546001600160a01b031633146110e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b8051610f1b90612ac4906020840190612a8b565b60008060028361155f811061111457611114613183565b01546001600160a01b03169050806107fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108fd565b612ac480546111a2906130ed565b80601f01602080910402602001604051908101604052809291908181526020018280546111ce906130ed565b801561121b5780601f106111f05761010080835404028352916020019161121b565b820191906000526020600020905b8154815290600101906020018083116111fe57829003601f168201915b505050505081565b60006001600160a01b0382166112a15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108fd565b6000805b61155f8110156112f45760028161155f81106112c3576112c3613183565b01546001600160a01b03858116911614156112e4576112e182613128565b91505b6112ed81613128565b90506112a5565b5092915050565b611563546001600160a01b031633146113565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b61136060006125de565b565b611563546001600160a01b031633146113bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b612ac6805463ff00000019811663010000009182900460ff1615909102179055565b606060018054610812906130ed565b6001600160a01b0382163314156114475760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fd565b336000818152611562602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114be3383612369565b6115305760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b61153c8484848461263e565b50505050565b611563546001600160a01b0316331461159d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b612ac555565b60606115ae826120c9565b6115fa5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016108fd565b612ac4611606836126c7565b604051602001611617929190612eb7565b6040516020818303038152906040529050919050565b611563546001600160a01b031633146116885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b612ac6805462ff0000198116620100009182900460ff1615909102179055565b612ac6546301000000900460ff166117145760405162461bcd60e51b815260206004820152602960248201527f5069786c746f6e2043617220436c7562206d75737420626520616374697665206044820152683a379031b630b4b69760b91b60648201526084016108fd565b612ac65461ffff166117266115645490565b82516117329190613048565b111561178c5760405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f75676820617661696c61626c65206361727320746f20636c6160448201526234b69760e91b60648201526084016108fd565b60005b8151811015610f1b57612ac954825133916001600160a01b031690636352211e908590859081106117c2576117c2613183565b60200260200101516040518263ffffffff1660e01b81526004016117e891815260200190565b60206040518083038186803b15801561180057600080fd5b505afa158015611814573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118389190612b97565b6001600160a01b03161461188e5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f662074686973205069786c2e000000000060448201526064016108fd565b612ac760008383815181106118a5576118a5613183565b60209081029190910181015182528101919091526040016000205460ff16156118cd5761191f565b6118d833600161217c565b6001612ac760008484815181106118f1576118f1613183565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8061192981613128565b91505061178f565b612ac6546301000000900460ff1661199d5760405162461bcd60e51b815260206004820152602960248201527f5069786c746f6e2043617220436c7562206d75737420626520616374697665206044820152683a379031b630b4b69760b91b60648201526084016108fd565b612ac9546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156119e257600080fd5b505afa1580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190612e56565b905060008167ffffffffffffffff811115611a3757611a37613199565b604051908082528060200260200182016040528015611a60578160200160208202803683370190505b50905060005b82811015611b2057612ac954604051632f745c5960e01b8152336004820152602481018390526001600160a01b0390911690632f745c599060440160206040518083038186803b158015611ab957600080fd5b505afa158015611acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af19190612e56565b828281518110611b0357611b03613183565b602090810291909101015280611b1881613128565b915050611a66565b50610f1b816116a8565b612ac9546040516370a0823160e01b81523360048201526060916000916001600160a01b03909116906370a082319060240160206040518083038186803b158015611b7457600080fd5b505afa158015611b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bac9190612e56565b905060008167ffffffffffffffff811115611bc957611bc9613199565b604051908082528060200260200182016040528015611bf2578160200160208202803683370190505b5090506000805b83811015611ce257612ac954604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b158015611c4d57600080fd5b505afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c859190612e56565b6000818152612ac7602052604090205490915060ff16611ccf5780848461ffff1681518110611cb657611cb6613183565b6020908102919091010152611ccc600184613022565b92505b5080611cda81613128565b915050611bf9565b506000611cf361ffff831685613093565b835103835250909392505050565b612ac65462010000900460ff16611d805760405162461bcd60e51b815260206004820152602260248201527f4d696e74696e67206973206e6f74206f70656e20746f20746865207075626c6960448201527f632100000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b600a811115611df75760405162461bcd60e51b815260206004820152602260248201527f547279696e6720746f206d696e7420746f6f206d616e7920617420612074696d60448201527f652100000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b612ac65461ffff16611e096115645490565b611e139083613048565b1115611e875760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f75676820617661696c61626c65206361727320746f206d696e60448201527f742e00000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b80612ac554611e969190613074565b341015611ee55760405162461bcd60e51b815260206004820152601660248201527f4e6f7420656e6f7567682065746865722073656e74210000000000000000000060448201526064016108fd565b333214611f345760405162461bcd60e51b815260206004820152601460248201527f4e6f20636f6e74726163747320706c656173652100000000000000000000000060448201526064016108fd565b611f3e338261217c565b50565b611563546001600160a01b03163314611f9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b6001600160a01b0381166120185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108fd565b611f3e816125de565b5490565b80546001019055565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061209157506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107fd57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107fd565b600061155f821080156107fd5750600060028361155f81106120ed576120ed613183565b01546001600160a01b0316141592915050565b600081815261156160205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190612143826110fd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612ac65461ffff1681118015906121935750600081115b6121df5760405162461bcd60e51b815260206004820152601760248201527f496e636f7272656374206d696e74207175616e7469747900000000000000000060448201526064016108fd565b612ac65461ffff166121f16115645490565b6121fb9083613048565b11156122495760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420657863656564206d617820737570706c79000000000000000060448201526064016108fd565b60006122556115645490565b612ac654612267919061ffff16613093565b905060005b8281101561153c578161227e816130d6565b925050600061228d6115645490565b905060006122a48461229f8486613074565b6127f9565b90506122f4866115658361155f81106122bf576122bf613183565b0154156122e2576115658361155f81106122db576122db613183565b01546122e4565b825b6122ef906001613048565b6128b7565b6115658461155f811061230957612309613183565b01541561232c576115658461155f811061232557612325613183565b015461232e565b835b6115658261155f811061234357612343613183565b015561235461156480546001019055565b5050808061236190613128565b91505061226c565b6000612374826120c9565b6123d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fd565b60006123e0836110fd565b9050806001600160a01b0316846001600160a01b0316148061241b5750836001600160a01b031661241084610895565b6001600160a01b0316145b8061244c57506001600160a01b038082166000908152611562602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612467826110fd565b6001600160a01b0316146124e35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108fd565b6001600160a01b03821661255e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108fd565b612569600082612100565b8160028261155f811061257e5761257e613183565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03928316179055604051829184811691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a4505050565b61156380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612649848484612454565b61265584848484612928565b61153c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b60608161270757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612731578061271b81613128565b915061272a9050600a83613060565b915061270b565b60008167ffffffffffffffff81111561274c5761274c613199565b6040519080825280601f01601f191660200182016040528015612776576020820181803683370190505b5090505b841561244c5761278b600183613093565b9150612798600a86613143565b6127a3906030613048565b60f81b8183815181106127b8576127b8613183565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127f2600a86613060565b945061277a565b600082612808575060006107fd565b6040513260601b6bffffffffffffffffffffffff19166020820152600080356001600160e01b0319166034830152908390439042906038016040516020818303038152906040528051906020012060001c6128639190613060565b61286d9044613048565b6128779190613048565b6128819190613048565b60405160200161289391815260200190565b60408051601f198184030181529190528051602090910120905061244c8482613143565b8160028261155f81106128cc576128cc613183565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392831617905560405182918416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15612a8057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061296c903390899088908890600401612f5e565b602060405180830381600087803b15801561298657600080fd5b505af19250505080156129b6575060408051601f3d908101601f191682019092526129b391810190612dd7565b60015b612a66573d8080156129e4576040519150601f19603f3d011682016040523d82523d6000602084013e6129e9565b606091505b508051612a5e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061244c565b506001949350505050565b828054612a97906130ed565b90600052602060002090601f016020900481019282612ab95760008555612aff565b82601f10612ad257805160ff1916838001178555612aff565b82800160010185558215612aff579182015b82811115612aff578251825591602001919060010190612ae4565b5061108a9291505b8082111561108a5760008155600101612b07565b600067ffffffffffffffff831115612b3557612b35613199565b612b48601f8401601f1916602001612ff1565b9050828152838383011115612b5c57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612b8557600080fd5b8135612b90816131af565b9392505050565b600060208284031215612ba957600080fd5b8151612b90816131af565b60008060408385031215612bc757600080fd5b8235612bd2816131af565b91506020830135612be2816131af565b809150509250929050565b600080600060608486031215612c0257600080fd5b8335612c0d816131af565b92506020840135612c1d816131af565b929592945050506040919091013590565b60008060008060808587031215612c4457600080fd5b8435612c4f816131af565b93506020850135612c5f816131af565b925060408501359150606085013567ffffffffffffffff811115612c8257600080fd5b8501601f81018713612c9357600080fd5b612ca287823560208401612b1b565b91505092959194509250565b60008060408385031215612cc157600080fd5b8235612ccc816131af565b915060208301358015158114612be257600080fd5b60008060408385031215612cf457600080fd5b8235612cff816131af565b946020939093013593505050565b60006020808385031215612d2057600080fd5b823567ffffffffffffffff80821115612d3857600080fd5b818501915085601f830112612d4c57600080fd5b813581811115612d5e57612d5e613199565b8060051b9150612d6f848301612ff1565b8181528481019084860184860187018a1015612d8a57600080fd5b600095505b83861015612dad578035835260019590950194918601918601612d8f565b5098975050505050505050565b600060208284031215612dcc57600080fd5b8135612b90816131c4565b600060208284031215612de957600080fd5b8151612b90816131c4565b600060208284031215612e0657600080fd5b813567ffffffffffffffff811115612e1d57600080fd5b8201601f81018413612e2e57600080fd5b61244c84823560208401612b1b565b600060208284031215612e4f57600080fd5b5035919050565b600060208284031215612e6857600080fd5b5051919050565b60008151808452612e878160208601602086016130aa565b601f01601f19169290920160200192915050565b60008151612ead8185602086016130aa565b9290920192915050565b600080845481600182811c915080831680612ed357607f831692505b6020808410821415612ef357634e487b7160e01b86526022600452602486fd5b818015612f075760018114612f1857612f45565b60ff19861689528489019650612f45565b60008b81526020902060005b86811015612f3d5781548b820152908501908301612f24565b505084890196505b505050505050612f558185612e9b565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f906080830184612e6f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612fd257835183529284019291840191600101612fb6565b50909695505050505050565b602081526000612b906020830184612e6f565b604051601f8201601f1916810167ffffffffffffffff8111828210171561301a5761301a613199565b604052919050565b600061ffff80831681851680830382111561303f5761303f613157565b01949350505050565b6000821982111561305b5761305b613157565b500190565b60008261306f5761306f61316d565b500490565b600081600019048311821515161561308e5761308e613157565b500290565b6000828210156130a5576130a5613157565b500390565b60005b838110156130c55781810151838201526020016130ad565b8381111561153c5750506000910152565b6000816130e5576130e5613157565b506000190190565b600181811c9082168061310157607f821691505b6020821081141561312257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561313c5761313c613157565b5060010190565b6000826131525761315261316d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611f3e57600080fd5b6001600160e01b031981168114611f3e57600080fdfe596f75276c6c207365652074686973206f6e2074686520696e7465726e65742e20476f206f6e2c207072657373206c696b652c20616e64206d616b65206d7920636c69636b73207370696b652ea2646970667358221220fd6e7f7c457b5012b3a76ff69a4dd968b00da05e65fbbe4a641001855ffa371264736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d524739396450743442386568694131436b5a77657575634b63386366716f704c3354354243466f55654a75462f00000000000000000000

Deployed Bytecode

0x6080604052600436106102bb5760003560e01c80636c0360eb1161016e578063c6275255116100cb578063e985e9c51161007f578063ebb176c611610064578063ebb176c614610777578063efd0cbf91461078c578063f2fde38b1461079f57600080fd5b8063e985e9c514610718578063eaba63e31461076257600080fd5b8063cd10ba77116100b0578063cd10ba77146106c2578063cd902acf146106d7578063e3e3287c146106f857600080fd5b8063c627525514610682578063c87b56dd146106a257600080fd5b80638b43e5001161012257806395d89b411161010757806395d89b411461062d578063a22cb46514610642578063b88d4fde1461066257600080fd5b80638b43e500146105f95780638da5cb5b1461060e57600080fd5b8063707bdf5811610153578063707bdf58146105a857806370a08231146105c4578063715018a6146105e457600080fd5b80636c0360eb1461056b5780636c0716a21461058057600080fd5b8063390858c11161021c5780634f6ccce7116101d057806355f804b3116101b557806355f804b31461050a5780635bf8633a1461052a5780636352211e1461054b57600080fd5b80634f6ccce7146104b9578063503eb099146104d957600080fd5b806342842e0e1161020157806342842e0e14610457578063433b804614610477578063438b63001461048c57600080fd5b8063390858c11461042d5780633ccfd60b1461044257600080fd5b80631f710736116102735780632ae8a9f8116102585780632ae8a9f8146103d45780632e1bed5c146103f65780632f745c591461040d57600080fd5b80631f7107361461039457806323b872dd146103b457600080fd5b8063081812fc116102a4578063081812fc14610317578063095ea7b31461034f57806318160ddd1461037157600080fd5b806301ffc9a7146102c057806306fdde03146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db366004612dba565b6107bf565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b5061030a610803565b6040516102ec9190612fde565b34801561032357600080fd5b50610337610332366004612e3d565b610895565b6040516001600160a01b0390911681526020016102ec565b34801561035b57600080fd5b5061036f61036a366004612ce1565b610923565b005b34801561037d57600080fd5b50610386610a55565b6040519081526020016102ec565b3480156103a057600080fd5b5061036f6103af366004612e3d565b610a66565b3480156103c057600080fd5b5061036f6103cf366004612bed565b610cbc565b3480156103e057600080fd5b50612ac6546102e0906301000000900460ff1681565b34801561040257600080fd5b50610386612ac55481565b34801561041957600080fd5b50610386610428366004612ce1565b610d43565b34801561043957600080fd5b5061030a610e75565b34801561044e57600080fd5b5061036f610e91565b34801561046357600080fd5b5061036f610472366004612bed565b610f1f565b34801561048357600080fd5b50610386610f3a565b34801561049857600080fd5b506104ac6104a7366004612b73565b610f58565b6040516102ec9190612f9a565b3480156104c557600080fd5b506103866104d4366004612e3d565b611011565b3480156104e557600080fd5b506102e06104f4366004612e3d565b6000908152612ac7602052604090205460ff1690565b34801561051657600080fd5b5061036f610525366004612df4565b61108e565b34801561053657600080fd5b50612ac854610337906001600160a01b031681565b34801561055757600080fd5b50610337610566366004612e3d565b6110fd565b34801561057757600080fd5b5061030a611194565b34801561058c57600080fd5b50610595600a81565b60405161ffff90911681526020016102ec565b3480156105b457600080fd5b50612ac6546105959061ffff1681565b3480156105d057600080fd5b506103866105df366004612b73565b611223565b3480156105f057600080fd5b5061036f6112fb565b34801561060557600080fd5b5061036f611362565b34801561061a57600080fd5b50611563546001600160a01b0316610337565b34801561063957600080fd5b5061030a6113df565b34801561064e57600080fd5b5061036f61065d366004612cae565b6113ee565b34801561066e57600080fd5b5061036f61067d366004612c2e565b6114b4565b34801561068e57600080fd5b5061036f61069d366004612e3d565b611542565b3480156106ae57600080fd5b5061030a6106bd366004612e3d565b6115a3565b3480156106ce57600080fd5b5061036f61162d565b3480156106e357600080fd5b50612ac6546102e09062010000900460ff1681565b34801561070457600080fd5b5061036f610713366004612d0d565b6116a8565b34801561072457600080fd5b506102e0610733366004612bb4565b6001600160a01b0391821660009081526115626020908152604080832093909416825291909152205460ff1690565b34801561076e57600080fd5b5061036f611931565b34801561078357600080fd5b506104ac611b2a565b61036f61079a366004612e3d565b611d01565b3480156107ab57600080fd5b5061036f6107ba366004612b73565b611f41565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107fd57506107fd8261202e565b92915050565b606060008054610812906130ed565b80601f016020809104026020016040519081016040528092919081815260200182805461083e906130ed565b801561088b5780601f106108605761010080835404028352916020019161088b565b820191906000526020600020905b81548152906001019060200180831161086e57829003601f168201915b5050505050905090565b60006108a0826120c9565b6109065760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b50600090815261156160205260409020546001600160a01b031690565b600061092e826110fd565b9050806001600160a01b0316836001600160a01b031614156109b85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b336001600160a01b03821614806109d457506109d48133610733565b610a465760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fd565b610a508383612100565b505050565b6000610a616115645490565b905090565b612ac6546301000000900460ff16610ad25760405162461bcd60e51b815260206004820152602960248201527f5069786c746f6e2043617220436c7562206d75737420626520616374697665206044820152683a379031b630b4b69760b91b60648201526084016108fd565b612ac65461ffff16610ae46115645490565b610aef906001613048565b1115610b495760405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f75676820617661696c61626c65206361727320746f20636c6160448201526234b69760e91b60648201526084016108fd565b612ac9546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610ba757600080fd5b505afa158015610bbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdf9190612b97565b6001600160a01b031614610c355760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f662074686973205069786c2e000000000060448201526064016108fd565b6000818152612ac7602052604090205460ff1615610c955760405162461bcd60e51b815260206004820181905260248201527f54686973205069786c2068617320616c7265616479206265656e20757365642e60448201526064016108fd565b610ca033600161217c565b6000908152612ac760205260409020805460ff19166001179055565b610cc63382612369565b610d385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b610a50838383612454565b6000610d4e83611223565b8210610db05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108fd565b6000805b61155f811015610e185760028161155f8110610dd257610dd2613183565b01546001600160a01b0386811691161415610e065783821415610df85791506107fd9050565b81610e0281613128565b9250505b80610e1081613128565b915050610db4565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108fd565b6040518060800160405280604d81526020016131db604d913981565b611563546001600160a01b03163314610eec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b6040514790339082156108fc029083906000818181858888f19350505050158015610f1b573d6000803e3d6000fd5b5050565b610a50838383604051806020016040528060008152506114b4565b6000610f466115645490565b612ac654610a61919061ffff16613093565b60606000610f6583611223565b905080610f865760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610fa157610fa1613199565b604051908082528060200260200182016040528015610fca578160200160208202803683370190505b50905060005b82811015610f7e57610fe28582610d43565b828281518110610ff457610ff4613183565b60209081029190910101528061100981613128565b915050610fd0565b600061155f821061108a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108fd565b5090565b611563546001600160a01b031633146110e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b8051610f1b90612ac4906020840190612a8b565b60008060028361155f811061111457611114613183565b01546001600160a01b03169050806107fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108fd565b612ac480546111a2906130ed565b80601f01602080910402602001604051908101604052809291908181526020018280546111ce906130ed565b801561121b5780601f106111f05761010080835404028352916020019161121b565b820191906000526020600020905b8154815290600101906020018083116111fe57829003601f168201915b505050505081565b60006001600160a01b0382166112a15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108fd565b6000805b61155f8110156112f45760028161155f81106112c3576112c3613183565b01546001600160a01b03858116911614156112e4576112e182613128565b91505b6112ed81613128565b90506112a5565b5092915050565b611563546001600160a01b031633146113565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b61136060006125de565b565b611563546001600160a01b031633146113bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b612ac6805463ff00000019811663010000009182900460ff1615909102179055565b606060018054610812906130ed565b6001600160a01b0382163314156114475760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fd565b336000818152611562602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114be3383612369565b6115305760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108fd565b61153c8484848461263e565b50505050565b611563546001600160a01b0316331461159d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b612ac555565b60606115ae826120c9565b6115fa5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016108fd565b612ac4611606836126c7565b604051602001611617929190612eb7565b6040516020818303038152906040529050919050565b611563546001600160a01b031633146116885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b612ac6805462ff0000198116620100009182900460ff1615909102179055565b612ac6546301000000900460ff166117145760405162461bcd60e51b815260206004820152602960248201527f5069786c746f6e2043617220436c7562206d75737420626520616374697665206044820152683a379031b630b4b69760b91b60648201526084016108fd565b612ac65461ffff166117266115645490565b82516117329190613048565b111561178c5760405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f75676820617661696c61626c65206361727320746f20636c6160448201526234b69760e91b60648201526084016108fd565b60005b8151811015610f1b57612ac954825133916001600160a01b031690636352211e908590859081106117c2576117c2613183565b60200260200101516040518263ffffffff1660e01b81526004016117e891815260200190565b60206040518083038186803b15801561180057600080fd5b505afa158015611814573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118389190612b97565b6001600160a01b03161461188e5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f662074686973205069786c2e000000000060448201526064016108fd565b612ac760008383815181106118a5576118a5613183565b60209081029190910181015182528101919091526040016000205460ff16156118cd5761191f565b6118d833600161217c565b6001612ac760008484815181106118f1576118f1613183565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8061192981613128565b91505061178f565b612ac6546301000000900460ff1661199d5760405162461bcd60e51b815260206004820152602960248201527f5069786c746f6e2043617220436c7562206d75737420626520616374697665206044820152683a379031b630b4b69760b91b60648201526084016108fd565b612ac9546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156119e257600080fd5b505afa1580156119f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1a9190612e56565b905060008167ffffffffffffffff811115611a3757611a37613199565b604051908082528060200260200182016040528015611a60578160200160208202803683370190505b50905060005b82811015611b2057612ac954604051632f745c5960e01b8152336004820152602481018390526001600160a01b0390911690632f745c599060440160206040518083038186803b158015611ab957600080fd5b505afa158015611acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af19190612e56565b828281518110611b0357611b03613183565b602090810291909101015280611b1881613128565b915050611a66565b50610f1b816116a8565b612ac9546040516370a0823160e01b81523360048201526060916000916001600160a01b03909116906370a082319060240160206040518083038186803b158015611b7457600080fd5b505afa158015611b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bac9190612e56565b905060008167ffffffffffffffff811115611bc957611bc9613199565b604051908082528060200260200182016040528015611bf2578160200160208202803683370190505b5090506000805b83811015611ce257612ac954604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b158015611c4d57600080fd5b505afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c859190612e56565b6000818152612ac7602052604090205490915060ff16611ccf5780848461ffff1681518110611cb657611cb6613183565b6020908102919091010152611ccc600184613022565b92505b5080611cda81613128565b915050611bf9565b506000611cf361ffff831685613093565b835103835250909392505050565b612ac65462010000900460ff16611d805760405162461bcd60e51b815260206004820152602260248201527f4d696e74696e67206973206e6f74206f70656e20746f20746865207075626c6960448201527f632100000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b600a811115611df75760405162461bcd60e51b815260206004820152602260248201527f547279696e6720746f206d696e7420746f6f206d616e7920617420612074696d60448201527f652100000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b612ac65461ffff16611e096115645490565b611e139083613048565b1115611e875760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f75676820617661696c61626c65206361727320746f206d696e60448201527f742e00000000000000000000000000000000000000000000000000000000000060648201526084016108fd565b80612ac554611e969190613074565b341015611ee55760405162461bcd60e51b815260206004820152601660248201527f4e6f7420656e6f7567682065746865722073656e74210000000000000000000060448201526064016108fd565b333214611f345760405162461bcd60e51b815260206004820152601460248201527f4e6f20636f6e74726163747320706c656173652100000000000000000000000060448201526064016108fd565b611f3e338261217c565b50565b611563546001600160a01b03163314611f9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fd565b6001600160a01b0381166120185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108fd565b611f3e816125de565b5490565b80546001019055565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061209157506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107fd57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146107fd565b600061155f821080156107fd5750600060028361155f81106120ed576120ed613183565b01546001600160a01b0316141592915050565b600081815261156160205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190612143826110fd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612ac65461ffff1681118015906121935750600081115b6121df5760405162461bcd60e51b815260206004820152601760248201527f496e636f7272656374206d696e74207175616e7469747900000000000000000060448201526064016108fd565b612ac65461ffff166121f16115645490565b6121fb9083613048565b11156122495760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420657863656564206d617820737570706c79000000000000000060448201526064016108fd565b60006122556115645490565b612ac654612267919061ffff16613093565b905060005b8281101561153c578161227e816130d6565b925050600061228d6115645490565b905060006122a48461229f8486613074565b6127f9565b90506122f4866115658361155f81106122bf576122bf613183565b0154156122e2576115658361155f81106122db576122db613183565b01546122e4565b825b6122ef906001613048565b6128b7565b6115658461155f811061230957612309613183565b01541561232c576115658461155f811061232557612325613183565b015461232e565b835b6115658261155f811061234357612343613183565b015561235461156480546001019055565b5050808061236190613128565b91505061226c565b6000612374826120c9565b6123d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fd565b60006123e0836110fd565b9050806001600160a01b0316846001600160a01b0316148061241b5750836001600160a01b031661241084610895565b6001600160a01b0316145b8061244c57506001600160a01b038082166000908152611562602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612467826110fd565b6001600160a01b0316146124e35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108fd565b6001600160a01b03821661255e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108fd565b612569600082612100565b8160028261155f811061257e5761257e613183565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03928316179055604051829184811691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a4505050565b61156380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612649848484612454565b61265584848484612928565b61153c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b60608161270757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612731578061271b81613128565b915061272a9050600a83613060565b915061270b565b60008167ffffffffffffffff81111561274c5761274c613199565b6040519080825280601f01601f191660200182016040528015612776576020820181803683370190505b5090505b841561244c5761278b600183613093565b9150612798600a86613143565b6127a3906030613048565b60f81b8183815181106127b8576127b8613183565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127f2600a86613060565b945061277a565b600082612808575060006107fd565b6040513260601b6bffffffffffffffffffffffff19166020820152600080356001600160e01b0319166034830152908390439042906038016040516020818303038152906040528051906020012060001c6128639190613060565b61286d9044613048565b6128779190613048565b6128819190613048565b60405160200161289391815260200190565b60408051601f198184030181529190528051602090910120905061244c8482613143565b8160028261155f81106128cc576128cc613183565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392831617905560405182918416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15612a8057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061296c903390899088908890600401612f5e565b602060405180830381600087803b15801561298657600080fd5b505af19250505080156129b6575060408051601f3d908101601f191682019092526129b391810190612dd7565b60015b612a66573d8080156129e4576040519150601f19603f3d011682016040523d82523d6000602084013e6129e9565b606091505b508051612a5e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108fd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061244c565b506001949350505050565b828054612a97906130ed565b90600052602060002090601f016020900481019282612ab95760008555612aff565b82601f10612ad257805160ff1916838001178555612aff565b82800160010185558215612aff579182015b82811115612aff578251825591602001919060010190612ae4565b5061108a9291505b8082111561108a5760008155600101612b07565b600067ffffffffffffffff831115612b3557612b35613199565b612b48601f8401601f1916602001612ff1565b9050828152838383011115612b5c57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612b8557600080fd5b8135612b90816131af565b9392505050565b600060208284031215612ba957600080fd5b8151612b90816131af565b60008060408385031215612bc757600080fd5b8235612bd2816131af565b91506020830135612be2816131af565b809150509250929050565b600080600060608486031215612c0257600080fd5b8335612c0d816131af565b92506020840135612c1d816131af565b929592945050506040919091013590565b60008060008060808587031215612c4457600080fd5b8435612c4f816131af565b93506020850135612c5f816131af565b925060408501359150606085013567ffffffffffffffff811115612c8257600080fd5b8501601f81018713612c9357600080fd5b612ca287823560208401612b1b565b91505092959194509250565b60008060408385031215612cc157600080fd5b8235612ccc816131af565b915060208301358015158114612be257600080fd5b60008060408385031215612cf457600080fd5b8235612cff816131af565b946020939093013593505050565b60006020808385031215612d2057600080fd5b823567ffffffffffffffff80821115612d3857600080fd5b818501915085601f830112612d4c57600080fd5b813581811115612d5e57612d5e613199565b8060051b9150612d6f848301612ff1565b8181528481019084860184860187018a1015612d8a57600080fd5b600095505b83861015612dad578035835260019590950194918601918601612d8f565b5098975050505050505050565b600060208284031215612dcc57600080fd5b8135612b90816131c4565b600060208284031215612de957600080fd5b8151612b90816131c4565b600060208284031215612e0657600080fd5b813567ffffffffffffffff811115612e1d57600080fd5b8201601f81018413612e2e57600080fd5b61244c84823560208401612b1b565b600060208284031215612e4f57600080fd5b5035919050565b600060208284031215612e6857600080fd5b5051919050565b60008151808452612e878160208601602086016130aa565b601f01601f19169290920160200192915050565b60008151612ead8185602086016130aa565b9290920192915050565b600080845481600182811c915080831680612ed357607f831692505b6020808410821415612ef357634e487b7160e01b86526022600452602486fd5b818015612f075760018114612f1857612f45565b60ff19861689528489019650612f45565b60008b81526020902060005b86811015612f3d5781548b820152908501908301612f24565b505084890196505b505050505050612f558185612e9b565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f906080830184612e6f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612fd257835183529284019291840191600101612fb6565b50909695505050505050565b602081526000612b906020830184612e6f565b604051601f8201601f1916810167ffffffffffffffff8111828210171561301a5761301a613199565b604052919050565b600061ffff80831681851680830382111561303f5761303f613157565b01949350505050565b6000821982111561305b5761305b613157565b500190565b60008261306f5761306f61316d565b500490565b600081600019048311821515161561308e5761308e613157565b500290565b6000828210156130a5576130a5613157565b500390565b60005b838110156130c55781810151838201526020016130ad565b8381111561153c5750506000910152565b6000816130e5576130e5613157565b506000190190565b600181811c9082168061310157607f821691505b6020821081141561312257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561313c5761313c613157565b5060010190565b6000826131525761315261316d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611f3e57600080fd5b6001600160e01b031981168114611f3e57600080fdfe596f75276c6c207365652074686973206f6e2074686520696e7465726e65742e20476f206f6e2c207072657373206c696b652c20616e64206d616b65206d7920636c69636b73207370696b652ea2646970667358221220fd6e7f7c457b5012b3a76ff69a4dd968b00da05e65fbbe4a641001855ffa371264736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d524739396450743442386568694131436b5a77657575634b63386366716f704c3354354243466f55654a75462f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmRG99dPt4B8ehiA1CkZweuucKc8cfqopL3T5BCFoUeJuF/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d524739396450743442386568694131436b5a7765757563
Arg [3] : 4b63386366716f704c3354354243466f55654a75462f00000000000000000000


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.