ETH Price: $2,341.95 (+0.91%)

Token

Wiggles (Wiggles)
 

Overview

Max Total Supply

206 Wiggles

Holders

80

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
icloudmail.eth
Balance
2 Wiggles
0x3c12bA2B6D6a1f1Bc754315d30eBd65F954A7530
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Wiggles

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Wiggles.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.2

/****************************************************************************
    Wiggles NFT Collection

      Genesis Phase - 555 Supply
      Total - 5555 Supply

    Welcome to Wiggle World

    Written by Oliver Straszynski
    https://github.com/broliver12/
****************************************************************************/

pragma solidity ^0.8.4;

import './ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/utils/Strings.sol';

contract Wiggles is Ownable, ERC721A, ReentrancyGuard {
    // Control Params
    bool public isGenesis = true;
    bool private genesisRevealed;
    bool private revealed;
    string private baseURI;
    string private notRevealedURI;
    string private baseExtension = '.json';
    uint256 private numBackgrounds = 5;
    bool public freeWhitelistEnabled;
    bool public paidWhitelistEnabled;
    bool public publicMintEnabled;
    uint256 public immutable genesisDevCutoff;
    uint256 public immutable totalDevSupply;
    uint256 public immutable totalCollectionSize;
    uint256 public immutable genesisCollectionSize;

    // Mint Limits
    uint256 public maxMintsOg = 2;
    uint256 public ogWlMints = 1;
    uint256 public maxMintsWhitelist = 3;
    uint256 public maxMints = 20;

    // Price
    uint256 public unitPrice = 0.02 ether;

    // TOTAL supply for devs, marketing, friends, family
    uint256 private remainingDevSupply = 55;

    // Map of wallets => slot counts
    mapping(address => uint256) public genesisOg;
    mapping(address => uint256) public genesisWhitelist;
    mapping(address => uint256) public freeWhitelist;
    mapping(address => uint256) public paidWhitelist;

    // Constructor
    constructor() ERC721A('Wiggles', 'Wiggles') {
        // Set collection size
        genesisCollectionSize = 555;
        totalCollectionSize = 5555;
        // Set dev supply
        // 15 for Genesis Phase
        // 55 total
        genesisDevCutoff = 40;
        totalDevSupply = remainingDevSupply;
    }

    // Ensure caller is a wallet
    modifier isWallet() {
        require(tx.origin == msg.sender, 'Cant be a contract');
        _;
    }

    // Ensure there's enough supply to mint the quantity
    modifier enoughSupply(uint256 quantity) {
        if (isGenesis) {
            require(totalSupply() + quantity <= genesisCollectionSize, 'reached genesis supply');
        } else {
            require(totalSupply() + quantity <= totalCollectionSize, 'reached max supply');
        }
        _;
    }

    // Mint function for OG sale
    // Caller MUST be OG-Whitelisted to use this function!
    function freeWhitelistMint() external isWallet enoughSupply(maxMintsOg) {
        require(freeWhitelistEnabled, 'OG sale not enabled');
        if (isGenesis) {
            require(genesisOg[msg.sender] >= maxMintsOg, 'Not a wiggle world OG');
            genesisOg[msg.sender] = genesisOg[msg.sender] - maxMintsOg;
        } else {
            require(freeWhitelist[msg.sender] >= maxMintsOg, 'Not a wiggle world OG');
            freeWhitelist[msg.sender] = freeWhitelist[msg.sender] - maxMintsOg;
        }
        _safeMint(msg.sender, maxMintsOg);
    }

    // Mint function for whitelist sale
    // Requires minimum ETH value of unitPrice * quantity
    // Caller MUST be whitelisted to use this function!
    function paidWhitelistMint(uint256 quantity) external payable isWallet enoughSupply(quantity) {
        require(paidWhitelistEnabled, 'Whitelist sale not enabled');
        require(msg.value >= quantity * unitPrice, 'Not enough ETH');
        if (isGenesis) {
            require(genesisWhitelist[msg.sender] >= quantity, 'No whitelist mints left');
            genesisWhitelist[msg.sender] = genesisWhitelist[msg.sender] - quantity;
        } else {
            require(paidWhitelist[msg.sender] >= quantity, 'No whitelist mints left');
            paidWhitelist[msg.sender] = paidWhitelist[msg.sender] - quantity;
        }
        _safeMint(msg.sender, quantity);
        refundIfOver(quantity * unitPrice);
    }

    // Mint function for public sale
    // Requires minimum ETH value of unitPrice * quantity
    function publicMint(uint256 quantity) external payable isWallet enoughSupply(quantity) {
        require(publicMintEnabled, 'Minting not enabled');
        require(quantity <= maxMints, 'Illegal quantity');
        require(numberMinted(msg.sender) + quantity <= maxMints, 'Cant mint that many');
        require(msg.value >= quantity * unitPrice, 'Not enough ETH');
        _safeMint(msg.sender, quantity);
        refundIfOver(quantity * unitPrice);
    }

    // Mint function for developers (owner)
    // Mints a maximum of 20 NFTs to the recipient
    // Used for devs, marketing, friends, family
    // Capped at 55 mints total
    function devMint(uint256 quantity, address recipient)
        external
        onlyOwner
        enoughSupply(quantity)
    {
        if (isGenesis) {
            require(remainingDevSupply - quantity >= genesisDevCutoff, 'No dev supply (genesis)');
        } else {
            require(remainingDevSupply - quantity >= 0, 'Not enough dev supply');
        }
        require(quantity <= maxMints, 'Illegal quantity');
        require(numberMinted(recipient) + quantity <= maxMints, 'Cant mint that many (dev)');
        remainingDevSupply = remainingDevSupply - quantity;
        _safeMint(recipient, quantity);
    }

    // Returns the correct URI for the given tokenId based on contract state
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'Nonexistent token');
        if (
            (tokenId < genesisCollectionSize && genesisRevealed == false) ||
            (tokenId >= genesisCollectionSize && revealed == false)
        ) {
            return
                bytes(notRevealedURI).length > 0
                    ? string(
                        abi.encodePacked(
                            notRevealedURI,
                            Strings.toString(tokenId % numBackgrounds),
                            baseExtension
                        )
                    )
                    : '';
        }
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, Strings.toString(tokenId), baseExtension))
                : '';
    }

    // Set Price for Whitelist & Public Mint.
    // Should only be called once,
    // To change price between genesis and second mint.
    function setPrice(uint256 _price) external onlyOwner {
        unitPrice = _price;
    }

    // Update relevant mint format variables.
    // Should only be called once,
    // To change price between genesis and second mint.
    function updateMintFormat(
        uint256 _ogSlots,
        uint256 _ogWlSlots,
        uint256 _wlSlots,
        uint256 _maxMints,
        uint256 _numBackgrounds
    ) external onlyOwner {
        maxMintsOg = _ogSlots;
        ogWlMints = _ogWlSlots;
        maxMintsWhitelist = _wlSlots;
        maxMints = _maxMints;
        numBackgrounds = _numBackgrounds;
    }

    // Evolves the contract from Genesis phase
    function evolve() external onlyOwner {
        isGenesis = false;
    }

    // Change base metadata URI
    // Only will be called if something fatal happens to initial base URI
    function setBaseURI(string calldata _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    // Only will be called if something fatal happens to initial base URI
    function setBaseExtension(string calldata _baseExtension) external onlyOwner {
        baseExtension = _baseExtension;
    }

    // Sets URI for pre-reveal art metadata
    function setNotRevealedURI(string calldata _notRevealedURI) external onlyOwner {
        notRevealedURI = _notRevealedURI;
    }

    // Set the mint state
    function setMintState(uint256 _state) external onlyOwner {
        if (_state == 1) {
            freeWhitelistEnabled = true;
        } else if (_state == 2) {
            paidWhitelistEnabled = true;
        } else if (_state == 3) {
            publicMintEnabled = true;
        } else {
            freeWhitelistEnabled = false;
            paidWhitelistEnabled = false;
            publicMintEnabled = false;
        }
    }

    // Set revealed to true (displays baseURI instead of notRevealedURI on opensea)
    function reveal(bool _revealed) external onlyOwner {
        if (isGenesis) {
            genesisRevealed = _revealed;
        } else {
            genesisRevealed = _revealed;
            revealed = _revealed;
        }
    }

    // Seed the appropriate whitelist
    function setWhitelist(address[] calldata addrs, bool isOG) external onlyOwner {
        if (isOG) {
            for (uint256 i = 0; i < addrs.length; i++) {
                if (isGenesis) {
                    genesisOg[addrs[i]] = maxMintsOg;
                    genesisWhitelist[addrs[i]] = ogWlMints;
                } else {
                    freeWhitelist[addrs[i]] = maxMintsOg;
                    paidWhitelist[addrs[i]] = ogWlMints;
                }
            }
        } else {
            for (uint256 i = 0; i < addrs.length; i++) {
                if (isGenesis) {
                    genesisWhitelist[addrs[i]] = maxMintsWhitelist;
                } else {
                    paidWhitelist[addrs[i]] = maxMintsWhitelist;
                }
            }
        }
    }

    // Returns the amount the address has minted
    function numberMinted(address minterAddr) public view returns (uint256) {
        return _numberMinted(minterAddr);
    }

    // Returns the ownership data for the given tokenId
    function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
        return ownershipOf(tokenId);
    }

    // Withdraw entire contract value to owners wallet
    function withdraw() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}('');
        require(success, 'Withdraw failed');
    }

    // Refunds extra ETH if minter sends too much
    function refundIfOver(uint256 price) private {
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }
}

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

/*************************************
    v3.0.0

    Edits by Oliver Straszynski:

    - Extend IERC721Enumerable
    - Override totalSupply()
    - Re-add tokenOfOwnerByIndex()
*************************************/

pragma solidity ^0.8.4;

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

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

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

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

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

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

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

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

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

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"evolve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeWhitelistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"genesisCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesisDevCutoff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"genesisOg","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"genesisWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"isGenesis","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsOg","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minterAddr","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogWlMints","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":[{"internalType":"address","name":"","type":"address"}],"name":"paidWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paidWhitelistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"paidWhitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_state","type":"uint256"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"bool","name":"isOG","type":"bool"}],"name":"setWhitelist","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":"totalCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDevSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ogSlots","type":"uint256"},{"internalType":"uint256","name":"_ogWlSlots","type":"uint256"},{"internalType":"uint256","name":"_wlSlots","type":"uint256"},{"internalType":"uint256","name":"_maxMints","type":"uint256"},{"internalType":"uint256","name":"_numBackgrounds","type":"uint256"}],"name":"updateMintFormat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040526001600a60006101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d90805190602001906200006d92919062000281565b506005600e55600260105560016011556003601255601460135566470de4df8200006014556037601555348015620000a457600080fd5b506040518060400160405280600781526020017f576967676c6573000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f576967676c6573000000000000000000000000000000000000000000000000008152506200013162000125620001b060201b60201c565b620001b860201b60201c565b81600390805190602001906200014992919062000281565b5080600490805190602001906200016292919062000281565b50620001736200027c60201b60201c565b6001819055505050600160098190555061022b60e081815250506115b360c0818152505060286080818152505060155460a0818152505062000396565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b8280546200028f9062000331565b90600052602060002090601f016020900481019282620002b35760008555620002ff565b82601f10620002ce57805160ff1916838001178555620002ff565b82800160010185558215620002ff579182015b82811115620002fe578251825591602001919060010190620002e1565b5b5090506200030e919062000312565b5090565b5b808211156200032d57600081600090555060010162000313565b5090565b600060028204905060018216806200034a57607f821691505b6020821081141562000361576200036062000367565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60805160a05160c05160e051615df36200041d60003960008181610e8a015281816111f10152818161150101528181611e2a015281816125cd0152818161316e01526131b601526000818161126b0152818161157b01528181611ea4015281816126470152613024015260006130d00152600081816112f6015261344b0152615df36000f3fe6080604052600436106102ff5760003560e01c80638da5cb5b11610190578063c4da788e116100dc578063dc33e68111610095578063e985e9c51161006f578063e985e9c514610b76578063ed9fa26114610bb3578063f2c4ce1e14610bde578063f2fde38b14610c07576102ff565b8063dc33e68114610ad1578063e325046c14610b0e578063e73faa2d14610b4b576102ff565b8063c4da788e1461099b578063c6b9a8ff146109d8578063c87b56dd14610a15578063cb906af814610a52578063ce0bf4b714610a7d578063da3ef23f14610aa8576102ff565b8063a22cb46511610149578063a762c65a11610123578063a762c65a146108f1578063b6b6f0c31461091c578063b88d4fde14610947578063bea5149014610970576102ff565b8063a22cb46514610872578063a4da9b1b1461089b578063a67b9d63146108c6576102ff565b80638da5cb5b146107625780638f3ac5301461078d57806391b7f5ed146107b85780639231ab2a146107e1578063940cd05b1461081e57806395d89b4114610847576102ff565b80632f745c591161024f57806355f804b31161020857806370a08231116101e257806370a08231146106ce578063715018a61461070b578063734b8147146107225780637de0c0d614610739576102ff565b806355f804b31461064c5780636352211e146106755780636970956c146106b2576102ff565b80632f745c59146105525780633c271a051461058f5780633c87ed6c146105b85780633ccfd60b146105cf57806342842e0e146105e65780634f6ccce71461060f576102ff565b80630f4161aa116102bc57806318160ddd1161029657806318160ddd146104b957806323b872dd146104e45780632d1a12f61461050d5780632db1154414610536576102ff565b80630f4161aa146104265780630f4ed54d1461045157806310b131d01461048e576102ff565b806301ffc9a71461030457806306fdde0314610341578063081812fc1461036c57806308b205ec146103a9578063095ea7b3146103d45780630bb862d1146103fd575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190614c7e565b610c30565b6040516103389190615318565b60405180910390f35b34801561034d57600080fd5b50610356610d7a565b6040516103639190615333565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e9190614d15565b610e0c565b6040516103a091906152b1565b60405180910390f35b3480156103b557600080fd5b506103be610e88565b6040516103cb91906155d0565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f69190614bc1565b610eac565b005b34801561040957600080fd5b50610424600480360381019061041f9190614d15565b610fb7565b005b34801561043257600080fd5b5061043b611105565b6040516104489190615318565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190614a56565b611118565b60405161048591906155d0565b60405180910390f35b34801561049a57600080fd5b506104a3611130565b6040516104b091906155d0565b60405180910390f35b3480156104c557600080fd5b506104ce611136565b6040516104db91906155d0565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190614abb565b61114d565b005b34801561051957600080fd5b50610534600480360381019061052f9190614d3e565b61115d565b005b610550600480360381019061054b9190614d15565b61147b565b005b34801561055e57600080fd5b5061057960048036038101906105749190614bc1565b61174f565b60405161058691906155d0565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190614bfd565b611929565b005b3480156105c457600080fd5b506105cd611da2565b005b3480156105db57600080fd5b506105e46121b9565b005b3480156105f257600080fd5b5061060d60048036038101906106089190614abb565b61233a565b005b34801561061b57600080fd5b5061063660048036038101906106319190614d15565b61235a565b60405161064391906155d0565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190614cd0565b61249f565b005b34801561068157600080fd5b5061069c60048036038101906106979190614d15565b612531565b6040516106a991906152b1565b60405180910390f35b6106cc60048036038101906106c79190614d15565b612547565b005b3480156106da57600080fd5b506106f560048036038101906106f09190614a56565b6129b9565b60405161070291906155d0565b60405180910390f35b34801561071757600080fd5b50610720612a89565b005b34801561072e57600080fd5b50610737612b11565b005b34801561074557600080fd5b50610760600480360381019061075b9190614d7a565b612baa565b005b34801561076e57600080fd5b50610777612c50565b60405161078491906152b1565b60405180910390f35b34801561079957600080fd5b506107a2612c79565b6040516107af91906155d0565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190614d15565b612c7f565b005b3480156107ed57600080fd5b5061080860048036038101906108039190614d15565b612d05565b60405161081591906155b5565b60405180910390f35b34801561082a57600080fd5b5061084560048036038101906108409190614c55565b612d1d565b005b34801561085357600080fd5b5061085c612e05565b6040516108699190615333565b60405180910390f35b34801561087e57600080fd5b5061089960048036038101906108949190614b85565b612e97565b005b3480156108a757600080fd5b506108b061300f565b6040516108bd9190615318565b60405180910390f35b3480156108d257600080fd5b506108db613022565b6040516108e891906155d0565b60405180910390f35b3480156108fd57600080fd5b50610906613046565b60405161091391906155d0565b60405180910390f35b34801561092857600080fd5b5061093161304c565b60405161093e91906155d0565b60405180910390f35b34801561095357600080fd5b5061096e60048036038101906109699190614b0a565b613052565b005b34801561097c57600080fd5b506109856130ce565b60405161099291906155d0565b60405180910390f35b3480156109a757600080fd5b506109c260048036038101906109bd9190614a56565b6130f2565b6040516109cf91906155d0565b60405180910390f35b3480156109e457600080fd5b506109ff60048036038101906109fa9190614a56565b61310a565b604051610a0c91906155d0565b60405180910390f35b348015610a2157600080fd5b50610a3c6004803603810190610a379190614d15565b613122565b604051610a499190615333565b60405180910390f35b348015610a5e57600080fd5b50610a676132cd565b604051610a749190615318565b60405180910390f35b348015610a8957600080fd5b50610a926132e0565b604051610a9f9190615318565b60405180910390f35b348015610ab457600080fd5b50610acf6004803603810190610aca9190614cd0565b6132f3565b005b348015610add57600080fd5b50610af86004803603810190610af39190614a56565b613385565b604051610b0591906155d0565b60405180910390f35b348015610b1a57600080fd5b50610b356004803603810190610b309190614a56565b613397565b604051610b4291906155d0565b60405180910390f35b348015610b5757600080fd5b50610b606133af565b604051610b6d91906155d0565b60405180910390f35b348015610b8257600080fd5b50610b9d6004803603810190610b989190614a7f565b6133b5565b604051610baa9190615318565b60405180910390f35b348015610bbf57600080fd5b50610bc8613449565b604051610bd591906155d0565b60405180910390f35b348015610bea57600080fd5b50610c056004803603810190610c009190614cd0565b61346d565b005b348015610c1357600080fd5b50610c2e6004803603810190610c299190614a56565b6134ff565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cfb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d6357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d735750610d72826135f7565b5b9050919050565b606060038054610d8990615883565b80601f0160208091040260200160405190810160405280929190818152602001828054610db590615883565b8015610e025780601f10610dd757610100808354040283529160200191610e02565b820191906000526020600020905b815481529060010190602001808311610de557829003601f168201915b5050505050905090565b6000610e1782613661565b610e4d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610eb782612531565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f1f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f3e6136af565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f705750610f6e81610f696136af565b6133b5565b155b15610fa7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb28383836136b7565b505050565b610fbf6136af565b73ffffffffffffffffffffffffffffffffffffffff16610fdd612c50565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a90615515565b60405180910390fd5b600181141561105c576001600f60006101000a81548160ff021916908315150217905550611102565b6002811415611085576001600f60016101000a81548160ff021916908315150217905550611101565b60038114156110ae576001600f60026101000a81548160ff021916908315150217905550611100565b6000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055505b5b5b50565b600f60029054906101000a900460ff1681565b60186020528060005260406000206000915090505481565b60125481565b6000611140613769565b6002546001540303905090565b61115883838361376e565b505050565b6111656136af565b73ffffffffffffffffffffffffffffffffffffffff16611183612c50565b73ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090615515565b60405180910390fd5b81600a60009054906101000a900460ff1615611269577f000000000000000000000000000000000000000000000000000000000000000081611219611136565b61122391906156a4565b1115611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90615555565b60405180910390fd5b6112df565b7f000000000000000000000000000000000000000000000000000000000000000081611293611136565b61129d91906156a4565b11156112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d5906154b5565b60405180910390fd5b5b600a60009054906101000a900460ff1615611369577f0000000000000000000000000000000000000000000000000000000000000000836015546113239190615785565b1015611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90615435565b60405180910390fd5b6113bb565b6000836015546113799190615785565b10156113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b1906154d5565b60405180910390fd5b5b601354831115611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790615475565b60405180910390fd5b6013548361140d84613385565b61141791906156a4565b1115611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f90615395565b60405180910390fd5b826015546114669190615785565b6015819055506114768284613c5f565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090615415565b60405180910390fd5b80600a60009054906101000a900460ff1615611579577f000000000000000000000000000000000000000000000000000000000000000081611529611136565b61153391906156a4565b1115611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b90615555565b60405180910390fd5b6115ef565b7f0000000000000000000000000000000000000000000000000000000000000000816115a3611136565b6115ad91906156a4565b11156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e5906154b5565b60405180910390fd5b5b600f60029054906101000a900460ff1661163e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163590615535565b60405180910390fd5b601354821115611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90615475565b60405180910390fd5b6013548261169033613385565b61169a91906156a4565b11156116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290615595565b60405180910390fd5b601454826116e9919061572b565b34101561172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906154f5565b60405180910390fd5b6117353383613c5f565b61174b60145483611746919061572b565b613c7d565b5050565b600061175a836129b9565b8210611792576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600154905060008060005b8381101561191d576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561187c5750611910565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146118bc57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561190e5786841415611905578195505050505050611923565b83806001019450505b505b808060010191505061179f565b50600080fd5b92915050565b6119316136af565b73ffffffffffffffffffffffffffffffffffffffff1661194f612c50565b73ffffffffffffffffffffffffffffffffffffffff16146119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90615515565b60405180910390fd5b8015611c395760005b83839050811015611c3357600a60009054906101000a900460ff1615611af95760105460166000868685818110611a0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a239190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060115460176000868685818110611aa1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611ab69190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c20565b60105460186000868685818110611b39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611b4e9190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060115460196000868685818110611bcc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611be19190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8080611c2b906158e6565b9150506119ae565b50611d9d565b60005b83839050811015611d9b57600a60009054906101000a900460ff1615611cf45760125460176000868685818110611c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611cb19190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d88565b60125460196000868685818110611d34577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d499190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8080611d93906158e6565b915050611c3c565b505b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0790615415565b60405180910390fd5b601054600a60009054906101000a900460ff1615611ea2577f000000000000000000000000000000000000000000000000000000000000000081611e52611136565b611e5c91906156a4565b1115611e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9490615555565b60405180910390fd5b611f18565b7f000000000000000000000000000000000000000000000000000000000000000081611ecc611136565b611ed691906156a4565b1115611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e906154b5565b60405180910390fd5b5b600f60009054906101000a900460ff16611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e90615355565b60405180910390fd5b600a60009054906101000a900460ff161561209557601054601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff7906153b5565b60405180910390fd5b601054601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461204d9190615785565b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506121aa565b601054601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612119576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612110906153b5565b60405180910390fd5b601054601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121669190615785565b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6121b633601054613c5f565b50565b6121c16136af565b73ffffffffffffffffffffffffffffffffffffffff166121df612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222c90615515565b60405180910390fd5b6002600954141561227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227290615575565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516122a99061529c565b60006040518083038185875af1925050503d80600081146122e6576040519150601f19603f3d011682016040523d82523d6000602084013e6122eb565b606091505b505090508061232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906153f5565b60405180910390fd5b506001600981905550565b61235583838360405180602001604052806000815250613052565b505050565b60008060015490506000805b82811015612467576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516124595785831415612450578194505050505061249a565b82806001019350505b508080600101915050612366565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6124a76136af565b73ffffffffffffffffffffffffffffffffffffffff166124c5612c50565b73ffffffffffffffffffffffffffffffffffffffff161461251b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251290615515565b60405180910390fd5b8181600b919061252c92919061480b565b505050565b600061253c82613cdb565b600001519050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90615415565b60405180910390fd5b80600a60009054906101000a900460ff1615612645577f0000000000000000000000000000000000000000000000000000000000000000816125f5611136565b6125ff91906156a4565b1115612640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263790615555565b60405180910390fd5b6126bb565b7f00000000000000000000000000000000000000000000000000000000000000008161266f611136565b61267991906156a4565b11156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b1906154b5565b60405180910390fd5b5b600f60019054906101000a900460ff1661270a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270190615375565b60405180910390fd5b60145482612718919061572b565b34101561275a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612751906154f5565b60405180910390fd5b600a60009054906101000a900460ff16156128845781601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e890615455565b60405180910390fd5b81601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461283c9190615785565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612995565b81601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fd90615455565b60405180910390fd5b81601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129519190615785565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b61299f3383613c5f565b6129b5601454836129b0919061572b565b613c7d565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a21576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612a916136af565b73ffffffffffffffffffffffffffffffffffffffff16612aaf612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afc90615515565b60405180910390fd5b612b0f6000613f6a565b565b612b196136af565b73ffffffffffffffffffffffffffffffffffffffff16612b37612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8490615515565b60405180910390fd5b6000600a60006101000a81548160ff021916908315150217905550565b612bb26136af565b73ffffffffffffffffffffffffffffffffffffffff16612bd0612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1d90615515565b60405180910390fd5b8460108190555083601181905550826012819055508160138190555080600e819055505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b612c876136af565b73ffffffffffffffffffffffffffffffffffffffff16612ca5612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf290615515565b60405180910390fd5b8060148190555050565b612d0d614891565b612d1682613cdb565b9050919050565b612d256136af565b73ffffffffffffffffffffffffffffffffffffffff16612d43612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9090615515565b60405180910390fd5b600a60009054906101000a900460ff1615612dcd5780600a60016101000a81548160ff021916908315150217905550612e02565b80600a60016101000a81548160ff02191690831515021790555080600a60026101000a81548160ff0219169083151502179055505b50565b606060048054612e1490615883565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4090615883565b8015612e8d5780601f10612e6257610100808354040283529160200191612e8d565b820191906000526020600020905b815481529060010190602001808311612e7057829003601f168201915b5050505050905090565b612e9f6136af565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f04576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000612f116136af565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612fbe6136af565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130039190615318565b60405180910390a35050565b600f60009054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60115481565b60135481565b61305d84848461376e565b61307c8373ffffffffffffffffffffffffffffffffffffffff1661402e565b8015613091575061308f84848484614041565b155b156130c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60176020528060005260406000206000915090505481565b60166020528060005260406000206000915090505481565b606061312d82613661565b61316c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316390615495565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000821080156131ae575060001515600a60019054906101000a900460ff161515145b806131f857507f000000000000000000000000000000000000000000000000000000000000000082101580156131f7575060001515600a60029054906101000a900460ff161515145b5b1561326b576000600c805461320c90615883565b9050116132285760405180602001604052806000815250613264565b600c613240600e548461323b919061592f565b6141a1565b600d6040516020016132549392919061526b565b6040516020818303038152906040525b90506132c8565b6000600b805461327a90615883565b90501161329657604051806020016040528060008152506132c5565b600b6132a1836141a1565b600d6040516020016132b59392919061526b565b6040516020818303038152906040525b90505b919050565b600a60009054906101000a900460ff1681565b600f60019054906101000a900460ff1681565b6132fb6136af565b73ffffffffffffffffffffffffffffffffffffffff16613319612c50565b73ffffffffffffffffffffffffffffffffffffffff161461336f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336690615515565b60405180910390fd5b8181600d919061338092919061480b565b505050565b60006133908261434e565b9050919050565b60196020528060005260406000206000915090505481565b60145481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6134756136af565b73ffffffffffffffffffffffffffffffffffffffff16613493612c50565b73ffffffffffffffffffffffffffffffffffffffff16146134e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e090615515565b60405180910390fd5b8181600c91906134fa92919061480b565b505050565b6135076136af565b73ffffffffffffffffffffffffffffffffffffffff16613525612c50565b73ffffffffffffffffffffffffffffffffffffffff161461357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615515565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e2906153d5565b60405180910390fd5b6135f481613f6a565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161366c613769565b1115801561367b575060015482105b80156136a8575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061377982613cdb565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166137a06136af565b73ffffffffffffffffffffffffffffffffffffffff1614806137d357506137d282600001516137cd6136af565b6133b5565b5b8061381857506137e16136af565b73ffffffffffffffffffffffffffffffffffffffff1661380084610e0c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613851576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146138ba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613921576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61392e858585600161441e565b61393e60008484600001516136b7565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613bef57600154811015613bee5782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c588585856001614424565b5050505050565b613c7982826040518060200160405280600081525061442a565b5050565b80341115613cd8573373ffffffffffffffffffffffffffffffffffffffff166108fc8234613cab9190615785565b9081150290604051600060405180830381858888f19350505050158015613cd6573d6000803e3d6000fd5b505b50565b613ce3614891565b600082905080613cf1613769565b11158015613d00575060015481105b15613f33576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151613f3157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613e15578092505050613f65565b5b600115613f3057818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613f2b578092505050613f65565b613e16565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026140676136af565b8786866040518563ffffffff1660e01b815260040161408994939291906152cc565b602060405180830381600087803b1580156140a357600080fd5b505af19250505080156140d457506040513d601f19601f820116820180604052508101906140d19190614ca7565b60015b61414e573d8060008114614104576040519150601f19603f3d011682016040523d82523d6000602084013e614109565b606091505b50600081511415614146576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156141e9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614349565b600082905060005b6000821461421b578080614204906158e6565b915050600a8261421491906156fa565b91506141f1565b60008167ffffffffffffffff81111561425d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561428f5781602001600182028036833780820191505090505b5090505b60008514614342576001826142a89190615785565b9150600a856142b7919061592f565b60306142c391906156a4565b60f81b8183815181106142ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561433b91906156fa565b9450614293565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156143b6576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b614437838383600161443c565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156144aa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156144e5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6144f2600086838761441e565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156146bc57506146bb8773ffffffffffffffffffffffffffffffffffffffff1661402e565b5b15614782575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46147316000888480600101955088614041565b614767576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156146c257826001541461477d57600080fd5b6147ee565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415614783575b8160018190555050506148046000868387614424565b5050505050565b82805461481790615883565b90600052602060002090601f0160209004810192826148395760008555614880565b82601f1061485257803560ff1916838001178555614880565b82800160010185558215614880579182015b8281111561487f578235825591602001919060010190614864565b5b50905061488d91906148d4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156148ed5760008160009055506001016148d5565b5090565b60006149046148ff84615610565b6155eb565b90508281526020810184848401111561491c57600080fd5b614927848285615841565b509392505050565b60008135905061493e81615d61565b92915050565b60008083601f84011261495657600080fd5b8235905067ffffffffffffffff81111561496f57600080fd5b60208301915083602082028301111561498757600080fd5b9250929050565b60008135905061499d81615d78565b92915050565b6000813590506149b281615d8f565b92915050565b6000815190506149c781615d8f565b92915050565b600082601f8301126149de57600080fd5b81356149ee8482602086016148f1565b91505092915050565b60008083601f840112614a0957600080fd5b8235905067ffffffffffffffff811115614a2257600080fd5b602083019150836001820283011115614a3a57600080fd5b9250929050565b600081359050614a5081615da6565b92915050565b600060208284031215614a6857600080fd5b6000614a768482850161492f565b91505092915050565b60008060408385031215614a9257600080fd5b6000614aa08582860161492f565b9250506020614ab18582860161492f565b9150509250929050565b600080600060608486031215614ad057600080fd5b6000614ade8682870161492f565b9350506020614aef8682870161492f565b9250506040614b0086828701614a41565b9150509250925092565b60008060008060808587031215614b2057600080fd5b6000614b2e8782880161492f565b9450506020614b3f8782880161492f565b9350506040614b5087828801614a41565b925050606085013567ffffffffffffffff811115614b6d57600080fd5b614b79878288016149cd565b91505092959194509250565b60008060408385031215614b9857600080fd5b6000614ba68582860161492f565b9250506020614bb78582860161498e565b9150509250929050565b60008060408385031215614bd457600080fd5b6000614be28582860161492f565b9250506020614bf385828601614a41565b9150509250929050565b600080600060408486031215614c1257600080fd5b600084013567ffffffffffffffff811115614c2c57600080fd5b614c3886828701614944565b93509350506020614c4b8682870161498e565b9150509250925092565b600060208284031215614c6757600080fd5b6000614c758482850161498e565b91505092915050565b600060208284031215614c9057600080fd5b6000614c9e848285016149a3565b91505092915050565b600060208284031215614cb957600080fd5b6000614cc7848285016149b8565b91505092915050565b60008060208385031215614ce357600080fd5b600083013567ffffffffffffffff811115614cfd57600080fd5b614d09858286016149f7565b92509250509250929050565b600060208284031215614d2757600080fd5b6000614d3584828501614a41565b91505092915050565b60008060408385031215614d5157600080fd5b6000614d5f85828601614a41565b9250506020614d708582860161492f565b9150509250929050565b600080600080600060a08688031215614d9257600080fd5b6000614da088828901614a41565b9550506020614db188828901614a41565b9450506040614dc288828901614a41565b9350506060614dd388828901614a41565b9250506080614de488828901614a41565b9150509295509295909350565b614dfa816157b9565b82525050565b614e09816157b9565b82525050565b614e18816157cb565b82525050565b614e27816157cb565b82525050565b6000614e3882615656565b614e42818561566c565b9350614e52818560208601615850565b614e5b81615a1c565b840191505092915050565b6000614e7182615661565b614e7b8185615688565b9350614e8b818560208601615850565b614e9481615a1c565b840191505092915050565b6000614eaa82615661565b614eb48185615699565b9350614ec4818560208601615850565b80840191505092915050565b60008154614edd81615883565b614ee78186615699565b94506001821660008114614f025760018114614f1357614f46565b60ff19831686528186019350614f46565b614f1c85615641565b60005b83811015614f3e57815481890152600182019150602081019050614f1f565b838801955050505b50505092915050565b6000614f5c601383615688565b9150614f6782615a2d565b602082019050919050565b6000614f7f601a83615688565b9150614f8a82615a56565b602082019050919050565b6000614fa2601983615688565b9150614fad82615a7f565b602082019050919050565b6000614fc5601583615688565b9150614fd082615aa8565b602082019050919050565b6000614fe8602683615688565b9150614ff382615ad1565b604082019050919050565b600061500b600f83615688565b915061501682615b20565b602082019050919050565b600061502e601283615688565b915061503982615b49565b602082019050919050565b6000615051601783615688565b915061505c82615b72565b602082019050919050565b6000615074601783615688565b915061507f82615b9b565b602082019050919050565b6000615097601083615688565b91506150a282615bc4565b602082019050919050565b60006150ba601183615688565b91506150c582615bed565b602082019050919050565b60006150dd601283615688565b91506150e882615c16565b602082019050919050565b6000615100601583615688565b915061510b82615c3f565b602082019050919050565b6000615123600e83615688565b915061512e82615c68565b602082019050919050565b6000615146602083615688565b915061515182615c91565b602082019050919050565b6000615169601383615688565b915061517482615cba565b602082019050919050565b600061518c60008361567d565b915061519782615ce3565b600082019050919050565b60006151af601683615688565b91506151ba82615ce6565b602082019050919050565b60006151d2601f83615688565b91506151dd82615d0f565b602082019050919050565b60006151f5601383615688565b915061520082615d38565b602082019050919050565b6060820160008201516152216000850182614df1565b506020820151615234602085018261525c565b5060408201516152476040850182614e0f565b50505050565b61525681615823565b82525050565b6152658161582d565b82525050565b60006152778286614ed0565b91506152838285614e9f565b915061528f8284614ed0565b9150819050949350505050565b60006152a78261517f565b9150819050919050565b60006020820190506152c66000830184614e00565b92915050565b60006080820190506152e16000830187614e00565b6152ee6020830186614e00565b6152fb604083018561524d565b818103606083015261530d8184614e2d565b905095945050505050565b600060208201905061532d6000830184614e1e565b92915050565b6000602082019050818103600083015261534d8184614e66565b905092915050565b6000602082019050818103600083015261536e81614f4f565b9050919050565b6000602082019050818103600083015261538e81614f72565b9050919050565b600060208201905081810360008301526153ae81614f95565b9050919050565b600060208201905081810360008301526153ce81614fb8565b9050919050565b600060208201905081810360008301526153ee81614fdb565b9050919050565b6000602082019050818103600083015261540e81614ffe565b9050919050565b6000602082019050818103600083015261542e81615021565b9050919050565b6000602082019050818103600083015261544e81615044565b9050919050565b6000602082019050818103600083015261546e81615067565b9050919050565b6000602082019050818103600083015261548e8161508a565b9050919050565b600060208201905081810360008301526154ae816150ad565b9050919050565b600060208201905081810360008301526154ce816150d0565b9050919050565b600060208201905081810360008301526154ee816150f3565b9050919050565b6000602082019050818103600083015261550e81615116565b9050919050565b6000602082019050818103600083015261552e81615139565b9050919050565b6000602082019050818103600083015261554e8161515c565b9050919050565b6000602082019050818103600083015261556e816151a2565b9050919050565b6000602082019050818103600083015261558e816151c5565b9050919050565b600060208201905081810360008301526155ae816151e8565b9050919050565b60006060820190506155ca600083018461520b565b92915050565b60006020820190506155e5600083018461524d565b92915050565b60006155f5615606565b905061560182826158b5565b919050565b6000604051905090565b600067ffffffffffffffff82111561562b5761562a6159ed565b5b61563482615a1c565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006156af82615823565b91506156ba83615823565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156156ef576156ee615960565b5b828201905092915050565b600061570582615823565b915061571083615823565b9250826157205761571f61598f565b5b828204905092915050565b600061573682615823565b915061574183615823565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561577a57615779615960565b5b828202905092915050565b600061579082615823565b915061579b83615823565b9250828210156157ae576157ad615960565b5b828203905092915050565b60006157c482615803565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561586e578082015181840152602081019050615853565b8381111561587d576000848401525b50505050565b6000600282049050600182168061589b57607f821691505b602082108114156158af576158ae6159be565b5b50919050565b6158be82615a1c565b810181811067ffffffffffffffff821117156158dd576158dc6159ed565b5b80604052505050565b60006158f182615823565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561592457615923615960565b5b600182019050919050565b600061593a82615823565b915061594583615823565b9250826159555761595461598f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f472073616c65206e6f7420656e61626c656400000000000000000000000000600082015250565b7f57686974656c6973742073616c65206e6f7420656e61626c6564000000000000600082015250565b7f43616e74206d696e742074686174206d616e7920286465762900000000000000600082015250565b7f4e6f74206120776967676c6520776f726c64204f470000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f43616e74206265206120636f6e74726163740000000000000000000000000000600082015250565b7f4e6f2064657620737570706c79202867656e6573697329000000000000000000600082015250565b7f4e6f2077686974656c697374206d696e7473206c656674000000000000000000600082015250565b7f496c6c6567616c207175616e7469747900000000000000000000000000000000600082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4e6f7420656e6f7567682064657620737570706c790000000000000000000000600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e74696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b50565b7f726561636865642067656e6573697320737570706c7900000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f43616e74206d696e742074686174206d616e7900000000000000000000000000600082015250565b615d6a816157b9565b8114615d7557600080fd5b50565b615d81816157cb565b8114615d8c57600080fd5b50565b615d98816157d7565b8114615da357600080fd5b50565b615daf81615823565b8114615dba57600080fd5b5056fea264697066735822122023b5705fd99ae2bcbfc2b6a46467cbddfd07d1d5c55e8d39e76ff72d7e15827d64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c80638da5cb5b11610190578063c4da788e116100dc578063dc33e68111610095578063e985e9c51161006f578063e985e9c514610b76578063ed9fa26114610bb3578063f2c4ce1e14610bde578063f2fde38b14610c07576102ff565b8063dc33e68114610ad1578063e325046c14610b0e578063e73faa2d14610b4b576102ff565b8063c4da788e1461099b578063c6b9a8ff146109d8578063c87b56dd14610a15578063cb906af814610a52578063ce0bf4b714610a7d578063da3ef23f14610aa8576102ff565b8063a22cb46511610149578063a762c65a11610123578063a762c65a146108f1578063b6b6f0c31461091c578063b88d4fde14610947578063bea5149014610970576102ff565b8063a22cb46514610872578063a4da9b1b1461089b578063a67b9d63146108c6576102ff565b80638da5cb5b146107625780638f3ac5301461078d57806391b7f5ed146107b85780639231ab2a146107e1578063940cd05b1461081e57806395d89b4114610847576102ff565b80632f745c591161024f57806355f804b31161020857806370a08231116101e257806370a08231146106ce578063715018a61461070b578063734b8147146107225780637de0c0d614610739576102ff565b806355f804b31461064c5780636352211e146106755780636970956c146106b2576102ff565b80632f745c59146105525780633c271a051461058f5780633c87ed6c146105b85780633ccfd60b146105cf57806342842e0e146105e65780634f6ccce71461060f576102ff565b80630f4161aa116102bc57806318160ddd1161029657806318160ddd146104b957806323b872dd146104e45780632d1a12f61461050d5780632db1154414610536576102ff565b80630f4161aa146104265780630f4ed54d1461045157806310b131d01461048e576102ff565b806301ffc9a71461030457806306fdde0314610341578063081812fc1461036c57806308b205ec146103a9578063095ea7b3146103d45780630bb862d1146103fd575b600080fd5b34801561031057600080fd5b5061032b60048036038101906103269190614c7e565b610c30565b6040516103389190615318565b60405180910390f35b34801561034d57600080fd5b50610356610d7a565b6040516103639190615333565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e9190614d15565b610e0c565b6040516103a091906152b1565b60405180910390f35b3480156103b557600080fd5b506103be610e88565b6040516103cb91906155d0565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f69190614bc1565b610eac565b005b34801561040957600080fd5b50610424600480360381019061041f9190614d15565b610fb7565b005b34801561043257600080fd5b5061043b611105565b6040516104489190615318565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190614a56565b611118565b60405161048591906155d0565b60405180910390f35b34801561049a57600080fd5b506104a3611130565b6040516104b091906155d0565b60405180910390f35b3480156104c557600080fd5b506104ce611136565b6040516104db91906155d0565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190614abb565b61114d565b005b34801561051957600080fd5b50610534600480360381019061052f9190614d3e565b61115d565b005b610550600480360381019061054b9190614d15565b61147b565b005b34801561055e57600080fd5b5061057960048036038101906105749190614bc1565b61174f565b60405161058691906155d0565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190614bfd565b611929565b005b3480156105c457600080fd5b506105cd611da2565b005b3480156105db57600080fd5b506105e46121b9565b005b3480156105f257600080fd5b5061060d60048036038101906106089190614abb565b61233a565b005b34801561061b57600080fd5b5061063660048036038101906106319190614d15565b61235a565b60405161064391906155d0565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190614cd0565b61249f565b005b34801561068157600080fd5b5061069c60048036038101906106979190614d15565b612531565b6040516106a991906152b1565b60405180910390f35b6106cc60048036038101906106c79190614d15565b612547565b005b3480156106da57600080fd5b506106f560048036038101906106f09190614a56565b6129b9565b60405161070291906155d0565b60405180910390f35b34801561071757600080fd5b50610720612a89565b005b34801561072e57600080fd5b50610737612b11565b005b34801561074557600080fd5b50610760600480360381019061075b9190614d7a565b612baa565b005b34801561076e57600080fd5b50610777612c50565b60405161078491906152b1565b60405180910390f35b34801561079957600080fd5b506107a2612c79565b6040516107af91906155d0565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190614d15565b612c7f565b005b3480156107ed57600080fd5b5061080860048036038101906108039190614d15565b612d05565b60405161081591906155b5565b60405180910390f35b34801561082a57600080fd5b5061084560048036038101906108409190614c55565b612d1d565b005b34801561085357600080fd5b5061085c612e05565b6040516108699190615333565b60405180910390f35b34801561087e57600080fd5b5061089960048036038101906108949190614b85565b612e97565b005b3480156108a757600080fd5b506108b061300f565b6040516108bd9190615318565b60405180910390f35b3480156108d257600080fd5b506108db613022565b6040516108e891906155d0565b60405180910390f35b3480156108fd57600080fd5b50610906613046565b60405161091391906155d0565b60405180910390f35b34801561092857600080fd5b5061093161304c565b60405161093e91906155d0565b60405180910390f35b34801561095357600080fd5b5061096e60048036038101906109699190614b0a565b613052565b005b34801561097c57600080fd5b506109856130ce565b60405161099291906155d0565b60405180910390f35b3480156109a757600080fd5b506109c260048036038101906109bd9190614a56565b6130f2565b6040516109cf91906155d0565b60405180910390f35b3480156109e457600080fd5b506109ff60048036038101906109fa9190614a56565b61310a565b604051610a0c91906155d0565b60405180910390f35b348015610a2157600080fd5b50610a3c6004803603810190610a379190614d15565b613122565b604051610a499190615333565b60405180910390f35b348015610a5e57600080fd5b50610a676132cd565b604051610a749190615318565b60405180910390f35b348015610a8957600080fd5b50610a926132e0565b604051610a9f9190615318565b60405180910390f35b348015610ab457600080fd5b50610acf6004803603810190610aca9190614cd0565b6132f3565b005b348015610add57600080fd5b50610af86004803603810190610af39190614a56565b613385565b604051610b0591906155d0565b60405180910390f35b348015610b1a57600080fd5b50610b356004803603810190610b309190614a56565b613397565b604051610b4291906155d0565b60405180910390f35b348015610b5757600080fd5b50610b606133af565b604051610b6d91906155d0565b60405180910390f35b348015610b8257600080fd5b50610b9d6004803603810190610b989190614a7f565b6133b5565b604051610baa9190615318565b60405180910390f35b348015610bbf57600080fd5b50610bc8613449565b604051610bd591906155d0565b60405180910390f35b348015610bea57600080fd5b50610c056004803603810190610c009190614cd0565b61346d565b005b348015610c1357600080fd5b50610c2e6004803603810190610c299190614a56565b6134ff565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cfb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d6357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d735750610d72826135f7565b5b9050919050565b606060038054610d8990615883565b80601f0160208091040260200160405190810160405280929190818152602001828054610db590615883565b8015610e025780601f10610dd757610100808354040283529160200191610e02565b820191906000526020600020905b815481529060010190602001808311610de557829003601f168201915b5050505050905090565b6000610e1782613661565b610e4d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7f000000000000000000000000000000000000000000000000000000000000022b81565b6000610eb782612531565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f1f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f3e6136af565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f705750610f6e81610f696136af565b6133b5565b155b15610fa7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb28383836136b7565b505050565b610fbf6136af565b73ffffffffffffffffffffffffffffffffffffffff16610fdd612c50565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a90615515565b60405180910390fd5b600181141561105c576001600f60006101000a81548160ff021916908315150217905550611102565b6002811415611085576001600f60016101000a81548160ff021916908315150217905550611101565b60038114156110ae576001600f60026101000a81548160ff021916908315150217905550611100565b6000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055505b5b5b50565b600f60029054906101000a900460ff1681565b60186020528060005260406000206000915090505481565b60125481565b6000611140613769565b6002546001540303905090565b61115883838361376e565b505050565b6111656136af565b73ffffffffffffffffffffffffffffffffffffffff16611183612c50565b73ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090615515565b60405180910390fd5b81600a60009054906101000a900460ff1615611269577f000000000000000000000000000000000000000000000000000000000000022b81611219611136565b61122391906156a4565b1115611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90615555565b60405180910390fd5b6112df565b7f00000000000000000000000000000000000000000000000000000000000015b381611293611136565b61129d91906156a4565b11156112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d5906154b5565b60405180910390fd5b5b600a60009054906101000a900460ff1615611369577f0000000000000000000000000000000000000000000000000000000000000028836015546113239190615785565b1015611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90615435565b60405180910390fd5b6113bb565b6000836015546113799190615785565b10156113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b1906154d5565b60405180910390fd5b5b601354831115611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790615475565b60405180910390fd5b6013548361140d84613385565b61141791906156a4565b1115611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f90615395565b60405180910390fd5b826015546114669190615785565b6015819055506114768284613c5f565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090615415565b60405180910390fd5b80600a60009054906101000a900460ff1615611579577f000000000000000000000000000000000000000000000000000000000000022b81611529611136565b61153391906156a4565b1115611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b90615555565b60405180910390fd5b6115ef565b7f00000000000000000000000000000000000000000000000000000000000015b3816115a3611136565b6115ad91906156a4565b11156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e5906154b5565b60405180910390fd5b5b600f60029054906101000a900460ff1661163e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163590615535565b60405180910390fd5b601354821115611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90615475565b60405180910390fd5b6013548261169033613385565b61169a91906156a4565b11156116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290615595565b60405180910390fd5b601454826116e9919061572b565b34101561172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906154f5565b60405180910390fd5b6117353383613c5f565b61174b60145483611746919061572b565b613c7d565b5050565b600061175a836129b9565b8210611792576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600154905060008060005b8381101561191d576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561187c5750611910565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146118bc57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561190e5786841415611905578195505050505050611923565b83806001019450505b505b808060010191505061179f565b50600080fd5b92915050565b6119316136af565b73ffffffffffffffffffffffffffffffffffffffff1661194f612c50565b73ffffffffffffffffffffffffffffffffffffffff16146119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90615515565b60405180910390fd5b8015611c395760005b83839050811015611c3357600a60009054906101000a900460ff1615611af95760105460166000868685818110611a0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a239190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060115460176000868685818110611aa1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611ab69190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c20565b60105460186000868685818110611b39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611b4e9190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060115460196000868685818110611bcc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611be19190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8080611c2b906158e6565b9150506119ae565b50611d9d565b60005b83839050811015611d9b57600a60009054906101000a900460ff1615611cf45760125460176000868685818110611c9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611cb19190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d88565b60125460196000868685818110611d34577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d499190614a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8080611d93906158e6565b915050611c3c565b505b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0790615415565b60405180910390fd5b601054600a60009054906101000a900460ff1615611ea2577f000000000000000000000000000000000000000000000000000000000000022b81611e52611136565b611e5c91906156a4565b1115611e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9490615555565b60405180910390fd5b611f18565b7f00000000000000000000000000000000000000000000000000000000000015b381611ecc611136565b611ed691906156a4565b1115611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e906154b5565b60405180910390fd5b5b600f60009054906101000a900460ff16611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e90615355565b60405180910390fd5b600a60009054906101000a900460ff161561209557601054601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff7906153b5565b60405180910390fd5b601054601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461204d9190615785565b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506121aa565b601054601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612119576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612110906153b5565b60405180910390fd5b601054601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121669190615785565b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6121b633601054613c5f565b50565b6121c16136af565b73ffffffffffffffffffffffffffffffffffffffff166121df612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222c90615515565b60405180910390fd5b6002600954141561227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227290615575565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516122a99061529c565b60006040518083038185875af1925050503d80600081146122e6576040519150601f19603f3d011682016040523d82523d6000602084013e6122eb565b606091505b505090508061232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906153f5565b60405180910390fd5b506001600981905550565b61235583838360405180602001604052806000815250613052565b505050565b60008060015490506000805b82811015612467576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516124595785831415612450578194505050505061249a565b82806001019350505b508080600101915050612366565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6124a76136af565b73ffffffffffffffffffffffffffffffffffffffff166124c5612c50565b73ffffffffffffffffffffffffffffffffffffffff161461251b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251290615515565b60405180910390fd5b8181600b919061252c92919061480b565b505050565b600061253c82613cdb565b600001519050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90615415565b60405180910390fd5b80600a60009054906101000a900460ff1615612645577f000000000000000000000000000000000000000000000000000000000000022b816125f5611136565b6125ff91906156a4565b1115612640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263790615555565b60405180910390fd5b6126bb565b7f00000000000000000000000000000000000000000000000000000000000015b38161266f611136565b61267991906156a4565b11156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b1906154b5565b60405180910390fd5b5b600f60019054906101000a900460ff1661270a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270190615375565b60405180910390fd5b60145482612718919061572b565b34101561275a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612751906154f5565b60405180910390fd5b600a60009054906101000a900460ff16156128845781601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e890615455565b60405180910390fd5b81601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461283c9190615785565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612995565b81601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fd90615455565b60405180910390fd5b81601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129519190615785565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b61299f3383613c5f565b6129b5601454836129b0919061572b565b613c7d565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a21576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612a916136af565b73ffffffffffffffffffffffffffffffffffffffff16612aaf612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afc90615515565b60405180910390fd5b612b0f6000613f6a565b565b612b196136af565b73ffffffffffffffffffffffffffffffffffffffff16612b37612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8490615515565b60405180910390fd5b6000600a60006101000a81548160ff021916908315150217905550565b612bb26136af565b73ffffffffffffffffffffffffffffffffffffffff16612bd0612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1d90615515565b60405180910390fd5b8460108190555083601181905550826012819055508160138190555080600e819055505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b612c876136af565b73ffffffffffffffffffffffffffffffffffffffff16612ca5612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf290615515565b60405180910390fd5b8060148190555050565b612d0d614891565b612d1682613cdb565b9050919050565b612d256136af565b73ffffffffffffffffffffffffffffffffffffffff16612d43612c50565b73ffffffffffffffffffffffffffffffffffffffff1614612d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9090615515565b60405180910390fd5b600a60009054906101000a900460ff1615612dcd5780600a60016101000a81548160ff021916908315150217905550612e02565b80600a60016101000a81548160ff02191690831515021790555080600a60026101000a81548160ff0219169083151502179055505b50565b606060048054612e1490615883565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4090615883565b8015612e8d5780601f10612e6257610100808354040283529160200191612e8d565b820191906000526020600020905b815481529060010190602001808311612e7057829003601f168201915b5050505050905090565b612e9f6136af565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f04576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000612f116136af565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612fbe6136af565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130039190615318565b60405180910390a35050565b600f60009054906101000a900460ff1681565b7f00000000000000000000000000000000000000000000000000000000000015b381565b60115481565b60135481565b61305d84848461376e565b61307c8373ffffffffffffffffffffffffffffffffffffffff1661402e565b8015613091575061308f84848484614041565b155b156130c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f000000000000000000000000000000000000000000000000000000000000003781565b60176020528060005260406000206000915090505481565b60166020528060005260406000206000915090505481565b606061312d82613661565b61316c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316390615495565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000022b821080156131ae575060001515600a60019054906101000a900460ff161515145b806131f857507f000000000000000000000000000000000000000000000000000000000000022b82101580156131f7575060001515600a60029054906101000a900460ff161515145b5b1561326b576000600c805461320c90615883565b9050116132285760405180602001604052806000815250613264565b600c613240600e548461323b919061592f565b6141a1565b600d6040516020016132549392919061526b565b6040516020818303038152906040525b90506132c8565b6000600b805461327a90615883565b90501161329657604051806020016040528060008152506132c5565b600b6132a1836141a1565b600d6040516020016132b59392919061526b565b6040516020818303038152906040525b90505b919050565b600a60009054906101000a900460ff1681565b600f60019054906101000a900460ff1681565b6132fb6136af565b73ffffffffffffffffffffffffffffffffffffffff16613319612c50565b73ffffffffffffffffffffffffffffffffffffffff161461336f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336690615515565b60405180910390fd5b8181600d919061338092919061480b565b505050565b60006133908261434e565b9050919050565b60196020528060005260406000206000915090505481565b60145481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f000000000000000000000000000000000000000000000000000000000000002881565b6134756136af565b73ffffffffffffffffffffffffffffffffffffffff16613493612c50565b73ffffffffffffffffffffffffffffffffffffffff16146134e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e090615515565b60405180910390fd5b8181600c91906134fa92919061480b565b505050565b6135076136af565b73ffffffffffffffffffffffffffffffffffffffff16613525612c50565b73ffffffffffffffffffffffffffffffffffffffff161461357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615515565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e2906153d5565b60405180910390fd5b6135f481613f6a565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161366c613769565b1115801561367b575060015482105b80156136a8575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061377982613cdb565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166137a06136af565b73ffffffffffffffffffffffffffffffffffffffff1614806137d357506137d282600001516137cd6136af565b6133b5565b5b8061381857506137e16136af565b73ffffffffffffffffffffffffffffffffffffffff1661380084610e0c565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613851576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146138ba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613921576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61392e858585600161441e565b61393e60008484600001516136b7565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613bef57600154811015613bee5782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613c588585856001614424565b5050505050565b613c7982826040518060200160405280600081525061442a565b5050565b80341115613cd8573373ffffffffffffffffffffffffffffffffffffffff166108fc8234613cab9190615785565b9081150290604051600060405180830381858888f19350505050158015613cd6573d6000803e3d6000fd5b505b50565b613ce3614891565b600082905080613cf1613769565b11158015613d00575060015481105b15613f33576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151613f3157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613e15578092505050613f65565b5b600115613f3057818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613f2b578092505050613f65565b613e16565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026140676136af565b8786866040518563ffffffff1660e01b815260040161408994939291906152cc565b602060405180830381600087803b1580156140a357600080fd5b505af19250505080156140d457506040513d601f19601f820116820180604052508101906140d19190614ca7565b60015b61414e573d8060008114614104576040519150601f19603f3d011682016040523d82523d6000602084013e614109565b606091505b50600081511415614146576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156141e9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614349565b600082905060005b6000821461421b578080614204906158e6565b915050600a8261421491906156fa565b91506141f1565b60008167ffffffffffffffff81111561425d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561428f5781602001600182028036833780820191505090505b5090505b60008514614342576001826142a89190615785565b9150600a856142b7919061592f565b60306142c391906156a4565b60f81b8183815181106142ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561433b91906156fa565b9450614293565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156143b6576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b614437838383600161443c565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156144aa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156144e5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6144f2600086838761441e565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156146bc57506146bb8773ffffffffffffffffffffffffffffffffffffffff1661402e565b5b15614782575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46147316000888480600101955088614041565b614767576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156146c257826001541461477d57600080fd5b6147ee565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415614783575b8160018190555050506148046000868387614424565b5050505050565b82805461481790615883565b90600052602060002090601f0160209004810192826148395760008555614880565b82601f1061485257803560ff1916838001178555614880565b82800160010185558215614880579182015b8281111561487f578235825591602001919060010190614864565b5b50905061488d91906148d4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156148ed5760008160009055506001016148d5565b5090565b60006149046148ff84615610565b6155eb565b90508281526020810184848401111561491c57600080fd5b614927848285615841565b509392505050565b60008135905061493e81615d61565b92915050565b60008083601f84011261495657600080fd5b8235905067ffffffffffffffff81111561496f57600080fd5b60208301915083602082028301111561498757600080fd5b9250929050565b60008135905061499d81615d78565b92915050565b6000813590506149b281615d8f565b92915050565b6000815190506149c781615d8f565b92915050565b600082601f8301126149de57600080fd5b81356149ee8482602086016148f1565b91505092915050565b60008083601f840112614a0957600080fd5b8235905067ffffffffffffffff811115614a2257600080fd5b602083019150836001820283011115614a3a57600080fd5b9250929050565b600081359050614a5081615da6565b92915050565b600060208284031215614a6857600080fd5b6000614a768482850161492f565b91505092915050565b60008060408385031215614a9257600080fd5b6000614aa08582860161492f565b9250506020614ab18582860161492f565b9150509250929050565b600080600060608486031215614ad057600080fd5b6000614ade8682870161492f565b9350506020614aef8682870161492f565b9250506040614b0086828701614a41565b9150509250925092565b60008060008060808587031215614b2057600080fd5b6000614b2e8782880161492f565b9450506020614b3f8782880161492f565b9350506040614b5087828801614a41565b925050606085013567ffffffffffffffff811115614b6d57600080fd5b614b79878288016149cd565b91505092959194509250565b60008060408385031215614b9857600080fd5b6000614ba68582860161492f565b9250506020614bb78582860161498e565b9150509250929050565b60008060408385031215614bd457600080fd5b6000614be28582860161492f565b9250506020614bf385828601614a41565b9150509250929050565b600080600060408486031215614c1257600080fd5b600084013567ffffffffffffffff811115614c2c57600080fd5b614c3886828701614944565b93509350506020614c4b8682870161498e565b9150509250925092565b600060208284031215614c6757600080fd5b6000614c758482850161498e565b91505092915050565b600060208284031215614c9057600080fd5b6000614c9e848285016149a3565b91505092915050565b600060208284031215614cb957600080fd5b6000614cc7848285016149b8565b91505092915050565b60008060208385031215614ce357600080fd5b600083013567ffffffffffffffff811115614cfd57600080fd5b614d09858286016149f7565b92509250509250929050565b600060208284031215614d2757600080fd5b6000614d3584828501614a41565b91505092915050565b60008060408385031215614d5157600080fd5b6000614d5f85828601614a41565b9250506020614d708582860161492f565b9150509250929050565b600080600080600060a08688031215614d9257600080fd5b6000614da088828901614a41565b9550506020614db188828901614a41565b9450506040614dc288828901614a41565b9350506060614dd388828901614a41565b9250506080614de488828901614a41565b9150509295509295909350565b614dfa816157b9565b82525050565b614e09816157b9565b82525050565b614e18816157cb565b82525050565b614e27816157cb565b82525050565b6000614e3882615656565b614e42818561566c565b9350614e52818560208601615850565b614e5b81615a1c565b840191505092915050565b6000614e7182615661565b614e7b8185615688565b9350614e8b818560208601615850565b614e9481615a1c565b840191505092915050565b6000614eaa82615661565b614eb48185615699565b9350614ec4818560208601615850565b80840191505092915050565b60008154614edd81615883565b614ee78186615699565b94506001821660008114614f025760018114614f1357614f46565b60ff19831686528186019350614f46565b614f1c85615641565b60005b83811015614f3e57815481890152600182019150602081019050614f1f565b838801955050505b50505092915050565b6000614f5c601383615688565b9150614f6782615a2d565b602082019050919050565b6000614f7f601a83615688565b9150614f8a82615a56565b602082019050919050565b6000614fa2601983615688565b9150614fad82615a7f565b602082019050919050565b6000614fc5601583615688565b9150614fd082615aa8565b602082019050919050565b6000614fe8602683615688565b9150614ff382615ad1565b604082019050919050565b600061500b600f83615688565b915061501682615b20565b602082019050919050565b600061502e601283615688565b915061503982615b49565b602082019050919050565b6000615051601783615688565b915061505c82615b72565b602082019050919050565b6000615074601783615688565b915061507f82615b9b565b602082019050919050565b6000615097601083615688565b91506150a282615bc4565b602082019050919050565b60006150ba601183615688565b91506150c582615bed565b602082019050919050565b60006150dd601283615688565b91506150e882615c16565b602082019050919050565b6000615100601583615688565b915061510b82615c3f565b602082019050919050565b6000615123600e83615688565b915061512e82615c68565b602082019050919050565b6000615146602083615688565b915061515182615c91565b602082019050919050565b6000615169601383615688565b915061517482615cba565b602082019050919050565b600061518c60008361567d565b915061519782615ce3565b600082019050919050565b60006151af601683615688565b91506151ba82615ce6565b602082019050919050565b60006151d2601f83615688565b91506151dd82615d0f565b602082019050919050565b60006151f5601383615688565b915061520082615d38565b602082019050919050565b6060820160008201516152216000850182614df1565b506020820151615234602085018261525c565b5060408201516152476040850182614e0f565b50505050565b61525681615823565b82525050565b6152658161582d565b82525050565b60006152778286614ed0565b91506152838285614e9f565b915061528f8284614ed0565b9150819050949350505050565b60006152a78261517f565b9150819050919050565b60006020820190506152c66000830184614e00565b92915050565b60006080820190506152e16000830187614e00565b6152ee6020830186614e00565b6152fb604083018561524d565b818103606083015261530d8184614e2d565b905095945050505050565b600060208201905061532d6000830184614e1e565b92915050565b6000602082019050818103600083015261534d8184614e66565b905092915050565b6000602082019050818103600083015261536e81614f4f565b9050919050565b6000602082019050818103600083015261538e81614f72565b9050919050565b600060208201905081810360008301526153ae81614f95565b9050919050565b600060208201905081810360008301526153ce81614fb8565b9050919050565b600060208201905081810360008301526153ee81614fdb565b9050919050565b6000602082019050818103600083015261540e81614ffe565b9050919050565b6000602082019050818103600083015261542e81615021565b9050919050565b6000602082019050818103600083015261544e81615044565b9050919050565b6000602082019050818103600083015261546e81615067565b9050919050565b6000602082019050818103600083015261548e8161508a565b9050919050565b600060208201905081810360008301526154ae816150ad565b9050919050565b600060208201905081810360008301526154ce816150d0565b9050919050565b600060208201905081810360008301526154ee816150f3565b9050919050565b6000602082019050818103600083015261550e81615116565b9050919050565b6000602082019050818103600083015261552e81615139565b9050919050565b6000602082019050818103600083015261554e8161515c565b9050919050565b6000602082019050818103600083015261556e816151a2565b9050919050565b6000602082019050818103600083015261558e816151c5565b9050919050565b600060208201905081810360008301526155ae816151e8565b9050919050565b60006060820190506155ca600083018461520b565b92915050565b60006020820190506155e5600083018461524d565b92915050565b60006155f5615606565b905061560182826158b5565b919050565b6000604051905090565b600067ffffffffffffffff82111561562b5761562a6159ed565b5b61563482615a1c565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006156af82615823565b91506156ba83615823565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156156ef576156ee615960565b5b828201905092915050565b600061570582615823565b915061571083615823565b9250826157205761571f61598f565b5b828204905092915050565b600061573682615823565b915061574183615823565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561577a57615779615960565b5b828202905092915050565b600061579082615823565b915061579b83615823565b9250828210156157ae576157ad615960565b5b828203905092915050565b60006157c482615803565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561586e578082015181840152602081019050615853565b8381111561587d576000848401525b50505050565b6000600282049050600182168061589b57607f821691505b602082108114156158af576158ae6159be565b5b50919050565b6158be82615a1c565b810181811067ffffffffffffffff821117156158dd576158dc6159ed565b5b80604052505050565b60006158f182615823565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561592457615923615960565b5b600182019050919050565b600061593a82615823565b915061594583615823565b9250826159555761595461598f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f472073616c65206e6f7420656e61626c656400000000000000000000000000600082015250565b7f57686974656c6973742073616c65206e6f7420656e61626c6564000000000000600082015250565b7f43616e74206d696e742074686174206d616e7920286465762900000000000000600082015250565b7f4e6f74206120776967676c6520776f726c64204f470000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f43616e74206265206120636f6e74726163740000000000000000000000000000600082015250565b7f4e6f2064657620737570706c79202867656e6573697329000000000000000000600082015250565b7f4e6f2077686974656c697374206d696e7473206c656674000000000000000000600082015250565b7f496c6c6567616c207175616e7469747900000000000000000000000000000000600082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4e6f7420656e6f7567682064657620737570706c790000000000000000000000600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e74696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b50565b7f726561636865642067656e6573697320737570706c7900000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f43616e74206d696e742074686174206d616e7900000000000000000000000000600082015250565b615d6a816157b9565b8114615d7557600080fd5b50565b615d81816157cb565b8114615d8c57600080fd5b50565b615d98816157d7565b8114615da357600080fd5b50565b615daf81615823565b8114615dba57600080fd5b5056fea264697066735822122023b5705fd99ae2bcbfc2b6a46467cbddfd07d1d5c55e8d39e76ff72d7e15827d64736f6c63430008040033

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.