ETH Price: $3,378.53 (+3.69%)

Doge Pound Puppies (PUPPY)
 

Overview

TokenID

2910

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

#NFT Project. 10k unique #doges.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Puppy

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Puppy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import './ERC721Burnable.sol';

/**
 * @title Puppy contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */

interface IDogePound {
    function ownerOf(uint256 tokenId) external view  returns (address);
}

contract Puppy is ERC721Burnable {
    using SafeMath for uint256;

    IDogePound public dogePound = IDogePound(0xF4ee95274741437636e748DdAc70818B4ED7d043);

    uint256 public maxToMint;

    string public PROVENANCE_HASH = "";

    uint256 breedIndex = 10000;

    bool public mintIsActive;
    bool public breedByDoggoIsActive;

    address public breedFeeWallet;
    uint256 public breedFeePct;

    mapping (bytes32 => bool) public digestUsed;

    string public constant sname = "Puppy Contract";

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the breed struct used by the contract
    bytes32 public constant BREED_TYPEHASH = keccak256("Breed(address doggoOwner,uint256 doggoId,address dogeOwner,uint256 dogeId,uint256 breedPrice,uint256 deadline)");

    event Mint (uint256 indexed puppyId);
    event ReserveByOwner (uint256 indexed puppyId);

    event BreedByDoggo (uint256 indexed puppyId,
                address indexed doggoOwner,
                uint256 doggoId,
                address indexed dogeOwner,
                uint256 dogeId,
                uint256 breedPrice,
                uint256 breedTime);

    event BreedByOwner (uint256 indexed puppyId,
                address indexed doggoOwner,
                uint256 doggoId,
                address indexed dogeOwner,
                uint256 dogeId,
                uint256 breedPrice,
                uint256 breedTime);

    event BreedModeUpdated (bool breedByDoggoIsActive);

    event BreedFeePctUpdated (uint256 breedFeePct);

    constructor() ERC721("Doge Pound Puppies", "PUPPY") {
        maxToMint = 20;
        mintIsActive = false;
        breedByDoggoIsActive = false;
        breedFeeWallet = 0xeE41417780eB5AD0533105A13C85Eae1991AA10E;
        breedFeePct = 20;
    }

    /**
     * Get the array of token for owner.
     */
    function tokensOfOwner(address _owner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            for (uint256 index; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }

    /**
     * Check if certain token id is exists.
     */
    function exists(uint256 _tokenId) public view returns (bool) {
        return _exists(_tokenId);
    }

    /**
     * Mint Puppy by Owner
     */
    function breedPuppyByOwner (address doggoOwner,
                                uint256 doggoId,
                                address dogeOwner,
                                uint256 dogeId,
                                uint256 breedPrice) external onlyOwner {
        require(mintIsActive, "Mint is not enable now.");
        require(doggoOwner != address(0), "Invalid doggo address.");
        require(dogeOwner != address(0), "Invalid doge address.");

        _safeMint(doggoOwner, breedIndex);

        emit BreedByOwner (breedIndex,
                    doggoOwner,
                    doggoId,
                    dogeOwner,
                    dogeId,
                    breedPrice,
                    block.timestamp);

        breedIndex = breedIndex + 1;
    }

    /**
     * Mint Puppy by Doggo
     */
    function breedPuppyByDoggo (address doggoOwner,
                                uint256 doggoId,
                                address dogeOwner,
                                uint256 dogeId,
                                uint256 breedPrice,
                                uint256 deadline,
                                uint8 v, bytes32 r, bytes32 s) payable external {
        require(mintIsActive, "Mint is not enable now.");
        require(breedByDoggoIsActive, "Breed is not enable by doggo.");
        require(doggoOwner != address(0) && msg.sender == doggoOwner, "Invalid doggo address.");
        require(dogeOwner != address(0), "Invalid doge address.");
        require(block.timestamp <= deadline, "Passed deadline.");
        require(msg.value >= breedPrice, "Passed deadline.");

        // check sign with signKey
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(sname)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(BREED_TYPEHASH, doggoOwner, doggoId, dogeOwner, dogeId, breedPrice, deadline));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(!digestUsed[digest], "This signature was already used to breed.");
        require(signatory == owner(), "Puppy::breedPuppyByDoggo: invalid signature");

        _safeMint(doggoOwner, breedIndex);

        emit BreedByDoggo (breedIndex,
                    doggoOwner,
                    doggoId,
                    dogeOwner,
                    dogeId,
                    breedPrice,
                    block.timestamp);

        breedIndex = breedIndex + 1;
        digestUsed[digest] = true;

        uint256 breedFee = breedPrice.mul(breedFeePct).div(100);
        uint256 breedValueForDoge = breedPrice.sub(breedFee);
        if(breedValueForDoge > 0)
            payable(dogeOwner).transfer(breedValueForDoge);
    }

    /**
    * Mint Puppy by OGDoge holders
    */
    function mintPuppy(uint256[] memory ogDogeList) external {
        require(mintIsActive, "Mint is not enable now.");
        require(ogDogeList.length <= maxToMint, "Mint amount is bigger than max limit.");

        for(uint256 i = 0; i < ogDogeList.length; i++) {
            require(msg.sender == dogePound.ownerOf(ogDogeList[i]), "Invalid ogdoge id.");
            require(!exists(ogDogeList[i]), "The puppy already minted.");
            _safeMint(msg.sender, ogDogeList[i]);
            emit Mint(ogDogeList[i]);
        }
    }

    /**
    * Mint Puppy by Owner
    */
    function reservePuppyByOwner(address _to, uint256 _count) external onlyOwner {
        require(mintIsActive, "Mint is not enable now.");
        require(_count <= maxToMint, "Mint count is bigger than maxToMint.");

        uint256 puppyId = breedIndex;

        for(uint256 i = 0; i < _count; i++) {
            _safeMint(_to, puppyId);
            emit ReserveByOwner(puppyId);
            puppyId = puppyId + 1;
        }

        breedIndex = puppyId;
    }

    function reserveBurnedPuppies(address _to, uint256 number) external onlyOwner {
        require(mintIsActive, "Mint is not enable now.");
        require(!exists(number), "The puppy already minted.");

        _safeMint(_to, number);
        emit Mint(number);
    }

    function getChainId() internal view returns (uint) {
        uint chainId;
        assembly { chainId := chainid() }
        return chainId;
    }

    /**
     * Set maximum count to mint per once.
     */
    function setMaxToMint(uint256 _maxValue) external onlyOwner {
        maxToMint = _maxValue;
    }

    /*
    * Set provenance once it's calculated
    */
    function setProvenanceHash(string memory _provenanceHash) external onlyOwner {
        PROVENANCE_HASH = _provenanceHash;
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _setBaseURI(baseURI);
    }

    /*
    * Pause mint if active, make active if paused
    */
    function setMintState(bool _mintIsActive) external onlyOwner {
        mintIsActive = _mintIsActive;
    }

    /*
    * Set breed mode
    */
    function setBreedMode(bool _breedByDoggoIsActive) external onlyOwner {
        breedByDoggoIsActive = _breedByDoggoIsActive;
        emit BreedModeUpdated(_breedByDoggoIsActive);
    }

    /*
    * Set breed fee percentage
    */
    function setBreedFeePct(uint256 _breedFeePct) external onlyOwner {
        require(_breedFeePct <= 20, 'Breed fee percentage is too much');

        breedFeePct = _breedFeePct;
        emit BreedFeePctUpdated(_breedFeePct);
    }

    function setBreedFeeWallet(address _walletAddress) external onlyOwner {
        breedFeeWallet = _walletAddress;
    }

    function setDogePoundAddr(address _dogePoundAddr) external onlyOwner {
        dogePound = IDogePound(_dogePoundAddr);
    }

    function withdrawFee() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(breedFeeWallet).transfer(balance);
    }
}

File 2 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./Ownable.sol";

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

File 3 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./Address.sol";
import "./Strings.sol";
import "./EnumerableSet.sol";
import "./EnumerableMap.sol";
import "./SafeMath.sol";
import "./Context.sol";
import "./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, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @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 || ERC721.isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, 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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 4 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 5 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 7 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 8 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

File 10 of 16 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 11 of 16 : EnumerableMap.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./EnumerableSet.sol";

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct Map {
        // Storage of keys
        EnumerableSet.Bytes32Set _keys;

        mapping (bytes32 => bytes32) _values;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        map._values[key] = value;
        return map._keys.add(key);
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        delete map._values[key];
        return map._keys.remove(key);
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._keys.contains(key);
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._keys.length();
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        bytes32 key = map._keys.at(index);
        return (key, map._values[key]);
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        bytes32 value = map._values[key];
        if (value == bytes32(0)) {
            return (_contains(map, key), bytes32(0));
        } else {
            return (true, value);
        }
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        bytes32 value = map._values[key];
        require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key");
        return value;
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        bytes32 value = map._values[key];
        require(value != 0 || _contains(map, key), errorMessage);
        return value;
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(uint256(value))));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}

File 12 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"puppyId","type":"uint256"},{"indexed":true,"internalType":"address","name":"doggoOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"doggoId","type":"uint256"},{"indexed":true,"internalType":"address","name":"dogeOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"dogeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"breedPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"breedTime","type":"uint256"}],"name":"BreedByDoggo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"puppyId","type":"uint256"},{"indexed":true,"internalType":"address","name":"doggoOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"doggoId","type":"uint256"},{"indexed":true,"internalType":"address","name":"dogeOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"dogeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"breedPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"breedTime","type":"uint256"}],"name":"BreedByOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"breedFeePct","type":"uint256"}],"name":"BreedFeePctUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"breedByDoggoIsActive","type":"bool"}],"name":"BreedModeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"puppyId","type":"uint256"}],"name":"Mint","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":"uint256","name":"puppyId","type":"uint256"}],"name":"ReserveByOwner","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":"BREED_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedByDoggoIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedFeePct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"doggoOwner","type":"address"},{"internalType":"uint256","name":"doggoId","type":"uint256"},{"internalType":"address","name":"dogeOwner","type":"address"},{"internalType":"uint256","name":"dogeId","type":"uint256"},{"internalType":"uint256","name":"breedPrice","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"breedPuppyByDoggo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"doggoOwner","type":"address"},{"internalType":"uint256","name":"doggoId","type":"uint256"},{"internalType":"address","name":"dogeOwner","type":"address"},{"internalType":"uint256","name":"dogeId","type":"uint256"},{"internalType":"uint256","name":"breedPrice","type":"uint256"}],"name":"breedPuppyByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"digestUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dogePound","outputs":[{"internalType":"contract IDogePound","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ogDogeList","type":"uint256[]"}],"name":"mintPuppy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"number","type":"uint256"}],"name":"reserveBurnedPuppies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reservePuppyByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_breedFeePct","type":"uint256"}],"name":"setBreedFeePct","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_walletAddress","type":"address"}],"name":"setBreedFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_breedByDoggoIsActive","type":"bool"}],"name":"setBreedMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dogePoundAddr","type":"address"}],"name":"setDogePoundAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxValue","type":"uint256"}],"name":"setMaxToMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintIsActive","type":"bool"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sname","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600c80546001600160a01b03191673f4ee95274741437636e748ddac70818b4ed7d04317905560a06040819052600060808190526200004191600e916200020b565b50612710600f553480156200005557600080fd5b5060405180604001604052806012815260200171446f676520506f756e64205075707069657360701b81525060405180604001604052806005815260200164505550505960d81b8152506000620000b1620001a960201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200010d6301ffc9a760e01b620001ad565b8151620001229060089060208501906200020b565b508051620001389060099060208401906200020b565b506200014b6380ac58cd60e01b620001ad565b6200015d635b5e139f60e01b620001ad565b6200016f63780e9d6360e01b620001ad565b50506014600d819055601080546001600160b01b03191675ee41417780eb5ad0533105a13c85eae1991aa10e000017905560115562000325565b3390565b6001600160e01b03198082161415620001e35760405162461bcd60e51b8152600401620001da90620002b1565b60405180910390fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b8280546200021990620002e8565b90600052602060002090601f0160209004810192826200023d576000855562000288565b82601f106200025857805160ff191683800117855562000288565b8280016001018555821562000288579182015b82811115620002885782518255916020019190600101906200026b565b50620002969291506200029a565b5090565b5b808211156200029657600081556001016200029b565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b600281046001821680620002fd57607f821691505b602082108114156200031f57634e487b7160e01b600052602260045260246000fd5b50919050565b613a4d80620003356000396000f3fe6080604052600436106102935760003560e01c80636c0360eb1161015a578063983e0986116100c1578063e41ca9071161007a578063e41ca90714610788578063e941fa781461079d578063e985e9c5146107b2578063f2fde38b146107d2578063f9af8deb146107f2578063ff1b65561461080757610293565b8063983e0986146106de578063a22cb465146106f3578063a77f3b5914610713578063b0037f3214610728578063b88d4fde14610748578063c87b56dd1461076857610293565b806372a8dba61161011357806372a8dba6146106275780638462151c1461064757806387c2a677146106745780638ba07ad8146106945780638da5cb5b146106b457806395d89b41146106c957610293565b80636c0360eb146105885780637084b2b71461059d578063708d2da9146105bd57806370a08231146105d2578063715018a6146105f2578063726c67ef1461060757610293565b80632f745c59116101fe5780634f6ccce7116101b75780634f6ccce7146104d35780634fdd6bf8146104f3578063512b71e51461051357806355f804b3146105285780636352211e1461054857806366c226271461056857610293565b80632f745c591461041e578063340ed8161461043e57806342842e0e1461045e57806342966c681461047e578063471a42941461049e5780634f558e79146104b357610293565b80631096952311610250578063109695231461038157806318160ddd146103a1578063185e90db146103b657806320606b70146103c957806323b872dd146103de57806326412aca146103fe57610293565b806301ffc9a71461029857806306fdde03146102ce578063081812fc146102f0578063095ea7b31461031d5780630ba133c51461033f5780630df7f5fb14610361575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612d44565b61081c565b6040516102c59190612ee9565b60405180910390f35b3480156102da57600080fd5b506102e361083f565b6040516102c59190612f7e565b3480156102fc57600080fd5b5061031061030b366004612d2c565b6108d1565b6040516102c59190612e54565b34801561032957600080fd5b5061033d610338366004612b65565b61091d565b005b34801561034b57600080fd5b506103546109b5565b6040516102c59190612ef4565b34801561036d57600080fd5b5061033d61037c366004612d12565b6109bb565b34801561038d57600080fd5b5061033d61039c366004612d7c565b610a48565b3480156103ad57600080fd5b50610354610a9e565b61033d6103c4366004612be1565b610aaf565b3480156103d557600080fd5b50610354610e7e565b3480156103ea57600080fd5b5061033d6103f9366004612a74565b610ea2565b34801561040a57600080fd5b5061033d610419366004612d12565b610eda565b34801561042a57600080fd5b50610354610439366004612b65565b610f2c565b34801561044a57600080fd5b5061033d610459366004612b90565b610f57565b34801561046a57600080fd5b5061033d610479366004612a74565b61107c565b34801561048a57600080fd5b5061033d610499366004612d2c565b611097565b3480156104aa57600080fd5b506102b86110f3565b3480156104bf57600080fd5b506102b86104ce366004612d2c565b6110fc565b3480156104df57600080fd5b506103546104ee366004612d2c565b611107565b3480156104ff57600080fd5b5061033d61050e366004612d2c565b61111d565b34801561051f57600080fd5b506102b86111b2565b34801561053457600080fd5b5061033d610543366004612d7c565b6111c0565b34801561055457600080fd5b50610310610563366004612d2c565b611208565b34801561057457600080fd5b5061033d610583366004612a04565b611230565b34801561059457600080fd5b506102e3611299565b3480156105a957600080fd5b5061033d6105b8366004612d2c565b6112a8565b3480156105c957600080fd5b506103546112ec565b3480156105de57600080fd5b506103546105ed366004612a04565b6112f2565b3480156105fe57600080fd5b5061033d61133b565b34801561061357600080fd5b5061033d610622366004612b65565b6113c4565b34801561063357600080fd5b506102b8610642366004612d2c565b611484565b34801561065357600080fd5b50610667610662366004612a04565b611499565b6040516102c59190612ea5565b34801561068057600080fd5b5061033d61068f366004612c6b565b61157a565b3480156106a057600080fd5b5061033d6106af366004612a04565b61178a565b3480156106c057600080fd5b506103106117eb565b3480156106d557600080fd5b506102e36117fa565b3480156106ea57600080fd5b506102e3611809565b3480156106ff57600080fd5b5061033d61070e366004612b31565b611833565b34801561071f57600080fd5b50610354611901565b34801561073457600080fd5b5061033d610743366004612b65565b611925565b34801561075457600080fd5b5061033d610763366004612ab4565b611a12565b34801561077457600080fd5b506102e3610783366004612d2c565b611a51565b34801561079457600080fd5b50610310611b94565b3480156107a957600080fd5b5061033d611ba9565b3480156107be57600080fd5b506102b86107cd366004612a3c565b611c28565b3480156107de57600080fd5b5061033d6107ed366004612a04565b611c56565b3480156107fe57600080fd5b50610310611d16565b34801561081357600080fd5b506102e3611d25565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60606008805461084e906138eb565b80601f016020809104026020016040519081016040528092919081815260200182805461087a906138eb565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b60006108dc82611db3565b6109015760405162461bcd60e51b81526004016108f890613541565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061092882611208565b9050806001600160a01b0316836001600160a01b0316141561095c5760405162461bcd60e51b81526004016108f8906136d3565b806001600160a01b031661096e611dc0565b6001600160a01b0316148061098a575061098a816107cd611dc0565b6109a65760405162461bcd60e51b81526004016108f890613375565b6109b08383611dc4565b505050565b600d5481565b6109c3611dc0565b6001600160a01b03166109d46117eb565b6001600160a01b0316146109fa5760405162461bcd60e51b81526004016108f89061358d565b6010805461ff001916610100831515021790556040517f0955f96a2dc81fbe1ff6a3c4693e34f9bafcc3a8d6e09bec6dd2d57dd5d161d590610a3d908390612ee9565b60405180910390a150565b610a50611dc0565b6001600160a01b0316610a616117eb565b6001600160a01b031614610a875760405162461bcd60e51b81526004016108f89061358d565b8051610a9a90600e9060208401906128cb565b5050565b6000610aaa6003611e32565b905090565b60105460ff16610ad15760405162461bcd60e51b81526004016108f890612fd3565b601054610100900460ff16610af85760405162461bcd60e51b81526004016108f890613465565b6001600160a01b03891615801590610b185750336001600160a01b038a16145b610b345760405162461bcd60e51b81526004016108f890613148565b6001600160a01b038716610b5a5760405162461bcd60e51b81526004016108f89061349c565b83421115610b7a5760405162461bcd60e51b81526004016108f8906130a1565b84341015610b9a5760405162461bcd60e51b81526004016108f8906130a1565b60408051808201909152600e81526d141d5c1c1e4810dbdb9d1c9858dd60921b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667ffc2cdcaf0a380391f16069ae21e5576248d697fb7e72790d5eb8958abd9b693f610c0c611e3d565b30604051602001610c209493929190612f3c565b60405160208183030381529060405280519060200120905060007fb18426a7438ec224118641a53503279c27e1380aea1cbf4fa2b6f6a9f8b0f0808b8b8b8b8b8b604051602001610c779796959493929190612efd565b60405160208183030381529060405280519060200120905060008282604051602001610ca4929190612e39565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610ce19493929190612f60565b6020604051602081039080840390855afa158015610d03573d6000803e3d6000fd5b505060408051601f19015160008581526012602052919091205490925060ff16159050610d425760405162461bcd60e51b81526004016108f89061341c565b610d4a6117eb565b6001600160a01b0316816001600160a01b031614610d7a5760405162461bcd60e51b81526004016108f89061332a565b610d868d600f54611e41565b8a6001600160a01b03168d6001600160a01b0316600f547f21cb55602cb09d22308392f163133ba86fc5250ff65de6dc2e0dcadfdb79aba38f8e8e42604051610dd29493929190613818565b60405180910390a4600f54610de890600161385d565b600f556000828152601260205260408120805460ff19166001179055601154610e1f90606490610e19908d90611e5b565b90611ea0565b90506000610e2d8b83611ecb565b90508015610e6d576040516001600160a01b038e169082156108fc029083906000818181858888f19350505050158015610e6b573d6000803e3d6000fd5b505b505050505050505050505050505050565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610eb3610ead611dc0565b82611ef7565b610ecf5760405162461bcd60e51b81526004016108f890613714565b6109b0838383611f7c565b610ee2611dc0565b6001600160a01b0316610ef36117eb565b6001600160a01b031614610f195760405162461bcd60e51b81526004016108f89061358d565b6010805460ff1916911515919091179055565b6001600160a01b0382166000908152600260205260408120610f4e908361208a565b90505b92915050565b610f5f611dc0565b6001600160a01b0316610f706117eb565b6001600160a01b031614610f965760405162461bcd60e51b81526004016108f89061358d565b60105460ff16610fb85760405162461bcd60e51b81526004016108f890612fd3565b6001600160a01b038516610fde5760405162461bcd60e51b81526004016108f890613148565b6001600160a01b0383166110045760405162461bcd60e51b81526004016108f89061349c565b61101085600f54611e41565b826001600160a01b0316856001600160a01b0316600f547fd889b8c06aa9db520bd927c5f87d94ed2672e833205c11b016d02f9fb975c0198786864260405161105c9493929190613818565b60405180910390a4600f5461107290600161385d565b600f555050505050565b6109b083838360405180602001604052806000815250611a12565b61109f6117eb565b6001600160a01b03166110b0611dc0565b6001600160a01b031614806110cb57506110cb610ead611dc0565b6110e75760405162461bcd60e51b81526004016108f8906137c8565b6110f081612096565b50565b60105460ff1681565b6000610f5182611db3565b60008061111560038461215c565b509392505050565b611125611dc0565b6001600160a01b03166111366117eb565b6001600160a01b03161461115c5760405162461bcd60e51b81526004016108f89061358d565b601481111561117d5760405162461bcd60e51b81526004016108f890613606565b60118190556040517f976a3c90c2b239097f7b84f5d44fb67ed4943be65efb53a78fbb2a720fb30d8390610a3d908390612ef4565b601054610100900460ff1681565b6111c8611dc0565b6001600160a01b03166111d96117eb565b6001600160a01b0316146111ff5760405162461bcd60e51b81526004016108f89061358d565b6110f081612178565b6000610f51826040518060600160405280602981526020016139ef602991396003919061218b565b611238611dc0565b6001600160a01b03166112496117eb565b6001600160a01b03161461126f5760405162461bcd60e51b81526004016108f89061358d565b601080546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6060600b805461084e906138eb565b6112b0611dc0565b6001600160a01b03166112c16117eb565b6001600160a01b0316146112e75760405162461bcd60e51b81526004016108f89061358d565b600d55565b60115481565b60006001600160a01b03821661131a5760405162461bcd60e51b81526004016108f8906133d2565b6001600160a01b0382166000908152600260205260409020610f51906121a2565b611343611dc0565b6001600160a01b03166113546117eb565b6001600160a01b03161461137a5760405162461bcd60e51b81526004016108f89061358d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6113cc611dc0565b6001600160a01b03166113dd6117eb565b6001600160a01b0316146114035760405162461bcd60e51b81526004016108f89061358d565b60105460ff166114255760405162461bcd60e51b81526004016108f890612fd3565b61142e816110fc565b1561144b5760405162461bcd60e51b81526004016108f8906132bc565b6114558282611e41565b60405181907f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466590600090a25050565b60126020526000908152604090205460ff1681565b606060006114a6836112f2565b9050806114c357505060408051600081526020810190915261083a565b60008167ffffffffffffffff8111156114ec57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611515578160200160208202803683370190505b50905060005b8281101561156a5761152d8582610f2c565b82828151811061154d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061156281613920565b91505061151b565b50915061083a9050565b50919050565b60105460ff1661159c5760405162461bcd60e51b81526004016108f890612fd3565b600d54815111156115bf5760405162461bcd60e51b81526004016108f89061300a565b60005b8151811015610a9a57600c5482516001600160a01b0390911690636352211e9084908490811061160257634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016116269190612ef4565b60206040518083038186803b15801561163e57600080fd5b505afa158015611652573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116769190612a20565b6001600160a01b0316336001600160a01b0316146116a65760405162461bcd60e51b81526004016108f89061379c565b6116d68282815181106116c957634e487b7160e01b600052603260045260246000fd5b60200260200101516110fc565b156116f35760405162461bcd60e51b81526004016108f8906132bc565b6117243383838151811061171757634e487b7160e01b600052603260045260246000fd5b6020026020010151611e41565b81818151811061174457634e487b7160e01b600052603260045260246000fd5b60200260200101517f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466560405160405180910390a28061178281613920565b9150506115c2565b611792611dc0565b6001600160a01b03166117a36117eb565b6001600160a01b0316146117c95760405162461bcd60e51b81526004016108f89061358d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60606009805461084e906138eb565b6040518060400160405280600e81526020016d141d5c1c1e4810dbdb9d1c9858dd60921b81525081565b61183b611dc0565b6001600160a01b0316826001600160a01b0316141561186c5760405162461bcd60e51b81526004016108f8906131bc565b8060076000611879611dc0565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556118bd611dc0565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118f59190612ee9565b60405180910390a35050565b7fb18426a7438ec224118641a53503279c27e1380aea1cbf4fa2b6f6a9f8b0f08081565b61192d611dc0565b6001600160a01b031661193e6117eb565b6001600160a01b0316146119645760405162461bcd60e51b81526004016108f89061358d565b60105460ff166119865760405162461bcd60e51b81526004016108f890612fd3565b600d548111156119a85760405162461bcd60e51b81526004016108f8906135c2565b600f5460005b82811015611a0a576119c08483611e41565b60405182907ff102f70ce1683780719f71299767bf13bd9561014406c231ed672563be557d8d90600090a26119f682600161385d565b915080611a0281613920565b9150506119ae565b50600f555050565b611a23611a1d611dc0565b83611ef7565b611a3f5760405162461bcd60e51b81526004016108f890613714565b611a4b848484846121ad565b50505050565b6060611a5c82611db3565b611a785760405162461bcd60e51b81526004016108f890613684565b6000828152600a602052604081208054611a91906138eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611abd906138eb565b8015611b0a5780601f10611adf57610100808354040283529160200191611b0a565b820191906000526020600020905b815481529060010190602001808311611aed57829003601f168201915b505050505090506000611b1b611299565b9050805160001415611b2f5750905061083a565b815115611b61578082604051602001611b49929190612e0a565b6040516020818303038152906040529250505061083a565b80611b6b856121e0565b604051602001611b7c929190612e0a565b60405160208183030381529060405292505050919050565b6010546201000090046001600160a01b031681565b611bb1611dc0565b6001600160a01b0316611bc26117eb565b6001600160a01b031614611be85760405162461bcd60e51b81526004016108f89061358d565b60105460405147916201000090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610a9a573d6000803e3d6000fd5b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611c5e611dc0565b6001600160a01b0316611c6f6117eb565b6001600160a01b031614611c955760405162461bcd60e51b81526004016108f89061358d565b6001600160a01b038116611cbb5760405162461bcd60e51b81526004016108f8906130cb565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b031681565b600e8054611d32906138eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5e906138eb565b8015611dab5780601f10611d8057610100808354040283529160200191611dab565b820191906000526020600020905b815481529060010190602001808311611d8e57829003601f168201915b505050505081565b6000610f516003836122fb565b3390565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611df982611208565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610f5182612307565b4690565b610a9a828260405180602001604052806000815250612312565b600082611e6a57506000610f51565b6000611e768385613889565b905082611e838583613875565b14610f4e5760405162461bcd60e51b81526004016108f890613500565b6000808211611ec15760405162461bcd60e51b81526004016108f8906132f3565b610f4e8284613875565b600082821115611eed5760405162461bcd60e51b81526004016108f8906131f3565b610f4e82846138a8565b6000611f0282611db3565b611f1e5760405162461bcd60e51b81526004016108f890613270565b6000611f2983611208565b9050806001600160a01b0316846001600160a01b03161480611f645750836001600160a01b0316611f59846108d1565b6001600160a01b0316145b80611f745750611f748185611c28565b949350505050565b826001600160a01b0316611f8f82611208565b6001600160a01b031614611fb55760405162461bcd60e51b81526004016108f89061363b565b6001600160a01b038216611fdb5760405162461bcd60e51b81526004016108f890613178565b611fe68383836109b0565b611ff1600082611dc4565b6001600160a01b03831660009081526002602052604090206120139082612345565b506001600160a01b03821660009081526002602052604090206120369082612351565b506120436003828461235d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610f4e8383612373565b60006120a182611208565b90506120af816000846109b0565b6120ba600083611dc4565b6000828152600a6020526040902080546120d3906138eb565b1590506120f1576000828152600a602052604081206120f19161294f565b6001600160a01b03811660009081526002602052604090206121139083612345565b5061211f6003836123cc565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061216b86866123d8565b9097909650945050505050565b8051610a9a90600b9060208401906128cb565b6000612198848484612403565b90505b9392505050565b6000610f518261244f565b6121b8848484611f7c565b6121c484848484612453565b611a4b5760405162461bcd60e51b81526004016108f89061304f565b60608161220557506040805180820190915260018152600360fc1b602082015261083a565b8160005b811561222f578061221981613920565b91506122289050600a83613875565b9150612209565b60008167ffffffffffffffff81111561225857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612282576020820181803683370190505b5090505b8415611f74576122976001836138a8565b91506122a4600a8661393b565b6122af90603061385d565b60f81b8183815181106122d257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506122f4600a86613875565b9450612286565b6000610f4e8383612532565b6000610f51826121a2565b61231c838361253e565b6123296000848484612453565b6109b05760405162461bcd60e51b81526004016108f89061304f565b6000610f4e8383612602565b6000610f4e8383612719565b600061219884846001600160a01b038516612763565b815460009082106123965760405162461bcd60e51b81526004016108f890612f91565b8260000182815481106123b957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6000610f4e8383612780565b600080806123e6858561208a565b600081815260029690960160205260409095205494959350505050565b60008281526002840160205260408120548015158061242757506124278585612532565b83906124465760405162461bcd60e51b81526004016108f89190612f7e565b50949350505050565b5490565b6000612467846001600160a01b031661279d565b61247357506001611f74565b60006124fb630a85bd0160e11b612488611dc0565b88878760405160240161249e9493929190612e68565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016139bd603291396001600160a01b03881691906127a3565b90506000818060200190518101906125139190612d60565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610f4e83836127b2565b6001600160a01b0382166125645760405162461bcd60e51b81526004016108f8906134cb565b61256d81611db3565b1561258a5760405162461bcd60e51b81526004016108f890613111565b612596600083836109b0565b6001600160a01b03821660009081526002602052604090206125b89082612351565b506125c56003828461235d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600183016020526040812054801561270f5760006126266001836138a8565b855490915060009061263a906001906138a8565b9050600086600001828154811061266157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061269257634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600189019091526040902084905586548790806126d357634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610f51565b6000915050610f51565b600061272583836127ba565b61275b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f51565b506000610f51565b600082815260028401602052604081208290556121988484612351565b60008181526002830160205260408120819055610f4e8383612345565b3b151590565b606061219884846000856127d2565b6000610f4e83835b60009081526001919091016020526040902054151590565b6060824710156127f45760405162461bcd60e51b81526004016108f89061322a565b6127fd8561279d565b6128195760405162461bcd60e51b81526004016108f890613765565b600080866001600160a01b031685876040516128359190612dee565b60006040518083038185875af1925050503d8060008114612872576040519150601f19603f3d011682016040523d82523d6000602084013e612877565b606091505b5091509150612887828286612892565b979650505050505050565b606083156128a157508161219b565b8251156128b15782518084602001fd5b8160405162461bcd60e51b81526004016108f89190612f7e565b8280546128d7906138eb565b90600052602060002090601f0160209004810192826128f9576000855561293f565b82601f1061291257805160ff191683800117855561293f565b8280016001018555821561293f579182015b8281111561293f578251825591602001919060010190612924565b5061294b929150612987565b5090565b50805461295b906138eb565b6000825580601f1061296d57506110f0565b601f0160209004906000526020600020908101906110f091905b5b8082111561294b5760008155600101612988565b600067ffffffffffffffff8311156129b6576129b661397b565b6129c9601f8401601f1916602001613833565b90508281528383830111156129dd57600080fd5b828260208301376000602084830101529392505050565b8035801515811461083a57600080fd5b600060208284031215612a15578081fd5b8135610f4e81613991565b600060208284031215612a31578081fd5b8151610f4e81613991565b60008060408385031215612a4e578081fd5b8235612a5981613991565b91506020830135612a6981613991565b809150509250929050565b600080600060608486031215612a88578081fd5b8335612a9381613991565b92506020840135612aa381613991565b929592945050506040919091013590565b60008060008060808587031215612ac9578081fd5b8435612ad481613991565b93506020850135612ae481613991565b925060408501359150606085013567ffffffffffffffff811115612b06578182fd5b8501601f81018713612b16578182fd5b612b258782356020840161299c565b91505092959194509250565b60008060408385031215612b43578182fd5b8235612b4e81613991565b9150612b5c602084016129f4565b90509250929050565b60008060408385031215612b77578182fd5b8235612b8281613991565b946020939093013593505050565b600080600080600060a08688031215612ba7578081fd5b8535612bb281613991565b9450602086013593506040860135612bc981613991565b94979396509394606081013594506080013592915050565b60008060008060008060008060006101208a8c031215612bff578384fd5b8935612c0a81613991565b985060208a0135975060408a0135612c2181613991565b965060608a0135955060808a0135945060a08a0135935060c08a013560ff81168114612c4b578384fd5b8093505060e08a013591506101008a013590509295985092959850929598565b60006020808385031215612c7d578182fd5b823567ffffffffffffffff80821115612c94578384fd5b818501915085601f830112612ca7578384fd5b813581811115612cb957612cb961397b565b8381029150612cc9848301613833565b8181528481019084860184860187018a1015612ce3578788fd5b8795505b83861015612d05578035835260019590950194918601918601612ce7565b5098975050505050505050565b600060208284031215612d23578081fd5b610f4e826129f4565b600060208284031215612d3d578081fd5b5035919050565b600060208284031215612d55578081fd5b8135610f4e816139a6565b600060208284031215612d71578081fd5b8151610f4e816139a6565b600060208284031215612d8d578081fd5b813567ffffffffffffffff811115612da3578182fd5b8201601f81018413612db3578182fd5b611f748482356020840161299c565b60008151808452612dda8160208601602086016138bf565b601f01601f19169290920160200192915050565b60008251612e008184602087016138bf565b9190910192915050565b60008351612e1c8184602088016138bf565b835190830190612e308183602088016138bf565b01949350505050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e9b90830184612dc2565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612edd57835183529284019291840191600101612ec1565b50909695505050505050565b901515815260200190565b90815260200190565b9687526001600160a01b0395861660208801526040870194909452919093166060850152608084019290925260a083019190915260c082015260e00190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610f4e6020830184612dc2565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526017908201527f4d696e74206973206e6f7420656e61626c65206e6f772e000000000000000000604082015260600190565b60208082526025908201527f4d696e7420616d6f756e7420697320626967676572207468616e206d6178206c60408201526434b6b4ba1760d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f2830b9b9b2b2103232b0b23634b7329760811b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526016908201527524b73b30b634b2103237b3b3b79030b2323932b9b99760511b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526019908201527f54686520707570707920616c7265616479206d696e7465642e00000000000000604082015260600190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252602b908201527f50757070793a3a627265656450757070794279446f67676f3a20696e76616c6960408201526a64207369676e617475726560a81b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f54686973207369676e61747572652077617320616c72656164792075736564206040820152683a3790313932b2b21760b91b606082015260800190565b6020808252601d908201527f4272656564206973206e6f7420656e61626c6520627920646f67676f2e000000604082015260600190565b60208082526015908201527424b73b30b634b2103237b3b29030b2323932b9b99760591b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f4d696e7420636f756e7420697320626967676572207468616e206d6178546f4d60408201526334b73a1760e11b606082015260800190565b6020808252818101527f4272656564206665652070657263656e7461676520697320746f6f206d756368604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526012908201527124b73b30b634b21037b3b237b3b29034b21760711b604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff811182821017156138555761385561397b565b604052919050565b600082198211156138705761387061394f565b500190565b60008261388457613884613965565b500490565b60008160001904831182151516156138a3576138a361394f565b500290565b6000828210156138ba576138ba61394f565b500390565b60005b838110156138da5781810151838201526020016138c2565b83811115611a4b5750506000910152565b6002810460018216806138ff57607f821691505b6020821081141561157457634e487b7160e01b600052602260045260246000fd5b60006000198214156139345761393461394f565b5060010190565b60008261394a5761394a613965565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110f057600080fd5b6001600160e01b0319811681146110f057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212204d0ef6810b7374406110b40a1338329036e2171d037878bee6ccf60c4fb9147564736f6c63430008000033

Deployed Bytecode

0x6080604052600436106102935760003560e01c80636c0360eb1161015a578063983e0986116100c1578063e41ca9071161007a578063e41ca90714610788578063e941fa781461079d578063e985e9c5146107b2578063f2fde38b146107d2578063f9af8deb146107f2578063ff1b65561461080757610293565b8063983e0986146106de578063a22cb465146106f3578063a77f3b5914610713578063b0037f3214610728578063b88d4fde14610748578063c87b56dd1461076857610293565b806372a8dba61161011357806372a8dba6146106275780638462151c1461064757806387c2a677146106745780638ba07ad8146106945780638da5cb5b146106b457806395d89b41146106c957610293565b80636c0360eb146105885780637084b2b71461059d578063708d2da9146105bd57806370a08231146105d2578063715018a6146105f2578063726c67ef1461060757610293565b80632f745c59116101fe5780634f6ccce7116101b75780634f6ccce7146104d35780634fdd6bf8146104f3578063512b71e51461051357806355f804b3146105285780636352211e1461054857806366c226271461056857610293565b80632f745c591461041e578063340ed8161461043e57806342842e0e1461045e57806342966c681461047e578063471a42941461049e5780634f558e79146104b357610293565b80631096952311610250578063109695231461038157806318160ddd146103a1578063185e90db146103b657806320606b70146103c957806323b872dd146103de57806326412aca146103fe57610293565b806301ffc9a71461029857806306fdde03146102ce578063081812fc146102f0578063095ea7b31461031d5780630ba133c51461033f5780630df7f5fb14610361575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612d44565b61081c565b6040516102c59190612ee9565b60405180910390f35b3480156102da57600080fd5b506102e361083f565b6040516102c59190612f7e565b3480156102fc57600080fd5b5061031061030b366004612d2c565b6108d1565b6040516102c59190612e54565b34801561032957600080fd5b5061033d610338366004612b65565b61091d565b005b34801561034b57600080fd5b506103546109b5565b6040516102c59190612ef4565b34801561036d57600080fd5b5061033d61037c366004612d12565b6109bb565b34801561038d57600080fd5b5061033d61039c366004612d7c565b610a48565b3480156103ad57600080fd5b50610354610a9e565b61033d6103c4366004612be1565b610aaf565b3480156103d557600080fd5b50610354610e7e565b3480156103ea57600080fd5b5061033d6103f9366004612a74565b610ea2565b34801561040a57600080fd5b5061033d610419366004612d12565b610eda565b34801561042a57600080fd5b50610354610439366004612b65565b610f2c565b34801561044a57600080fd5b5061033d610459366004612b90565b610f57565b34801561046a57600080fd5b5061033d610479366004612a74565b61107c565b34801561048a57600080fd5b5061033d610499366004612d2c565b611097565b3480156104aa57600080fd5b506102b86110f3565b3480156104bf57600080fd5b506102b86104ce366004612d2c565b6110fc565b3480156104df57600080fd5b506103546104ee366004612d2c565b611107565b3480156104ff57600080fd5b5061033d61050e366004612d2c565b61111d565b34801561051f57600080fd5b506102b86111b2565b34801561053457600080fd5b5061033d610543366004612d7c565b6111c0565b34801561055457600080fd5b50610310610563366004612d2c565b611208565b34801561057457600080fd5b5061033d610583366004612a04565b611230565b34801561059457600080fd5b506102e3611299565b3480156105a957600080fd5b5061033d6105b8366004612d2c565b6112a8565b3480156105c957600080fd5b506103546112ec565b3480156105de57600080fd5b506103546105ed366004612a04565b6112f2565b3480156105fe57600080fd5b5061033d61133b565b34801561061357600080fd5b5061033d610622366004612b65565b6113c4565b34801561063357600080fd5b506102b8610642366004612d2c565b611484565b34801561065357600080fd5b50610667610662366004612a04565b611499565b6040516102c59190612ea5565b34801561068057600080fd5b5061033d61068f366004612c6b565b61157a565b3480156106a057600080fd5b5061033d6106af366004612a04565b61178a565b3480156106c057600080fd5b506103106117eb565b3480156106d557600080fd5b506102e36117fa565b3480156106ea57600080fd5b506102e3611809565b3480156106ff57600080fd5b5061033d61070e366004612b31565b611833565b34801561071f57600080fd5b50610354611901565b34801561073457600080fd5b5061033d610743366004612b65565b611925565b34801561075457600080fd5b5061033d610763366004612ab4565b611a12565b34801561077457600080fd5b506102e3610783366004612d2c565b611a51565b34801561079457600080fd5b50610310611b94565b3480156107a957600080fd5b5061033d611ba9565b3480156107be57600080fd5b506102b86107cd366004612a3c565b611c28565b3480156107de57600080fd5b5061033d6107ed366004612a04565b611c56565b3480156107fe57600080fd5b50610310611d16565b34801561081357600080fd5b506102e3611d25565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60606008805461084e906138eb565b80601f016020809104026020016040519081016040528092919081815260200182805461087a906138eb565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b60006108dc82611db3565b6109015760405162461bcd60e51b81526004016108f890613541565b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061092882611208565b9050806001600160a01b0316836001600160a01b0316141561095c5760405162461bcd60e51b81526004016108f8906136d3565b806001600160a01b031661096e611dc0565b6001600160a01b0316148061098a575061098a816107cd611dc0565b6109a65760405162461bcd60e51b81526004016108f890613375565b6109b08383611dc4565b505050565b600d5481565b6109c3611dc0565b6001600160a01b03166109d46117eb565b6001600160a01b0316146109fa5760405162461bcd60e51b81526004016108f89061358d565b6010805461ff001916610100831515021790556040517f0955f96a2dc81fbe1ff6a3c4693e34f9bafcc3a8d6e09bec6dd2d57dd5d161d590610a3d908390612ee9565b60405180910390a150565b610a50611dc0565b6001600160a01b0316610a616117eb565b6001600160a01b031614610a875760405162461bcd60e51b81526004016108f89061358d565b8051610a9a90600e9060208401906128cb565b5050565b6000610aaa6003611e32565b905090565b60105460ff16610ad15760405162461bcd60e51b81526004016108f890612fd3565b601054610100900460ff16610af85760405162461bcd60e51b81526004016108f890613465565b6001600160a01b03891615801590610b185750336001600160a01b038a16145b610b345760405162461bcd60e51b81526004016108f890613148565b6001600160a01b038716610b5a5760405162461bcd60e51b81526004016108f89061349c565b83421115610b7a5760405162461bcd60e51b81526004016108f8906130a1565b84341015610b9a5760405162461bcd60e51b81526004016108f8906130a1565b60408051808201909152600e81526d141d5c1c1e4810dbdb9d1c9858dd60921b60209091015260007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667ffc2cdcaf0a380391f16069ae21e5576248d697fb7e72790d5eb8958abd9b693f610c0c611e3d565b30604051602001610c209493929190612f3c565b60405160208183030381529060405280519060200120905060007fb18426a7438ec224118641a53503279c27e1380aea1cbf4fa2b6f6a9f8b0f0808b8b8b8b8b8b604051602001610c779796959493929190612efd565b60405160208183030381529060405280519060200120905060008282604051602001610ca4929190612e39565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610ce19493929190612f60565b6020604051602081039080840390855afa158015610d03573d6000803e3d6000fd5b505060408051601f19015160008581526012602052919091205490925060ff16159050610d425760405162461bcd60e51b81526004016108f89061341c565b610d4a6117eb565b6001600160a01b0316816001600160a01b031614610d7a5760405162461bcd60e51b81526004016108f89061332a565b610d868d600f54611e41565b8a6001600160a01b03168d6001600160a01b0316600f547f21cb55602cb09d22308392f163133ba86fc5250ff65de6dc2e0dcadfdb79aba38f8e8e42604051610dd29493929190613818565b60405180910390a4600f54610de890600161385d565b600f556000828152601260205260408120805460ff19166001179055601154610e1f90606490610e19908d90611e5b565b90611ea0565b90506000610e2d8b83611ecb565b90508015610e6d576040516001600160a01b038e169082156108fc029083906000818181858888f19350505050158015610e6b573d6000803e3d6000fd5b505b505050505050505050505050505050565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610eb3610ead611dc0565b82611ef7565b610ecf5760405162461bcd60e51b81526004016108f890613714565b6109b0838383611f7c565b610ee2611dc0565b6001600160a01b0316610ef36117eb565b6001600160a01b031614610f195760405162461bcd60e51b81526004016108f89061358d565b6010805460ff1916911515919091179055565b6001600160a01b0382166000908152600260205260408120610f4e908361208a565b90505b92915050565b610f5f611dc0565b6001600160a01b0316610f706117eb565b6001600160a01b031614610f965760405162461bcd60e51b81526004016108f89061358d565b60105460ff16610fb85760405162461bcd60e51b81526004016108f890612fd3565b6001600160a01b038516610fde5760405162461bcd60e51b81526004016108f890613148565b6001600160a01b0383166110045760405162461bcd60e51b81526004016108f89061349c565b61101085600f54611e41565b826001600160a01b0316856001600160a01b0316600f547fd889b8c06aa9db520bd927c5f87d94ed2672e833205c11b016d02f9fb975c0198786864260405161105c9493929190613818565b60405180910390a4600f5461107290600161385d565b600f555050505050565b6109b083838360405180602001604052806000815250611a12565b61109f6117eb565b6001600160a01b03166110b0611dc0565b6001600160a01b031614806110cb57506110cb610ead611dc0565b6110e75760405162461bcd60e51b81526004016108f8906137c8565b6110f081612096565b50565b60105460ff1681565b6000610f5182611db3565b60008061111560038461215c565b509392505050565b611125611dc0565b6001600160a01b03166111366117eb565b6001600160a01b03161461115c5760405162461bcd60e51b81526004016108f89061358d565b601481111561117d5760405162461bcd60e51b81526004016108f890613606565b60118190556040517f976a3c90c2b239097f7b84f5d44fb67ed4943be65efb53a78fbb2a720fb30d8390610a3d908390612ef4565b601054610100900460ff1681565b6111c8611dc0565b6001600160a01b03166111d96117eb565b6001600160a01b0316146111ff5760405162461bcd60e51b81526004016108f89061358d565b6110f081612178565b6000610f51826040518060600160405280602981526020016139ef602991396003919061218b565b611238611dc0565b6001600160a01b03166112496117eb565b6001600160a01b03161461126f5760405162461bcd60e51b81526004016108f89061358d565b601080546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6060600b805461084e906138eb565b6112b0611dc0565b6001600160a01b03166112c16117eb565b6001600160a01b0316146112e75760405162461bcd60e51b81526004016108f89061358d565b600d55565b60115481565b60006001600160a01b03821661131a5760405162461bcd60e51b81526004016108f8906133d2565b6001600160a01b0382166000908152600260205260409020610f51906121a2565b611343611dc0565b6001600160a01b03166113546117eb565b6001600160a01b03161461137a5760405162461bcd60e51b81526004016108f89061358d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6113cc611dc0565b6001600160a01b03166113dd6117eb565b6001600160a01b0316146114035760405162461bcd60e51b81526004016108f89061358d565b60105460ff166114255760405162461bcd60e51b81526004016108f890612fd3565b61142e816110fc565b1561144b5760405162461bcd60e51b81526004016108f8906132bc565b6114558282611e41565b60405181907f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466590600090a25050565b60126020526000908152604090205460ff1681565b606060006114a6836112f2565b9050806114c357505060408051600081526020810190915261083a565b60008167ffffffffffffffff8111156114ec57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611515578160200160208202803683370190505b50905060005b8281101561156a5761152d8582610f2c565b82828151811061154d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061156281613920565b91505061151b565b50915061083a9050565b50919050565b60105460ff1661159c5760405162461bcd60e51b81526004016108f890612fd3565b600d54815111156115bf5760405162461bcd60e51b81526004016108f89061300a565b60005b8151811015610a9a57600c5482516001600160a01b0390911690636352211e9084908490811061160257634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016116269190612ef4565b60206040518083038186803b15801561163e57600080fd5b505afa158015611652573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116769190612a20565b6001600160a01b0316336001600160a01b0316146116a65760405162461bcd60e51b81526004016108f89061379c565b6116d68282815181106116c957634e487b7160e01b600052603260045260246000fd5b60200260200101516110fc565b156116f35760405162461bcd60e51b81526004016108f8906132bc565b6117243383838151811061171757634e487b7160e01b600052603260045260246000fd5b6020026020010151611e41565b81818151811061174457634e487b7160e01b600052603260045260246000fd5b60200260200101517f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466560405160405180910390a28061178281613920565b9150506115c2565b611792611dc0565b6001600160a01b03166117a36117eb565b6001600160a01b0316146117c95760405162461bcd60e51b81526004016108f89061358d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60606009805461084e906138eb565b6040518060400160405280600e81526020016d141d5c1c1e4810dbdb9d1c9858dd60921b81525081565b61183b611dc0565b6001600160a01b0316826001600160a01b0316141561186c5760405162461bcd60e51b81526004016108f8906131bc565b8060076000611879611dc0565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556118bd611dc0565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118f59190612ee9565b60405180910390a35050565b7fb18426a7438ec224118641a53503279c27e1380aea1cbf4fa2b6f6a9f8b0f08081565b61192d611dc0565b6001600160a01b031661193e6117eb565b6001600160a01b0316146119645760405162461bcd60e51b81526004016108f89061358d565b60105460ff166119865760405162461bcd60e51b81526004016108f890612fd3565b600d548111156119a85760405162461bcd60e51b81526004016108f8906135c2565b600f5460005b82811015611a0a576119c08483611e41565b60405182907ff102f70ce1683780719f71299767bf13bd9561014406c231ed672563be557d8d90600090a26119f682600161385d565b915080611a0281613920565b9150506119ae565b50600f555050565b611a23611a1d611dc0565b83611ef7565b611a3f5760405162461bcd60e51b81526004016108f890613714565b611a4b848484846121ad565b50505050565b6060611a5c82611db3565b611a785760405162461bcd60e51b81526004016108f890613684565b6000828152600a602052604081208054611a91906138eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611abd906138eb565b8015611b0a5780601f10611adf57610100808354040283529160200191611b0a565b820191906000526020600020905b815481529060010190602001808311611aed57829003601f168201915b505050505090506000611b1b611299565b9050805160001415611b2f5750905061083a565b815115611b61578082604051602001611b49929190612e0a565b6040516020818303038152906040529250505061083a565b80611b6b856121e0565b604051602001611b7c929190612e0a565b60405160208183030381529060405292505050919050565b6010546201000090046001600160a01b031681565b611bb1611dc0565b6001600160a01b0316611bc26117eb565b6001600160a01b031614611be85760405162461bcd60e51b81526004016108f89061358d565b60105460405147916201000090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610a9a573d6000803e3d6000fd5b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611c5e611dc0565b6001600160a01b0316611c6f6117eb565b6001600160a01b031614611c955760405162461bcd60e51b81526004016108f89061358d565b6001600160a01b038116611cbb5760405162461bcd60e51b81526004016108f8906130cb565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b031681565b600e8054611d32906138eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5e906138eb565b8015611dab5780601f10611d8057610100808354040283529160200191611dab565b820191906000526020600020905b815481529060010190602001808311611d8e57829003601f168201915b505050505081565b6000610f516003836122fb565b3390565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611df982611208565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610f5182612307565b4690565b610a9a828260405180602001604052806000815250612312565b600082611e6a57506000610f51565b6000611e768385613889565b905082611e838583613875565b14610f4e5760405162461bcd60e51b81526004016108f890613500565b6000808211611ec15760405162461bcd60e51b81526004016108f8906132f3565b610f4e8284613875565b600082821115611eed5760405162461bcd60e51b81526004016108f8906131f3565b610f4e82846138a8565b6000611f0282611db3565b611f1e5760405162461bcd60e51b81526004016108f890613270565b6000611f2983611208565b9050806001600160a01b0316846001600160a01b03161480611f645750836001600160a01b0316611f59846108d1565b6001600160a01b0316145b80611f745750611f748185611c28565b949350505050565b826001600160a01b0316611f8f82611208565b6001600160a01b031614611fb55760405162461bcd60e51b81526004016108f89061363b565b6001600160a01b038216611fdb5760405162461bcd60e51b81526004016108f890613178565b611fe68383836109b0565b611ff1600082611dc4565b6001600160a01b03831660009081526002602052604090206120139082612345565b506001600160a01b03821660009081526002602052604090206120369082612351565b506120436003828461235d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610f4e8383612373565b60006120a182611208565b90506120af816000846109b0565b6120ba600083611dc4565b6000828152600a6020526040902080546120d3906138eb565b1590506120f1576000828152600a602052604081206120f19161294f565b6001600160a01b03811660009081526002602052604090206121139083612345565b5061211f6003836123cc565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061216b86866123d8565b9097909650945050505050565b8051610a9a90600b9060208401906128cb565b6000612198848484612403565b90505b9392505050565b6000610f518261244f565b6121b8848484611f7c565b6121c484848484612453565b611a4b5760405162461bcd60e51b81526004016108f89061304f565b60608161220557506040805180820190915260018152600360fc1b602082015261083a565b8160005b811561222f578061221981613920565b91506122289050600a83613875565b9150612209565b60008167ffffffffffffffff81111561225857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612282576020820181803683370190505b5090505b8415611f74576122976001836138a8565b91506122a4600a8661393b565b6122af90603061385d565b60f81b8183815181106122d257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506122f4600a86613875565b9450612286565b6000610f4e8383612532565b6000610f51826121a2565b61231c838361253e565b6123296000848484612453565b6109b05760405162461bcd60e51b81526004016108f89061304f565b6000610f4e8383612602565b6000610f4e8383612719565b600061219884846001600160a01b038516612763565b815460009082106123965760405162461bcd60e51b81526004016108f890612f91565b8260000182815481106123b957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6000610f4e8383612780565b600080806123e6858561208a565b600081815260029690960160205260409095205494959350505050565b60008281526002840160205260408120548015158061242757506124278585612532565b83906124465760405162461bcd60e51b81526004016108f89190612f7e565b50949350505050565b5490565b6000612467846001600160a01b031661279d565b61247357506001611f74565b60006124fb630a85bd0160e11b612488611dc0565b88878760405160240161249e9493929190612e68565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016139bd603291396001600160a01b03881691906127a3565b90506000818060200190518101906125139190612d60565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610f4e83836127b2565b6001600160a01b0382166125645760405162461bcd60e51b81526004016108f8906134cb565b61256d81611db3565b1561258a5760405162461bcd60e51b81526004016108f890613111565b612596600083836109b0565b6001600160a01b03821660009081526002602052604090206125b89082612351565b506125c56003828461235d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600183016020526040812054801561270f5760006126266001836138a8565b855490915060009061263a906001906138a8565b9050600086600001828154811061266157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061269257634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600189019091526040902084905586548790806126d357634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610f51565b6000915050610f51565b600061272583836127ba565b61275b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f51565b506000610f51565b600082815260028401602052604081208290556121988484612351565b60008181526002830160205260408120819055610f4e8383612345565b3b151590565b606061219884846000856127d2565b6000610f4e83835b60009081526001919091016020526040902054151590565b6060824710156127f45760405162461bcd60e51b81526004016108f89061322a565b6127fd8561279d565b6128195760405162461bcd60e51b81526004016108f890613765565b600080866001600160a01b031685876040516128359190612dee565b60006040518083038185875af1925050503d8060008114612872576040519150601f19603f3d011682016040523d82523d6000602084013e612877565b606091505b5091509150612887828286612892565b979650505050505050565b606083156128a157508161219b565b8251156128b15782518084602001fd5b8160405162461bcd60e51b81526004016108f89190612f7e565b8280546128d7906138eb565b90600052602060002090601f0160209004810192826128f9576000855561293f565b82601f1061291257805160ff191683800117855561293f565b8280016001018555821561293f579182015b8281111561293f578251825591602001919060010190612924565b5061294b929150612987565b5090565b50805461295b906138eb565b6000825580601f1061296d57506110f0565b601f0160209004906000526020600020908101906110f091905b5b8082111561294b5760008155600101612988565b600067ffffffffffffffff8311156129b6576129b661397b565b6129c9601f8401601f1916602001613833565b90508281528383830111156129dd57600080fd5b828260208301376000602084830101529392505050565b8035801515811461083a57600080fd5b600060208284031215612a15578081fd5b8135610f4e81613991565b600060208284031215612a31578081fd5b8151610f4e81613991565b60008060408385031215612a4e578081fd5b8235612a5981613991565b91506020830135612a6981613991565b809150509250929050565b600080600060608486031215612a88578081fd5b8335612a9381613991565b92506020840135612aa381613991565b929592945050506040919091013590565b60008060008060808587031215612ac9578081fd5b8435612ad481613991565b93506020850135612ae481613991565b925060408501359150606085013567ffffffffffffffff811115612b06578182fd5b8501601f81018713612b16578182fd5b612b258782356020840161299c565b91505092959194509250565b60008060408385031215612b43578182fd5b8235612b4e81613991565b9150612b5c602084016129f4565b90509250929050565b60008060408385031215612b77578182fd5b8235612b8281613991565b946020939093013593505050565b600080600080600060a08688031215612ba7578081fd5b8535612bb281613991565b9450602086013593506040860135612bc981613991565b94979396509394606081013594506080013592915050565b60008060008060008060008060006101208a8c031215612bff578384fd5b8935612c0a81613991565b985060208a0135975060408a0135612c2181613991565b965060608a0135955060808a0135945060a08a0135935060c08a013560ff81168114612c4b578384fd5b8093505060e08a013591506101008a013590509295985092959850929598565b60006020808385031215612c7d578182fd5b823567ffffffffffffffff80821115612c94578384fd5b818501915085601f830112612ca7578384fd5b813581811115612cb957612cb961397b565b8381029150612cc9848301613833565b8181528481019084860184860187018a1015612ce3578788fd5b8795505b83861015612d05578035835260019590950194918601918601612ce7565b5098975050505050505050565b600060208284031215612d23578081fd5b610f4e826129f4565b600060208284031215612d3d578081fd5b5035919050565b600060208284031215612d55578081fd5b8135610f4e816139a6565b600060208284031215612d71578081fd5b8151610f4e816139a6565b600060208284031215612d8d578081fd5b813567ffffffffffffffff811115612da3578182fd5b8201601f81018413612db3578182fd5b611f748482356020840161299c565b60008151808452612dda8160208601602086016138bf565b601f01601f19169290920160200192915050565b60008251612e008184602087016138bf565b9190910192915050565b60008351612e1c8184602088016138bf565b835190830190612e308183602088016138bf565b01949350505050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e9b90830184612dc2565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612edd57835183529284019291840191600101612ec1565b50909695505050505050565b901515815260200190565b90815260200190565b9687526001600160a01b0395861660208801526040870194909452919093166060850152608084019290925260a083019190915260c082015260e00190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610f4e6020830184612dc2565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526017908201527f4d696e74206973206e6f7420656e61626c65206e6f772e000000000000000000604082015260600190565b60208082526025908201527f4d696e7420616d6f756e7420697320626967676572207468616e206d6178206c60408201526434b6b4ba1760d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f2830b9b9b2b2103232b0b23634b7329760811b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526016908201527524b73b30b634b2103237b3b3b79030b2323932b9b99760511b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526019908201527f54686520707570707920616c7265616479206d696e7465642e00000000000000604082015260600190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252602b908201527f50757070793a3a627265656450757070794279446f67676f3a20696e76616c6960408201526a64207369676e617475726560a81b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f54686973207369676e61747572652077617320616c72656164792075736564206040820152683a3790313932b2b21760b91b606082015260800190565b6020808252601d908201527f4272656564206973206e6f7420656e61626c6520627920646f67676f2e000000604082015260600190565b60208082526015908201527424b73b30b634b2103237b3b29030b2323932b9b99760591b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f4d696e7420636f756e7420697320626967676572207468616e206d6178546f4d60408201526334b73a1760e11b606082015260800190565b6020808252818101527f4272656564206665652070657263656e7461676520697320746f6f206d756368604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526012908201527124b73b30b634b21037b3b237b3b29034b21760711b604082015260600190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b93845260208401929092526040830152606082015260800190565b60405181810167ffffffffffffffff811182821017156138555761385561397b565b604052919050565b600082198211156138705761387061394f565b500190565b60008261388457613884613965565b500490565b60008160001904831182151516156138a3576138a361394f565b500290565b6000828210156138ba576138ba61394f565b500390565b60005b838110156138da5781810151838201526020016138c2565b83811115611a4b5750506000910152565b6002810460018216806138ff57607f821691505b6020821081141561157457634e487b7160e01b600052602260045260246000fd5b60006000198214156139345761393461394f565b5060010190565b60008261394a5761394a613965565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110f057600080fd5b6001600160e01b0319811681146110f057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212204d0ef6810b7374406110b40a1338329036e2171d037878bee6ccf60c4fb9147564736f6c63430008000033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.