ETH Price: $3,569.23 (+8.25%)

Token

I SURVIVED THE MERGE (SurvivedMerge)
 

Overview

Max Total Supply

2,022 SurvivedMerge

Holders

1,029

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
qomrade.eth
Balance
2 SurvivedMerge
0x0e4885b96aa3834e328d217dd2eec6012bb8d28c
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;

    // ======== 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) ERC721A ("I SURVIVED THE MERGE", "SurvivedMerge") {
        setBaseURI(baseURI);
        maxTokens = tokenSupply;
        maxMintsPerAddress = _maxMintsAddress;
        maxMintsPerTX = _maxMintsPerTX;
    }

    // ======== 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 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  
        isWhitelistMerkleRootSet()
        isValidMerkleProof(msg.sender, merkleProof, quantity) 
        isSupplyAvailable(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 
        isSupplyAvailable(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;
    }

    // ======== 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"}],"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":"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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

608060405260405180602001604052806000815250600a90816200002491906200058e565b506000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055503480156200006857600080fd5b50604051620059fb380380620059fb83398181016040528101906200008e91906200080a565b6040518060400160405280601481526020017f4920535552564956454420544845204d455247450000000000000000000000008152506040518060400160405280600d81526020017f53757276697665644d657267650000000000000000000000000000000000000081525081600190816200010b91906200058e565b5080600290816200011d91906200058e565b50505062000140620001346200017860201b60201c565b6200018060201b60201c565b600160088190555062000159846200024660201b60201c565b82600d8190555081600c8190555080600b81905550505050506200091e565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002566200017860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200027c620002ea60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002d5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002cc90620008fc565b60405180910390fd5b8060099081620002e691906200058e565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039657607f821691505b602082108103620003ac57620003ab6200034e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003d7565b620004228683620003d7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200046f6200046962000463846200043a565b62000444565b6200043a565b9050919050565b6000819050919050565b6200048b836200044e565b620004a36200049a8262000476565b848454620003e4565b825550505050565b600090565b620004ba620004ab565b620004c781848462000480565b505050565b5b81811015620004ef57620004e3600082620004b0565b600181019050620004cd565b5050565b601f8211156200053e576200050881620003b2565b6200051384620003c7565b8101602085101562000523578190505b6200053b6200053285620003c7565b830182620004cc565b50505b505050565b600082821c905092915050565b6000620005636000198460080262000543565b1980831691505092915050565b60006200057e838362000550565b9150826002028217905092915050565b620005998262000314565b67ffffffffffffffff811115620005b557620005b46200031f565b5b620005c182546200037d565b620005ce828285620004f3565b600060209050601f831160018114620006065760008415620005f1578287015190505b620005fd858262000570565b8655506200066d565b601f1984166200061686620003b2565b60005b82811015620006405784890151825560018201915060208501945060208101905062000619565b868310156200066057848901516200065c601f89168262000550565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006af8262000693565b810181811067ffffffffffffffff82111715620006d157620006d06200031f565b5b80604052505050565b6000620006e662000675565b9050620006f48282620006a4565b919050565b600067ffffffffffffffff8211156200071757620007166200031f565b5b620007228262000693565b9050602081019050919050565b60005b838110156200074f57808201518184015260208101905062000732565b60008484015250505050565b6000620007726200076c84620006f9565b620006da565b9050828152602081018484840111156200079157620007906200068e565b5b6200079e8482856200072f565b509392505050565b600082601f830112620007be57620007bd62000689565b5b8151620007d08482602086016200075b565b91505092915050565b620007e4816200043a565b8114620007f057600080fd5b50565b6000815190506200080481620007d9565b92915050565b600080600080608085870312156200082757620008266200067f565b5b600085015167ffffffffffffffff81111562000848576200084762000684565b5b6200085687828801620007a6565b94505060206200086987828801620007f3565b93505060406200087c87828801620007f3565b92505060606200088f87828801620007f3565b91505092959194509250565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620008e46020836200089b565b9150620008f182620008ac565b602082019050919050565b600060208201905081810360008301526200091781620008d5565b9050919050565b6150cd806200092e6000396000f3fe6080604052600436106102515760003560e01c8063715018a611610139578063b88d4fde116100b6578063db4bec441161007a578063db4bec441461088f578063e8315742146108cc578063e985e9c5146108f7578063ed9ec88814610934578063efd0cbf914610971578063f2fde38b1461099a57610251565b8063b88d4fde146107aa578063bd32fb66146107d3578063c6ab67a3146107fc578063c87b56dd14610827578063d547cfb71461086457610251565b8063a371a062116100fd578063a371a062146106d7578063a6d612f914610714578063aa98e0c61461073d578063ae6a80d514610768578063b5b781c51461079357610251565b8063715018a6146106045780638521b8e31461061b5780638da5cb5b1461065857806395d89b4114610683578063a22cb465146106ae57610251565b806323b872dd116101d25780635057afb4116101965780635057afb4146104e457806355f804b31461050d57806357b802051461053657806359eaa095146105615780636352211e1461058a57806370a08231146105c757610251565b806323b872dd1461040e5780632f745c59146104375780633ccfd60b1461047457806342842e0e1461047e5780634f6ccce7146104a757610251565b80630fcf2e75116102195780630fcf2e751461033b578063109695231461036657806318160ddd1461038f5780631e14d44b146103ba5780631f0234d8146103e357610251565b806301ffc9a714610256578063064d86cc1461029357806306fdde03146102aa578063081812fc146102d5578063095ea7b314610312575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613acf565b6109c3565b60405161028a9190613b17565b60405180910390f35b34801561029f57600080fd5b506102a8610b0d565b005b3480156102b657600080fd5b506102bf610bb5565b6040516102cc9190613bc2565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f79190613c1a565b610c47565b6040516103099190613c88565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190613ccf565b610cc3565b005b34801561034757600080fd5b50610350610dcd565b60405161035d9190613b17565b60405180910390f35b34801561037257600080fd5b5061038d60048036038101906103889190613e44565b610de0565b005b34801561039b57600080fd5b506103a4610e6f565b6040516103b19190613e9c565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190613c1a565b610ec4565b005b3480156103ef57600080fd5b506103f8610f4a565b6040516104059190613b17565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613eb7565b610f5d565b005b34801561044357600080fd5b5061045e60048036038101906104599190613ccf565b610f6d565b60405161046b9190613e9c565b60405180910390f35b61047c611171565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613eb7565b611233565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613c1a565b611253565b6040516104db9190613e9c565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190613ccf565b6113c3565b005b34801561051957600080fd5b50610534600480360381019061052f9190613e44565b6114ac565b005b34801561054257600080fd5b5061054b61153b565b6040516105589190613e9c565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613c1a565b611541565b005b34801561059657600080fd5b506105b160048036038101906105ac9190613c1a565b611656565b6040516105be9190613c88565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613f0a565b61166c565b6040516105fb9190613e9c565b60405180910390f35b34801561061057600080fd5b5061061961173b565b005b34801561062757600080fd5b50610642600480360381019061063d9190613f0a565b6117c3565b60405161064f9190613b17565b60405180910390f35b34801561066457600080fd5b5061066d611819565b60405161067a9190613c88565b60405180910390f35b34801561068f57600080fd5b50610698611843565b6040516106a59190613bc2565b60405180910390f35b3480156106ba57600080fd5b506106d560048036038101906106d09190613f63565b6118d5565b005b3480156106e357600080fd5b506106fe60048036038101906106f99190614003565b611a4c565b60405161070b9190613b17565b60405180910390f35b34801561072057600080fd5b5061073b60048036038101906107369190614077565b611bca565b005b34801561074957600080fd5b50610752612017565b60405161075f91906140f0565b60405180910390f35b34801561077457600080fd5b5061077d61201d565b60405161078a9190613e9c565b60405180910390f35b34801561079f57600080fd5b506107a8612023565b005b3480156107b657600080fd5b506107d160048036038101906107cc91906141ac565b6120cb565b005b3480156107df57600080fd5b506107fa60048036038101906107f5919061425b565b61211e565b005b34801561080857600080fd5b506108116121a4565b60405161081e9190613bc2565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190613c1a565b612232565b60405161085b9190613bc2565b60405180910390f35b34801561087057600080fd5b506108796122d0565b6040516108869190613bc2565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b19190613f0a565b61235e565b6040516108c39190613b17565b60405180910390f35b3480156108d857600080fd5b506108e161237e565b6040516108ee9190613e9c565b60405180910390f35b34801561090357600080fd5b5061091e60048036038101906109199190614288565b612384565b60405161092b9190613b17565b60405180910390f35b34801561094057600080fd5b5061095b60048036038101906109569190613f0a565b612418565b6040516109689190613e9c565b60405180910390f35b34801561097d57600080fd5b5061099860048036038101906109939190613c1a565b612461565b005b3480156109a657600080fd5b506109c160048036038101906109bc9190613f0a565b61270b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b065750610b0582612802565b5b9050919050565b610b1561286c565b73ffffffffffffffffffffffffffffffffffffffff16610b33611819565b73ffffffffffffffffffffffffffffffffffffffff1614610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090614314565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b606060018054610bc490614363565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf090614363565b8015610c3d5780601f10610c1257610100808354040283529160200191610c3d565b820191906000526020600020905b815481529060010190602001808311610c2057829003601f168201915b5050505050905090565b6000610c5282612874565b610c88576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cce82611656565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d35576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d5461286c565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d865750610d8481610d7f61286c565b612384565b155b15610dbd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dc88383836128dc565b505050565b600e60019054906101000a900460ff1681565b610de861286c565b73ffffffffffffffffffffffffffffffffffffffff16610e06611819565b73ffffffffffffffffffffffffffffffffffffffff1614610e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5390614314565b60405180910390fd5b80600a9081610e6b9190614540565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610ecc61286c565b73ffffffffffffffffffffffffffffffffffffffff16610eea611819565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3790614314565b60405180910390fd5b80600c8190555050565b600e60009054906101000a900460ff1681565b610f6883838361298e565b505050565b6000610f788361166c565b8210610fb0576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611166576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156110c75750611159565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461110757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111575786840361114e57819550505050505061116b565b83806001019450505b505b8080600101915050610fea565b600080fd5b92915050565b61117961286c565b73ffffffffffffffffffffffffffffffffffffffff16611197611819565b73ffffffffffffffffffffffffffffffffffffffff16146111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e490614314565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061123057600080fd5b50565b61124e838383604051806020016040528060008152506120cb565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b8281101561138b576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161137d5785830361137457819450505050506113be565b82806001019350505b50808060010191505061128b565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6113cb61286c565b73ffffffffffffffffffffffffffffffffffffffff166113e9611819565b73ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690614314565b60405180910390fd5b80600061144a610e6f565b9050600d54828261145b9190614641565b111561149c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611493906146c1565b60405180910390fd5b6114a68484612ea9565b50505050565b6114b461286c565b73ffffffffffffffffffffffffffffffffffffffff166114d2611819565b73ffffffffffffffffffffffffffffffffffffffff1614611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90614314565b60405180910390fd5b80600990816115379190614540565b5050565b600b5481565b61154961286c565b73ffffffffffffffffffffffffffffffffffffffff16611567611819565b73ffffffffffffffffffffffffffffffffffffffff16146115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b490614314565b60405180910390fd5b80600d5411611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890614753565b60405180910390fd5b611609610e6f565b600d541161164c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611643906147e5565b60405180910390fd5b80600d8190555050565b600061166182612ec7565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116d3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61174361286c565b73ffffffffffffffffffffffffffffffffffffffff16611761611819565b73ffffffffffffffffffffffffffffffffffffffff16146117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614314565b60405180910390fd5b6117c1600061316f565b565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461185290614363565b80601f016020809104026020016040519081016040528092919081815260200182805461187e90614363565b80156118cb5780601f106118a0576101008083540402835291602001916118cb565b820191906000526020600020905b8154815290600101906020018083116118ae57829003601f168201915b5050505050905090565b6118dd61286c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611941576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806006600061194e61286c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119fb61286c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a409190613b17565b60405180910390a35050565b600084848484611aee838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506011548684604051602001611aad92919061486e565b60405160208183030381529060405280519060200120604051602001611ad391906148bb565b60405160208183030381529060405280519060200120613235565b611b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2490614922565b60405180910390fd5b601060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb1906149b4565b60405180910390fd5b6001945050505050949350505050565b6000801b60115403611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890614a20565b60405180910390fd5b33838383611cb1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506011548684604051602001611c7092919061486e565b60405160208183030381529060405280519060200120604051602001611c9691906148bb565b60405160208183030381529060405280519060200120613235565b611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce790614922565b60405180910390fd5b846000611cfb610e6f565b9050600d548282611d0c9190614641565b1115611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d44906146c1565b60405180910390fd5b86600c5481600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d9c9190614641565b1115611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490614a8c565b60405180910390fd5b600260085403611e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1990614af8565b60405180910390fd5b6002600881905550601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614b8a565b60405180910390fd5b600e60009054906101000a900460ff16611f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efd90614bf6565b60405180910390fd5b600b54881115611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290614c62565b60405180910390fd5b611f553389612ea9565b87600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa49190614641565b925050819055506001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160088190555050505050505050505050565b60115481565b600c5481565b61202b61286c565b73ffffffffffffffffffffffffffffffffffffffff16612049611819565b73ffffffffffffffffffffffffffffffffffffffff161461209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614314565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6120d684848461298e565b6120e2848484846132eb565b612118576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61212661286c565b73ffffffffffffffffffffffffffffffffffffffff16612144611819565b73ffffffffffffffffffffffffffffffffffffffff161461219a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219190614314565b60405180910390fd5b8060118190555050565b600a80546121b190614363565b80601f01602080910402602001604051908101604052809291908181526020018280546121dd90614363565b801561222a5780601f106121ff5761010080835404028352916020019161222a565b820191906000526020600020905b81548152906001019060200180831161220d57829003601f168201915b505050505081565b606061223d82612874565b612273576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061227d613469565b9050600081510361229d57604051806020016040528060008152506122c8565b806122a7846134fb565b6040516020016122b8929190614cbe565b6040516020818303038152906040525b915050919050565b600980546122dd90614363565b80601f016020809104026020016040519081016040528092919081815260200182805461230990614363565b80156123565780601f1061232b57610100808354040283529160200191612356565b820191906000526020600020905b81548152906001019060200180831161233957829003601f168201915b505050505081565b60106020528060005260406000206000915054906101000a900460ff1681565b600d5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b80600061246c610e6f565b9050600d54828261247d9190614641565b11156124be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b5906146c1565b60405180910390fd5b82600c5481600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250d9190614641565b111561254e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254590614a8c565b60405180910390fd5b600260085403612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258a90614af8565b60405180910390fd5b60026008819055503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090614d2e565b60405180910390fd5b600b5484111561264e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264590614c62565b60405180910390fd5b600e60019054906101000a900460ff1661269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269490614d9a565b60405180910390fd5b6126a73385612ea9565b83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f69190614641565b92505081905550600160088190555050505050565b61271361286c565b73ffffffffffffffffffffffffffffffffffffffff16612731611819565b73ffffffffffffffffffffffffffffffffffffffff1614612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e90614314565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036127f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ed90614e2c565b60405180910390fd5b6127ff8161316f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156128d5575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061299982612ec7565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166129c061286c565b73ffffffffffffffffffffffffffffffffffffffff1614806129f357506129f282600001516129ed61286c565b612384565b5b80612a385750612a0161286c565b73ffffffffffffffffffffffffffffffffffffffff16612a2084610c47565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a71576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ada576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612b40576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b4d858585600161365b565b612b5d60008484600001516128dc565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612e395760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612e385782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea28585856001613661565b5050505050565b612ec3828260405180602001604052806000815250613667565b5050565b612ecf613a20565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015613138576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161313657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461301a57809250505061316a565b5b60011561313557818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461313057809250505061316a565b61301b565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b85518110156132dd57600086828151811061325c5761325b614e4c565b5b6020026020010151905080831161329d578281604051602001613280929190614e7b565b6040516020818303038152906040528051906020012092506132c9565b80836040516020016132b0929190614e7b565b6040516020818303038152906040528051906020012092505b5080806132d590614ea7565b91505061323e565b508381149150509392505050565b600061330c8473ffffffffffffffffffffffffffffffffffffffff16613679565b1561345c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261333561286c565b8786866040518563ffffffff1660e01b81526004016133579493929190614f44565b6020604051808303816000875af192505050801561339357506040513d601f19601f820116820180604052508101906133909190614fa5565b60015b61340c573d80600081146133c3576040519150601f19603f3d011682016040523d82523d6000602084013e6133c8565b606091505b506000815103613404576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613461565b600190505b949350505050565b60606009805461347890614363565b80601f01602080910402602001604051908101604052809291908181526020018280546134a490614363565b80156134f15780601f106134c6576101008083540402835291602001916134f1565b820191906000526020600020905b8154815290600101906020018083116134d457829003601f168201915b5050505050905090565b606060008203613542576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613656565b600082905060005b6000821461357457808061355d90614ea7565b915050600a8261356d9190615001565b915061354a565b60008167ffffffffffffffff8111156135905761358f613d19565b5b6040519080825280601f01601f1916602001820160405280156135c25781602001600182028036833780820191505090505b5090505b6000851461364f576001826135db9190615032565b9150600a856135ea9190615066565b60306135f69190614641565b60f81b81838151811061360c5761360b614e4c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136489190615001565b94506135c6565b8093505050505b919050565b50505050565b50505050565b613674838383600161368c565b505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613726576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613760576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61376d600086838761365b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156139d257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613986575061398460008884886132eb565b155b156139bd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061390b565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613a196000868387613661565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613aac81613a77565b8114613ab757600080fd5b50565b600081359050613ac981613aa3565b92915050565b600060208284031215613ae557613ae4613a6d565b5b6000613af384828501613aba565b91505092915050565b60008115159050919050565b613b1181613afc565b82525050565b6000602082019050613b2c6000830184613b08565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b6c578082015181840152602081019050613b51565b60008484015250505050565b6000601f19601f8301169050919050565b6000613b9482613b32565b613b9e8185613b3d565b9350613bae818560208601613b4e565b613bb781613b78565b840191505092915050565b60006020820190508181036000830152613bdc8184613b89565b905092915050565b6000819050919050565b613bf781613be4565b8114613c0257600080fd5b50565b600081359050613c1481613bee565b92915050565b600060208284031215613c3057613c2f613a6d565b5b6000613c3e84828501613c05565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c7282613c47565b9050919050565b613c8281613c67565b82525050565b6000602082019050613c9d6000830184613c79565b92915050565b613cac81613c67565b8114613cb757600080fd5b50565b600081359050613cc981613ca3565b92915050565b60008060408385031215613ce657613ce5613a6d565b5b6000613cf485828601613cba565b9250506020613d0585828601613c05565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d5182613b78565b810181811067ffffffffffffffff82111715613d7057613d6f613d19565b5b80604052505050565b6000613d83613a63565b9050613d8f8282613d48565b919050565b600067ffffffffffffffff821115613daf57613dae613d19565b5b613db882613b78565b9050602081019050919050565b82818337600083830152505050565b6000613de7613de284613d94565b613d79565b905082815260208101848484011115613e0357613e02613d14565b5b613e0e848285613dc5565b509392505050565b600082601f830112613e2b57613e2a613d0f565b5b8135613e3b848260208601613dd4565b91505092915050565b600060208284031215613e5a57613e59613a6d565b5b600082013567ffffffffffffffff811115613e7857613e77613a72565b5b613e8484828501613e16565b91505092915050565b613e9681613be4565b82525050565b6000602082019050613eb16000830184613e8d565b92915050565b600080600060608486031215613ed057613ecf613a6d565b5b6000613ede86828701613cba565b9350506020613eef86828701613cba565b9250506040613f0086828701613c05565b9150509250925092565b600060208284031215613f2057613f1f613a6d565b5b6000613f2e84828501613cba565b91505092915050565b613f4081613afc565b8114613f4b57600080fd5b50565b600081359050613f5d81613f37565b92915050565b60008060408385031215613f7a57613f79613a6d565b5b6000613f8885828601613cba565b9250506020613f9985828601613f4e565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613fc357613fc2613d0f565b5b8235905067ffffffffffffffff811115613fe057613fdf613fa3565b5b602083019150836020820283011115613ffc57613ffb613fa8565b5b9250929050565b6000806000806060858703121561401d5761401c613a6d565b5b600061402b87828801613cba565b945050602085013567ffffffffffffffff81111561404c5761404b613a72565b5b61405887828801613fad565b9350935050604061406b87828801613c05565b91505092959194509250565b6000806000604084860312156140905761408f613a6d565b5b600084013567ffffffffffffffff8111156140ae576140ad613a72565b5b6140ba86828701613fad565b935093505060206140cd86828701613c05565b9150509250925092565b6000819050919050565b6140ea816140d7565b82525050565b600060208201905061410560008301846140e1565b92915050565b600067ffffffffffffffff82111561412657614125613d19565b5b61412f82613b78565b9050602081019050919050565b600061414f61414a8461410b565b613d79565b90508281526020810184848401111561416b5761416a613d14565b5b614176848285613dc5565b509392505050565b600082601f83011261419357614192613d0f565b5b81356141a384826020860161413c565b91505092915050565b600080600080608085870312156141c6576141c5613a6d565b5b60006141d487828801613cba565b94505060206141e587828801613cba565b93505060406141f687828801613c05565b925050606085013567ffffffffffffffff81111561421757614216613a72565b5b6142238782880161417e565b91505092959194509250565b614238816140d7565b811461424357600080fd5b50565b6000813590506142558161422f565b92915050565b60006020828403121561427157614270613a6d565b5b600061427f84828501614246565b91505092915050565b6000806040838503121561429f5761429e613a6d565b5b60006142ad85828601613cba565b92505060206142be85828601613cba565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142fe602083613b3d565b9150614309826142c8565b602082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061437b57607f821691505b60208210810361438e5761438d614334565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143b9565b61440086836143b9565b95508019841693508086168417925050509392505050565b6000819050919050565b600061443d61443861443384613be4565b614418565b613be4565b9050919050565b6000819050919050565b61445783614422565b61446b61446382614444565b8484546143c6565b825550505050565b600090565b614480614473565b61448b81848461444e565b505050565b5b818110156144af576144a4600082614478565b600181019050614491565b5050565b601f8211156144f4576144c581614394565b6144ce846143a9565b810160208510156144dd578190505b6144f16144e9856143a9565b830182614490565b50505b505050565b600082821c905092915050565b6000614517600019846008026144f9565b1980831691505092915050565b60006145308383614506565b9150826002028217905092915050565b61454982613b32565b67ffffffffffffffff81111561456257614561613d19565b5b61456c8254614363565b6145778282856144b3565b600060209050601f8311600181146145aa5760008415614598578287015190505b6145a28582614524565b86555061460a565b601f1984166145b886614394565b60005b828110156145e0578489015182556001820191506020850194506020810190506145bb565b868310156145fd57848901516145f9601f891682614506565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061464c82613be4565b915061465783613be4565b925082820190508082111561466f5761466e614612565b5b92915050565b7f45786365656473206d617820746f6b656e20737570706c792100000000000000600082015250565b60006146ab601983613b3d565b91506146b682614675565b602082019050919050565b600060208201905081810360008301526146da8161469e565b9050919050565b7f4d617820746f6b656e20737570706c792063616e206f6e6c792062652064656360008201527f7265617365642100000000000000000000000000000000000000000000000000602082015250565b600061473d602783613b3d565b9150614748826146e1565b604082019050919050565b6000602082019050818103600083015261476c81614730565b9050919050565b7f4d617820746f6b656e20737570706c79206d757374206265206772656174656460008201527f207468616e206d696e74656420636f756e742100000000000000000000000000602082015250565b60006147cf603383613b3d565b91506147da82614773565b604082019050919050565b600060208201905081810360008301526147fe816147c2565b9050919050565b60008160601b9050919050565b600061481d82614805565b9050919050565b600061482f82614812565b9050919050565b61484761484282613c67565b614824565b82525050565b6000819050919050565b61486861486382613be4565b61484d565b82525050565b600061487a8285614836565b60148201915061488a8284614857565b6020820191508190509392505050565b6000819050919050565b6148b56148b0826140d7565b61489a565b82525050565b60006148c782846148a4565b60208201915081905092915050565b7f41646472657373206973206e6f74206f6e2077686974656c6973742100000000600082015250565b600061490c601c83613b3d565b9150614917826148d6565b602082019050919050565b6000602082019050818103600083015261493b816148ff565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574000000000000000000000000000000000000000000602082015250565b600061499e602b83613b3d565b91506149a982614942565b604082019050919050565b600060208201905081810360008301526149cd81614991565b9050919050565b7f57686974656c697374206d65726b6c6520726f6f74206e6f7420736574210000600082015250565b6000614a0a601e83613b3d565b9150614a15826149d4565b602082019050919050565b60006020820190508181036000830152614a39816149fd565b9050919050565b7f45786365656473206d6178206d696e74207065722077616c6c65742100000000600082015250565b6000614a76601c83613b3d565b9150614a8182614a40565b602082019050919050565b60006020820190508181036000830152614aa581614a69565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614ae2601f83613b3d565b9150614aed82614aac565b602082019050919050565b60006020820190508181036000830152614b1181614ad5565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574210000000000000000000000000000000000000000602082015250565b6000614b74602c83613b3d565b9150614b7f82614b18565b604082019050919050565b60006020820190508181036000830152614ba381614b67565b9050919050565b7f5072652d53616c65206973206e6f742061637469766521000000000000000000600082015250565b6000614be0601783613b3d565b9150614beb82614baa565b602082019050919050565b60006020820190508181036000830152614c0f81614bd3565b9050919050565b7f45786365656473206d6178206d696e7420706572207478210000000000000000600082015250565b6000614c4c601883613b3d565b9150614c5782614c16565b602082019050919050565b60006020820190508181036000830152614c7b81614c3f565b9050919050565b600081905092915050565b6000614c9882613b32565b614ca28185614c82565b9350614cb2818560208601613b4e565b80840191505092915050565b6000614cca8285614c8d565b9150614cd68284614c8d565b91508190509392505050565b7f4d696e743a206e6f7420616c6c6f7765642066726f6d20636f6e747261637400600082015250565b6000614d18601f83613b3d565b9150614d2382614ce2565b602082019050919050565b60006020820190508181036000830152614d4781614d0b565b9050919050565b7f5075626c69632d53616c65206973206e6f742061637469766521000000000000600082015250565b6000614d84601a83613b3d565b9150614d8f82614d4e565b602082019050919050565b60006020820190508181036000830152614db381614d77565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e16602683613b3d565b9150614e2182614dba565b604082019050919050565b60006020820190508181036000830152614e4581614e09565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614e8782856148a4565b602082019150614e9782846148a4565b6020820191508190509392505050565b6000614eb282613be4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614ee457614ee3614612565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000614f1682614eef565b614f208185614efa565b9350614f30818560208601613b4e565b614f3981613b78565b840191505092915050565b6000608082019050614f596000830187613c79565b614f666020830186613c79565b614f736040830185613e8d565b8181036060830152614f858184614f0b565b905095945050505050565b600081519050614f9f81613aa3565b92915050565b600060208284031215614fbb57614fba613a6d565b5b6000614fc984828501614f90565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061500c82613be4565b915061501783613be4565b92508261502757615026614fd2565b5b828204905092915050565b600061503d82613be4565b915061504883613be4565b92508282039050818111156150605761505f614612565b5b92915050565b600061507182613be4565b915061507c83613be4565b92508261508c5761508b614fd2565b5b82820690509291505056fea264697066735822122022e396320e5b678d2600f6c1b07cf581276bd9922bc51e84aa51608afbd76db464736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000007e6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c8063715018a611610139578063b88d4fde116100b6578063db4bec441161007a578063db4bec441461088f578063e8315742146108cc578063e985e9c5146108f7578063ed9ec88814610934578063efd0cbf914610971578063f2fde38b1461099a57610251565b8063b88d4fde146107aa578063bd32fb66146107d3578063c6ab67a3146107fc578063c87b56dd14610827578063d547cfb71461086457610251565b8063a371a062116100fd578063a371a062146106d7578063a6d612f914610714578063aa98e0c61461073d578063ae6a80d514610768578063b5b781c51461079357610251565b8063715018a6146106045780638521b8e31461061b5780638da5cb5b1461065857806395d89b4114610683578063a22cb465146106ae57610251565b806323b872dd116101d25780635057afb4116101965780635057afb4146104e457806355f804b31461050d57806357b802051461053657806359eaa095146105615780636352211e1461058a57806370a08231146105c757610251565b806323b872dd1461040e5780632f745c59146104375780633ccfd60b1461047457806342842e0e1461047e5780634f6ccce7146104a757610251565b80630fcf2e75116102195780630fcf2e751461033b578063109695231461036657806318160ddd1461038f5780631e14d44b146103ba5780631f0234d8146103e357610251565b806301ffc9a714610256578063064d86cc1461029357806306fdde03146102aa578063081812fc146102d5578063095ea7b314610312575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613acf565b6109c3565b60405161028a9190613b17565b60405180910390f35b34801561029f57600080fd5b506102a8610b0d565b005b3480156102b657600080fd5b506102bf610bb5565b6040516102cc9190613bc2565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f79190613c1a565b610c47565b6040516103099190613c88565b60405180910390f35b34801561031e57600080fd5b5061033960048036038101906103349190613ccf565b610cc3565b005b34801561034757600080fd5b50610350610dcd565b60405161035d9190613b17565b60405180910390f35b34801561037257600080fd5b5061038d60048036038101906103889190613e44565b610de0565b005b34801561039b57600080fd5b506103a4610e6f565b6040516103b19190613e9c565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190613c1a565b610ec4565b005b3480156103ef57600080fd5b506103f8610f4a565b6040516104059190613b17565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613eb7565b610f5d565b005b34801561044357600080fd5b5061045e60048036038101906104599190613ccf565b610f6d565b60405161046b9190613e9c565b60405180910390f35b61047c611171565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613eb7565b611233565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613c1a565b611253565b6040516104db9190613e9c565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190613ccf565b6113c3565b005b34801561051957600080fd5b50610534600480360381019061052f9190613e44565b6114ac565b005b34801561054257600080fd5b5061054b61153b565b6040516105589190613e9c565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613c1a565b611541565b005b34801561059657600080fd5b506105b160048036038101906105ac9190613c1a565b611656565b6040516105be9190613c88565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613f0a565b61166c565b6040516105fb9190613e9c565b60405180910390f35b34801561061057600080fd5b5061061961173b565b005b34801561062757600080fd5b50610642600480360381019061063d9190613f0a565b6117c3565b60405161064f9190613b17565b60405180910390f35b34801561066457600080fd5b5061066d611819565b60405161067a9190613c88565b60405180910390f35b34801561068f57600080fd5b50610698611843565b6040516106a59190613bc2565b60405180910390f35b3480156106ba57600080fd5b506106d560048036038101906106d09190613f63565b6118d5565b005b3480156106e357600080fd5b506106fe60048036038101906106f99190614003565b611a4c565b60405161070b9190613b17565b60405180910390f35b34801561072057600080fd5b5061073b60048036038101906107369190614077565b611bca565b005b34801561074957600080fd5b50610752612017565b60405161075f91906140f0565b60405180910390f35b34801561077457600080fd5b5061077d61201d565b60405161078a9190613e9c565b60405180910390f35b34801561079f57600080fd5b506107a8612023565b005b3480156107b657600080fd5b506107d160048036038101906107cc91906141ac565b6120cb565b005b3480156107df57600080fd5b506107fa60048036038101906107f5919061425b565b61211e565b005b34801561080857600080fd5b506108116121a4565b60405161081e9190613bc2565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190613c1a565b612232565b60405161085b9190613bc2565b60405180910390f35b34801561087057600080fd5b506108796122d0565b6040516108869190613bc2565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b19190613f0a565b61235e565b6040516108c39190613b17565b60405180910390f35b3480156108d857600080fd5b506108e161237e565b6040516108ee9190613e9c565b60405180910390f35b34801561090357600080fd5b5061091e60048036038101906109199190614288565b612384565b60405161092b9190613b17565b60405180910390f35b34801561094057600080fd5b5061095b60048036038101906109569190613f0a565b612418565b6040516109689190613e9c565b60405180910390f35b34801561097d57600080fd5b5061099860048036038101906109939190613c1a565b612461565b005b3480156109a657600080fd5b506109c160048036038101906109bc9190613f0a565b61270b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b065750610b0582612802565b5b9050919050565b610b1561286c565b73ffffffffffffffffffffffffffffffffffffffff16610b33611819565b73ffffffffffffffffffffffffffffffffffffffff1614610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090614314565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b606060018054610bc490614363565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf090614363565b8015610c3d5780601f10610c1257610100808354040283529160200191610c3d565b820191906000526020600020905b815481529060010190602001808311610c2057829003601f168201915b5050505050905090565b6000610c5282612874565b610c88576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cce82611656565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d35576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d5461286c565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d865750610d8481610d7f61286c565b612384565b155b15610dbd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dc88383836128dc565b505050565b600e60019054906101000a900460ff1681565b610de861286c565b73ffffffffffffffffffffffffffffffffffffffff16610e06611819565b73ffffffffffffffffffffffffffffffffffffffff1614610e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5390614314565b60405180910390fd5b80600a9081610e6b9190614540565b5050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b610ecc61286c565b73ffffffffffffffffffffffffffffffffffffffff16610eea611819565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3790614314565b60405180910390fd5b80600c8190555050565b600e60009054906101000a900460ff1681565b610f6883838361298e565b505050565b6000610f788361166c565b8210610fb0576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b83811015611166576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156110c75750611159565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461110757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111575786840361114e57819550505050505061116b565b83806001019450505b505b8080600101915050610fea565b600080fd5b92915050565b61117961286c565b73ffffffffffffffffffffffffffffffffffffffff16611197611819565b73ffffffffffffffffffffffffffffffffffffffff16146111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e490614314565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061123057600080fd5b50565b61124e838383604051806020016040528060008152506120cb565b505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b8281101561138b576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161137d5785830361137457819450505050506113be565b82806001019350505b50808060010191505061128b565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6113cb61286c565b73ffffffffffffffffffffffffffffffffffffffff166113e9611819565b73ffffffffffffffffffffffffffffffffffffffff161461143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690614314565b60405180910390fd5b80600061144a610e6f565b9050600d54828261145b9190614641565b111561149c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611493906146c1565b60405180910390fd5b6114a68484612ea9565b50505050565b6114b461286c565b73ffffffffffffffffffffffffffffffffffffffff166114d2611819565b73ffffffffffffffffffffffffffffffffffffffff1614611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90614314565b60405180910390fd5b80600990816115379190614540565b5050565b600b5481565b61154961286c565b73ffffffffffffffffffffffffffffffffffffffff16611567611819565b73ffffffffffffffffffffffffffffffffffffffff16146115bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b490614314565b60405180910390fd5b80600d5411611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f890614753565b60405180910390fd5b611609610e6f565b600d541161164c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611643906147e5565b60405180910390fd5b80600d8190555050565b600061166182612ec7565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116d3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61174361286c565b73ffffffffffffffffffffffffffffffffffffffff16611761611819565b73ffffffffffffffffffffffffffffffffffffffff16146117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614314565b60405180910390fd5b6117c1600061316f565b565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461185290614363565b80601f016020809104026020016040519081016040528092919081815260200182805461187e90614363565b80156118cb5780601f106118a0576101008083540402835291602001916118cb565b820191906000526020600020905b8154815290600101906020018083116118ae57829003601f168201915b5050505050905090565b6118dd61286c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611941576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806006600061194e61286c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119fb61286c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a409190613b17565b60405180910390a35050565b600084848484611aee838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506011548684604051602001611aad92919061486e565b60405160208183030381529060405280519060200120604051602001611ad391906148bb565b60405160208183030381529060405280519060200120613235565b611b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2490614922565b60405180910390fd5b601060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb1906149b4565b60405180910390fd5b6001945050505050949350505050565b6000801b60115403611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890614a20565b60405180910390fd5b33838383611cb1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506011548684604051602001611c7092919061486e565b60405160208183030381529060405280519060200120604051602001611c9691906148bb565b60405160208183030381529060405280519060200120613235565b611cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce790614922565b60405180910390fd5b846000611cfb610e6f565b9050600d548282611d0c9190614641565b1115611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d44906146c1565b60405180910390fd5b86600c5481600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d9c9190614641565b1115611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490614a8c565b60405180910390fd5b600260085403611e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1990614af8565b60405180910390fd5b6002600881905550601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614b8a565b60405180910390fd5b600e60009054906101000a900460ff16611f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efd90614bf6565b60405180910390fd5b600b54881115611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290614c62565b60405180910390fd5b611f553389612ea9565b87600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fa49190614641565b925050819055506001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160088190555050505050505050505050565b60115481565b600c5481565b61202b61286c565b73ffffffffffffffffffffffffffffffffffffffff16612049611819565b73ffffffffffffffffffffffffffffffffffffffff161461209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614314565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6120d684848461298e565b6120e2848484846132eb565b612118576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61212661286c565b73ffffffffffffffffffffffffffffffffffffffff16612144611819565b73ffffffffffffffffffffffffffffffffffffffff161461219a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219190614314565b60405180910390fd5b8060118190555050565b600a80546121b190614363565b80601f01602080910402602001604051908101604052809291908181526020018280546121dd90614363565b801561222a5780601f106121ff5761010080835404028352916020019161222a565b820191906000526020600020905b81548152906001019060200180831161220d57829003601f168201915b505050505081565b606061223d82612874565b612273576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061227d613469565b9050600081510361229d57604051806020016040528060008152506122c8565b806122a7846134fb565b6040516020016122b8929190614cbe565b6040516020818303038152906040525b915050919050565b600980546122dd90614363565b80601f016020809104026020016040519081016040528092919081815260200182805461230990614363565b80156123565780601f1061232b57610100808354040283529160200191612356565b820191906000526020600020905b81548152906001019060200180831161233957829003601f168201915b505050505081565b60106020528060005260406000206000915054906101000a900460ff1681565b600d5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b80600061246c610e6f565b9050600d54828261247d9190614641565b11156124be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b5906146c1565b60405180910390fd5b82600c5481600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250d9190614641565b111561254e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254590614a8c565b60405180910390fd5b600260085403612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258a90614af8565b60405180910390fd5b60026008819055503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090614d2e565b60405180910390fd5b600b5484111561264e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264590614c62565b60405180910390fd5b600e60019054906101000a900460ff1661269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269490614d9a565b60405180910390fd5b6126a73385612ea9565b83600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f69190614641565b92505081905550600160088190555050505050565b61271361286c565b73ffffffffffffffffffffffffffffffffffffffff16612731611819565b73ffffffffffffffffffffffffffffffffffffffff1614612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e90614314565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036127f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ed90614e2c565b60405180910390fd5b6127ff8161316f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156128d5575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061299982612ec7565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166129c061286c565b73ffffffffffffffffffffffffffffffffffffffff1614806129f357506129f282600001516129ed61286c565b612384565b5b80612a385750612a0161286c565b73ffffffffffffffffffffffffffffffffffffffff16612a2084610c47565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612a71576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ada576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612b40576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b4d858585600161365b565b612b5d60008484600001516128dc565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612e395760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015612e385782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea28585856001613661565b5050505050565b612ec3828260405180602001604052806000815250613667565b5050565b612ecf613a20565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015613138576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161313657600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461301a57809250505061316a565b5b60011561313557818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461313057809250505061316a565b61301b565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b85518110156132dd57600086828151811061325c5761325b614e4c565b5b6020026020010151905080831161329d578281604051602001613280929190614e7b565b6040516020818303038152906040528051906020012092506132c9565b80836040516020016132b0929190614e7b565b6040516020818303038152906040528051906020012092505b5080806132d590614ea7565b91505061323e565b508381149150509392505050565b600061330c8473ffffffffffffffffffffffffffffffffffffffff16613679565b1561345c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261333561286c565b8786866040518563ffffffff1660e01b81526004016133579493929190614f44565b6020604051808303816000875af192505050801561339357506040513d601f19601f820116820180604052508101906133909190614fa5565b60015b61340c573d80600081146133c3576040519150601f19603f3d011682016040523d82523d6000602084013e6133c8565b606091505b506000815103613404576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613461565b600190505b949350505050565b60606009805461347890614363565b80601f01602080910402602001604051908101604052809291908181526020018280546134a490614363565b80156134f15780601f106134c6576101008083540402835291602001916134f1565b820191906000526020600020905b8154815290600101906020018083116134d457829003601f168201915b5050505050905090565b606060008203613542576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613656565b600082905060005b6000821461357457808061355d90614ea7565b915050600a8261356d9190615001565b915061354a565b60008167ffffffffffffffff8111156135905761358f613d19565b5b6040519080825280601f01601f1916602001820160405280156135c25781602001600182028036833780820191505090505b5090505b6000851461364f576001826135db9190615032565b9150600a856135ea9190615066565b60306135f69190614641565b60f81b81838151811061360c5761360b614e4c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136489190615001565b94506135c6565b8093505050505b919050565b50505050565b50505050565b613674838383600161368c565b505050565b600080823b905060008111915050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613726576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613760576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61376d600086838761365b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156139d257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613986575061398460008884886132eb565b155b156139bd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061390b565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613a196000868387613661565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613aac81613a77565b8114613ab757600080fd5b50565b600081359050613ac981613aa3565b92915050565b600060208284031215613ae557613ae4613a6d565b5b6000613af384828501613aba565b91505092915050565b60008115159050919050565b613b1181613afc565b82525050565b6000602082019050613b2c6000830184613b08565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b6c578082015181840152602081019050613b51565b60008484015250505050565b6000601f19601f8301169050919050565b6000613b9482613b32565b613b9e8185613b3d565b9350613bae818560208601613b4e565b613bb781613b78565b840191505092915050565b60006020820190508181036000830152613bdc8184613b89565b905092915050565b6000819050919050565b613bf781613be4565b8114613c0257600080fd5b50565b600081359050613c1481613bee565b92915050565b600060208284031215613c3057613c2f613a6d565b5b6000613c3e84828501613c05565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c7282613c47565b9050919050565b613c8281613c67565b82525050565b6000602082019050613c9d6000830184613c79565b92915050565b613cac81613c67565b8114613cb757600080fd5b50565b600081359050613cc981613ca3565b92915050565b60008060408385031215613ce657613ce5613a6d565b5b6000613cf485828601613cba565b9250506020613d0585828601613c05565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d5182613b78565b810181811067ffffffffffffffff82111715613d7057613d6f613d19565b5b80604052505050565b6000613d83613a63565b9050613d8f8282613d48565b919050565b600067ffffffffffffffff821115613daf57613dae613d19565b5b613db882613b78565b9050602081019050919050565b82818337600083830152505050565b6000613de7613de284613d94565b613d79565b905082815260208101848484011115613e0357613e02613d14565b5b613e0e848285613dc5565b509392505050565b600082601f830112613e2b57613e2a613d0f565b5b8135613e3b848260208601613dd4565b91505092915050565b600060208284031215613e5a57613e59613a6d565b5b600082013567ffffffffffffffff811115613e7857613e77613a72565b5b613e8484828501613e16565b91505092915050565b613e9681613be4565b82525050565b6000602082019050613eb16000830184613e8d565b92915050565b600080600060608486031215613ed057613ecf613a6d565b5b6000613ede86828701613cba565b9350506020613eef86828701613cba565b9250506040613f0086828701613c05565b9150509250925092565b600060208284031215613f2057613f1f613a6d565b5b6000613f2e84828501613cba565b91505092915050565b613f4081613afc565b8114613f4b57600080fd5b50565b600081359050613f5d81613f37565b92915050565b60008060408385031215613f7a57613f79613a6d565b5b6000613f8885828601613cba565b9250506020613f9985828601613f4e565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613fc357613fc2613d0f565b5b8235905067ffffffffffffffff811115613fe057613fdf613fa3565b5b602083019150836020820283011115613ffc57613ffb613fa8565b5b9250929050565b6000806000806060858703121561401d5761401c613a6d565b5b600061402b87828801613cba565b945050602085013567ffffffffffffffff81111561404c5761404b613a72565b5b61405887828801613fad565b9350935050604061406b87828801613c05565b91505092959194509250565b6000806000604084860312156140905761408f613a6d565b5b600084013567ffffffffffffffff8111156140ae576140ad613a72565b5b6140ba86828701613fad565b935093505060206140cd86828701613c05565b9150509250925092565b6000819050919050565b6140ea816140d7565b82525050565b600060208201905061410560008301846140e1565b92915050565b600067ffffffffffffffff82111561412657614125613d19565b5b61412f82613b78565b9050602081019050919050565b600061414f61414a8461410b565b613d79565b90508281526020810184848401111561416b5761416a613d14565b5b614176848285613dc5565b509392505050565b600082601f83011261419357614192613d0f565b5b81356141a384826020860161413c565b91505092915050565b600080600080608085870312156141c6576141c5613a6d565b5b60006141d487828801613cba565b94505060206141e587828801613cba565b93505060406141f687828801613c05565b925050606085013567ffffffffffffffff81111561421757614216613a72565b5b6142238782880161417e565b91505092959194509250565b614238816140d7565b811461424357600080fd5b50565b6000813590506142558161422f565b92915050565b60006020828403121561427157614270613a6d565b5b600061427f84828501614246565b91505092915050565b6000806040838503121561429f5761429e613a6d565b5b60006142ad85828601613cba565b92505060206142be85828601613cba565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142fe602083613b3d565b9150614309826142c8565b602082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061437b57607f821691505b60208210810361438e5761438d614334565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143b9565b61440086836143b9565b95508019841693508086168417925050509392505050565b6000819050919050565b600061443d61443861443384613be4565b614418565b613be4565b9050919050565b6000819050919050565b61445783614422565b61446b61446382614444565b8484546143c6565b825550505050565b600090565b614480614473565b61448b81848461444e565b505050565b5b818110156144af576144a4600082614478565b600181019050614491565b5050565b601f8211156144f4576144c581614394565b6144ce846143a9565b810160208510156144dd578190505b6144f16144e9856143a9565b830182614490565b50505b505050565b600082821c905092915050565b6000614517600019846008026144f9565b1980831691505092915050565b60006145308383614506565b9150826002028217905092915050565b61454982613b32565b67ffffffffffffffff81111561456257614561613d19565b5b61456c8254614363565b6145778282856144b3565b600060209050601f8311600181146145aa5760008415614598578287015190505b6145a28582614524565b86555061460a565b601f1984166145b886614394565b60005b828110156145e0578489015182556001820191506020850194506020810190506145bb565b868310156145fd57848901516145f9601f891682614506565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061464c82613be4565b915061465783613be4565b925082820190508082111561466f5761466e614612565b5b92915050565b7f45786365656473206d617820746f6b656e20737570706c792100000000000000600082015250565b60006146ab601983613b3d565b91506146b682614675565b602082019050919050565b600060208201905081810360008301526146da8161469e565b9050919050565b7f4d617820746f6b656e20737570706c792063616e206f6e6c792062652064656360008201527f7265617365642100000000000000000000000000000000000000000000000000602082015250565b600061473d602783613b3d565b9150614748826146e1565b604082019050919050565b6000602082019050818103600083015261476c81614730565b9050919050565b7f4d617820746f6b656e20737570706c79206d757374206265206772656174656460008201527f207468616e206d696e74656420636f756e742100000000000000000000000000602082015250565b60006147cf603383613b3d565b91506147da82614773565b604082019050919050565b600060208201905081810360008301526147fe816147c2565b9050919050565b60008160601b9050919050565b600061481d82614805565b9050919050565b600061482f82614812565b9050919050565b61484761484282613c67565b614824565b82525050565b6000819050919050565b61486861486382613be4565b61484d565b82525050565b600061487a8285614836565b60148201915061488a8284614857565b6020820191508190509392505050565b6000819050919050565b6148b56148b0826140d7565b61489a565b82525050565b60006148c782846148a4565b60208201915081905092915050565b7f41646472657373206973206e6f74206f6e2077686974656c6973742100000000600082015250565b600061490c601c83613b3d565b9150614917826148d6565b602082019050919050565b6000602082019050818103600083015261493b816148ff565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574000000000000000000000000000000000000000000602082015250565b600061499e602b83613b3d565b91506149a982614942565b604082019050919050565b600060208201905081810360008301526149cd81614991565b9050919050565b7f57686974656c697374206d65726b6c6520726f6f74206e6f7420736574210000600082015250565b6000614a0a601e83613b3d565b9150614a15826149d4565b602082019050919050565b60006020820190508181036000830152614a39816149fd565b9050919050565b7f45786365656473206d6178206d696e74207065722077616c6c65742100000000600082015250565b6000614a76601c83613b3d565b9150614a8182614a40565b602082019050919050565b60006020820190508181036000830152614aa581614a69565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614ae2601f83613b3d565b9150614aed82614aac565b602082019050919050565b60006020820190508181036000830152614b1181614ad5565b9050919050565b7f57686974656c69737420697320616c726561647920636c61696d65642062792060008201527f746869732077616c6c6574210000000000000000000000000000000000000000602082015250565b6000614b74602c83613b3d565b9150614b7f82614b18565b604082019050919050565b60006020820190508181036000830152614ba381614b67565b9050919050565b7f5072652d53616c65206973206e6f742061637469766521000000000000000000600082015250565b6000614be0601783613b3d565b9150614beb82614baa565b602082019050919050565b60006020820190508181036000830152614c0f81614bd3565b9050919050565b7f45786365656473206d6178206d696e7420706572207478210000000000000000600082015250565b6000614c4c601883613b3d565b9150614c5782614c16565b602082019050919050565b60006020820190508181036000830152614c7b81614c3f565b9050919050565b600081905092915050565b6000614c9882613b32565b614ca28185614c82565b9350614cb2818560208601613b4e565b80840191505092915050565b6000614cca8285614c8d565b9150614cd68284614c8d565b91508190509392505050565b7f4d696e743a206e6f7420616c6c6f7765642066726f6d20636f6e747261637400600082015250565b6000614d18601f83613b3d565b9150614d2382614ce2565b602082019050919050565b60006020820190508181036000830152614d4781614d0b565b9050919050565b7f5075626c69632d53616c65206973206e6f742061637469766521000000000000600082015250565b6000614d84601a83613b3d565b9150614d8f82614d4e565b602082019050919050565b60006020820190508181036000830152614db381614d77565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e16602683613b3d565b9150614e2182614dba565b604082019050919050565b60006020820190508181036000830152614e4581614e09565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614e8782856148a4565b602082019150614e9782846148a4565b6020820191508190509392505050565b6000614eb282613be4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614ee457614ee3614612565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000614f1682614eef565b614f208185614efa565b9350614f30818560208601613b4e565b614f3981613b78565b840191505092915050565b6000608082019050614f596000830187613c79565b614f666020830186613c79565b614f736040830185613e8d565b8181036060830152614f858184614f0b565b905095945050505050565b600081519050614f9f81613aa3565b92915050565b600060208284031215614fbb57614fba613a6d565b5b6000614fc984828501614f90565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061500c82613be4565b915061501783613be4565b92508261502757615026614fd2565b5b828204905092915050565b600061503d82613be4565b915061504883613be4565b92508282039050818111156150605761505f614612565b5b92915050565b600061507182613be4565b915061507c83613be4565b92508261508c5761508b614fd2565b5b82820690509291505056fea264697066735822122022e396320e5b678d2600f6c1b07cf581276bd9922bc51e84aa51608afbd76db464736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000007e6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://
Arg [1] : tokenSupply (uint256): 2022
Arg [2] : _maxMintsAddress (uint256): 2
Arg [3] : _maxMintsPerTX (uint256): 2

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000007e6
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 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.