ETH Price: $3,326.12 (-4.16%)

Token

Based Pixels (PIXELS)
 

Overview

Max Total Supply

1,750 PIXELS

Holders

124

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 PIXELS
0x68d2b579b842cdb29f25f15591bb0a00f43c4b11
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
BasedPixels

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : BasedPixels.sol
// SPDX-License-Identifier: Unlicense
// Creator: 0xBasedPixel; Based Pixel Labs/Yeety Labs; 1 yeet = 1 yeet
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./ERC721.sol";
import "./PixelURIParser.sol";


/*
     ___              ___   ____   ___
     |  \     /\     /      |      |  \
     |__/    /  \    \__    |___   |   \
     |  \   /____\      \   |      |   /
     |__/  /      \  ___/   |___   |__/
*/
// Pixel is based. No scarcity mentality nonsense - infinite mint!
// Get 10 pixel grids at a time for 0.003 ETH per pack. A CC0 Collection.


contract BasedPixels is ERC721, Ownable {
    uint256 public mintPrice;

    address public immutable currency;
    address immutable wrappedNativeCoinAddress;

    address public immutable hexCharsAddress;
    address public immutable pixelURIParserAddress;

    address private signerAddress;
    bool public paused;

    // Mapping from batch numbers to random roots ("r" array/map)
    mapping(uint256 => uint256) public _randomRoots;

    // Mapping from batch numbers to image "slices" ("s" array/map)
    mapping(uint256 => uint256) public _slices;

    // Track whether randomness has been seeded
    bool public isSeeded = false;

    // Contains the external_link attribute for contract metadata
    string private externalLink = "https://twitter.com/0xBasedPixel";

    // Contract royalties address
    string public royaltyAddr = "0xDd2654FAB462cbD1DB945739b81359662e2D333e";

    string private collecImg = "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='100%25' height='100%25' viewBox='0 0 16 16'><path d='M0,0L16,0,16,16,0,16' fill='black'/><path d='M3,3L3,8,6,8,6,3M4,4L7,4,7,5,4,5M4,6L7,6L7,7L4,7M9,8L9,13,10,13,10,11,12,11,12,8M10,9L13,9,13,10,10,10' fill='white'/></svg>";

    string public CC0LicenseHTML = "<p xmlns:dct='http://purl.org/dc/terms/' xmlns:vcard='http://www.w3.org/2001/vcard-rdf/3.0#'><a rel='license' href='http://creativecommons.org/publicdomain/zero/1.0/'><img src='http://i.creativecommons.org/p/zero/1.0/88x31.png' style='border-style: none;' alt='CC0' /></a><br />To the extent possible under law,<a rel='dct:publisher' href='https://twitter.com/0xBasedPixel'><span property='dct:title'>Tomislav Zabcic-Matic, a.k.a. Yeeticasso, a.k.a. 0xBasedPixel</span></a>has waived all copyright and related or neighboring rights to<span property='dct:title'>Based Pixels</span>. This work is published from:<span property='vcard:Country' datatype='dct:ISO3166' content='US' about='https://twitter.com/0xBasedPixel'>United States</span>.</p>";

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _mintPrice,
        uint256 _maxAllowedMints,
        address _currency,
        address _wrappedNativeCoinAddress,
        address _hexCharsAddress,
        address _pixelURIParserAddress
    ) ERC721(_name, _symbol, _maxAllowedMints*10) {
        mintPrice = _mintPrice;
        currency = _currency;
        wrappedNativeCoinAddress = _wrappedNativeCoinAddress;
        hexCharsAddress = _hexCharsAddress;
        pixelURIParserAddress = _pixelURIParserAddress;
    }

    function randomNumber(uint256 _lookback, uint256 _nonce) private view returns (uint256) {
        uint256 lbHash = uint256(keccak256(abi.encodePacked(blockhash(block.number - _lookback), block.timestamp, block.gaslimit, _nonce)));
        return uint256(keccak256(abi.encodePacked(blockhash(block.number - (lbHash%256 + 1)), block.timestamp, block.gaslimit, (lbHash<<8)>>17)));
    }

    function seedRandomness() public onlyOwner {
        require(!isSeeded, "randomness already seeded");
        for (uint256 i = 0; i < 16; i++) {
            _randomRoots[i] = randomNumber(i+1, i);
        }
        for (uint256 i = 0; i < 17; i++) {
            _slices[i] = randomNumber(i+1, i*10);
        }
        isSeeded = true;
    }

    function flipPaused() external onlyOwner {
        paused = !paused;
    }

    function setExternalLink(string memory _link) public onlyOwner {
        externalLink = _link;
    }

    function setRoyaltyAddr(string memory _addr) public onlyOwner {
        royaltyAddr = _addr;
    }

    function mint(uint amount) public payable {
        require(!paused, "mint is paused");
        require(isSeeded, "randomness not yet seeded");

        if (currency == wrappedNativeCoinAddress) {
            if (address(msg.sender) != owner()) {
                require(amount*mintPrice <= msg.value, "a");
            }
        } else {
            IERC20 _currency = IERC20(currency);
            _currency.transferFrom(msg.sender, address(this), amount * mintPrice);
        }

        for (uint i = 0; i < amount; i++) {
            _randomRoots[(currentIndex/10)+16+i] = randomNumber((_randomRoots[(currentIndex/15)+13])%256, (currentIndex/10)+i);
            _slices[(currentIndex/10)+17+i] = randomNumber((_randomRoots[(currentIndex/10)+16])%256, (currentIndex/10)+i);
        }
        _safeMint(address(0), msg.sender, amount*10);
    }

    function giftMint(uint amount, address receiver) public payable {
        require(!paused, "mint is paused");
        require(isSeeded, "randomness not yet seeded");

        if (currency == wrappedNativeCoinAddress) {
            if (address(msg.sender) != owner()) {
                require(amount*mintPrice <= msg.value, "a");
            }
        } else {
            IERC20 _currency = IERC20(currency);
            _currency.transferFrom(msg.sender, address(this), amount * mintPrice);
        }

        for (uint i = 0; i < amount; i++) {
            _randomRoots[(currentIndex/10)+16+i] = randomNumber((_randomRoots[(currentIndex/15)+13])%256, (currentIndex/10)+i);
            _slices[(currentIndex/10)+17+i] = randomNumber((_randomRoots[(currentIndex/10)+16])%256, (currentIndex/10)+i);
        }
        _safeMint(msg.sender, receiver, amount*10);
    }

    function getSlices(uint256 tokenId) public view returns (uint256[12] memory) {
        require(_exists(tokenId), "z");

        uint256 mintBatchRootID = (tokenId - (tokenId%10))/10;

        uint256[] memory slices = new uint256[](48);

        for (uint i = 0; i < 12; i++) {
            for (uint j = 0; j < 4; j++) {
                slices[i+(j*12)] = (_randomRoots[mintBatchRootID+(tokenId%10)+j]^_slices[mintBatchRootID+i+j])^(_randomRoots[mintBatchRootID+10+j]^_slices[mintBatchRootID+12+j]);
            }

            if ((_slices[mintBatchRootID+16]>>((tokenId%10)*25))%3 == 0) {
                slices[i] = slices[i]^slices[i+12];
            }
            else if ((_slices[mintBatchRootID+16]>>((tokenId%10)*25))%3 == 1) {
                slices[i] = slices[i]&slices[i+12];
            }
            else {
                slices[i] = slices[i]|slices[i+12];
            }

            if ((_randomRoots[mintBatchRootID+14]>>((tokenId%10)*25))%3 == 0) {
                slices[i] = slices[i]^slices[i+24];
            }
            else if ((_randomRoots[mintBatchRootID+14]>>((tokenId%10)*25))%3 == 1) {
                slices[i] = slices[i]&slices[i+24];
            }
            else {
                slices[i] = slices[i]|slices[i+24];
            }

            if ((_randomRoots[mintBatchRootID+15]>>((tokenId%10)*25))%3 == 0) {
                slices[i] = slices[i]^slices[i+36];
            }
            else if ((_randomRoots[mintBatchRootID+15]>>((tokenId%10)*25))%3 == 1) {
                slices[i] = slices[i]&slices[i+36];
            }
            else {
                slices[i] = slices[i]|slices[i+36];
            }
        }

        return [slices[0], slices[1], slices[2], slices[3], slices[4], slices[5], slices[6], slices[7], slices[8], slices[9], slices[10], slices[11]];
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "z");

        uint256[12] memory slices = getSlices(tokenId);

        return (PixelURIParser.getPixelURI(slices, tokenId));
    }

    function contractURI() public view returns (string memory) {
        return string(
            abi.encodePacked(
                "data:application/json;utf8,{\"name\":\"Based Pixels\",",
                "\"description\":\"A collection of randomly generated 16x16 pixel ",
                "grids, created with fully on-chain pseudorandomness. Infinite mint. ",
                "Pixels mint in packs of 10 per mint. Each pack costs 0.003 ETH.",
                "Find your favorite pixel design. Happy hunting! This is a CC0 project.\",",
                "\"image\":\"data:image/svg+xml;utf8,", collecImg, "\",",
                "\"external_link\":\"", externalLink, "\",",
                "\"seller_fee_basis_points\":100,\"fee_recipient\":\"", royaltyAddr, "\"}"
            )
        );
    }

    receive() external payable {
        mint(msg.value / mintPrice);
    }

    function withdraw() external onlyOwner() {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawTokens(address tokenAddress) external onlyOwner() {
        IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this)));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 4 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 public currentIndex = 0;

    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    /**
     * @dev
     * `maxBatchSize` refers to how much a minter can mint at a time.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_
    ) {
        require(maxBatchSize_ > 0, "b");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), "g");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), "b");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("u");
    }

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), "0");
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), "t");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

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

        revert("o");
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {}

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "a"
        );

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "a");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), "a");

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "z"
        );
    }

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

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address from,
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "0");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "a");
        require(quantity <= maxBatchSize, "m");

        if (from != address(0)) {
            _beforeTokenTransfers(address(0), from, startTokenId, quantity);
        }
        if (from != to) {
            _beforeTokenTransfers(from, to, startTokenId, quantity);
        }

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            if (from != address(0)) {
                emit Transfer(address(0), from, updatedIndex);
            }
            if (from != to) {
                emit Transfer(from, to, updatedIndex);
            }
            require(
                _checkOnERC721Received(address(0), from, updatedIndex, _data) && _checkOnERC721Received(from, to, updatedIndex, _data),
                "z"
            );
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        if (from != address(0)) {
            _afterTokenTransfers(address(0), from, startTokenId, quantity);
        }
        if (from != to) {
            _afterTokenTransfers(from, to, startTokenId, quantity);
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        require(isApprovedOrOwner, "a");

        require(prevOwnership.addr == from, "o");
        require(to != address(0), "0");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp);
            }
        }

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

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
     */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "q");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > currentIndex - 1) {
            endIndex = currentIndex - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "n");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(ownership.addr, ownership.startTimestamp);
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

File 5 of 15 : PixelURIParser.sol
// SPDX-License-Identifier: Unlicense
// Creator: 0xBasedPixel; Based Pixel Labs/Yeety Labs; 1 yeet = 1 yeet
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Strings.sol";
import "./HexChars.sol";

library PixelURIParser {
    string private constant startStr = "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='100%25' height='100%25' viewBox='0 0 16 16'>";
    string private constant endStr = "</svg>";
    uint256 private constant rectStart = 27340891238026048097263813569089141950244693325490254729102276207101788291072;
    uint256 private constant heightNum = 14658463167467038245011812029062285656083636211927847345906851957315119087616;
    uint256 private constant inner1 = 57183955277861053027410940421065042940111934717952;
    uint256 private constant inner2 = 793586231870635386738538214064128;

    function getPixelURI(uint256[12] memory slices, uint256 tokenId) public pure returns (string memory) {
        bytes32[] memory rectComponents = new bytes32[](512);

        uint256 uniqueColors = 0;
        uint256[16] memory colorTracker = [uint256(0), uint256(0),uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0), uint256(0)];
        uint256 rTotal = 0;
        uint256 gTotal = 0;
        uint256 bTotal = 0;
        uint256 brightnessSum = 0;

        for (uint256 i = 0; i < 4; i++) {
            for (uint256 j = 0; j < 64; j++) {
                uint256 hcR = slices[i*3];
                hcR = (hcR>>(j*4))%16;
                uint256 hcG = slices[i*3+1];
                hcG = (hcG>>(j*4))%16;
                uint256 hcB = slices[i*3+2];
                hcB = (hcB>>(j*4))%16;

                uint256 strNum1 = rectStart+((48 + ((((i*64 + j)%16) - (((i*64 + j)%16)%10))/10))<<176)+((48 + (((i*64 + j)%16)%10))<<168)+inner1;
                strNum1 = strNum1+((48 + ((((i*64 + j)>>4) - (((i*64 + j)>>4)%10))/10))<<120)+((48 + (((i*64 + j)>>4)%10))<<112)+inner2;
                uint256 strNum2 = heightNum+((HexChars.getHex(hcR))<<80);
                strNum2 = strNum2+((HexChars.getHex(hcG))<<72);
                strNum2 = strNum2+((HexChars.getHex(hcB))<<64)+2823543661105512448; //+(39<<56)+(47<<48)+(62<<40)
                rectComponents[(i*64 + j)*2] = bytes32(strNum1);
                rectComponents[(i*64 + j)*2 + 1] = bytes32(strNum2);

                if (((colorTracker[hcR])>>(hcG*16+hcB))%2 == 0) {
                    uniqueColors += 1;
                    colorTracker[hcR] += (uint256(1)<<(hcG*16+hcB));
                }
                rTotal += hcR;
                gTotal += hcG;
                bTotal += hcB;
                brightnessSum += (2126*hcR + 7152*hcG + 722*hcB);
            }
        }

        if ((rTotal+gTotal+bTotal) == 0) {
            rTotal = 1;
            gTotal = 1;
            bTotal = 1;
        }
        uint256 rDom = (rTotal*10000)/(rTotal+gTotal+bTotal);
        uint256 gDom = (gTotal*10000)/(rTotal+gTotal+bTotal);
        uint256 bDom = (bTotal*10000)/(rTotal+gTotal+bTotal);

        string memory brightnessStr;
        if ((brightnessSum/4096) == 10000) {
            brightnessStr = "1";
        }
        else if ((brightnessSum/4096) >= 1000) {
            brightnessStr = string(abi.encodePacked("0.",Strings.toString(brightnessSum/4096)));
        }
        else if ((brightnessSum/4096) >= 100) {
            brightnessStr = string(abi.encodePacked("0.0",Strings.toString(brightnessSum/4096)));
        }
        else if ((brightnessSum/4096) >= 10) {
            brightnessStr = string(abi.encodePacked("0.00",Strings.toString(brightnessSum/4096)));
        }
        else if ((brightnessSum/4096) >= 1) {
            brightnessStr = string(abi.encodePacked("0.000",Strings.toString(brightnessSum/4096)));
        }
        else {
            brightnessStr = "0";
        }

        return string(
            abi.encodePacked(
                "data:application/json;utf8,","{\"name\":\"Token: ",
                Strings.toString(tokenId),"\",\"description\":\"Based Pixels #",
                Strings.toString(tokenId),"\",\"image\":\"data:image/svg+xml;utf8,",
                startStr,rectComponents,endStr,"\",\"attributes\":",
                "[{\"trait_type\":\"Unique Colors\",\"value\":",
                Strings.toString(uniqueColors),"},{\"trait_type\":\"Red Dominance\",",
                "\"value\":0.",Strings.toString(rDom),"},",
                "{\"trait_type\":\"Green Dominance\",\"value\":0.",
                Strings.toString(gDom),"},{\"trait_type\":",
                "\"Blue Dominance\",\"value\":0.",Strings.toString(bDom),"},",
                "{\"trait_type\":\"Average Brightness\",\"value\":",brightnessStr,"}]}"));
    }
}

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

pragma solidity ^0.8.0;

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

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

File 7 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 8 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 15 of 15 : HexChars.sol
// SPDX-License-Identifier: Unlicense
// Creator: 0xBasedPixel; Based Pixel Labs/Yeety Labs; 1 yeet = 1 yeet
pragma solidity ^0.8.0;

library HexChars {
    function getHex(uint _index) public pure returns (uint256) {
        uint256[16] memory hexChars = [
        uint256(48), uint256(49),
        uint256(50), uint256(51),
        uint256(52), uint256(53),
        uint256(54), uint256(55),
        uint256(56), uint256(57),
        uint256(65), uint256(66),
        uint256(67), uint256(68),
        uint256(69), uint256(70)
        ];

        return hexChars[_index];
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxAllowedMints","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"address","name":"_wrappedNativeCoinAddress","type":"address"},{"internalType":"address","name":"_hexCharsAddress","type":"address"},{"internalType":"address","name":"_pixelURIParserAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"CC0LicenseHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_randomRoots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_slices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSlices","outputs":[{"internalType":"uint256[12]","name":"","type":"uint256[12]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"giftMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"hexCharsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSeeded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pixelURIParserAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddr","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seedRandomness","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":"_link","type":"string"}],"name":"setExternalLink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_addr","type":"string"}],"name":"setRoyaltyAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101206040526000805560006007556000600d60006101000a81548160ff0219169083151502179055506040518060400160405280602081526020017f68747470733a2f2f747769747465722e636f6d2f30784261736564506978656c815250600e908051906020019062000076929190620003ba565b506040518060600160405280602a815260200162006b0e602a9139600f9080519060200190620000a8929190620003ba565b506040518061016001604052806101388152602001620066ef610138913960109080519060200190620000dd929190620003ba565b506040518061032001604052806102e78152602001620068276102e791396011908051906020019062000112929190620003ba565b503480156200012057600080fd5b5060405162006b3838038062006b38833981810160405281019062000146919062000516565b8787600a87620001579190620006d6565b600081116200019d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001949062000644565b60405180910390fd5b8260019080519060200190620001b5929190620003ba565b508160029080519060200190620001ce929190620003ba565b508060808181525050505050620001fa620001ee620002ec60201b60201c565b620002f460201b60201c565b856009819055508373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508273ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508173ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505050505050505062000926565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003c890620007ab565b90600052602060002090601f016020900481019282620003ec576000855562000438565b82601f106200040757805160ff191683800117855562000438565b8280016001018555821562000438579182015b82811115620004375782518255916020019190600101906200041a565b5b5090506200044791906200044b565b5090565b5b80821115620004665760008160009055506001016200044c565b5090565b6000620004816200047b846200068f565b62000666565b905082815260208101848484011115620004a0576200049f620008a9565b5b620004ad84828562000775565b509392505050565b600081519050620004c681620008f2565b92915050565b600082601f830112620004e457620004e3620008a4565b5b8151620004f68482602086016200046a565b91505092915050565b60008151905062000510816200090c565b92915050565b600080600080600080600080610100898b0312156200053a5762000539620008b3565b5b600089015167ffffffffffffffff8111156200055b576200055a620008ae565b5b620005698b828c01620004cc565b985050602089015167ffffffffffffffff8111156200058d576200058c620008ae565b5b6200059b8b828c01620004cc565b9750506040620005ae8b828c01620004ff565b9650506060620005c18b828c01620004ff565b9550506080620005d48b828c01620004b5565b94505060a0620005e78b828c01620004b5565b93505060c0620005fa8b828c01620004b5565b92505060e06200060d8b828c01620004b5565b9150509295985092959890939650565b60006200062c600183620006c5565b91506200063982620008c9565b602082019050919050565b600060208201905081810360008301526200065f816200061d565b9050919050565b60006200067262000685565b9050620006808282620007e1565b919050565b6000604051905090565b600067ffffffffffffffff821115620006ad57620006ac62000875565b5b620006b882620008b8565b9050602081019050919050565b600082825260208201905092915050565b6000620006e3826200076b565b9150620006f0836200076b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200072c576200072b62000817565b5b828202905092915050565b600062000744826200074b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200079557808201518184015260208101905062000778565b83811115620007a5576000848401525b50505050565b60006002820490506001821680620007c457607f821691505b60208210811415620007db57620007da62000846565b5b50919050565b620007ec82620008b8565b810181811067ffffffffffffffff821117156200080e576200080d62000875565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b620008fd8162000737565b81146200090957600080fd5b50565b62000917816200076b565b81146200092357600080fd5b50565b60805160a05160601c60c05160601c60e05160601c6101005160601c615d47620009a86000396000611f420152600061191e015260008181610a360152611b7c015260008181610a6d01528181610b3c01528181611bb301528181611c8201526123c50152600081816136c1015281816136ea0152613b8e0152615d476000f3fe60806040526004361061024a5760003560e01c80636352211e11610139578063a22cb465116100b6578063e5a6b10f1161007a578063e5a6b10f1461085f578063e8a3d4851461088a578063e985e9c5146108b5578063f2fde38b146108f2578063fa8814dc1461091b578063fef9c2141461095857610267565b8063a22cb4651461078e578063b88d4fde146107b7578063c87b56dd146107e0578063cc594f331461081d578063d7224ba01461083457610267565b80638da5cb5b116100fd5780638da5cb5b146106d55780638f566abb1461070057806395d89b411461071c5780639fac330814610747578063a0712d681461077257610267565b80636352211e146105ee5780636817c76c1461062b5780636fe870d31461065657806370a0823114610681578063715018a6146106be57610267565b80632f745c59116101c7578063434ecf001161018b578063434ecf00146104f757806349df728c146105345780634f6ccce71461055d5780635c975abb1461059a5780635ecc4eb2146105c557610267565b80632f745c59146104385780633009c08314610475578063333171bb146104a05780633ccfd60b146104b757806342842e0e146104ce57610267565b80630ffe54271161020e5780630ffe54271461036557806318160ddd146103905780631f917921146103bb57806323b872dd146103e457806326987b601461040d57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063085b4e2b14610311578063095ea7b31461033c57610267565b3661026757610265600954346102609190615367565b610995565b005b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190614671565b610d68565b6040516102a09190614f9c565b60405180910390f35b3480156102b557600080fd5b506102be610eb2565b6040516102cb9190614fb7565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f6919061475d565b610f44565b6040516103089190614e8e565b60405180910390f35b34801561031d57600080fd5b50610326610fc9565b6040516103339190614fb7565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190614604565b611057565b005b34801561037157600080fd5b5061037a611170565b6040516103879190614f9c565b60405180910390f35b34801561039c57600080fd5b506103a5611183565b6040516103b29190615199565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd91906146cb565b61118c565b005b3480156103f057600080fd5b5061040b600480360381019061040691906144ee565b611222565b005b34801561041957600080fd5b50610422611232565b60405161042f9190615199565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190614604565b611238565b60405161046c9190615199565b60405180910390f35b34801561048157600080fd5b5061048a611436565b6040516104979190614fb7565b60405180910390f35b3480156104ac57600080fd5b506104b56114c4565b005b3480156104c357600080fd5b506104cc61156c565b005b3480156104da57600080fd5b506104f560048036038101906104f091906144ee565b611637565b005b34801561050357600080fd5b5061051e6004803603810190610519919061475d565b611657565b60405161052b9190615199565b60405180910390f35b34801561054057600080fd5b5061055b60048036038101906105569190614481565b61166f565b005b34801561056957600080fd5b50610584600480360381019061057f919061475d565b611804565b6040516105919190615199565b60405180910390f35b3480156105a657600080fd5b506105af611857565b6040516105bc9190614f9c565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e791906146cb565b61186a565b005b3480156105fa57600080fd5b506106156004803603810190610610919061475d565b611900565b6040516106229190614e8e565b60405180910390f35b34801561063757600080fd5b50610640611916565b60405161064d9190615199565b60405180910390f35b34801561066257600080fd5b5061066b61191c565b6040516106789190614e8e565b60405180910390f35b34801561068d57600080fd5b506106a860048036038101906106a39190614481565b611940565b6040516106b59190615199565b60405180910390f35b3480156106ca57600080fd5b506106d3611a29565b005b3480156106e157600080fd5b506106ea611ab1565b6040516106f79190614e8e565b60405180910390f35b61071a600480360381019061071591906147b7565b611adb565b005b34801561072857600080fd5b50610731611eae565b60405161073e9190614fb7565b60405180910390f35b34801561075357600080fd5b5061075c611f40565b6040516107699190614e8e565b60405180910390f35b61078c6004803603810190610787919061475d565b610995565b005b34801561079a57600080fd5b506107b560048036038101906107b091906145c4565b611f64565b005b3480156107c357600080fd5b506107de60048036038101906107d99190614541565b6120e5565b005b3480156107ec57600080fd5b506108076004803603810190610802919061475d565b612141565b6040516108149190614fb7565b60405180910390f35b34801561082957600080fd5b5061083261222e565b005b34801561084057600080fd5b506108496123bd565b6040516108569190615199565b60405180910390f35b34801561086b57600080fd5b506108746123c3565b6040516108819190614e8e565b60405180910390f35b34801561089657600080fd5b5061089f6123e7565b6040516108ac9190614fb7565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d791906144ae565b612415565b6040516108e99190614f9c565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190614481565b6124a9565b005b34801561092757600080fd5b50610942600480360381019061093d919061475d565b6125a1565b60405161094f9190614f55565b60405180910390f35b34801561096457600080fd5b5061097f600480360381019061097a919061475d565b612ea4565b60405161098c9190615199565b60405180910390f35b600a60149054906101000a900460ff16156109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90615179565b60405180910390fd5b600d60009054906101000a900460ff16610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b906150b9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415610b3857610ab0611ab1565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b33573460095482610af19190615398565b1115610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990615059565b60405180910390fd5b5b610bfc565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd333060095486610b899190615398565b6040518463ffffffff1660e01b8152600401610ba793929190614ea9565b602060405180830381600087803b158015610bc157600080fd5b505af1158015610bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf99190614644565b50505b60005b81811015610d4c57610c64610100600b6000600d600f600054610c229190615367565b610c2c9190615311565b815260200190815260200160002054610c459190615620565b82600a600054610c559190615367565b610c5f9190615311565b612ebc565b600b6000836010600a600054610c7a9190615367565b610c849190615311565b610c8e9190615311565b815260200190815260200160002081905550610cfd610100600b60006010600a600054610cbb9190615367565b610cc59190615311565b815260200190815260200160002054610cde9190615620565b82600a600054610cee9190615367565b610cf89190615311565b612ebc565b600c6000836011600a600054610d139190615367565b610d1d9190615311565b610d279190615311565b8152602001908152602001600020819055508080610d44906155c3565b915050610bff565b50610d65600033600a84610d609190615398565b612f63565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e3357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e9b57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610eab5750610eaa82612f83565b5b9050919050565b606060018054610ec190615560565b80601f0160208091040260200160405190810160405280929190818152602001828054610eed90615560565b8015610f3a5780601f10610f0f57610100808354040283529160200191610f3a565b820191906000526020600020905b815481529060010190602001808311610f1d57829003601f168201915b5050505050905090565b6000610f4f82612fed565b610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590615059565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60118054610fd690615560565b80601f016020809104026020016040519081016040528092919081815260200182805461100290615560565b801561104f5780601f106110245761010080835404028352916020019161104f565b820191906000526020600020905b81548152906001019060200180831161103257829003601f168201915b505050505081565b600061106282611900565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90615099565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110f2612ffa565b73ffffffffffffffffffffffffffffffffffffffff16148061112157506111208161111b612ffa565b612415565b5b611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790615059565b60405180910390fd5b61116b838383613002565b505050565b600d60009054906101000a900460ff1681565b60008054905090565b611194612ffa565b73ffffffffffffffffffffffffffffffffffffffff166111b2611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff906150d9565b60405180910390fd5b80600e908051906020019061121e92919061419e565b5050565b61122d8383836130b4565b505050565b60005481565b600061124383611940565b8210611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b90615119565b60405180910390fd5b600061128e611183565b905060008060005b838110156113f4576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461138857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113e057868414156113d1578195505050505050611430565b83806113dc906155c3565b9450505b5080806113ec906155c3565b915050611296565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142790615039565b60405180910390fd5b92915050565b600f805461144390615560565b80601f016020809104026020016040519081016040528092919081815260200182805461146f90615560565b80156114bc5780601f10611491576101008083540402835291602001916114bc565b820191906000526020600020905b81548152906001019060200180831161149f57829003601f168201915b505050505081565b6114cc612ffa565b73ffffffffffffffffffffffffffffffffffffffff166114ea611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614611540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611537906150d9565b60405180910390fd5b600a60149054906101000a900460ff1615600a60146101000a81548160ff021916908315150217905550565b611574612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611592611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df906150d9565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611633573d6000803e3d6000fd5b5050565b611652838383604051806020016040528060008152506120e5565b505050565b600b6020528060005260406000206000915090505481565b611677612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611695611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146116eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e2906150d9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016117419190614e8e565b60206040518083038186803b15801561175957600080fd5b505afa15801561176d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611791919061478a565b6040518363ffffffff1660e01b81526004016117ae929190614f2c565b602060405180830381600087803b1580156117c857600080fd5b505af11580156117dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118009190614644565b5050565b600061180e611183565b821061184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690614ff9565b60405180910390fd5b819050919050565b600a60149054906101000a900460ff1681565b611872612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611890611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd906150d9565b60405180910390fd5b80600f90805190602001906118fc92919061419e565b5050565b600061190b8261366d565b600001519050919050565b60095481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890614fd9565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a31612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611a4f611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614611aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9c906150d9565b60405180910390fd5b611aaf6000613870565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60149054906101000a900460ff1615611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2290615179565b60405180910390fd5b600d60009054906101000a900460ff16611b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b71906150b9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415611c7e57611bf6611ab1565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c79573460095483611c379190615398565b1115611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f90615059565b60405180910390fd5b5b611d42565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd333060095487611ccf9190615398565b6040518463ffffffff1660e01b8152600401611ced93929190614ea9565b602060405180830381600087803b158015611d0757600080fd5b505af1158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190614644565b50505b60005b82811015611e9257611daa610100600b6000600d600f600054611d689190615367565b611d729190615311565b815260200190815260200160002054611d8b9190615620565b82600a600054611d9b9190615367565b611da59190615311565b612ebc565b600b6000836010600a600054611dc09190615367565b611dca9190615311565b611dd49190615311565b815260200190815260200160002081905550611e43610100600b60006010600a600054611e019190615367565b611e0b9190615311565b815260200190815260200160002054611e249190615620565b82600a600054611e349190615367565b611e3e9190615311565b612ebc565b600c6000836011600a600054611e599190615367565b611e639190615311565b611e6d9190615311565b8152602001908152602001600020819055508080611e8a906155c3565b915050611d45565b50611eaa3382600a85611ea59190615398565b612f63565b5050565b606060028054611ebd90615560565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee990615560565b8015611f365780601f10611f0b57610100808354040283529160200191611f36565b820191906000526020600020905b815481529060010190602001808311611f1957829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b611f6c612ffa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd190615059565b60405180910390fd5b8060066000611fe7612ffa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612094612ffa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120d99190614f9c565b60405180910390a35050565b6120f08484846130b4565b6120fc84848484613936565b61213b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213290615079565b60405180910390fd5b50505050565b606061214c82612fed565b61218b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218290615079565b60405180910390fd5b6000612196836125a1565b905073f77a43507eb2004a715ae241579f5ad740f3677263cade7d0182856040518363ffffffff1660e01b81526004016121d1929190614f71565b60006040518083038186803b1580156121e957600080fd5b505af41580156121fd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906122269190614714565b915050919050565b612236612ffa565b73ffffffffffffffffffffffffffffffffffffffff16612254611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a1906150d9565b60405180910390fd5b600d60009054906101000a900460ff16156122fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f1906150f9565b60405180910390fd5b60005b60108110156123465761231c6001826123169190615311565b82612ebc565b600b600083815260200190815260200160002081905550808061233e906155c3565b9150506122fd565b5060005b601181101561239f576123756001826123639190615311565b600a836123709190615398565b612ebc565b600c6000838152602001908152602001600020819055508080612397906155c3565b91505061234a565b506001600d60006101000a81548160ff021916908315150217905550565b60075481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606010600e600f60405160200161240193929190614de4565b604051602081830303815290604052905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124b1612ffa565b73ffffffffffffffffffffffffffffffffffffffff166124cf611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614612525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251c906150d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90615019565b60405180910390fd5b61259e81613870565b50565b6125a9614224565b6125b282612fed565b6125f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e890615079565b60405180910390fd5b6000600a80846126019190615620565b8461260c9190615426565b6126169190615367565b90506000603067ffffffffffffffff8111156126355761263461570d565b5b6040519080825280602002602001820160405280156126635781602001602082028036833780820191505090505b50905060005b600c811015612d045760005b600481101561278057600c600082600c876126909190615311565b61269a9190615311565b815260200190815260200160002054600b600083600a886126bb9190615311565b6126c59190615311565b81526020019081526020016000205418600c60008385886126e69190615311565b6126f09190615311565b815260200190815260200160002054600b600084600a8b6127119190615620565b8961271c9190615311565b6127269190615311565b815260200190815260200160002054181883600c836127459190615398565b846127509190615311565b81518110612761576127606156de565b5b6020026020010181815250508080612778906155c3565b915050612675565b50600060036019600a886127949190615620565b61279e9190615398565b600c60006010886127af9190615311565b815260200190815260200160002054901c6127ca9190615620565b14156128375781600c826127de9190615311565b815181106127ef576127ee6156de565b5b602002602001015182828151811061280a576128096156de565b5b602002602001015118828281518110612826576128256156de565b5b602002602001018181525050612951565b600160036019600a8861284a9190615620565b6128549190615398565b600c60006010886128659190615311565b815260200190815260200160002054901c6128809190615620565b14156128ed5781600c826128949190615311565b815181106128a5576128a46156de565b5b60200260200101518282815181106128c0576128bf6156de565b5b6020026020010151168282815181106128dc576128db6156de565b5b602002602001018181525050612950565b81600c826128fb9190615311565b8151811061290c5761290b6156de565b5b6020026020010151828281518110612927576129266156de565b5b602002602001015117828281518110612943576129426156de565b5b6020026020010181815250505b5b600060036019600a886129649190615620565b61296e9190615398565b600b6000600e8861297f9190615311565b815260200190815260200160002054901c61299a9190615620565b1415612a0757816018826129ae9190615311565b815181106129bf576129be6156de565b5b60200260200101518282815181106129da576129d96156de565b5b6020026020010151188282815181106129f6576129f56156de565b5b602002602001018181525050612b21565b600160036019600a88612a1a9190615620565b612a249190615398565b600b6000600e88612a359190615311565b815260200190815260200160002054901c612a509190615620565b1415612abd5781601882612a649190615311565b81518110612a7557612a746156de565b5b6020026020010151828281518110612a9057612a8f6156de565b5b602002602001015116828281518110612aac57612aab6156de565b5b602002602001018181525050612b20565b81601882612acb9190615311565b81518110612adc57612adb6156de565b5b6020026020010151828281518110612af757612af66156de565b5b602002602001015117828281518110612b1357612b126156de565b5b6020026020010181815250505b5b600060036019600a88612b349190615620565b612b3e9190615398565b600b6000600f88612b4f9190615311565b815260200190815260200160002054901c612b6a9190615620565b1415612bd75781602482612b7e9190615311565b81518110612b8f57612b8e6156de565b5b6020026020010151828281518110612baa57612ba96156de565b5b602002602001015118828281518110612bc657612bc56156de565b5b602002602001018181525050612cf1565b600160036019600a88612bea9190615620565b612bf49190615398565b600b6000600f88612c059190615311565b815260200190815260200160002054901c612c209190615620565b1415612c8d5781602482612c349190615311565b81518110612c4557612c446156de565b5b6020026020010151828281518110612c6057612c5f6156de565b5b602002602001015116828281518110612c7c57612c7b6156de565b5b602002602001018181525050612cf0565b81602482612c9b9190615311565b81518110612cac57612cab6156de565b5b6020026020010151828281518110612cc757612cc66156de565b5b602002602001015117828281518110612ce357612ce26156de565b5b6020026020010181815250505b5b8080612cfc906155c3565b915050612669565b5060405180610180016040528082600081518110612d2557612d246156de565b5b6020026020010151815260200182600181518110612d4657612d456156de565b5b6020026020010151815260200182600281518110612d6757612d666156de565b5b6020026020010151815260200182600381518110612d8857612d876156de565b5b6020026020010151815260200182600481518110612da957612da86156de565b5b6020026020010151815260200182600581518110612dca57612dc96156de565b5b6020026020010151815260200182600681518110612deb57612dea6156de565b5b6020026020010151815260200182600781518110612e0c57612e0b6156de565b5b6020026020010151815260200182600881518110612e2d57612e2c6156de565b5b6020026020010151815260200182600981518110612e4e57612e4d6156de565b5b6020026020010151815260200182600a81518110612e6f57612e6e6156de565b5b6020026020010151815260200182600b81518110612e9057612e8f6156de565b5b602002602001015181525092505050919050565b600c6020528060005260406000206000915090505481565b6000808343612ecb9190615426565b40424585604051602001612ee29493929190614d96565b6040516020818303038152906040528051906020012060001c9050600161010082612f0d9190615620565b612f179190615311565b43612f229190615426565b4042456011600885901b901c604051602001612f419493929190614d96565b6040516020818303038152906040528051906020012060001c91505092915050565b612f7e83838360405180602001604052806000815250613acd565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006130bf8261366d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166130e6612ffa565b73ffffffffffffffffffffffffffffffffffffffff161480613142575061310b612ffa565b73ffffffffffffffffffffffffffffffffffffffff1661312a84610f44565b73ffffffffffffffffffffffffffffffffffffffff16145b8061315e575061315d8260000151613158612ffa565b612415565b5b9050806131a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319790615059565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614613212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320990615099565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327990614fd9565b60405180910390fd5b61328f858585600161416f565b61329f6000848460000151613002565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661330d91906153f2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166133b191906152cb565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846134b79190615311565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156135fd5761352d81612fed565b156135fc576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136658686866001614175565b505050505050565b613675614247565b61367e82612fed565b6136bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b490615139565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106137215760017f0000000000000000000000000000000000000000000000000000000000000000846137149190615426565b61371e9190615311565b90505b60008390505b81811061382f576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461381b5780935050505061386b565b50808061382790615536565b915050613727565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386290615099565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006139578473ffffffffffffffffffffffffffffffffffffffff1661417b565b15613ac0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613980612ffa565b8786866040518563ffffffff1660e01b81526004016139a29493929190614ee0565b602060405180830381600087803b1580156139bc57600080fd5b505af19250505080156139ed57506040513d601f19601f820116820180604052508101906139ea919061469e565b60015b613a70573d8060008114613a1d576040519150601f19603f3d011682016040523d82523d6000602084013e613a22565b606091505b50600081511415613a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5f90615079565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ac5565b600190505b949350505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3a90614fd9565b60405180910390fd5b613b4c81612fed565b15613b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8390615059565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be690615159565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614613c3157613c30600086838661416f565b5b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614613c7157613c708585838661416f565b5b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613d6e91906152cb565b6fffffffffffffffffffffffffffffffff168152602001858360200151613d9591906152cb565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156140dc57600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614613fcc57818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461405b57818773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b6140686000898488613936565b801561407c575061407b88888488613936565b5b6140bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140b290615079565b60405180910390fd5b81806140c6906155c3565b92505080806140d4906155c3565b915050613f33565b5080600081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614614126576141256000888588614175565b5b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16146141665761416587878588614175565b5b50505050505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546141aa90615560565b90600052602060002090601f0160209004810192826141cc5760008555614213565b82601f106141e557805160ff1916838001178555614213565b82800160010185558215614213579182015b828111156142125782518255916020019190600101906141f7565b5b5090506142209190614281565b5090565b604051806101800160405280600c90602082028036833780820191505090505090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561429a576000816000905550600101614282565b5090565b60006142b16142ac846151d9565b6151b4565b9050828152602081018484840111156142cd576142cc615741565b5b6142d88482856154f4565b509392505050565b60006142f36142ee8461520a565b6151b4565b90508281526020810184848401111561430f5761430e615741565b5b61431a8482856154f4565b509392505050565b60006143356143308461520a565b6151b4565b90508281526020810184848401111561435157614350615741565b5b61435c848285615503565b509392505050565b60008135905061437381615cb5565b92915050565b60008135905061438881615ccc565b92915050565b60008151905061439d81615ccc565b92915050565b6000813590506143b281615ce3565b92915050565b6000815190506143c781615ce3565b92915050565b600082601f8301126143e2576143e161573c565b5b81356143f284826020860161429e565b91505092915050565b600082601f8301126144105761440f61573c565b5b81356144208482602086016142e0565b91505092915050565b600082601f83011261443e5761443d61573c565b5b815161444e848260208601614322565b91505092915050565b60008135905061446681615cfa565b92915050565b60008151905061447b81615cfa565b92915050565b6000602082840312156144975761449661574b565b5b60006144a584828501614364565b91505092915050565b600080604083850312156144c5576144c461574b565b5b60006144d385828601614364565b92505060206144e485828601614364565b9150509250929050565b6000806000606084860312156145075761450661574b565b5b600061451586828701614364565b935050602061452686828701614364565b925050604061453786828701614457565b9150509250925092565b6000806000806080858703121561455b5761455a61574b565b5b600061456987828801614364565b945050602061457a87828801614364565b935050604061458b87828801614457565b925050606085013567ffffffffffffffff8111156145ac576145ab615746565b5b6145b8878288016143cd565b91505092959194509250565b600080604083850312156145db576145da61574b565b5b60006145e985828601614364565b92505060206145fa85828601614379565b9150509250929050565b6000806040838503121561461b5761461a61574b565b5b600061462985828601614364565b925050602061463a85828601614457565b9150509250929050565b60006020828403121561465a5761465961574b565b5b60006146688482850161438e565b91505092915050565b6000602082840312156146875761468661574b565b5b6000614695848285016143a3565b91505092915050565b6000602082840312156146b4576146b361574b565b5b60006146c2848285016143b8565b91505092915050565b6000602082840312156146e1576146e061574b565b5b600082013567ffffffffffffffff8111156146ff576146fe615746565b5b61470b848285016143fb565b91505092915050565b60006020828403121561472a5761472961574b565b5b600082015167ffffffffffffffff81111561474857614747615746565b5b61475484828501614429565b91505092915050565b6000602082840312156147735761477261574b565b5b600061478184828501614457565b91505092915050565b6000602082840312156147a05761479f61574b565b5b60006147ae8482850161446c565b91505092915050565b600080604083850312156147ce576147cd61574b565b5b60006147dc85828601614457565b92505060206147ed85828601614364565b9150509250929050565b60006148038383614d43565b60208301905092915050565b600061481b8383614d70565b60208301905092915050565b6148308161545a565b82525050565b61483f8161525a565b6148498184615288565b92506148548261523b565b8060005b8381101561488557815161486c87826147f7565b96506148778361527b565b925050600181019050614858565b505050505050565b6148968161525a565b6148a08184615293565b92506148ab8261523b565b8060005b838110156148dc5781516148c3878261480f565b96506148ce8361527b565b9250506001810190506148af565b505050505050565b6148ed8161546c565b82525050565b6149046148ff82615478565b61560c565b82525050565b600061491582615265565b61491f818561529e565b935061492f818560208601615503565b61493881615750565b840191505092915050565b600061494e82615270565b61495881856152af565b9350614968818560208601615503565b61497181615750565b840191505092915050565b6000815461498981615560565b61499381866152c0565b945060018216600081146149ae57600181146149bf576149f2565b60ff198316865281860193506149f2565b6149c885615245565b60005b838110156149ea578154818901526001820191506020810190506149cb565b838801955050505b50505092915050565b6000614a08602f836152c0565b9150614a1382615761565b602f82019050919050565b6000614a2b6001836152af565b9150614a36826157b0565b602082019050919050565b6000614a4e6001836152af565b9150614a59826157d9565b602082019050919050565b6000614a716044836152c0565b9150614a7c82615802565b604482019050919050565b6000614a946026836152af565b9150614a9f82615877565b604082019050919050565b6000614ab76002836152c0565b9150614ac2826158c6565b600282019050919050565b6000614ada6001836152af565b9150614ae5826158ef565b602082019050919050565b6000614afd6001836152af565b9150614b0882615918565b602082019050919050565b6000614b206001836152af565b9150614b2b82615941565b602082019050919050565b6000614b436001836152af565b9150614b4e8261596a565b602082019050919050565b6000614b666011836152c0565b9150614b7182615993565b601182019050919050565b6000614b89603e836152c0565b9150614b94826159bc565b603e82019050919050565b6000614bac6019836152af565b9150614bb782615a0b565b602082019050919050565b6000614bcf6002836152c0565b9150614bda82615a34565b600282019050919050565b6000614bf26021836152c0565b9150614bfd82615a5d565b602182019050919050565b6000614c156020836152af565b9150614c2082615aac565b602082019050919050565b6000614c386019836152af565b9150614c4382615ad5565b602082019050919050565b6000614c5b6001836152af565b9150614c6682615afe565b602082019050919050565b6000614c7e603f836152c0565b9150614c8982615b27565b603f82019050919050565b6000614ca16001836152af565b9150614cac82615b76565b602082019050919050565b6000614cc46032836152c0565b9150614ccf82615b9f565b603282019050919050565b6000614ce76048836152c0565b9150614cf282615bee565b604882019050919050565b6000614d0a6001836152af565b9150614d1582615c63565b602082019050919050565b6000614d2d600e836152af565b9150614d3882615c8c565b602082019050919050565b614d4c816154ea565b82525050565b614d5b816154ea565b82525050565b614d6a816154ea565b82525050565b614d79816154ea565b82525050565b614d90614d8b826154ea565b615616565b82525050565b6000614da282876148f3565b602082019150614db28286614d7f565b602082019150614dc28285614d7f565b602082019150614dd28284614d7f565b60208201915081905095945050505050565b6000614def82614cb7565b9150614dfa82614b7c565b9150614e0582614a64565b9150614e1082614c71565b9150614e1b82614cda565b9150614e2682614be5565b9150614e32828661497c565b9150614e3d82614aaa565b9150614e4882614b59565b9150614e54828561497c565b9150614e5f82614aaa565b9150614e6a826149fb565b9150614e76828461497c565b9150614e8182614bc2565b9150819050949350505050565b6000602082019050614ea36000830184614827565b92915050565b6000606082019050614ebe6000830186614827565b614ecb6020830185614827565b614ed86040830184614d52565b949350505050565b6000608082019050614ef56000830187614827565b614f026020830186614827565b614f0f6040830185614d52565b8181036060830152614f21818461490a565b905095945050505050565b6000604082019050614f416000830185614827565b614f4e6020830184614d52565b9392505050565b600061018082019050614f6b6000830184614836565b92915050565b60006101a082019050614f87600083018561488d565b614f95610180830184614d61565b9392505050565b6000602082019050614fb160008301846148e4565b92915050565b60006020820190508181036000830152614fd18184614943565b905092915050565b60006020820190508181036000830152614ff281614a1e565b9050919050565b6000602082019050818103600083015261501281614a41565b9050919050565b6000602082019050818103600083015261503281614a87565b9050919050565b6000602082019050818103600083015261505281614acd565b9050919050565b6000602082019050818103600083015261507281614af0565b9050919050565b6000602082019050818103600083015261509281614b13565b9050919050565b600060208201905081810360008301526150b281614b36565b9050919050565b600060208201905081810360008301526150d281614b9f565b9050919050565b600060208201905081810360008301526150f281614c08565b9050919050565b6000602082019050818103600083015261511281614c2b565b9050919050565b6000602082019050818103600083015261513281614c4e565b9050919050565b6000602082019050818103600083015261515281614c94565b9050919050565b6000602082019050818103600083015261517281614cfd565b9050919050565b6000602082019050818103600083015261519281614d20565b9050919050565b60006020820190506151ae6000830184614d52565b92915050565b60006151be6151cf565b90506151ca8282615592565b919050565b6000604051905090565b600067ffffffffffffffff8211156151f4576151f361570d565b5b6151fd82615750565b9050602081019050919050565b600067ffffffffffffffff8211156152255761522461570d565b5b61522e82615750565b9050602081019050919050565b6000819050919050565b60008190508160005260206000209050919050565b6000600c9050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152d6826154ae565b91506152e1836154ae565b9250826fffffffffffffffffffffffffffffffff0382111561530657615305615651565b5b828201905092915050565b600061531c826154ea565b9150615327836154ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561535c5761535b615651565b5b828201905092915050565b6000615372826154ea565b915061537d836154ea565b92508261538d5761538c615680565b5b828204905092915050565b60006153a3826154ea565b91506153ae836154ea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153e7576153e6615651565b5b828202905092915050565b60006153fd826154ae565b9150615408836154ae565b92508282101561541b5761541a615651565b5b828203905092915050565b6000615431826154ea565b915061543c836154ea565b92508282101561544f5761544e615651565b5b828203905092915050565b6000615465826154ca565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615521578082015181840152602081019050615506565b83811115615530576000848401525b50505050565b6000615541826154ea565b9150600082141561555557615554615651565b5b600182039050919050565b6000600282049050600182168061557857607f821691505b6020821081141561558c5761558b6156af565b5b50919050565b61559b82615750565b810181811067ffffffffffffffff821117156155ba576155b961570d565b5b80604052505050565b60006155ce826154ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561560157615600615651565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061562b826154ea565b9150615636836154ea565b92508261564657615645615680565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f2273656c6c65725f6665655f62617369735f706f696e7473223a3130302c226660008201527f65655f726563697069656e74223a220000000000000000000000000000000000602082015250565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b7f67726964732c206372656174656420776974682066756c6c79206f6e2d63686160008201527f696e2070736575646f72616e646f6d6e6573732e20496e66696e697465206d6960208201527f6e742e2000000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f2265787465726e616c5f6c696e6b223a22000000000000000000000000000000600082015250565b7f226465736372697074696f6e223a224120636f6c6c656374696f6e206f66207260008201527f616e646f6d6c792067656e65726174656420313678313620706978656c200000602082015250565b7f72616e646f6d6e657373206e6f74207965742073656564656400000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b7574663860008201527f2c00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f72616e646f6d6e65737320616c72656164792073656564656400000000000000600082015250565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b7f506978656c73206d696e7420696e207061636b73206f6620313020706572206d60008201527f696e742e2045616368207061636b20636f73747320302e303033204554482e00602082015250565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a22426173656420506978656c73222c0000000000000000000000000000602082015250565b7f46696e6420796f7572206661766f7269746520706978656c2064657369676e2e60008201527f2048617070792068756e74696e6721205468697320697320612043433020707260208201527f6f6a6563742e222c000000000000000000000000000000000000000000000000604082015250565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f6d696e7420697320706175736564000000000000000000000000000000000000600082015250565b615cbe8161545a565b8114615cc957600080fd5b50565b615cd58161546c565b8114615ce057600080fd5b50565b615cec81615482565b8114615cf757600080fd5b50565b615d03816154ea565b8114615d0e57600080fd5b5056fea2646970667358221220427240ee6014d4f4f2b200dbd11b515012fd026f32f32d9d2feac7463aabc1aa64736f6c634300080700333c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f7376672720786d6c6e733a786c696e6b3d27687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b272077696474683d2731303025323527206865696768743d27313030253235272076696577426f783d27302030203136203136273e3c7061746820643d274d302c304c31362c302c31362c31362c302c3136272066696c6c3d27626c61636b272f3e3c7061746820643d274d332c334c332c382c362c382c362c334d342c344c372c342c372c352c342c354d342c364c372c364c372c374c342c374d392c384c392c31332c31302c31332c31302c31312c31322c31312c31322c384d31302c394c31332c392c31332c31302c31302c3130272066696c6c3d277768697465272f3e3c2f7376673e3c7020786d6c6e733a6463743d27687474703a2f2f7075726c2e6f72672f64632f7465726d732f2720786d6c6e733a76636172643d27687474703a2f2f7777772e77332e6f72672f323030312f76636172642d7264662f332e3023273e3c612072656c3d276c6963656e73652720687265663d27687474703a2f2f6372656174697665636f6d6d6f6e732e6f72672f7075626c6963646f6d61696e2f7a65726f2f312e302f273e3c696d67207372633d27687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f702f7a65726f2f312e302f38387833312e706e6727207374796c653d27626f726465722d7374796c653a206e6f6e653b2720616c743d2743433027202f3e3c2f613e3c6272202f3e546f2074686520657874656e7420706f737369626c6520756e646572206c61772c3c612072656c3d276463743a7075626c69736865722720687265663d2768747470733a2f2f747769747465722e636f6d2f30784261736564506978656c273e3c7370616e2070726f70657274793d276463743a7469746c65273e546f6d69736c6176205a61626369632d4d617469632c20612e6b2e612e205965657469636173736f2c20612e6b2e612e2030784261736564506978656c3c2f7370616e3e3c2f613e6861732077616976656420616c6c20636f7079726967687420616e642072656c61746564206f72206e65696768626f72696e672072696768747320746f3c7370616e2070726f70657274793d276463743a7469746c65273e426173656420506978656c733c2f7370616e3e2e205468697320776f726b206973207075626c69736865642066726f6d3a3c7370616e2070726f70657274793d2776636172643a436f756e747279272064617461747970653d276463743a49534f333136362720636f6e74656e743d275553272061626f75743d2768747470733a2f2f747769747465722e636f6d2f30784261736564506978656c273e556e69746564205374617465733c2f7370616e3e2e3c2f703e30784464323635344641423436326362443144423934353733396238313335393636326532443333336500000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000aa87bee538000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000ccb7b5fc0dc232fe67c9c111bcb3b6adbe9fef49000000000000000000000000f77a43507eb2004a715ae241579f5ad740f36772000000000000000000000000000000000000000000000000000000000000000c426173656420506978656c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006504958454c530000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061024a5760003560e01c80636352211e11610139578063a22cb465116100b6578063e5a6b10f1161007a578063e5a6b10f1461085f578063e8a3d4851461088a578063e985e9c5146108b5578063f2fde38b146108f2578063fa8814dc1461091b578063fef9c2141461095857610267565b8063a22cb4651461078e578063b88d4fde146107b7578063c87b56dd146107e0578063cc594f331461081d578063d7224ba01461083457610267565b80638da5cb5b116100fd5780638da5cb5b146106d55780638f566abb1461070057806395d89b411461071c5780639fac330814610747578063a0712d681461077257610267565b80636352211e146105ee5780636817c76c1461062b5780636fe870d31461065657806370a0823114610681578063715018a6146106be57610267565b80632f745c59116101c7578063434ecf001161018b578063434ecf00146104f757806349df728c146105345780634f6ccce71461055d5780635c975abb1461059a5780635ecc4eb2146105c557610267565b80632f745c59146104385780633009c08314610475578063333171bb146104a05780633ccfd60b146104b757806342842e0e146104ce57610267565b80630ffe54271161020e5780630ffe54271461036557806318160ddd146103905780631f917921146103bb57806323b872dd146103e457806326987b601461040d57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063085b4e2b14610311578063095ea7b31461033c57610267565b3661026757610265600954346102609190615367565b610995565b005b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190614671565b610d68565b6040516102a09190614f9c565b60405180910390f35b3480156102b557600080fd5b506102be610eb2565b6040516102cb9190614fb7565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f6919061475d565b610f44565b6040516103089190614e8e565b60405180910390f35b34801561031d57600080fd5b50610326610fc9565b6040516103339190614fb7565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190614604565b611057565b005b34801561037157600080fd5b5061037a611170565b6040516103879190614f9c565b60405180910390f35b34801561039c57600080fd5b506103a5611183565b6040516103b29190615199565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd91906146cb565b61118c565b005b3480156103f057600080fd5b5061040b600480360381019061040691906144ee565b611222565b005b34801561041957600080fd5b50610422611232565b60405161042f9190615199565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190614604565b611238565b60405161046c9190615199565b60405180910390f35b34801561048157600080fd5b5061048a611436565b6040516104979190614fb7565b60405180910390f35b3480156104ac57600080fd5b506104b56114c4565b005b3480156104c357600080fd5b506104cc61156c565b005b3480156104da57600080fd5b506104f560048036038101906104f091906144ee565b611637565b005b34801561050357600080fd5b5061051e6004803603810190610519919061475d565b611657565b60405161052b9190615199565b60405180910390f35b34801561054057600080fd5b5061055b60048036038101906105569190614481565b61166f565b005b34801561056957600080fd5b50610584600480360381019061057f919061475d565b611804565b6040516105919190615199565b60405180910390f35b3480156105a657600080fd5b506105af611857565b6040516105bc9190614f9c565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e791906146cb565b61186a565b005b3480156105fa57600080fd5b506106156004803603810190610610919061475d565b611900565b6040516106229190614e8e565b60405180910390f35b34801561063757600080fd5b50610640611916565b60405161064d9190615199565b60405180910390f35b34801561066257600080fd5b5061066b61191c565b6040516106789190614e8e565b60405180910390f35b34801561068d57600080fd5b506106a860048036038101906106a39190614481565b611940565b6040516106b59190615199565b60405180910390f35b3480156106ca57600080fd5b506106d3611a29565b005b3480156106e157600080fd5b506106ea611ab1565b6040516106f79190614e8e565b60405180910390f35b61071a600480360381019061071591906147b7565b611adb565b005b34801561072857600080fd5b50610731611eae565b60405161073e9190614fb7565b60405180910390f35b34801561075357600080fd5b5061075c611f40565b6040516107699190614e8e565b60405180910390f35b61078c6004803603810190610787919061475d565b610995565b005b34801561079a57600080fd5b506107b560048036038101906107b091906145c4565b611f64565b005b3480156107c357600080fd5b506107de60048036038101906107d99190614541565b6120e5565b005b3480156107ec57600080fd5b506108076004803603810190610802919061475d565b612141565b6040516108149190614fb7565b60405180910390f35b34801561082957600080fd5b5061083261222e565b005b34801561084057600080fd5b506108496123bd565b6040516108569190615199565b60405180910390f35b34801561086b57600080fd5b506108746123c3565b6040516108819190614e8e565b60405180910390f35b34801561089657600080fd5b5061089f6123e7565b6040516108ac9190614fb7565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d791906144ae565b612415565b6040516108e99190614f9c565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190614481565b6124a9565b005b34801561092757600080fd5b50610942600480360381019061093d919061475d565b6125a1565b60405161094f9190614f55565b60405180910390f35b34801561096457600080fd5b5061097f600480360381019061097a919061475d565b612ea4565b60405161098c9190615199565b60405180910390f35b600a60149054906101000a900460ff16156109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90615179565b60405180910390fd5b600d60009054906101000a900460ff16610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b906150b9565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415610b3857610ab0611ab1565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b33573460095482610af19190615398565b1115610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990615059565b60405180910390fd5b5b610bfc565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd333060095486610b899190615398565b6040518463ffffffff1660e01b8152600401610ba793929190614ea9565b602060405180830381600087803b158015610bc157600080fd5b505af1158015610bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf99190614644565b50505b60005b81811015610d4c57610c64610100600b6000600d600f600054610c229190615367565b610c2c9190615311565b815260200190815260200160002054610c459190615620565b82600a600054610c559190615367565b610c5f9190615311565b612ebc565b600b6000836010600a600054610c7a9190615367565b610c849190615311565b610c8e9190615311565b815260200190815260200160002081905550610cfd610100600b60006010600a600054610cbb9190615367565b610cc59190615311565b815260200190815260200160002054610cde9190615620565b82600a600054610cee9190615367565b610cf89190615311565b612ebc565b600c6000836011600a600054610d139190615367565b610d1d9190615311565b610d279190615311565b8152602001908152602001600020819055508080610d44906155c3565b915050610bff565b50610d65600033600a84610d609190615398565b612f63565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e3357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e9b57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610eab5750610eaa82612f83565b5b9050919050565b606060018054610ec190615560565b80601f0160208091040260200160405190810160405280929190818152602001828054610eed90615560565b8015610f3a5780601f10610f0f57610100808354040283529160200191610f3a565b820191906000526020600020905b815481529060010190602001808311610f1d57829003601f168201915b5050505050905090565b6000610f4f82612fed565b610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590615059565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60118054610fd690615560565b80601f016020809104026020016040519081016040528092919081815260200182805461100290615560565b801561104f5780601f106110245761010080835404028352916020019161104f565b820191906000526020600020905b81548152906001019060200180831161103257829003601f168201915b505050505081565b600061106282611900565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90615099565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110f2612ffa565b73ffffffffffffffffffffffffffffffffffffffff16148061112157506111208161111b612ffa565b612415565b5b611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790615059565b60405180910390fd5b61116b838383613002565b505050565b600d60009054906101000a900460ff1681565b60008054905090565b611194612ffa565b73ffffffffffffffffffffffffffffffffffffffff166111b2611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614611208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ff906150d9565b60405180910390fd5b80600e908051906020019061121e92919061419e565b5050565b61122d8383836130b4565b505050565b60005481565b600061124383611940565b8210611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b90615119565b60405180910390fd5b600061128e611183565b905060008060005b838110156113f4576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461138857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113e057868414156113d1578195505050505050611430565b83806113dc906155c3565b9450505b5080806113ec906155c3565b915050611296565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142790615039565b60405180910390fd5b92915050565b600f805461144390615560565b80601f016020809104026020016040519081016040528092919081815260200182805461146f90615560565b80156114bc5780601f10611491576101008083540402835291602001916114bc565b820191906000526020600020905b81548152906001019060200180831161149f57829003601f168201915b505050505081565b6114cc612ffa565b73ffffffffffffffffffffffffffffffffffffffff166114ea611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614611540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611537906150d9565b60405180910390fd5b600a60149054906101000a900460ff1615600a60146101000a81548160ff021916908315150217905550565b611574612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611592611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df906150d9565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611633573d6000803e3d6000fd5b5050565b611652838383604051806020016040528060008152506120e5565b505050565b600b6020528060005260406000206000915090505481565b611677612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611695611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146116eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e2906150d9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016117419190614e8e565b60206040518083038186803b15801561175957600080fd5b505afa15801561176d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611791919061478a565b6040518363ffffffff1660e01b81526004016117ae929190614f2c565b602060405180830381600087803b1580156117c857600080fd5b505af11580156117dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118009190614644565b5050565b600061180e611183565b821061184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690614ff9565b60405180910390fd5b819050919050565b600a60149054906101000a900460ff1681565b611872612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611890611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd906150d9565b60405180910390fd5b80600f90805190602001906118fc92919061419e565b5050565b600061190b8261366d565b600001519050919050565b60095481565b7f000000000000000000000000ccb7b5fc0dc232fe67c9c111bcb3b6adbe9fef4981565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890614fd9565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a31612ffa565b73ffffffffffffffffffffffffffffffffffffffff16611a4f611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614611aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9c906150d9565b60405180910390fd5b611aaf6000613870565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60149054906101000a900460ff1615611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2290615179565b60405180910390fd5b600d60009054906101000a900460ff16611b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b71906150b9565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415611c7e57611bf6611ab1565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c79573460095483611c379190615398565b1115611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f90615059565b60405180910390fd5b5b611d42565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd333060095487611ccf9190615398565b6040518463ffffffff1660e01b8152600401611ced93929190614ea9565b602060405180830381600087803b158015611d0757600080fd5b505af1158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190614644565b50505b60005b82811015611e9257611daa610100600b6000600d600f600054611d689190615367565b611d729190615311565b815260200190815260200160002054611d8b9190615620565b82600a600054611d9b9190615367565b611da59190615311565b612ebc565b600b6000836010600a600054611dc09190615367565b611dca9190615311565b611dd49190615311565b815260200190815260200160002081905550611e43610100600b60006010600a600054611e019190615367565b611e0b9190615311565b815260200190815260200160002054611e249190615620565b82600a600054611e349190615367565b611e3e9190615311565b612ebc565b600c6000836011600a600054611e599190615367565b611e639190615311565b611e6d9190615311565b8152602001908152602001600020819055508080611e8a906155c3565b915050611d45565b50611eaa3382600a85611ea59190615398565b612f63565b5050565b606060028054611ebd90615560565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee990615560565b8015611f365780601f10611f0b57610100808354040283529160200191611f36565b820191906000526020600020905b815481529060010190602001808311611f1957829003601f168201915b5050505050905090565b7f000000000000000000000000f77a43507eb2004a715ae241579f5ad740f3677281565b611f6c612ffa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd190615059565b60405180910390fd5b8060066000611fe7612ffa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612094612ffa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120d99190614f9c565b60405180910390a35050565b6120f08484846130b4565b6120fc84848484613936565b61213b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213290615079565b60405180910390fd5b50505050565b606061214c82612fed565b61218b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218290615079565b60405180910390fd5b6000612196836125a1565b905073f77a43507eb2004a715ae241579f5ad740f3677263cade7d0182856040518363ffffffff1660e01b81526004016121d1929190614f71565b60006040518083038186803b1580156121e957600080fd5b505af41580156121fd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906122269190614714565b915050919050565b612236612ffa565b73ffffffffffffffffffffffffffffffffffffffff16612254611ab1565b73ffffffffffffffffffffffffffffffffffffffff16146122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a1906150d9565b60405180910390fd5b600d60009054906101000a900460ff16156122fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f1906150f9565b60405180910390fd5b60005b60108110156123465761231c6001826123169190615311565b82612ebc565b600b600083815260200190815260200160002081905550808061233e906155c3565b9150506122fd565b5060005b601181101561239f576123756001826123639190615311565b600a836123709190615398565b612ebc565b600c6000838152602001908152602001600020819055508080612397906155c3565b91505061234a565b506001600d60006101000a81548160ff021916908315150217905550565b60075481565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b60606010600e600f60405160200161240193929190614de4565b604051602081830303815290604052905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124b1612ffa565b73ffffffffffffffffffffffffffffffffffffffff166124cf611ab1565b73ffffffffffffffffffffffffffffffffffffffff1614612525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251c906150d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90615019565b60405180910390fd5b61259e81613870565b50565b6125a9614224565b6125b282612fed565b6125f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e890615079565b60405180910390fd5b6000600a80846126019190615620565b8461260c9190615426565b6126169190615367565b90506000603067ffffffffffffffff8111156126355761263461570d565b5b6040519080825280602002602001820160405280156126635781602001602082028036833780820191505090505b50905060005b600c811015612d045760005b600481101561278057600c600082600c876126909190615311565b61269a9190615311565b815260200190815260200160002054600b600083600a886126bb9190615311565b6126c59190615311565b81526020019081526020016000205418600c60008385886126e69190615311565b6126f09190615311565b815260200190815260200160002054600b600084600a8b6127119190615620565b8961271c9190615311565b6127269190615311565b815260200190815260200160002054181883600c836127459190615398565b846127509190615311565b81518110612761576127606156de565b5b6020026020010181815250508080612778906155c3565b915050612675565b50600060036019600a886127949190615620565b61279e9190615398565b600c60006010886127af9190615311565b815260200190815260200160002054901c6127ca9190615620565b14156128375781600c826127de9190615311565b815181106127ef576127ee6156de565b5b602002602001015182828151811061280a576128096156de565b5b602002602001015118828281518110612826576128256156de565b5b602002602001018181525050612951565b600160036019600a8861284a9190615620565b6128549190615398565b600c60006010886128659190615311565b815260200190815260200160002054901c6128809190615620565b14156128ed5781600c826128949190615311565b815181106128a5576128a46156de565b5b60200260200101518282815181106128c0576128bf6156de565b5b6020026020010151168282815181106128dc576128db6156de565b5b602002602001018181525050612950565b81600c826128fb9190615311565b8151811061290c5761290b6156de565b5b6020026020010151828281518110612927576129266156de565b5b602002602001015117828281518110612943576129426156de565b5b6020026020010181815250505b5b600060036019600a886129649190615620565b61296e9190615398565b600b6000600e8861297f9190615311565b815260200190815260200160002054901c61299a9190615620565b1415612a0757816018826129ae9190615311565b815181106129bf576129be6156de565b5b60200260200101518282815181106129da576129d96156de565b5b6020026020010151188282815181106129f6576129f56156de565b5b602002602001018181525050612b21565b600160036019600a88612a1a9190615620565b612a249190615398565b600b6000600e88612a359190615311565b815260200190815260200160002054901c612a509190615620565b1415612abd5781601882612a649190615311565b81518110612a7557612a746156de565b5b6020026020010151828281518110612a9057612a8f6156de565b5b602002602001015116828281518110612aac57612aab6156de565b5b602002602001018181525050612b20565b81601882612acb9190615311565b81518110612adc57612adb6156de565b5b6020026020010151828281518110612af757612af66156de565b5b602002602001015117828281518110612b1357612b126156de565b5b6020026020010181815250505b5b600060036019600a88612b349190615620565b612b3e9190615398565b600b6000600f88612b4f9190615311565b815260200190815260200160002054901c612b6a9190615620565b1415612bd75781602482612b7e9190615311565b81518110612b8f57612b8e6156de565b5b6020026020010151828281518110612baa57612ba96156de565b5b602002602001015118828281518110612bc657612bc56156de565b5b602002602001018181525050612cf1565b600160036019600a88612bea9190615620565b612bf49190615398565b600b6000600f88612c059190615311565b815260200190815260200160002054901c612c209190615620565b1415612c8d5781602482612c349190615311565b81518110612c4557612c446156de565b5b6020026020010151828281518110612c6057612c5f6156de565b5b602002602001015116828281518110612c7c57612c7b6156de565b5b602002602001018181525050612cf0565b81602482612c9b9190615311565b81518110612cac57612cab6156de565b5b6020026020010151828281518110612cc757612cc66156de565b5b602002602001015117828281518110612ce357612ce26156de565b5b6020026020010181815250505b5b8080612cfc906155c3565b915050612669565b5060405180610180016040528082600081518110612d2557612d246156de565b5b6020026020010151815260200182600181518110612d4657612d456156de565b5b6020026020010151815260200182600281518110612d6757612d666156de565b5b6020026020010151815260200182600381518110612d8857612d876156de565b5b6020026020010151815260200182600481518110612da957612da86156de565b5b6020026020010151815260200182600581518110612dca57612dc96156de565b5b6020026020010151815260200182600681518110612deb57612dea6156de565b5b6020026020010151815260200182600781518110612e0c57612e0b6156de565b5b6020026020010151815260200182600881518110612e2d57612e2c6156de565b5b6020026020010151815260200182600981518110612e4e57612e4d6156de565b5b6020026020010151815260200182600a81518110612e6f57612e6e6156de565b5b6020026020010151815260200182600b81518110612e9057612e8f6156de565b5b602002602001015181525092505050919050565b600c6020528060005260406000206000915090505481565b6000808343612ecb9190615426565b40424585604051602001612ee29493929190614d96565b6040516020818303038152906040528051906020012060001c9050600161010082612f0d9190615620565b612f179190615311565b43612f229190615426565b4042456011600885901b901c604051602001612f419493929190614d96565b6040516020818303038152906040528051906020012060001c91505092915050565b612f7e83838360405180602001604052806000815250613acd565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006130bf8261366d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166130e6612ffa565b73ffffffffffffffffffffffffffffffffffffffff161480613142575061310b612ffa565b73ffffffffffffffffffffffffffffffffffffffff1661312a84610f44565b73ffffffffffffffffffffffffffffffffffffffff16145b8061315e575061315d8260000151613158612ffa565b612415565b5b9050806131a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319790615059565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614613212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320990615099565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327990614fd9565b60405180910390fd5b61328f858585600161416f565b61329f6000848460000151613002565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661330d91906153f2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166133b191906152cb565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846134b79190615311565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156135fd5761352d81612fed565b156135fc576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136658686866001614175565b505050505050565b613675614247565b61367e82612fed565b6136bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b490615139565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000006483106137215760017f0000000000000000000000000000000000000000000000000000000000000064846137149190615426565b61371e9190615311565b90505b60008390505b81811061382f576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461381b5780935050505061386b565b50808061382790615536565b915050613727565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386290615099565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006139578473ffffffffffffffffffffffffffffffffffffffff1661417b565b15613ac0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613980612ffa565b8786866040518563ffffffff1660e01b81526004016139a29493929190614ee0565b602060405180830381600087803b1580156139bc57600080fd5b505af19250505080156139ed57506040513d601f19601f820116820180604052508101906139ea919061469e565b60015b613a70573d8060008114613a1d576040519150601f19603f3d011682016040523d82523d6000602084013e613a22565b606091505b50600081511415613a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5f90615079565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ac5565b600190505b949350505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3a90614fd9565b60405180910390fd5b613b4c81612fed565b15613b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8390615059565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000064831115613bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be690615159565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614613c3157613c30600086838661416f565b5b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614613c7157613c708585838661416f565b5b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613d6e91906152cb565b6fffffffffffffffffffffffffffffffff168152602001858360200151613d9591906152cb565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156140dc57600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614613fcc57818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461405b57818773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b6140686000898488613936565b801561407c575061407b88888488613936565b5b6140bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140b290615079565b60405180910390fd5b81806140c6906155c3565b92505080806140d4906155c3565b915050613f33565b5080600081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614614126576141256000888588614175565b5b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16146141665761416587878588614175565b5b50505050505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546141aa90615560565b90600052602060002090601f0160209004810192826141cc5760008555614213565b82601f106141e557805160ff1916838001178555614213565b82800160010185558215614213579182015b828111156142125782518255916020019190600101906141f7565b5b5090506142209190614281565b5090565b604051806101800160405280600c90602082028036833780820191505090505090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561429a576000816000905550600101614282565b5090565b60006142b16142ac846151d9565b6151b4565b9050828152602081018484840111156142cd576142cc615741565b5b6142d88482856154f4565b509392505050565b60006142f36142ee8461520a565b6151b4565b90508281526020810184848401111561430f5761430e615741565b5b61431a8482856154f4565b509392505050565b60006143356143308461520a565b6151b4565b90508281526020810184848401111561435157614350615741565b5b61435c848285615503565b509392505050565b60008135905061437381615cb5565b92915050565b60008135905061438881615ccc565b92915050565b60008151905061439d81615ccc565b92915050565b6000813590506143b281615ce3565b92915050565b6000815190506143c781615ce3565b92915050565b600082601f8301126143e2576143e161573c565b5b81356143f284826020860161429e565b91505092915050565b600082601f8301126144105761440f61573c565b5b81356144208482602086016142e0565b91505092915050565b600082601f83011261443e5761443d61573c565b5b815161444e848260208601614322565b91505092915050565b60008135905061446681615cfa565b92915050565b60008151905061447b81615cfa565b92915050565b6000602082840312156144975761449661574b565b5b60006144a584828501614364565b91505092915050565b600080604083850312156144c5576144c461574b565b5b60006144d385828601614364565b92505060206144e485828601614364565b9150509250929050565b6000806000606084860312156145075761450661574b565b5b600061451586828701614364565b935050602061452686828701614364565b925050604061453786828701614457565b9150509250925092565b6000806000806080858703121561455b5761455a61574b565b5b600061456987828801614364565b945050602061457a87828801614364565b935050604061458b87828801614457565b925050606085013567ffffffffffffffff8111156145ac576145ab615746565b5b6145b8878288016143cd565b91505092959194509250565b600080604083850312156145db576145da61574b565b5b60006145e985828601614364565b92505060206145fa85828601614379565b9150509250929050565b6000806040838503121561461b5761461a61574b565b5b600061462985828601614364565b925050602061463a85828601614457565b9150509250929050565b60006020828403121561465a5761465961574b565b5b60006146688482850161438e565b91505092915050565b6000602082840312156146875761468661574b565b5b6000614695848285016143a3565b91505092915050565b6000602082840312156146b4576146b361574b565b5b60006146c2848285016143b8565b91505092915050565b6000602082840312156146e1576146e061574b565b5b600082013567ffffffffffffffff8111156146ff576146fe615746565b5b61470b848285016143fb565b91505092915050565b60006020828403121561472a5761472961574b565b5b600082015167ffffffffffffffff81111561474857614747615746565b5b61475484828501614429565b91505092915050565b6000602082840312156147735761477261574b565b5b600061478184828501614457565b91505092915050565b6000602082840312156147a05761479f61574b565b5b60006147ae8482850161446c565b91505092915050565b600080604083850312156147ce576147cd61574b565b5b60006147dc85828601614457565b92505060206147ed85828601614364565b9150509250929050565b60006148038383614d43565b60208301905092915050565b600061481b8383614d70565b60208301905092915050565b6148308161545a565b82525050565b61483f8161525a565b6148498184615288565b92506148548261523b565b8060005b8381101561488557815161486c87826147f7565b96506148778361527b565b925050600181019050614858565b505050505050565b6148968161525a565b6148a08184615293565b92506148ab8261523b565b8060005b838110156148dc5781516148c3878261480f565b96506148ce8361527b565b9250506001810190506148af565b505050505050565b6148ed8161546c565b82525050565b6149046148ff82615478565b61560c565b82525050565b600061491582615265565b61491f818561529e565b935061492f818560208601615503565b61493881615750565b840191505092915050565b600061494e82615270565b61495881856152af565b9350614968818560208601615503565b61497181615750565b840191505092915050565b6000815461498981615560565b61499381866152c0565b945060018216600081146149ae57600181146149bf576149f2565b60ff198316865281860193506149f2565b6149c885615245565b60005b838110156149ea578154818901526001820191506020810190506149cb565b838801955050505b50505092915050565b6000614a08602f836152c0565b9150614a1382615761565b602f82019050919050565b6000614a2b6001836152af565b9150614a36826157b0565b602082019050919050565b6000614a4e6001836152af565b9150614a59826157d9565b602082019050919050565b6000614a716044836152c0565b9150614a7c82615802565b604482019050919050565b6000614a946026836152af565b9150614a9f82615877565b604082019050919050565b6000614ab76002836152c0565b9150614ac2826158c6565b600282019050919050565b6000614ada6001836152af565b9150614ae5826158ef565b602082019050919050565b6000614afd6001836152af565b9150614b0882615918565b602082019050919050565b6000614b206001836152af565b9150614b2b82615941565b602082019050919050565b6000614b436001836152af565b9150614b4e8261596a565b602082019050919050565b6000614b666011836152c0565b9150614b7182615993565b601182019050919050565b6000614b89603e836152c0565b9150614b94826159bc565b603e82019050919050565b6000614bac6019836152af565b9150614bb782615a0b565b602082019050919050565b6000614bcf6002836152c0565b9150614bda82615a34565b600282019050919050565b6000614bf26021836152c0565b9150614bfd82615a5d565b602182019050919050565b6000614c156020836152af565b9150614c2082615aac565b602082019050919050565b6000614c386019836152af565b9150614c4382615ad5565b602082019050919050565b6000614c5b6001836152af565b9150614c6682615afe565b602082019050919050565b6000614c7e603f836152c0565b9150614c8982615b27565b603f82019050919050565b6000614ca16001836152af565b9150614cac82615b76565b602082019050919050565b6000614cc46032836152c0565b9150614ccf82615b9f565b603282019050919050565b6000614ce76048836152c0565b9150614cf282615bee565b604882019050919050565b6000614d0a6001836152af565b9150614d1582615c63565b602082019050919050565b6000614d2d600e836152af565b9150614d3882615c8c565b602082019050919050565b614d4c816154ea565b82525050565b614d5b816154ea565b82525050565b614d6a816154ea565b82525050565b614d79816154ea565b82525050565b614d90614d8b826154ea565b615616565b82525050565b6000614da282876148f3565b602082019150614db28286614d7f565b602082019150614dc28285614d7f565b602082019150614dd28284614d7f565b60208201915081905095945050505050565b6000614def82614cb7565b9150614dfa82614b7c565b9150614e0582614a64565b9150614e1082614c71565b9150614e1b82614cda565b9150614e2682614be5565b9150614e32828661497c565b9150614e3d82614aaa565b9150614e4882614b59565b9150614e54828561497c565b9150614e5f82614aaa565b9150614e6a826149fb565b9150614e76828461497c565b9150614e8182614bc2565b9150819050949350505050565b6000602082019050614ea36000830184614827565b92915050565b6000606082019050614ebe6000830186614827565b614ecb6020830185614827565b614ed86040830184614d52565b949350505050565b6000608082019050614ef56000830187614827565b614f026020830186614827565b614f0f6040830185614d52565b8181036060830152614f21818461490a565b905095945050505050565b6000604082019050614f416000830185614827565b614f4e6020830184614d52565b9392505050565b600061018082019050614f6b6000830184614836565b92915050565b60006101a082019050614f87600083018561488d565b614f95610180830184614d61565b9392505050565b6000602082019050614fb160008301846148e4565b92915050565b60006020820190508181036000830152614fd18184614943565b905092915050565b60006020820190508181036000830152614ff281614a1e565b9050919050565b6000602082019050818103600083015261501281614a41565b9050919050565b6000602082019050818103600083015261503281614a87565b9050919050565b6000602082019050818103600083015261505281614acd565b9050919050565b6000602082019050818103600083015261507281614af0565b9050919050565b6000602082019050818103600083015261509281614b13565b9050919050565b600060208201905081810360008301526150b281614b36565b9050919050565b600060208201905081810360008301526150d281614b9f565b9050919050565b600060208201905081810360008301526150f281614c08565b9050919050565b6000602082019050818103600083015261511281614c2b565b9050919050565b6000602082019050818103600083015261513281614c4e565b9050919050565b6000602082019050818103600083015261515281614c94565b9050919050565b6000602082019050818103600083015261517281614cfd565b9050919050565b6000602082019050818103600083015261519281614d20565b9050919050565b60006020820190506151ae6000830184614d52565b92915050565b60006151be6151cf565b90506151ca8282615592565b919050565b6000604051905090565b600067ffffffffffffffff8211156151f4576151f361570d565b5b6151fd82615750565b9050602081019050919050565b600067ffffffffffffffff8211156152255761522461570d565b5b61522e82615750565b9050602081019050919050565b6000819050919050565b60008190508160005260206000209050919050565b6000600c9050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152d6826154ae565b91506152e1836154ae565b9250826fffffffffffffffffffffffffffffffff0382111561530657615305615651565b5b828201905092915050565b600061531c826154ea565b9150615327836154ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561535c5761535b615651565b5b828201905092915050565b6000615372826154ea565b915061537d836154ea565b92508261538d5761538c615680565b5b828204905092915050565b60006153a3826154ea565b91506153ae836154ea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153e7576153e6615651565b5b828202905092915050565b60006153fd826154ae565b9150615408836154ae565b92508282101561541b5761541a615651565b5b828203905092915050565b6000615431826154ea565b915061543c836154ea565b92508282101561544f5761544e615651565b5b828203905092915050565b6000615465826154ca565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615521578082015181840152602081019050615506565b83811115615530576000848401525b50505050565b6000615541826154ea565b9150600082141561555557615554615651565b5b600182039050919050565b6000600282049050600182168061557857607f821691505b6020821081141561558c5761558b6156af565b5b50919050565b61559b82615750565b810181811067ffffffffffffffff821117156155ba576155b961570d565b5b80604052505050565b60006155ce826154ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561560157615600615651565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061562b826154ea565b9150615636836154ea565b92508261564657615645615680565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f2273656c6c65725f6665655f62617369735f706f696e7473223a3130302c226660008201527f65655f726563697069656e74223a220000000000000000000000000000000000602082015250565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b7f67726964732c206372656174656420776974682066756c6c79206f6e2d63686160008201527f696e2070736575646f72616e646f6d6e6573732e20496e66696e697465206d6960208201527f6e742e2000000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f2265787465726e616c5f6c696e6b223a22000000000000000000000000000000600082015250565b7f226465736372697074696f6e223a224120636f6c6c656374696f6e206f66207260008201527f616e646f6d6c792067656e65726174656420313678313620706978656c200000602082015250565b7f72616e646f6d6e657373206e6f74207965742073656564656400000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f22696d616765223a22646174613a696d6167652f7376672b786d6c3b7574663860008201527f2c00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f72616e646f6d6e65737320616c72656164792073656564656400000000000000600082015250565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b7f506978656c73206d696e7420696e207061636b73206f6620313020706572206d60008201527f696e742e2045616368207061636b20636f73747320302e303033204554482e00602082015250565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a22426173656420506978656c73222c0000000000000000000000000000602082015250565b7f46696e6420796f7572206661766f7269746520706978656c2064657369676e2e60008201527f2048617070792068756e74696e6721205468697320697320612043433020707260208201527f6f6a6563742e222c000000000000000000000000000000000000000000000000604082015250565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f6d696e7420697320706175736564000000000000000000000000000000000000600082015250565b615cbe8161545a565b8114615cc957600080fd5b50565b615cd58161546c565b8114615ce057600080fd5b50565b615cec81615482565b8114615cf757600080fd5b50565b615d03816154ea565b8114615d0e57600080fd5b5056fea2646970667358221220427240ee6014d4f4f2b200dbd11b515012fd026f32f32d9d2feac7463aabc1aa64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000aa87bee538000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000ccb7b5fc0dc232fe67c9c111bcb3b6adbe9fef49000000000000000000000000f77a43507eb2004a715ae241579f5ad740f36772000000000000000000000000000000000000000000000000000000000000000c426173656420506978656c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006504958454c530000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Based Pixels
Arg [1] : _symbol (string): PIXELS
Arg [2] : _mintPrice (uint256): 3000000000000000
Arg [3] : _maxAllowedMints (uint256): 10
Arg [4] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [5] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [6] : _hexCharsAddress (address): 0xCCB7b5fc0dc232fE67c9C111BCB3B6Adbe9fEF49
Arg [7] : _pixelURIParserAddress (address): 0xf77a43507Eb2004A715aE241579F5Ad740F36772

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 000000000000000000000000ccb7b5fc0dc232fe67c9c111bcb3b6adbe9fef49
Arg [7] : 000000000000000000000000f77a43507eb2004a715ae241579f5ad740f36772
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [9] : 426173656420506978656c730000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 504958454c530000000000000000000000000000000000000000000000000000


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.