ETH Price: $3,341.15 (-1.02%)

Token

RSVP (MYFI_RSVP)
 

Overview

Max Total Supply

39 MYFI_RSVP

Holders

34

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
dynoparty.eth
Balance
1 MYFI_RSVP
0x9e0070b8bbe792f7c0d4483361c4cb91aa8fd0f3
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:
RSVP

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/utils/Strings.sol';

contract RSVP is ERC721, ERC721Enumerable, ERC721URIStorage, ERC721Burnable, Ownable 
{
    using SafeMath for uint256;
    using SafeMath for uint8;

    address public vault;
    address public cookie_tree = 0x22764243EC635302C080b55de98ECEE0322E815A;
    address public dr_slurp = 0x13ED8515eA47b0B2dc20c7478F839E92b48f6A3b;
    bool public artistPrintsMinted = false;
    uint256 public constant MAX_RSVP = 53;

    //links
    string public baseURI;
    string public licenseLink;


    //0.03 ETH
    uint256 public price = 30000000000000000;

    mapping(uint256 => string) public RSVPs;

    enum State {Init, Sale, Done}
    State public state = State.Init;

    enum rsvpState {Open, Closed}
    rsvpState public rsvpStatus = rsvpState.Open;
						  
    constructor(string memory initialURI) ERC721("RSVP", "MYFI_RSVP") 
    {
	setBaseURI(initialURI);
    }

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

    function setLicenseLink(string memory newLicense) public onlyOwner
    {
	licenseLink = newLicense;
    }

    function safeMint(address to, uint256 tokenId, string memory uri) public onlyOwner
    {
        _safeMint(to, tokenId);
        _setTokenURI(tokenId, uri);
    }

    // The following functions are overrides required by Solidity.

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) 
    {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenID) public view override(ERC721, ERC721URIStorage) returns (string memory)
    {
       return string.concat(string.concat(baseURI, Strings.toString(tokenID)),".json");
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function setVault(address newVaultAddress) public onlyOwner
    {
        vault = newVaultAddress;
    }

    function withdraw(uint256 _amount) public onlyOwner
    {
        require(address(vault) != address(0), 'no vault');
        require(payable(vault).send(_amount));
    }

    function withdrawAll() public payable onlyOwner
    {
        require(address(vault) != address(0), 'no vault');
        require(payable(vault).send(address(this).balance));
    }

    //adjust the price of the NFT
    //only works when in Init
    function setPrice(uint256 newPrice) public onlyOwner initState
    {
        price = newPrice;
    }

    function mintArtistPrints() public onlyOwner initState
    {
        require(totalSupply() < MAX_RSVP, 'not enough pieces remaining for AP mints');
        require(totalSupply().add(2) <= MAX_RSVP, 'not enough invites left');
        require(!artistPrintsMinted, 'artist prints already minted :p');
        
        artistPrintsMinted = true;

        _safeMint(cookie_tree, 0);
        _safeMint(dr_slurp, 1);
    }

     /// @notice Mint RSVPs
    /// @dev  Note: you can mint a maximum of 13 RSVPs in a single transaction. 
    ///      @param toMint The amount of RSVPs you are trying to mint. Must be an integer between 1 and 13.
    function mintRSVP(uint256 toMint) public payable saleState
    {
        if(totalSupply() ==  MAX_RSVP)
	    {
	        state = State.Done;	
	    }

        require(totalSupply() < MAX_RSVP, 'all RSVPs minted');
        require(toMint > 0 && toMint <= 13, 'You can connect to between 1 and 13 RSVPs at a time');
        require(totalSupply().add(toMint) <= MAX_RSVP, 'not enougn RSVPs available for purchase, please chose a smaller ammount...');
        require(msg.value >= price.mul(toMint), 'check your math');

        for (uint256 i = 0; i < toMint; i++) 
        {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
    }

    
    /// @notice RSVP for your destiny
    /// @dev Please write your RSVP message
    ///      @param tokenID The tokenID you want to record an RSVP for
    ///      @param rsvpMessage The message you want to record with your RSVP
    function Send_RSVP_Message(uint256 tokenID, string memory rsvpMessage) public openState
    {
        require(ownsToken(tokenID), 'you do not own this token, hence you cannot RSVP for it');
        RSVPs[tokenID] = rsvpMessage;
    }

    function ownsToken(uint256 tokenID) public view returns (bool)
    {
        //check if not valid token
        if( !( (0 <= tokenID) && (tokenID <= totalSupply())))
        {
            return false;
        }

        //check if token is owned by message sender
        if(msg.sender == ownerOf(tokenID))
        {
            return true;
        }
        else
        {
            return false;
        }
    }

    function openRSVPs() public closedState
    {
        rsvpStatus = rsvpState.Open; 
    }

    function closeRSVPs() public openState
    {
        rsvpStatus = rsvpState.Closed; 
    }


    //moves contract into sale state
    function startSale() public onlyOwner initState
    {
        state = State.Sale;
    }

    //brings contract back to init state
    function pauseSale() public onlyOwner saleState
    {
        state = State.Init;
    }

    //finalizes contract into done state
    function finishSale() public onlyOwner saleState
    {
        state = State.Done;
    }

    modifier initState 
    {
        require(state == State.Init);
        _;
    }

    modifier saleState
    {
        require(state == State.Sale);
        _;    
    }

    modifier openState
    {
        require(rsvpStatus == rsvpState.Open);
        _;    
    }

    modifier closedState
    {
        require(rsvpStatus == rsvpState.Closed);
        _;    
    }

}

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @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) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 4 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

File 5 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 16 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 7 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 10 of 16 : 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 11 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

File 15 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 16 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_RSVP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"RSVPs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"rsvpMessage","type":"string"}],"name":"Send_RSVP_Message","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistPrintsMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeRSVPs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cookie_tree","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dr_slurp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finishSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"licenseLink","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintArtistPrints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"toMint","type":"uint256"}],"name":"mintRSVP","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openRSVPs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"ownsToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rsvpStatus","outputs":[{"internalType":"enum RSVP.rsvpState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"safeMint","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newLicense","type":"string"}],"name":"setLicenseLink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVaultAddress","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"enum RSVP.State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60806040527322764243ec635302c080b55de98ecee0322e815a600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507313ed8515ea47b0b2dc20c7478f839e92b48f6a3b600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600e60146101000a81548160ff021916908315150217905550666a94d74f4300006011556000601360006101000a81548160ff02191690836002811115620000fd57620000fc620004a0565b5b02179055506000601360016101000a81548160ff021916908360018111156200012b576200012a620004a0565b5b02179055503480156200013d57600080fd5b50604051620056e2380380620056e283398181016040528101906200016391906200066c565b6040518060400160405280600481526020017f52535650000000000000000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f4d5946495f5253565000000000000000000000000000000000000000000000008152508160009080519060200190620001e7929190620003f0565b50806001908051906020019062000200929190620003f0565b50505062000223620002176200023b60201b60201c565b6200024360201b60201c565b62000234816200030960201b60201c565b50620007a5565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003196200033560201b60201c565b80600f908051906020019062000331929190620003f0565b5050565b620003456200023b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200036b620003c660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003bb906200071e565b60405180910390fd5b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003fe906200076f565b90600052602060002090601f0160209004810192826200042257600085556200046e565b82601f106200043d57805160ff19168380011785556200046e565b828001600101855582156200046e579182015b828111156200046d57825182559160200191906001019062000450565b5b5090506200047d919062000481565b5090565b5b808211156200049c57600081600090555060010162000482565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200053882620004ed565b810181811067ffffffffffffffff821117156200055a5762000559620004fe565b5b80604052505050565b60006200056f620004cf565b90506200057d82826200052d565b919050565b600067ffffffffffffffff821115620005a0576200059f620004fe565b5b620005ab82620004ed565b9050602081019050919050565b60005b83811015620005d8578082015181840152602081019050620005bb565b83811115620005e8576000848401525b50505050565b600062000605620005ff8462000582565b62000563565b905082815260208101848484011115620006245762000623620004e8565b5b62000631848285620005b8565b509392505050565b600082601f830112620006515762000650620004e3565b5b815162000663848260208601620005ee565b91505092915050565b600060208284031215620006855762000684620004d9565b5b600082015167ffffffffffffffff811115620006a657620006a5620004de565b5b620006b48482850162000639565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000706602083620006bd565b91506200071382620006ce565b602082019050919050565b600060208201905081810360008301526200073981620006f7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200078857607f821691505b602082108114156200079f576200079e62000740565b5b50919050565b614f2d80620007b56000396000f3fe6080604052600436106102885760003560e01c806370a082311161015a578063b88d4fde116100c1578063e446890c1161007a578063e446890c1461094d578063e985e9c514610964578063f04d65fd146109a1578063f2fde38b146109de578063fbfa77cf14610a07578063fc0a31aa14610a3257610288565b8063b88d4fde1461082b578063c19d93fb14610854578063c87b56dd1461087f578063cd279c7c146108bc578063d46f974a146108e5578063dad040a01461091057610288565b806391b7f5ed1161011357806391b7f5ed1461075557806395d89b411461077e578063a035b1fe146107a9578063a22cb465146107d4578063a7d1ca5a146107fd578063b66a0e5d1461081457610288565b806370a082311461069e578063715018a6146106db578063853828b6146106f25780638a60465a146106fc5780638da5cb5b146107135780638f86f5ea1461073e57610288565b80632f745c59116101fe57806355367ba9116101b757806355367ba9146105a257806355f804b3146105b95780636352211e146105e25780636817031b1461061f578063687ad1eb146106485780636c0360eb1461067357610288565b80632f745c591461048257806332e23b62146104bf5780633a502069146104e857806342842e0e1461051357806342966c681461053c5780634f6ccce71461056557610288565b80631481846611610250578063148184661461038457806318160ddd146103af57806320c50e00146103da57806323b872dd146104055780632a000d341461042e5780632e1a7d4d1461045957610288565b806301ffc9a71461028d57806304be683b146102ca57806306fdde03146102f3578063081812fc1461031e578063095ea7b31461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af919061353b565b610a4e565b6040516102c19190613583565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061371a565b610a60565b005b3480156102ff57600080fd5b50610308610b14565b60405161031591906137fe565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190613820565b610ba6565b604051610352919061388e565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d91906138d5565b610bec565b005b34801561039057600080fd5b50610399610d04565b6040516103a69190613583565b60405180910390f35b3480156103bb57600080fd5b506103c4610d17565b6040516103d19190613924565b60405180910390f35b3480156103e657600080fd5b506103ef610d24565b6040516103fc91906139b6565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906139d1565b610d37565b005b34801561043a57600080fd5b50610443610d97565b60405161045091906137fe565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613820565b610e25565b005b34801561048e57600080fd5b506104a960048036038101906104a491906138d5565b610f22565b6040516104b69190613924565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190613a24565b610fc7565b005b3480156104f457600080fd5b506104fd610fe9565b60405161050a919061388e565b60405180910390f35b34801561051f57600080fd5b5061053a600480360381019061053591906139d1565b61100f565b005b34801561054857600080fd5b50610563600480360381019061055e9190613820565b61102f565b005b34801561057157600080fd5b5061058c60048036038101906105879190613820565b61108b565b6040516105999190613924565b60405180910390f35b3480156105ae57600080fd5b506105b76110fc565b005b3480156105c557600080fd5b506105e060048036038101906105db9190613a24565b611171565b005b3480156105ee57600080fd5b5061060960048036038101906106049190613820565b611193565b604051610616919061388e565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613a6d565b611245565b005b34801561065457600080fd5b5061065d611291565b60405161066a919061388e565b60405180910390f35b34801561067f57600080fd5b506106886112b7565b60405161069591906137fe565b60405180910390f35b3480156106aa57600080fd5b506106c560048036038101906106c09190613a6d565b611345565b6040516106d29190613924565b60405180910390f35b3480156106e757600080fd5b506106f06113fd565b005b6106fa611411565b005b34801561070857600080fd5b5061071161150d565b005b34801561071f57600080fd5b5061072861157a565b604051610735919061388e565b60405180910390f35b34801561074a57600080fd5b506107536115a4565b005b34801561076157600080fd5b5061077c60048036038101906107779190613820565b611619565b005b34801561078a57600080fd5b5061079361166b565b6040516107a091906137fe565b60405180910390f35b3480156107b557600080fd5b506107be6116fd565b6040516107cb9190613924565b60405180910390f35b3480156107e057600080fd5b506107fb60048036038101906107f69190613ac6565b611703565b005b34801561080957600080fd5b50610812611719565b005b34801561082057600080fd5b506108296118d0565b005b34801561083757600080fd5b50610852600480360381019061084d9190613ba7565b611945565b005b34801561086057600080fd5b506108696119a7565b6040516108769190613c72565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190613820565b6119ba565b6040516108b391906137fe565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613c8d565b611a0d565b005b3480156108f157600080fd5b506108fa611a2e565b6040516109079190613924565b60405180910390f35b34801561091c57600080fd5b5061093760048036038101906109329190613820565b611a33565b60405161094491906137fe565b60405180910390f35b34801561095957600080fd5b50610962611ad3565b005b34801561097057600080fd5b5061098b60048036038101906109869190613cfc565b611b3f565b6040516109989190613583565b60405180910390f35b3480156109ad57600080fd5b506109c860048036038101906109c39190613820565b611bd3565b6040516109d59190613583565b60405180910390f35b3480156109ea57600080fd5b50610a056004803603810190610a009190613a6d565b611c49565b005b348015610a1357600080fd5b50610a1c611ccd565b604051610a29919061388e565b60405180910390f35b610a4c6004803603810190610a479190613820565b611cf3565b005b6000610a5982611ef6565b9050919050565b60006001811115610a7457610a7361393f565b5b601360019054906101000a900460ff166001811115610a9657610a9561393f565b5b14610aa057600080fd5b610aa982611bd3565b610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90613dae565b60405180910390fd5b80601260008481526020019081526020016000209080519060200190610b0f9291906133ec565b505050565b606060008054610b2390613dfd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90613dfd565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000610bb182611f70565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bf782611193565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90613ea1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c87611fbb565b73ffffffffffffffffffffffffffffffffffffffff161480610cb65750610cb581610cb0611fbb565b611b3f565b5b610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90613f33565b60405180910390fd5b610cff8383611fc3565b505050565b600e60149054906101000a900460ff1681565b6000600880549050905090565b601360019054906101000a900460ff1681565b610d48610d42611fbb565b8261207c565b610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90613fc5565b60405180910390fd5b610d92838383612111565b505050565b60108054610da490613dfd565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd090613dfd565b8015610e1d5780601f10610df257610100808354040283529160200191610e1d565b820191906000526020600020905b815481529060010190602001808311610e0057829003601f168201915b505050505081565b610e2d612378565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690614031565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050610f1f57600080fd5b50565b6000610f2d83611345565b8210610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f65906140c3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610fcf612378565b8060109080519060200190610fe59291906133ec565b5050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61102a83838360405180602001604052806000815250611945565b505050565b61104061103a611fbb565b8261207c565b61107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690613fc5565b60405180910390fd5b611088816123f6565b50565b6000611095610d17565b82106110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90614155565b60405180910390fd5b600882815481106110ea576110e9614175565b5b90600052602060002001549050919050565b611104612378565b600160028111156111185761111761393f565b5b601360009054906101000a900460ff16600281111561113a5761113961393f565b5b1461114457600080fd5b6000601360006101000a81548160ff0219169083600281111561116a5761116961393f565b5b0217905550565b611179612378565b80600f908051906020019061118f9291906133ec565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561123c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611233906141f0565b60405180910390fd5b80915050919050565b61124d612378565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f80546112c490613dfd565b80601f01602080910402602001604051908101604052809291908181526020018280546112f090613dfd565b801561133d5780601f106113125761010080835404028352916020019161133d565b820191906000526020600020905b81548152906001019060200180831161132057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad90614282565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611405612378565b61140f6000612402565b565b611419612378565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a290614031565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061150b57600080fd5b565b600060018111156115215761152061393f565b5b601360019054906101000a900460ff1660018111156115435761154261393f565b5b1461154d57600080fd5b6001601360016101000a81548160ff021916908360018111156115735761157261393f565b5b0217905550565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115ac612378565b600160028111156115c0576115bf61393f565b5b601360009054906101000a900460ff1660028111156115e2576115e161393f565b5b146115ec57600080fd5b6002601360006101000a81548160ff021916908360028111156116125761161161393f565b5b0217905550565b611621612378565b600060028111156116355761163461393f565b5b601360009054906101000a900460ff1660028111156116575761165661393f565b5b1461166157600080fd5b8060118190555050565b60606001805461167a90613dfd565b80601f01602080910402602001604051908101604052809291908181526020018280546116a690613dfd565b80156116f35780601f106116c8576101008083540402835291602001916116f3565b820191906000526020600020905b8154815290600101906020018083116116d657829003601f168201915b5050505050905090565b60115481565b61171561170e611fbb565b83836124c8565b5050565b611721612378565b600060028111156117355761173461393f565b5b601360009054906101000a900460ff1660028111156117575761175661393f565b5b1461176157600080fd5b603561176b610d17565b106117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a290614314565b60405180910390fd5b60356117c860026117ba610d17565b61263590919063ffffffff16565b1115611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090614380565b60405180910390fd5b600e60149054906101000a900460ff1615611859576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611850906143ec565b60405180910390fd5b6001600e60146101000a81548160ff0219169083151502179055506118a1600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600061264b565b6118ce600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600161264b565b565b6118d8612378565b600060028111156118ec576118eb61393f565b5b601360009054906101000a900460ff16600281111561190e5761190d61393f565b5b1461191857600080fd5b6001601360006101000a81548160ff0219169083600281111561193e5761193d61393f565b5b0217905550565b611956611950611fbb565b8361207c565b611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c90613fc5565b60405180910390fd5b6119a184848484612669565b50505050565b601360009054906101000a900460ff1681565b6060600f6119c7836126c5565b6040516020016119d89291906144dc565b6040516020818303038152906040526040516020016119f79190614526565b6040516020818303038152906040529050919050565b611a15612378565b611a1f838361264b565b611a298282612826565b505050565b603581565b60126020528060005260406000206000915090508054611a5290613dfd565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7e90613dfd565b8015611acb5780601f10611aa057610100808354040283529160200191611acb565b820191906000526020600020905b815481529060010190602001808311611aae57829003601f168201915b505050505081565b600180811115611ae657611ae561393f565b5b601360019054906101000a900460ff166001811115611b0857611b0761393f565b5b14611b1257600080fd5b6000601360016101000a81548160ff02191690836001811115611b3857611b3761393f565b5b0217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081600011158015611bed5750611be9610d17565b8211155b611bfa5760009050611c44565b611c0382611193565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611c3f5760019050611c44565b600090505b919050565b611c51612378565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb8906145be565b60405180910390fd5b611cca81612402565b50565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016002811115611d0757611d0661393f565b5b601360009054906101000a900460ff166002811115611d2957611d2861393f565b5b14611d3357600080fd5b6035611d3d610d17565b1415611d6f576002601360006101000a81548160ff02191690836002811115611d6957611d6861393f565b5b02179055505b6035611d79610d17565b10611db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db09061462a565b60405180910390fd5b600081118015611dca5750600d8111155b611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e00906146bc565b60405180910390fd5b6035611e2582611e17610d17565b61263590919063ffffffff16565b1115611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614774565b60405180910390fd5b611e7b8160115461289a90919063ffffffff16565b341015611ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb4906147e0565b60405180910390fd5b60005b81811015611ef2576000611ed2610d17565b9050611ede338261264b565b508080611eea9061482f565b915050611ec0565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f695750611f68826128b0565b5b9050919050565b611f7981612992565b611fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611faf906141f0565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203683611193565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061208883611193565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120ca57506120c98185611b3f565b5b8061210857508373ffffffffffffffffffffffffffffffffffffffff166120f084610ba6565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661213182611193565b73ffffffffffffffffffffffffffffffffffffffff1614612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e906148ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ee9061497c565b60405180910390fd5b6122028383836129fe565b61220d600082611fc3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225d919061499c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122b491906149d0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612373838383612a0e565b505050565b612380611fbb565b73ffffffffffffffffffffffffffffffffffffffff1661239e61157a565b73ffffffffffffffffffffffffffffffffffffffff16146123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb90614a72565b60405180910390fd5b565b6123ff81612a13565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e90614ade565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126289190613583565b60405180910390a3505050565b6000818361264391906149d0565b905092915050565b612665828260405180602001604052806000815250612a66565b5050565b612674848484612111565b61268084848484612ac1565b6126bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b690614b70565b60405180910390fd5b50505050565b6060600082141561270d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612821565b600082905060005b6000821461273f5780806127289061482f565b915050600a826127389190614bbf565b9150612715565b60008167ffffffffffffffff81111561275b5761275a6135ef565b5b6040519080825280601f01601f19166020018201604052801561278d5781602001600182028036833780820191505090505b5090505b6000851461281a576001826127a6919061499c565b9150600a856127b59190614bf0565b60306127c191906149d0565b60f81b8183815181106127d7576127d6614175565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128139190614bbf565b9450612791565b8093505050505b919050565b61282f82612992565b61286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286590614c93565b60405180910390fd5b80600a600084815260200190815260200160002090805190602001906128959291906133ec565b505050565b600081836128a89190614cb3565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061298b575061298a82612c49565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612a09838383612cb3565b505050565b505050565b612a1c81612dc7565b6000600a60008381526020019081526020016000208054612a3c90613dfd565b905014612a6357600a60008281526020019081526020016000206000612a629190613472565b5b50565b612a708383612ee4565b612a7d6000848484612ac1565b612abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab390614b70565b60405180910390fd5b505050565b6000612ae28473ffffffffffffffffffffffffffffffffffffffff166130be565b15612c3c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b0b611fbb565b8786866040518563ffffffff1660e01b8152600401612b2d9493929190614d62565b6020604051808303816000875af1925050508015612b6957506040513d601f19601f82011682018060405250810190612b669190614dc3565b60015b612bec573d8060008114612b99576040519150601f19603f3d011682016040523d82523d6000602084013e612b9e565b606091505b50600081511415612be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdb90614b70565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c41565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cbe8383836130e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0157612cfc816130e6565b612d40565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d3f57612d3e838261312f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8357612d7e8161329c565b612dc2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc157612dc0828261336d565b5b5b505050565b6000612dd282611193565b9050612de0816000846129fe565b612deb600083611fc3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e3b919061499c565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ee081600084612a0e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4b90614e3c565b60405180910390fd5b612f5d81612992565b15612f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9490614ea8565b60405180910390fd5b612fa9600083836129fe565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ff991906149d0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130ba60008383612a0e565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161313c84611345565b613146919061499c565b905060006007600084815260200190815260200160002054905081811461322b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132b0919061499c565b90506000600960008481526020019081526020016000205490506000600883815481106132e0576132df614175565b5b90600052602060002001549050806008838154811061330257613301614175565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061335157613350614ec8565b5b6001900381819060005260206000200160009055905550505050565b600061337883611345565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546133f890613dfd565b90600052602060002090601f01602090048101928261341a5760008555613461565b82601f1061343357805160ff1916838001178555613461565b82800160010185558215613461579182015b82811115613460578251825591602001919060010190613445565b5b50905061346e91906134b2565b5090565b50805461347e90613dfd565b6000825580601f1061349057506134af565b601f0160209004906000526020600020908101906134ae91906134b2565b5b50565b5b808211156134cb5760008160009055506001016134b3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613518816134e3565b811461352357600080fd5b50565b6000813590506135358161350f565b92915050565b600060208284031215613551576135506134d9565b5b600061355f84828501613526565b91505092915050565b60008115159050919050565b61357d81613568565b82525050565b60006020820190506135986000830184613574565b92915050565b6000819050919050565b6135b18161359e565b81146135bc57600080fd5b50565b6000813590506135ce816135a8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613627826135de565b810181811067ffffffffffffffff82111715613646576136456135ef565b5b80604052505050565b60006136596134cf565b9050613665828261361e565b919050565b600067ffffffffffffffff821115613685576136846135ef565b5b61368e826135de565b9050602081019050919050565b82818337600083830152505050565b60006136bd6136b88461366a565b61364f565b9050828152602081018484840111156136d9576136d86135d9565b5b6136e484828561369b565b509392505050565b600082601f830112613701576137006135d4565b5b81356137118482602086016136aa565b91505092915050565b60008060408385031215613731576137306134d9565b5b600061373f858286016135bf565b925050602083013567ffffffffffffffff8111156137605761375f6134de565b5b61376c858286016136ec565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137b0578082015181840152602081019050613795565b838111156137bf576000848401525b50505050565b60006137d082613776565b6137da8185613781565b93506137ea818560208601613792565b6137f3816135de565b840191505092915050565b6000602082019050818103600083015261381881846137c5565b905092915050565b600060208284031215613836576138356134d9565b5b6000613844848285016135bf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138788261384d565b9050919050565b6138888161386d565b82525050565b60006020820190506138a3600083018461387f565b92915050565b6138b28161386d565b81146138bd57600080fd5b50565b6000813590506138cf816138a9565b92915050565b600080604083850312156138ec576138eb6134d9565b5b60006138fa858286016138c0565b925050602061390b858286016135bf565b9150509250929050565b61391e8161359e565b82525050565b60006020820190506139396000830184613915565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6002811061397f5761397e61393f565b5b50565b60008190506139908261396e565b919050565b60006139a082613982565b9050919050565b6139b081613995565b82525050565b60006020820190506139cb60008301846139a7565b92915050565b6000806000606084860312156139ea576139e96134d9565b5b60006139f8868287016138c0565b9350506020613a09868287016138c0565b9250506040613a1a868287016135bf565b9150509250925092565b600060208284031215613a3a57613a396134d9565b5b600082013567ffffffffffffffff811115613a5857613a576134de565b5b613a64848285016136ec565b91505092915050565b600060208284031215613a8357613a826134d9565b5b6000613a91848285016138c0565b91505092915050565b613aa381613568565b8114613aae57600080fd5b50565b600081359050613ac081613a9a565b92915050565b60008060408385031215613add57613adc6134d9565b5b6000613aeb858286016138c0565b9250506020613afc85828601613ab1565b9150509250929050565b600067ffffffffffffffff821115613b2157613b206135ef565b5b613b2a826135de565b9050602081019050919050565b6000613b4a613b4584613b06565b61364f565b905082815260208101848484011115613b6657613b656135d9565b5b613b7184828561369b565b509392505050565b600082601f830112613b8e57613b8d6135d4565b5b8135613b9e848260208601613b37565b91505092915050565b60008060008060808587031215613bc157613bc06134d9565b5b6000613bcf878288016138c0565b9450506020613be0878288016138c0565b9350506040613bf1878288016135bf565b925050606085013567ffffffffffffffff811115613c1257613c116134de565b5b613c1e87828801613b79565b91505092959194509250565b60038110613c3b57613c3a61393f565b5b50565b6000819050613c4c82613c2a565b919050565b6000613c5c82613c3e565b9050919050565b613c6c81613c51565b82525050565b6000602082019050613c876000830184613c63565b92915050565b600080600060608486031215613ca657613ca56134d9565b5b6000613cb4868287016138c0565b9350506020613cc5868287016135bf565b925050604084013567ffffffffffffffff811115613ce657613ce56134de565b5b613cf2868287016136ec565b9150509250925092565b60008060408385031215613d1357613d126134d9565b5b6000613d21858286016138c0565b9250506020613d32858286016138c0565b9150509250929050565b7f796f7520646f206e6f74206f776e207468697320746f6b656e2c2068656e636560008201527f20796f752063616e6e6f74205253565020666f72206974000000000000000000602082015250565b6000613d98603783613781565b9150613da382613d3c565b604082019050919050565b60006020820190508181036000830152613dc781613d8b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e1557607f821691505b60208210811415613e2957613e28613dce565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e8b602183613781565b9150613e9682613e2f565b604082019050919050565b60006020820190508181036000830152613eba81613e7e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613f1d603e83613781565b9150613f2882613ec1565b604082019050919050565b60006020820190508181036000830152613f4c81613f10565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613faf602e83613781565b9150613fba82613f53565b604082019050919050565b60006020820190508181036000830152613fde81613fa2565b9050919050565b7f6e6f207661756c74000000000000000000000000000000000000000000000000600082015250565b600061401b600883613781565b915061402682613fe5565b602082019050919050565b6000602082019050818103600083015261404a8161400e565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140ad602b83613781565b91506140b882614051565b604082019050919050565b600060208201905081810360008301526140dc816140a0565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061413f602c83613781565b915061414a826140e3565b604082019050919050565b6000602082019050818103600083015261416e81614132565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006141da601883613781565b91506141e5826141a4565b602082019050919050565b60006020820190508181036000830152614209816141cd565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061426c602983613781565b915061427782614210565b604082019050919050565b6000602082019050818103600083015261429b8161425f565b9050919050565b7f6e6f7420656e6f756768207069656365732072656d61696e696e6720666f722060008201527f4150206d696e7473000000000000000000000000000000000000000000000000602082015250565b60006142fe602883613781565b9150614309826142a2565b604082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f6e6f7420656e6f75676820696e7669746573206c656674000000000000000000600082015250565b600061436a601783613781565b915061437582614334565b602082019050919050565b600060208201905081810360008301526143998161435d565b9050919050565b7f617274697374207072696e747320616c7265616479206d696e746564203a7000600082015250565b60006143d6601f83613781565b91506143e1826143a0565b602082019050919050565b60006020820190508181036000830152614405816143c9565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461443981613dfd565b614443818661440c565b9450600182166000811461445e576001811461446f576144a2565b60ff198316865281860193506144a2565b61447885614417565b60005b8381101561449a5781548189015260018201915060208101905061447b565b838801955050505b50505092915050565b60006144b682613776565b6144c0818561440c565b93506144d0818560208601613792565b80840191505092915050565b60006144e8828561442c565b91506144f482846144ab565b91508190509392505050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b600061453282846144ab565b915061453d82614500565b60058201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145a8602683613781565b91506145b38261454c565b604082019050919050565b600060208201905081810360008301526145d78161459b565b9050919050565b7f616c6c205253565073206d696e74656400000000000000000000000000000000600082015250565b6000614614601083613781565b915061461f826145de565b602082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b7f596f752063616e20636f6e6e65637420746f206265747765656e203120616e6460008201527f20313320525356507320617420612074696d6500000000000000000000000000602082015250565b60006146a6603383613781565b91506146b18261464a565b604082019050919050565b600060208201905081810360008301526146d581614699565b9050919050565b7f6e6f7420656e6f75676e20525356507320617661696c61626c6520666f72207060008201527f757263686173652c20706c656173652063686f7365206120736d616c6c65722060208201527f616d6d6f756e742e2e2e00000000000000000000000000000000000000000000604082015250565b600061475e604a83613781565b9150614769826146dc565b606082019050919050565b6000602082019050818103600083015261478d81614751565b9050919050565b7f636865636b20796f7572206d6174680000000000000000000000000000000000600082015250565b60006147ca600f83613781565b91506147d582614794565b602082019050919050565b600060208201905081810360008301526147f9816147bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061483a8261359e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561486d5761486c614800565b5b600182019050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148d4602583613781565b91506148df82614878565b604082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614966602483613781565b91506149718261490a565b604082019050919050565b6000602082019050818103600083015261499581614959565b9050919050565b60006149a78261359e565b91506149b28361359e565b9250828210156149c5576149c4614800565b5b828203905092915050565b60006149db8261359e565b91506149e68361359e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a1b57614a1a614800565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a5c602083613781565b9150614a6782614a26565b602082019050919050565b60006020820190508181036000830152614a8b81614a4f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ac8601983613781565b9150614ad382614a92565b602082019050919050565b60006020820190508181036000830152614af781614abb565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614b5a603283613781565b9150614b6582614afe565b604082019050919050565b60006020820190508181036000830152614b8981614b4d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bca8261359e565b9150614bd58361359e565b925082614be557614be4614b90565b5b828204905092915050565b6000614bfb8261359e565b9150614c068361359e565b925082614c1657614c15614b90565b5b828206905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614c7d602e83613781565b9150614c8882614c21565b604082019050919050565b60006020820190508181036000830152614cac81614c70565b9050919050565b6000614cbe8261359e565b9150614cc98361359e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d0257614d01614800565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b6000614d3482614d0d565b614d3e8185614d18565b9350614d4e818560208601613792565b614d57816135de565b840191505092915050565b6000608082019050614d77600083018761387f565b614d84602083018661387f565b614d916040830185613915565b8181036060830152614da38184614d29565b905095945050505050565b600081519050614dbd8161350f565b92915050565b600060208284031215614dd957614dd86134d9565b5b6000614de784828501614dae565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e26602083613781565b9150614e3182614df0565b602082019050919050565b60006020820190508181036000830152614e5581614e19565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614e92601c83613781565b9150614e9d82614e5c565b602082019050919050565b60006020820190508181036000830152614ec181614e85565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ea4c3901090307ce48147dafb320a3d35849ca173132503166919d02d7076a7264736f6c634300080c00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f7777772e6d7966692e66756e2f697066732f58585858582f

Deployed Bytecode

0x6080604052600436106102885760003560e01c806370a082311161015a578063b88d4fde116100c1578063e446890c1161007a578063e446890c1461094d578063e985e9c514610964578063f04d65fd146109a1578063f2fde38b146109de578063fbfa77cf14610a07578063fc0a31aa14610a3257610288565b8063b88d4fde1461082b578063c19d93fb14610854578063c87b56dd1461087f578063cd279c7c146108bc578063d46f974a146108e5578063dad040a01461091057610288565b806391b7f5ed1161011357806391b7f5ed1461075557806395d89b411461077e578063a035b1fe146107a9578063a22cb465146107d4578063a7d1ca5a146107fd578063b66a0e5d1461081457610288565b806370a082311461069e578063715018a6146106db578063853828b6146106f25780638a60465a146106fc5780638da5cb5b146107135780638f86f5ea1461073e57610288565b80632f745c59116101fe57806355367ba9116101b757806355367ba9146105a257806355f804b3146105b95780636352211e146105e25780636817031b1461061f578063687ad1eb146106485780636c0360eb1461067357610288565b80632f745c591461048257806332e23b62146104bf5780633a502069146104e857806342842e0e1461051357806342966c681461053c5780634f6ccce71461056557610288565b80631481846611610250578063148184661461038457806318160ddd146103af57806320c50e00146103da57806323b872dd146104055780632a000d341461042e5780632e1a7d4d1461045957610288565b806301ffc9a71461028d57806304be683b146102ca57806306fdde03146102f3578063081812fc1461031e578063095ea7b31461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af919061353b565b610a4e565b6040516102c19190613583565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061371a565b610a60565b005b3480156102ff57600080fd5b50610308610b14565b60405161031591906137fe565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190613820565b610ba6565b604051610352919061388e565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d91906138d5565b610bec565b005b34801561039057600080fd5b50610399610d04565b6040516103a69190613583565b60405180910390f35b3480156103bb57600080fd5b506103c4610d17565b6040516103d19190613924565b60405180910390f35b3480156103e657600080fd5b506103ef610d24565b6040516103fc91906139b6565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906139d1565b610d37565b005b34801561043a57600080fd5b50610443610d97565b60405161045091906137fe565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613820565b610e25565b005b34801561048e57600080fd5b506104a960048036038101906104a491906138d5565b610f22565b6040516104b69190613924565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190613a24565b610fc7565b005b3480156104f457600080fd5b506104fd610fe9565b60405161050a919061388e565b60405180910390f35b34801561051f57600080fd5b5061053a600480360381019061053591906139d1565b61100f565b005b34801561054857600080fd5b50610563600480360381019061055e9190613820565b61102f565b005b34801561057157600080fd5b5061058c60048036038101906105879190613820565b61108b565b6040516105999190613924565b60405180910390f35b3480156105ae57600080fd5b506105b76110fc565b005b3480156105c557600080fd5b506105e060048036038101906105db9190613a24565b611171565b005b3480156105ee57600080fd5b5061060960048036038101906106049190613820565b611193565b604051610616919061388e565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613a6d565b611245565b005b34801561065457600080fd5b5061065d611291565b60405161066a919061388e565b60405180910390f35b34801561067f57600080fd5b506106886112b7565b60405161069591906137fe565b60405180910390f35b3480156106aa57600080fd5b506106c560048036038101906106c09190613a6d565b611345565b6040516106d29190613924565b60405180910390f35b3480156106e757600080fd5b506106f06113fd565b005b6106fa611411565b005b34801561070857600080fd5b5061071161150d565b005b34801561071f57600080fd5b5061072861157a565b604051610735919061388e565b60405180910390f35b34801561074a57600080fd5b506107536115a4565b005b34801561076157600080fd5b5061077c60048036038101906107779190613820565b611619565b005b34801561078a57600080fd5b5061079361166b565b6040516107a091906137fe565b60405180910390f35b3480156107b557600080fd5b506107be6116fd565b6040516107cb9190613924565b60405180910390f35b3480156107e057600080fd5b506107fb60048036038101906107f69190613ac6565b611703565b005b34801561080957600080fd5b50610812611719565b005b34801561082057600080fd5b506108296118d0565b005b34801561083757600080fd5b50610852600480360381019061084d9190613ba7565b611945565b005b34801561086057600080fd5b506108696119a7565b6040516108769190613c72565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190613820565b6119ba565b6040516108b391906137fe565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613c8d565b611a0d565b005b3480156108f157600080fd5b506108fa611a2e565b6040516109079190613924565b60405180910390f35b34801561091c57600080fd5b5061093760048036038101906109329190613820565b611a33565b60405161094491906137fe565b60405180910390f35b34801561095957600080fd5b50610962611ad3565b005b34801561097057600080fd5b5061098b60048036038101906109869190613cfc565b611b3f565b6040516109989190613583565b60405180910390f35b3480156109ad57600080fd5b506109c860048036038101906109c39190613820565b611bd3565b6040516109d59190613583565b60405180910390f35b3480156109ea57600080fd5b50610a056004803603810190610a009190613a6d565b611c49565b005b348015610a1357600080fd5b50610a1c611ccd565b604051610a29919061388e565b60405180910390f35b610a4c6004803603810190610a479190613820565b611cf3565b005b6000610a5982611ef6565b9050919050565b60006001811115610a7457610a7361393f565b5b601360019054906101000a900460ff166001811115610a9657610a9561393f565b5b14610aa057600080fd5b610aa982611bd3565b610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90613dae565b60405180910390fd5b80601260008481526020019081526020016000209080519060200190610b0f9291906133ec565b505050565b606060008054610b2390613dfd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90613dfd565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000610bb182611f70565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bf782611193565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90613ea1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c87611fbb565b73ffffffffffffffffffffffffffffffffffffffff161480610cb65750610cb581610cb0611fbb565b611b3f565b5b610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90613f33565b60405180910390fd5b610cff8383611fc3565b505050565b600e60149054906101000a900460ff1681565b6000600880549050905090565b601360019054906101000a900460ff1681565b610d48610d42611fbb565b8261207c565b610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90613fc5565b60405180910390fd5b610d92838383612111565b505050565b60108054610da490613dfd565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd090613dfd565b8015610e1d5780601f10610df257610100808354040283529160200191610e1d565b820191906000526020600020905b815481529060010190602001808311610e0057829003601f168201915b505050505081565b610e2d612378565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690614031565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050610f1f57600080fd5b50565b6000610f2d83611345565b8210610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f65906140c3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610fcf612378565b8060109080519060200190610fe59291906133ec565b5050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61102a83838360405180602001604052806000815250611945565b505050565b61104061103a611fbb565b8261207c565b61107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690613fc5565b60405180910390fd5b611088816123f6565b50565b6000611095610d17565b82106110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd90614155565b60405180910390fd5b600882815481106110ea576110e9614175565b5b90600052602060002001549050919050565b611104612378565b600160028111156111185761111761393f565b5b601360009054906101000a900460ff16600281111561113a5761113961393f565b5b1461114457600080fd5b6000601360006101000a81548160ff0219169083600281111561116a5761116961393f565b5b0217905550565b611179612378565b80600f908051906020019061118f9291906133ec565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561123c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611233906141f0565b60405180910390fd5b80915050919050565b61124d612378565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f80546112c490613dfd565b80601f01602080910402602001604051908101604052809291908181526020018280546112f090613dfd565b801561133d5780601f106113125761010080835404028352916020019161133d565b820191906000526020600020905b81548152906001019060200180831161132057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad90614282565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611405612378565b61140f6000612402565b565b611419612378565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a290614031565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061150b57600080fd5b565b600060018111156115215761152061393f565b5b601360019054906101000a900460ff1660018111156115435761154261393f565b5b1461154d57600080fd5b6001601360016101000a81548160ff021916908360018111156115735761157261393f565b5b0217905550565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115ac612378565b600160028111156115c0576115bf61393f565b5b601360009054906101000a900460ff1660028111156115e2576115e161393f565b5b146115ec57600080fd5b6002601360006101000a81548160ff021916908360028111156116125761161161393f565b5b0217905550565b611621612378565b600060028111156116355761163461393f565b5b601360009054906101000a900460ff1660028111156116575761165661393f565b5b1461166157600080fd5b8060118190555050565b60606001805461167a90613dfd565b80601f01602080910402602001604051908101604052809291908181526020018280546116a690613dfd565b80156116f35780601f106116c8576101008083540402835291602001916116f3565b820191906000526020600020905b8154815290600101906020018083116116d657829003601f168201915b5050505050905090565b60115481565b61171561170e611fbb565b83836124c8565b5050565b611721612378565b600060028111156117355761173461393f565b5b601360009054906101000a900460ff1660028111156117575761175661393f565b5b1461176157600080fd5b603561176b610d17565b106117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a290614314565b60405180910390fd5b60356117c860026117ba610d17565b61263590919063ffffffff16565b1115611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090614380565b60405180910390fd5b600e60149054906101000a900460ff1615611859576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611850906143ec565b60405180910390fd5b6001600e60146101000a81548160ff0219169083151502179055506118a1600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600061264b565b6118ce600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600161264b565b565b6118d8612378565b600060028111156118ec576118eb61393f565b5b601360009054906101000a900460ff16600281111561190e5761190d61393f565b5b1461191857600080fd5b6001601360006101000a81548160ff0219169083600281111561193e5761193d61393f565b5b0217905550565b611956611950611fbb565b8361207c565b611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c90613fc5565b60405180910390fd5b6119a184848484612669565b50505050565b601360009054906101000a900460ff1681565b6060600f6119c7836126c5565b6040516020016119d89291906144dc565b6040516020818303038152906040526040516020016119f79190614526565b6040516020818303038152906040529050919050565b611a15612378565b611a1f838361264b565b611a298282612826565b505050565b603581565b60126020528060005260406000206000915090508054611a5290613dfd565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7e90613dfd565b8015611acb5780601f10611aa057610100808354040283529160200191611acb565b820191906000526020600020905b815481529060010190602001808311611aae57829003601f168201915b505050505081565b600180811115611ae657611ae561393f565b5b601360019054906101000a900460ff166001811115611b0857611b0761393f565b5b14611b1257600080fd5b6000601360016101000a81548160ff02191690836001811115611b3857611b3761393f565b5b0217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081600011158015611bed5750611be9610d17565b8211155b611bfa5760009050611c44565b611c0382611193565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611c3f5760019050611c44565b600090505b919050565b611c51612378565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb8906145be565b60405180910390fd5b611cca81612402565b50565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016002811115611d0757611d0661393f565b5b601360009054906101000a900460ff166002811115611d2957611d2861393f565b5b14611d3357600080fd5b6035611d3d610d17565b1415611d6f576002601360006101000a81548160ff02191690836002811115611d6957611d6861393f565b5b02179055505b6035611d79610d17565b10611db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db09061462a565b60405180910390fd5b600081118015611dca5750600d8111155b611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e00906146bc565b60405180910390fd5b6035611e2582611e17610d17565b61263590919063ffffffff16565b1115611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614774565b60405180910390fd5b611e7b8160115461289a90919063ffffffff16565b341015611ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb4906147e0565b60405180910390fd5b60005b81811015611ef2576000611ed2610d17565b9050611ede338261264b565b508080611eea9061482f565b915050611ec0565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f695750611f68826128b0565b5b9050919050565b611f7981612992565b611fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611faf906141f0565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203683611193565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061208883611193565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120ca57506120c98185611b3f565b5b8061210857508373ffffffffffffffffffffffffffffffffffffffff166120f084610ba6565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661213182611193565b73ffffffffffffffffffffffffffffffffffffffff1614612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e906148ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ee9061497c565b60405180910390fd5b6122028383836129fe565b61220d600082611fc3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225d919061499c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122b491906149d0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612373838383612a0e565b505050565b612380611fbb565b73ffffffffffffffffffffffffffffffffffffffff1661239e61157a565b73ffffffffffffffffffffffffffffffffffffffff16146123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb90614a72565b60405180910390fd5b565b6123ff81612a13565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252e90614ade565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126289190613583565b60405180910390a3505050565b6000818361264391906149d0565b905092915050565b612665828260405180602001604052806000815250612a66565b5050565b612674848484612111565b61268084848484612ac1565b6126bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b690614b70565b60405180910390fd5b50505050565b6060600082141561270d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612821565b600082905060005b6000821461273f5780806127289061482f565b915050600a826127389190614bbf565b9150612715565b60008167ffffffffffffffff81111561275b5761275a6135ef565b5b6040519080825280601f01601f19166020018201604052801561278d5781602001600182028036833780820191505090505b5090505b6000851461281a576001826127a6919061499c565b9150600a856127b59190614bf0565b60306127c191906149d0565b60f81b8183815181106127d7576127d6614175565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128139190614bbf565b9450612791565b8093505050505b919050565b61282f82612992565b61286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286590614c93565b60405180910390fd5b80600a600084815260200190815260200160002090805190602001906128959291906133ec565b505050565b600081836128a89190614cb3565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061298b575061298a82612c49565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612a09838383612cb3565b505050565b505050565b612a1c81612dc7565b6000600a60008381526020019081526020016000208054612a3c90613dfd565b905014612a6357600a60008281526020019081526020016000206000612a629190613472565b5b50565b612a708383612ee4565b612a7d6000848484612ac1565b612abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab390614b70565b60405180910390fd5b505050565b6000612ae28473ffffffffffffffffffffffffffffffffffffffff166130be565b15612c3c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b0b611fbb565b8786866040518563ffffffff1660e01b8152600401612b2d9493929190614d62565b6020604051808303816000875af1925050508015612b6957506040513d601f19601f82011682018060405250810190612b669190614dc3565b60015b612bec573d8060008114612b99576040519150601f19603f3d011682016040523d82523d6000602084013e612b9e565b606091505b50600081511415612be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdb90614b70565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c41565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cbe8383836130e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0157612cfc816130e6565b612d40565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d3f57612d3e838261312f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8357612d7e8161329c565b612dc2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc157612dc0828261336d565b5b5b505050565b6000612dd282611193565b9050612de0816000846129fe565b612deb600083611fc3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e3b919061499c565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ee081600084612a0e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4b90614e3c565b60405180910390fd5b612f5d81612992565b15612f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9490614ea8565b60405180910390fd5b612fa9600083836129fe565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ff991906149d0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130ba60008383612a0e565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161313c84611345565b613146919061499c565b905060006007600084815260200190815260200160002054905081811461322b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132b0919061499c565b90506000600960008481526020019081526020016000205490506000600883815481106132e0576132df614175565b5b90600052602060002001549050806008838154811061330257613301614175565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061335157613350614ec8565b5b6001900381819060005260206000200160009055905550505050565b600061337883611345565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546133f890613dfd565b90600052602060002090601f01602090048101928261341a5760008555613461565b82601f1061343357805160ff1916838001178555613461565b82800160010185558215613461579182015b82811115613460578251825591602001919060010190613445565b5b50905061346e91906134b2565b5090565b50805461347e90613dfd565b6000825580601f1061349057506134af565b601f0160209004906000526020600020908101906134ae91906134b2565b5b50565b5b808211156134cb5760008160009055506001016134b3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613518816134e3565b811461352357600080fd5b50565b6000813590506135358161350f565b92915050565b600060208284031215613551576135506134d9565b5b600061355f84828501613526565b91505092915050565b60008115159050919050565b61357d81613568565b82525050565b60006020820190506135986000830184613574565b92915050565b6000819050919050565b6135b18161359e565b81146135bc57600080fd5b50565b6000813590506135ce816135a8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613627826135de565b810181811067ffffffffffffffff82111715613646576136456135ef565b5b80604052505050565b60006136596134cf565b9050613665828261361e565b919050565b600067ffffffffffffffff821115613685576136846135ef565b5b61368e826135de565b9050602081019050919050565b82818337600083830152505050565b60006136bd6136b88461366a565b61364f565b9050828152602081018484840111156136d9576136d86135d9565b5b6136e484828561369b565b509392505050565b600082601f830112613701576137006135d4565b5b81356137118482602086016136aa565b91505092915050565b60008060408385031215613731576137306134d9565b5b600061373f858286016135bf565b925050602083013567ffffffffffffffff8111156137605761375f6134de565b5b61376c858286016136ec565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137b0578082015181840152602081019050613795565b838111156137bf576000848401525b50505050565b60006137d082613776565b6137da8185613781565b93506137ea818560208601613792565b6137f3816135de565b840191505092915050565b6000602082019050818103600083015261381881846137c5565b905092915050565b600060208284031215613836576138356134d9565b5b6000613844848285016135bf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138788261384d565b9050919050565b6138888161386d565b82525050565b60006020820190506138a3600083018461387f565b92915050565b6138b28161386d565b81146138bd57600080fd5b50565b6000813590506138cf816138a9565b92915050565b600080604083850312156138ec576138eb6134d9565b5b60006138fa858286016138c0565b925050602061390b858286016135bf565b9150509250929050565b61391e8161359e565b82525050565b60006020820190506139396000830184613915565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6002811061397f5761397e61393f565b5b50565b60008190506139908261396e565b919050565b60006139a082613982565b9050919050565b6139b081613995565b82525050565b60006020820190506139cb60008301846139a7565b92915050565b6000806000606084860312156139ea576139e96134d9565b5b60006139f8868287016138c0565b9350506020613a09868287016138c0565b9250506040613a1a868287016135bf565b9150509250925092565b600060208284031215613a3a57613a396134d9565b5b600082013567ffffffffffffffff811115613a5857613a576134de565b5b613a64848285016136ec565b91505092915050565b600060208284031215613a8357613a826134d9565b5b6000613a91848285016138c0565b91505092915050565b613aa381613568565b8114613aae57600080fd5b50565b600081359050613ac081613a9a565b92915050565b60008060408385031215613add57613adc6134d9565b5b6000613aeb858286016138c0565b9250506020613afc85828601613ab1565b9150509250929050565b600067ffffffffffffffff821115613b2157613b206135ef565b5b613b2a826135de565b9050602081019050919050565b6000613b4a613b4584613b06565b61364f565b905082815260208101848484011115613b6657613b656135d9565b5b613b7184828561369b565b509392505050565b600082601f830112613b8e57613b8d6135d4565b5b8135613b9e848260208601613b37565b91505092915050565b60008060008060808587031215613bc157613bc06134d9565b5b6000613bcf878288016138c0565b9450506020613be0878288016138c0565b9350506040613bf1878288016135bf565b925050606085013567ffffffffffffffff811115613c1257613c116134de565b5b613c1e87828801613b79565b91505092959194509250565b60038110613c3b57613c3a61393f565b5b50565b6000819050613c4c82613c2a565b919050565b6000613c5c82613c3e565b9050919050565b613c6c81613c51565b82525050565b6000602082019050613c876000830184613c63565b92915050565b600080600060608486031215613ca657613ca56134d9565b5b6000613cb4868287016138c0565b9350506020613cc5868287016135bf565b925050604084013567ffffffffffffffff811115613ce657613ce56134de565b5b613cf2868287016136ec565b9150509250925092565b60008060408385031215613d1357613d126134d9565b5b6000613d21858286016138c0565b9250506020613d32858286016138c0565b9150509250929050565b7f796f7520646f206e6f74206f776e207468697320746f6b656e2c2068656e636560008201527f20796f752063616e6e6f74205253565020666f72206974000000000000000000602082015250565b6000613d98603783613781565b9150613da382613d3c565b604082019050919050565b60006020820190508181036000830152613dc781613d8b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e1557607f821691505b60208210811415613e2957613e28613dce565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e8b602183613781565b9150613e9682613e2f565b604082019050919050565b60006020820190508181036000830152613eba81613e7e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613f1d603e83613781565b9150613f2882613ec1565b604082019050919050565b60006020820190508181036000830152613f4c81613f10565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613faf602e83613781565b9150613fba82613f53565b604082019050919050565b60006020820190508181036000830152613fde81613fa2565b9050919050565b7f6e6f207661756c74000000000000000000000000000000000000000000000000600082015250565b600061401b600883613781565b915061402682613fe5565b602082019050919050565b6000602082019050818103600083015261404a8161400e565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140ad602b83613781565b91506140b882614051565b604082019050919050565b600060208201905081810360008301526140dc816140a0565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061413f602c83613781565b915061414a826140e3565b604082019050919050565b6000602082019050818103600083015261416e81614132565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006141da601883613781565b91506141e5826141a4565b602082019050919050565b60006020820190508181036000830152614209816141cd565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061426c602983613781565b915061427782614210565b604082019050919050565b6000602082019050818103600083015261429b8161425f565b9050919050565b7f6e6f7420656e6f756768207069656365732072656d61696e696e6720666f722060008201527f4150206d696e7473000000000000000000000000000000000000000000000000602082015250565b60006142fe602883613781565b9150614309826142a2565b604082019050919050565b6000602082019050818103600083015261432d816142f1565b9050919050565b7f6e6f7420656e6f75676820696e7669746573206c656674000000000000000000600082015250565b600061436a601783613781565b915061437582614334565b602082019050919050565b600060208201905081810360008301526143998161435d565b9050919050565b7f617274697374207072696e747320616c7265616479206d696e746564203a7000600082015250565b60006143d6601f83613781565b91506143e1826143a0565b602082019050919050565b60006020820190508181036000830152614405816143c9565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461443981613dfd565b614443818661440c565b9450600182166000811461445e576001811461446f576144a2565b60ff198316865281860193506144a2565b61447885614417565b60005b8381101561449a5781548189015260018201915060208101905061447b565b838801955050505b50505092915050565b60006144b682613776565b6144c0818561440c565b93506144d0818560208601613792565b80840191505092915050565b60006144e8828561442c565b91506144f482846144ab565b91508190509392505050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b600061453282846144ab565b915061453d82614500565b60058201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145a8602683613781565b91506145b38261454c565b604082019050919050565b600060208201905081810360008301526145d78161459b565b9050919050565b7f616c6c205253565073206d696e74656400000000000000000000000000000000600082015250565b6000614614601083613781565b915061461f826145de565b602082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b7f596f752063616e20636f6e6e65637420746f206265747765656e203120616e6460008201527f20313320525356507320617420612074696d6500000000000000000000000000602082015250565b60006146a6603383613781565b91506146b18261464a565b604082019050919050565b600060208201905081810360008301526146d581614699565b9050919050565b7f6e6f7420656e6f75676e20525356507320617661696c61626c6520666f72207060008201527f757263686173652c20706c656173652063686f7365206120736d616c6c65722060208201527f616d6d6f756e742e2e2e00000000000000000000000000000000000000000000604082015250565b600061475e604a83613781565b9150614769826146dc565b606082019050919050565b6000602082019050818103600083015261478d81614751565b9050919050565b7f636865636b20796f7572206d6174680000000000000000000000000000000000600082015250565b60006147ca600f83613781565b91506147d582614794565b602082019050919050565b600060208201905081810360008301526147f9816147bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061483a8261359e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561486d5761486c614800565b5b600182019050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148d4602583613781565b91506148df82614878565b604082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614966602483613781565b91506149718261490a565b604082019050919050565b6000602082019050818103600083015261499581614959565b9050919050565b60006149a78261359e565b91506149b28361359e565b9250828210156149c5576149c4614800565b5b828203905092915050565b60006149db8261359e565b91506149e68361359e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a1b57614a1a614800565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a5c602083613781565b9150614a6782614a26565b602082019050919050565b60006020820190508181036000830152614a8b81614a4f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ac8601983613781565b9150614ad382614a92565b602082019050919050565b60006020820190508181036000830152614af781614abb565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614b5a603283613781565b9150614b6582614afe565b604082019050919050565b60006020820190508181036000830152614b8981614b4d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bca8261359e565b9150614bd58361359e565b925082614be557614be4614b90565b5b828204905092915050565b6000614bfb8261359e565b9150614c068361359e565b925082614c1657614c15614b90565b5b828206905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614c7d602e83613781565b9150614c8882614c21565b604082019050919050565b60006020820190508181036000830152614cac81614c70565b9050919050565b6000614cbe8261359e565b9150614cc98361359e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d0257614d01614800565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b6000614d3482614d0d565b614d3e8185614d18565b9350614d4e818560208601613792565b614d57816135de565b840191505092915050565b6000608082019050614d77600083018761387f565b614d84602083018661387f565b614d916040830185613915565b8181036060830152614da38184614d29565b905095945050505050565b600081519050614dbd8161350f565b92915050565b600060208284031215614dd957614dd86134d9565b5b6000614de784828501614dae565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e26602083613781565b9150614e3182614df0565b602082019050919050565b60006020820190508181036000830152614e5581614e19565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614e92601c83613781565b9150614e9d82614e5c565b602082019050919050565b60006020820190508181036000830152614ec181614e85565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ea4c3901090307ce48147dafb320a3d35849ca173132503166919d02d7076a7264736f6c634300080c0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f7777772e6d7966692e66756e2f697066732f58585858582f

-----Decoded View---------------
Arg [0] : initialURI (string): https://www.myfi.fun/ipfs/XXXXX/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [2] : 68747470733a2f2f7777772e6d7966692e66756e2f697066732f58585858582f


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.