ETH Price: $3,654.88 (-5.90%)

Contract

0x6E616165b5c29Dd47c0D365e6C7bb50dCC38fc23
 

Overview

ETH Balance

0.027 ETH

Eth Value

$98.68 (@ $3,654.88/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint185944182023-11-17 21:56:35397 days ago1700258195IN
OnChainTalkingPepe: OCN Token
0.009 ETH0.0101529627.35623357
Set Approval For...183520252023-10-14 23:53:23431 days ago1697327603IN
OnChainTalkingPepe: OCN Token
0 ETH0.000284414.78684464
Transfer From180046552023-08-27 7:56:35479 days ago1693122995IN
OnChainTalkingPepe: OCN Token
0 ETH0.0006894611.44707325
Mint180046382023-08-27 7:53:11479 days ago1693122791IN
OnChainTalkingPepe: OCN Token
0 ETH0.0041736811.90180142
Safe Transfer Fr...166179542023-02-13 6:09:35674 days ago1676268575IN
OnChainTalkingPepe: OCN Token
0 ETH0.0009160615.54819951
Mint166179002023-02-13 5:58:47674 days ago1676267927IN
OnChainTalkingPepe: OCN Token
0.009 ETH0.0058600716.14335811
Mint166141332023-02-12 17:20:23675 days ago1676222423IN
OnChainTalkingPepe: OCN Token
0.009 ETH0.0065168717.71969733
Mint166121662023-02-12 10:45:11675 days ago1676198711IN
OnChainTalkingPepe: OCN Token
0.009 ETH0.0052986216.34162037
Safe Transfer Fr...166121612023-02-12 10:44:11675 days ago1676198651IN
OnChainTalkingPepe: OCN Token
0 ETH0.0009935915.59660551
Mint166121562023-02-12 10:43:11675 days ago1676198591IN
OnChainTalkingPepe: OCN Token
0 ETH0.0053152215.5701327
Mint166121152023-02-12 10:34:59675 days ago1676198099IN
OnChainTalkingPepe: OCN Token
0 ETH0.0069130121.54252894
Mint166120972023-02-12 10:31:11675 days ago1676197871IN
OnChainTalkingPepe: OCN Token
0 ETH0.0055073217.16206878
Mint166120912023-02-12 10:29:59675 days ago1676197799IN
OnChainTalkingPepe: OCN Token
0 ETH0.0054352115.78786818
Mint166120832023-02-12 10:28:23675 days ago1676197703IN
OnChainTalkingPepe: OCN Token
0 ETH0.0047849615.05956074
Mint166120792023-02-12 10:27:35675 days ago1676197655IN
OnChainTalkingPepe: OCN Token
0 ETH0.0050768615.9744128
Mint166120762023-02-12 10:26:59675 days ago1676197619IN
OnChainTalkingPepe: OCN Token
0 ETH0.0050817416.15235824
Mint166120712023-02-12 10:25:59675 days ago1676197559IN
OnChainTalkingPepe: OCN Token
0 ETH0.0048691115.47520548
Mint166120632023-02-12 10:24:23675 days ago1676197463IN
OnChainTalkingPepe: OCN Token
0 ETH0.0055095715.78467385
Mint166120612023-02-12 10:23:59675 days ago1676197439IN
OnChainTalkingPepe: OCN Token
0 ETH0.0048111114.71290066
Mint166120482023-02-12 10:21:11675 days ago1676197271IN
OnChainTalkingPepe: OCN Token
0 ETH0.0053289716.36034208
Mint166120442023-02-12 10:20:23675 days ago1676197223IN
OnChainTalkingPepe: OCN Token
0 ETH0.004509314.91989961
Mint166120432023-02-12 10:20:11675 days ago1676197211IN
OnChainTalkingPepe: OCN Token
0 ETH0.0046429515.36596887
Mint166120392023-02-12 10:19:23675 days ago1676197163IN
OnChainTalkingPepe: OCN Token
0 ETH0.0049922415.62753792
Mint166120302023-02-12 10:17:35675 days ago1676197055IN
OnChainTalkingPepe: OCN Token
0 ETH0.0051144516.16828902
Mint166120302023-02-12 10:17:35675 days ago1676197055IN
OnChainTalkingPepe: OCN Token
0 ETH0.005392116.16828902
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OnChainTalkingPepe

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./OnChainTalkingPepeSvg.sol";

contract OnChainTalkingPepe is ERC721, Ownable, DefaultOperatorFilterer {
    using Strings for uint256;
    bool public contractLive = true;
    mapping(uint256 => OnChainTalkingPepeSvg.ImageData) public imageToTokenId;
    uint256 public constant TEXTCHARACTERLIMIT = 10;
    uint256 public constant MAXSUPPLY = 999;
    uint256 public constant LASTCALLSUPPLYLIMIT = 950;
    uint256 public constant FREESUPPLY = 20;
    uint256 public constant MINTPRICE = 0.009 ether;
    uint256 public constant LASTCALLMINTPRICE = 0.05 ether;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;

    string[] private colors = ['FFA555', 'ff0000', 'ffa500', 'ffff00', 'a113e8', '0000ff', '4b0082', 'ee82ee', '245ea4', '2acac5', 'cc0066'];
    string[] private pepeColors = ['68984c', 'ff99a8', '228B22', '006400', '3CB371', '20B2AA', '808000', '6B8E23', '556B2F', 'c175ff', 'fea95e'];

    constructor() ERC721("OnChainTalkingPepe", "OCN") {}

    function mint(string memory _userText1, string memory _userText2) public payable {

        require(contractLive, "Contract is not accepting mint anymore.");
        uint256 totalSupply = _tokenIdCounter.current() + 1;
        require(totalSupply <= MAXSUPPLY, "Minted out!");
        require(bytes(_userText1).length <= TEXTCHARACTERLIMIT, "Text input 1 exceeds limit.");
        require(bytes(_userText2).length <= TEXTCHARACTERLIMIT, "Text input 2 exceeds limit.");
        require(!startOrEndWithSpace(_userText1), "Text input 1 starts or ends with whitespace!");
        require(!startOrEndWithSpace(_userText2), "Text input 2 starts or ends with whitespace!");
        require(exists(_userText1, _userText2) != true, "Speech bubble text combination already exists!");        

        if (msg.sender != owner()) {
            require(msg.value >= getMintPrice(), "Not enough eth sent.");
        }

        uint random1 = randomNum(11, block.timestamp, totalSupply);
        uint random2 = randomNum(11, block.difficulty, totalSupply);

        OnChainTalkingPepeSvg.ImageData memory newImage = OnChainTalkingPepeSvg.ImageData(
            string(abi.encodePacked("OnChainTalkingPepe #", totalSupply.toString())),
            _userText1,
            _userText2,
            colors[random1],
            pepeColors[random1],
            colors[random2],
            string.concat((random1+2).toString(), ".", random2.toString()),
            string.concat((random2+2).toString(), ".", random1.toString()),
            "A52A2A"
        );

        _tokenIdCounter.increment();
        imageToTokenId[totalSupply] = newImage;
        _mint(msg.sender, totalSupply);
    }

    function startOrEndWithSpace(string memory _text) internal pure returns (bool) {
        if(bytes(_text).length==0)
            return false;
        return (bytes(_text)[0] == 0x20 || bytes(_text)[bytes(_text).length-1] == 0x20);
    }

    function exists(string memory _text, string memory _text2) public view returns (bool) {
        for (uint256 i = 1; i <= _tokenIdCounter.current(); i++) {
            if (
                keccak256(abi.encodePacked(imageToTokenId[i].speechBubbleText1)) == keccak256(abi.encodePacked(_text))
                && keccak256(abi.encodePacked(imageToTokenId[i].speechBubbleText2)) == keccak256(abi.encodePacked(_text2))
            ) {
                return true;
            }
        }
        return false;
    }

    function setCustomColor(uint256 _tokenId, string memory _pepeColor, string memory _eyeColor, string memory _textColor, string memory _mouthColor) public payable {

        require(_tokenId <= _tokenIdCounter.current(), "No such token id");
        require(msg.sender == ownerOf(_tokenId), "You are not the owner.");
        OnChainTalkingPepeSvg.ImageData memory updatedImage = imageToTokenId[_tokenId];

        if (bytes(_pepeColor).length == 6) {
            updatedImage.pepeColor = _pepeColor;
        }

        if (bytes(_eyeColor).length == 6) {
            updatedImage.eyeColor = _eyeColor;
        }

        if (bytes(_textColor).length == 6) {
            updatedImage.speechBubbleTextColor = _textColor;
        }

        if (bytes(_mouthColor).length == 6) {
            updatedImage.mouthColor = _mouthColor;
        }

        imageToTokenId[_tokenId] = updatedImage;
    }

    function randomNum(
        uint256 _mod,
        uint256 _seed,
        uint256 _salt
    ) public view returns (uint256) {
        return uint256(
            keccak256(
                abi.encodePacked(block.timestamp, msg.sender, _seed, _salt)
            )
        ) % _mod;
    }

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

    function disableMint() public onlyOwner {
        contractLive = false;
    }

    function getMintPrice() public view returns (uint256) {
        
        if(_tokenIdCounter.current()+1 <= FREESUPPLY){
            return 0 ether;
        }
        if(_tokenIdCounter.current()+1 >= LASTCALLSUPPLYLIMIT){
            return LASTCALLMINTPRICE;
        }
        else{
            return MINTPRICE;
        }
    }

    function getNumberOfMintedNfts() public view returns (string memory)  {
        return Strings.toString(_tokenIdCounter.current());
    }

    function withdraw() public payable onlyOwner {
        (bool success,) = payable(msg.sender).call{
        value : address(this).balance
        }("");
        require(success);
    }


    //Opensea contract overrides
    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
    public
    override
    onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

File 2 of 18 : 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 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 = _ownerOf(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 or 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 or 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 or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @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. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 4 of 18 : 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 5 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 6 of 18 : 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 7 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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 8 of 18 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 9 of 18 : 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 10 of 18 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 13 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

File 15 of 18 : OnChainTalkingPepeSvg.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Base64.sol";

/// @title OnChainTalkingPepeSvg
/// @notice Provides a function for the svg of OnChainTalkingPepes
library OnChainTalkingPepeSvg {

    struct ImageData {
        string name;
        string speechBubbleText1;
        string speechBubbleText2;
        string speechBubbleTextColor;
        string pepeColor;
        string eyeColor;
        string eyeBlinkTime;
        string textBlinkTime;
        string mouthColor;
    }

    function buildImage(ImageData memory imageData) private pure returns (string memory) {

        string memory svg = string.concat('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 120 837 407"><style><![CDATA[.E{fill:none}.F{stroke:#000}.G{stroke-miterlimit:10}.H{stroke-width:2}.I{font-family:Yu Gothic UI}.J{font-variant:normal}.K{text-anchor:middle}]]></style><g class="F G H"><path fill="#',
        imageData.pepeColor,
        '" d="M497 262c3 29-14 37-28 43-5 11-28 27-38 28 13 4 41 46 36 67 9 3 17 17 1 27-30 20 17 30-50 46-91 78-193 49-321 29-62-8-88-66-87-137-3-11 34-132 76-132 31-101 103-133 200-83 48-32 129-29 137 42 14 4 34 15 44 24-3 11 10 11 18 16-4 15 6 14 12 30z"/><path d="M180 297c13 16 178 36 155-9" class="E"/><path fill="#fff" d="m344 258-7 29c-15 13-122 28-161-12 36-43 122-55 168-17zm152 13c-20 38-122 36-158 17 13-62 125-64 158-17z"/></g><g><animate attributeName="fill" dur="',
        imageData.eyeBlinkTime,
        '" repeatCount="indefinite" values="#000;#',
        imageData.eyeColor,
        ';#000"/><path id="A" d="M256 241c45-1 45 60 0 60s-45-61 0-60z"/><use href="#A" class="E F G H"/><path id="B" d="M444 268c0 39-63 39-63 0s63-39 63 0z"/><g class="F G H"><use href="#B" class="E"/><path fill="#fff" d="M237 258c7 0 7 11 0 11s-8-11 0-11zm33 1c8-1 8 13 0 13-9 0-9-13 0-13zm-24 20c3 0 3 5 0 5-4 0-4-5 0-5zm182-21c9 0 9 12 0 13-9 0-9-12 0-13zm-29-5c7-1 7 10 0 10s-7-11 0-10zm0 23c4 0 4 6 0 6s-4-6 0-6z"/></g></g><path d="M242 350c18-3 49-16 65-28m122 11c-26 11-55 14-77-1m41 30c1-7-12-20-17-20m-38-101c49-13 90-23 147 4" class="E F G H"/><path id="C" fill="#',
        imageData.mouthColor,
        '" d="M419 472c-59 1-305-11-268-91 37-25 52 17 93 23 104 31 158 19 225-4 21 7 3 28-13 39 19 20-34 34-37 33z"/><g class="F"><g class="G H"><use href="#C"/><path d="M172 399c55 57 250 42 284 39M81 273l9-37m86 38c-24 2-45-19-4-14 26-9 49-30 86-34 34-1 43 1 76 12 31-27 82-23 132-16m-130 11c-6-29-83-20-79-20-29 1-62 29-92 33m-10-49c44-34 128-32 160 17m-29-63c7 6 17 30 14 44 32-7 85-10 123-4" class="E"/></g><path stroke-miterlimit="11.3" stroke-width="9" d="M548 163c24 11 282-31 274 24l-13 101c-2 15-102 24-124 23l-85 1-62 63c29-107-2-47-14-104 5-26-26-111 24-108z" class="E"/></g><text xml:space="preserve" x="673" y="223" class="I J K" font-size="37" font-weight="700" fill="#000"><tspan x="670" y="'); 
        
        if (bytes(imageData.speechBubbleText2).length == 0) {
            svg = string.concat(svg, '246">', imageData.speechBubbleText1);
        }
        else {
            svg = string.concat(svg, '223">', imageData.speechBubbleText1, '</tspan><tspan x="670" y="270">', imageData.speechBubbleText2);
        }

        svg = string.concat(svg, '</tspan><animate attributeName="fill" values="#000;#', imageData.speechBubbleTextColor, ';#000;#000" dur="', imageData.textBlinkTime, '" repeatCount="indefinite"/></text></svg>');

        return
        Base64.encode(
            bytes(
                abi.encodePacked(svg)
            )
        );
    }

    function buildMetadata(ImageData memory imageData)
    internal
    pure
    returns (string memory)
    {
        return
        string(
            abi.encodePacked(
                "data:application/json;base64,",
                Base64.encode(
                    bytes.concat(
                        abi.encodePacked(
                            '{"name":"',
                            imageData.name,
                            '", "description":"On Chain Talking Pepes.", "image": "data:image/svg+xml;base64,',
                            buildImage(imageData),
                            '", "attributes": [{"trait_type": "Upper text","value":"',
                            imageData.speechBubbleText1,
                            '"},{"trait_type": "Lower text","value":"'
                        ),
                        abi.encodePacked(
                            imageData.speechBubbleText2,
                            '"},{"trait_type": "Head color","value":"#',
                            imageData.pepeColor,
                            '"},{"trait_type": "Text color","value":"#',
                            imageData.speechBubbleTextColor,
                            '"},{"trait_type": "Eye color", "value":"#',
                            imageData.eyeColor,
                            '"},{"trait_type": "Mouth color", "value":"#',
                            imageData.mouthColor,
                            '"}]}'
                        )
                    )
                )
            )
        );
    }


}

File 16 of 18 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 17 of 18 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 18 of 18 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREESUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LASTCALLMINTPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LASTCALLSUPPLYLIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEXTCHARACTERLIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_text","type":"string"},{"internalType":"string","name":"_text2","type":"string"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfMintedNfts","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"imageToTokenId","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"speechBubbleText1","type":"string"},{"internalType":"string","name":"speechBubbleText2","type":"string"},{"internalType":"string","name":"speechBubbleTextColor","type":"string"},{"internalType":"string","name":"pepeColor","type":"string"},{"internalType":"string","name":"eyeColor","type":"string"},{"internalType":"string","name":"eyeBlinkTime","type":"string"},{"internalType":"string","name":"textBlinkTime","type":"string"},{"internalType":"string","name":"mouthColor","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_userText1","type":"string"},{"internalType":"string","name":"_userText2","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mod","type":"uint256"},{"internalType":"uint256","name":"_seed","type":"uint256"},{"internalType":"uint256","name":"_salt","type":"uint256"}],"name":"randomNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_pepeColor","type":"string"},{"internalType":"string","name":"_eyeColor","type":"string"},{"internalType":"string","name":"_textColor","type":"string"},{"internalType":"string","name":"_mouthColor","type":"string"}],"name":"setCustomColor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6006805460ff60a01b1916600160a01b1781556101e08181526546464135353560d01b6102005260809081526102208281526506666303030360d41b6102405260a0526102608281526506666613530360d41b6102805260c0526102a08281526506666666630360d41b6102c05260e0526102e0828152650c2626266ca760d31b61030052610100526103208281526518181818333360d11b6103405261012052610360828152651a3118181c1960d11b61038052610140526103a08281526565653832656560d01b6103c052610160526103e0828152650c8d0d59584d60d21b61040052610180526104208281526532616361633560d01b610440526101a0526104a06040526104609182526531b198181b1b60d11b610480526101c0919091526200013190600990600b620004e5565b50604080516101a081018252600661016082018181526536383938346360d01b610180840152825282518084018452818152650cccc7272c2760d31b60208281019190915280840191909152835180850185528281526519191c21191960d11b8183015283850152835180850185528281526503030363430360d41b818301526060840152835180850185528281526533434233373160d01b818301526080840152835180850185528281526532304232414160d01b8183015260a0840152835180850185528281526503830383030360d41b8183015260c0840152835180850185528281526536423845323360d01b8183015260e084015283518085018552828152651a9a9b21192360d11b81830152610100840152835180850185528281526531989b9ab33360d11b8183015261012084015283518085019094529083526566656139356560d01b908301526101408101919091526200029890600a90600b620004e5565b50348015620002a657600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806040016040528060128152602001714f6e436861696e54616c6b696e675065706560701b8152506040518060400160405280600381526020016227a1a760e91b815250816000908162000316919062000661565b50600162000325828262000661565b505050620003426200033c6200048f60201b60201c565b62000493565b6daaeb6d7670e522a718067333cd4e3b1562000487578015620003d557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620003b657600080fd5b505af1158015620003cb573d6000803e3d6000fd5b5050505062000487565b6001600160a01b03821615620004265760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200039b565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200046d57600080fd5b505af115801562000482573d6000803e3d6000fd5b505050505b50506200072d565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000530579160200282015b828111156200053057825182906200051f908262000661565b509160200191906001019062000506565b506200053e92915062000542565b5090565b808211156200053e57600062000559828262000563565b5060010162000542565b5080546200057190620005d2565b6000825580601f1062000582575050565b601f016020900490600052602060002090810190620005a29190620005a5565b50565b5b808211156200053e5760008155600101620005a6565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005e757607f821691505b6020821081036200060857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065c57600081815260208120601f850160051c81016020861015620006375750805b601f850160051c820191505b81811015620006585782815560010162000643565b5050505b505050565b81516001600160401b038111156200067d576200067d620005bc565b62000695816200068e8454620005d2565b846200060e565b602080601f831160018114620006cd5760008415620006b45750858301515b600019600386901b1c1916600185901b17855562000658565b600085815260208120601f198616915b82811015620006fe57888601518255948401946001909101908401620006dd565b50858210156200071d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b614bb4806200073d6000396000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461053a578063e3111dc21461055a578063e985e9c514610570578063ef73dedd146105b9578063f2fde38b146105d457600080fd5b8063a22cb465146104d0578063a7f93ebd146104f0578063b88d4fde14610505578063c61dbc601461052557600080fd5b80638aa0fdad116100dc5780638aa0fdad146104755780638da5cb5b1461048857806395d89b41146104a65780639a9c6f70146104bb57600080fd5b806370a08231146103f5578063715018a614610415578063758b4e861461042a578063761219111461044057600080fd5b806334452f381161018557806342a92cdb1161015457806342a92cdb146103865780635c908e46146103a75780635dee9b17146103ba5780636352211e146103d557600080fd5b806334452f38146103275780633ccfd60b1461033c57806341f434341461034457806342842e0e1461036657600080fd5b8063095ea7b3116101c1578063095ea7b3146102a557806323b872dd146102c75780632656554c146102e7578063282946401461030757600080fd5b806301ffc9a7146101f357806304cb229e1461022857806306fdde031461024b578063081812fc1461026d575b600080fd5b3480156101ff57600080fd5b5061021361020e366004613319565b6105f4565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d601481565b60405190815260200161021f565b34801561025757600080fd5b50610260610646565b60405161021f9190613386565b34801561027957600080fd5b5061028d610288366004613399565b6106d8565b6040516001600160a01b03909116815260200161021f565b3480156102b157600080fd5b506102c56102c03660046133ce565b6106ff565b005b3480156102d357600080fd5b506102c56102e23660046133f8565b610718565b3480156102f357600080fd5b506102136103023660046134e0565b610743565b34801561031357600080fd5b5061023d610322366004613544565b61083e565b34801561033357600080fd5b506102c56108a3565b6102c56108ba565b34801561035057600080fd5b5061028d6daaeb6d7670e522a718067333cd4e81565b34801561037257600080fd5b506102c56103813660046133f8565b61091a565b34801561039257600080fd5b5060065461021390600160a01b900460ff1681565b6102c56103b5366004613570565b61093f565b3480156103c657600080fd5b5061023d661ff973cafa800081565b3480156103e157600080fd5b5061028d6103f0366004613399565b61103f565b34801561040157600080fd5b5061023d610410366004613627565b61109f565b34801561042157600080fd5b506102c5611125565b34801561043657600080fd5b5061023d6103e781565b34801561044c57600080fd5b5061046061045b366004613399565b611139565b60405161021f99989796959493929190613642565b6102c56104833660046134e0565b611647565b34801561049457600080fd5b506006546001600160a01b031661028d565b3480156104b257600080fd5b50610260611d4b565b3480156104c757600080fd5b50610260611d5a565b3480156104dc57600080fd5b506102c56104eb366004613715565b611d6d565b3480156104fc57600080fd5b5061023d611d81565b34801561051157600080fd5b506102c561052036600461374c565b611dd8565b34801561053157600080fd5b5061023d600a81565b34801561054657600080fd5b50610260610555366004613399565b611e05565b34801561056657600080fd5b5061023d6103b681565b34801561057c57600080fd5b5061021361058b3660046137c8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105c557600080fd5b5061023d66b1a2bc2ec5000081565b3480156105e057600080fd5b506102c56105ef366004613627565b6123cd565b60006001600160e01b031982166380ac58cd60e01b148061062557506001600160e01b03198216635b5e139f60e01b145b8061064057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610655906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610681906137fb565b80156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b5050505050905090565b60006106e382612443565b506000908152600460205260409020546001600160a01b031690565b81610709816124a2565b610713838361255b565b505050565b826001600160a01b038116331461073257610732336124a2565b61073d84848461266b565b50505050565b600060015b600854811161083457836040516020016107629190613851565b60408051601f19818403018152828252805160209182012060008581526007835292909220919261079792600101910161386d565b604051602081830303815290604052805190602001201480156108135750826040516020016107c69190613851565b60408051601f1981840301815282825280516020918201206000858152600783529290922091926107fb92600201910161386d565b60405160208183030381529060405280519060200120145b15610822576001915050610640565b8061082c816138f9565b915050610748565b5060009392505050565b604080514260208201526bffffffffffffffffffffffff193360601b1691810191909152605481018390526074810182905260009084906094016040516020818303038152906040528051906020012060001c61089b9190613928565b949350505050565b6108ab61269c565b6006805460ff60a01b19169055565b6108c261269c565b604051600090339047908381818185875af1925050503d8060008114610904576040519150601f19603f3d011682016040523d82523d6000602084013e610909565b606091505b505090508061091757600080fd5b50565b826001600160a01b038116331461093457610934336124a2565b61073d8484846126f6565b6008548511156109895760405162461bcd60e51b815260206004820152601060248201526f139bc81cdd58da081d1bdad95b881a5960821b60448201526064015b60405180910390fd5b6109928561103f565b6001600160a01b0316336001600160a01b0316146109eb5760405162461bcd60e51b81526020600482015260166024820152752cb7ba9030b932903737ba103a34329037bbb732b91760511b6044820152606401610980565b60008581526007602052604080822081516101208101909252805482908290610a13906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f906137fb565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b50505050508152602001600182018054610aa5906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad1906137fb565b8015610b1e5780601f10610af357610100808354040283529160200191610b1e565b820191906000526020600020905b815481529060010190602001808311610b0157829003601f168201915b50505050508152602001600282018054610b37906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610b63906137fb565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b50505050508152602001600382018054610bc9906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf5906137fb565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b50505050508152602001600482018054610c5b906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c87906137fb565b8015610cd45780601f10610ca957610100808354040283529160200191610cd4565b820191906000526020600020905b815481529060010190602001808311610cb757829003601f168201915b50505050508152602001600582018054610ced906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d19906137fb565b8015610d665780601f10610d3b57610100808354040283529160200191610d66565b820191906000526020600020905b815481529060010190602001808311610d4957829003601f168201915b50505050508152602001600682018054610d7f906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dab906137fb565b8015610df85780601f10610dcd57610100808354040283529160200191610df8565b820191906000526020600020905b815481529060010190602001808311610ddb57829003601f168201915b50505050508152602001600782018054610e11906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3d906137fb565b8015610e8a5780601f10610e5f57610100808354040283529160200191610e8a565b820191906000526020600020905b815481529060010190602001808311610e6d57829003601f168201915b50505050508152602001600882018054610ea3906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecf906137fb565b8015610f1c5780601f10610ef157610100808354040283529160200191610f1c565b820191906000526020600020905b815481529060010190602001808311610eff57829003601f168201915b50505050508152505090508451600603610f3857608081018590525b8351600603610f495760a081018490525b8251600603610f5a57606081018390525b8151600603610f6c5761010081018290525b600086815260076020526040902081518291908190610f8b9082613982565b5060208201516001820190610fa09082613982565b5060408201516002820190610fb59082613982565b5060608201516003820190610fca9082613982565b5060808201516004820190610fdf9082613982565b5060a08201516005820190610ff49082613982565b5060c082015160068201906110099082613982565b5060e0820151600782019061101e9082613982565b5061010082015160088201906110349082613982565b505050505050505050565b6000818152600260205260408120546001600160a01b0316806106405760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610980565b60006001600160a01b0382166111095760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610980565b506001600160a01b031660009081526003602052604090205490565b61112d61269c565b6111376000612711565b565b600760205260009081526040902080548190611154906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611180906137fb565b80156111cd5780601f106111a2576101008083540402835291602001916111cd565b820191906000526020600020905b8154815290600101906020018083116111b057829003601f168201915b5050505050908060010180546111e2906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461120e906137fb565b801561125b5780601f106112305761010080835404028352916020019161125b565b820191906000526020600020905b81548152906001019060200180831161123e57829003601f168201915b505050505090806002018054611270906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461129c906137fb565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b5050505050908060030180546112fe906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461132a906137fb565b80156113775780601f1061134c57610100808354040283529160200191611377565b820191906000526020600020905b81548152906001019060200180831161135a57829003601f168201915b50505050509080600401805461138c906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906137fb565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b50505050509080600501805461141a906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611446906137fb565b80156114935780601f1061146857610100808354040283529160200191611493565b820191906000526020600020905b81548152906001019060200180831161147657829003601f168201915b5050505050908060060180546114a8906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546114d4906137fb565b80156115215780601f106114f657610100808354040283529160200191611521565b820191906000526020600020905b81548152906001019060200180831161150457829003601f168201915b505050505090806007018054611536906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611562906137fb565b80156115af5780601f10611584576101008083540402835291602001916115af565b820191906000526020600020905b81548152906001019060200180831161159257829003601f168201915b5050505050908060080180546115c4906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546115f0906137fb565b801561163d5780601f106116125761010080835404028352916020019161163d565b820191906000526020600020905b81548152906001019060200180831161162057829003601f168201915b5050505050905089565b600654600160a01b900460ff166116b05760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f7420616363657074696e67206d696e742061604482015266373cb6b7b9329760c91b6064820152608401610980565b60006116bb60085490565b6116c6906001613a42565b90506103e78111156117085760405162461bcd60e51b815260206004820152600b60248201526a4d696e746564206f75742160a81b6044820152606401610980565b600a8351111561175a5760405162461bcd60e51b815260206004820152601b60248201527f5465787420696e70757420312065786365656473206c696d69742e00000000006044820152606401610980565b600a825111156117ac5760405162461bcd60e51b815260206004820152601b60248201527f5465787420696e70757420322065786365656473206c696d69742e00000000006044820152606401610980565b6117b583612763565b156118175760405162461bcd60e51b815260206004820152602c60248201527f5465787420696e707574203120737461727473206f7220656e6473207769746860448201526b20776869746573706163652160a01b6064820152608401610980565b61182082612763565b156118825760405162461bcd60e51b815260206004820152602c60248201527f5465787420696e707574203220737461727473206f7220656e6473207769746860448201526b20776869746573706163652160a01b6064820152608401610980565b61188c8383610743565b15156001036118f45760405162461bcd60e51b815260206004820152602e60248201527f53706565636820627562626c65207465787420636f6d62696e6174696f6e206160448201526d6c7265616479206578697374732160901b6064820152608401610980565b6006546001600160a01b031633146119545761190e611d81565b3410156119545760405162461bcd60e51b81526020600482015260146024820152732737ba1032b737bab3b41032ba341039b2b73a1760611b6044820152606401610980565b6000611962600b428461083e565b90506000611972600b448561083e565b9050600060405180610120016040528061198b866127e0565b60405160200161199b9190613a55565b6040516020818303038152906040528152602001878152602001868152602001600985815481106119ce576119ce613a91565b9060005260206000200180546119e3906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0f906137fb565b8015611a5c5780601f10611a3157610100808354040283529160200191611a5c565b820191906000526020600020905b815481529060010190602001808311611a3f57829003601f168201915b50505050508152602001600a8581548110611a7957611a79613a91565b906000526020600020018054611a8e906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611aba906137fb565b8015611b075780601f10611adc57610100808354040283529160200191611b07565b820191906000526020600020905b815481529060010190602001808311611aea57829003601f168201915b5050505050815260200160098481548110611b2457611b24613a91565b906000526020600020018054611b39906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611b65906137fb565b8015611bb25780601f10611b8757610100808354040283529160200191611bb2565b820191906000526020600020905b815481529060010190602001808311611b9557829003601f168201915b5050509183525050602001611bd0611bcb866002613a42565b6127e0565b611bd9856127e0565b604051602001611bea929190613aa7565b60408051601f198184030181529190528152602001611c0d611bcb856002613a42565b611c16866127e0565b604051602001611c27929190613aa7565b60405160208183030381529060405281526020016040518060400160405280600681526020016541353241324160d01b8152508152509050611c6d600880546001019055565b600084815260076020526040902081518291908190611c8c9082613982565b5060208201516001820190611ca19082613982565b5060408201516002820190611cb69082613982565b5060608201516003820190611ccb9082613982565b5060808201516004820190611ce09082613982565b5060a08201516005820190611cf59082613982565b5060c08201516006820190611d0a9082613982565b5060e08201516007820190611d1f9082613982565b506101008201516008820190611d359082613982565b50905050611d433385612873565b505050505050565b606060018054610655906137fb565b6060611d68611bcb60085490565b905090565b81611d77816124a2565b6107138383612a0d565b60006014611d8e60085490565b611d99906001613a42565b11611da45750600090565b6103b6611db060085490565b611dbb906001613a42565b10611dcc575066b1a2bc2ec5000090565b50661ff973cafa800090565b836001600160a01b0381163314611df257611df2336124a2565b611dfe85858585612a18565b5050505050565b6000818152600260205260409020546060906001600160a01b0316611e845760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610980565b6106406007600084815260200190815260200160002060405180610120016040529081600082018054611eb6906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee2906137fb565b8015611f2f5780601f10611f0457610100808354040283529160200191611f2f565b820191906000526020600020905b815481529060010190602001808311611f1257829003601f168201915b50505050508152602001600182018054611f48906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f74906137fb565b8015611fc15780601f10611f9657610100808354040283529160200191611fc1565b820191906000526020600020905b815481529060010190602001808311611fa457829003601f168201915b50505050508152602001600282018054611fda906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612006906137fb565b80156120535780601f1061202857610100808354040283529160200191612053565b820191906000526020600020905b81548152906001019060200180831161203657829003601f168201915b5050505050815260200160038201805461206c906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612098906137fb565b80156120e55780601f106120ba576101008083540402835291602001916120e5565b820191906000526020600020905b8154815290600101906020018083116120c857829003601f168201915b505050505081526020016004820180546120fe906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461212a906137fb565b80156121775780601f1061214c57610100808354040283529160200191612177565b820191906000526020600020905b81548152906001019060200180831161215a57829003601f168201915b50505050508152602001600582018054612190906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546121bc906137fb565b80156122095780601f106121de57610100808354040283529160200191612209565b820191906000526020600020905b8154815290600101906020018083116121ec57829003601f168201915b50505050508152602001600682018054612222906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461224e906137fb565b801561229b5780601f106122705761010080835404028352916020019161229b565b820191906000526020600020905b81548152906001019060200180831161227e57829003601f168201915b505050505081526020016007820180546122b4906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546122e0906137fb565b801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b50505050508152602001600882018054612346906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612372906137fb565b80156123bf5780601f10612394576101008083540402835291602001916123bf565b820191906000526020600020905b8154815290600101906020018083116123a257829003601f168201915b505050505081525050612a4a565b6123d561269c565b6001600160a01b03811661243a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610980565b61091781612711565b6000818152600260205260409020546001600160a01b03166109175760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610980565b6daaeb6d7670e522a718067333cd4e3b1561091757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561250f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125339190613ae3565b61091757604051633b79c77360e21b81526001600160a01b0382166004820152602401610980565b60006125668261103f565b9050806001600160a01b0316836001600160a01b0316036125d35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610980565b336001600160a01b03821614806125ef57506125ef813361058b565b6126615760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610980565b6107138383612b02565b6126753382612b70565b6126915760405162461bcd60e51b815260040161098090613b00565b610713838383612bee565b6006546001600160a01b031633146111375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610980565b61071383838360405180602001604052806000815250611dd8565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000815160000361277657506000919050565b8160008151811061278957612789613a91565b6020910101516001600160f81b031916600160fd1b1480610640575081600183516127b49190613b4d565b815181106127c4576127c4613a91565b6020910101516001600160f81b031916600160fd1b1492915050565b606060006127ed83612d5f565b600101905060008167ffffffffffffffff81111561280d5761280d613434565b6040519080825280601f01601f191660200182016040528015612837576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461284157509392505050565b6001600160a01b0382166128c95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610980565b6000818152600260205260409020546001600160a01b03161561292e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610980565b61293c600083836001612e37565b6000818152600260205260409020546001600160a01b0316156129a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610980565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45b5050565b612a09338383612ebf565b612a223383612b70565b612a3e5760405162461bcd60e51b815260040161098090613b00565b61073d84848484612f8d565b6060612adc8260000151612a5d84612fc0565b602080860151604051612a7294939201613b60565b60408051601f19818403018152828252908501516080860151606087015160a08801516101008901519495612aaa9590602001613cad565b60408051601f1981840301815290829052612ac89291602001613e00565b6040516020818303038152906040526130af565b604051602001612aec9190613e2f565b6040516020818303038152906040529050919050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612b378261103f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612b7c8361103f565b9050806001600160a01b0316846001600160a01b03161480612bc357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061089b5750836001600160a01b0316612bdc846106d8565b6001600160a01b031614949350505050565b826001600160a01b0316612c018261103f565b6001600160a01b031614612c275760405162461bcd60e51b815260040161098090613e74565b6001600160a01b038216612c895760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610980565b612c968383836001612e37565b826001600160a01b0316612ca98261103f565b6001600160a01b031614612ccf5760405162461bcd60e51b815260040161098090613e74565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612d9e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612dca576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612de857662386f26fc10000830492506010015b6305f5e1008310612e00576305f5e100830492506008015b6127108310612e1457612710830492506004015b60648310612e26576064830492506002015b600a83106106405760010192915050565b600181111561073d576001600160a01b03841615612e7d576001600160a01b03841660009081526003602052604081208054839290612e77908490613b4d565b90915550505b6001600160a01b0383161561073d576001600160a01b03831660009081526003602052604081208054839290612eb4908490613a42565b909155505050505050565b816001600160a01b0316836001600160a01b031603612f205760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610980565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612f98848484612bee565b612fa484848484613202565b61073d5760405162461bcd60e51b815260040161098090613eb9565b6060600082608001518360c001518460a00151856101000151604051602001612fec9493929190613f0b565b604051602081830303815290604052905082604001515160000361303757808360200151604051602001613021929190614915565b6040516020818303038152906040529050613066565b808360200151846040015160405160200161305493929190614955565b60405160208183030381529060405290505b8083606001518460e00151604051602001613083939291906149d4565b60405160208183030381529060405290506130a881604051602001612ac89190613851565b9392505050565b606081516000036130ce57505060408051602081019091526000815290565b6000604051806060016040528060408152602001614b3f60409139905060006003845160026130fd9190613a42565b6131079190614ab9565b613112906004614acd565b67ffffffffffffffff81111561312a5761312a613434565b6040519080825280601f01601f191660200182016040528015613154576020820181803683370190505b509050600182016020820185865187015b808210156131c0576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250613165565b50506003865106600181146131dc57600281146131ef576131f7565b603d6001830353603d60028303536131f7565b603d60018303535b509195945050505050565b60006001600160a01b0384163b156132f857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613246903390899088908890600401614ae4565b6020604051808303816000875af1925050508015613281575060408051601f3d908101601f1916820190925261327e91810190614b21565b60015b6132de573d8080156132af576040519150601f19603f3d011682016040523d82523d6000602084013e6132b4565b606091505b5080516000036132d65760405162461bcd60e51b815260040161098090613eb9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061089b565b506001949350505050565b6001600160e01b03198116811461091757600080fd5b60006020828403121561332b57600080fd5b81356130a881613303565b60005b83811015613351578181015183820152602001613339565b50506000910152565b60008151808452613372816020860160208601613336565b601f01601f19169290920160200192915050565b6020815260006130a8602083018461335a565b6000602082840312156133ab57600080fd5b5035919050565b80356001600160a01b03811681146133c957600080fd5b919050565b600080604083850312156133e157600080fd5b6133ea836133b2565b946020939093013593505050565b60008060006060848603121561340d57600080fd5b613416846133b2565b9250613424602085016133b2565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561346557613465613434565b604051601f8501601f19908116603f0116810190828211818310171561348d5761348d613434565b816040528093508581528686860111156134a657600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126134d157600080fd5b6130a88383356020850161344a565b600080604083850312156134f357600080fd5b823567ffffffffffffffff8082111561350b57600080fd5b613517868387016134c0565b9350602085013591508082111561352d57600080fd5b5061353a858286016134c0565b9150509250929050565b60008060006060848603121561355957600080fd5b505081359360208301359350604090920135919050565b600080600080600060a0868803121561358857600080fd5b85359450602086013567ffffffffffffffff808211156135a757600080fd5b6135b389838a016134c0565b955060408801359150808211156135c957600080fd5b6135d589838a016134c0565b945060608801359150808211156135eb57600080fd5b6135f789838a016134c0565b9350608088013591508082111561360d57600080fd5b5061361a888289016134c0565b9150509295509295909350565b60006020828403121561363957600080fd5b6130a8826133b2565b60006101208083526136568184018d61335a565b9050828103602084015261366a818c61335a565b9050828103604084015261367e818b61335a565b90508281036060840152613692818a61335a565b905082810360808401526136a6818961335a565b905082810360a08401526136ba818861335a565b905082810360c08401526136ce818761335a565b905082810360e08401526136e2818661335a565b90508281036101008401526136f7818561335a565b9c9b505050505050505050505050565b801515811461091757600080fd5b6000806040838503121561372857600080fd5b613731836133b2565b9150602083013561374181613707565b809150509250929050565b6000806000806080858703121561376257600080fd5b61376b856133b2565b9350613779602086016133b2565b925060408501359150606085013567ffffffffffffffff81111561379c57600080fd5b8501601f810187136137ad57600080fd5b6137bc8782356020840161344a565b91505092959194509250565b600080604083850312156137db57600080fd5b6137e4836133b2565b91506137f2602084016133b2565b90509250929050565b600181811c9082168061380f57607f821691505b60208210810361382f57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151613847818560208601613336565b9290920192915050565b60008251613863818460208701613336565b9190910192915050565b600080835461387b816137fb565b6001828116801561389357600181146138a8576138d7565b60ff19841687528215158302870194506138d7565b8760005260208060002060005b858110156138ce5781548a8201529084019082016138b5565b50505082870194505b50929695505050505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161390b5761390b6138e3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261393757613937613912565b500690565b601f82111561071357600081815260208120601f850160051c810160208610156139635750805b601f850160051c820191505b81811015611d435782815560010161396f565b815167ffffffffffffffff81111561399c5761399c613434565b6139b0816139aa84546137fb565b8461393c565b602080601f8311600181146139e557600084156139cd5750858301515b600019600386901b1c1916600185901b178555611d43565b600085815260208120601f198616915b82811015613a14578886015182559484019460019091019084016139f5565b5085821015613a325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115610640576106406138e3565b734f6e436861696e54616c6b696e6750657065202360601b815260008251613a84816014850160208701613336565b9190910160140192915050565b634e487b7160e01b600052603260045260246000fd5b60008351613ab9818460208801613336565b601760f91b9083019081528351613ad7816001840160208801613336565b01600101949350505050565b600060208284031215613af557600080fd5b81516130a881613707565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81810381811115610640576106406138e3565b683d913730b6b2911d1160b91b81528351600090613b85816009850160208901613336565b7f222c20226465736372697074696f6e223a224f6e20436861696e2054616c6b696009918401918201527f6e672050657065732e222c2022696d616765223a2022646174613a696d61676560298201526f0bdcdd99cade1b5b0ed8985cd94d8d0b60821b60498201528451613c01816059840160208901613336565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a605992909101918201527f202255707065722074657874222c2276616c7565223a2200000000000000000060798201528351613c65816090840160208801613336565b7f227d2c7b2274726169745f74797065223a20224c6f7765722074657874222c2260909290910191820152673b30b63ab2911d1160c11b60b082015260b80195945050505050565b60008651613cbf818460208b01613336565b80830190507f227d2c7b2274726169745f74797065223a20224865616420636f6c6f72222c2281526876616c7565223a222360b81b8060208301528751613d0d816029850160208c01613336565b8083019250507f227d2c7b2274726169745f74797065223a20225465787420636f6c6f72222c2260298301528060498301528651613d52816052850160208b01613336565b7f227d2c7b2274726169745f74797065223a202245796520636f6c6f72222c20226052939091019283015260728201528451613d9581607b840160208901613336565b7f227d2c7b2274726169745f74797065223a20224d6f75746820636f6c6f72222c607b92909101918201526a202276616c7565223a222360a81b609b820152613df4613de460a6830186613835565b63227d5d7d60e01b815260040190565b98975050505050505050565b60008351613e12818460208801613336565b835190830190613e26818360208801613336565b01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613e6781601d850160208701613336565b91909101601d0192915050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222076696577426f783d2230203132302038333720343037223e60208201527f3c7374796c653e3c215b43444154415b2e457b66696c6c3a6e6f6e657d2e467b60408201527f7374726f6b653a233030307d2e477b7374726f6b652d6d697465726c696d697460608201527f3a31307d2e487b7374726f6b652d77696474683a327d2e497b666f6e742d666160808201527f6d696c793a597520476f746869632055497d2e4a7b666f6e742d76617269616e60a08201527f743a6e6f726d616c7d2e4b7b746578742d616e63686f723a6d6964646c657d5d60c08201527f5d3e3c2f7374796c653e3c6720636c6173733d224620472048223e3c7061746860e0820152672066696c6c3d222360c01b610100820152600061010886516140618183860160208b01613336565b613df46145bf6145b96142ff6142f96142be6142b888888c01017f2220643d224d3439372032363263332032392d31342033372d32382034332d3581527f2031312d32382032372d3338203238203133203420343120343620333620363760208201527f2039203320313720313720312032372d33302032302031372033302d3530203460408201527f362d39312037382d3139332034392d3332312032392d36322d382d38382d363660608201527f2d38372d3133372d332d31312033342d3133322037362d3133322033312d313060808201527f31203130332d313333203230302d38332034382d3332203132392d323920313360a08201527f3720343220313420342033342031352034342032342d3320313120313020313160c08201527f2031382031362d3420313520362031342031322033307a222f3e3c706174682060e08201527f643d224d3138302032393763313320313620313738203336203135352d3922206101008201527f636c6173733d2245222f3e3c706174682066696c6c3d22236666662220643d226101208201527f6d333434203235382d37203239632d31352031332d3132322032382d3136312d6101408201527f31322033362d3433203132322d3535203136382d31377a6d313532203133632d6101608201527f32302033382d3132322033362d3135382031372031332d3632203132352d36346101808201527f203135382d31377a222f3e3c2f673e3c673e3c616e696d6174652061747472696101a082015274313aba32a730b6b29e913334b6361110323ab91e9160591b6101c08201526101d50190565b8d613835565b7f2220726570656174436f756e743d22696e646566696e697465222076616c7565815268733d22233030303b2360b81b602082015260290190565b8a613835565b7f3b23303030222f3e3c706174682069643d22412220643d224d3235362032343181527f6334352d312034352036302030203630732d34352d363120302d36307a222f3e60208201527f3c75736520687265663d2223412220636c6173733d2245204620472048222f3e60408201527f3c706174682069643d22422220643d224d3434342032363863302033392d363360608201527f2033392d363320307336332d333920363320307a222f3e3c6720636c6173733d60808201527f224620472048223e3c75736520687265663d2223422220636c6173733d22452260a08201527f2f3e3c706174682066696c6c3d22236666662220643d224d323337203235386360c08201527f37203020372031312030203131732d382d313120302d31317a6d33332031633860e08201527f2d31203820313320302031332d3920302d392d313320302d31337a6d2d3234206101008201527f32306333203020332035203020352d3420302d342d3520302d357a6d3138322d6101208201527f323163392030203920313220302031332d3920302d392d313220302d31337a6d6101408201527f2d32392d3563372d3120372031302030203130732d372d313120302d31307a6d6101608201527f30203233633420302034203620302036732d342d3620302d367a222f3e3c2f676101808201527f3e3c2f673e3c7061746820643d224d323432203335306331382d332034392d316101a08201527f362036352d32386d313232203131632d32362031312d35352031342d37372d316101c08201527f6d343120333063312d372d31322d32302d31372d32306d2d33382d31303163346101e08201527f392d31332039302d32332031343720342220636c6173733d22452046204720486102008201527f222f3e3c706174682069643d2243222066696c6c3d22230000000000000000006102208201526102370190565b87613835565b7f2220643d224d34313920343732632d353920312d3330352d31312d3236382d3981527f312033372d32352035322031372039332032332031303420333120313538203160208201527f39203232352d34203231203720332032382d31332033392031392032302d333460408201527f2033342d33372033337a222f3e3c6720636c6173733d2246223e3c6720636c6160608201527f73733d22472048223e3c75736520687265663d222343222f3e3c70617468206460808201527f3d224d3137322033393963353520353720323530203432203238342033394d3860a08201527f31203237336c392d33376d3836203338632d323420322d34352d31392d342d3160c08201527f342032362d392034392d33302038362d33342033342d3120343320312037362060e08201527f31322033312d32372038322d3233203133322d31366d2d313330203131632d366101008201527f2d32392d38332d32302d37392d32302d323920312d36322032392d39322033336101208201527f6d2d31302d34396334342d3334203132382d3332203136302031376d2d32392d6101408201527f3633633720362031372033302031342034342033322d372038352d31302031326101608201527f332d342220636c6173733d2245222f3e3c2f673e3c70617468207374726f6b656101808201527f2d6d697465726c696d69743d2231312e3322207374726f6b652d77696474683d6101a08201527f22392220643d224d35343820313633633234203131203238322d3331203237346101c08201527f2032346c2d313320313031632d322031352d3130322032342d3132342032336c6101e08201527f2d383520312d36322036336332392d3130372d322d34372d31342d31303420356102008201527f2d32362d32362d3131312032342d3130387a2220636c6173733d2245222f3e3c6102208201527f2f673e3c7465787420786d6c3a73706163653d2270726573657276652220783d6102408201527f223637332220793d223232332220636c6173733d2249204a204b2220666f6e746102608201527f2d73697a653d2233372220666f6e742d7765696768743d22373030222066696c6102808201527f6c3d2223303030223e3c747370616e20783d223637302220793d2200000000006102a08201526102bb0190565b60008351614927818460208801613336565b64191a1b111f60d91b9083019081528351614949816005840160208801613336565b01600501949350505050565b60008451614967818460208901613336565b64191919911f60d91b9083019081528451614989816005840160208901613336565b7f3c2f747370616e3e3c747370616e20783d223637302220793d22323730223e006005929091019182015283516149c7816024840160208801613336565b0160240195945050505050565b600084516149e6818460208901613336565b80830190507f3c2f747370616e3e3c616e696d617465206174747269627574654e616d653d2281527366696c6c222076616c7565733d22233030303b2360601b60208201528451614a3e816034840160208901613336565b701d919818181d919818181110323ab91e9160791b603492909101918201528351614a70816045840160208801613336565b7f2220726570656174436f756e743d22696e646566696e697465222f3e3c2f746560459290910191820152683c3a1f1e17b9bb339f60b91b6065820152606e0195945050505050565b600082614ac857614ac8613912565b500490565b8082028115828204841417610640576106406138e3565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614b179083018461335a565b9695505050505050565b600060208284031215614b3357600080fd5b81516130a88161330356fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220dfb63081d4b5c5a558168ad9be2b460a307153d0e81b9bd03eec72f36579049764736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806370a082311161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461053a578063e3111dc21461055a578063e985e9c514610570578063ef73dedd146105b9578063f2fde38b146105d457600080fd5b8063a22cb465146104d0578063a7f93ebd146104f0578063b88d4fde14610505578063c61dbc601461052557600080fd5b80638aa0fdad116100dc5780638aa0fdad146104755780638da5cb5b1461048857806395d89b41146104a65780639a9c6f70146104bb57600080fd5b806370a08231146103f5578063715018a614610415578063758b4e861461042a578063761219111461044057600080fd5b806334452f381161018557806342a92cdb1161015457806342a92cdb146103865780635c908e46146103a75780635dee9b17146103ba5780636352211e146103d557600080fd5b806334452f38146103275780633ccfd60b1461033c57806341f434341461034457806342842e0e1461036657600080fd5b8063095ea7b3116101c1578063095ea7b3146102a557806323b872dd146102c75780632656554c146102e7578063282946401461030757600080fd5b806301ffc9a7146101f357806304cb229e1461022857806306fdde031461024b578063081812fc1461026d575b600080fd5b3480156101ff57600080fd5b5061021361020e366004613319565b6105f4565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d601481565b60405190815260200161021f565b34801561025757600080fd5b50610260610646565b60405161021f9190613386565b34801561027957600080fd5b5061028d610288366004613399565b6106d8565b6040516001600160a01b03909116815260200161021f565b3480156102b157600080fd5b506102c56102c03660046133ce565b6106ff565b005b3480156102d357600080fd5b506102c56102e23660046133f8565b610718565b3480156102f357600080fd5b506102136103023660046134e0565b610743565b34801561031357600080fd5b5061023d610322366004613544565b61083e565b34801561033357600080fd5b506102c56108a3565b6102c56108ba565b34801561035057600080fd5b5061028d6daaeb6d7670e522a718067333cd4e81565b34801561037257600080fd5b506102c56103813660046133f8565b61091a565b34801561039257600080fd5b5060065461021390600160a01b900460ff1681565b6102c56103b5366004613570565b61093f565b3480156103c657600080fd5b5061023d661ff973cafa800081565b3480156103e157600080fd5b5061028d6103f0366004613399565b61103f565b34801561040157600080fd5b5061023d610410366004613627565b61109f565b34801561042157600080fd5b506102c5611125565b34801561043657600080fd5b5061023d6103e781565b34801561044c57600080fd5b5061046061045b366004613399565b611139565b60405161021f99989796959493929190613642565b6102c56104833660046134e0565b611647565b34801561049457600080fd5b506006546001600160a01b031661028d565b3480156104b257600080fd5b50610260611d4b565b3480156104c757600080fd5b50610260611d5a565b3480156104dc57600080fd5b506102c56104eb366004613715565b611d6d565b3480156104fc57600080fd5b5061023d611d81565b34801561051157600080fd5b506102c561052036600461374c565b611dd8565b34801561053157600080fd5b5061023d600a81565b34801561054657600080fd5b50610260610555366004613399565b611e05565b34801561056657600080fd5b5061023d6103b681565b34801561057c57600080fd5b5061021361058b3660046137c8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105c557600080fd5b5061023d66b1a2bc2ec5000081565b3480156105e057600080fd5b506102c56105ef366004613627565b6123cd565b60006001600160e01b031982166380ac58cd60e01b148061062557506001600160e01b03198216635b5e139f60e01b145b8061064057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610655906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610681906137fb565b80156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b5050505050905090565b60006106e382612443565b506000908152600460205260409020546001600160a01b031690565b81610709816124a2565b610713838361255b565b505050565b826001600160a01b038116331461073257610732336124a2565b61073d84848461266b565b50505050565b600060015b600854811161083457836040516020016107629190613851565b60408051601f19818403018152828252805160209182012060008581526007835292909220919261079792600101910161386d565b604051602081830303815290604052805190602001201480156108135750826040516020016107c69190613851565b60408051601f1981840301815282825280516020918201206000858152600783529290922091926107fb92600201910161386d565b60405160208183030381529060405280519060200120145b15610822576001915050610640565b8061082c816138f9565b915050610748565b5060009392505050565b604080514260208201526bffffffffffffffffffffffff193360601b1691810191909152605481018390526074810182905260009084906094016040516020818303038152906040528051906020012060001c61089b9190613928565b949350505050565b6108ab61269c565b6006805460ff60a01b19169055565b6108c261269c565b604051600090339047908381818185875af1925050503d8060008114610904576040519150601f19603f3d011682016040523d82523d6000602084013e610909565b606091505b505090508061091757600080fd5b50565b826001600160a01b038116331461093457610934336124a2565b61073d8484846126f6565b6008548511156109895760405162461bcd60e51b815260206004820152601060248201526f139bc81cdd58da081d1bdad95b881a5960821b60448201526064015b60405180910390fd5b6109928561103f565b6001600160a01b0316336001600160a01b0316146109eb5760405162461bcd60e51b81526020600482015260166024820152752cb7ba9030b932903737ba103a34329037bbb732b91760511b6044820152606401610980565b60008581526007602052604080822081516101208101909252805482908290610a13906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3f906137fb565b8015610a8c5780601f10610a6157610100808354040283529160200191610a8c565b820191906000526020600020905b815481529060010190602001808311610a6f57829003601f168201915b50505050508152602001600182018054610aa5906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad1906137fb565b8015610b1e5780601f10610af357610100808354040283529160200191610b1e565b820191906000526020600020905b815481529060010190602001808311610b0157829003601f168201915b50505050508152602001600282018054610b37906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610b63906137fb565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b50505050508152602001600382018054610bc9906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf5906137fb565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b50505050508152602001600482018054610c5b906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610c87906137fb565b8015610cd45780601f10610ca957610100808354040283529160200191610cd4565b820191906000526020600020905b815481529060010190602001808311610cb757829003601f168201915b50505050508152602001600582018054610ced906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d19906137fb565b8015610d665780601f10610d3b57610100808354040283529160200191610d66565b820191906000526020600020905b815481529060010190602001808311610d4957829003601f168201915b50505050508152602001600682018054610d7f906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dab906137fb565b8015610df85780601f10610dcd57610100808354040283529160200191610df8565b820191906000526020600020905b815481529060010190602001808311610ddb57829003601f168201915b50505050508152602001600782018054610e11906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3d906137fb565b8015610e8a5780601f10610e5f57610100808354040283529160200191610e8a565b820191906000526020600020905b815481529060010190602001808311610e6d57829003601f168201915b50505050508152602001600882018054610ea3906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecf906137fb565b8015610f1c5780601f10610ef157610100808354040283529160200191610f1c565b820191906000526020600020905b815481529060010190602001808311610eff57829003601f168201915b50505050508152505090508451600603610f3857608081018590525b8351600603610f495760a081018490525b8251600603610f5a57606081018390525b8151600603610f6c5761010081018290525b600086815260076020526040902081518291908190610f8b9082613982565b5060208201516001820190610fa09082613982565b5060408201516002820190610fb59082613982565b5060608201516003820190610fca9082613982565b5060808201516004820190610fdf9082613982565b5060a08201516005820190610ff49082613982565b5060c082015160068201906110099082613982565b5060e0820151600782019061101e9082613982565b5061010082015160088201906110349082613982565b505050505050505050565b6000818152600260205260408120546001600160a01b0316806106405760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610980565b60006001600160a01b0382166111095760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610980565b506001600160a01b031660009081526003602052604090205490565b61112d61269c565b6111376000612711565b565b600760205260009081526040902080548190611154906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611180906137fb565b80156111cd5780601f106111a2576101008083540402835291602001916111cd565b820191906000526020600020905b8154815290600101906020018083116111b057829003601f168201915b5050505050908060010180546111e2906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461120e906137fb565b801561125b5780601f106112305761010080835404028352916020019161125b565b820191906000526020600020905b81548152906001019060200180831161123e57829003601f168201915b505050505090806002018054611270906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461129c906137fb565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b5050505050908060030180546112fe906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461132a906137fb565b80156113775780601f1061134c57610100808354040283529160200191611377565b820191906000526020600020905b81548152906001019060200180831161135a57829003601f168201915b50505050509080600401805461138c906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906137fb565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b50505050509080600501805461141a906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611446906137fb565b80156114935780601f1061146857610100808354040283529160200191611493565b820191906000526020600020905b81548152906001019060200180831161147657829003601f168201915b5050505050908060060180546114a8906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546114d4906137fb565b80156115215780601f106114f657610100808354040283529160200191611521565b820191906000526020600020905b81548152906001019060200180831161150457829003601f168201915b505050505090806007018054611536906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611562906137fb565b80156115af5780601f10611584576101008083540402835291602001916115af565b820191906000526020600020905b81548152906001019060200180831161159257829003601f168201915b5050505050908060080180546115c4906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546115f0906137fb565b801561163d5780601f106116125761010080835404028352916020019161163d565b820191906000526020600020905b81548152906001019060200180831161162057829003601f168201915b5050505050905089565b600654600160a01b900460ff166116b05760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f7420616363657074696e67206d696e742061604482015266373cb6b7b9329760c91b6064820152608401610980565b60006116bb60085490565b6116c6906001613a42565b90506103e78111156117085760405162461bcd60e51b815260206004820152600b60248201526a4d696e746564206f75742160a81b6044820152606401610980565b600a8351111561175a5760405162461bcd60e51b815260206004820152601b60248201527f5465787420696e70757420312065786365656473206c696d69742e00000000006044820152606401610980565b600a825111156117ac5760405162461bcd60e51b815260206004820152601b60248201527f5465787420696e70757420322065786365656473206c696d69742e00000000006044820152606401610980565b6117b583612763565b156118175760405162461bcd60e51b815260206004820152602c60248201527f5465787420696e707574203120737461727473206f7220656e6473207769746860448201526b20776869746573706163652160a01b6064820152608401610980565b61182082612763565b156118825760405162461bcd60e51b815260206004820152602c60248201527f5465787420696e707574203220737461727473206f7220656e6473207769746860448201526b20776869746573706163652160a01b6064820152608401610980565b61188c8383610743565b15156001036118f45760405162461bcd60e51b815260206004820152602e60248201527f53706565636820627562626c65207465787420636f6d62696e6174696f6e206160448201526d6c7265616479206578697374732160901b6064820152608401610980565b6006546001600160a01b031633146119545761190e611d81565b3410156119545760405162461bcd60e51b81526020600482015260146024820152732737ba1032b737bab3b41032ba341039b2b73a1760611b6044820152606401610980565b6000611962600b428461083e565b90506000611972600b448561083e565b9050600060405180610120016040528061198b866127e0565b60405160200161199b9190613a55565b6040516020818303038152906040528152602001878152602001868152602001600985815481106119ce576119ce613a91565b9060005260206000200180546119e3906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0f906137fb565b8015611a5c5780601f10611a3157610100808354040283529160200191611a5c565b820191906000526020600020905b815481529060010190602001808311611a3f57829003601f168201915b50505050508152602001600a8581548110611a7957611a79613a91565b906000526020600020018054611a8e906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611aba906137fb565b8015611b075780601f10611adc57610100808354040283529160200191611b07565b820191906000526020600020905b815481529060010190602001808311611aea57829003601f168201915b5050505050815260200160098481548110611b2457611b24613a91565b906000526020600020018054611b39906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611b65906137fb565b8015611bb25780601f10611b8757610100808354040283529160200191611bb2565b820191906000526020600020905b815481529060010190602001808311611b9557829003601f168201915b5050509183525050602001611bd0611bcb866002613a42565b6127e0565b611bd9856127e0565b604051602001611bea929190613aa7565b60408051601f198184030181529190528152602001611c0d611bcb856002613a42565b611c16866127e0565b604051602001611c27929190613aa7565b60405160208183030381529060405281526020016040518060400160405280600681526020016541353241324160d01b8152508152509050611c6d600880546001019055565b600084815260076020526040902081518291908190611c8c9082613982565b5060208201516001820190611ca19082613982565b5060408201516002820190611cb69082613982565b5060608201516003820190611ccb9082613982565b5060808201516004820190611ce09082613982565b5060a08201516005820190611cf59082613982565b5060c08201516006820190611d0a9082613982565b5060e08201516007820190611d1f9082613982565b506101008201516008820190611d359082613982565b50905050611d433385612873565b505050505050565b606060018054610655906137fb565b6060611d68611bcb60085490565b905090565b81611d77816124a2565b6107138383612a0d565b60006014611d8e60085490565b611d99906001613a42565b11611da45750600090565b6103b6611db060085490565b611dbb906001613a42565b10611dcc575066b1a2bc2ec5000090565b50661ff973cafa800090565b836001600160a01b0381163314611df257611df2336124a2565b611dfe85858585612a18565b5050505050565b6000818152600260205260409020546060906001600160a01b0316611e845760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610980565b6106406007600084815260200190815260200160002060405180610120016040529081600082018054611eb6906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee2906137fb565b8015611f2f5780601f10611f0457610100808354040283529160200191611f2f565b820191906000526020600020905b815481529060010190602001808311611f1257829003601f168201915b50505050508152602001600182018054611f48906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f74906137fb565b8015611fc15780601f10611f9657610100808354040283529160200191611fc1565b820191906000526020600020905b815481529060010190602001808311611fa457829003601f168201915b50505050508152602001600282018054611fda906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612006906137fb565b80156120535780601f1061202857610100808354040283529160200191612053565b820191906000526020600020905b81548152906001019060200180831161203657829003601f168201915b5050505050815260200160038201805461206c906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612098906137fb565b80156120e55780601f106120ba576101008083540402835291602001916120e5565b820191906000526020600020905b8154815290600101906020018083116120c857829003601f168201915b505050505081526020016004820180546120fe906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461212a906137fb565b80156121775780601f1061214c57610100808354040283529160200191612177565b820191906000526020600020905b81548152906001019060200180831161215a57829003601f168201915b50505050508152602001600582018054612190906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546121bc906137fb565b80156122095780601f106121de57610100808354040283529160200191612209565b820191906000526020600020905b8154815290600101906020018083116121ec57829003601f168201915b50505050508152602001600682018054612222906137fb565b80601f016020809104026020016040519081016040528092919081815260200182805461224e906137fb565b801561229b5780601f106122705761010080835404028352916020019161229b565b820191906000526020600020905b81548152906001019060200180831161227e57829003601f168201915b505050505081526020016007820180546122b4906137fb565b80601f01602080910402602001604051908101604052809291908181526020018280546122e0906137fb565b801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b50505050508152602001600882018054612346906137fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612372906137fb565b80156123bf5780601f10612394576101008083540402835291602001916123bf565b820191906000526020600020905b8154815290600101906020018083116123a257829003601f168201915b505050505081525050612a4a565b6123d561269c565b6001600160a01b03811661243a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610980565b61091781612711565b6000818152600260205260409020546001600160a01b03166109175760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610980565b6daaeb6d7670e522a718067333cd4e3b1561091757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561250f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125339190613ae3565b61091757604051633b79c77360e21b81526001600160a01b0382166004820152602401610980565b60006125668261103f565b9050806001600160a01b0316836001600160a01b0316036125d35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610980565b336001600160a01b03821614806125ef57506125ef813361058b565b6126615760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610980565b6107138383612b02565b6126753382612b70565b6126915760405162461bcd60e51b815260040161098090613b00565b610713838383612bee565b6006546001600160a01b031633146111375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610980565b61071383838360405180602001604052806000815250611dd8565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000815160000361277657506000919050565b8160008151811061278957612789613a91565b6020910101516001600160f81b031916600160fd1b1480610640575081600183516127b49190613b4d565b815181106127c4576127c4613a91565b6020910101516001600160f81b031916600160fd1b1492915050565b606060006127ed83612d5f565b600101905060008167ffffffffffffffff81111561280d5761280d613434565b6040519080825280601f01601f191660200182016040528015612837576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461284157509392505050565b6001600160a01b0382166128c95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610980565b6000818152600260205260409020546001600160a01b03161561292e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610980565b61293c600083836001612e37565b6000818152600260205260409020546001600160a01b0316156129a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610980565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45b5050565b612a09338383612ebf565b612a223383612b70565b612a3e5760405162461bcd60e51b815260040161098090613b00565b61073d84848484612f8d565b6060612adc8260000151612a5d84612fc0565b602080860151604051612a7294939201613b60565b60408051601f19818403018152828252908501516080860151606087015160a08801516101008901519495612aaa9590602001613cad565b60408051601f1981840301815290829052612ac89291602001613e00565b6040516020818303038152906040526130af565b604051602001612aec9190613e2f565b6040516020818303038152906040529050919050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612b378261103f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612b7c8361103f565b9050806001600160a01b0316846001600160a01b03161480612bc357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061089b5750836001600160a01b0316612bdc846106d8565b6001600160a01b031614949350505050565b826001600160a01b0316612c018261103f565b6001600160a01b031614612c275760405162461bcd60e51b815260040161098090613e74565b6001600160a01b038216612c895760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610980565b612c968383836001612e37565b826001600160a01b0316612ca98261103f565b6001600160a01b031614612ccf5760405162461bcd60e51b815260040161098090613e74565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612d9e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612dca576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612de857662386f26fc10000830492506010015b6305f5e1008310612e00576305f5e100830492506008015b6127108310612e1457612710830492506004015b60648310612e26576064830492506002015b600a83106106405760010192915050565b600181111561073d576001600160a01b03841615612e7d576001600160a01b03841660009081526003602052604081208054839290612e77908490613b4d565b90915550505b6001600160a01b0383161561073d576001600160a01b03831660009081526003602052604081208054839290612eb4908490613a42565b909155505050505050565b816001600160a01b0316836001600160a01b031603612f205760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610980565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612f98848484612bee565b612fa484848484613202565b61073d5760405162461bcd60e51b815260040161098090613eb9565b6060600082608001518360c001518460a00151856101000151604051602001612fec9493929190613f0b565b604051602081830303815290604052905082604001515160000361303757808360200151604051602001613021929190614915565b6040516020818303038152906040529050613066565b808360200151846040015160405160200161305493929190614955565b60405160208183030381529060405290505b8083606001518460e00151604051602001613083939291906149d4565b60405160208183030381529060405290506130a881604051602001612ac89190613851565b9392505050565b606081516000036130ce57505060408051602081019091526000815290565b6000604051806060016040528060408152602001614b3f60409139905060006003845160026130fd9190613a42565b6131079190614ab9565b613112906004614acd565b67ffffffffffffffff81111561312a5761312a613434565b6040519080825280601f01601f191660200182016040528015613154576020820181803683370190505b509050600182016020820185865187015b808210156131c0576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250613165565b50506003865106600181146131dc57600281146131ef576131f7565b603d6001830353603d60028303536131f7565b603d60018303535b509195945050505050565b60006001600160a01b0384163b156132f857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613246903390899088908890600401614ae4565b6020604051808303816000875af1925050508015613281575060408051601f3d908101601f1916820190925261327e91810190614b21565b60015b6132de573d8080156132af576040519150601f19603f3d011682016040523d82523d6000602084013e6132b4565b606091505b5080516000036132d65760405162461bcd60e51b815260040161098090613eb9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061089b565b506001949350505050565b6001600160e01b03198116811461091757600080fd5b60006020828403121561332b57600080fd5b81356130a881613303565b60005b83811015613351578181015183820152602001613339565b50506000910152565b60008151808452613372816020860160208601613336565b601f01601f19169290920160200192915050565b6020815260006130a8602083018461335a565b6000602082840312156133ab57600080fd5b5035919050565b80356001600160a01b03811681146133c957600080fd5b919050565b600080604083850312156133e157600080fd5b6133ea836133b2565b946020939093013593505050565b60008060006060848603121561340d57600080fd5b613416846133b2565b9250613424602085016133b2565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561346557613465613434565b604051601f8501601f19908116603f0116810190828211818310171561348d5761348d613434565b816040528093508581528686860111156134a657600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126134d157600080fd5b6130a88383356020850161344a565b600080604083850312156134f357600080fd5b823567ffffffffffffffff8082111561350b57600080fd5b613517868387016134c0565b9350602085013591508082111561352d57600080fd5b5061353a858286016134c0565b9150509250929050565b60008060006060848603121561355957600080fd5b505081359360208301359350604090920135919050565b600080600080600060a0868803121561358857600080fd5b85359450602086013567ffffffffffffffff808211156135a757600080fd5b6135b389838a016134c0565b955060408801359150808211156135c957600080fd5b6135d589838a016134c0565b945060608801359150808211156135eb57600080fd5b6135f789838a016134c0565b9350608088013591508082111561360d57600080fd5b5061361a888289016134c0565b9150509295509295909350565b60006020828403121561363957600080fd5b6130a8826133b2565b60006101208083526136568184018d61335a565b9050828103602084015261366a818c61335a565b9050828103604084015261367e818b61335a565b90508281036060840152613692818a61335a565b905082810360808401526136a6818961335a565b905082810360a08401526136ba818861335a565b905082810360c08401526136ce818761335a565b905082810360e08401526136e2818661335a565b90508281036101008401526136f7818561335a565b9c9b505050505050505050505050565b801515811461091757600080fd5b6000806040838503121561372857600080fd5b613731836133b2565b9150602083013561374181613707565b809150509250929050565b6000806000806080858703121561376257600080fd5b61376b856133b2565b9350613779602086016133b2565b925060408501359150606085013567ffffffffffffffff81111561379c57600080fd5b8501601f810187136137ad57600080fd5b6137bc8782356020840161344a565b91505092959194509250565b600080604083850312156137db57600080fd5b6137e4836133b2565b91506137f2602084016133b2565b90509250929050565b600181811c9082168061380f57607f821691505b60208210810361382f57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151613847818560208601613336565b9290920192915050565b60008251613863818460208701613336565b9190910192915050565b600080835461387b816137fb565b6001828116801561389357600181146138a8576138d7565b60ff19841687528215158302870194506138d7565b8760005260208060002060005b858110156138ce5781548a8201529084019082016138b5565b50505082870194505b50929695505050505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161390b5761390b6138e3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261393757613937613912565b500690565b601f82111561071357600081815260208120601f850160051c810160208610156139635750805b601f850160051c820191505b81811015611d435782815560010161396f565b815167ffffffffffffffff81111561399c5761399c613434565b6139b0816139aa84546137fb565b8461393c565b602080601f8311600181146139e557600084156139cd5750858301515b600019600386901b1c1916600185901b178555611d43565b600085815260208120601f198616915b82811015613a14578886015182559484019460019091019084016139f5565b5085821015613a325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115610640576106406138e3565b734f6e436861696e54616c6b696e6750657065202360601b815260008251613a84816014850160208701613336565b9190910160140192915050565b634e487b7160e01b600052603260045260246000fd5b60008351613ab9818460208801613336565b601760f91b9083019081528351613ad7816001840160208801613336565b01600101949350505050565b600060208284031215613af557600080fd5b81516130a881613707565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81810381811115610640576106406138e3565b683d913730b6b2911d1160b91b81528351600090613b85816009850160208901613336565b7f222c20226465736372697074696f6e223a224f6e20436861696e2054616c6b696009918401918201527f6e672050657065732e222c2022696d616765223a2022646174613a696d61676560298201526f0bdcdd99cade1b5b0ed8985cd94d8d0b60821b60498201528451613c01816059840160208901613336565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a605992909101918201527f202255707065722074657874222c2276616c7565223a2200000000000000000060798201528351613c65816090840160208801613336565b7f227d2c7b2274726169745f74797065223a20224c6f7765722074657874222c2260909290910191820152673b30b63ab2911d1160c11b60b082015260b80195945050505050565b60008651613cbf818460208b01613336565b80830190507f227d2c7b2274726169745f74797065223a20224865616420636f6c6f72222c2281526876616c7565223a222360b81b8060208301528751613d0d816029850160208c01613336565b8083019250507f227d2c7b2274726169745f74797065223a20225465787420636f6c6f72222c2260298301528060498301528651613d52816052850160208b01613336565b7f227d2c7b2274726169745f74797065223a202245796520636f6c6f72222c20226052939091019283015260728201528451613d9581607b840160208901613336565b7f227d2c7b2274726169745f74797065223a20224d6f75746820636f6c6f72222c607b92909101918201526a202276616c7565223a222360a81b609b820152613df4613de460a6830186613835565b63227d5d7d60e01b815260040190565b98975050505050505050565b60008351613e12818460208801613336565b835190830190613e26818360208801613336565b01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613e6781601d850160208701613336565b91909101601d0192915050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222076696577426f783d2230203132302038333720343037223e60208201527f3c7374796c653e3c215b43444154415b2e457b66696c6c3a6e6f6e657d2e467b60408201527f7374726f6b653a233030307d2e477b7374726f6b652d6d697465726c696d697460608201527f3a31307d2e487b7374726f6b652d77696474683a327d2e497b666f6e742d666160808201527f6d696c793a597520476f746869632055497d2e4a7b666f6e742d76617269616e60a08201527f743a6e6f726d616c7d2e4b7b746578742d616e63686f723a6d6964646c657d5d60c08201527f5d3e3c2f7374796c653e3c6720636c6173733d224620472048223e3c7061746860e0820152672066696c6c3d222360c01b610100820152600061010886516140618183860160208b01613336565b613df46145bf6145b96142ff6142f96142be6142b888888c01017f2220643d224d3439372032363263332032392d31342033372d32382034332d3581527f2031312d32382032372d3338203238203133203420343120343620333620363760208201527f2039203320313720313720312032372d33302032302031372033302d3530203460408201527f362d39312037382d3139332034392d3332312032392d36322d382d38382d363660608201527f2d38372d3133372d332d31312033342d3133322037362d3133322033312d313060808201527f31203130332d313333203230302d38332034382d3332203132392d323920313360a08201527f3720343220313420342033342031352034342032342d3320313120313020313160c08201527f2031382031362d3420313520362031342031322033307a222f3e3c706174682060e08201527f643d224d3138302032393763313320313620313738203336203135352d3922206101008201527f636c6173733d2245222f3e3c706174682066696c6c3d22236666662220643d226101208201527f6d333434203235382d37203239632d31352031332d3132322032382d3136312d6101408201527f31322033362d3433203132322d3535203136382d31377a6d313532203133632d6101608201527f32302033382d3132322033362d3135382031372031332d3632203132352d36346101808201527f203135382d31377a222f3e3c2f673e3c673e3c616e696d6174652061747472696101a082015274313aba32a730b6b29e913334b6361110323ab91e9160591b6101c08201526101d50190565b8d613835565b7f2220726570656174436f756e743d22696e646566696e697465222076616c7565815268733d22233030303b2360b81b602082015260290190565b8a613835565b7f3b23303030222f3e3c706174682069643d22412220643d224d3235362032343181527f6334352d312034352036302030203630732d34352d363120302d36307a222f3e60208201527f3c75736520687265663d2223412220636c6173733d2245204620472048222f3e60408201527f3c706174682069643d22422220643d224d3434342032363863302033392d363360608201527f2033392d363320307336332d333920363320307a222f3e3c6720636c6173733d60808201527f224620472048223e3c75736520687265663d2223422220636c6173733d22452260a08201527f2f3e3c706174682066696c6c3d22236666662220643d224d323337203235386360c08201527f37203020372031312030203131732d382d313120302d31317a6d33332031633860e08201527f2d31203820313320302031332d3920302d392d313320302d31337a6d2d3234206101008201527f32306333203020332035203020352d3420302d342d3520302d357a6d3138322d6101208201527f323163392030203920313220302031332d3920302d392d313220302d31337a6d6101408201527f2d32392d3563372d3120372031302030203130732d372d313120302d31307a6d6101608201527f30203233633420302034203620302036732d342d3620302d367a222f3e3c2f676101808201527f3e3c2f673e3c7061746820643d224d323432203335306331382d332034392d316101a08201527f362036352d32386d313232203131632d32362031312d35352031342d37372d316101c08201527f6d343120333063312d372d31322d32302d31372d32306d2d33382d31303163346101e08201527f392d31332039302d32332031343720342220636c6173733d22452046204720486102008201527f222f3e3c706174682069643d2243222066696c6c3d22230000000000000000006102208201526102370190565b87613835565b7f2220643d224d34313920343732632d353920312d3330352d31312d3236382d3981527f312033372d32352035322031372039332032332031303420333120313538203160208201527f39203232352d34203231203720332032382d31332033392031392032302d333460408201527f2033342d33372033337a222f3e3c6720636c6173733d2246223e3c6720636c6160608201527f73733d22472048223e3c75736520687265663d222343222f3e3c70617468206460808201527f3d224d3137322033393963353520353720323530203432203238342033394d3860a08201527f31203237336c392d33376d3836203338632d323420322d34352d31392d342d3160c08201527f342032362d392034392d33302038362d33342033342d3120343320312037362060e08201527f31322033312d32372038322d3233203133322d31366d2d313330203131632d366101008201527f2d32392d38332d32302d37392d32302d323920312d36322032392d39322033336101208201527f6d2d31302d34396334342d3334203132382d3332203136302031376d2d32392d6101408201527f3633633720362031372033302031342034342033322d372038352d31302031326101608201527f332d342220636c6173733d2245222f3e3c2f673e3c70617468207374726f6b656101808201527f2d6d697465726c696d69743d2231312e3322207374726f6b652d77696474683d6101a08201527f22392220643d224d35343820313633633234203131203238322d3331203237346101c08201527f2032346c2d313320313031632d322031352d3130322032342d3132342032336c6101e08201527f2d383520312d36322036336332392d3130372d322d34372d31342d31303420356102008201527f2d32362d32362d3131312032342d3130387a2220636c6173733d2245222f3e3c6102208201527f2f673e3c7465787420786d6c3a73706163653d2270726573657276652220783d6102408201527f223637332220793d223232332220636c6173733d2249204a204b2220666f6e746102608201527f2d73697a653d2233372220666f6e742d7765696768743d22373030222066696c6102808201527f6c3d2223303030223e3c747370616e20783d223637302220793d2200000000006102a08201526102bb0190565b60008351614927818460208801613336565b64191a1b111f60d91b9083019081528351614949816005840160208801613336565b01600501949350505050565b60008451614967818460208901613336565b64191919911f60d91b9083019081528451614989816005840160208901613336565b7f3c2f747370616e3e3c747370616e20783d223637302220793d22323730223e006005929091019182015283516149c7816024840160208801613336565b0160240195945050505050565b600084516149e6818460208901613336565b80830190507f3c2f747370616e3e3c616e696d617465206174747269627574654e616d653d2281527366696c6c222076616c7565733d22233030303b2360601b60208201528451614a3e816034840160208901613336565b701d919818181d919818181110323ab91e9160791b603492909101918201528351614a70816045840160208801613336565b7f2220726570656174436f756e743d22696e646566696e697465222f3e3c2f746560459290910191820152683c3a1f1e17b9bb339f60b91b6065820152606e0195945050505050565b600082614ac857614ac8613912565b500490565b8082028115828204841417610640576106406138e3565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614b179083018461335a565b9695505050505050565b600060208284031215614b3357600080fd5b81516130a88161330356fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220dfb63081d4b5c5a558168ad9be2b460a307153d0e81b9bd03eec72f36579049764736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

On Chain Talking Pepes living entirely on chain. What does your Pepe say?https://on-chain-talking-pepe.xyz/

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.