ETH Price: $3,389.34 (+1.50%)

Token

WenRaffleSer (WRS)
 

Overview

Max Total Supply

426 WRS

Holders

201

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mavcapture.eth
Balance
4 WRS
0xd86ae3dd2e59d1fc75d29aa29299b6797a8ddcad
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:
WRSContractV7

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : ContractV7.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;

/**

 __      __             __________         _____  _____.__           _________             
/  \    /  \ ____   ____\______   \_____ _/ ____\/ ____\  |   ____  /   _____/ ___________ 
\   \/\/   // __ \ /    \|       _/\__  \\   __\\   __\|  | _/ __ \ \_____  \_/ __ \_  __ \
 \        /\  ___/|   |  \    |   \ / __ \|  |   |  |  |  |_\  ___/ /        \  ___/|  | \/
  \__/\  /  \___  >___|  /____|_  /(____  /__|   |__|  |____/\___  >_______  /\___  >__|   
       \/       \/     \/       \/      \/                       \/        \/     \/       

*/


import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "./ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";


/// @title An ERC721A minting contract for WenRaffleSer NFTs
contract WRSContractV7 is ERC721A, Ownable, Pausable, ReentrancyGuard {

    using ECDSA for bytes32;
   
    uint public constant MAX_SUPPLY = 3993;
    uint public constant PRICE = 0.05 ether; 
    uint public constant MAX_PER_MINT = 5;
    uint public constant MAX_PER_WALLET = 10;
    uint public constant MAX_MINT_DURING_WHITELIST = 2023;
    uint public constant MAX_PER_WHITELISTED_WALLET = 3;
    uint public constant MAX_MINTS_BY_OWNER = 23;
    uint public WHITELIST_START_TIME = 1651593600;
    uint public WHITELIST_END_TIME = WHITELIST_START_TIME + 360 minutes;
    uint public currentWhitelistMints;
    uint public ownerCurrentMints; 
    address public multisigWallet = 0xBBF6DbdD752841478ABff02C685A8cb20c344221; 
    string public baseURI="https://gateway.pinata.cloud/ipfs/Qmb3ybcQxQEy5jomtLYirXVRHYmG57xvLJLszPqGK3sNRW";
    bool public isPublicMintStarted;   
    mapping(address=>uint) public addressToMints; 


    constructor() 
    ERC721A("WenRaffleSer", "WRS")
    {
        _pause();
    }


    /// @notice mints allowed only by the owner
    function ownerMint(uint256 _quantity) external whenNotPaused onlyOwner {
        require(ownerCurrentMints + _quantity <= MAX_MINTS_BY_OWNER,"Limit exceeding");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Not enough NFTs left to mint");
        ownerCurrentMints = ownerCurrentMints + _quantity;
        currentWhitelistMints=currentWhitelistMints+_quantity;
        _safeMint(msg.sender, _quantity);
    }

    /// @notice only owner can start the public mint
    function startPublicMint() external whenNotPaused onlyOwner{
        isPublicMintStarted=true;
    }
    

    /// @notice mints allowed only by the whitelisted addresses with signature
    function whitelistMint(uint256 _quantity, bytes memory _signature) external payable whenNotPaused nonReentrant {
        require(block.timestamp >= WHITELIST_START_TIME, "Whitelist sale has'nt yet started");
        require(addressToMints[msg.sender]+ _quantity<=MAX_PER_WHITELISTED_WALLET,"Max mints reached");
        require(block.timestamp <= WHITELIST_END_TIME, "Whitelist sale has ended");
        require(_quantity <= MAX_PER_MINT, "Can mint at max 5 in each batch");
        require(currentWhitelistMints+_quantity<=MAX_MINT_DURING_WHITELIST,"Whitelist minting quota exceeded");
        require(isMessageValid(owner(),_signature), "Invalid signature");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Not enough NFTs left to mint");
        require(PRICE * _quantity <= msg.value, "Insufficient funds sent");
        require(balanceOf(msg.sender) + _quantity <= MAX_PER_WHITELISTED_WALLET, "Max limit per wallet reached");
        addressToMints[msg.sender]=addressToMints[msg.sender]+_quantity;
        currentWhitelistMints=currentWhitelistMints+_quantity;
        _safeMint(msg.sender, _quantity);
        
    }


    /// @notice mint open to public
    function mint(uint256 _quantity) external payable whenNotPaused nonReentrant {
        require(isPublicMintStarted, "Public mint has'nt yet started");
        require(_quantity <= MAX_PER_MINT, "Can mint at max 5 in each batch");
        require(addressToMints[msg.sender]+ _quantity<=MAX_PER_WALLET,"Max mints reached");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Not enough NFTs left to mint");
        require(PRICE * _quantity <= msg.value, "Insufficient funds sent");
        require(balanceOf(msg.sender) + _quantity <= MAX_PER_WALLET, "Max limit per wallet reached");
        addressToMints[msg.sender]=addressToMints[msg.sender]+_quantity;
        _safeMint(msg.sender, _quantity);
    }


    /// @return array of tokens owned by the specified parameter address
    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 count = balanceOf(_owner);
        uint256[] memory ids = new uint256[](count);
        for (uint256 i = 0; i < count; i++) {
            ids[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return ids;
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }


    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token.");
        return _baseURI();
    }

    function setWhitelistStartTime(uint _time) external whenNotPaused onlyOwner{
        WHITELIST_START_TIME=_time;
        WHITELIST_END_TIME = WHITELIST_START_TIME + 360 minutes;
    }


    function tokenOfOwnerByIndex(address _owner, uint256 _index) internal view returns (uint256) {
        require(_index < balanceOf(_owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == _owner) {
                    if (tokenIdsIdx == _index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

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

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

    function isMessageValid(address _owner,bytes memory _signature)
        internal
        view
        returns (bool)
    {
        bytes32 messagehash = keccak256(
            abi.encodePacked(address(this), msg.sender)
        );
        address signer = messagehash.toEthSignedMessageHash().recover(
            _signature
        );

        if (_owner == signer) {
            return true;
        } else {
            return false;
        }
    }
    
    /// @notice only owner can withdraw the money
    function withdrawMoney() external onlyOwner nonReentrant {
        (bool success, ) = multisigWallet.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }    
    
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

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

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

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

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

    /**
     * @dev 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) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

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

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

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

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex != end);

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_MINTS_BY_OWNER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_DURING_WHITELIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WHITELISTED_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentWhitelistMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"multisigWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"ownerCurrentMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","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":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setWhitelistStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526362715180600a55615460600a546200001e919062000450565b600b5573bbf6dbdd752841478abff02c685a8cb20c344221600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060800160405280605081526020016200596760509139600f9080519060200190620000a792919062000367565b50348015620000b557600080fd5b506040518060400160405280600c81526020017f57656e526166666c6553657200000000000000000000000000000000000000008152506040518060400160405280600381526020017f575253000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200013a92919062000367565b5080600390805190602001906200015392919062000367565b5062000164620001c560201b60201c565b60008190555050506200018c62000180620001ca60201b60201c565b620001d260201b60201c565b6000600860146101000a81548160ff0219169083151502179055506001600981905550620001bf6200029860201b60201c565b620005f7565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002a86200035060201b60201c565b15620002eb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e2906200050e565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25862000337620001ca60201b60201c565b60405162000346919062000575565b60405180910390a1565b6000600860149054906101000a900460ff16905090565b8280546200037590620005c1565b90600052602060002090601f016020900481019282620003995760008555620003e5565b82601f10620003b457805160ff1916838001178555620003e5565b82800160010185558215620003e5579182015b82811115620003e4578251825591602001919060010190620003c7565b5b509050620003f49190620003f8565b5090565b5b8082111562000413576000816000905550600101620003f9565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200045d8262000417565b91506200046a8362000417565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620004a257620004a162000421565b5b828201905092915050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620004f6601083620004ad565b91506200050382620004be565b602082019050919050565b600060208201905081810360008301526200052981620004e7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200055d8262000530565b9050919050565b6200056f8162000550565b82525050565b60006020820190506200058c600083018462000564565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005da57607f821691505b60208210811415620005f157620005f062000592565b5b50919050565b61536080620006076000396000f3fe60806040526004361061025c5760003560e01c806370a08231116101445780639e852f75116100b6578063b8ec1e651161007a578063b8ec1e6514610874578063bbb792621461089f578063c87b56dd146108ca578063e985e9c514610907578063f19e75d414610944578063f2fde38b1461096d5761025c565b80639e852f75146107d3578063a0712d68146107ef578063a22cb4651461080b578063ac44600214610834578063b88d4fde1461084b5761025c565b80638456cb59116101085780638456cb59146106d35780638462151c146106ea5780638d859f3e146107275780638da5cb5b146107525780639075becf1461077d57806395d89b41146107a85761025c565b806370a0823114610612578063715018a61461064f57806376c64c62146106665780637e812c3e1461067d578063815fb81d146106a85761025c565b806323b872dd116101dd57806351847ed5116101a157806351847ed5146104ee57806355f804b3146105195780635c975abb146105425780636352211e1461056d57806363820f23146105aa5780636c0360eb146105e75761025c565b806323b872dd1461042f57806332cb6b0c146104585780633f4ba83a1461048357806342842e0e1461049a5780634dd0155e146104c35761025c565b806309d42b301161022457806309d42b301461035a5780630f2cdd6c14610385578063161415bf146103b057806318160ddd146103db5780631c0ce3d3146104065761025c565b806301ffc9a71461026157806306fdde031461029e57806307935149146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613be7565b610996565b6040516102959190613c2f565b60405180910390f35b3480156102aa57600080fd5b506102b3610a78565b6040516102c09190613ce3565b60405180910390f35b3480156102d557600080fd5b506102de610b0a565b6040516102eb9190613d1e565b60405180910390f35b34801561030057600080fd5b5061031b60048036038101906103169190613d65565b610b0f565b6040516103289190613dd3565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613e1a565b610b8b565b005b34801561036657600080fd5b5061036f610c96565b60405161037c9190613d1e565b60405180910390f35b34801561039157600080fd5b5061039a610c9b565b6040516103a79190613d1e565b60405180910390f35b3480156103bc57600080fd5b506103c5610ca0565b6040516103d29190613d1e565b60405180910390f35b3480156103e757600080fd5b506103f0610ca6565b6040516103fd9190613d1e565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190613d65565b610cbd565b005b34801561043b57600080fd5b5061045660048036038101906104519190613e5a565b610da1565b005b34801561046457600080fd5b5061046d610db1565b60405161047a9190613d1e565b60405180910390f35b34801561048f57600080fd5b50610498610db7565b005b3480156104a657600080fd5b506104c160048036038101906104bc9190613e5a565b610e3d565b005b3480156104cf57600080fd5b506104d8610e5d565b6040516104e59190613d1e565b60405180910390f35b3480156104fa57600080fd5b50610503610e62565b6040516105109190613d1e565b60405180910390f35b34801561052557600080fd5b50610540600480360381019061053b9190613fe2565b610e68565b005b34801561054e57600080fd5b50610557610efe565b6040516105649190613c2f565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190613d65565b610f15565b6040516105a19190613dd3565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc919061402b565b610f2b565b6040516105de9190613d1e565b60405180910390f35b3480156105f357600080fd5b506105fc610f43565b6040516106099190613ce3565b60405180910390f35b34801561061e57600080fd5b506106396004803603810190610634919061402b565b610fd1565b6040516106469190613d1e565b60405180910390f35b34801561065b57600080fd5b506106646110a1565b005b34801561067257600080fd5b5061067b611129565b005b34801561068957600080fd5b5061069261120a565b60405161069f9190613d1e565b60405180910390f35b3480156106b457600080fd5b506106bd611210565b6040516106ca9190613d1e565b60405180910390f35b3480156106df57600080fd5b506106e8611216565b005b3480156106f657600080fd5b50610711600480360381019061070c919061402b565b61129c565b60405161071e9190614116565b60405180910390f35b34801561073357600080fd5b5061073c61134a565b6040516107499190613d1e565b60405180910390f35b34801561075e57600080fd5b50610767611355565b6040516107749190613dd3565b60405180910390f35b34801561078957600080fd5b5061079261137f565b60405161079f9190613dd3565b60405180910390f35b3480156107b457600080fd5b506107bd6113a5565b6040516107ca9190613ce3565b60405180910390f35b6107ed60048036038101906107e891906141d9565b611437565b005b61080960048036038101906108049190613d65565b611886565b005b34801561081757600080fd5b50610832600480360381019061082d9190614261565b611be3565b005b34801561084057600080fd5b50610849611d5b565b005b34801561085757600080fd5b50610872600480360381019061086d91906142a1565b611efe565b005b34801561088057600080fd5b50610889611f7a565b6040516108969190613d1e565b60405180910390f35b3480156108ab57600080fd5b506108b4611f80565b6040516108c19190613c2f565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190613d65565b611f93565b6040516108fe9190613ce3565b60405180910390f35b34801561091357600080fd5b5061092e60048036038101906109299190614324565b611fec565b60405161093b9190613c2f565b60405180910390f35b34801561095057600080fd5b5061096b60048036038101906109669190613d65565b612080565b005b34801561097957600080fd5b50610994600480360381019061098f919061402b565b612221565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a715750610a7082612319565b5b9050919050565b606060028054610a8790614393565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab390614393565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b5050505050905090565b600381565b6000610b1a82612383565b610b50576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9682610f15565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bfe576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c1d6123d1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c4f5750610c4d81610c486123d1565b611fec565b155b15610c86576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c918383836123d9565b505050565b600581565b600a81565b600b5481565b6000610cb061248b565b6001546000540303905090565b610cc5610efe565b15610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614411565b60405180910390fd5b610d0d6123d1565b73ffffffffffffffffffffffffffffffffffffffff16610d2b611355565b73ffffffffffffffffffffffffffffffffffffffff1614610d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d789061447d565b60405180910390fd5b80600a81905550615460600a54610d9891906144cc565b600b8190555050565b610dac838383612490565b505050565b610f9981565b610dbf6123d1565b73ffffffffffffffffffffffffffffffffffffffff16610ddd611355565b73ffffffffffffffffffffffffffffffffffffffff1614610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a9061447d565b60405180910390fd5b610e3b612946565b565b610e5883838360405180602001604052806000815250611efe565b505050565b601781565b600a5481565b610e706123d1565b73ffffffffffffffffffffffffffffffffffffffff16610e8e611355565b73ffffffffffffffffffffffffffffffffffffffff1614610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb9061447d565b60405180910390fd5b80600f9080519060200190610efa929190613a95565b5050565b6000600860149054906101000a900460ff16905090565b6000610f20826129e8565b600001519050919050565b60116020528060005260406000206000915090505481565b600f8054610f5090614393565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7c90614393565b8015610fc95780601f10610f9e57610100808354040283529160200191610fc9565b820191906000526020600020905b815481529060010190602001808311610fac57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611039576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110a96123d1565b73ffffffffffffffffffffffffffffffffffffffff166110c7611355565b73ffffffffffffffffffffffffffffffffffffffff161461111d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111149061447d565b60405180910390fd5b6111276000612c77565b565b611131610efe565b15611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116890614411565b60405180910390fd5b6111796123d1565b73ffffffffffffffffffffffffffffffffffffffff16611197611355565b73ffffffffffffffffffffffffffffffffffffffff16146111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e49061447d565b60405180910390fd5b6001601060006101000a81548160ff021916908315150217905550565b600c5481565b600d5481565b61121e6123d1565b73ffffffffffffffffffffffffffffffffffffffff1661123c611355565b73ffffffffffffffffffffffffffffffffffffffff1614611292576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112899061447d565b60405180910390fd5b61129a612d3d565b565b606060006112a983610fd1565b905060008167ffffffffffffffff8111156112c7576112c6613eb7565b5b6040519080825280602002602001820160405280156112f55781602001602082028036833780820191505090505b50905060005b8281101561133f5761130d8582612de0565b8282815181106113205761131f614522565b5b602002602001018181525050808061133790614551565b9150506112fb565b508092505050919050565b66b1a2bc2ec5000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600380546113b490614393565b80601f01602080910402602001604051908101604052809291908181526020018280546113e090614393565b801561142d5780601f106114025761010080835404028352916020019161142d565b820191906000526020600020905b81548152906001019060200180831161141057829003601f168201915b5050505050905090565b61143f610efe565b1561147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614411565b60405180910390fd5b600260095414156114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc906145e6565b60405180910390fd5b6002600981905550600a54421015611512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150990614678565b60405180910390fd5b600382601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461155f91906144cc565b11156115a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611597906146e4565b60405180910390fd5b600b544211156115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614750565b60405180910390fd5b6005821115611629576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611620906147bc565b60405180910390fd5b6107e782600c5461163a91906144cc565b111561167b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167290614828565b60405180910390fd5b61168c611686611355565b82612fed565b6116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c290614894565b60405180910390fd5b610f99826116d7610ca6565b6116e191906144cc565b1115611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990614900565b60405180910390fd5b348266b1a2bc2ec500006117369190614920565b1115611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e906149c6565b60405180910390fd5b60038261178333610fd1565b61178d91906144cc565b11156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590614a32565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461181991906144cc565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600c5461186a91906144cc565b600c8190555061187a3383613086565b60016009819055505050565b61188e610efe565b156118ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c590614411565b60405180910390fd5b60026009541415611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b906145e6565b60405180910390fd5b6002600981905550601060009054906101000a900460ff1661196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196290614a9e565b60405180910390fd5b60058111156119af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a6906147bc565b60405180910390fd5b600a81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119fc91906144cc565b1115611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a34906146e4565b60405180910390fd5b610f9981611a49610ca6565b611a5391906144cc565b1115611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90614900565b60405180910390fd5b348166b1a2bc2ec50000611aa89190614920565b1115611ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae0906149c6565b60405180910390fd5b600a81611af533610fd1565b611aff91906144cc565b1115611b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3790614a32565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b8b91906144cc565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bd83382613086565b600160098190555050565b611beb6123d1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c50576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c5d6123d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d0a6123d1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d4f9190613c2f565b60405180910390a35050565b611d636123d1565b73ffffffffffffffffffffffffffffffffffffffff16611d81611355565b73ffffffffffffffffffffffffffffffffffffffff1614611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce9061447d565b60405180910390fd5b60026009541415611e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e14906145e6565b60405180910390fd5b60026009819055506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611e6d90614aef565b60006040518083038185875af1925050503d8060008114611eaa576040519150601f19603f3d011682016040523d82523d6000602084013e611eaf565b606091505b5050905080611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea90614b50565b60405180910390fd5b506001600981905550565b611f09848484612490565b611f288373ffffffffffffffffffffffffffffffffffffffff166130a4565b8015611f3d5750611f3b848484846130c7565b155b15611f74576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6107e781565b601060009054906101000a900460ff1681565b6060611f9e82612383565b611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd490614be2565b60405180910390fd5b611fe5613218565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612088610efe565b156120c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bf90614411565b60405180910390fd5b6120d06123d1565b73ffffffffffffffffffffffffffffffffffffffff166120ee611355565b73ffffffffffffffffffffffffffffffffffffffff1614612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b9061447d565b60405180910390fd5b601781600d5461215491906144cc565b1115612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c90614c4e565b60405180910390fd5b610f99816121a1610ca6565b6121ab91906144cc565b11156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e390614900565b60405180910390fd5b80600d546121fa91906144cc565b600d8190555080600c5461220e91906144cc565b600c8190555061221e3382613086565b50565b6122296123d1565b73ffffffffffffffffffffffffffffffffffffffff16612247611355565b73ffffffffffffffffffffffffffffffffffffffff161461229d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122949061447d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230490614ce0565b60405180910390fd5b61231681612c77565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161238e61248b565b1115801561239d575060005482105b80156123ca575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061249b826129e8565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612506576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166125276123d1565b73ffffffffffffffffffffffffffffffffffffffff1614806125565750612555856125506123d1565b611fec565b5b8061259b57506125646123d1565b73ffffffffffffffffffffffffffffffffffffffff1661258384610b0f565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806125d4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561263b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61264885858560016132aa565b612654600084876123d9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128d45760005482146128d357878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461293f85858560016132b0565b5050505050565b61294e610efe565b61298d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298490614d4c565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6129d16123d1565b6040516129de9190613dd3565b60405180910390a1565b6129f0613b1b565b6000829050806129fe61248b565b11158015612a0d575060005481105b15612c40576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c3e57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b22578092505050612c72565b5b600115612c3d57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c38578092505050612c72565b612b23565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d45610efe565b15612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90614411565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612dc96123d1565b604051612dd69190613dd3565b60405180910390a1565b6000612deb83610fd1565b8210612e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2390614dde565b60405180910390fd5b6000612e36610ca6565b905060008060005b83811015612fab576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f4b57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f9d5786841415612f94578195505050505050612fe7565b83806001019450505b508080600101915050612e3e565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fde90614e70565b60405180910390fd5b92915050565b6000803033604051602001613003929190614ed8565b60405160208183030381529060405280519060200120905060006130388461302a846132b6565b6132e690919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561307957600192505050613080565b6000925050505b92915050565b6130a082826040518060200160405280600081525061330d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130ed6123d1565b8786866040518563ffffffff1660e01b815260040161310f9493929190614f59565b6020604051808303816000875af192505050801561314b57506040513d601f19601f820116820180604052508101906131489190614fba565b60015b6131c5573d806000811461317b576040519150601f19603f3d011682016040523d82523d6000602084013e613180565b606091505b506000815114156131bd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461322790614393565b80601f016020809104026020016040519081016040528092919081815260200182805461325390614393565b80156132a05780601f10613275576101008083540402835291602001916132a0565b820191906000526020600020905b81548152906001019060200180831161328357829003601f168201915b5050505050905090565b50505050565b50505050565b6000816040516020016132c99190615069565b604051602081830303815290604052805190602001209050919050565b60008060006132f585856136d1565b9150915061330281613754565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561337a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156133b5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133c260008583866132aa565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506135838673ffffffffffffffffffffffffffffffffffffffff166130a4565b15613649575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135f860008784806001019550876130c7565b61362e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561358957826000541461364457600080fd5b6136b5565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561364a575b8160008190555050506136cb60008583866132b0565b50505050565b6000806041835114156137135760008060006020860151925060408601519150606086015160001a905061370787828585613929565b9450945050505061374d565b604083511415613744576000806020850151915060408501519050613739868383613a36565b93509350505061374d565b60006002915091505b9250929050565b600060048111156137685761376761508f565b5b81600481111561377b5761377a61508f565b5b141561378657613926565b6001600481111561379a5761379961508f565b5b8160048111156137ad576137ac61508f565b5b14156137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e59061510a565b60405180910390fd5b600260048111156138025761380161508f565b5b8160048111156138155761381461508f565b5b1415613856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384d90615176565b60405180910390fd5b6003600481111561386a5761386961508f565b5b81600481111561387d5761387c61508f565b5b14156138be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b590615208565b60405180910390fd5b6004808111156138d1576138d061508f565b5b8160048111156138e4576138e361508f565b5b1415613925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391c9061529a565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613964576000600391509150613a2d565b601b8560ff161415801561397c5750601c8560ff1614155b1561398e576000600491509150613a2d565b6000600187878787604051600081526020016040526040516139b394939291906152e5565b6020604051602081039080840390855afa1580156139d5573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a2457600060019250925050613a2d565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613a7991906144cc565b9050613a8787828885613929565b935093505050935093915050565b828054613aa190614393565b90600052602060002090601f016020900481019282613ac35760008555613b0a565b82601f10613adc57805160ff1916838001178555613b0a565b82800160010185558215613b0a579182015b82811115613b09578251825591602001919060010190613aee565b5b509050613b179190613b5e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613b77576000816000905550600101613b5f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bc481613b8f565b8114613bcf57600080fd5b50565b600081359050613be181613bbb565b92915050565b600060208284031215613bfd57613bfc613b85565b5b6000613c0b84828501613bd2565b91505092915050565b60008115159050919050565b613c2981613c14565b82525050565b6000602082019050613c446000830184613c20565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c84578082015181840152602081019050613c69565b83811115613c93576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cb582613c4a565b613cbf8185613c55565b9350613ccf818560208601613c66565b613cd881613c99565b840191505092915050565b60006020820190508181036000830152613cfd8184613caa565b905092915050565b6000819050919050565b613d1881613d05565b82525050565b6000602082019050613d336000830184613d0f565b92915050565b613d4281613d05565b8114613d4d57600080fd5b50565b600081359050613d5f81613d39565b92915050565b600060208284031215613d7b57613d7a613b85565b5b6000613d8984828501613d50565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dbd82613d92565b9050919050565b613dcd81613db2565b82525050565b6000602082019050613de86000830184613dc4565b92915050565b613df781613db2565b8114613e0257600080fd5b50565b600081359050613e1481613dee565b92915050565b60008060408385031215613e3157613e30613b85565b5b6000613e3f85828601613e05565b9250506020613e5085828601613d50565b9150509250929050565b600080600060608486031215613e7357613e72613b85565b5b6000613e8186828701613e05565b9350506020613e9286828701613e05565b9250506040613ea386828701613d50565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613eef82613c99565b810181811067ffffffffffffffff82111715613f0e57613f0d613eb7565b5b80604052505050565b6000613f21613b7b565b9050613f2d8282613ee6565b919050565b600067ffffffffffffffff821115613f4d57613f4c613eb7565b5b613f5682613c99565b9050602081019050919050565b82818337600083830152505050565b6000613f85613f8084613f32565b613f17565b905082815260208101848484011115613fa157613fa0613eb2565b5b613fac848285613f63565b509392505050565b600082601f830112613fc957613fc8613ead565b5b8135613fd9848260208601613f72565b91505092915050565b600060208284031215613ff857613ff7613b85565b5b600082013567ffffffffffffffff81111561401657614015613b8a565b5b61402284828501613fb4565b91505092915050565b60006020828403121561404157614040613b85565b5b600061404f84828501613e05565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61408d81613d05565b82525050565b600061409f8383614084565b60208301905092915050565b6000602082019050919050565b60006140c382614058565b6140cd8185614063565b93506140d883614074565b8060005b838110156141095781516140f08882614093565b97506140fb836140ab565b9250506001810190506140dc565b5085935050505092915050565b6000602082019050818103600083015261413081846140b8565b905092915050565b600067ffffffffffffffff82111561415357614152613eb7565b5b61415c82613c99565b9050602081019050919050565b600061417c61417784614138565b613f17565b90508281526020810184848401111561419857614197613eb2565b5b6141a3848285613f63565b509392505050565b600082601f8301126141c0576141bf613ead565b5b81356141d0848260208601614169565b91505092915050565b600080604083850312156141f0576141ef613b85565b5b60006141fe85828601613d50565b925050602083013567ffffffffffffffff81111561421f5761421e613b8a565b5b61422b858286016141ab565b9150509250929050565b61423e81613c14565b811461424957600080fd5b50565b60008135905061425b81614235565b92915050565b6000806040838503121561427857614277613b85565b5b600061428685828601613e05565b92505060206142978582860161424c565b9150509250929050565b600080600080608085870312156142bb576142ba613b85565b5b60006142c987828801613e05565b94505060206142da87828801613e05565b93505060406142eb87828801613d50565b925050606085013567ffffffffffffffff81111561430c5761430b613b8a565b5b614318878288016141ab565b91505092959194509250565b6000806040838503121561433b5761433a613b85565b5b600061434985828601613e05565b925050602061435a85828601613e05565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143ab57607f821691505b602082108114156143bf576143be614364565b5b50919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006143fb601083613c55565b9150614406826143c5565b602082019050919050565b6000602082019050818103600083015261442a816143ee565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614467602083613c55565b915061447282614431565b602082019050919050565b600060208201905081810360008301526144968161445a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144d782613d05565b91506144e283613d05565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145175761451661449d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061455c82613d05565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561458f5761458e61449d565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145d0601f83613c55565b91506145db8261459a565b602082019050919050565b600060208201905081810360008301526145ff816145c3565b9050919050565b7f57686974656c6973742073616c6520686173276e74207965742073746172746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614662602183613c55565b915061466d82614606565b604082019050919050565b6000602082019050818103600083015261469181614655565b9050919050565b7f4d6178206d696e74732072656163686564000000000000000000000000000000600082015250565b60006146ce601183613c55565b91506146d982614698565b602082019050919050565b600060208201905081810360008301526146fd816146c1565b9050919050565b7f57686974656c6973742073616c652068617320656e6465640000000000000000600082015250565b600061473a601883613c55565b915061474582614704565b602082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f43616e206d696e74206174206d6178203520696e206561636820626174636800600082015250565b60006147a6601f83613c55565b91506147b182614770565b602082019050919050565b600060208201905081810360008301526147d581614799565b9050919050565b7f57686974656c697374206d696e74696e672071756f7461206578636565646564600082015250565b6000614812602083613c55565b915061481d826147dc565b602082019050919050565b6000602082019050818103600083015261484181614805565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b600061487e601183613c55565b915061488982614848565b602082019050919050565b600060208201905081810360008301526148ad81614871565b9050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f206d696e7400000000600082015250565b60006148ea601c83613c55565b91506148f5826148b4565b602082019050919050565b60006020820190508181036000830152614919816148dd565b9050919050565b600061492b82613d05565b915061493683613d05565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561496f5761496e61449d565b5b828202905092915050565b7f496e73756666696369656e742066756e64732073656e74000000000000000000600082015250565b60006149b0601783613c55565b91506149bb8261497a565b602082019050919050565b600060208201905081810360008301526149df816149a3565b9050919050565b7f4d6178206c696d6974207065722077616c6c6574207265616368656400000000600082015250565b6000614a1c601c83613c55565b9150614a27826149e6565b602082019050919050565b60006020820190508181036000830152614a4b81614a0f565b9050919050565b7f5075626c6963206d696e7420686173276e742079657420737461727465640000600082015250565b6000614a88601e83613c55565b9150614a9382614a52565b602082019050919050565b60006020820190508181036000830152614ab781614a7b565b9050919050565b600081905092915050565b50565b6000614ad9600083614abe565b9150614ae482614ac9565b600082019050919050565b6000614afa82614acc565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614b3a601083613c55565b9150614b4582614b04565b602082019050919050565b60006020820190508181036000830152614b6981614b2d565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e2e00000000000000000000000000000000602082015250565b6000614bcc603083613c55565b9150614bd782614b70565b604082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b7f4c696d697420657863656564696e670000000000000000000000000000000000600082015250565b6000614c38600f83613c55565b9150614c4382614c02565b602082019050919050565b60006020820190508181036000830152614c6781614c2b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cca602683613c55565b9150614cd582614c6e565b604082019050919050565b60006020820190508181036000830152614cf981614cbd565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614d36601483613c55565b9150614d4182614d00565b602082019050919050565b60006020820190508181036000830152614d6581614d29565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dc8602283613c55565b9150614dd382614d6c565b604082019050919050565b60006020820190508181036000830152614df781614dbb565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614e5a602e83613c55565b9150614e6582614dfe565b604082019050919050565b60006020820190508181036000830152614e8981614e4d565b9050919050565b60008160601b9050919050565b6000614ea882614e90565b9050919050565b6000614eba82614e9d565b9050919050565b614ed2614ecd82613db2565b614eaf565b82525050565b6000614ee48285614ec1565b601482019150614ef48284614ec1565b6014820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614f2b82614f04565b614f358185614f0f565b9350614f45818560208601613c66565b614f4e81613c99565b840191505092915050565b6000608082019050614f6e6000830187613dc4565b614f7b6020830186613dc4565b614f886040830185613d0f565b8181036060830152614f9a8184614f20565b905095945050505050565b600081519050614fb481613bbb565b92915050565b600060208284031215614fd057614fcf613b85565b5b6000614fde84828501614fa5565b91505092915050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615028601c83614fe7565b915061503382614ff2565b601c82019050919050565b6000819050919050565b6000819050919050565b61506361505e8261503e565b615048565b82525050565b60006150748261501b565b91506150808284615052565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006150f4601883613c55565b91506150ff826150be565b602082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615160601f83613c55565b915061516b8261512a565b602082019050919050565b6000602082019050818103600083015261518f81615153565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006151f2602283613c55565b91506151fd82615196565b604082019050919050565b60006020820190508181036000830152615221816151e5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615284602283613c55565b915061528f82615228565b604082019050919050565b600060208201905081810360008301526152b381615277565b9050919050565b6152c38161503e565b82525050565b600060ff82169050919050565b6152df816152c9565b82525050565b60006080820190506152fa60008301876152ba565b61530760208301866152d6565b61531460408301856152ba565b61532160608301846152ba565b9594505050505056fea2646970667358221220fac987304224bf1f358e6f5878f06605fa2da7447d703dc0828e52774c43b72564736f6c634300080c003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d62337962635178514579356a6f6d744c59697258565248596d47353778764c4a4c737a5071474b33734e5257

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a08231116101445780639e852f75116100b6578063b8ec1e651161007a578063b8ec1e6514610874578063bbb792621461089f578063c87b56dd146108ca578063e985e9c514610907578063f19e75d414610944578063f2fde38b1461096d5761025c565b80639e852f75146107d3578063a0712d68146107ef578063a22cb4651461080b578063ac44600214610834578063b88d4fde1461084b5761025c565b80638456cb59116101085780638456cb59146106d35780638462151c146106ea5780638d859f3e146107275780638da5cb5b146107525780639075becf1461077d57806395d89b41146107a85761025c565b806370a0823114610612578063715018a61461064f57806376c64c62146106665780637e812c3e1461067d578063815fb81d146106a85761025c565b806323b872dd116101dd57806351847ed5116101a157806351847ed5146104ee57806355f804b3146105195780635c975abb146105425780636352211e1461056d57806363820f23146105aa5780636c0360eb146105e75761025c565b806323b872dd1461042f57806332cb6b0c146104585780633f4ba83a1461048357806342842e0e1461049a5780634dd0155e146104c35761025c565b806309d42b301161022457806309d42b301461035a5780630f2cdd6c14610385578063161415bf146103b057806318160ddd146103db5780631c0ce3d3146104065761025c565b806301ffc9a71461026157806306fdde031461029e57806307935149146102c9578063081812fc146102f4578063095ea7b314610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613be7565b610996565b6040516102959190613c2f565b60405180910390f35b3480156102aa57600080fd5b506102b3610a78565b6040516102c09190613ce3565b60405180910390f35b3480156102d557600080fd5b506102de610b0a565b6040516102eb9190613d1e565b60405180910390f35b34801561030057600080fd5b5061031b60048036038101906103169190613d65565b610b0f565b6040516103289190613dd3565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613e1a565b610b8b565b005b34801561036657600080fd5b5061036f610c96565b60405161037c9190613d1e565b60405180910390f35b34801561039157600080fd5b5061039a610c9b565b6040516103a79190613d1e565b60405180910390f35b3480156103bc57600080fd5b506103c5610ca0565b6040516103d29190613d1e565b60405180910390f35b3480156103e757600080fd5b506103f0610ca6565b6040516103fd9190613d1e565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190613d65565b610cbd565b005b34801561043b57600080fd5b5061045660048036038101906104519190613e5a565b610da1565b005b34801561046457600080fd5b5061046d610db1565b60405161047a9190613d1e565b60405180910390f35b34801561048f57600080fd5b50610498610db7565b005b3480156104a657600080fd5b506104c160048036038101906104bc9190613e5a565b610e3d565b005b3480156104cf57600080fd5b506104d8610e5d565b6040516104e59190613d1e565b60405180910390f35b3480156104fa57600080fd5b50610503610e62565b6040516105109190613d1e565b60405180910390f35b34801561052557600080fd5b50610540600480360381019061053b9190613fe2565b610e68565b005b34801561054e57600080fd5b50610557610efe565b6040516105649190613c2f565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190613d65565b610f15565b6040516105a19190613dd3565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc919061402b565b610f2b565b6040516105de9190613d1e565b60405180910390f35b3480156105f357600080fd5b506105fc610f43565b6040516106099190613ce3565b60405180910390f35b34801561061e57600080fd5b506106396004803603810190610634919061402b565b610fd1565b6040516106469190613d1e565b60405180910390f35b34801561065b57600080fd5b506106646110a1565b005b34801561067257600080fd5b5061067b611129565b005b34801561068957600080fd5b5061069261120a565b60405161069f9190613d1e565b60405180910390f35b3480156106b457600080fd5b506106bd611210565b6040516106ca9190613d1e565b60405180910390f35b3480156106df57600080fd5b506106e8611216565b005b3480156106f657600080fd5b50610711600480360381019061070c919061402b565b61129c565b60405161071e9190614116565b60405180910390f35b34801561073357600080fd5b5061073c61134a565b6040516107499190613d1e565b60405180910390f35b34801561075e57600080fd5b50610767611355565b6040516107749190613dd3565b60405180910390f35b34801561078957600080fd5b5061079261137f565b60405161079f9190613dd3565b60405180910390f35b3480156107b457600080fd5b506107bd6113a5565b6040516107ca9190613ce3565b60405180910390f35b6107ed60048036038101906107e891906141d9565b611437565b005b61080960048036038101906108049190613d65565b611886565b005b34801561081757600080fd5b50610832600480360381019061082d9190614261565b611be3565b005b34801561084057600080fd5b50610849611d5b565b005b34801561085757600080fd5b50610872600480360381019061086d91906142a1565b611efe565b005b34801561088057600080fd5b50610889611f7a565b6040516108969190613d1e565b60405180910390f35b3480156108ab57600080fd5b506108b4611f80565b6040516108c19190613c2f565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190613d65565b611f93565b6040516108fe9190613ce3565b60405180910390f35b34801561091357600080fd5b5061092e60048036038101906109299190614324565b611fec565b60405161093b9190613c2f565b60405180910390f35b34801561095057600080fd5b5061096b60048036038101906109669190613d65565b612080565b005b34801561097957600080fd5b50610994600480360381019061098f919061402b565b612221565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a715750610a7082612319565b5b9050919050565b606060028054610a8790614393565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab390614393565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b5050505050905090565b600381565b6000610b1a82612383565b610b50576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9682610f15565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bfe576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c1d6123d1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c4f5750610c4d81610c486123d1565b611fec565b155b15610c86576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c918383836123d9565b505050565b600581565b600a81565b600b5481565b6000610cb061248b565b6001546000540303905090565b610cc5610efe565b15610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614411565b60405180910390fd5b610d0d6123d1565b73ffffffffffffffffffffffffffffffffffffffff16610d2b611355565b73ffffffffffffffffffffffffffffffffffffffff1614610d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d789061447d565b60405180910390fd5b80600a81905550615460600a54610d9891906144cc565b600b8190555050565b610dac838383612490565b505050565b610f9981565b610dbf6123d1565b73ffffffffffffffffffffffffffffffffffffffff16610ddd611355565b73ffffffffffffffffffffffffffffffffffffffff1614610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a9061447d565b60405180910390fd5b610e3b612946565b565b610e5883838360405180602001604052806000815250611efe565b505050565b601781565b600a5481565b610e706123d1565b73ffffffffffffffffffffffffffffffffffffffff16610e8e611355565b73ffffffffffffffffffffffffffffffffffffffff1614610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb9061447d565b60405180910390fd5b80600f9080519060200190610efa929190613a95565b5050565b6000600860149054906101000a900460ff16905090565b6000610f20826129e8565b600001519050919050565b60116020528060005260406000206000915090505481565b600f8054610f5090614393565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7c90614393565b8015610fc95780601f10610f9e57610100808354040283529160200191610fc9565b820191906000526020600020905b815481529060010190602001808311610fac57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611039576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110a96123d1565b73ffffffffffffffffffffffffffffffffffffffff166110c7611355565b73ffffffffffffffffffffffffffffffffffffffff161461111d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111149061447d565b60405180910390fd5b6111276000612c77565b565b611131610efe565b15611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116890614411565b60405180910390fd5b6111796123d1565b73ffffffffffffffffffffffffffffffffffffffff16611197611355565b73ffffffffffffffffffffffffffffffffffffffff16146111ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e49061447d565b60405180910390fd5b6001601060006101000a81548160ff021916908315150217905550565b600c5481565b600d5481565b61121e6123d1565b73ffffffffffffffffffffffffffffffffffffffff1661123c611355565b73ffffffffffffffffffffffffffffffffffffffff1614611292576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112899061447d565b60405180910390fd5b61129a612d3d565b565b606060006112a983610fd1565b905060008167ffffffffffffffff8111156112c7576112c6613eb7565b5b6040519080825280602002602001820160405280156112f55781602001602082028036833780820191505090505b50905060005b8281101561133f5761130d8582612de0565b8282815181106113205761131f614522565b5b602002602001018181525050808061133790614551565b9150506112fb565b508092505050919050565b66b1a2bc2ec5000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600380546113b490614393565b80601f01602080910402602001604051908101604052809291908181526020018280546113e090614393565b801561142d5780601f106114025761010080835404028352916020019161142d565b820191906000526020600020905b81548152906001019060200180831161141057829003601f168201915b5050505050905090565b61143f610efe565b1561147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614411565b60405180910390fd5b600260095414156114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc906145e6565b60405180910390fd5b6002600981905550600a54421015611512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150990614678565b60405180910390fd5b600382601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461155f91906144cc565b11156115a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611597906146e4565b60405180910390fd5b600b544211156115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614750565b60405180910390fd5b6005821115611629576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611620906147bc565b60405180910390fd5b6107e782600c5461163a91906144cc565b111561167b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167290614828565b60405180910390fd5b61168c611686611355565b82612fed565b6116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c290614894565b60405180910390fd5b610f99826116d7610ca6565b6116e191906144cc565b1115611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990614900565b60405180910390fd5b348266b1a2bc2ec500006117369190614920565b1115611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e906149c6565b60405180910390fd5b60038261178333610fd1565b61178d91906144cc565b11156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590614a32565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461181991906144cc565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600c5461186a91906144cc565b600c8190555061187a3383613086565b60016009819055505050565b61188e610efe565b156118ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c590614411565b60405180910390fd5b60026009541415611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b906145e6565b60405180910390fd5b6002600981905550601060009054906101000a900460ff1661196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196290614a9e565b60405180910390fd5b60058111156119af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a6906147bc565b60405180910390fd5b600a81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119fc91906144cc565b1115611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a34906146e4565b60405180910390fd5b610f9981611a49610ca6565b611a5391906144cc565b1115611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90614900565b60405180910390fd5b348166b1a2bc2ec50000611aa89190614920565b1115611ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae0906149c6565b60405180910390fd5b600a81611af533610fd1565b611aff91906144cc565b1115611b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3790614a32565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b8b91906144cc565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bd83382613086565b600160098190555050565b611beb6123d1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c50576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c5d6123d1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d0a6123d1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d4f9190613c2f565b60405180910390a35050565b611d636123d1565b73ffffffffffffffffffffffffffffffffffffffff16611d81611355565b73ffffffffffffffffffffffffffffffffffffffff1614611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce9061447d565b60405180910390fd5b60026009541415611e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e14906145e6565b60405180910390fd5b60026009819055506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611e6d90614aef565b60006040518083038185875af1925050503d8060008114611eaa576040519150601f19603f3d011682016040523d82523d6000602084013e611eaf565b606091505b5050905080611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea90614b50565b60405180910390fd5b506001600981905550565b611f09848484612490565b611f288373ffffffffffffffffffffffffffffffffffffffff166130a4565b8015611f3d5750611f3b848484846130c7565b155b15611f74576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6107e781565b601060009054906101000a900460ff1681565b6060611f9e82612383565b611fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd490614be2565b60405180910390fd5b611fe5613218565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612088610efe565b156120c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bf90614411565b60405180910390fd5b6120d06123d1565b73ffffffffffffffffffffffffffffffffffffffff166120ee611355565b73ffffffffffffffffffffffffffffffffffffffff1614612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b9061447d565b60405180910390fd5b601781600d5461215491906144cc565b1115612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c90614c4e565b60405180910390fd5b610f99816121a1610ca6565b6121ab91906144cc565b11156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e390614900565b60405180910390fd5b80600d546121fa91906144cc565b600d8190555080600c5461220e91906144cc565b600c8190555061221e3382613086565b50565b6122296123d1565b73ffffffffffffffffffffffffffffffffffffffff16612247611355565b73ffffffffffffffffffffffffffffffffffffffff161461229d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122949061447d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230490614ce0565b60405180910390fd5b61231681612c77565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161238e61248b565b1115801561239d575060005482105b80156123ca575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061249b826129e8565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612506576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166125276123d1565b73ffffffffffffffffffffffffffffffffffffffff1614806125565750612555856125506123d1565b611fec565b5b8061259b57506125646123d1565b73ffffffffffffffffffffffffffffffffffffffff1661258384610b0f565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806125d4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561263b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61264885858560016132aa565b612654600084876123d9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128d45760005482146128d357878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461293f85858560016132b0565b5050505050565b61294e610efe565b61298d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298490614d4c565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6129d16123d1565b6040516129de9190613dd3565b60405180910390a1565b6129f0613b1b565b6000829050806129fe61248b565b11158015612a0d575060005481105b15612c40576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c3e57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b22578092505050612c72565b5b600115612c3d57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c38578092505050612c72565b612b23565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d45610efe565b15612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90614411565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612dc96123d1565b604051612dd69190613dd3565b60405180910390a1565b6000612deb83610fd1565b8210612e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2390614dde565b60405180910390fd5b6000612e36610ca6565b905060008060005b83811015612fab576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f4b57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f9d5786841415612f94578195505050505050612fe7565b83806001019450505b508080600101915050612e3e565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fde90614e70565b60405180910390fd5b92915050565b6000803033604051602001613003929190614ed8565b60405160208183030381529060405280519060200120905060006130388461302a846132b6565b6132e690919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561307957600192505050613080565b6000925050505b92915050565b6130a082826040518060200160405280600081525061330d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130ed6123d1565b8786866040518563ffffffff1660e01b815260040161310f9493929190614f59565b6020604051808303816000875af192505050801561314b57506040513d601f19601f820116820180604052508101906131489190614fba565b60015b6131c5573d806000811461317b576040519150601f19603f3d011682016040523d82523d6000602084013e613180565b606091505b506000815114156131bd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461322790614393565b80601f016020809104026020016040519081016040528092919081815260200182805461325390614393565b80156132a05780601f10613275576101008083540402835291602001916132a0565b820191906000526020600020905b81548152906001019060200180831161328357829003601f168201915b5050505050905090565b50505050565b50505050565b6000816040516020016132c99190615069565b604051602081830303815290604052805190602001209050919050565b60008060006132f585856136d1565b9150915061330281613754565b819250505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561337a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156133b5576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133c260008583866132aa565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506135838673ffffffffffffffffffffffffffffffffffffffff166130a4565b15613649575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135f860008784806001019550876130c7565b61362e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561358957826000541461364457600080fd5b6136b5565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561364a575b8160008190555050506136cb60008583866132b0565b50505050565b6000806041835114156137135760008060006020860151925060408601519150606086015160001a905061370787828585613929565b9450945050505061374d565b604083511415613744576000806020850151915060408501519050613739868383613a36565b93509350505061374d565b60006002915091505b9250929050565b600060048111156137685761376761508f565b5b81600481111561377b5761377a61508f565b5b141561378657613926565b6001600481111561379a5761379961508f565b5b8160048111156137ad576137ac61508f565b5b14156137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e59061510a565b60405180910390fd5b600260048111156138025761380161508f565b5b8160048111156138155761381461508f565b5b1415613856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384d90615176565b60405180910390fd5b6003600481111561386a5761386961508f565b5b81600481111561387d5761387c61508f565b5b14156138be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b590615208565b60405180910390fd5b6004808111156138d1576138d061508f565b5b8160048111156138e4576138e361508f565b5b1415613925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391c9061529a565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613964576000600391509150613a2d565b601b8560ff161415801561397c5750601c8560ff1614155b1561398e576000600491509150613a2d565b6000600187878787604051600081526020016040526040516139b394939291906152e5565b6020604051602081039080840390855afa1580156139d5573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a2457600060019250925050613a2d565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613a7991906144cc565b9050613a8787828885613929565b935093505050935093915050565b828054613aa190614393565b90600052602060002090601f016020900481019282613ac35760008555613b0a565b82601f10613adc57805160ff1916838001178555613b0a565b82800160010185558215613b0a579182015b82811115613b09578251825591602001919060010190613aee565b5b509050613b179190613b5e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613b77576000816000905550600101613b5f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bc481613b8f565b8114613bcf57600080fd5b50565b600081359050613be181613bbb565b92915050565b600060208284031215613bfd57613bfc613b85565b5b6000613c0b84828501613bd2565b91505092915050565b60008115159050919050565b613c2981613c14565b82525050565b6000602082019050613c446000830184613c20565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c84578082015181840152602081019050613c69565b83811115613c93576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cb582613c4a565b613cbf8185613c55565b9350613ccf818560208601613c66565b613cd881613c99565b840191505092915050565b60006020820190508181036000830152613cfd8184613caa565b905092915050565b6000819050919050565b613d1881613d05565b82525050565b6000602082019050613d336000830184613d0f565b92915050565b613d4281613d05565b8114613d4d57600080fd5b50565b600081359050613d5f81613d39565b92915050565b600060208284031215613d7b57613d7a613b85565b5b6000613d8984828501613d50565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dbd82613d92565b9050919050565b613dcd81613db2565b82525050565b6000602082019050613de86000830184613dc4565b92915050565b613df781613db2565b8114613e0257600080fd5b50565b600081359050613e1481613dee565b92915050565b60008060408385031215613e3157613e30613b85565b5b6000613e3f85828601613e05565b9250506020613e5085828601613d50565b9150509250929050565b600080600060608486031215613e7357613e72613b85565b5b6000613e8186828701613e05565b9350506020613e9286828701613e05565b9250506040613ea386828701613d50565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613eef82613c99565b810181811067ffffffffffffffff82111715613f0e57613f0d613eb7565b5b80604052505050565b6000613f21613b7b565b9050613f2d8282613ee6565b919050565b600067ffffffffffffffff821115613f4d57613f4c613eb7565b5b613f5682613c99565b9050602081019050919050565b82818337600083830152505050565b6000613f85613f8084613f32565b613f17565b905082815260208101848484011115613fa157613fa0613eb2565b5b613fac848285613f63565b509392505050565b600082601f830112613fc957613fc8613ead565b5b8135613fd9848260208601613f72565b91505092915050565b600060208284031215613ff857613ff7613b85565b5b600082013567ffffffffffffffff81111561401657614015613b8a565b5b61402284828501613fb4565b91505092915050565b60006020828403121561404157614040613b85565b5b600061404f84828501613e05565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61408d81613d05565b82525050565b600061409f8383614084565b60208301905092915050565b6000602082019050919050565b60006140c382614058565b6140cd8185614063565b93506140d883614074565b8060005b838110156141095781516140f08882614093565b97506140fb836140ab565b9250506001810190506140dc565b5085935050505092915050565b6000602082019050818103600083015261413081846140b8565b905092915050565b600067ffffffffffffffff82111561415357614152613eb7565b5b61415c82613c99565b9050602081019050919050565b600061417c61417784614138565b613f17565b90508281526020810184848401111561419857614197613eb2565b5b6141a3848285613f63565b509392505050565b600082601f8301126141c0576141bf613ead565b5b81356141d0848260208601614169565b91505092915050565b600080604083850312156141f0576141ef613b85565b5b60006141fe85828601613d50565b925050602083013567ffffffffffffffff81111561421f5761421e613b8a565b5b61422b858286016141ab565b9150509250929050565b61423e81613c14565b811461424957600080fd5b50565b60008135905061425b81614235565b92915050565b6000806040838503121561427857614277613b85565b5b600061428685828601613e05565b92505060206142978582860161424c565b9150509250929050565b600080600080608085870312156142bb576142ba613b85565b5b60006142c987828801613e05565b94505060206142da87828801613e05565b93505060406142eb87828801613d50565b925050606085013567ffffffffffffffff81111561430c5761430b613b8a565b5b614318878288016141ab565b91505092959194509250565b6000806040838503121561433b5761433a613b85565b5b600061434985828601613e05565b925050602061435a85828601613e05565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143ab57607f821691505b602082108114156143bf576143be614364565b5b50919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006143fb601083613c55565b9150614406826143c5565b602082019050919050565b6000602082019050818103600083015261442a816143ee565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614467602083613c55565b915061447282614431565b602082019050919050565b600060208201905081810360008301526144968161445a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144d782613d05565b91506144e283613d05565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145175761451661449d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061455c82613d05565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561458f5761458e61449d565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145d0601f83613c55565b91506145db8261459a565b602082019050919050565b600060208201905081810360008301526145ff816145c3565b9050919050565b7f57686974656c6973742073616c6520686173276e74207965742073746172746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614662602183613c55565b915061466d82614606565b604082019050919050565b6000602082019050818103600083015261469181614655565b9050919050565b7f4d6178206d696e74732072656163686564000000000000000000000000000000600082015250565b60006146ce601183613c55565b91506146d982614698565b602082019050919050565b600060208201905081810360008301526146fd816146c1565b9050919050565b7f57686974656c6973742073616c652068617320656e6465640000000000000000600082015250565b600061473a601883613c55565b915061474582614704565b602082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f43616e206d696e74206174206d6178203520696e206561636820626174636800600082015250565b60006147a6601f83613c55565b91506147b182614770565b602082019050919050565b600060208201905081810360008301526147d581614799565b9050919050565b7f57686974656c697374206d696e74696e672071756f7461206578636565646564600082015250565b6000614812602083613c55565b915061481d826147dc565b602082019050919050565b6000602082019050818103600083015261484181614805565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b600061487e601183613c55565b915061488982614848565b602082019050919050565b600060208201905081810360008301526148ad81614871565b9050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f206d696e7400000000600082015250565b60006148ea601c83613c55565b91506148f5826148b4565b602082019050919050565b60006020820190508181036000830152614919816148dd565b9050919050565b600061492b82613d05565b915061493683613d05565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561496f5761496e61449d565b5b828202905092915050565b7f496e73756666696369656e742066756e64732073656e74000000000000000000600082015250565b60006149b0601783613c55565b91506149bb8261497a565b602082019050919050565b600060208201905081810360008301526149df816149a3565b9050919050565b7f4d6178206c696d6974207065722077616c6c6574207265616368656400000000600082015250565b6000614a1c601c83613c55565b9150614a27826149e6565b602082019050919050565b60006020820190508181036000830152614a4b81614a0f565b9050919050565b7f5075626c6963206d696e7420686173276e742079657420737461727465640000600082015250565b6000614a88601e83613c55565b9150614a9382614a52565b602082019050919050565b60006020820190508181036000830152614ab781614a7b565b9050919050565b600081905092915050565b50565b6000614ad9600083614abe565b9150614ae482614ac9565b600082019050919050565b6000614afa82614acc565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614b3a601083613c55565b9150614b4582614b04565b602082019050919050565b60006020820190508181036000830152614b6981614b2d565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e2e00000000000000000000000000000000602082015250565b6000614bcc603083613c55565b9150614bd782614b70565b604082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b7f4c696d697420657863656564696e670000000000000000000000000000000000600082015250565b6000614c38600f83613c55565b9150614c4382614c02565b602082019050919050565b60006020820190508181036000830152614c6781614c2b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cca602683613c55565b9150614cd582614c6e565b604082019050919050565b60006020820190508181036000830152614cf981614cbd565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614d36601483613c55565b9150614d4182614d00565b602082019050919050565b60006020820190508181036000830152614d6581614d29565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dc8602283613c55565b9150614dd382614d6c565b604082019050919050565b60006020820190508181036000830152614df781614dbb565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614e5a602e83613c55565b9150614e6582614dfe565b604082019050919050565b60006020820190508181036000830152614e8981614e4d565b9050919050565b60008160601b9050919050565b6000614ea882614e90565b9050919050565b6000614eba82614e9d565b9050919050565b614ed2614ecd82613db2565b614eaf565b82525050565b6000614ee48285614ec1565b601482019150614ef48284614ec1565b6014820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614f2b82614f04565b614f358185614f0f565b9350614f45818560208601613c66565b614f4e81613c99565b840191505092915050565b6000608082019050614f6e6000830187613dc4565b614f7b6020830186613dc4565b614f886040830185613d0f565b8181036060830152614f9a8184614f20565b905095945050505050565b600081519050614fb481613bbb565b92915050565b600060208284031215614fd057614fcf613b85565b5b6000614fde84828501614fa5565b91505092915050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615028601c83614fe7565b915061503382614ff2565b601c82019050919050565b6000819050919050565b6000819050919050565b61506361505e8261503e565b615048565b82525050565b60006150748261501b565b91506150808284615052565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006150f4601883613c55565b91506150ff826150be565b602082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615160601f83613c55565b915061516b8261512a565b602082019050919050565b6000602082019050818103600083015261518f81615153565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006151f2602283613c55565b91506151fd82615196565b604082019050919050565b60006020820190508181036000830152615221816151e5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615284602283613c55565b915061528f82615228565b604082019050919050565b600060208201905081810360008301526152b381615277565b9050919050565b6152c38161503e565b82525050565b600060ff82169050919050565b6152df816152c9565b82525050565b60006080820190506152fa60008301876152ba565b61530760208301866152d6565b61531460408301856152ba565b61532160608301846152ba565b9594505050505056fea2646970667358221220fac987304224bf1f358e6f5878f06605fa2da7447d703dc0828e52774c43b72564736f6c634300080c0033

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.