ETH Price: $3,169.22 (-8.11%)
Gas: 4 Gwei

Token

3D Cats Club (CC)
 

Overview

Max Total Supply

29 CC

Holders

20

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CC
0xC03fe5A6a856adcb1b2A1f3080D44888F47385CD
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CatsClub3D

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

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

contract CatsClub3D is ERC721Enumerable, Ownable, ERC721Burnable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;

    uint256 public constant MAX_ELEMENTS = 8888;
    uint256 public constant RESERVE_ELEMENTS = 20;
    uint256 public constant PRICE = 0.025 ether;
    uint256 public constant MAX_BY_MINT = 20;

    address public constant creatorAddress = 0x1473a8350b8f1ED87C7660B86005dd8E21cEabFF; // 35%
    address public constant devAddress = 0x7B65085F81fab2269524cbdb896Fe506Ec5E7D13;  // 35%
    address public constant charityAddress = 0x67a0CbA675015212517f092ee7760f6B86E6C8aA;  // 30%

    uint private startSales = 1630760400; // 2021-09-04 15:00:00

    string public baseTokenURI;

    event AdoptACat(uint256 indexed id);

    constructor(string memory baseURI) ERC721("3D Cats Club", "CC") {
        setBaseURI(baseURI);
    }

    modifier saleIsOpen {
        require(_totalSupply() <= MAX_ELEMENTS, "Sale end");
        if (_msgSender() != owner()) {
            require(block.timestamp >= startSales, "Sales not open");
        }
        _;
    }

    function _totalSupply() internal view returns (uint) {
        return _tokenIdTracker.current();
    }
    function totalMint() public view returns (uint256) {
        return _totalSupply();
    }
    function mint(address _to, uint256 _count) public payable saleIsOpen {
        uint256 total = _totalSupply();
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(total <= MAX_ELEMENTS, "Sale end");
        require(_count <= MAX_BY_MINT, "Exceeds number");
        require(msg.value >= price(_count), "Value below price");

        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_to);
        }
    }
    function _mintAnElement(address _to) private {
        uint id = _totalSupply();
        _tokenIdTracker.increment();
        _safeMint(_to, id + 1);
        emit AdoptACat(id + 1);
    }
    function price(uint256 _count) public pure returns (uint256) {
        return PRICE.mul(_count);
    }

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

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

    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokensId;
    }

    function setStartSales(uint _start) public onlyOwner {
        startSales = _start;
    }

    function getStartSales() public view returns(uint) {
        return startSales;
    }

    function withdrawAll() public payable onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);
        _widthdraw(devAddress, balance.mul(35).div(100));
        _widthdraw(charityAddress, balance.mul(30).div(100));
        _widthdraw(creatorAddress, address(this).balance);
    }

    function _widthdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed.");
    }

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

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

    function reserve(uint256 _count) public onlyOwner {
        uint256 total = _totalSupply();
        require(total + _count <= RESERVE_ELEMENTS, "Exceeded");
        for (uint256 i = 0; i < _count; i++) {
            _mintAnElement(_msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 _owners[tokenId] != address(0);
    }

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

        _balances[to] += 1;
        _owners[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);

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

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

        _balances[owner] -= 1;
        delete _owners[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");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 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 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 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 9 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 10 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;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    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

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

File 11 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) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 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);
    }

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

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

File 14 of 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 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 15 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);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"AdoptACat","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_BY_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"charityAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creatorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStartSales","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserve","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":"_start","type":"uint256"}],"name":"setStartSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMint","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526361336dd0600c553480156200001957600080fd5b5060405162004f2938038062004f2983398181016040528101906200003f9190620003e8565b6040518060400160405280600c81526020017f3344204361747320436c756200000000000000000000000000000000000000008152506040518060400160405280600281526020017f43430000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c3929190620002ba565b508060019080519060200190620000dc929190620002ba565b505050620000ff620000f36200011760201b60201c565b6200011f60201b60201c565b6200011081620001e560201b60201c565b5062000640565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001f56200011760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200021b6200029060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000274576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026b9062000460565b60405180910390fd5b80600d90805190602001906200028c929190620002ba565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002c89062000528565b90600052602060002090601f016020900481019282620002ec576000855562000338565b82601f106200030757805160ff191683800117855562000338565b8280016001018555821562000338579182015b82811115620003375782518255916020019190600101906200031a565b5b5090506200034791906200034b565b5090565b5b80821115620003665760008160009055506001016200034c565b5090565b6000620003816200037b84620004ab565b62000482565b905082815260208101848484011115620003a0576200039f620005f7565b5b620003ad848285620004f2565b509392505050565b600082601f830112620003cd57620003cc620005f2565b5b8151620003df8482602086016200036a565b91505092915050565b60006020828403121562000401576200040062000601565b5b600082015167ffffffffffffffff811115620004225762000421620005fc565b5b6200043084828501620003b5565b91505092915050565b600062000448602083620004e1565b9150620004558262000617565b602082019050919050565b600060208201905081810360008301526200047b8162000439565b9050919050565b60006200048e620004a1565b90506200049c82826200055e565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c957620004c8620005c3565b5b620004d48262000606565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000512578082015181840152602081019050620004f5565b8381111562000522576000848401525b50505050565b600060028204905060018216806200054157607f821691505b6020821081141562000558576200055762000594565b5b50919050565b620005698262000606565b810181811067ffffffffffffffff821117156200058b576200058a620005c3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6148d980620006506000396000f3fe60806040526004361061021a5760003560e01c806360db6e931161012357806395d89b41116100ab578063d1e1f5721161006f578063d1e1f572146107cd578063d547cfb7146107f6578063e927fc5c14610821578063e985e9c51461084c578063f2fde38b146108895761021a565b806395d89b41146106e8578063a22cb46514610713578063afcf2fc41461073c578063b88d4fde14610767578063c87b56dd146107905761021a565b8063819b25ba116100f2578063819b25ba14610634578063853828b61461065d5780638ad5de28146106675780638d859f3e146106925780638da5cb5b146106bd5761021a565b806360db6e93146105785780636352211e146105a357806370a08231146105e0578063715018a61461061d5761021a565b80633502a716116101a657806342966c681161017557806342966c6814610481578063438b6300146104aa5780634f6ccce7146104e757806355f804b31461052457806359a7715a1461054d5761021a565b80633502a716146103e65780633ad10ef61461041157806340c10f191461043c57806342842e0e146104585761021a565b806318160ddd116101ed57806318160ddd146102ed57806323b872dd1461031857806326a49e37146103415780632dabf73e1461037e5780632f745c59146103a95761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906132bb565b6108b2565b6040516102539190613953565b60405180910390f35b34801561026857600080fd5b506102716108c4565b60405161027e919061396e565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a9919061335e565b610956565b6040516102bb91906138ca565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e6919061327b565b6109db565b005b3480156102f957600080fd5b50610302610af3565b60405161030f9190613cd0565b60405180910390f35b34801561032457600080fd5b5061033f600480360381019061033a9190613165565b610b00565b005b34801561034d57600080fd5b506103686004803603810190610363919061335e565b610b60565b6040516103759190613cd0565b60405180910390f35b34801561038a57600080fd5b50610393610b83565b6040516103a09190613cd0565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb919061327b565b610b88565b6040516103dd9190613cd0565b60405180910390f35b3480156103f257600080fd5b506103fb610c2d565b6040516104089190613cd0565b60405180910390f35b34801561041d57600080fd5b50610426610c33565b60405161043391906138ca565b60405180910390f35b6104566004803603810190610451919061327b565b610c4b565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613165565b610e7b565b005b34801561048d57600080fd5b506104a860048036038101906104a3919061335e565b610e9b565b005b3480156104b657600080fd5b506104d160048036038101906104cc91906130f8565b610ef7565b6040516104de9190613931565b60405180910390f35b3480156104f357600080fd5b5061050e6004803603810190610509919061335e565b610fa5565b60405161051b9190613cd0565b60405180910390f35b34801561053057600080fd5b5061054b60048036038101906105469190613315565b611016565b005b34801561055957600080fd5b506105626110ac565b60405161056f9190613cd0565b60405180910390f35b34801561058457600080fd5b5061058d6110bb565b60405161059a9190613cd0565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c5919061335e565b6110c5565b6040516105d791906138ca565b60405180910390f35b3480156105ec57600080fd5b50610607600480360381019061060291906130f8565b611177565b6040516106149190613cd0565b60405180910390f35b34801561062957600080fd5b5061063261122f565b005b34801561064057600080fd5b5061065b6004803603810190610656919061335e565b6112b7565b005b6106656113c1565b005b34801561067357600080fd5b5061067c6114f8565b6040516106899190613cd0565b60405180910390f35b34801561069e57600080fd5b506106a76114fd565b6040516106b49190613cd0565b60405180910390f35b3480156106c957600080fd5b506106d2611508565b6040516106df91906138ca565b60405180910390f35b3480156106f457600080fd5b506106fd611532565b60405161070a919061396e565b60405180910390f35b34801561071f57600080fd5b5061073a6004803603810190610735919061323b565b6115c4565b005b34801561074857600080fd5b50610751611745565b60405161075e91906138ca565b60405180910390f35b34801561077357600080fd5b5061078e600480360381019061078991906131b8565b61175d565b005b34801561079c57600080fd5b506107b760048036038101906107b2919061335e565b6117bf565b6040516107c4919061396e565b60405180910390f35b3480156107d957600080fd5b506107f460048036038101906107ef919061335e565b611866565b005b34801561080257600080fd5b5061080b6118ec565b604051610818919061396e565b60405180910390f35b34801561082d57600080fd5b5061083661197a565b60405161084391906138ca565b60405180910390f35b34801561085857600080fd5b50610873600480360381019061086e9190613125565b611992565b6040516108809190613953565b60405180910390f35b34801561089557600080fd5b506108b060048036038101906108ab91906130f8565b611a26565b005b60006108bd82611b1e565b9050919050565b6060600080546108d390613fc4565b80601f01602080910402602001604051908101604052809291908181526020018280546108ff90613fc4565b801561094c5780601f106109215761010080835404028352916020019161094c565b820191906000526020600020905b81548152906001019060200180831161092f57829003601f168201915b5050505050905090565b600061096182611b98565b6109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790613b50565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e6826110c5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4e90613bf0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a76611c04565b73ffffffffffffffffffffffffffffffffffffffff161480610aa55750610aa481610a9f611c04565b611992565b5b610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb90613ab0565b60405180910390fd5b610aee8383611c0c565b505050565b6000600880549050905090565b610b11610b0b611c04565b82611cc5565b610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790613c50565b60405180910390fd5b610b5b838383611da3565b505050565b6000610b7c826658d15e17628000611fff90919063ffffffff16565b9050919050565b601481565b6000610b9383611177565b8210610bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcb906139b0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6122b881565b737b65085f81fab2269524cbdb896fe506ec5e7d1381565b6122b8610c56612015565b1115610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613b30565b60405180910390fd5b610c9f611508565b73ffffffffffffffffffffffffffffffffffffffff16610cbd611c04565b73ffffffffffffffffffffffffffffffffffffffff1614610d1e57600c54421015610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490613c10565b60405180910390fd5b5b6000610d28612015565b90506122b88282610d399190613df9565b1115610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190613a70565b60405180910390fd5b6122b8811115610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db690613b30565b60405180910390fd5b6014821115610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613990565b60405180910390fd5b610e0c82610b60565b341015610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590613bd0565b60405180910390fd5b60005b82811015610e7557610e6284612026565b8080610e6d90614027565b915050610e51565b50505050565b610e968383836040518060200160405280600081525061175d565b505050565b610eac610ea6611c04565b82611cc5565b610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290613cb0565b60405180910390fd5b610ef48161208f565b50565b60606000610f0483611177565b905060008167ffffffffffffffff811115610f2257610f2161418c565b5b604051908082528060200260200182016040528015610f505781602001602082028036833780820191505090505b50905060005b82811015610f9a57610f688582610b88565b828281518110610f7b57610f7a61415d565b5b6020026020010181815250508080610f9290614027565b915050610f56565b508092505050919050565b6000610faf610af3565b8210610ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe790613c70565b60405180910390fd5b600882815481106110045761100361415d565b5b90600052602060002001549050919050565b61101e611c04565b73ffffffffffffffffffffffffffffffffffffffff1661103c611508565b73ffffffffffffffffffffffffffffffffffffffff1614611092576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108990613b70565b60405180910390fd5b80600d90805190602001906110a8929190612f0c565b5050565b60006110b6612015565b905090565b6000600c54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116590613af0565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111df90613ad0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611237611c04565b73ffffffffffffffffffffffffffffffffffffffff16611255611508565b73ffffffffffffffffffffffffffffffffffffffff16146112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290613b70565b60405180910390fd5b6112b560006121a0565b565b6112bf611c04565b73ffffffffffffffffffffffffffffffffffffffff166112dd611508565b73ffffffffffffffffffffffffffffffffffffffff1614611333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132a90613b70565b60405180910390fd5b600061133d612015565b90506014828261134d9190613df9565b111561138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590613c90565b60405180910390fd5b60005b828110156113bc576113a96113a4611c04565b612026565b80806113b490614027565b915050611391565b505050565b6113c9611c04565b73ffffffffffffffffffffffffffffffffffffffff166113e7611508565b73ffffffffffffffffffffffffffffffffffffffff161461143d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143490613b70565b60405180910390fd5b60004790506000811161144f57600080fd5b611493737b65085f81fab2269524cbdb896fe506ec5e7d1361148e6064611480602386611fff90919063ffffffff16565b61226690919063ffffffff16565b61227c565b6114d77367a0cba675015212517f092ee7760f6b86e6c8aa6114d260646114c4601e86611fff90919063ffffffff16565b61226690919063ffffffff16565b61227c565b6114f5731473a8350b8f1ed87c7660b86005dd8e21ceabff4761227c565b50565b601481565b6658d15e1762800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461154190613fc4565b80601f016020809104026020016040519081016040528092919081815260200182805461156d90613fc4565b80156115ba5780601f1061158f576101008083540402835291602001916115ba565b820191906000526020600020905b81548152906001019060200180831161159d57829003601f168201915b5050505050905090565b6115cc611c04565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163190613a50565b60405180910390fd5b8060056000611647611c04565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116f4611c04565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117399190613953565b60405180910390a35050565b7367a0cba675015212517f092ee7760f6b86e6c8aa81565b61176e611768611c04565b83611cc5565b6117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a490613c50565b60405180910390fd5b6117b98484848461232d565b50505050565b60606117ca82611b98565b611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090613bb0565b60405180910390fd5b6000611813612389565b90506000815111611833576040518060200160405280600081525061185e565b8061183d8461241b565b60405160200161184e929190613891565b6040516020818303038152906040525b915050919050565b61186e611c04565b73ffffffffffffffffffffffffffffffffffffffff1661188c611508565b73ffffffffffffffffffffffffffffffffffffffff16146118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d990613b70565b60405180910390fd5b80600c8190555050565b600d80546118f990613fc4565b80601f016020809104026020016040519081016040528092919081815260200182805461192590613fc4565b80156119725780601f1061194757610100808354040283529160200191611972565b820191906000526020600020905b81548152906001019060200180831161195557829003601f168201915b505050505081565b731473a8350b8f1ed87c7660b86005dd8e21ceabff81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a2e611c04565b73ffffffffffffffffffffffffffffffffffffffff16611a4c611508565b73ffffffffffffffffffffffffffffffffffffffff1614611aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9990613b70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b09906139f0565b60405180910390fd5b611b1b816121a0565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b915750611b908261257c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c7f836110c5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611cd082611b98565b611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690613a90565b60405180910390fd5b6000611d1a836110c5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d8957508373ffffffffffffffffffffffffffffffffffffffff16611d7184610956565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d9a5750611d998185611992565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611dc3826110c5565b73ffffffffffffffffffffffffffffffffffffffff1614611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1090613b90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8090613a30565b60405180910390fd5b611e9483838361265e565b611e9f600082611c0c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eef9190613eda565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f469190613df9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361200d9190613e80565b905092915050565b6000612021600b61266e565b905090565b6000612030612015565b905061203c600b61267c565b6120528260018361204d9190613df9565b612692565b60018161205f9190613df9565b7ff332136b5176f1619e5291b34b6ad32bc59b8bd9ec51878d908cae896286bcb160405160405180910390a25050565b600061209a826110c5565b90506120a88160008461265e565b6120b3600083611c0c565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121039190613eda565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836122749190613e4f565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122a2906138b5565b60006040518083038185875af1925050503d80600081146122df576040519150601f19603f3d011682016040523d82523d6000602084013e6122e4565b606091505b5050905080612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f90613c30565b60405180910390fd5b505050565b612338848484611da3565b612344848484846126b0565b612383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237a906139d0565b60405180910390fd5b50505050565b6060600d805461239890613fc4565b80601f01602080910402602001604051908101604052809291908181526020018280546123c490613fc4565b80156124115780601f106123e657610100808354040283529160200191612411565b820191906000526020600020905b8154815290600101906020018083116123f457829003601f168201915b5050505050905090565b60606000821415612463576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612577565b600082905060005b6000821461249557808061247e90614027565b915050600a8261248e9190613e4f565b915061246b565b60008167ffffffffffffffff8111156124b1576124b061418c565b5b6040519080825280601f01601f1916602001820160405280156124e35781602001600182028036833780820191505090505b5090505b60008514612570576001826124fc9190613eda565b9150600a8561250b9190614070565b60306125179190613df9565b60f81b81838151811061252d5761252c61415d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125699190613e4f565b94506124e7565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061264757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612657575061265682612847565b5b9050919050565b6126698383836128b1565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6126ac8282604051806020016040528060008152506129c5565b5050565b60006126d18473ffffffffffffffffffffffffffffffffffffffff16612a20565b1561283a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126fa611c04565b8786866040518563ffffffff1660e01b815260040161271c94939291906138e5565b602060405180830381600087803b15801561273657600080fd5b505af192505050801561276757506040513d601f19601f8201168201806040525081019061276491906132e8565b60015b6127ea573d8060008114612797576040519150601f19603f3d011682016040523d82523d6000602084013e61279c565b606091505b506000815114156127e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d9906139d0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061283f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128bc838383612a33565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128ff576128fa81612a38565b61293e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461293d5761293c8382612a81565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129815761297c81612bee565b6129c0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129bf576129be8282612cbf565b5b5b505050565b6129cf8383612d3e565b6129dc60008484846126b0565b612a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a12906139d0565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a8e84611177565b612a989190613eda565b9050600060076000848152602001908152602001600020549050818114612b7d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c029190613eda565b9050600060096000848152602001908152602001600020549050600060088381548110612c3257612c3161415d565b5b906000526020600020015490508060088381548110612c5457612c5361415d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612ca357612ca261412e565b5b6001900381819060005260206000200160009055905550505050565b6000612cca83611177565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da590613b10565b60405180910390fd5b612db781611b98565b15612df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dee90613a10565b60405180910390fd5b612e036000838361265e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e539190613df9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612f1890613fc4565b90600052602060002090601f016020900481019282612f3a5760008555612f81565b82601f10612f5357805160ff1916838001178555612f81565b82800160010185558215612f81579182015b82811115612f80578251825591602001919060010190612f65565b5b509050612f8e9190612f92565b5090565b5b80821115612fab576000816000905550600101612f93565b5090565b6000612fc2612fbd84613d10565b613ceb565b905082815260208101848484011115612fde57612fdd6141c0565b5b612fe9848285613f82565b509392505050565b6000613004612fff84613d41565b613ceb565b9050828152602081018484840111156130205761301f6141c0565b5b61302b848285613f82565b509392505050565b60008135905061304281614847565b92915050565b6000813590506130578161485e565b92915050565b60008135905061306c81614875565b92915050565b60008151905061308181614875565b92915050565b600082601f83011261309c5761309b6141bb565b5b81356130ac848260208601612faf565b91505092915050565b600082601f8301126130ca576130c96141bb565b5b81356130da848260208601612ff1565b91505092915050565b6000813590506130f28161488c565b92915050565b60006020828403121561310e5761310d6141ca565b5b600061311c84828501613033565b91505092915050565b6000806040838503121561313c5761313b6141ca565b5b600061314a85828601613033565b925050602061315b85828601613033565b9150509250929050565b60008060006060848603121561317e5761317d6141ca565b5b600061318c86828701613033565b935050602061319d86828701613033565b92505060406131ae868287016130e3565b9150509250925092565b600080600080608085870312156131d2576131d16141ca565b5b60006131e087828801613033565b94505060206131f187828801613033565b9350506040613202878288016130e3565b925050606085013567ffffffffffffffff811115613223576132226141c5565b5b61322f87828801613087565b91505092959194509250565b60008060408385031215613252576132516141ca565b5b600061326085828601613033565b925050602061327185828601613048565b9150509250929050565b60008060408385031215613292576132916141ca565b5b60006132a085828601613033565b92505060206132b1858286016130e3565b9150509250929050565b6000602082840312156132d1576132d06141ca565b5b60006132df8482850161305d565b91505092915050565b6000602082840312156132fe576132fd6141ca565b5b600061330c84828501613072565b91505092915050565b60006020828403121561332b5761332a6141ca565b5b600082013567ffffffffffffffff811115613349576133486141c5565b5b613355848285016130b5565b91505092915050565b600060208284031215613374576133736141ca565b5b6000613382848285016130e3565b91505092915050565b60006133978383613873565b60208301905092915050565b6133ac81613f0e565b82525050565b60006133bd82613d82565b6133c78185613db0565b93506133d283613d72565b8060005b838110156134035781516133ea888261338b565b97506133f583613da3565b9250506001810190506133d6565b5085935050505092915050565b61341981613f20565b82525050565b600061342a82613d8d565b6134348185613dc1565b9350613444818560208601613f91565b61344d816141cf565b840191505092915050565b600061346382613d98565b61346d8185613ddd565b935061347d818560208601613f91565b613486816141cf565b840191505092915050565b600061349c82613d98565b6134a68185613dee565b93506134b6818560208601613f91565b80840191505092915050565b60006134cf600e83613ddd565b91506134da826141e0565b602082019050919050565b60006134f2602b83613ddd565b91506134fd82614209565b604082019050919050565b6000613515603283613ddd565b915061352082614258565b604082019050919050565b6000613538602683613ddd565b9150613543826142a7565b604082019050919050565b600061355b601c83613ddd565b9150613566826142f6565b602082019050919050565b600061357e602483613ddd565b91506135898261431f565b604082019050919050565b60006135a1601983613ddd565b91506135ac8261436e565b602082019050919050565b60006135c4600983613ddd565b91506135cf82614397565b602082019050919050565b60006135e7602c83613ddd565b91506135f2826143c0565b604082019050919050565b600061360a603883613ddd565b91506136158261440f565b604082019050919050565b600061362d602a83613ddd565b91506136388261445e565b604082019050919050565b6000613650602983613ddd565b915061365b826144ad565b604082019050919050565b6000613673602083613ddd565b915061367e826144fc565b602082019050919050565b6000613696600883613ddd565b91506136a182614525565b602082019050919050565b60006136b9602c83613ddd565b91506136c48261454e565b604082019050919050565b60006136dc602083613ddd565b91506136e78261459d565b602082019050919050565b60006136ff602983613ddd565b915061370a826145c6565b604082019050919050565b6000613722602f83613ddd565b915061372d82614615565b604082019050919050565b6000613745601183613ddd565b915061375082614664565b602082019050919050565b6000613768602183613ddd565b91506137738261468d565b604082019050919050565b600061378b600e83613ddd565b9150613796826146dc565b602082019050919050565b60006137ae600083613dd2565b91506137b982614705565b600082019050919050565b60006137d1601083613ddd565b91506137dc82614708565b602082019050919050565b60006137f4603183613ddd565b91506137ff82614731565b604082019050919050565b6000613817602c83613ddd565b915061382282614780565b604082019050919050565b600061383a600883613ddd565b9150613845826147cf565b602082019050919050565b600061385d603083613ddd565b9150613868826147f8565b604082019050919050565b61387c81613f78565b82525050565b61388b81613f78565b82525050565b600061389d8285613491565b91506138a98284613491565b91508190509392505050565b60006138c0826137a1565b9150819050919050565b60006020820190506138df60008301846133a3565b92915050565b60006080820190506138fa60008301876133a3565b61390760208301866133a3565b6139146040830185613882565b8181036060830152613926818461341f565b905095945050505050565b6000602082019050818103600083015261394b81846133b2565b905092915050565b60006020820190506139686000830184613410565b92915050565b600060208201905081810360008301526139888184613458565b905092915050565b600060208201905081810360008301526139a9816134c2565b9050919050565b600060208201905081810360008301526139c9816134e5565b9050919050565b600060208201905081810360008301526139e981613508565b9050919050565b60006020820190508181036000830152613a098161352b565b9050919050565b60006020820190508181036000830152613a298161354e565b9050919050565b60006020820190508181036000830152613a4981613571565b9050919050565b60006020820190508181036000830152613a6981613594565b9050919050565b60006020820190508181036000830152613a89816135b7565b9050919050565b60006020820190508181036000830152613aa9816135da565b9050919050565b60006020820190508181036000830152613ac9816135fd565b9050919050565b60006020820190508181036000830152613ae981613620565b9050919050565b60006020820190508181036000830152613b0981613643565b9050919050565b60006020820190508181036000830152613b2981613666565b9050919050565b60006020820190508181036000830152613b4981613689565b9050919050565b60006020820190508181036000830152613b69816136ac565b9050919050565b60006020820190508181036000830152613b89816136cf565b9050919050565b60006020820190508181036000830152613ba9816136f2565b9050919050565b60006020820190508181036000830152613bc981613715565b9050919050565b60006020820190508181036000830152613be981613738565b9050919050565b60006020820190508181036000830152613c098161375b565b9050919050565b60006020820190508181036000830152613c298161377e565b9050919050565b60006020820190508181036000830152613c49816137c4565b9050919050565b60006020820190508181036000830152613c69816137e7565b9050919050565b60006020820190508181036000830152613c898161380a565b9050919050565b60006020820190508181036000830152613ca98161382d565b9050919050565b60006020820190508181036000830152613cc981613850565b9050919050565b6000602082019050613ce56000830184613882565b92915050565b6000613cf5613d06565b9050613d018282613ff6565b919050565b6000604051905090565b600067ffffffffffffffff821115613d2b57613d2a61418c565b5b613d34826141cf565b9050602081019050919050565b600067ffffffffffffffff821115613d5c57613d5b61418c565b5b613d65826141cf565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e0482613f78565b9150613e0f83613f78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e4457613e436140a1565b5b828201905092915050565b6000613e5a82613f78565b9150613e6583613f78565b925082613e7557613e746140d0565b5b828204905092915050565b6000613e8b82613f78565b9150613e9683613f78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ecf57613ece6140a1565b5b828202905092915050565b6000613ee582613f78565b9150613ef083613f78565b925082821015613f0357613f026140a1565b5b828203905092915050565b6000613f1982613f58565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613faf578082015181840152602081019050613f94565b83811115613fbe576000848401525b50505050565b60006002820490506001821680613fdc57607f821691505b60208210811415613ff057613fef6140ff565b5b50919050565b613fff826141cf565b810181811067ffffffffffffffff8211171561401e5761401d61418c565b5b80604052505050565b600061403282613f78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614065576140646140a1565b5b600182019050919050565b600061407b82613f78565b915061408683613f78565b925082614096576140956140d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520656e64000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c6573206e6f74206f70656e000000000000000000000000000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4578636565646564000000000000000000000000000000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b61485081613f0e565b811461485b57600080fd5b50565b61486781613f20565b811461487257600080fd5b50565b61487e81613f2c565b811461488957600080fd5b50565b61489581613f78565b81146148a057600080fd5b5056fea2646970667358221220be331b0baa6323fa1f145add07e2f067236ea7493126665a6dcdf265a9d69e7a64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6170692e3364636174732e636c75622f6361742f00000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c806360db6e931161012357806395d89b41116100ab578063d1e1f5721161006f578063d1e1f572146107cd578063d547cfb7146107f6578063e927fc5c14610821578063e985e9c51461084c578063f2fde38b146108895761021a565b806395d89b41146106e8578063a22cb46514610713578063afcf2fc41461073c578063b88d4fde14610767578063c87b56dd146107905761021a565b8063819b25ba116100f2578063819b25ba14610634578063853828b61461065d5780638ad5de28146106675780638d859f3e146106925780638da5cb5b146106bd5761021a565b806360db6e93146105785780636352211e146105a357806370a08231146105e0578063715018a61461061d5761021a565b80633502a716116101a657806342966c681161017557806342966c6814610481578063438b6300146104aa5780634f6ccce7146104e757806355f804b31461052457806359a7715a1461054d5761021a565b80633502a716146103e65780633ad10ef61461041157806340c10f191461043c57806342842e0e146104585761021a565b806318160ddd116101ed57806318160ddd146102ed57806323b872dd1461031857806326a49e37146103415780632dabf73e1461037e5780632f745c59146103a95761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906132bb565b6108b2565b6040516102539190613953565b60405180910390f35b34801561026857600080fd5b506102716108c4565b60405161027e919061396e565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a9919061335e565b610956565b6040516102bb91906138ca565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e6919061327b565b6109db565b005b3480156102f957600080fd5b50610302610af3565b60405161030f9190613cd0565b60405180910390f35b34801561032457600080fd5b5061033f600480360381019061033a9190613165565b610b00565b005b34801561034d57600080fd5b506103686004803603810190610363919061335e565b610b60565b6040516103759190613cd0565b60405180910390f35b34801561038a57600080fd5b50610393610b83565b6040516103a09190613cd0565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb919061327b565b610b88565b6040516103dd9190613cd0565b60405180910390f35b3480156103f257600080fd5b506103fb610c2d565b6040516104089190613cd0565b60405180910390f35b34801561041d57600080fd5b50610426610c33565b60405161043391906138ca565b60405180910390f35b6104566004803603810190610451919061327b565b610c4b565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613165565b610e7b565b005b34801561048d57600080fd5b506104a860048036038101906104a3919061335e565b610e9b565b005b3480156104b657600080fd5b506104d160048036038101906104cc91906130f8565b610ef7565b6040516104de9190613931565b60405180910390f35b3480156104f357600080fd5b5061050e6004803603810190610509919061335e565b610fa5565b60405161051b9190613cd0565b60405180910390f35b34801561053057600080fd5b5061054b60048036038101906105469190613315565b611016565b005b34801561055957600080fd5b506105626110ac565b60405161056f9190613cd0565b60405180910390f35b34801561058457600080fd5b5061058d6110bb565b60405161059a9190613cd0565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c5919061335e565b6110c5565b6040516105d791906138ca565b60405180910390f35b3480156105ec57600080fd5b50610607600480360381019061060291906130f8565b611177565b6040516106149190613cd0565b60405180910390f35b34801561062957600080fd5b5061063261122f565b005b34801561064057600080fd5b5061065b6004803603810190610656919061335e565b6112b7565b005b6106656113c1565b005b34801561067357600080fd5b5061067c6114f8565b6040516106899190613cd0565b60405180910390f35b34801561069e57600080fd5b506106a76114fd565b6040516106b49190613cd0565b60405180910390f35b3480156106c957600080fd5b506106d2611508565b6040516106df91906138ca565b60405180910390f35b3480156106f457600080fd5b506106fd611532565b60405161070a919061396e565b60405180910390f35b34801561071f57600080fd5b5061073a6004803603810190610735919061323b565b6115c4565b005b34801561074857600080fd5b50610751611745565b60405161075e91906138ca565b60405180910390f35b34801561077357600080fd5b5061078e600480360381019061078991906131b8565b61175d565b005b34801561079c57600080fd5b506107b760048036038101906107b2919061335e565b6117bf565b6040516107c4919061396e565b60405180910390f35b3480156107d957600080fd5b506107f460048036038101906107ef919061335e565b611866565b005b34801561080257600080fd5b5061080b6118ec565b604051610818919061396e565b60405180910390f35b34801561082d57600080fd5b5061083661197a565b60405161084391906138ca565b60405180910390f35b34801561085857600080fd5b50610873600480360381019061086e9190613125565b611992565b6040516108809190613953565b60405180910390f35b34801561089557600080fd5b506108b060048036038101906108ab91906130f8565b611a26565b005b60006108bd82611b1e565b9050919050565b6060600080546108d390613fc4565b80601f01602080910402602001604051908101604052809291908181526020018280546108ff90613fc4565b801561094c5780601f106109215761010080835404028352916020019161094c565b820191906000526020600020905b81548152906001019060200180831161092f57829003601f168201915b5050505050905090565b600061096182611b98565b6109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790613b50565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e6826110c5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4e90613bf0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a76611c04565b73ffffffffffffffffffffffffffffffffffffffff161480610aa55750610aa481610a9f611c04565b611992565b5b610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb90613ab0565b60405180910390fd5b610aee8383611c0c565b505050565b6000600880549050905090565b610b11610b0b611c04565b82611cc5565b610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790613c50565b60405180910390fd5b610b5b838383611da3565b505050565b6000610b7c826658d15e17628000611fff90919063ffffffff16565b9050919050565b601481565b6000610b9383611177565b8210610bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcb906139b0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6122b881565b737b65085f81fab2269524cbdb896fe506ec5e7d1381565b6122b8610c56612015565b1115610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613b30565b60405180910390fd5b610c9f611508565b73ffffffffffffffffffffffffffffffffffffffff16610cbd611c04565b73ffffffffffffffffffffffffffffffffffffffff1614610d1e57600c54421015610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490613c10565b60405180910390fd5b5b6000610d28612015565b90506122b88282610d399190613df9565b1115610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190613a70565b60405180910390fd5b6122b8811115610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db690613b30565b60405180910390fd5b6014821115610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613990565b60405180910390fd5b610e0c82610b60565b341015610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590613bd0565b60405180910390fd5b60005b82811015610e7557610e6284612026565b8080610e6d90614027565b915050610e51565b50505050565b610e968383836040518060200160405280600081525061175d565b505050565b610eac610ea6611c04565b82611cc5565b610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290613cb0565b60405180910390fd5b610ef48161208f565b50565b60606000610f0483611177565b905060008167ffffffffffffffff811115610f2257610f2161418c565b5b604051908082528060200260200182016040528015610f505781602001602082028036833780820191505090505b50905060005b82811015610f9a57610f688582610b88565b828281518110610f7b57610f7a61415d565b5b6020026020010181815250508080610f9290614027565b915050610f56565b508092505050919050565b6000610faf610af3565b8210610ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe790613c70565b60405180910390fd5b600882815481106110045761100361415d565b5b90600052602060002001549050919050565b61101e611c04565b73ffffffffffffffffffffffffffffffffffffffff1661103c611508565b73ffffffffffffffffffffffffffffffffffffffff1614611092576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108990613b70565b60405180910390fd5b80600d90805190602001906110a8929190612f0c565b5050565b60006110b6612015565b905090565b6000600c54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116590613af0565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111df90613ad0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611237611c04565b73ffffffffffffffffffffffffffffffffffffffff16611255611508565b73ffffffffffffffffffffffffffffffffffffffff16146112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290613b70565b60405180910390fd5b6112b560006121a0565b565b6112bf611c04565b73ffffffffffffffffffffffffffffffffffffffff166112dd611508565b73ffffffffffffffffffffffffffffffffffffffff1614611333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132a90613b70565b60405180910390fd5b600061133d612015565b90506014828261134d9190613df9565b111561138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590613c90565b60405180910390fd5b60005b828110156113bc576113a96113a4611c04565b612026565b80806113b490614027565b915050611391565b505050565b6113c9611c04565b73ffffffffffffffffffffffffffffffffffffffff166113e7611508565b73ffffffffffffffffffffffffffffffffffffffff161461143d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143490613b70565b60405180910390fd5b60004790506000811161144f57600080fd5b611493737b65085f81fab2269524cbdb896fe506ec5e7d1361148e6064611480602386611fff90919063ffffffff16565b61226690919063ffffffff16565b61227c565b6114d77367a0cba675015212517f092ee7760f6b86e6c8aa6114d260646114c4601e86611fff90919063ffffffff16565b61226690919063ffffffff16565b61227c565b6114f5731473a8350b8f1ed87c7660b86005dd8e21ceabff4761227c565b50565b601481565b6658d15e1762800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461154190613fc4565b80601f016020809104026020016040519081016040528092919081815260200182805461156d90613fc4565b80156115ba5780601f1061158f576101008083540402835291602001916115ba565b820191906000526020600020905b81548152906001019060200180831161159d57829003601f168201915b5050505050905090565b6115cc611c04565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163190613a50565b60405180910390fd5b8060056000611647611c04565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116f4611c04565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117399190613953565b60405180910390a35050565b7367a0cba675015212517f092ee7760f6b86e6c8aa81565b61176e611768611c04565b83611cc5565b6117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a490613c50565b60405180910390fd5b6117b98484848461232d565b50505050565b60606117ca82611b98565b611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090613bb0565b60405180910390fd5b6000611813612389565b90506000815111611833576040518060200160405280600081525061185e565b8061183d8461241b565b60405160200161184e929190613891565b6040516020818303038152906040525b915050919050565b61186e611c04565b73ffffffffffffffffffffffffffffffffffffffff1661188c611508565b73ffffffffffffffffffffffffffffffffffffffff16146118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d990613b70565b60405180910390fd5b80600c8190555050565b600d80546118f990613fc4565b80601f016020809104026020016040519081016040528092919081815260200182805461192590613fc4565b80156119725780601f1061194757610100808354040283529160200191611972565b820191906000526020600020905b81548152906001019060200180831161195557829003601f168201915b505050505081565b731473a8350b8f1ed87c7660b86005dd8e21ceabff81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a2e611c04565b73ffffffffffffffffffffffffffffffffffffffff16611a4c611508565b73ffffffffffffffffffffffffffffffffffffffff1614611aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9990613b70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b09906139f0565b60405180910390fd5b611b1b816121a0565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b915750611b908261257c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c7f836110c5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611cd082611b98565b611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690613a90565b60405180910390fd5b6000611d1a836110c5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d8957508373ffffffffffffffffffffffffffffffffffffffff16611d7184610956565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d9a5750611d998185611992565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611dc3826110c5565b73ffffffffffffffffffffffffffffffffffffffff1614611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1090613b90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8090613a30565b60405180910390fd5b611e9483838361265e565b611e9f600082611c0c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eef9190613eda565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f469190613df9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361200d9190613e80565b905092915050565b6000612021600b61266e565b905090565b6000612030612015565b905061203c600b61267c565b6120528260018361204d9190613df9565b612692565b60018161205f9190613df9565b7ff332136b5176f1619e5291b34b6ad32bc59b8bd9ec51878d908cae896286bcb160405160405180910390a25050565b600061209a826110c5565b90506120a88160008461265e565b6120b3600083611c0c565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121039190613eda565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836122749190613e4f565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122a2906138b5565b60006040518083038185875af1925050503d80600081146122df576040519150601f19603f3d011682016040523d82523d6000602084013e6122e4565b606091505b5050905080612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f90613c30565b60405180910390fd5b505050565b612338848484611da3565b612344848484846126b0565b612383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237a906139d0565b60405180910390fd5b50505050565b6060600d805461239890613fc4565b80601f01602080910402602001604051908101604052809291908181526020018280546123c490613fc4565b80156124115780601f106123e657610100808354040283529160200191612411565b820191906000526020600020905b8154815290600101906020018083116123f457829003601f168201915b5050505050905090565b60606000821415612463576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612577565b600082905060005b6000821461249557808061247e90614027565b915050600a8261248e9190613e4f565b915061246b565b60008167ffffffffffffffff8111156124b1576124b061418c565b5b6040519080825280601f01601f1916602001820160405280156124e35781602001600182028036833780820191505090505b5090505b60008514612570576001826124fc9190613eda565b9150600a8561250b9190614070565b60306125179190613df9565b60f81b81838151811061252d5761252c61415d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125699190613e4f565b94506124e7565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061264757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612657575061265682612847565b5b9050919050565b6126698383836128b1565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6126ac8282604051806020016040528060008152506129c5565b5050565b60006126d18473ffffffffffffffffffffffffffffffffffffffff16612a20565b1561283a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126fa611c04565b8786866040518563ffffffff1660e01b815260040161271c94939291906138e5565b602060405180830381600087803b15801561273657600080fd5b505af192505050801561276757506040513d601f19601f8201168201806040525081019061276491906132e8565b60015b6127ea573d8060008114612797576040519150601f19603f3d011682016040523d82523d6000602084013e61279c565b606091505b506000815114156127e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d9906139d0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061283f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128bc838383612a33565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128ff576128fa81612a38565b61293e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461293d5761293c8382612a81565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129815761297c81612bee565b6129c0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129bf576129be8282612cbf565b5b5b505050565b6129cf8383612d3e565b6129dc60008484846126b0565b612a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a12906139d0565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a8e84611177565b612a989190613eda565b9050600060076000848152602001908152602001600020549050818114612b7d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c029190613eda565b9050600060096000848152602001908152602001600020549050600060088381548110612c3257612c3161415d565b5b906000526020600020015490508060088381548110612c5457612c5361415d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612ca357612ca261412e565b5b6001900381819060005260206000200160009055905550505050565b6000612cca83611177565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da590613b10565b60405180910390fd5b612db781611b98565b15612df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dee90613a10565b60405180910390fd5b612e036000838361265e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e539190613df9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612f1890613fc4565b90600052602060002090601f016020900481019282612f3a5760008555612f81565b82601f10612f5357805160ff1916838001178555612f81565b82800160010185558215612f81579182015b82811115612f80578251825591602001919060010190612f65565b5b509050612f8e9190612f92565b5090565b5b80821115612fab576000816000905550600101612f93565b5090565b6000612fc2612fbd84613d10565b613ceb565b905082815260208101848484011115612fde57612fdd6141c0565b5b612fe9848285613f82565b509392505050565b6000613004612fff84613d41565b613ceb565b9050828152602081018484840111156130205761301f6141c0565b5b61302b848285613f82565b509392505050565b60008135905061304281614847565b92915050565b6000813590506130578161485e565b92915050565b60008135905061306c81614875565b92915050565b60008151905061308181614875565b92915050565b600082601f83011261309c5761309b6141bb565b5b81356130ac848260208601612faf565b91505092915050565b600082601f8301126130ca576130c96141bb565b5b81356130da848260208601612ff1565b91505092915050565b6000813590506130f28161488c565b92915050565b60006020828403121561310e5761310d6141ca565b5b600061311c84828501613033565b91505092915050565b6000806040838503121561313c5761313b6141ca565b5b600061314a85828601613033565b925050602061315b85828601613033565b9150509250929050565b60008060006060848603121561317e5761317d6141ca565b5b600061318c86828701613033565b935050602061319d86828701613033565b92505060406131ae868287016130e3565b9150509250925092565b600080600080608085870312156131d2576131d16141ca565b5b60006131e087828801613033565b94505060206131f187828801613033565b9350506040613202878288016130e3565b925050606085013567ffffffffffffffff811115613223576132226141c5565b5b61322f87828801613087565b91505092959194509250565b60008060408385031215613252576132516141ca565b5b600061326085828601613033565b925050602061327185828601613048565b9150509250929050565b60008060408385031215613292576132916141ca565b5b60006132a085828601613033565b92505060206132b1858286016130e3565b9150509250929050565b6000602082840312156132d1576132d06141ca565b5b60006132df8482850161305d565b91505092915050565b6000602082840312156132fe576132fd6141ca565b5b600061330c84828501613072565b91505092915050565b60006020828403121561332b5761332a6141ca565b5b600082013567ffffffffffffffff811115613349576133486141c5565b5b613355848285016130b5565b91505092915050565b600060208284031215613374576133736141ca565b5b6000613382848285016130e3565b91505092915050565b60006133978383613873565b60208301905092915050565b6133ac81613f0e565b82525050565b60006133bd82613d82565b6133c78185613db0565b93506133d283613d72565b8060005b838110156134035781516133ea888261338b565b97506133f583613da3565b9250506001810190506133d6565b5085935050505092915050565b61341981613f20565b82525050565b600061342a82613d8d565b6134348185613dc1565b9350613444818560208601613f91565b61344d816141cf565b840191505092915050565b600061346382613d98565b61346d8185613ddd565b935061347d818560208601613f91565b613486816141cf565b840191505092915050565b600061349c82613d98565b6134a68185613dee565b93506134b6818560208601613f91565b80840191505092915050565b60006134cf600e83613ddd565b91506134da826141e0565b602082019050919050565b60006134f2602b83613ddd565b91506134fd82614209565b604082019050919050565b6000613515603283613ddd565b915061352082614258565b604082019050919050565b6000613538602683613ddd565b9150613543826142a7565b604082019050919050565b600061355b601c83613ddd565b9150613566826142f6565b602082019050919050565b600061357e602483613ddd565b91506135898261431f565b604082019050919050565b60006135a1601983613ddd565b91506135ac8261436e565b602082019050919050565b60006135c4600983613ddd565b91506135cf82614397565b602082019050919050565b60006135e7602c83613ddd565b91506135f2826143c0565b604082019050919050565b600061360a603883613ddd565b91506136158261440f565b604082019050919050565b600061362d602a83613ddd565b91506136388261445e565b604082019050919050565b6000613650602983613ddd565b915061365b826144ad565b604082019050919050565b6000613673602083613ddd565b915061367e826144fc565b602082019050919050565b6000613696600883613ddd565b91506136a182614525565b602082019050919050565b60006136b9602c83613ddd565b91506136c48261454e565b604082019050919050565b60006136dc602083613ddd565b91506136e78261459d565b602082019050919050565b60006136ff602983613ddd565b915061370a826145c6565b604082019050919050565b6000613722602f83613ddd565b915061372d82614615565b604082019050919050565b6000613745601183613ddd565b915061375082614664565b602082019050919050565b6000613768602183613ddd565b91506137738261468d565b604082019050919050565b600061378b600e83613ddd565b9150613796826146dc565b602082019050919050565b60006137ae600083613dd2565b91506137b982614705565b600082019050919050565b60006137d1601083613ddd565b91506137dc82614708565b602082019050919050565b60006137f4603183613ddd565b91506137ff82614731565b604082019050919050565b6000613817602c83613ddd565b915061382282614780565b604082019050919050565b600061383a600883613ddd565b9150613845826147cf565b602082019050919050565b600061385d603083613ddd565b9150613868826147f8565b604082019050919050565b61387c81613f78565b82525050565b61388b81613f78565b82525050565b600061389d8285613491565b91506138a98284613491565b91508190509392505050565b60006138c0826137a1565b9150819050919050565b60006020820190506138df60008301846133a3565b92915050565b60006080820190506138fa60008301876133a3565b61390760208301866133a3565b6139146040830185613882565b8181036060830152613926818461341f565b905095945050505050565b6000602082019050818103600083015261394b81846133b2565b905092915050565b60006020820190506139686000830184613410565b92915050565b600060208201905081810360008301526139888184613458565b905092915050565b600060208201905081810360008301526139a9816134c2565b9050919050565b600060208201905081810360008301526139c9816134e5565b9050919050565b600060208201905081810360008301526139e981613508565b9050919050565b60006020820190508181036000830152613a098161352b565b9050919050565b60006020820190508181036000830152613a298161354e565b9050919050565b60006020820190508181036000830152613a4981613571565b9050919050565b60006020820190508181036000830152613a6981613594565b9050919050565b60006020820190508181036000830152613a89816135b7565b9050919050565b60006020820190508181036000830152613aa9816135da565b9050919050565b60006020820190508181036000830152613ac9816135fd565b9050919050565b60006020820190508181036000830152613ae981613620565b9050919050565b60006020820190508181036000830152613b0981613643565b9050919050565b60006020820190508181036000830152613b2981613666565b9050919050565b60006020820190508181036000830152613b4981613689565b9050919050565b60006020820190508181036000830152613b69816136ac565b9050919050565b60006020820190508181036000830152613b89816136cf565b9050919050565b60006020820190508181036000830152613ba9816136f2565b9050919050565b60006020820190508181036000830152613bc981613715565b9050919050565b60006020820190508181036000830152613be981613738565b9050919050565b60006020820190508181036000830152613c098161375b565b9050919050565b60006020820190508181036000830152613c298161377e565b9050919050565b60006020820190508181036000830152613c49816137c4565b9050919050565b60006020820190508181036000830152613c69816137e7565b9050919050565b60006020820190508181036000830152613c898161380a565b9050919050565b60006020820190508181036000830152613ca98161382d565b9050919050565b60006020820190508181036000830152613cc981613850565b9050919050565b6000602082019050613ce56000830184613882565b92915050565b6000613cf5613d06565b9050613d018282613ff6565b919050565b6000604051905090565b600067ffffffffffffffff821115613d2b57613d2a61418c565b5b613d34826141cf565b9050602081019050919050565b600067ffffffffffffffff821115613d5c57613d5b61418c565b5b613d65826141cf565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e0482613f78565b9150613e0f83613f78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e4457613e436140a1565b5b828201905092915050565b6000613e5a82613f78565b9150613e6583613f78565b925082613e7557613e746140d0565b5b828204905092915050565b6000613e8b82613f78565b9150613e9683613f78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ecf57613ece6140a1565b5b828202905092915050565b6000613ee582613f78565b9150613ef083613f78565b925082821015613f0357613f026140a1565b5b828203905092915050565b6000613f1982613f58565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613faf578082015181840152602081019050613f94565b83811115613fbe576000848401525b50505050565b60006002820490506001821680613fdc57607f821691505b60208210811415613ff057613fef6140ff565b5b50919050565b613fff826141cf565b810181811067ffffffffffffffff8211171561401e5761401d61418c565b5b80604052505050565b600061403282613f78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614065576140646140a1565b5b600182019050919050565b600061407b82613f78565b915061408683613f78565b925082614096576140956140d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520656e64000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c6573206e6f74206f70656e000000000000000000000000000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4578636565646564000000000000000000000000000000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b61485081613f0e565b811461485b57600080fd5b50565b61486781613f20565b811461487257600080fd5b50565b61487e81613f2c565b811461488957600080fd5b50565b61489581613f78565b81146148a057600080fd5b5056fea2646970667358221220be331b0baa6323fa1f145add07e2f067236ea7493126665a6dcdf265a9d69e7a64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6170692e3364636174732e636c75622f6361742f00000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.3dcats.club/cat/

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


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

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