ETH Price: $3,422.68 (+3.08%)

Token

Plug'd (PLUGD)
 

Overview

Max Total Supply

3,333 PLUGD

Holders

242

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
snuggster.eth
Balance
10 PLUGD
0x483b613641720bdd7848f4d90a01883141b753db
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract Token is ERC721A,  Ownable, ReentrancyGuard {

    // ======== Metadata =========
    string public baseTokenURI;

    // ======== Provenance =========
    string public provenanceHash = "";

    // ======== Supply =========
    uint256 public maxMintsPerTX;
    uint256 public maxMintsPerAddress;
    uint256 public maxTokens;

    // ======== Cost =========
    uint256 public pricePublic;
    uint256 public priceWhitelist;

    // ======== Sale Status =========
    bool public preSaleIsActive = false;
    bool public publicSaleIsActive = false;

    // ======== Claim Tracking =========
    mapping(address => uint256) private addressToMintCount;
    mapping(address => bool) public whitelistClaimed;

    // ======== Whitelist Validation =========
    bytes32 public whitelistMerkleRoot;
    
    // ======== Constructor =========
    constructor(
        string memory baseURI, 
        uint256 tokenSupply,
        uint256 _maxMintsAddress,
        uint256 _maxMintsPerTX,
        uint256 _pricePublic,
        uint256 _priceWhitelist) ERC721A ("Plug'd", "PLUGD") {
        setBaseURI(baseURI);
        maxTokens = tokenSupply;
        maxMintsPerAddress = _maxMintsAddress;
        maxMintsPerTX = _maxMintsPerTX;
        pricePublic = _pricePublic;
        priceWhitelist = _priceWhitelist;
    }

    // ======== Metadata =========
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    // ======== Provenance =========
    function setProvenanceHash(string memory _provenanceHash) public onlyOwner {
        provenanceHash = _provenanceHash;
    }
    
    // ======== Modifier Checks =========
    modifier isWhitelistMerkleRootSet() {
        require(whitelistMerkleRoot != 0, "Whitelist merkle root not set!");
        _;
    }

    modifier isValidMerkleProof(address _address, bytes32[] calldata merkleProof, uint256 quantity) {
        require(
            MerkleProof.verify(
                merkleProof, 
                whitelistMerkleRoot, 
                keccak256(abi.encodePacked(keccak256(abi.encodePacked(_address, quantity)))
                )
            ), 
            "Address is not on whitelist!");
        _;

    }
    
    modifier isSupplyAvailable(uint256 numberOfTokens) {
        uint256 supply = totalSupply();
        require(supply + numberOfTokens <= maxTokens, "Exceeds max token supply!");
        _;
    }
    
    modifier isPaymentCorrectPublic(uint256 numberOfTokens) {
        require(msg.value >= pricePublic * numberOfTokens, "Invalid ETH value sent!");
        _;
    }
    
    modifier isPaymentCorrectWhitelist(uint256 numberOfTokens) {
        require(msg.value >= priceWhitelist * numberOfTokens, "Invalid ETH value sent!");
        _;
    }

    modifier isMaxMintsPerWalletExceeded(uint amount) {
        require(addressToMintCount[msg.sender] + amount <= maxMintsPerAddress, "Exceeds max mint per wallet!");
        _;
    }

    // ======== Mint Functions =========
    /// @notice Mint all available tokens on whitelist
    /// @param merkleProof The merkle proof generated offchain
    /// @param quantity The quantity user can mint
    function mintWhitelist(bytes32[] calldata merkleProof, uint256 quantity) public payable 
        isWhitelistMerkleRootSet()
        isValidMerkleProof(msg.sender, merkleProof, quantity) 
        isSupplyAvailable(quantity) 
        isPaymentCorrectWhitelist(quantity)
        isMaxMintsPerWalletExceeded(quantity)
        nonReentrant {
            require(!whitelistClaimed[msg.sender], "Whitelist is already claimed by this wallet!");
            require(preSaleIsActive, "Pre-Sale is not active!");
            require(quantity <= maxMintsPerTX, "Exceeds max mint per tx!");

            _safeMint(msg.sender, quantity);           

            addressToMintCount[msg.sender] += quantity;

            whitelistClaimed[msg.sender] = true;
    }

    /// @notice Mint tokens at public price
    /// @param quantity The amount user would like to mint
    function mintPublic(uint quantity) public payable 
        isSupplyAvailable(quantity) 
        isPaymentCorrectPublic(quantity)
        isMaxMintsPerWalletExceeded(quantity)
        nonReentrant  {
            require(msg.sender == tx.origin, "Mint: not allowed from contract");
            require(quantity <= maxMintsPerTX, "Exceeds max mint per tx!");
            require(publicSaleIsActive, "Public-Sale is not active!");
            
            _safeMint(msg.sender, quantity);          

            addressToMintCount[msg.sender] += quantity;
    }

    /// @notice Mint team tokens
    /// @param _address The address to send minted tokens
    /// @param quantity The number of tokens to be minted
    function mintTeamTokens(address _address, uint256 quantity) public 
        onlyOwner 
        isSupplyAvailable(quantity) {            
        _safeMint(_address, quantity);          
    }

    // ======== Whitelisting =========
    function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        whitelistMerkleRoot = merkleRoot;
    }

    /// @notice Check if user is whitelisted
    /// @param _address The whitelisted address
    /// @param merkleProof The merkle proof generated offchain
    /// @param quantity The number of tokens the user has been whitelisted for
    function isWhitelisted(address _address, bytes32[] calldata merkleProof, uint256 quantity) external view
        isValidMerkleProof(_address, merkleProof, quantity) 
        returns (bool) {            
            require(!whitelistClaimed[_address], "Whitelist is already claimed by this wallet");
            return true;
    }

    /// @notice Check if user has claimed their whitelist
    /// @param _address The whitelisted address
    function isWhitelistClaimed(address _address) external view returns (bool) {
        return whitelistClaimed[_address];
    }

    // ======== Utilities =========
    /// @notice Return number of tokens minted
    /// @param _address The whitelisted address
    function mintCount(address _address) external view returns (uint) {
        return addressToMintCount[_address];
    }

    // ======== State Management =========
    /// @notice Toggle whitelist sale state
    function flipPreSaleStatus() public onlyOwner {
        preSaleIsActive = !preSaleIsActive;
    }

    /// @notice Toggle public sale state
    function flipPublicSaleStatus() public onlyOwner {
        publicSaleIsActive = !publicSaleIsActive;
    }
 
    // ======== Token Supply Management=========
    /// @notice Set max tokens per address
    /// @param _max The new max tokens per address
    function setMaxMintPerAddress(uint _max) public onlyOwner {
        maxMintsPerAddress = _max;
    }

    /// @notice Decrease max token supply
    /// @param newMaxTokenSupply The new max tokens supply
    function decreaseTokenSupply(uint256 newMaxTokenSupply) external onlyOwner {
        require(maxTokens > newMaxTokenSupply, "Max token supply can only be decreased!");
        require(maxTokens > totalSupply(), "Max token supply must be greated than minted count!");
        maxTokens = newMaxTokenSupply;
    }

    /// @notice Change whitelist price
    /// @param newPrice The new whitelist price
    function changePriceWhitelist(uint256 newPrice) external onlyOwner {
        priceWhitelist = newPrice;
    }

    /// @notice Change public price
    /// @param newPrice The new public price
    function changePricePublic(uint256 newPrice) external onlyOwner {
        pricePublic = newPrice;
    }

    // ======== Withdraw =========
    /// @notice Withdraw funds to contract owners address
    function withdraw() public payable onlyOwner {
        uint balance = address(this).balance;
        require(payable(msg.sender).send(balance));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 15 : 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/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

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

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

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 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_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

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

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

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

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

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

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(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 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 > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = uint128(updatedIndex);
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * 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 5 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"tokenSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintsAddress","type":"uint256"},{"internalType":"uint256","name":"_maxMintsPerTX","type":"uint256"},{"internalType":"uint256","name":"_pricePublic","type":"uint256"},{"internalType":"uint256","name":"_priceWhitelist","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePriceWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTokenSupply","type":"uint256"}],"name":"decreaseTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerTX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintTeamTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","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":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxMintPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

608060405260405180602001604052806000815250600a90816200002491906200059e565b506000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055503480156200006857600080fd5b5060405162005d5938038062005d5983398181016040528101906200008e91906200081a565b6040518060400160405280600681526020017f506c7567276400000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f504c55474400000000000000000000000000000000000000000000000000000081525081600190816200010b91906200059e565b5080600290816200011d91906200059e565b50505062000140620001346200018860201b60201c565b6200019060201b60201c565b600160088190555062000159866200025660201b60201c565b84600d8190555083600c8190555082600b8190555081600e8190555080600f8190555050505050505062000958565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002666200018860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200028c620002fa60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002dc9062000936565b60405180910390fd5b8060099081620002f691906200059e565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003a657607f821691505b602082108103620003bc57620003bb6200035e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004267fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003e7565b620004328683620003e7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200047f6200047962000473846200044a565b62000454565b6200044a565b9050919050565b6000819050919050565b6200049b836200045e565b620004b3620004aa8262000486565b848454620003f4565b825550505050565b600090565b620004ca620004bb565b620004d781848462000490565b505050565b5b81811015620004ff57620004f3600082620004c0565b600181019050620004dd565b5050565b601f8211156200054e576200051881620003c2565b6200052384620003d7565b8101602085101562000533578190505b6200054b6200054285620003d7565b830182620004dc565b50505b505050565b600082821c905092915050565b6000620005736000198460080262000553565b1980831691505092915050565b60006200058e838362000560565b9150826002028217905092915050565b620005a98262000324565b67ffffffffffffffff811115620005c557620005c46200032f565b5b620005d182546200038d565b620005de82828562000503565b600060209050601f83116001811462000616576000841562000601578287015190505b6200060d858262000580565b8655506200067d565b601f1984166200062686620003c2565b60005b82811015620006505784890151825560018201915060208501945060208101905062000629565b868310156200067057848901516200066c601f89168262000560565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006bf82620006a3565b810181811067ffffffffffffffff82111715620006e157620006e06200032f565b5b80604052505050565b6000620006f662000685565b9050620007048282620006b4565b919050565b600067ffffffffffffffff8211156200072757620007266200032f565b5b6200073282620006a3565b9050602081019050919050565b60005b838110156200075f57808201518184015260208101905062000742565b60008484015250505050565b6000620007826200077c8462000709565b620006ea565b905082815260208101848484011115620007a157620007a06200069e565b5b620007ae8482856200073f565b509392505050565b600082601f830112620007ce57620007cd62000699565b5b8151620007e08482602086016200076b565b91505092915050565b620007f4816200044a565b81146200080057600080fd5b50565b6000815190506200081481620007e9565b92915050565b60008060008060008060c087890312156200083a57620008396200068f565b5b600087015167ffffffffffffffff8111156200085b576200085a62000694565b5b6200086989828a01620007b6565b96505060206200087c89828a0162000803565b95505060406200088f89828a0162000803565b9450506060620008a289828a0162000803565b9350506080620008b589828a0162000803565b92505060a0620008c889828a0162000803565b9150509295509295509295565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200091e602083620008d5565b91506200092b82620008e6565b602082019050919050565b6000602082019050818103600083015262000951816200090f565b9050919050565b6153f180620009686000396000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063b5b781c5116100c1578063db4bec441161007a578063db4bec4414610956578063e831574214610993578063e985e9c5146109be578063ed9ec888146109fb578063efd0cbf914610a38578063f2fde38b14610a545761027d565b8063b5b781c51461085a578063b88d4fde14610871578063bd32fb661461089a578063c6ab67a3146108c3578063c87b56dd146108ee578063d547cfb71461092b5761027d565b8063993a14fd11610113578063993a14fd14610759578063a22cb46514610782578063a371a062146107ab578063a6d612f9146107e8578063aa98e0c614610804578063ae6a80d51461082f5761027d565b8063715018a6146106865780638521b8e31461069d5780638da5cb5b146106da57806395d89b411461070557806396e3bb9d146107305761027d565b806323b872dd116101f35780635057afb4116101ac5780635057afb41461056657806355f804b31461058f57806357b80205146105b857806359eaa095146105e35780636352211e1461060c57806370a08231146106495761027d565b806323b872dd146104655780632f745c591461048e5780632fff1796146104cb5780633ccfd60b146104f657806342842e0e146105005780634f6ccce7146105295761027d565b80630fcf2e75116102455780630fcf2e7514610367578063102e766d1461039257806310969523146103bd57806318160ddd146103e65780631e14d44b146104115780631f0234d81461043a5761027d565b806301ffc9a714610282578063064d86cc146102bf57806306fdde03146102d6578063081812fc14610301578063095ea7b31461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613d45565b610a7d565b6040516102b69190613d8d565b60405180910390f35b3480156102cb57600080fd5b506102d4610bc7565b005b3480156102e257600080fd5b506102eb610c6f565b6040516102f89190613e38565b60405180910390f35b34801561030d57600080fd5b5061032860048036038101906103239190613e90565b610d01565b6040516103359190613efe565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613f45565b610d7d565b005b34801561037357600080fd5b5061037c610e87565b6040516103899190613d8d565b60405180910390f35b34801561039e57600080fd5b506103a7610e9a565b6040516103b49190613f94565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df91906140e4565b610ea0565b005b3480156103f257600080fd5b506103fb610f2f565b6040516104089190613f94565b60405180910390f35b34801561041d57600080fd5b5061043860048036038101906104339190613e90565b610f84565b005b34801561044657600080fd5b5061044f61100a565b60405161045c9190613d8d565b60405180910390f35b34801561047157600080fd5b5061048c6004803603810190610487919061412d565b61101d565b005b34801561049a57600080fd5b506104b560048036038101906104b09190613f45565b61102d565b6040516104c29190613f94565b60405180910390f35b3480156104d757600080fd5b506104e0611231565b6040516104ed9190613f94565b60405180910390f35b6104fe611237565b005b34801561050c57600080fd5b506105276004803603810190610522919061412d565b6112f9565b005b34801561053557600080fd5b50610550600480360381019061054b9190613e90565b611319565b60405161055d9190613f94565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613f45565b611489565b005b34801561059b57600080fd5b506105b660048036038101906105b191906140e4565b611572565b005b3480156105c457600080fd5b506105cd611601565b6040516105da9190613f94565b60405180910390f35b3480156105ef57600080fd5b5061060a60048036038101906106059190613e90565b611607565b005b34801561061857600080fd5b50610633600480360381019061062e9190613e90565b61171c565b6040516106409190613efe565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190614180565b611732565b60405161067d9190613f94565b60405180910390f35b34801561069257600080fd5b5061069b611801565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190614180565b611889565b6040516106d19190613d8d565b60405180910390f35b3480156106e657600080fd5b506106ef6118df565b6040516106fc9190613efe565b60405180910390f35b34801561071157600080fd5b5061071a611909565b6040516107279190613e38565b60405180910390f35b34801561073c57600080fd5b5061075760048036038101906107529190613e90565b61199b565b005b34801561076557600080fd5b50610780600480360381019061077b9190613e90565b611a21565b005b34801561078e57600080fd5b506107a960048036038101906107a491906141d9565b611aa7565b005b3480156107b757600080fd5b506107d260048036038101906107cd9190614279565b611c1e565b6040516107df9190613d8d565b60405180910390f35b61080260048036038101906107fd91906142ed565b611d9c565b005b34801561081057600080fd5b5061081961223b565b6040516108269190614366565b60405180910390f35b34801561083b57600080fd5b50610844612241565b6040516108519190613f94565b60405180910390f35b34801561086657600080fd5b5061086f612247565b005b34801561087d57600080fd5b5061089860048036038101906108939190614422565b6122ef565b005b3480156108a657600080fd5b506108c160048036038101906108bc91906144d1565b612342565b005b3480156108cf57600080fd5b506108d86123c8565b6040516108e59190613e38565b60405180910390f35b3480156108fa57600080fd5b5061091560048036038101906109109190613e90565b612456565b6040516109229190613e38565b60405180910390f35b34801561093757600080fd5b506109406124f4565b60405161094d9190613e38565b60405180910390f35b34801561096257600080fd5b5061097d60048036038101906109789190614180565b612582565b60405161098a9190613d8d565b60405180910390f35b34801561099f57600080fd5b506109a86125a2565b6040516109b59190613f94565b60405180910390f35b3480156109ca57600080fd5b506109e560048036038101906109e091906144fe565b6125a8565b6040516109f29190613d8d565b60405180910390f35b348015610a0757600080fd5b50610a226004803603810190610a1d9190614180565b61263c565b604051610a2f9190613f94565b60405180910390f35b610a526004803603810190610a4d9190613e90565b612685565b005b348015610a6057600080fd5b50610a7b6004803603810190610a769190614180565b612981565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bc05750610bbf82612a78565b5b9050919050565b610bcf612ae2565b73ffffffffffffffffffffffffffffffffffffffff16610bed6118df565b73ffffffffffffffffffffffffffffffffffffffff1614610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a9061458a565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b606060018054610c7e906145d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610caa906145d9565b8015610cf75780601f10610ccc57610100808354040283529160200191610cf7565b820191906000526020600020905b815481529060010190602001808311610cda57829003601f168201915b5050505050905090565b6000610d0c82612aea565b610d42576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d888261171c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610def576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e0e612ae2565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e405750610e3e81610e39612ae2565b6125a8565b155b15610e77576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e82838383612b52565b505050565b601060019054906101000a900460ff1681565b600e5481565b610ea8612ae2565b73ffffffffffffffffffffffffffffffffffffffff16610ec66118df565b73ffffffffffffffffffffffffffffffffffffffff1614610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f139061458a565b60405180910390fd5b80600a9081610f2b91906147b6565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610f8c612ae2565b73ffffffffffffffffffffffffffffffffffffffff16610faa6118df565b73ffffffffffffffffffffffffffffffffffffffff1614611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff79061458a565b60405180910390fd5b80600c8190555050565b601060009054906101000a900460ff1681565b611028838383612c04565b505050565b600061103883611732565b8210611070576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611226576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156111875750611219565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111c757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112175786840361120e57819550505050505061122b565b83806001019450505b505b80806001019150506110aa565b600080fd5b92915050565b600f5481565b61123f612ae2565b73ffffffffffffffffffffffffffffffffffffffff1661125d6118df565b73ffffffffffffffffffffffffffffffffffffffff16146112b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112aa9061458a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506112f657600080fd5b50565b611314838383604051806020016040528060008152506122ef565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611451576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516114435785830361143a5781945050505050611484565b82806001019350505b508080600101915050611351565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b611491612ae2565b73ffffffffffffffffffffffffffffffffffffffff166114af6118df565b73ffffffffffffffffffffffffffffffffffffffff1614611505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9061458a565b60405180910390fd5b806000611510610f2f565b9050600d54828261152191906148b7565b1115611562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155990614937565b60405180910390fd5b61156c848461311f565b50505050565b61157a612ae2565b73ffffffffffffffffffffffffffffffffffffffff166115986118df565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e59061458a565b60405180910390fd5b80600990816115fd91906147b6565b5050565b600b5481565b61160f612ae2565b73ffffffffffffffffffffffffffffffffffffffff1661162d6118df565b73ffffffffffffffffffffffffffffffffffffffff1614611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a9061458a565b60405180910390fd5b80600d54116116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be906149c9565b60405180910390fd5b6116cf610f2f565b600d5411611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990614a5b565b60405180910390fd5b80600d8190555050565b60006117278261313d565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611799576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611809612ae2565b73ffffffffffffffffffffffffffffffffffffffff166118276118df565b73ffffffffffffffffffffffffffffffffffffffff161461187d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118749061458a565b60405180910390fd5b61188760006133e5565b565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611918906145d9565b80601f0160208091040260200160405190810160405280929190818152602001828054611944906145d9565b80156119915780601f1061196657610100808354040283529160200191611991565b820191906000526020600020905b81548152906001019060200180831161197457829003601f168201915b5050505050905090565b6119a3612ae2565b73ffffffffffffffffffffffffffffffffffffffff166119c16118df565b73ffffffffffffffffffffffffffffffffffffffff1614611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e9061458a565b60405180910390fd5b80600e8190555050565b611a29612ae2565b73ffffffffffffffffffffffffffffffffffffffff16611a476118df565b73ffffffffffffffffffffffffffffffffffffffff1614611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a949061458a565b60405180910390fd5b80600f8190555050565b611aaf612ae2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b13576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611b20612ae2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bcd612ae2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c129190613d8d565b60405180910390a35050565b600084848484611cc0838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506013548684604051602001611c7f929190614ae4565b60405160208183030381529060405280519060200120604051602001611ca59190614b31565b604051602081830303815290604052805190602001206134ab565b611cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf690614b98565b60405180910390fd5b601260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8390614c2a565b60405180910390fd5b6001945050505050949350505050565b6000801b60135403611de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dda90614c96565b60405180910390fd5b33838383611e83838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506013548684604051602001611e42929190614ae4565b60405160208183030381529060405280519060200120604051602001611e689190614b31565b604051602081830303815290604052805190602001206134ab565b611ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990614b98565b60405180910390fd5b846000611ecd610f2f565b9050600d548282611ede91906148b7565b1115611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1690614937565b60405180910390fd5b8680600f54611f2e9190614cb6565b341015611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6790614d44565b60405180910390fd5b87600c5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fbf91906148b7565b1115612000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff790614db0565b60405180910390fd5b600260085403612045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203c90614e1c565b60405180910390fd5b6002600881905550601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190614eae565b60405180910390fd5b601060009054906101000a900460ff16612129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212090614f1a565b60405180910390fd5b600b5489111561216e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216590614f86565b60405180910390fd5b612178338a61311f565b88601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121c791906148b7565b925050819055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050505050505050565b60135481565b600c5481565b61224f612ae2565b73ffffffffffffffffffffffffffffffffffffffff1661226d6118df565b73ffffffffffffffffffffffffffffffffffffffff16146122c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ba9061458a565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6122fa848484612c04565b61230684848484613561565b61233c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61234a612ae2565b73ffffffffffffffffffffffffffffffffffffffff166123686118df565b73ffffffffffffffffffffffffffffffffffffffff16146123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b59061458a565b60405180910390fd5b8060138190555050565b600a80546123d5906145d9565b80601f0160208091040260200160405190810160405280929190818152602001828054612401906145d9565b801561244e5780601f106124235761010080835404028352916020019161244e565b820191906000526020600020905b81548152906001019060200180831161243157829003601f168201915b505050505081565b606061246182612aea565b612497576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006124a16136df565b905060008151036124c157604051806020016040528060008152506124ec565b806124cb84613771565b6040516020016124dc929190614fe2565b6040516020818303038152906040525b915050919050565b60098054612501906145d9565b80601f016020809104026020016040519081016040528092919081815260200182805461252d906145d9565b801561257a5780601f1061254f5761010080835404028352916020019161257a565b820191906000526020600020905b81548152906001019060200180831161255d57829003601f168201915b505050505081565b60126020528060005260406000206000915054906101000a900460ff1681565b600d5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806000612690610f2f565b9050600d5482826126a191906148b7565b11156126e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d990614937565b60405180910390fd5b8280600e546126f19190614cb6565b341015612733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272a90614d44565b60405180910390fd5b83600c5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461278291906148b7565b11156127c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ba90614db0565b60405180910390fd5b600260085403612808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ff90614e1c565b60405180910390fd5b60026008819055503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461287e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287590615052565b60405180910390fd5b600b548511156128c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ba90614f86565b60405180910390fd5b601060019054906101000a900460ff16612912576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612909906150be565b60405180910390fd5b61291c338661311f565b84601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296b91906148b7565b9250508190555060016008819055505050505050565b612989612ae2565b73ffffffffffffffffffffffffffffffffffffffff166129a76118df565b73ffffffffffffffffffffffffffffffffffffffff16146129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f49061458a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6390615150565b60405180910390fd5b612a75816133e5565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612b4b575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612c0f8261313d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612c36612ae2565b73ffffffffffffffffffffffffffffffffffffffff161480612c695750612c688260000151612c63612ae2565b6125a8565b5b80612cae5750612c77612ae2565b73ffffffffffffffffffffffffffffffffffffffff16612c9684610d01565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ce7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612d50576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612db6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612dc385858560016138d1565b612dd36000848460000151612b52565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036130af5760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156130ae5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461311885858560016138d7565b5050505050565b6131398282604051806020016040528060008152506138dd565b5050565b613145613c96565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156133ae576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516133ac57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146132905780925050506133e0565b5b6001156133ab57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133a65780925050506133e0565b613291565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b85518110156135535760008682815181106134d2576134d1615170565b5b602002602001015190508083116135135782816040516020016134f692919061519f565b60405160208183030381529060405280519060200120925061353f565b808360405160200161352692919061519f565b6040516020818303038152906040528051906020012092505b50808061354b906151cb565b9150506134b4565b508381149150509392505050565b60006135828473ffffffffffffffffffffffffffffffffffffffff166138ef565b156136d2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135ab612ae2565b8786866040518563ffffffff1660e01b81526004016135cd9493929190615268565b6020604051808303816000875af192505050801561360957506040513d601f19601f8201168201806040525081019061360691906152c9565b60015b613682573d8060008114613639576040519150601f19603f3d011682016040523d82523d6000602084013e61363e565b606091505b50600081510361367a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136d7565b600190505b949350505050565b6060600980546136ee906145d9565b80601f016020809104026020016040519081016040528092919081815260200182805461371a906145d9565b80156137675780601f1061373c57610100808354040283529160200191613767565b820191906000526020600020905b81548152906001019060200180831161374a57829003601f168201915b5050505050905090565b6060600082036137b8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138cc565b600082905060005b600082146137ea5780806137d3906151cb565b915050600a826137e39190615325565b91506137c0565b60008167ffffffffffffffff81111561380657613805613fb9565b5b6040519080825280601f01601f1916602001820160405280156138385781602001600182028036833780820191505090505b5090505b600085146138c5576001826138519190615356565b9150600a85613860919061538a565b603061386c91906148b7565b60f81b81838151811061388257613881615170565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138be9190615325565b945061383c565b8093505050505b919050565b50505050565b50505050565b6138ea8383836001613902565b505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361399c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036139d6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139e360008683876138d1565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613c4857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613bfc5750613bfa6000888488613561565b155b15613c33576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613b81565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613c8f60008683876138d7565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d2281613ced565b8114613d2d57600080fd5b50565b600081359050613d3f81613d19565b92915050565b600060208284031215613d5b57613d5a613ce3565b5b6000613d6984828501613d30565b91505092915050565b60008115159050919050565b613d8781613d72565b82525050565b6000602082019050613da26000830184613d7e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613de2578082015181840152602081019050613dc7565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e0a82613da8565b613e148185613db3565b9350613e24818560208601613dc4565b613e2d81613dee565b840191505092915050565b60006020820190508181036000830152613e528184613dff565b905092915050565b6000819050919050565b613e6d81613e5a565b8114613e7857600080fd5b50565b600081359050613e8a81613e64565b92915050565b600060208284031215613ea657613ea5613ce3565b5b6000613eb484828501613e7b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ee882613ebd565b9050919050565b613ef881613edd565b82525050565b6000602082019050613f136000830184613eef565b92915050565b613f2281613edd565b8114613f2d57600080fd5b50565b600081359050613f3f81613f19565b92915050565b60008060408385031215613f5c57613f5b613ce3565b5b6000613f6a85828601613f30565b9250506020613f7b85828601613e7b565b9150509250929050565b613f8e81613e5a565b82525050565b6000602082019050613fa96000830184613f85565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ff182613dee565b810181811067ffffffffffffffff821117156140105761400f613fb9565b5b80604052505050565b6000614023613cd9565b905061402f8282613fe8565b919050565b600067ffffffffffffffff82111561404f5761404e613fb9565b5b61405882613dee565b9050602081019050919050565b82818337600083830152505050565b600061408761408284614034565b614019565b9050828152602081018484840111156140a3576140a2613fb4565b5b6140ae848285614065565b509392505050565b600082601f8301126140cb576140ca613faf565b5b81356140db848260208601614074565b91505092915050565b6000602082840312156140fa576140f9613ce3565b5b600082013567ffffffffffffffff81111561411857614117613ce8565b5b614124848285016140b6565b91505092915050565b60008060006060848603121561414657614145613ce3565b5b600061415486828701613f30565b935050602061416586828701613f30565b925050604061417686828701613e7b565b9150509250925092565b60006020828403121561419657614195613ce3565b5b60006141a484828501613f30565b91505092915050565b6141b681613d72565b81146141c157600080fd5b50565b6000813590506141d3816141ad565b92915050565b600080604083850312156141f0576141ef613ce3565b5b60006141fe85828601613f30565b925050602061420f858286016141c4565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261423957614238613faf565b5b8235905067ffffffffffffffff81111561425657614255614219565b5b6020830191508360208202830111156142725761427161421e565b5b9250929050565b6000806000806060858703121561429357614292613ce3565b5b60006142a187828801613f30565b945050602085013567ffffffffffffffff8111156142c2576142c1613ce8565b5b6142ce87828801614223565b935093505060406142e187828801613e7b565b91505092959194509250565b60008060006040848603121561430657614305613ce3565b5b600084013567ffffffffffffffff81111561432457614323613ce8565b5b61433086828701614223565b9350935050602061434386828701613e7b565b9150509250925092565b6000819050919050565b6143608161434d565b82525050565b600060208201905061437b6000830184614357565b92915050565b600067ffffffffffffffff82111561439c5761439b613fb9565b5b6143a582613dee565b9050602081019050919050565b60006143c56143c084614381565b614019565b9050828152602081018484840111156143e1576143e0613fb4565b5b6143ec848285614065565b509392505050565b600082601f83011261440957614408613faf565b5b81356144198482602086016143b2565b91505092915050565b6000806000806080858703121561443c5761443b613ce3565b5b600061444a87828801613f30565b945050602061445b87828801613f30565b935050604061446c87828801613e7b565b925050606085013567ffffffffffffffff81111561448d5761448c613ce8565b5b614499878288016143f4565b91505092959194509250565b6144ae8161434d565b81146144b957600080fd5b50565b6000813590506144cb816144a5565b92915050565b6000602082840312156144e7576144e6613ce3565b5b60006144f5848285016144bc565b91505092915050565b6000806040838503121561451557614514613ce3565b5b600061452385828601613f30565b925050602061453485828601613f30565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614574602083613db3565b915061457f8261453e565b602082019050919050565b600060208201905081810360008301526145a381614567565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145f157607f821691505b602082108103614604576146036145aa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261466c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261462f565b614676868361462f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006146b36146ae6146a984613e5a565b61468e565b613e5a565b9050919050565b6000819050919050565b6146cd83614698565b6146e16146d9826146ba565b84845461463c565b825550505050565b600090565b6146f66146e9565b6147018184846146c4565b505050565b5b818110156147255761471a6000826146ee565b600181019050614707565b5050565b601f82111561476a5761473b8161460a565b6147448461461f565b81016020851015614753578190505b61476761475f8561461f565b830182614706565b50505b505050565b600082821c905092915050565b600061478d6000198460080261476f565b1980831691505092915050565b60006147a6838361477c565b9150826002028217905092915050565b6147bf82613da8565b67ffffffffffffffff8111156147d8576147d7613fb9565b5b6147e282546145d9565b6147ed828285614729565b600060209050601f831160018114614820576000841561480e578287015190505b614818858261479a565b865550614880565b601f19841661482e8661460a565b60005b8281101561485657848901518255600182019150602085019450602081019050614831565b86831015614873578489015161486f601f89168261477c565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148c282613e5a565b91506148cd83613e5a565b92508282019050808211156148e5576148e4614888565b5b92915050565b7f45786365656473206d617820746f6b656e20737570706c792100000000000000600082015250565b6000614921601983613db3565b915061492c826148eb565b602082019050919050565b6000602082019050818103600083015261495081614914565b9050919050565b7f4d617820746f6b656e20737570706c792063616e206f6e6c792062652064656360008201527f7265617365642100000000000000000000000000000000000000000000000000602082015250565b60006149b3602783613db3565b91506149be82614957565b604082019050919050565b600060208201905081810360008301526149e2816149a6565b9050919050565b7f4d617820746f6b656e20737570706c79206d757374206265206772656174656460008201527f207468616e206d696e74656420636f756e742100000000000000000000000000602082015250565b6000614a45603383613db3565b9150614a50826149e9565b604082019050919050565b60006020820190508181036000830152614a7481614a38565b9050919050565b60008160601b9050919050565b6000614a9382614a7b565b9050919050565b6000614aa582614a88565b9050919050565b614abd614ab882613edd565b614a9a565b82525050565b6000819050919050565b614ade614ad982613e5a565b614ac3565b82525050565b6000614af08285614aac565b601482019150614b008284614acd565b6020820191508190509392505050565b6000819050919050565b614b2b614b268261434d565b614b10565b82525050565b6000614b3d8284614b1a565b60208201915081905092915050565b7f41646472657373206973206e6f74206f6e2077686974656c6973742100000000600082015250565b6000614b82601c83613db3565b9150614b8d82614b4c565b602082019050919050565b60006020820190508181036000830152614bb181614b75565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574000000000000000000000000000000000000000000602082015250565b6000614c14602b83613db3565b9150614c1f82614bb8565b604082019050919050565b60006020820190508181036000830152614c4381614c07565b9050919050565b7f57686974656c697374206d65726b6c6520726f6f74206e6f7420736574210000600082015250565b6000614c80601e83613db3565b9150614c8b82614c4a565b602082019050919050565b60006020820190508181036000830152614caf81614c73565b9050919050565b6000614cc182613e5a565b9150614ccc83613e5a565b9250828202614cda81613e5a565b91508282048414831517614cf157614cf0614888565b5b5092915050565b7f496e76616c6964204554482076616c75652073656e7421000000000000000000600082015250565b6000614d2e601783613db3565b9150614d3982614cf8565b602082019050919050565b60006020820190508181036000830152614d5d81614d21565b9050919050565b7f45786365656473206d6178206d696e74207065722077616c6c65742100000000600082015250565b6000614d9a601c83613db3565b9150614da582614d64565b602082019050919050565b60006020820190508181036000830152614dc981614d8d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614e06601f83613db3565b9150614e1182614dd0565b602082019050919050565b60006020820190508181036000830152614e3581614df9565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574210000000000000000000000000000000000000000602082015250565b6000614e98602c83613db3565b9150614ea382614e3c565b604082019050919050565b60006020820190508181036000830152614ec781614e8b565b9050919050565b7f5072652d53616c65206973206e6f742061637469766521000000000000000000600082015250565b6000614f04601783613db3565b9150614f0f82614ece565b602082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b7f45786365656473206d6178206d696e7420706572207478210000000000000000600082015250565b6000614f70601883613db3565b9150614f7b82614f3a565b602082019050919050565b60006020820190508181036000830152614f9f81614f63565b9050919050565b600081905092915050565b6000614fbc82613da8565b614fc68185614fa6565b9350614fd6818560208601613dc4565b80840191505092915050565b6000614fee8285614fb1565b9150614ffa8284614fb1565b91508190509392505050565b7f4d696e743a206e6f7420616c6c6f7765642066726f6d20636f6e747261637400600082015250565b600061503c601f83613db3565b915061504782615006565b602082019050919050565b6000602082019050818103600083015261506b8161502f565b9050919050565b7f5075626c69632d53616c65206973206e6f742061637469766521000000000000600082015250565b60006150a8601a83613db3565b91506150b382615072565b602082019050919050565b600060208201905081810360008301526150d78161509b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061513a602683613db3565b9150615145826150de565b604082019050919050565b600060208201905081810360008301526151698161512d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006151ab8285614b1a565b6020820191506151bb8284614b1a565b6020820191508190509392505050565b60006151d682613e5a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361520857615207614888565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b600061523a82615213565b615244818561521e565b9350615254818560208601613dc4565b61525d81613dee565b840191505092915050565b600060808201905061527d6000830187613eef565b61528a6020830186613eef565b6152976040830185613f85565b81810360608301526152a9818461522f565b905095945050505050565b6000815190506152c381613d19565b92915050565b6000602082840312156152df576152de613ce3565b5b60006152ed848285016152b4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061533082613e5a565b915061533b83613e5a565b92508261534b5761534a6152f6565b5b828204905092915050565b600061536182613e5a565b915061536c83613e5a565b925082820390508181111561538457615383614888565b5b92915050565b600061539582613e5a565b91506153a083613e5a565b9250826153b0576153af6152f6565b5b82820690509291505056fea2646970667358221220b0b5aad592cdf911f46266a8e1ef0652fb6373c6acd5943afff979d04714bb3a64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000001ca5000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000470de4df82000000000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061027d5760003560e01c8063715018a61161014f578063b5b781c5116100c1578063db4bec441161007a578063db4bec4414610956578063e831574214610993578063e985e9c5146109be578063ed9ec888146109fb578063efd0cbf914610a38578063f2fde38b14610a545761027d565b8063b5b781c51461085a578063b88d4fde14610871578063bd32fb661461089a578063c6ab67a3146108c3578063c87b56dd146108ee578063d547cfb71461092b5761027d565b8063993a14fd11610113578063993a14fd14610759578063a22cb46514610782578063a371a062146107ab578063a6d612f9146107e8578063aa98e0c614610804578063ae6a80d51461082f5761027d565b8063715018a6146106865780638521b8e31461069d5780638da5cb5b146106da57806395d89b411461070557806396e3bb9d146107305761027d565b806323b872dd116101f35780635057afb4116101ac5780635057afb41461056657806355f804b31461058f57806357b80205146105b857806359eaa095146105e35780636352211e1461060c57806370a08231146106495761027d565b806323b872dd146104655780632f745c591461048e5780632fff1796146104cb5780633ccfd60b146104f657806342842e0e146105005780634f6ccce7146105295761027d565b80630fcf2e75116102455780630fcf2e7514610367578063102e766d1461039257806310969523146103bd57806318160ddd146103e65780631e14d44b146104115780631f0234d81461043a5761027d565b806301ffc9a714610282578063064d86cc146102bf57806306fdde03146102d6578063081812fc14610301578063095ea7b31461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613d45565b610a7d565b6040516102b69190613d8d565b60405180910390f35b3480156102cb57600080fd5b506102d4610bc7565b005b3480156102e257600080fd5b506102eb610c6f565b6040516102f89190613e38565b60405180910390f35b34801561030d57600080fd5b5061032860048036038101906103239190613e90565b610d01565b6040516103359190613efe565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613f45565b610d7d565b005b34801561037357600080fd5b5061037c610e87565b6040516103899190613d8d565b60405180910390f35b34801561039e57600080fd5b506103a7610e9a565b6040516103b49190613f94565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df91906140e4565b610ea0565b005b3480156103f257600080fd5b506103fb610f2f565b6040516104089190613f94565b60405180910390f35b34801561041d57600080fd5b5061043860048036038101906104339190613e90565b610f84565b005b34801561044657600080fd5b5061044f61100a565b60405161045c9190613d8d565b60405180910390f35b34801561047157600080fd5b5061048c6004803603810190610487919061412d565b61101d565b005b34801561049a57600080fd5b506104b560048036038101906104b09190613f45565b61102d565b6040516104c29190613f94565b60405180910390f35b3480156104d757600080fd5b506104e0611231565b6040516104ed9190613f94565b60405180910390f35b6104fe611237565b005b34801561050c57600080fd5b506105276004803603810190610522919061412d565b6112f9565b005b34801561053557600080fd5b50610550600480360381019061054b9190613e90565b611319565b60405161055d9190613f94565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613f45565b611489565b005b34801561059b57600080fd5b506105b660048036038101906105b191906140e4565b611572565b005b3480156105c457600080fd5b506105cd611601565b6040516105da9190613f94565b60405180910390f35b3480156105ef57600080fd5b5061060a60048036038101906106059190613e90565b611607565b005b34801561061857600080fd5b50610633600480360381019061062e9190613e90565b61171c565b6040516106409190613efe565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190614180565b611732565b60405161067d9190613f94565b60405180910390f35b34801561069257600080fd5b5061069b611801565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190614180565b611889565b6040516106d19190613d8d565b60405180910390f35b3480156106e657600080fd5b506106ef6118df565b6040516106fc9190613efe565b60405180910390f35b34801561071157600080fd5b5061071a611909565b6040516107279190613e38565b60405180910390f35b34801561073c57600080fd5b5061075760048036038101906107529190613e90565b61199b565b005b34801561076557600080fd5b50610780600480360381019061077b9190613e90565b611a21565b005b34801561078e57600080fd5b506107a960048036038101906107a491906141d9565b611aa7565b005b3480156107b757600080fd5b506107d260048036038101906107cd9190614279565b611c1e565b6040516107df9190613d8d565b60405180910390f35b61080260048036038101906107fd91906142ed565b611d9c565b005b34801561081057600080fd5b5061081961223b565b6040516108269190614366565b60405180910390f35b34801561083b57600080fd5b50610844612241565b6040516108519190613f94565b60405180910390f35b34801561086657600080fd5b5061086f612247565b005b34801561087d57600080fd5b5061089860048036038101906108939190614422565b6122ef565b005b3480156108a657600080fd5b506108c160048036038101906108bc91906144d1565b612342565b005b3480156108cf57600080fd5b506108d86123c8565b6040516108e59190613e38565b60405180910390f35b3480156108fa57600080fd5b5061091560048036038101906109109190613e90565b612456565b6040516109229190613e38565b60405180910390f35b34801561093757600080fd5b506109406124f4565b60405161094d9190613e38565b60405180910390f35b34801561096257600080fd5b5061097d60048036038101906109789190614180565b612582565b60405161098a9190613d8d565b60405180910390f35b34801561099f57600080fd5b506109a86125a2565b6040516109b59190613f94565b60405180910390f35b3480156109ca57600080fd5b506109e560048036038101906109e091906144fe565b6125a8565b6040516109f29190613d8d565b60405180910390f35b348015610a0757600080fd5b50610a226004803603810190610a1d9190614180565b61263c565b604051610a2f9190613f94565b60405180910390f35b610a526004803603810190610a4d9190613e90565b612685565b005b348015610a6057600080fd5b50610a7b6004803603810190610a769190614180565b612981565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b4857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bc05750610bbf82612a78565b5b9050919050565b610bcf612ae2565b73ffffffffffffffffffffffffffffffffffffffff16610bed6118df565b73ffffffffffffffffffffffffffffffffffffffff1614610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a9061458a565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b606060018054610c7e906145d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610caa906145d9565b8015610cf75780601f10610ccc57610100808354040283529160200191610cf7565b820191906000526020600020905b815481529060010190602001808311610cda57829003601f168201915b5050505050905090565b6000610d0c82612aea565b610d42576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d888261171c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610def576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e0e612ae2565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e405750610e3e81610e39612ae2565b6125a8565b155b15610e77576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e82838383612b52565b505050565b601060019054906101000a900460ff1681565b600e5481565b610ea8612ae2565b73ffffffffffffffffffffffffffffffffffffffff16610ec66118df565b73ffffffffffffffffffffffffffffffffffffffff1614610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f139061458a565b60405180910390fd5b80600a9081610f2b91906147b6565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610f8c612ae2565b73ffffffffffffffffffffffffffffffffffffffff16610faa6118df565b73ffffffffffffffffffffffffffffffffffffffff1614611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff79061458a565b60405180910390fd5b80600c8190555050565b601060009054906101000a900460ff1681565b611028838383612c04565b505050565b600061103883611732565b8210611070576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611226576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156111875750611219565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111c757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112175786840361120e57819550505050505061122b565b83806001019450505b505b80806001019150506110aa565b600080fd5b92915050565b600f5481565b61123f612ae2565b73ffffffffffffffffffffffffffffffffffffffff1661125d6118df565b73ffffffffffffffffffffffffffffffffffffffff16146112b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112aa9061458a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506112f657600080fd5b50565b611314838383604051806020016040528060008152506122ef565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611451576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516114435785830361143a5781945050505050611484565b82806001019350505b508080600101915050611351565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b611491612ae2565b73ffffffffffffffffffffffffffffffffffffffff166114af6118df565b73ffffffffffffffffffffffffffffffffffffffff1614611505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9061458a565b60405180910390fd5b806000611510610f2f565b9050600d54828261152191906148b7565b1115611562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155990614937565b60405180910390fd5b61156c848461311f565b50505050565b61157a612ae2565b73ffffffffffffffffffffffffffffffffffffffff166115986118df565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e59061458a565b60405180910390fd5b80600990816115fd91906147b6565b5050565b600b5481565b61160f612ae2565b73ffffffffffffffffffffffffffffffffffffffff1661162d6118df565b73ffffffffffffffffffffffffffffffffffffffff1614611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a9061458a565b60405180910390fd5b80600d54116116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be906149c9565b60405180910390fd5b6116cf610f2f565b600d5411611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990614a5b565b60405180910390fd5b80600d8190555050565b60006117278261313d565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611799576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611809612ae2565b73ffffffffffffffffffffffffffffffffffffffff166118276118df565b73ffffffffffffffffffffffffffffffffffffffff161461187d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118749061458a565b60405180910390fd5b61188760006133e5565b565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611918906145d9565b80601f0160208091040260200160405190810160405280929190818152602001828054611944906145d9565b80156119915780601f1061196657610100808354040283529160200191611991565b820191906000526020600020905b81548152906001019060200180831161197457829003601f168201915b5050505050905090565b6119a3612ae2565b73ffffffffffffffffffffffffffffffffffffffff166119c16118df565b73ffffffffffffffffffffffffffffffffffffffff1614611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e9061458a565b60405180910390fd5b80600e8190555050565b611a29612ae2565b73ffffffffffffffffffffffffffffffffffffffff16611a476118df565b73ffffffffffffffffffffffffffffffffffffffff1614611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a949061458a565b60405180910390fd5b80600f8190555050565b611aaf612ae2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b13576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611b20612ae2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bcd612ae2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c129190613d8d565b60405180910390a35050565b600084848484611cc0838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506013548684604051602001611c7f929190614ae4565b60405160208183030381529060405280519060200120604051602001611ca59190614b31565b604051602081830303815290604052805190602001206134ab565b611cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf690614b98565b60405180910390fd5b601260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8390614c2a565b60405180910390fd5b6001945050505050949350505050565b6000801b60135403611de3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dda90614c96565b60405180910390fd5b33838383611e83838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506013548684604051602001611e42929190614ae4565b60405160208183030381529060405280519060200120604051602001611e689190614b31565b604051602081830303815290604052805190602001206134ab565b611ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb990614b98565b60405180910390fd5b846000611ecd610f2f565b9050600d548282611ede91906148b7565b1115611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1690614937565b60405180910390fd5b8680600f54611f2e9190614cb6565b341015611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6790614d44565b60405180910390fd5b87600c5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fbf91906148b7565b1115612000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff790614db0565b60405180910390fd5b600260085403612045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203c90614e1c565b60405180910390fd5b6002600881905550601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190614eae565b60405180910390fd5b601060009054906101000a900460ff16612129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212090614f1a565b60405180910390fd5b600b5489111561216e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216590614f86565b60405180910390fd5b612178338a61311f565b88601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121c791906148b7565b925050819055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050505050505050565b60135481565b600c5481565b61224f612ae2565b73ffffffffffffffffffffffffffffffffffffffff1661226d6118df565b73ffffffffffffffffffffffffffffffffffffffff16146122c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ba9061458a565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6122fa848484612c04565b61230684848484613561565b61233c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61234a612ae2565b73ffffffffffffffffffffffffffffffffffffffff166123686118df565b73ffffffffffffffffffffffffffffffffffffffff16146123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b59061458a565b60405180910390fd5b8060138190555050565b600a80546123d5906145d9565b80601f0160208091040260200160405190810160405280929190818152602001828054612401906145d9565b801561244e5780601f106124235761010080835404028352916020019161244e565b820191906000526020600020905b81548152906001019060200180831161243157829003601f168201915b505050505081565b606061246182612aea565b612497576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006124a16136df565b905060008151036124c157604051806020016040528060008152506124ec565b806124cb84613771565b6040516020016124dc929190614fe2565b6040516020818303038152906040525b915050919050565b60098054612501906145d9565b80601f016020809104026020016040519081016040528092919081815260200182805461252d906145d9565b801561257a5780601f1061254f5761010080835404028352916020019161257a565b820191906000526020600020905b81548152906001019060200180831161255d57829003601f168201915b505050505081565b60126020528060005260406000206000915054906101000a900460ff1681565b600d5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806000612690610f2f565b9050600d5482826126a191906148b7565b11156126e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d990614937565b60405180910390fd5b8280600e546126f19190614cb6565b341015612733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272a90614d44565b60405180910390fd5b83600c5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461278291906148b7565b11156127c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ba90614db0565b60405180910390fd5b600260085403612808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ff90614e1c565b60405180910390fd5b60026008819055503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461287e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287590615052565b60405180910390fd5b600b548511156128c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ba90614f86565b60405180910390fd5b601060019054906101000a900460ff16612912576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612909906150be565b60405180910390fd5b61291c338661311f565b84601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296b91906148b7565b9250508190555060016008819055505050505050565b612989612ae2565b73ffffffffffffffffffffffffffffffffffffffff166129a76118df565b73ffffffffffffffffffffffffffffffffffffffff16146129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f49061458a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6390615150565b60405180910390fd5b612a75816133e5565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612b4b575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612c0f8261313d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612c36612ae2565b73ffffffffffffffffffffffffffffffffffffffff161480612c695750612c688260000151612c63612ae2565b6125a8565b5b80612cae5750612c77612ae2565b73ffffffffffffffffffffffffffffffffffffffff16612c9684610d01565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ce7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612d50576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612db6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612dc385858560016138d1565b612dd36000848460000151612b52565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036130af5760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156130ae5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461311885858560016138d7565b5050505050565b6131398282604051806020016040528060008152506138dd565b5050565b613145613c96565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156133ae576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516133ac57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146132905780925050506133e0565b5b6001156133ab57818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133a65780925050506133e0565b613291565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b85518110156135535760008682815181106134d2576134d1615170565b5b602002602001015190508083116135135782816040516020016134f692919061519f565b60405160208183030381529060405280519060200120925061353f565b808360405160200161352692919061519f565b6040516020818303038152906040528051906020012092505b50808061354b906151cb565b9150506134b4565b508381149150509392505050565b60006135828473ffffffffffffffffffffffffffffffffffffffff166138ef565b156136d2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135ab612ae2565b8786866040518563ffffffff1660e01b81526004016135cd9493929190615268565b6020604051808303816000875af192505050801561360957506040513d601f19601f8201168201806040525081019061360691906152c9565b60015b613682573d8060008114613639576040519150601f19603f3d011682016040523d82523d6000602084013e61363e565b606091505b50600081510361367a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136d7565b600190505b949350505050565b6060600980546136ee906145d9565b80601f016020809104026020016040519081016040528092919081815260200182805461371a906145d9565b80156137675780601f1061373c57610100808354040283529160200191613767565b820191906000526020600020905b81548152906001019060200180831161374a57829003601f168201915b5050505050905090565b6060600082036137b8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138cc565b600082905060005b600082146137ea5780806137d3906151cb565b915050600a826137e39190615325565b91506137c0565b60008167ffffffffffffffff81111561380657613805613fb9565b5b6040519080825280601f01601f1916602001820160405280156138385781602001600182028036833780820191505090505b5090505b600085146138c5576001826138519190615356565b9150600a85613860919061538a565b603061386c91906148b7565b60f81b81838151811061388257613881615170565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138be9190615325565b945061383c565b8093505050505b919050565b50505050565b50505050565b6138ea8383836001613902565b505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361399c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036139d6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139e360008683876138d1565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613c4857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613bfc5750613bfa6000888488613561565b155b15613c33576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613b81565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613c8f60008683876138d7565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d2281613ced565b8114613d2d57600080fd5b50565b600081359050613d3f81613d19565b92915050565b600060208284031215613d5b57613d5a613ce3565b5b6000613d6984828501613d30565b91505092915050565b60008115159050919050565b613d8781613d72565b82525050565b6000602082019050613da26000830184613d7e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613de2578082015181840152602081019050613dc7565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e0a82613da8565b613e148185613db3565b9350613e24818560208601613dc4565b613e2d81613dee565b840191505092915050565b60006020820190508181036000830152613e528184613dff565b905092915050565b6000819050919050565b613e6d81613e5a565b8114613e7857600080fd5b50565b600081359050613e8a81613e64565b92915050565b600060208284031215613ea657613ea5613ce3565b5b6000613eb484828501613e7b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ee882613ebd565b9050919050565b613ef881613edd565b82525050565b6000602082019050613f136000830184613eef565b92915050565b613f2281613edd565b8114613f2d57600080fd5b50565b600081359050613f3f81613f19565b92915050565b60008060408385031215613f5c57613f5b613ce3565b5b6000613f6a85828601613f30565b9250506020613f7b85828601613e7b565b9150509250929050565b613f8e81613e5a565b82525050565b6000602082019050613fa96000830184613f85565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ff182613dee565b810181811067ffffffffffffffff821117156140105761400f613fb9565b5b80604052505050565b6000614023613cd9565b905061402f8282613fe8565b919050565b600067ffffffffffffffff82111561404f5761404e613fb9565b5b61405882613dee565b9050602081019050919050565b82818337600083830152505050565b600061408761408284614034565b614019565b9050828152602081018484840111156140a3576140a2613fb4565b5b6140ae848285614065565b509392505050565b600082601f8301126140cb576140ca613faf565b5b81356140db848260208601614074565b91505092915050565b6000602082840312156140fa576140f9613ce3565b5b600082013567ffffffffffffffff81111561411857614117613ce8565b5b614124848285016140b6565b91505092915050565b60008060006060848603121561414657614145613ce3565b5b600061415486828701613f30565b935050602061416586828701613f30565b925050604061417686828701613e7b565b9150509250925092565b60006020828403121561419657614195613ce3565b5b60006141a484828501613f30565b91505092915050565b6141b681613d72565b81146141c157600080fd5b50565b6000813590506141d3816141ad565b92915050565b600080604083850312156141f0576141ef613ce3565b5b60006141fe85828601613f30565b925050602061420f858286016141c4565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261423957614238613faf565b5b8235905067ffffffffffffffff81111561425657614255614219565b5b6020830191508360208202830111156142725761427161421e565b5b9250929050565b6000806000806060858703121561429357614292613ce3565b5b60006142a187828801613f30565b945050602085013567ffffffffffffffff8111156142c2576142c1613ce8565b5b6142ce87828801614223565b935093505060406142e187828801613e7b565b91505092959194509250565b60008060006040848603121561430657614305613ce3565b5b600084013567ffffffffffffffff81111561432457614323613ce8565b5b61433086828701614223565b9350935050602061434386828701613e7b565b9150509250925092565b6000819050919050565b6143608161434d565b82525050565b600060208201905061437b6000830184614357565b92915050565b600067ffffffffffffffff82111561439c5761439b613fb9565b5b6143a582613dee565b9050602081019050919050565b60006143c56143c084614381565b614019565b9050828152602081018484840111156143e1576143e0613fb4565b5b6143ec848285614065565b509392505050565b600082601f83011261440957614408613faf565b5b81356144198482602086016143b2565b91505092915050565b6000806000806080858703121561443c5761443b613ce3565b5b600061444a87828801613f30565b945050602061445b87828801613f30565b935050604061446c87828801613e7b565b925050606085013567ffffffffffffffff81111561448d5761448c613ce8565b5b614499878288016143f4565b91505092959194509250565b6144ae8161434d565b81146144b957600080fd5b50565b6000813590506144cb816144a5565b92915050565b6000602082840312156144e7576144e6613ce3565b5b60006144f5848285016144bc565b91505092915050565b6000806040838503121561451557614514613ce3565b5b600061452385828601613f30565b925050602061453485828601613f30565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614574602083613db3565b915061457f8261453e565b602082019050919050565b600060208201905081810360008301526145a381614567565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145f157607f821691505b602082108103614604576146036145aa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261466c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261462f565b614676868361462f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006146b36146ae6146a984613e5a565b61468e565b613e5a565b9050919050565b6000819050919050565b6146cd83614698565b6146e16146d9826146ba565b84845461463c565b825550505050565b600090565b6146f66146e9565b6147018184846146c4565b505050565b5b818110156147255761471a6000826146ee565b600181019050614707565b5050565b601f82111561476a5761473b8161460a565b6147448461461f565b81016020851015614753578190505b61476761475f8561461f565b830182614706565b50505b505050565b600082821c905092915050565b600061478d6000198460080261476f565b1980831691505092915050565b60006147a6838361477c565b9150826002028217905092915050565b6147bf82613da8565b67ffffffffffffffff8111156147d8576147d7613fb9565b5b6147e282546145d9565b6147ed828285614729565b600060209050601f831160018114614820576000841561480e578287015190505b614818858261479a565b865550614880565b601f19841661482e8661460a565b60005b8281101561485657848901518255600182019150602085019450602081019050614831565b86831015614873578489015161486f601f89168261477c565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148c282613e5a565b91506148cd83613e5a565b92508282019050808211156148e5576148e4614888565b5b92915050565b7f45786365656473206d617820746f6b656e20737570706c792100000000000000600082015250565b6000614921601983613db3565b915061492c826148eb565b602082019050919050565b6000602082019050818103600083015261495081614914565b9050919050565b7f4d617820746f6b656e20737570706c792063616e206f6e6c792062652064656360008201527f7265617365642100000000000000000000000000000000000000000000000000602082015250565b60006149b3602783613db3565b91506149be82614957565b604082019050919050565b600060208201905081810360008301526149e2816149a6565b9050919050565b7f4d617820746f6b656e20737570706c79206d757374206265206772656174656460008201527f207468616e206d696e74656420636f756e742100000000000000000000000000602082015250565b6000614a45603383613db3565b9150614a50826149e9565b604082019050919050565b60006020820190508181036000830152614a7481614a38565b9050919050565b60008160601b9050919050565b6000614a9382614a7b565b9050919050565b6000614aa582614a88565b9050919050565b614abd614ab882613edd565b614a9a565b82525050565b6000819050919050565b614ade614ad982613e5a565b614ac3565b82525050565b6000614af08285614aac565b601482019150614b008284614acd565b6020820191508190509392505050565b6000819050919050565b614b2b614b268261434d565b614b10565b82525050565b6000614b3d8284614b1a565b60208201915081905092915050565b7f41646472657373206973206e6f74206f6e2077686974656c6973742100000000600082015250565b6000614b82601c83613db3565b9150614b8d82614b4c565b602082019050919050565b60006020820190508181036000830152614bb181614b75565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574000000000000000000000000000000000000000000602082015250565b6000614c14602b83613db3565b9150614c1f82614bb8565b604082019050919050565b60006020820190508181036000830152614c4381614c07565b9050919050565b7f57686974656c697374206d65726b6c6520726f6f74206e6f7420736574210000600082015250565b6000614c80601e83613db3565b9150614c8b82614c4a565b602082019050919050565b60006020820190508181036000830152614caf81614c73565b9050919050565b6000614cc182613e5a565b9150614ccc83613e5a565b9250828202614cda81613e5a565b91508282048414831517614cf157614cf0614888565b5b5092915050565b7f496e76616c6964204554482076616c75652073656e7421000000000000000000600082015250565b6000614d2e601783613db3565b9150614d3982614cf8565b602082019050919050565b60006020820190508181036000830152614d5d81614d21565b9050919050565b7f45786365656473206d6178206d696e74207065722077616c6c65742100000000600082015250565b6000614d9a601c83613db3565b9150614da582614d64565b602082019050919050565b60006020820190508181036000830152614dc981614d8d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614e06601f83613db3565b9150614e1182614dd0565b602082019050919050565b60006020820190508181036000830152614e3581614df9565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574210000000000000000000000000000000000000000602082015250565b6000614e98602c83613db3565b9150614ea382614e3c565b604082019050919050565b60006020820190508181036000830152614ec781614e8b565b9050919050565b7f5072652d53616c65206973206e6f742061637469766521000000000000000000600082015250565b6000614f04601783613db3565b9150614f0f82614ece565b602082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b7f45786365656473206d6178206d696e7420706572207478210000000000000000600082015250565b6000614f70601883613db3565b9150614f7b82614f3a565b602082019050919050565b60006020820190508181036000830152614f9f81614f63565b9050919050565b600081905092915050565b6000614fbc82613da8565b614fc68185614fa6565b9350614fd6818560208601613dc4565b80840191505092915050565b6000614fee8285614fb1565b9150614ffa8284614fb1565b91508190509392505050565b7f4d696e743a206e6f7420616c6c6f7765642066726f6d20636f6e747261637400600082015250565b600061503c601f83613db3565b915061504782615006565b602082019050919050565b6000602082019050818103600083015261506b8161502f565b9050919050565b7f5075626c69632d53616c65206973206e6f742061637469766521000000000000600082015250565b60006150a8601a83613db3565b91506150b382615072565b602082019050919050565b600060208201905081810360008301526150d78161509b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061513a602683613db3565b9150615145826150de565b604082019050919050565b600060208201905081810360008301526151698161512d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006151ab8285614b1a565b6020820191506151bb8284614b1a565b6020820191508190509392505050565b60006151d682613e5a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361520857615207614888565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b600061523a82615213565b615244818561521e565b9350615254818560208601613dc4565b61525d81613dee565b840191505092915050565b600060808201905061527d6000830187613eef565b61528a6020830186613eef565b6152976040830185613f85565b81810360608301526152a9818461522f565b905095945050505050565b6000815190506152c381613d19565b92915050565b6000602082840312156152df576152de613ce3565b5b60006152ed848285016152b4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061533082613e5a565b915061533b83613e5a565b92508261534b5761534a6152f6565b5b828204905092915050565b600061536182613e5a565b915061536c83613e5a565b925082820390508181111561538457615383614888565b5b92915050565b600061539582613e5a565b91506153a083613e5a565b9250826153b0576153af6152f6565b5b82820690509291505056fea2646970667358221220b0b5aad592cdf911f46266a8e1ef0652fb6373c6acd5943afff979d04714bb3a64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000001ca5000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000470de4df82000000000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://
Arg [1] : tokenSupply (uint256): 7333
Arg [2] : _maxMintsAddress (uint256): 10
Arg [3] : _maxMintsPerTX (uint256): 10
Arg [4] : _pricePublic (uint256): 20000000000000000
Arg [5] : _priceWhitelist (uint256): 20000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001ca5
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [5] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 697066733a2f2f00000000000000000000000000000000000000000000000000


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.