ETH Price: $3,395.06 (-1.54%)
Gas: 2 Gwei

Token

Curiosities (CURIOUS)
 

Overview

Max Total Supply

5,000 CURIOUS

Holders

2,265

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 CURIOUS
0xf5dd83180669255d64686921ea525f0096b95f23
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

5,000 Curiosities living on the Ethereum blockchain; A home for the curious.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Curiosities

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
File 1 of 14 : Curiosities.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.13;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC721A, ERC721AQueryable} from "erc721a/contracts/extensions/ERC721AQueryable.sol";

/// @author tempest-sol<[email protected]>
contract Curiosities is Ownable, ERC721AQueryable {

    enum SaleType { STAGING, PUBLIC, CONCLUDED }

    SaleType public currentSale;

    uint256 public immutable maxSupply;
    uint256 public immutable reserveCount;
    uint256 public reservesMinted;

    uint256 public cost;
    uint256 public maxMintTx;

      ///////////////////
     ////   Events   ///
    ///////////////////
    event SaleTypeChanged(SaleType indexed saleType);
    event MintCostChanged(uint256 indexed cost);

    //!!!!!!!!!!!!!!!!!!!!!!!!! 
    // SET URI
    //!!!!!!!!!!!!!!!!!!!!!!!!!

    string public uri;

    constructor() ERC721A("Curiosities", "CURIOUS") {
        maxSupply = 5000;
        reserveCount = 150;
        cost = 0.04 ether;
        maxMintTx = 5;
    }

    function updateUri(string memory _uri) external onlyOwner {
        uri = _uri;
    }

    function setSaleType(SaleType sale) external onlyOwner {
        require(currentSale != sale, "sale_already_set");
        currentSale = sale;
        emit SaleTypeChanged(sale);
    }

    function updateSalePrice(uint256 amount) external onlyOwner {
        require(cost != amount, "amount_already_set");
        cost = amount;
        emit MintCostChanged(amount);
    }

    function mint(uint256 amount) external canMint(amount) payable {
        uint256 totalCost = cost * amount;
        require(msg.value == totalCost, "invalid_eth_value");
        uint256 total = totalSupply() + amount;
        if(total == maxSupply || total == maxSupply - reserveCount) {
            currentSale = SaleType.CONCLUDED;
            emit SaleTypeChanged(currentSale);
        }
        _safeMint(msg.sender, amount);
    }

    function mintFreeFor(address[] calldata addresses, uint256 amount) external onlyOwner {
        require(totalSupply() + (addresses.length * amount) <= maxSupply - reserveCount, "max_mint_exceeded");
        address nullAddr = address(0x0);
        address addr;
        for(uint256 i=0;i<addresses.length;++i) {
            addr = addresses[i];
            require(addr != nullAddr, "address_invalid");
            _safeMint(addr, amount);
        }
        uint256 total = totalSupply();
        if(total == maxSupply || total == maxSupply - reserveCount) {
            currentSale = SaleType.CONCLUDED;
            emit SaleTypeChanged(currentSale);
        }
    }

    function mintReservedFor(address to, uint256 quantity) external onlyOwner {
        require(reservesMinted + quantity <= reserveCount, "exceeds_reserves");
        reservesMinted += quantity;
        _safeMint(to, quantity);
    }

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

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

    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

    modifier canMint(uint256 amount) {
        require(amount <= maxMintTx, "exceeds_mint_allowance");
        require(currentSale > SaleType.STAGING, "sale_inactive");
        require(currentSale != SaleType.CONCLUDED, "sale_concluded");
        require(totalSupply() + amount <= maxSupply - reserveCount, "exceeds_max_supply");
        _;  
    }

    receive() external payable {}

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 14 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';

error InvalidQueryRange();

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) public view returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _currentIndex) {
            return ownership;
        }
        ownership = _ownerships[tokenId];
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _currentIndex;
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, _currentIndex)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 4 of 14 : 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 5 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

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/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 MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
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 {
    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 Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view 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 {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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) {
        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) {
        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) {
        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 {
        _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 virtual 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);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // 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 storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, 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 6 of 14 : 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 14 : 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 14 : 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 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 13 of 14 : Whitelist.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.13;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/// @author tempest-sol
abstract contract Whitelist is Ownable {
    using MerkleProof for *;

    bool public whitelistActive;

    bytes32 private merkle;

      ////////////////////
     ///    Events    ///
    ////////////////////
    event MerkleUpdatead(bytes32 merkle);

    function updateMerkle(bytes32 _merkle) external onlyOwner {
        require(merkle != _merkle, "merkle_already_set");
        merkle = _merkle;
        emit MerkleUpdatead(_merkle);
    }

    function verifyWhitelist(bytes32 _leaf, bytes32[] calldata proof) private view returns (bool) {
        return proof.verify(merkle, _leaf);
    }

    function leaf(string memory payload) private pure returns (bytes32) {
        return keccak256(abi.encodePacked(payload));
    }

    modifier onlyWhitelisted(bytes32[] calldata proof) {
        if(!whitelistActive) {
            _;
            return;
        }
        string memory payload = string(abi.encodePacked(_msgSender()));
        require(verifyWhitelist(leaf(payload), proof), "not_whitelisted");
        _;
    }
}

File 14 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

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":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"uint256","name":"cost","type":"uint256"}],"name":"MintCostChanged","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":"enum Curiosities.SaleType","name":"saleType","type":"uint8"}],"name":"SaleTypeChanged","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":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSale","outputs":[{"internalType":"enum Curiosities.SaleType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFreeFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReservedFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservesMinted","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":"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":"enum Curiosities.SaleType","name":"sale","type":"uint8"}],"name":"setSaleType","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"updateUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040523480156200001157600080fd5b506040518060400160405280600b81526020016a437572696f73697469657360a81b81525060405180604001604052806007815260200166435552494f555360c81b815250620000706200006a620000c360201b60201c565b620000c7565b81516200008590600390602085019062000117565b5080516200009b90600490602084019062000117565b50600180555050611388608052609660a052668e1bc9bf040000600b556005600c55620001f9565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200012590620001bd565b90600052602060002090601f01602090048101928262000149576000855562000194565b82601f106200016457805160ff191683800117855562000194565b8280016001018555821562000194579182015b828111156200019457825182559160200191906001019062000177565b50620001a2929150620001a6565b5090565b5b80821115620001a25760008155600101620001a7565b600181811c90821680620001d257607f821691505b602082108103620001f357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612cb96200026c6000396000818161032b0152818161116a015281816112c0015281816115e10152818161177e0152611a4e0152600081816106460152818161118b01528181611294015281816112e10152818161160201528181611752015261179f0152612cb96000f3fe6080604052600436106102385760003560e01c80638462151c11610138578063bab17984116100b0578063d5abeb011161007f578063eac989f811610064578063eac989f8146106b1578063ee9f307b146106c6578063f2fde38b146106e657600080fd5b8063d5abeb0114610634578063e985e9c51461066857600080fd5b8063bab17984146105b1578063c23dc68f146105d1578063c87b56dd146105fe578063cc41d7951461061e57600080fd5b8063a05d03fd11610107578063a22cb465116100ec578063a22cb46514610551578063b5aaf54214610571578063b88d4fde1461059157600080fd5b8063a05d03fd14610517578063a0712d681461053e57600080fd5b80638462151c146104975780638da5cb5b146104c457806395d89b41146104e257806399a2557a146104f757600080fd5b80633ccfd60b116101cb5780636352211e1161019a57806370a082311161017f57806370a0823114610442578063715018a6146104625780637ec0912e1461047757600080fd5b80636352211e1461040c57806363869a5d1461042c57600080fd5b80633ccfd60b1461038a57806342842e0e1461039f578063570b3c6a146103bf5780635bbb2177146103df57600080fd5b806313faede61161020757806313faede6146102f557806316317c211461031957806318160ddd1461034d57806323b872dd1461036a57600080fd5b806301ffc9a71461024457806306fdde0314610279578063081812fc1461029b578063095ea7b3146102d357600080fd5b3661023f57005b600080fd5b34801561025057600080fd5b5061026461025f36600461257c565b610706565b60405190151581526020015b60405180910390f35b34801561028557600080fd5b5061028e6107a3565b60405161027091906125f1565b3480156102a757600080fd5b506102bb6102b6366004612604565b610835565b6040516001600160a01b039091168152602001610270565b3480156102df57600080fd5b506102f36102ee366004612639565b610892565b005b34801561030157600080fd5b5061030b600b5481565b604051908152602001610270565b34801561032557600080fd5b5061030b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561035957600080fd5b50600254600154036000190161030b565b34801561037657600080fd5b506102f3610385366004612663565b61096e565b34801561039657600080fd5b506102f3610979565b3480156103ab57600080fd5b506102f36103ba366004612663565b610a0b565b3480156103cb57600080fd5b506102f36103da36600461273e565b610a26565b3480156103eb57600080fd5b506103ff6103fa366004612787565b610a93565b604051610270919061282d565b34801561041857600080fd5b506102bb610427366004612604565b610b5a565b34801561043857600080fd5b5061030b600c5481565b34801561044e57600080fd5b5061030b61045d366004612898565b610b6c565b34801561046e57600080fd5b506102f3610bd4565b34801561048357600080fd5b506102f3610492366004612604565b610c3a565b3480156104a357600080fd5b506104b76104b2366004612898565b610d18565b60405161027091906128b3565b3480156104d057600080fd5b506000546001600160a01b03166102bb565b3480156104ee57600080fd5b5061028e610e5a565b34801561050357600080fd5b506104b76105123660046128eb565b610e69565b34801561052357600080fd5b506009546105319060ff1681565b6040516102709190612934565b6102f361054c366004612604565b611046565b34801561055d57600080fd5b506102f361056c36600461295c565b611357565b34801561057d57600080fd5b506102f361058c366004612998565b611405565b34801561059d57600080fd5b506102f36105ac3660046129b9565b611537565b3480156105bd57600080fd5b506102f36105cc366004612a35565b611582565b3480156105dd57600080fd5b506105f16105ec366004612604565b61180d565b6040516102709190612ab0565b34801561060a57600080fd5b5061028e610619366004612604565b6118c8565b34801561062a57600080fd5b5061030b600a5481565b34801561064057600080fd5b5061030b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561067457600080fd5b50610264610683366004612ae6565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106bd57600080fd5b5061028e611964565b3480156106d257600080fd5b506102f36106e1366004612639565b6119f2565b3480156106f257600080fd5b506102f3610701366004612898565b611aeb565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061076957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061079d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600380546107b290612b19565b80601f01602080910402602001604051908101604052809291908181526020018280546107de90612b19565b801561082b5780601f106108005761010080835404028352916020019161082b565b820191906000526020600020905b81548152906001019060200180831161080e57829003601f168201915b5050505050905090565b600061084082611bcd565b610876576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061089d82610b5a565b9050806001600160a01b0316836001600160a01b0316036108ea576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b0382161480159061092757506001600160a01b038116600090815260086020908152604080832033845290915290205460ff16155b1561095e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610969838383611c06565b505050565b610969838383611c6f565b6000546001600160a01b031633146109d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610a07573d6000803e3d6000fd5b5050565b61096983838360405180602001604052806000815250611537565b6000546001600160a01b03163314610a805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b8051610a0790600d9060208401906124cd565b805160609060008167ffffffffffffffff811115610ab357610ab361269f565b604051908082528060200260200182016040528015610afe57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610ad15790505b50905060005b828114610b5257610b2d858281518110610b2057610b20612b53565b602002602001015161180d565b828281518110610b3f57610b3f612b53565b6020908102919091010152600101610b04565b509392505050565b6000610b6582611ec9565b5192915050565b60006001600160a01b038216610bae576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610c2e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b610c38600061200b565b565b6000546001600160a01b03163314610c945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b80600b5403610ce55760405162461bcd60e51b815260206004820152601260248201527f616d6f756e745f616c72656164795f736574000000000000000000000000000060448201526064016109cf565b600b81905560405181907feb0a6fee5eec128385186f690606701fe783a062c2ce1895b022575c25f7baba90600090a250565b60606000806000610d2885610b6c565b905060008167ffffffffffffffff811115610d4557610d4561269f565b604051908082528060200260200182016040528015610d6e578160200160208202803683370190505b50604080516060810182526000808252602082018190529181019190915290915060015b838614610e4e57600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529250610e465781516001600160a01b031615610e0757815194505b876001600160a01b0316856001600160a01b031603610e465780838780600101985081518110610e3957610e39612b53565b6020026020010181815250505b600101610d92565b50909695505050505050565b6060600480546107b290612b19565b6060818310610ea4576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018054600091851015610eb757600194505b80841115610ec3578093505b6000610ece87610b6c565b905084861015610eed5785850381811015610ee7578091505b50610ef1565b5060005b60008167ffffffffffffffff811115610f0c57610f0c61269f565b604051908082528060200260200182016040528015610f35578160200160208202803683370190505b50905081600003610f4b57935061103f92505050565b6000610f568861180d565b905060008160400151610f67575080515b885b888114158015610f795750848714155b1561103357600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052935061102b5782516001600160a01b031615610fec57825191505b8a6001600160a01b0316826001600160a01b03160361102b578084888060010199508151811061101e5761101e612b53565b6020026020010181815250505b600101610f69565b50505092835250909150505b9392505050565b80600c548111156110995760405162461bcd60e51b815260206004820152601660248201527f657863656564735f6d696e745f616c6c6f77616e63650000000000000000000060448201526064016109cf565b600060095460ff1660028111156110b2576110b261291e565b116110ff5760405162461bcd60e51b815260206004820152600d60248201527f73616c655f696e6163746976650000000000000000000000000000000000000060448201526064016109cf565b600260095460ff1660028111156111185761111861291e565b036111655760405162461bcd60e51b815260206004820152600e60248201527f73616c655f636f6e636c7564656400000000000000000000000000000000000060448201526064016109cf565b6111af7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612b7f565b60025460015483919003600019016111c79190612b96565b11156112155760405162461bcd60e51b815260206004820152601260248201527f657863656564735f6d61785f737570706c79000000000000000000000000000060448201526064016109cf565b600082600b546112259190612bae565b90508034146112765760405162461bcd60e51b815260206004820152601160248201527f696e76616c69645f6574685f76616c756500000000000000000000000000000060448201526064016109cf565b600254600154600091859103600019016112909190612b96565b90507f000000000000000000000000000000000000000000000000000000000000000081148061130857506113057f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612b7f565b81145b15611347576009805460ff191660029081179091556040517facf070eb6c784387bd9e2e7113d40d7581d87329e419f26c20fb716d6ea1b53690600090a25b6113513385612068565b50505050565b336001600160a01b03831603611399576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461145f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b8060028111156114715761147161291e565b60095460ff1660028111156114885761148861291e565b036114d55760405162461bcd60e51b815260206004820152601060248201527f73616c655f616c72656164795f7365740000000000000000000000000000000060448201526064016109cf565b6009805482919060ff191660018360028111156114f4576114f461291e565b021790555080600281111561150b5761150b61291e565b6040517facf070eb6c784387bd9e2e7113d40d7581d87329e419f26c20fb716d6ea1b53690600090a250565b611542848484611c6f565b6001600160a01b0383163b15158015611564575061156284848484612082565b155b15611351576040516368d2bf6b60e11b815260040160405180910390fd5b6000546001600160a01b031633146115dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b6116267f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612b7f565b6116308284612bae565b60025460015403600019016116459190612b96565b11156116935760405162461bcd60e51b815260206004820152601160248201527f6d61785f6d696e745f657863656564656400000000000000000000000000000060448201526064016109cf565b600080805b84811015611744578585828181106116b2576116b2612b53565b90506020020160208101906116c79190612898565b9150826001600160a01b0316826001600160a01b03160361172a5760405162461bcd60e51b815260206004820152600f60248201527f616464726573735f696e76616c6964000000000000000000000000000000000060448201526064016109cf565b6117348285612068565b61173d81612bcd565b9050611698565b5060025460015403600019017f00000000000000000000000000000000000000000000000000000000000000008114806117c657506117c37f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612b7f565b81145b15611805576009805460ff191660029081179091556040517facf070eb6c784387bd9e2e7113d40d7581d87329e419f26c20fb716d6ea1b53690600090a25b505050505050565b6040805160608082018352600080835260208084018290528385018290528451928301855281835282018190529281019290925290600183108061185357506001548310155b1561185e5792915050565b50600082815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906118bf5792915050565b61103f83611ec9565b60606118d382611bcd565b611909576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061191361216e565b90508051600003611933576040518060200160405280600081525061103f565b8061193d8461217d565b60405160200161194e929190612be6565b6040516020818303038152906040529392505050565b600d805461197190612b19565b80601f016020809104026020016040519081016040528092919081815260200182805461199d90612b19565b80156119ea5780601f106119bf576101008083540402835291602001916119ea565b820191906000526020600020905b8154815290600101906020018083116119cd57829003601f168201915b505050505081565b6000546001600160a01b03163314611a4c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b7f000000000000000000000000000000000000000000000000000000000000000081600a54611a7b9190612b96565b1115611ac95760405162461bcd60e51b815260206004820152601060248201527f657863656564735f72657365727665730000000000000000000000000000000060448201526064016109cf565b80600a6000828254611adb9190612b96565b90915550610a0790508282612068565b6000546001600160a01b03163314611b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b6001600160a01b038116611bc15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109cf565b611bca8161200b565b50565b600081600111158015611be1575060015482105b801561079d575050600090815260056020526040902054600160e01b900460ff161590565b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611c7a82611ec9565b9050836001600160a01b031681600001516001600160a01b031614611ccb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b0386161480611d0757506001600160a01b038516600090815260086020908152604080832033845290915290205460ff165b80611d22575033611d1784610835565b6001600160a01b0316145b905080611d5b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416611d9b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da760008487611c06565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611e7d576001548214611e7d578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611ef9575060015481105b15611fd957600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611fd75780516001600160a01b031615611f6d579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611fd2579392505050565b611f6d565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a078282604051806020016040528060008152506122b2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906120b7903390899088908890600401612c15565b6020604051808303816000875af19250505080156120f2575060408051601f3d908101601f191682019092526120ef91810190612c51565b60015b612150573d808015612120576040519150601f19603f3d011682016040523d82523d6000602084013e612125565b606091505b508051600003612148576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d80546107b290612b19565b6060816000036121c057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121ea57806121d481612bcd565b91506121e39050600a83612c84565b91506121c4565b60008167ffffffffffffffff8111156122055761220561269f565b6040519080825280601f01601f19166020018201604052801561222f576020820181803683370190505b5090505b841561216657612244600183612b7f565b9150612251600a86612c98565b61225c906030612b96565b60f81b81838151811061227157612271612b53565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506122ab600a86612c84565b9450612233565b610969838383600180546001600160a01b0385166122fc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600003612336576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156123f757506001600160a01b0387163b15155b1561247f575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46124486000888480600101955088612082565b612465576040516368d2bf6b60e11b815260040160405180910390fd5b8082036123fd57826001541461247a57600080fd5b6124c4565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203612480575b50600155611ec2565b8280546124d990612b19565b90600052602060002090601f0160209004810192826124fb5760008555612541565b82601f1061251457805160ff1916838001178555612541565b82800160010185558215612541579182015b82811115612541578251825591602001919060010190612526565b5061254d929150612551565b5090565b5b8082111561254d5760008155600101612552565b6001600160e01b031981168114611bca57600080fd5b60006020828403121561258e57600080fd5b813561103f81612566565b60005b838110156125b457818101518382015260200161259c565b838111156113515750506000910152565b600081518084526125dd816020860160208601612599565b601f01601f19169290920160200192915050565b60208152600061103f60208301846125c5565b60006020828403121561261657600080fd5b5035919050565b80356001600160a01b038116811461263457600080fd5b919050565b6000806040838503121561264c57600080fd5b6126558361261d565b946020939093013593505050565b60008060006060848603121561267857600080fd5b6126818461261d565b925061268f6020850161261d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156126de576126de61269f565b604052919050565b600067ffffffffffffffff8311156127005761270061269f565b612713601f8401601f19166020016126b5565b905082815283838301111561272757600080fd5b828260208301376000602084830101529392505050565b60006020828403121561275057600080fd5b813567ffffffffffffffff81111561276757600080fd5b8201601f8101841361277857600080fd5b612166848235602084016126e6565b6000602080838503121561279a57600080fd5b823567ffffffffffffffff808211156127b257600080fd5b818501915085601f8301126127c657600080fd5b8135818111156127d8576127d861269f565b8060051b91506127e98483016126b5565b818152918301840191848101908884111561280357600080fd5b938501935b8385101561282157843582529385019390850190612808565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e4e5761288583855180516001600160a01b0316825260208082015167ffffffffffffffff16908301526040908101511515910152565b9284019260609290920191600101612849565b6000602082840312156128aa57600080fd5b61103f8261261d565b6020808252825182820181905260009190848201906040850190845b81811015610e4e578351835292840192918401916001016128cf565b60008060006060848603121561290057600080fd5b6129098461261d565b95602085013595506040909401359392505050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061295657634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561296f57600080fd5b6129788361261d565b91506020830135801515811461298d57600080fd5b809150509250929050565b6000602082840312156129aa57600080fd5b81356003811061103f57600080fd5b600080600080608085870312156129cf57600080fd5b6129d88561261d565b93506129e66020860161261d565b925060408501359150606085013567ffffffffffffffff811115612a0957600080fd5b8501601f81018713612a1a57600080fd5b612a29878235602084016126e6565b91505092959194509250565b600080600060408486031215612a4a57600080fd5b833567ffffffffffffffff80821115612a6257600080fd5b818601915086601f830112612a7657600080fd5b813581811115612a8557600080fd5b8760208260051b8501011115612a9a57600080fd5b6020928301989097509590910135949350505050565b81516001600160a01b0316815260208083015167ffffffffffffffff16908201526040808301511515908201526060810161079d565b60008060408385031215612af957600080fd5b612b028361261d565b9150612b106020840161261d565b90509250929050565b600181811c90821680612b2d57607f821691505b602082108103612b4d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612b9157612b91612b69565b500390565b60008219821115612ba957612ba9612b69565b500190565b6000816000190483118215151615612bc857612bc8612b69565b500290565b600060018201612bdf57612bdf612b69565b5060010190565b60008351612bf8818460208801612599565b835190830190612c0c818360208801612599565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c4760808301846125c5565b9695505050505050565b600060208284031215612c6357600080fd5b815161103f81612566565b634e487b7160e01b600052601260045260246000fd5b600082612c9357612c93612c6e565b500490565b600082612ca757612ca7612c6e565b50069056fea164736f6c634300080d000a

Deployed Bytecode

0x6080604052600436106102385760003560e01c80638462151c11610138578063bab17984116100b0578063d5abeb011161007f578063eac989f811610064578063eac989f8146106b1578063ee9f307b146106c6578063f2fde38b146106e657600080fd5b8063d5abeb0114610634578063e985e9c51461066857600080fd5b8063bab17984146105b1578063c23dc68f146105d1578063c87b56dd146105fe578063cc41d7951461061e57600080fd5b8063a05d03fd11610107578063a22cb465116100ec578063a22cb46514610551578063b5aaf54214610571578063b88d4fde1461059157600080fd5b8063a05d03fd14610517578063a0712d681461053e57600080fd5b80638462151c146104975780638da5cb5b146104c457806395d89b41146104e257806399a2557a146104f757600080fd5b80633ccfd60b116101cb5780636352211e1161019a57806370a082311161017f57806370a0823114610442578063715018a6146104625780637ec0912e1461047757600080fd5b80636352211e1461040c57806363869a5d1461042c57600080fd5b80633ccfd60b1461038a57806342842e0e1461039f578063570b3c6a146103bf5780635bbb2177146103df57600080fd5b806313faede61161020757806313faede6146102f557806316317c211461031957806318160ddd1461034d57806323b872dd1461036a57600080fd5b806301ffc9a71461024457806306fdde0314610279578063081812fc1461029b578063095ea7b3146102d357600080fd5b3661023f57005b600080fd5b34801561025057600080fd5b5061026461025f36600461257c565b610706565b60405190151581526020015b60405180910390f35b34801561028557600080fd5b5061028e6107a3565b60405161027091906125f1565b3480156102a757600080fd5b506102bb6102b6366004612604565b610835565b6040516001600160a01b039091168152602001610270565b3480156102df57600080fd5b506102f36102ee366004612639565b610892565b005b34801561030157600080fd5b5061030b600b5481565b604051908152602001610270565b34801561032557600080fd5b5061030b7f000000000000000000000000000000000000000000000000000000000000009681565b34801561035957600080fd5b50600254600154036000190161030b565b34801561037657600080fd5b506102f3610385366004612663565b61096e565b34801561039657600080fd5b506102f3610979565b3480156103ab57600080fd5b506102f36103ba366004612663565b610a0b565b3480156103cb57600080fd5b506102f36103da36600461273e565b610a26565b3480156103eb57600080fd5b506103ff6103fa366004612787565b610a93565b604051610270919061282d565b34801561041857600080fd5b506102bb610427366004612604565b610b5a565b34801561043857600080fd5b5061030b600c5481565b34801561044e57600080fd5b5061030b61045d366004612898565b610b6c565b34801561046e57600080fd5b506102f3610bd4565b34801561048357600080fd5b506102f3610492366004612604565b610c3a565b3480156104a357600080fd5b506104b76104b2366004612898565b610d18565b60405161027091906128b3565b3480156104d057600080fd5b506000546001600160a01b03166102bb565b3480156104ee57600080fd5b5061028e610e5a565b34801561050357600080fd5b506104b76105123660046128eb565b610e69565b34801561052357600080fd5b506009546105319060ff1681565b6040516102709190612934565b6102f361054c366004612604565b611046565b34801561055d57600080fd5b506102f361056c36600461295c565b611357565b34801561057d57600080fd5b506102f361058c366004612998565b611405565b34801561059d57600080fd5b506102f36105ac3660046129b9565b611537565b3480156105bd57600080fd5b506102f36105cc366004612a35565b611582565b3480156105dd57600080fd5b506105f16105ec366004612604565b61180d565b6040516102709190612ab0565b34801561060a57600080fd5b5061028e610619366004612604565b6118c8565b34801561062a57600080fd5b5061030b600a5481565b34801561064057600080fd5b5061030b7f000000000000000000000000000000000000000000000000000000000000138881565b34801561067457600080fd5b50610264610683366004612ae6565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106bd57600080fd5b5061028e611964565b3480156106d257600080fd5b506102f36106e1366004612639565b6119f2565b3480156106f257600080fd5b506102f3610701366004612898565b611aeb565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061076957506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061079d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600380546107b290612b19565b80601f01602080910402602001604051908101604052809291908181526020018280546107de90612b19565b801561082b5780601f106108005761010080835404028352916020019161082b565b820191906000526020600020905b81548152906001019060200180831161080e57829003601f168201915b5050505050905090565b600061084082611bcd565b610876576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061089d82610b5a565b9050806001600160a01b0316836001600160a01b0316036108ea576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b0382161480159061092757506001600160a01b038116600090815260086020908152604080832033845290915290205460ff16155b1561095e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610969838383611c06565b505050565b610969838383611c6f565b6000546001600160a01b031633146109d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610a07573d6000803e3d6000fd5b5050565b61096983838360405180602001604052806000815250611537565b6000546001600160a01b03163314610a805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b8051610a0790600d9060208401906124cd565b805160609060008167ffffffffffffffff811115610ab357610ab361269f565b604051908082528060200260200182016040528015610afe57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610ad15790505b50905060005b828114610b5257610b2d858281518110610b2057610b20612b53565b602002602001015161180d565b828281518110610b3f57610b3f612b53565b6020908102919091010152600101610b04565b509392505050565b6000610b6582611ec9565b5192915050565b60006001600160a01b038216610bae576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610c2e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b610c38600061200b565b565b6000546001600160a01b03163314610c945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b80600b5403610ce55760405162461bcd60e51b815260206004820152601260248201527f616d6f756e745f616c72656164795f736574000000000000000000000000000060448201526064016109cf565b600b81905560405181907feb0a6fee5eec128385186f690606701fe783a062c2ce1895b022575c25f7baba90600090a250565b60606000806000610d2885610b6c565b905060008167ffffffffffffffff811115610d4557610d4561269f565b604051908082528060200260200182016040528015610d6e578160200160208202803683370190505b50604080516060810182526000808252602082018190529181019190915290915060015b838614610e4e57600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529250610e465781516001600160a01b031615610e0757815194505b876001600160a01b0316856001600160a01b031603610e465780838780600101985081518110610e3957610e39612b53565b6020026020010181815250505b600101610d92565b50909695505050505050565b6060600480546107b290612b19565b6060818310610ea4576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018054600091851015610eb757600194505b80841115610ec3578093505b6000610ece87610b6c565b905084861015610eed5785850381811015610ee7578091505b50610ef1565b5060005b60008167ffffffffffffffff811115610f0c57610f0c61269f565b604051908082528060200260200182016040528015610f35578160200160208202803683370190505b50905081600003610f4b57935061103f92505050565b6000610f568861180d565b905060008160400151610f67575080515b885b888114158015610f795750848714155b1561103357600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052935061102b5782516001600160a01b031615610fec57825191505b8a6001600160a01b0316826001600160a01b03160361102b578084888060010199508151811061101e5761101e612b53565b6020026020010181815250505b600101610f69565b50505092835250909150505b9392505050565b80600c548111156110995760405162461bcd60e51b815260206004820152601660248201527f657863656564735f6d696e745f616c6c6f77616e63650000000000000000000060448201526064016109cf565b600060095460ff1660028111156110b2576110b261291e565b116110ff5760405162461bcd60e51b815260206004820152600d60248201527f73616c655f696e6163746976650000000000000000000000000000000000000060448201526064016109cf565b600260095460ff1660028111156111185761111861291e565b036111655760405162461bcd60e51b815260206004820152600e60248201527f73616c655f636f6e636c7564656400000000000000000000000000000000000060448201526064016109cf565b6111af7f00000000000000000000000000000000000000000000000000000000000000967f0000000000000000000000000000000000000000000000000000000000001388612b7f565b60025460015483919003600019016111c79190612b96565b11156112155760405162461bcd60e51b815260206004820152601260248201527f657863656564735f6d61785f737570706c79000000000000000000000000000060448201526064016109cf565b600082600b546112259190612bae565b90508034146112765760405162461bcd60e51b815260206004820152601160248201527f696e76616c69645f6574685f76616c756500000000000000000000000000000060448201526064016109cf565b600254600154600091859103600019016112909190612b96565b90507f000000000000000000000000000000000000000000000000000000000000138881148061130857506113057f00000000000000000000000000000000000000000000000000000000000000967f0000000000000000000000000000000000000000000000000000000000001388612b7f565b81145b15611347576009805460ff191660029081179091556040517facf070eb6c784387bd9e2e7113d40d7581d87329e419f26c20fb716d6ea1b53690600090a25b6113513385612068565b50505050565b336001600160a01b03831603611399576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461145f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b8060028111156114715761147161291e565b60095460ff1660028111156114885761148861291e565b036114d55760405162461bcd60e51b815260206004820152601060248201527f73616c655f616c72656164795f7365740000000000000000000000000000000060448201526064016109cf565b6009805482919060ff191660018360028111156114f4576114f461291e565b021790555080600281111561150b5761150b61291e565b6040517facf070eb6c784387bd9e2e7113d40d7581d87329e419f26c20fb716d6ea1b53690600090a250565b611542848484611c6f565b6001600160a01b0383163b15158015611564575061156284848484612082565b155b15611351576040516368d2bf6b60e11b815260040160405180910390fd5b6000546001600160a01b031633146115dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b6116267f00000000000000000000000000000000000000000000000000000000000000967f0000000000000000000000000000000000000000000000000000000000001388612b7f565b6116308284612bae565b60025460015403600019016116459190612b96565b11156116935760405162461bcd60e51b815260206004820152601160248201527f6d61785f6d696e745f657863656564656400000000000000000000000000000060448201526064016109cf565b600080805b84811015611744578585828181106116b2576116b2612b53565b90506020020160208101906116c79190612898565b9150826001600160a01b0316826001600160a01b03160361172a5760405162461bcd60e51b815260206004820152600f60248201527f616464726573735f696e76616c6964000000000000000000000000000000000060448201526064016109cf565b6117348285612068565b61173d81612bcd565b9050611698565b5060025460015403600019017f00000000000000000000000000000000000000000000000000000000000013888114806117c657506117c37f00000000000000000000000000000000000000000000000000000000000000967f0000000000000000000000000000000000000000000000000000000000001388612b7f565b81145b15611805576009805460ff191660029081179091556040517facf070eb6c784387bd9e2e7113d40d7581d87329e419f26c20fb716d6ea1b53690600090a25b505050505050565b6040805160608082018352600080835260208084018290528385018290528451928301855281835282018190529281019290925290600183108061185357506001548310155b1561185e5792915050565b50600082815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906118bf5792915050565b61103f83611ec9565b60606118d382611bcd565b611909576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061191361216e565b90508051600003611933576040518060200160405280600081525061103f565b8061193d8461217d565b60405160200161194e929190612be6565b6040516020818303038152906040529392505050565b600d805461197190612b19565b80601f016020809104026020016040519081016040528092919081815260200182805461199d90612b19565b80156119ea5780601f106119bf576101008083540402835291602001916119ea565b820191906000526020600020905b8154815290600101906020018083116119cd57829003601f168201915b505050505081565b6000546001600160a01b03163314611a4c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b7f000000000000000000000000000000000000000000000000000000000000009681600a54611a7b9190612b96565b1115611ac95760405162461bcd60e51b815260206004820152601060248201527f657863656564735f72657365727665730000000000000000000000000000000060448201526064016109cf565b80600a6000828254611adb9190612b96565b90915550610a0790508282612068565b6000546001600160a01b03163314611b455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109cf565b6001600160a01b038116611bc15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109cf565b611bca8161200b565b50565b600081600111158015611be1575060015482105b801561079d575050600090815260056020526040902054600160e01b900460ff161590565b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611c7a82611ec9565b9050836001600160a01b031681600001516001600160a01b031614611ccb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b0386161480611d0757506001600160a01b038516600090815260086020908152604080832033845290915290205460ff165b80611d22575033611d1784610835565b6001600160a01b0316145b905080611d5b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416611d9b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da760008487611c06565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611e7d576001548214611e7d578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611ef9575060015481105b15611fd957600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611fd75780516001600160a01b031615611f6d579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611fd2579392505050565b611f6d565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a078282604051806020016040528060008152506122b2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906120b7903390899088908890600401612c15565b6020604051808303816000875af19250505080156120f2575060408051601f3d908101601f191682019092526120ef91810190612c51565b60015b612150573d808015612120576040519150601f19603f3d011682016040523d82523d6000602084013e612125565b606091505b508051600003612148576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d80546107b290612b19565b6060816000036121c057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156121ea57806121d481612bcd565b91506121e39050600a83612c84565b91506121c4565b60008167ffffffffffffffff8111156122055761220561269f565b6040519080825280601f01601f19166020018201604052801561222f576020820181803683370190505b5090505b841561216657612244600183612b7f565b9150612251600a86612c98565b61225c906030612b96565b60f81b81838151811061227157612271612b53565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506122ab600a86612c84565b9450612233565b610969838383600180546001600160a01b0385166122fc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83600003612336576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156123f757506001600160a01b0387163b15155b1561247f575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46124486000888480600101955088612082565b612465576040516368d2bf6b60e11b815260040160405180910390fd5b8082036123fd57826001541461247a57600080fd5b6124c4565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203612480575b50600155611ec2565b8280546124d990612b19565b90600052602060002090601f0160209004810192826124fb5760008555612541565b82601f1061251457805160ff1916838001178555612541565b82800160010185558215612541579182015b82811115612541578251825591602001919060010190612526565b5061254d929150612551565b5090565b5b8082111561254d5760008155600101612552565b6001600160e01b031981168114611bca57600080fd5b60006020828403121561258e57600080fd5b813561103f81612566565b60005b838110156125b457818101518382015260200161259c565b838111156113515750506000910152565b600081518084526125dd816020860160208601612599565b601f01601f19169290920160200192915050565b60208152600061103f60208301846125c5565b60006020828403121561261657600080fd5b5035919050565b80356001600160a01b038116811461263457600080fd5b919050565b6000806040838503121561264c57600080fd5b6126558361261d565b946020939093013593505050565b60008060006060848603121561267857600080fd5b6126818461261d565b925061268f6020850161261d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156126de576126de61269f565b604052919050565b600067ffffffffffffffff8311156127005761270061269f565b612713601f8401601f19166020016126b5565b905082815283838301111561272757600080fd5b828260208301376000602084830101529392505050565b60006020828403121561275057600080fd5b813567ffffffffffffffff81111561276757600080fd5b8201601f8101841361277857600080fd5b612166848235602084016126e6565b6000602080838503121561279a57600080fd5b823567ffffffffffffffff808211156127b257600080fd5b818501915085601f8301126127c657600080fd5b8135818111156127d8576127d861269f565b8060051b91506127e98483016126b5565b818152918301840191848101908884111561280357600080fd5b938501935b8385101561282157843582529385019390850190612808565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610e4e5761288583855180516001600160a01b0316825260208082015167ffffffffffffffff16908301526040908101511515910152565b9284019260609290920191600101612849565b6000602082840312156128aa57600080fd5b61103f8261261d565b6020808252825182820181905260009190848201906040850190845b81811015610e4e578351835292840192918401916001016128cf565b60008060006060848603121561290057600080fd5b6129098461261d565b95602085013595506040909401359392505050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061295657634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561296f57600080fd5b6129788361261d565b91506020830135801515811461298d57600080fd5b809150509250929050565b6000602082840312156129aa57600080fd5b81356003811061103f57600080fd5b600080600080608085870312156129cf57600080fd5b6129d88561261d565b93506129e66020860161261d565b925060408501359150606085013567ffffffffffffffff811115612a0957600080fd5b8501601f81018713612a1a57600080fd5b612a29878235602084016126e6565b91505092959194509250565b600080600060408486031215612a4a57600080fd5b833567ffffffffffffffff80821115612a6257600080fd5b818601915086601f830112612a7657600080fd5b813581811115612a8557600080fd5b8760208260051b8501011115612a9a57600080fd5b6020928301989097509590910135949350505050565b81516001600160a01b0316815260208083015167ffffffffffffffff16908201526040808301511515908201526060810161079d565b60008060408385031215612af957600080fd5b612b028361261d565b9150612b106020840161261d565b90509250929050565b600181811c90821680612b2d57607f821691505b602082108103612b4d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612b9157612b91612b69565b500390565b60008219821115612ba957612ba9612b69565b500190565b6000816000190483118215151615612bc857612bc8612b69565b500290565b600060018201612bdf57612bdf612b69565b5060010190565b60008351612bf8818460208801612599565b835190830190612c0c818360208801612599565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c4760808301846125c5565b9695505050505050565b600060208284031215612c6357600080fd5b815161103f81612566565b634e487b7160e01b600052601260045260246000fd5b600082612c9357612c93612c6e565b500490565b600082612ca757612ca7612c6e565b50069056fea164736f6c634300080d000a

Deployed Bytecode Sourcemap

296:3414:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4551:300:12;;;;;;;;;;-1:-1:-1;4551:300:12;;;;;:::i;:::-;;:::i;:::-;;;611:14:14;;604:22;586:41;;574:2;559:18;4551:300:12;;;;;;;;7579:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;9035:200::-;;;;;;;;;;-1:-1:-1;9035:200:12;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1738:55:14;;;1720:74;;1708:2;1693:18;9035:200:12;1574:226:14;8612:362:12;;;;;;;;;;-1:-1:-1;8612:362:12;;;;;:::i;:::-;;:::i;:::-;;566:19:10;;;;;;;;;;;;;;;;;;;2411:25:14;;;2399:2;2384:18;566:19:10;2265:177:14;484:37:10;;;;;;;;;;;;;;;3822:297:12;;;;;;;;;;-1:-1:-1;4072:12:12;;3301:1:10;4056:13:12;:28;-1:-1:-1;;4056:46:12;3822:297;;9874:164;;;;;;;;;;-1:-1:-1;9874:164:12;;;;;:::i;:::-;;:::i;2962:142:10:-;;;;;;;;;;;;;:::i;10104:179:12:-;;;;;;;;;;-1:-1:-1;10104:179:12;;;;;:::i;:::-;;:::i;1093:87:10:-;;;;;;;;;;-1:-1:-1;1093:87:10;;;;;:::i;:::-;;:::i;1438:450:13:-;;;;;;;;;;-1:-1:-1;1438:450:13;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;7394:123:12:-;;;;;;;;;;-1:-1:-1;7394:123:12;;;;;:::i;:::-;;:::i;592:24:10:-;;;;;;;;;;;;;;;;4910:203:12;;;;;;;;;;-1:-1:-1;4910:203:12;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;1384:187:10:-;;;;;;;;;;-1:-1:-1;1384:187:10;;;;;:::i;:::-;;:::i;5140:861:13:-;;;;;;;;;;-1:-1:-1;5140:861:13;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1036:85:0:-;;;;;;;;;;-1:-1:-1;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;1036:85;;7741:102:12;;;;;;;;;;;;;:::i;2264:2439:13:-;;;;;;;;;;-1:-1:-1;2264:2439:13;;;;;:::i;:::-;;:::i;407:27:10:-;;;;;;;;;;-1:-1:-1;407:27:10;;;;;;;;;;;;;;;:::i;1579:444::-;;;;;;:::i;:::-;;:::i;9302:282:12:-;;;;;;;;;;-1:-1:-1;9302:282:12;;;;;:::i;:::-;;:::i;1188:188:10:-;;;;;;;;;;-1:-1:-1;1188:188:10;;;;;:::i;:::-;;:::i;10349:359:12:-;;;;;;;;;;-1:-1:-1;10349:359:12;;;;;:::i;:::-;;:::i;2031:681:10:-;;;;;;;;;;-1:-1:-1;2031:681:10;;;;;:::i;:::-;;:::i;886:399:13:-;;;;;;;;;;-1:-1:-1;886:399:13;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;7909:313:12:-;;;;;;;;;;-1:-1:-1;7909:313:12;;;;;:::i;:::-;;:::i;528:29:10:-;;;;;;;;;;;;;;;;443:34;;;;;;;;;;;;;;;9650:162:12;;;;;;;;;;-1:-1:-1;9650:162:12;;;;;:::i;:::-;-1:-1:-1;;;;;9770:25:12;;;9747:4;9770:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;9650:162;895:17:10;;;;;;;;;;;;;:::i;2720:234::-;;;;;;;;;;-1:-1:-1;2720:234:10;;;;;:::i;:::-;;:::i;1918:198:0:-;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;4551:300:12:-;4653:4;-1:-1:-1;;;;;;4688:40:12;;4703:25;4688:40;;:104;;-1:-1:-1;;;;;;;4744:48:12;;4759:33;4744:48;4688:104;:156;;;-1:-1:-1;952:25:8;-1:-1:-1;;;;;;937:40:8;;;4808:36:12;4669:175;4551:300;-1:-1:-1;;4551:300:12:o;7579:98::-;7633:13;7665:5;7658:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7579:98;:::o;9035:200::-;9103:7;9127:16;9135:7;9127;:16::i;:::-;9122:64;;9152:34;;;;;;;;;;;;;;9122:64;-1:-1:-1;9204:24:12;;;;:15;:24;;;;;;-1:-1:-1;;;;;9204:24:12;;9035:200::o;8612:362::-;8684:13;8700:24;8716:7;8700:15;:24::i;:::-;8684:40;;8744:5;-1:-1:-1;;;;;8738:11:12;:2;-1:-1:-1;;;;;8738:11:12;;8734:48;;8758:24;;;;;;;;;;;;;;8734:48;719:10:5;-1:-1:-1;;;;;8797:21:12;;;;;;:63;;-1:-1:-1;;;;;;9770:25:12;;9747:4;9770:25;;;:18;:25;;;;;;;;719:10:5;9770:35:12;;;;;;;;;;8822:38;8797:63;8793:136;;;8883:35;;;;;;;;;;;;;;8793:136;8939:28;8948:2;8952:7;8961:5;8939:8;:28::i;:::-;8674:300;8612:362;;:::o;9874:164::-;10003:28;10013:4;10019:2;10023:7;10003:9;:28::i;2962:142:10:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;;;;;;;;;3059:37:10::1;::::0;3027:21:::1;::::0;3067:10:::1;::::0;3059:37;::::1;;;::::0;3027:21;;3012:12:::1;3059:37:::0;3012:12;3059:37;3027:21;3067:10;3059:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;3001:103;2962:142::o:0;10104:179:12:-;10237:39;10254:4;10260:2;10264:7;10237:39;;;;;;;;;;;;:16;:39::i;1093:87:10:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;1162:10:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;1438:450:13:-:0;1602:15;;1518:23;;1577:22;1602:15;1668:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;1668:36:13;;-1:-1:-1;;1668:36:13;;;;;;;;;;;;1631:73;;1723:9;1718:123;1739:14;1734:1;:19;1718:123;;1794:32;1814:8;1823:1;1814:11;;;;;;;;:::i;:::-;;;;;;;1794:19;:32::i;:::-;1778:10;1789:1;1778:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;1755:3;;1718:123;;;-1:-1:-1;1861:10:13;1438:450;-1:-1:-1;;;1438:450:13:o;7394:123:12:-;7458:7;7484:21;7497:7;7484:12;:21::i;:::-;:26;;7394:123;-1:-1:-1;;7394:123:12:o;4910:203::-;4974:7;-1:-1:-1;;;;;4997:19:12;;4993:60;;5025:28;;;;;;;;;;;;;;4993:60;-1:-1:-1;;;;;;5078:19:12;;;;;:12;:19;;;;;:27;;;;4910:203::o;1668:101:0:-;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;1384:187:10:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;1471:6:10::1;1463:4;;:14:::0;1455:45:::1;;;::::0;-1:-1:-1;;;1455:45:10;;11571:2:14;1455:45:10::1;::::0;::::1;11553:21:14::0;11610:2;11590:18;;;11583:30;11649:20;11629:18;;;11622:48;11687:18;;1455:45:10::1;11369:342:14::0;1455:45:10::1;1511:4;:13:::0;;;1540:23:::1;::::0;1518:6;;1540:23:::1;::::0;;;::::1;1384:187:::0;:::o;5140:861:13:-;5201:16;5253:19;5286:25;5325:22;5350:16;5360:5;5350:9;:16::i;:::-;5325:41;;5380:25;5422:14;5408:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5408:29:13;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;5380:57:13;;-1:-1:-1;3301:1:10;5496:460:13;5545:14;5530:11;:29;5496:460;;5596:14;;;;:11;:14;;;;;;;;;5584:26;;;;;;;;;-1:-1:-1;;;;;5584:26:13;;;;-1:-1:-1;;;5584:26:13;;;;;;;;;;;-1:-1:-1;;;5584:26:13;;;;;;;;;;;;;;-1:-1:-1;5672:8:13;5628:71;5720:14;;-1:-1:-1;;;;;5720:28:13;;5716:109;;5792:14;;;-1:-1:-1;5716:109:13;5867:5;-1:-1:-1;;;;;5846:26:13;:17;-1:-1:-1;;;;;5846:26:13;;5842:100;;5922:1;5896:8;5905:13;;;;;;5896:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;5842:100;5561:3;;5496:460;;;-1:-1:-1;5976:8:13;;5140:861;-1:-1:-1;;;;;;5140:861:13:o;7741:102:12:-;7797:13;7829:7;7822:14;;;;;:::i;2264:2439:13:-;2386:16;2451:4;2442:5;:13;2438:45;;2464:19;;;;;;;;;;;;;;2438:45;2550:13;;;2497:19;;2639:5;:23;2635:85;;;3301:1:10;2682:23:13;;2635:85;2798:9;2791:4;:16;2787:71;;;2834:9;2827:16;;2787:71;2871:25;2899:16;2909:5;2899:9;:16::i;:::-;2871:44;;3090:4;3082:5;:12;3078:271;;;3136:12;;;3170:31;;;3166:109;;;3245:11;3225:31;;3166:109;3096:193;3078:271;;;-1:-1:-1;3333:1:13;3078:271;3362:25;3404:17;3390:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3390:32:13;;3362:60;;3440:17;3461:1;3440:22;3436:76;;3489:8;-1:-1:-1;3482:15:13;;-1:-1:-1;;;3482:15:13;3436:76;3653:31;3687:26;3707:5;3687:19;:26::i;:::-;3653:60;;3727:25;3969:9;:16;;;3964:90;;-1:-1:-1;4025:14:13;;3964:90;4084:5;4067:466;4096:4;4091:1;:9;;:45;;;;;4119:17;4104:11;:32;;4091:45;4067:466;;;4173:14;;;;:11;:14;;;;;;;;;4161:26;;;;;;;;;-1:-1:-1;;;;;4161:26:13;;;;-1:-1:-1;;;4161:26:13;;;;;;;;;;;-1:-1:-1;;;4161:26:13;;;;;;;;;;;;;;-1:-1:-1;4249:8:13;4205:71;4297:14;;-1:-1:-1;;;;;4297:28:13;;4293:109;;4369:14;;;-1:-1:-1;4293:109:13;4444:5;-1:-1:-1;;;;;4423:26:13;:17;-1:-1:-1;;;;;4423:26:13;;4419:100;;4499:1;4473:8;4482:13;;;;;;4473:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4419:100;4138:3;;4067:466;;;-1:-1:-1;;;4615:29:13;;;-1:-1:-1;4622:8:13;;-1:-1:-1;;2264:2439:13;;;;;;:::o;1579:444:10:-;1626:6;3380:9;;3370:6;:19;;3362:54;;;;-1:-1:-1;;;3362:54:10;;11918:2:14;3362:54:10;;;11900:21:14;11957:2;11937:18;;;11930:30;11996:24;11976:18;;;11969:52;12038:18;;3362:54:10;11716:346:14;3362:54:10;3449:16;3435:11;;;;:30;;;;;;;;:::i;:::-;;3427:56;;;;-1:-1:-1;;;3427:56:10;;12269:2:14;3427:56:10;;;12251:21:14;12308:2;12288:18;;;12281:30;12347:15;12327:18;;;12320:43;12380:18;;3427:56:10;12067:337:14;3427:56:10;3517:18;3502:11;;;;:33;;;;;;;;:::i;:::-;;3494:60;;;;-1:-1:-1;;;3494:60:10;;12611:2:14;3494:60:10;;;12593:21:14;12650:2;12630:18;;;12623:30;12689:16;12669:18;;;12662:44;12723:18;;3494:60:10;12409:338:14;3494:60:10;3599:24;3611:12;3599:9;:24;:::i;:::-;4072:12:12;;3301:1:10;4056:13:12;3589:6:10;;4056:28:12;;-1:-1:-1;;4056:46:12;3573:22:10;;;;:::i;:::-;:50;;3565:81;;;;-1:-1:-1;;;3565:81:10;;13406:2:14;3565:81:10;;;13388:21:14;13445:2;13425:18;;;13418:30;13484:20;13464:18;;;13457:48;13522:18;;3565:81:10;13204:342:14;3565:81:10;1653:17:::1;1680:6;1673:4;;:13;;;;:::i;:::-;1653:33;;1718:9;1705;:22;1697:52;;;::::0;-1:-1:-1;;;1697:52:10;;13926:2:14;1697:52:10::1;::::0;::::1;13908:21:14::0;13965:2;13945:18;;;13938:30;14004:19;13984:18;;;13977:47;14041:18;;1697:52:10::1;13724:341:14::0;1697:52:10::1;4072:12:12::0;;3301:1:10;4056:13:12;1760::10::1;::::0;1792:6;;4056:28:12;-1:-1:-1;;4056:46:12;1776:22:10::1;;;;:::i;:::-;1760:38;;1821:9;1812:5;:18;:55;;;-1:-1:-1::0;1843:24:10::1;1855:12;1843:9;:24;:::i;:::-;1834:5;:33;1812:55;1809:167;;;1884:11;:32:::0;;-1:-1:-1;;1884:32:10::1;1898:18;1884:32:::0;;::::1;::::0;;;1936:28:::1;::::0;::::1;::::0;;;::::1;1809:167;1986:29;1996:10;2008:6;1986:9;:29::i;:::-;1642:381;;1579:444:::0;;:::o;9302:282:12:-;719:10:5;-1:-1:-1;;;;;9400:24:12;;;9396:54;;9433:17;;;;;;;;;;;;;;9396:54;719:10:5;9461:32:12;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;9461:42:12;;;;;;;;;;;;:53;;-1:-1:-1;;9461:53:12;;;;;;;;;;9529:48;;586:41:14;;;9461:42:12;;719:10:5;9529:48:12;;559:18:14;9529:48:12;;;;;;;9302:282;;:::o;1188:188:10:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;1277:4:10::1;1262:19;;;;;;;;:::i;:::-;:11;::::0;::::1;;:19;::::0;::::1;;;;;;:::i;:::-;::::0;1254:48:::1;;;::::0;-1:-1:-1;;;1254:48:10;;14272:2:14;1254:48:10::1;::::0;::::1;14254:21:14::0;14311:2;14291:18;;;14284:30;14350:18;14330;;;14323:46;14386:18;;1254:48:10::1;14070:340:14::0;1254:48:10::1;1313:11;:18:::0;;1327:4;;1313:11;-1:-1:-1;;1313:18:10::1;::::0;1327:4;1313:18:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;1363:4;1347:21;;;;;;;;:::i;:::-;;::::0;::::1;::::0;;;::::1;1188:188:::0;:::o;10349:359:12:-;10510:28;10520:4;10526:2;10530:7;10510:9;:28::i;:::-;-1:-1:-1;;;;;10552:13:12;;1465:19:4;:23;;10552:76:12;;;;;10572:56;10603:4;10609:2;10613:7;10622:5;10572:30;:56::i;:::-;10571:57;10552:76;10548:154;;;10651:40;;-1:-1:-1;;;10651:40:12;;;;;;;;;;;2031:681:10;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;2183:24:10::1;2195:12;2183:9;:24;:::i;:::-;2153:25;2172:6:::0;2153:9;:25:::1;:::i;:::-;4072:12:12::0;;3301:1:10;4056:13:12;:28;-1:-1:-1;;4056:46:12;2136:43:10::1;;;;:::i;:::-;:71;;2128:101;;;::::0;-1:-1:-1;;;2128:101:10;;14617:2:14;2128:101:10::1;::::0;::::1;14599:21:14::0;14656:2;14636:18;;;14629:30;14695:19;14675:18;;;14668:47;14732:18;;2128:101:10::1;14415:341:14::0;2128:101:10::1;2240:16;::::0;;2305:183:::1;2321:18:::0;;::::1;2305:183;;;2367:9;;2377:1;2367:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;2360:19;;2410:8;-1:-1:-1::0;;;;;2402:16:10::1;:4;-1:-1:-1::0;;;;;2402:16:10::1;::::0;2394:44:::1;;;::::0;-1:-1:-1;;;2394:44:10;;14963:2:14;2394:44:10::1;::::0;::::1;14945:21:14::0;15002:2;14982:18;;;14975:30;15041:17;15021:18;;;15014:45;15076:18;;2394:44:10::1;14761:339:14::0;2394:44:10::1;2453:23;2463:4;2469:6;2453:9;:23::i;:::-;2340:3;::::0;::::1;:::i;:::-;;;2305:183;;;-1:-1:-1::0;4072:12:12;;3301:1:10;4056:13:12;:28;-1:-1:-1;;4056:46:12;2550:9:10::1;2541:18:::0;::::1;::::0;:55:::1;;-1:-1:-1::0;2572:24:10::1;2584:12;2572:9;:24;:::i;:::-;2563:5;:33;2541:55;2538:167;;;2613:11;:32:::0;;-1:-1:-1;;2613:32:10::1;2627:18;2613:32:::0;;::::1;::::0;;;2665:28:::1;::::0;::::1;::::0;;;::::1;2538:167;2117:595;;;2031:681:::0;;;:::o;886:399:13:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3301:1:10;1031:7:13;:25;:53;;;;1071:13;;1060:7;:24;;1031:53;1027:100;;;1107:9;886:399;-1:-1:-1;;886:399:13:o;1027:100::-;-1:-1:-1;1148:20:13;;;;:11;:20;;;;;;;;;1136:32;;;;;;;;;-1:-1:-1;;;;;1136:32:13;;;;-1:-1:-1;;;1136:32:13;;;;;;;;;;;-1:-1:-1;;;1136:32:13;;;;;;;;;;;;;;;;1178:63;;1221:9;886:399;-1:-1:-1;;886:399:13:o;1178:63::-;1257:21;1270:7;1257:12;:21::i;7909:313:12:-;7982:13;8012:16;8020:7;8012;:16::i;:::-;8007:59;;8037:29;;;;;;;;;;;;;;8007:59;8077:21;8101:10;:8;:10::i;:::-;8077:34;;8134:7;8128:21;8153:1;8128:26;:87;;;;;;;;;;;;;;;;;8181:7;8190:18;:7;:16;:18::i;:::-;8164:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8121:94;7909:313;-1:-1:-1;;;7909:313:12:o;895:17:10:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2720:234::-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;2842:12:10::1;2830:8;2813:14;;:25;;;;:::i;:::-;:41;;2805:70;;;::::0;-1:-1:-1;;;2805:70:10;;15922:2:14;2805:70:10::1;::::0;::::1;15904:21:14::0;15961:2;15941:18;;;15934:30;16000:18;15980;;;15973:46;16036:18;;2805:70:10::1;15720:340:14::0;2805:70:10::1;2904:8;2886:14;;:26;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;2923:23:10::1;::::0;-1:-1:-1;2933:2:10;2937:8;2923:9:::1;:23::i;1918:198:0:-:0;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;11021:2:14;1240:68:0;;;11003:21:14;;;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;11151:18;;1240:68:0;10819:356:14;1240:68:0;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;16267:2:14;1998:73:0::1;::::0;::::1;16249:21:14::0;16306:2;16286:18;;;16279:30;16345:34;16325:18;;;16318:62;16416:8;16396:18;;;16389:36;16442:19;;1998:73:0::1;16065:402:14::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;10954:172:12:-;11011:4;11053:7;3301:1:10;11034:26:12;;:53;;;;;11074:13;;11064:7;:23;11034:53;:85;;;;-1:-1:-1;;11092:20:12;;;;:11;:20;;;;;:27;-1:-1:-1;;;11092:27:12;;;;11091:28;;10954:172::o;18894:189::-;19004:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;19004:29:12;-1:-1:-1;;;;;19004:29:12;;;;;;;;;19048:28;;19004:24;;19048:28;;;;;;;18894:189;;;:::o;13964:2082::-;14074:35;14112:21;14125:7;14112:12;:21::i;:::-;14074:59;;14170:4;-1:-1:-1;;;;;14148:26:12;:13;:18;;;-1:-1:-1;;;;;14148:26:12;;14144:67;;14183:28;;;;;;;;;;;;;;14144:67;14222:22;719:10:5;-1:-1:-1;;;;;14248:20:12;;;;:72;;-1:-1:-1;;;;;;9770:25:12;;9747:4;9770:25;;;:18;:25;;;;;;;;719:10:5;9770:35:12;;;;;;;;;;14284:36;14248:124;;;-1:-1:-1;719:10:5;14336:20:12;14348:7;14336:11;:20::i;:::-;-1:-1:-1;;;;;14336:36:12;;14248:124;14222:151;;14389:17;14384:66;;14415:35;;;;;;;;;;;;;;14384:66;-1:-1:-1;;;;;14464:16:12;;14460:52;;14489:23;;;;;;;;;;;;;;14460:52;14628:35;14645:1;14649:7;14658:4;14628:8;:35::i;:::-;-1:-1:-1;;;;;14953:18:12;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;14953:31:12;;;;;;;-1:-1:-1;;14953:31:12;;;;;;;14998:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;14998:29:12;;;;;;;;;;;15076:20;;;:11;:20;;;;;;15110:18;;-1:-1:-1;;;;;;15142:49:12;;;;-1:-1:-1;;;15175:15:12;15142:49;;;;;;;;;;15461:11;;15520:24;;;;;15562:13;;15076:20;;15520:24;;15562:13;15558:377;;15769:13;;15754:11;:28;15750:171;;15806:20;;15874:28;;;;15848:54;;-1:-1:-1;;;15848:54:12;-1:-1:-1;;;;;;15848:54:12;;;-1:-1:-1;;;;;15806:20:12;;15848:54;;;;15750:171;14929:1016;;;15979:7;15975:2;-1:-1:-1;;;;;15960:27:12;15969:4;-1:-1:-1;;;;;15960:27:12;;;;;;;;;;;15997:42;14064:1982;;13964:2082;;;:::o;6253:1084::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;6363:7:12;;3301:1:10;6409:23:12;;:47;;;;;6443:13;;6436:4;:20;6409:47;6405:868;;;6476:31;6510:17;;;:11;:17;;;;;;;;;6476:51;;;;;;;;;-1:-1:-1;;;;;6476:51:12;;;;-1:-1:-1;;;6476:51:12;;;;;;;;;;;-1:-1:-1;;;6476:51:12;;;;;;;;;;;;;;6545:714;;6594:14;;-1:-1:-1;;;;;6594:28:12;;6590:99;;6657:9;6253:1084;-1:-1:-1;;;6253:1084:12:o;6590:99::-;-1:-1:-1;;;7025:6:12;7069:17;;;;:11;:17;;;;;;;;;7057:29;;;;;;;;;-1:-1:-1;;;;;7057:29:12;;;;;-1:-1:-1;;;7057:29:12;;;;;;;;;;;-1:-1:-1;;;7057:29:12;;;;;;;;;;;;;7116:28;7112:107;;7183:9;6253:1084;-1:-1:-1;;;6253:1084:12:o;7112:107::-;6986:255;;;6458:815;6405:868;7299:31;;;;;;;;;;;;;;2270:187:0;2343:16;2362:6;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;2378:17:0;;;;;;2410:40;;2362:6;;;;;;;2410:40;;2343:16;2410:40;2333:124;2270:187;:::o;11132:102:12:-;11200:27;11210:2;11214:8;11200:27;;;;;;;;;;;;:9;:27::i;19564:650::-;19742:72;;-1:-1:-1;;;19742:72:12;;19722:4;;-1:-1:-1;;;;;19742:36:12;;;;;:72;;719:10:5;;19793:4:12;;19799:7;;19808:5;;19742:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19742:72:12;;;;;;;;-1:-1:-1;;19742:72:12;;;;;;;;;;;;:::i;:::-;;;19738:470;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19973:6;:13;19990:1;19973:18;19969:229;;20018:40;;-1:-1:-1;;;20018:40:12;;;;;;;;;;;19969:229;20158:6;20152:13;20143:6;20139:2;20135:15;20128:38;19738:470;-1:-1:-1;;;;;;19860:55:12;-1:-1:-1;;;19860:55:12;;-1:-1:-1;19738:470:12;19564:650;;;;;;:::o;3113:96:10:-;3165:13;3198:3;3191:10;;;;;:::i;328:703:6:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:6;;;;;;;;;;;;;;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:6;;-1:-1:-1;773:2:6;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:6;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:6;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;972:11:6;981:2;972:11;;:::i;:::-;;;844:150;;11585:157:12;11703:32;11709:2;11713:8;11723:5;11730:4;12145:13;;-1:-1:-1;;;;;12172:16:12;;12168:48;;12197:19;;;;;;;;;;;;;;12168:48;12230:8;12242:1;12230:13;12226:44;;12252:18;;;;;;;;;;;;;;12226:44;-1:-1:-1;;;;;12613:16:12;;;;;;:12;:16;;;;;;;;:44;;12671:49;;;12613:44;;;;;;;;12671:49;;;;-1:-1:-1;;12613:44:12;;;;;;12671:49;;;;;;;;;;;;;;;;12735:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;12784:66:12;;;;-1:-1:-1;;;12834:15:12;12784:66;;;;;;;;;;12735:25;12928:23;;;12970:4;:23;;;;-1:-1:-1;;;;;;12978:13:12;;1465:19:4;:23;;12978:15:12;12966:628;;;13013:309;13043:38;;13068:12;;-1:-1:-1;;;;;13043:38:12;;;13060:1;;13043:38;;13060:1;;13043:38;13108:69;13147:1;13151:2;13155:14;;;;;;13171:5;13108:30;:69::i;:::-;13103:172;;13212:40;;-1:-1:-1;;;13212:40:12;;;;;;;;;;;13103:172;13317:3;13301:12;:19;13013:309;;13401:12;13384:13;;:29;13380:43;;13415:8;;;13380:43;12966:628;;;13462:118;13492:40;;13517:14;;;;;-1:-1:-1;;;;;13492:40:12;;;13509:1;;13492:40;;13509:1;;13492:40;13575:3;13559:12;:19;13462:118;;12966:628;-1:-1:-1;13607:13:12;:28;13655:60;1579:444:10;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:14;-1:-1:-1;;;;;;92:5:14;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:14;868:16;;861:27;638:258::o;901:::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1141:2;1120:15;-1:-1:-1;;1116:29:14;1107:39;;;;1148:4;1103:50;;901:258;-1:-1:-1;;901:258:14:o;1164:220::-;1313:2;1302:9;1295:21;1276:4;1333:45;1374:2;1363:9;1359:18;1351:6;1333:45;:::i;1389:180::-;1448:6;1501:2;1489:9;1480:7;1476:23;1472:32;1469:52;;;1517:1;1514;1507:12;1469:52;-1:-1:-1;1540:23:14;;1389:180;-1:-1:-1;1389:180:14:o;1805:196::-;1873:20;;-1:-1:-1;;;;;1922:54:14;;1912:65;;1902:93;;1991:1;1988;1981:12;1902:93;1805:196;;;:::o;2006:254::-;2074:6;2082;2135:2;2123:9;2114:7;2110:23;2106:32;2103:52;;;2151:1;2148;2141:12;2103:52;2174:29;2193:9;2174:29;:::i;:::-;2164:39;2250:2;2235:18;;;;2222:32;;-1:-1:-1;;;2006:254:14:o;2447:328::-;2524:6;2532;2540;2593:2;2581:9;2572:7;2568:23;2564:32;2561:52;;;2609:1;2606;2599:12;2561:52;2632:29;2651:9;2632:29;:::i;:::-;2622:39;;2680:38;2714:2;2703:9;2699:18;2680:38;:::i;:::-;2670:48;;2765:2;2754:9;2750:18;2737:32;2727:42;;2447:328;;;;;:::o;2780:184::-;-1:-1:-1;;;2829:1:14;2822:88;2929:4;2926:1;2919:15;2953:4;2950:1;2943:15;2969:275;3040:2;3034:9;3105:2;3086:13;;-1:-1:-1;;3082:27:14;3070:40;;3140:18;3125:34;;3161:22;;;3122:62;3119:88;;;3187:18;;:::i;:::-;3223:2;3216:22;2969:275;;-1:-1:-1;2969:275:14:o;3249:407::-;3314:5;3348:18;3340:6;3337:30;3334:56;;;3370:18;;:::i;:::-;3408:57;3453:2;3432:15;;-1:-1:-1;;3428:29:14;3459:4;3424:40;3408:57;:::i;:::-;3399:66;;3488:6;3481:5;3474:21;3528:3;3519:6;3514:3;3510:16;3507:25;3504:45;;;3545:1;3542;3535:12;3504:45;3594:6;3589:3;3582:4;3575:5;3571:16;3558:43;3648:1;3641:4;3632:6;3625:5;3621:18;3617:29;3610:40;3249:407;;;;;:::o;3661:451::-;3730:6;3783:2;3771:9;3762:7;3758:23;3754:32;3751:52;;;3799:1;3796;3789:12;3751:52;3839:9;3826:23;3872:18;3864:6;3861:30;3858:50;;;3904:1;3901;3894:12;3858:50;3927:22;;3980:4;3972:13;;3968:27;-1:-1:-1;3958:55:14;;4009:1;4006;3999:12;3958:55;4032:74;4098:7;4093:2;4080:16;4075:2;4071;4067:11;4032:74;:::i;4117:946::-;4201:6;4232:2;4275;4263:9;4254:7;4250:23;4246:32;4243:52;;;4291:1;4288;4281:12;4243:52;4331:9;4318:23;4360:18;4401:2;4393:6;4390:14;4387:34;;;4417:1;4414;4407:12;4387:34;4455:6;4444:9;4440:22;4430:32;;4500:7;4493:4;4489:2;4485:13;4481:27;4471:55;;4522:1;4519;4512:12;4471:55;4558:2;4545:16;4580:2;4576;4573:10;4570:36;;;4586:18;;:::i;:::-;4632:2;4629:1;4625:10;4615:20;;4655:28;4679:2;4675;4671:11;4655:28;:::i;:::-;4717:15;;;4787:11;;;4783:20;;;4748:12;;;;4815:19;;;4812:39;;;4847:1;4844;4837:12;4812:39;4871:11;;;;4891:142;4907:6;4902:3;4899:15;4891:142;;;4973:17;;4961:30;;4924:12;;;;5011;;;;4891:142;;;5052:5;4117:946;-1:-1:-1;;;;;;;;4117:946:14:o;5374:724::-;5609:2;5661:21;;;5731:13;;5634:18;;;5753:22;;;5580:4;;5609:2;5832:15;;;;5806:2;5791:18;;;5580:4;5875:197;5889:6;5886:1;5883:13;5875:197;;;5938:52;5986:3;5977:6;5971:13;5152:12;;-1:-1:-1;;;;;5148:61:14;5136:74;;5263:4;5252:16;;;5246:23;5271:18;5242:48;5226:14;;;5219:72;5354:4;5343:16;;;5337:23;5330:31;5323:39;5307:14;;5300:63;5068:301;5938:52;6047:15;;;;6019:4;6010:14;;;;;5911:1;5904:9;5875:197;;6103:186;6162:6;6215:2;6203:9;6194:7;6190:23;6186:32;6183:52;;;6231:1;6228;6221:12;6183:52;6254:29;6273:9;6254:29;:::i;6294:632::-;6465:2;6517:21;;;6587:13;;6490:18;;;6609:22;;;6436:4;;6465:2;6688:15;;;;6662:2;6647:18;;;6436:4;6731:169;6745:6;6742:1;6739:13;6731:169;;;6806:13;;6794:26;;6875:15;;;;6840:12;;;;6767:1;6760:9;6731:169;;6931:322;7008:6;7016;7024;7077:2;7065:9;7056:7;7052:23;7048:32;7045:52;;;7093:1;7090;7083:12;7045:52;7116:29;7135:9;7116:29;:::i;:::-;7106:39;7192:2;7177:18;;7164:32;;-1:-1:-1;7243:2:14;7228:18;;;7215:32;;6931:322;-1:-1:-1;;;6931:322:14:o;7258:184::-;-1:-1:-1;;;7307:1:14;7300:88;7407:4;7404:1;7397:15;7431:4;7428:1;7421:15;7447:397;7591:2;7576:18;;7624:1;7613:13;;7603:201;;-1:-1:-1;;;7657:1:14;7650:88;7761:4;7758:1;7751:15;7789:4;7786:1;7779:15;7603:201;7813:25;;;7447:397;:::o;7849:347::-;7914:6;7922;7975:2;7963:9;7954:7;7950:23;7946:32;7943:52;;;7991:1;7988;7981:12;7943:52;8014:29;8033:9;8014:29;:::i;:::-;8004:39;;8093:2;8082:9;8078:18;8065:32;8140:5;8133:13;8126:21;8119:5;8116:32;8106:60;;8162:1;8159;8152:12;8106:60;8185:5;8175:15;;;7849:347;;;;;:::o;8201:268::-;8272:6;8325:2;8313:9;8304:7;8300:23;8296:32;8293:52;;;8341:1;8338;8331:12;8293:52;8380:9;8367:23;8419:1;8412:5;8409:12;8399:40;;8435:1;8432;8425:12;8474:667;8569:6;8577;8585;8593;8646:3;8634:9;8625:7;8621:23;8617:33;8614:53;;;8663:1;8660;8653:12;8614:53;8686:29;8705:9;8686:29;:::i;:::-;8676:39;;8734:38;8768:2;8757:9;8753:18;8734:38;:::i;:::-;8724:48;;8819:2;8808:9;8804:18;8791:32;8781:42;;8874:2;8863:9;8859:18;8846:32;8901:18;8893:6;8890:30;8887:50;;;8933:1;8930;8923:12;8887:50;8956:22;;9009:4;9001:13;;8997:27;-1:-1:-1;8987:55:14;;9038:1;9035;9028:12;8987:55;9061:74;9127:7;9122:2;9109:16;9104:2;9100;9096:11;9061:74;:::i;:::-;9051:84;;;8474:667;;;;;;;:::o;9146:689::-;9241:6;9249;9257;9310:2;9298:9;9289:7;9285:23;9281:32;9278:52;;;9326:1;9323;9316:12;9278:52;9366:9;9353:23;9395:18;9436:2;9428:6;9425:14;9422:34;;;9452:1;9449;9442:12;9422:34;9490:6;9479:9;9475:22;9465:32;;9535:7;9528:4;9524:2;9520:13;9516:27;9506:55;;9557:1;9554;9547:12;9506:55;9597:2;9584:16;9623:2;9615:6;9612:14;9609:34;;;9639:1;9636;9629:12;9609:34;9694:7;9687:4;9677:6;9674:1;9670:14;9666:2;9662:23;9658:34;9655:47;9652:67;;;9715:1;9712;9705:12;9652:67;9746:4;9738:13;;;;9770:6;;-1:-1:-1;9808:20:14;;;;9795:34;;9146:689;-1:-1:-1;;;;9146:689:14:o;9840:267::-;5152:12;;-1:-1:-1;;;;;5148:61:14;5136:74;;5263:4;5252:16;;;5246:23;5271:18;5242:48;5226:14;;;5219:72;5354:4;5343:16;;;5337:23;5330:31;5323:39;5307:14;;;5300:63;10038:2;10023:18;;10050:51;5068:301;10112:260;10180:6;10188;10241:2;10229:9;10220:7;10216:23;10212:32;10209:52;;;10257:1;10254;10247:12;10209:52;10280:29;10299:9;10280:29;:::i;:::-;10270:39;;10328:38;10362:2;10351:9;10347:18;10328:38;:::i;:::-;10318:48;;10112:260;;;;;:::o;10377:437::-;10456:1;10452:12;;;;10499;;;10520:61;;10574:4;10566:6;10562:17;10552:27;;10520:61;10627:2;10619:6;10616:14;10596:18;10593:38;10590:218;;-1:-1:-1;;;10661:1:14;10654:88;10765:4;10762:1;10755:15;10793:4;10790:1;10783:15;10590:218;;10377:437;;;:::o;11180:184::-;-1:-1:-1;;;11229:1:14;11222:88;11329:4;11326:1;11319:15;11353:4;11350:1;11343:15;12752:184;-1:-1:-1;;;12801:1:14;12794:88;12901:4;12898:1;12891:15;12925:4;12922:1;12915:15;12941:125;12981:4;13009:1;13006;13003:8;13000:34;;;13014:18;;:::i;:::-;-1:-1:-1;13051:9:14;;12941:125::o;13071:128::-;13111:3;13142:1;13138:6;13135:1;13132:13;13129:39;;;13148:18;;:::i;:::-;-1:-1:-1;13184:9:14;;13071:128::o;13551:168::-;13591:7;13657:1;13653;13649:6;13645:14;13642:1;13639:21;13634:1;13627:9;13620:17;13616:45;13613:71;;;13664:18;;:::i;:::-;-1:-1:-1;13704:9:14;;13551:168::o;15105:135::-;15144:3;15165:17;;;15162:43;;15185:18;;:::i;:::-;-1:-1:-1;15232:1:14;15221:13;;15105:135::o;15245:470::-;15424:3;15462:6;15456:13;15478:53;15524:6;15519:3;15512:4;15504:6;15500:17;15478:53;:::i;:::-;15594:13;;15553:16;;;;15616:57;15594:13;15553:16;15650:4;15638:17;;15616:57;:::i;:::-;15689:20;;15245:470;-1:-1:-1;;;;15245:470:14:o;16472:512::-;16666:4;-1:-1:-1;;;;;16776:2:14;16768:6;16764:15;16753:9;16746:34;16828:2;16820:6;16816:15;16811:2;16800:9;16796:18;16789:43;;16868:6;16863:2;16852:9;16848:18;16841:34;16911:3;16906:2;16895:9;16891:18;16884:31;16932:46;16973:3;16962:9;16958:19;16950:6;16932:46;:::i;:::-;16924:54;16472:512;-1:-1:-1;;;;;;16472:512:14:o;16989:249::-;17058:6;17111:2;17099:9;17090:7;17086:23;17082:32;17079:52;;;17127:1;17124;17117:12;17079:52;17159:9;17153:16;17178:30;17202:5;17178:30;:::i;17243:184::-;-1:-1:-1;;;17292:1:14;17285:88;17392:4;17389:1;17382:15;17416:4;17413:1;17406:15;17432:120;17472:1;17498;17488:35;;17503:18;;:::i;:::-;-1:-1:-1;17537:9:14;;17432:120::o;17557:112::-;17589:1;17615;17605:35;;17620:18;;:::i;:::-;-1:-1:-1;17654:9:14;;17557:112::o

Swarm Source

none
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.