ETH Price: $3,275.47 (-3.96%)
Gas: 15 Gwei

Token

ApePunks (APEK)
 

Overview

Max Total Supply

1,868 APEK

Holders

688

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
punk828.eth
Balance
4 APEK
0x470e23c480a1161e012fb6d6dfe73843d316dd02
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Ape Punks is a collection of 10,000 programmatically generated NFTs on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ApePunks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : ApePunks.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/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./MyERC721Enumerable.sol";
import "./CollectionPartnerInterface.sol";

// thx Pudgy Penguins for the contract <3
contract ApePunks is MyERC721Enumerable, Ownable, ERC721Burnable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;

    uint256 public constant MAX_ELEMENTS = 10000;
    uint256 public constant PRICE = 0.03 ether;
    uint256 public constant MAX_BY_MINT = 20;
    uint256 public constant MAX_RESERVE = 150;

    address public constant nerdAddress = 0x3e5dDB87159DE8E4c0Bb2397720a11514D05Add1;
    address public constant beardyAddress = 0xD097279f0Eba6Ae2c6561C084c73D0c27279606E;
    address public constant dinoAddress = 0xD127b07954f3E57E3e5AaecbB7621b1dAa1ac440;

    uint private startSales = 1629403200; // 2021-08-19 à 20:00:00

    string public baseTokenURI;

    CollectionPartnerInterface private _collectionPartner;
    mapping (address => bool) private _walletClaim;

    event CreatePunk(uint256 indexed id);
    constructor(string memory baseURI) ERC721("ApePunks", "APEK") {
        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 CreatePunk(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(nerdAddress, balance.mul(20).div(100));
        _widthdraw(beardyAddress, balance.mul(40).div(100));
        _widthdraw(dinoAddress, 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, MyERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

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

    // for you my friends <3
    function setCollectionPartner(address _collectionContract) external onlyOwner {
        _collectionPartner = CollectionPartnerInterface(_collectionContract);
    }

    function mintPartnerFree() public saleIsOpen {
        uint256 _count = 1;
        uint256 total = _totalSupply();
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(total <= MAX_ELEMENTS, "Sale end");

        address _to = _msgSender();
        require(_walletClaim[_to] == false && _collectionPartner.walletOfOwner(_to).length > 0, "You can't mint free");

        _walletClaim[_to] = true;
        _mintAnElement(_to);
    }

    function hasPartnerCollection(address _to) public view returns(bool){
        return _walletClaim[_to] == false && _collectionPartner.walletOfOwner(_to).length > 0;
    }
}

File 2 of 17 : CollectionPartnerInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract CollectionPartnerInterface{
    function ownerOf(uint256 _token) public view returns(address){}
    function walletOfOwner(address _owner) public view returns(uint256[] memory){}
}

File 3 of 17 : MyERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/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 MyERC721Enumerable 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;

    // Mapping from owner to burn token
    mapping(address => uint256[]) private _ownedBurned;

    /**
     * personal functions
     */

    function hasBurn(address _ad) public view returns (bool){
        return _ownedBurned[_ad].length > 0;
    }
    function getBurnedToken(address _ad) public view returns (uint256[] memory){
        return _ownedBurned[_ad];
    }

    function getOwners() public view returns (address[] memory){	
        address[] memory owners = new address[](_allTokens.length);	
        for(uint i = 0; i < _allTokens.length; i++){	
            owners[i] = ERC721.ownerOf(_allTokens[i]);	
        }	
        return owners;	
    }

    /**
     * @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), "MyERC721Enumerable: 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 < MyERC721Enumerable.totalSupply(), "MyERC721Enumerable: 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)) {
            _ownedBurned[from].push(tokenId);
            _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 4 of 17 : 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 5 of 17 : 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 6 of 17 : 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 7 of 17 : 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 8 of 17 : 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 9 of 17 : 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 10 of 17 : 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 11 of 17 : 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 12 of 17 : 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 13 of 17 : 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 14 of 17 : 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 15 of 17 : 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 16 of 17 : 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 17 of 17 : 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":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"CreatePunk","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":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","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":[],"name":"beardyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dinoAddress","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":[{"internalType":"address","name":"_ad","type":"address"}],"name":"getBurnedToken","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwners","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":"_ad","type":"address"}],"name":"hasBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"hasPartnerCollection","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mintPartnerFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nerdAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_collectionContract","type":"address"}],"name":"setCollectionPartner","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"}]

608060405263611eb840600d553480156200001957600080fd5b5060405162005ac338038062005ac383398181016040528101906200003f9190620003e8565b6040518060400160405280600881526020017f41706550756e6b730000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4150454b000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c3929190620002ba565b508060019080519060200190620000dc929190620002ba565b505050620000ff620000f36200011760201b60201c565b6200011f60201b60201c565b6200011081620001e560201b60201c565b5062000640565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001f56200011760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200021b6200029060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000274576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026b9062000460565b60405180910390fd5b80600e90805190602001906200028c929190620002ba565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002c89062000528565b90600052602060002090601f016020900481019282620002ec576000855562000338565b82601f106200030757805160ff191683800117855562000338565b8280016001018555821562000338579182015b82811115620003375782518255916020019190600101906200031a565b5b5090506200034791906200034b565b5090565b5b80821115620003665760008160009055506001016200034c565b5090565b6000620003816200037b84620004ab565b62000482565b905082815260208101848484011115620003a0576200039f620005f7565b5b620003ad848285620004f2565b509392505050565b600082601f830112620003cd57620003cc620005f2565b5b8151620003df8482602086016200036a565b91505092915050565b60006020828403121562000401576200040062000601565b5b600082015167ffffffffffffffff811115620004225762000421620005fc565b5b6200043084828501620003b5565b91505092915050565b600062000448602083620004e1565b9150620004558262000617565b602082019050919050565b600060208201905081810360008301526200047b8162000439565b9050919050565b60006200048e620004a1565b90506200049c82826200055e565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c957620004c8620005c3565b5b620004d48262000606565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000512578082015181840152602081019050620004f5565b8381111562000522576000848401525b50505050565b600060028204905060018216806200054157607f821691505b6020821081141562000558576200055762000594565b5b50919050565b620005698262000606565b810181811067ffffffffffffffff821117156200058b576200058a620005c3565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61547380620006506000396000f3fe60806040526004361061025c5760003560e01c8063715018a611610144578063b88d4fde116100b6578063d547cfb71161007a578063d547cfb7146108f2578063dcfca9d21461091d578063e8f575551461095a578063e985e9c514610985578063eff31e9e146109c2578063f2fde38b146109ed5761025c565b8063b88d4fde146107fb578063bfd193d014610824578063c87b56dd14610861578063cb41ab5a1461089e578063d1e1f572146108c95761025c565b80638d859f3e116101085780638d859f3e1461070f5780638da5cb5b1461073a57806395d89b411461076557806398c3b3a314610790578063a0e67e2b146107a7578063a22cb465146107d25761025c565b8063715018a614610671578063791a336114610688578063819b25ba146106b1578063853828b6146106da5780638ad5de28146106e45761025c565b806342842e0e116101dd57806355f804b3116101a157806355f804b31461054d57806359a7715a1461057657806360db6e93146105a15780636352211e146105cc5780636da47f151461060957806370a08231146106345761025c565b806342842e0e1461044457806342966c681461046d578063438b6300146104965780634f6ccce7146104d357806353eda807146105105761025c565b806323b872dd1161022457806323b872dd1461035a57806326a49e37146103835780632f745c59146103c05780633502a716146103fd57806340c10f19146104285761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613c6c565b610a16565b60405161029591906143f1565b60405180910390f35b3480156102aa57600080fd5b506102b3610a28565b6040516102c0919061440c565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613d0f565b610aba565b6040516102fd9190614346565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613be3565b610b3f565b005b34801561033b57600080fd5b50610344610c57565b60405161035191906147ae565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613acd565b610c64565b005b34801561038f57600080fd5b506103aa60048036038101906103a59190613d0f565b610cc4565b6040516103b791906147ae565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190613be3565b610ce7565b6040516103f491906147ae565b60405180910390f35b34801561040957600080fd5b50610412610d8c565b60405161041f91906147ae565b60405180910390f35b610442600480360381019061043d9190613be3565b610d92565b005b34801561045057600080fd5b5061046b60048036038101906104669190613acd565b610fc2565b005b34801561047957600080fd5b50610494600480360381019061048f9190613d0f565b610fe2565b005b3480156104a257600080fd5b506104bd60048036038101906104b89190613a60565b61103e565b6040516104ca91906143cf565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190613d0f565b6110ec565b60405161050791906147ae565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190613a60565b61115d565b60405161054491906143f1565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190613cc6565b6111ab565b005b34801561058257600080fd5b5061058b611241565b60405161059891906147ae565b60405180910390f35b3480156105ad57600080fd5b506105b6611250565b6040516105c391906147ae565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee9190613d0f565b61125a565b6040516106009190614346565b60405180910390f35b34801561061557600080fd5b5061061e61130c565b60405161062b9190614346565b60405180910390f35b34801561064057600080fd5b5061065b60048036038101906106569190613a60565b611324565b60405161066891906147ae565b60405180910390f35b34801561067d57600080fd5b506106866113dc565b005b34801561069457600080fd5b506106af60048036038101906106aa9190613a60565b611464565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190613d0f565b611524565b005b6106e261162e565b005b3480156106f057600080fd5b506106f9611765565b60405161070691906147ae565b60405180910390f35b34801561071b57600080fd5b5061072461176a565b60405161073191906147ae565b60405180910390f35b34801561074657600080fd5b5061074f611775565b60405161075c9190614346565b60405180910390f35b34801561077157600080fd5b5061077a61179f565b604051610787919061440c565b60405180910390f35b34801561079c57600080fd5b506107a5611831565b005b3480156107b357600080fd5b506107bc611b6c565b6040516107c991906143ad565b60405180910390f35b3480156107de57600080fd5b506107f960048036038101906107f49190613ba3565b611c5f565b005b34801561080757600080fd5b50610822600480360381019061081d9190613b20565b611de0565b005b34801561083057600080fd5b5061084b60048036038101906108469190613a60565b611e42565b60405161085891906143f1565b60405180910390f35b34801561086d57600080fd5b5061088860048036038101906108839190613d0f565b611f5a565b604051610895919061440c565b60405180910390f35b3480156108aa57600080fd5b506108b3612001565b6040516108c09190614346565b60405180910390f35b3480156108d557600080fd5b506108f060048036038101906108eb9190613d0f565b612019565b005b3480156108fe57600080fd5b5061090761209f565b604051610914919061440c565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190613a60565b61212d565b60405161095191906143cf565b60405180910390f35b34801561096657600080fd5b5061096f6121c4565b60405161097c9190614346565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a79190613a8d565b6121dc565b6040516109b991906143f1565b60405180910390f35b3480156109ce57600080fd5b506109d7612270565b6040516109e491906147ae565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190613a60565b612275565b005b6000610a218261236d565b9050919050565b606060008054610a3790614b07565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6390614b07565b8015610ab05780601f10610a8557610100808354040283529160200191610ab0565b820191906000526020600020905b815481529060010190602001808311610a9357829003601f168201915b5050505050905090565b6000610ac5826123e7565b610b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afb9061466e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4a8261125a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061470e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bda612453565b73ffffffffffffffffffffffffffffffffffffffff161480610c095750610c0881610c03612453565b6121dc565b5b610c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3f906145ce565b60405180910390fd5b610c52838361245b565b505050565b6000600880549050905090565b610c75610c6f612453565b82612514565b610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab9061474e565b60405180910390fd5b610cbf8383836125f2565b505050565b6000610ce082666a94d74f43000061284e90919063ffffffff16565b9050919050565b6000610cf283611324565b8210610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a9061456e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b612710610d9d612864565b1115610dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd59061442e565b60405180910390fd5b610de6611775565b73ffffffffffffffffffffffffffffffffffffffff16610e04612453565b73ffffffffffffffffffffffffffffffffffffffff1614610e6557600d54421015610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b9061448e565b60405180910390fd5b5b6000610e6f612864565b90506127108282610e80919061493c565b1115610ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb89061458e565b60405180910390fd5b612710811115610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061464e565b60405180910390fd5b6014821115610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f41906144ae565b60405180910390fd5b610f5382610cc4565b341015610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906146ee565b60405180910390fd5b60005b82811015610fbc57610fa984612875565b8080610fb490614b6a565b915050610f98565b50505050565b610fdd83838360405180602001604052806000815250611de0565b505050565b610ff3610fed612453565b82612514565b611032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110299061476e565b60405180910390fd5b61103b816128de565b50565b6060600061104b83611324565b905060008167ffffffffffffffff81111561106957611068614ccf565b5b6040519080825280602002602001820160405280156110975781602001602082028036833780820191505090505b50905060005b828110156110e1576110af8582610ce7565b8282815181106110c2576110c1614ca0565b5b60200260200101818152505080806110d990614b6a565b91505061109d565b508092505050919050565b60006110f6610c57565b8210611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e9061478e565b60405180910390fd5b6008828154811061114b5761114a614ca0565b5b90600052602060002001549050919050565b600080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050119050919050565b6111b3612453565b73ffffffffffffffffffffffffffffffffffffffff166111d1611775565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e9061468e565b60405180910390fd5b80600e908051906020019061123d9291906137c1565b5050565b600061124b612864565b905090565b6000600d54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa9061460e565b60405180910390fd5b80915050919050565b733e5ddb87159de8e4c0bb2397720a11514d05add181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c906145ee565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e4612453565b73ffffffffffffffffffffffffffffffffffffffff16611402611775565b73ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061468e565b60405180910390fd5b61146260006129ef565b565b61146c612453565b73ffffffffffffffffffffffffffffffffffffffff1661148a611775565b73ffffffffffffffffffffffffffffffffffffffff16146114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d79061468e565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61152c612453565b73ffffffffffffffffffffffffffffffffffffffff1661154a611775565b73ffffffffffffffffffffffffffffffffffffffff16146115a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115979061468e565b60405180910390fd5b60006115aa612864565b9050609682826115ba919061493c565b11156115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f29061444e565b60405180910390fd5b60005b8281101561162957611616611611612453565b612875565b808061162190614b6a565b9150506115fe565b505050565b611636612453565b73ffffffffffffffffffffffffffffffffffffffff16611654611775565b73ffffffffffffffffffffffffffffffffffffffff16146116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a19061468e565b60405180910390fd5b6000479050600081116116bc57600080fd5b611700733e5ddb87159de8e4c0bb2397720a11514d05add16116fb60646116ed60148661284e90919063ffffffff16565b612ab590919063ffffffff16565b612acb565b61174473d097279f0eba6ae2c6561c084c73d0c27279606e61173f606461173160288661284e90919063ffffffff16565b612ab590919063ffffffff16565b612acb565b61176273d127b07954f3e57e3e5aaecbb7621b1daa1ac44047612acb565b50565b601481565b666a94d74f43000081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546117ae90614b07565b80601f01602080910402602001604051908101604052809291908181526020018280546117da90614b07565b80156118275780601f106117fc57610100808354040283529160200191611827565b820191906000526020600020905b81548152906001019060200180831161180a57829003601f168201915b5050505050905090565b61271061183c612864565b111561187d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118749061442e565b60405180910390fd5b611885611775565b73ffffffffffffffffffffffffffffffffffffffff166118a3612453565b73ffffffffffffffffffffffffffffffffffffffff161461190457600d54421015611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa9061448e565b60405180910390fd5b5b6000600190506000611914612864565b90506127108282611925919061493c565b1115611966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195d9061458e565b60405180910390fd5b6127108111156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a29061464e565b60405180910390fd5b60006119b5612453565b905060001515601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611ac757506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300836040518263ffffffff1660e01b8152600401611a6f9190614346565b60006040518083038186803b158015611a8757600080fd5b505afa158015611a9b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ac49190613c23565b51115b611b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afd9061446e565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b6781612875565b505050565b6060600060088054905067ffffffffffffffff811115611b8f57611b8e614ccf565b5b604051908082528060200260200182016040528015611bbd5781602001602082028036833780820191505090505b50905060005b600880549050811015611c5757611bf760088281548110611be757611be6614ca0565b5b906000526020600020015461125a565b828281518110611c0a57611c09614ca0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080611c4f90614b6a565b915050611bc3565b508091505090565b611c67612453565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccc9061454e565b60405180910390fd5b8060056000611ce2612453565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d8f612453565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dd491906143f1565b60405180910390a35050565b611df1611deb612453565b83612514565b611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e279061474e565b60405180910390fd5b611e3c84848484612b7c565b50505050565b6000801515601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611f5357506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300846040518263ffffffff1660e01b8152600401611efb9190614346565b60006040518083038186803b158015611f1357600080fd5b505afa158015611f27573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f509190613c23565b51115b9050919050565b6060611f65826123e7565b611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b906146ce565b60405180910390fd5b6000611fae612bd8565b90506000815111611fce5760405180602001604052806000815250611ff9565b80611fd884612c6a565b604051602001611fe992919061430d565b6040516020818303038152906040525b915050919050565b73d097279f0eba6ae2c6561c084c73d0c27279606e81565b612021612453565b73ffffffffffffffffffffffffffffffffffffffff1661203f611775565b73ffffffffffffffffffffffffffffffffffffffff1614612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c9061468e565b60405180910390fd5b80600d8190555050565b600e80546120ac90614b07565b80601f01602080910402602001604051908101604052809291908181526020018280546120d890614b07565b80156121255780601f106120fa57610100808354040283529160200191612125565b820191906000526020600020905b81548152906001019060200180831161210857829003601f168201915b505050505081565b6060600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156121b857602002820191906000526020600020905b8154815260200190600101908083116121a4575b50505050509050919050565b73d127b07954f3e57e3e5aaecbb7621b1daa1ac44081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b609681565b61227d612453565b73ffffffffffffffffffffffffffffffffffffffff1661229b611775565b73ffffffffffffffffffffffffffffffffffffffff16146122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e89061468e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612358906144ee565b60405180910390fd5b61236a816129ef565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123e057506123df82612dcb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124ce8361125a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061251f826123e7565b61255e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612555906145ae565b60405180910390fd5b60006125698361125a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125d857508373ffffffffffffffffffffffffffffffffffffffff166125c084610aba565b73ffffffffffffffffffffffffffffffffffffffff16145b806125e957506125e881856121dc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126128261125a565b73ffffffffffffffffffffffffffffffffffffffff1614612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f906146ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cf9061452e565b60405180910390fd5b6126e3838383612ead565b6126ee60008261245b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461273e9190614a1d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612795919061493c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361285c91906149c3565b905092915050565b6000612870600c612ebd565b905090565b600061287f612864565b905061288b600c612ecb565b6128a18260018361289c919061493c565b612ee1565b6001816128ae919061493c565b7ff242b78c8d71167bfd77b96ff29b1a506676871b228a1d6a51c924cb0e2e5f4f60405160405180910390a25050565b60006128e98261125a565b90506128f781600084612ead565b61290260008361245b565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129529190614a1d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ac39190614992565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612af190614331565b60006040518083038185875af1925050503d8060008114612b2e576040519150601f19603f3d011682016040523d82523d6000602084013e612b33565b606091505b5050905080612b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6e9061472e565b60405180910390fd5b505050565b612b878484846125f2565b612b9384848484612eff565b612bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc9906144ce565b60405180910390fd5b50505050565b6060600e8054612be790614b07565b80601f0160208091040260200160405190810160405280929190818152602001828054612c1390614b07565b8015612c605780601f10612c3557610100808354040283529160200191612c60565b820191906000526020600020905b815481529060010190602001808311612c4357829003601f168201915b5050505050905090565b60606000821415612cb2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dc6565b600082905060005b60008214612ce4578080612ccd90614b6a565b915050600a82612cdd9190614992565b9150612cba565b60008167ffffffffffffffff811115612d0057612cff614ccf565b5b6040519080825280601f01601f191660200182016040528015612d325781602001600182028036833780820191505090505b5090505b60008514612dbf57600182612d4b9190614a1d565b9150600a85612d5a9190614bb3565b6030612d66919061493c565b60f81b818381518110612d7c57612d7b614ca0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612db89190614992565b9450612d36565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e9657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ea65750612ea582613096565b5b9050919050565b612eb8838383613100565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612efb82826040518060200160405280600081525061327a565b5050565b6000612f208473ffffffffffffffffffffffffffffffffffffffff166132d5565b15613089578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f49612453565b8786866040518563ffffffff1660e01b8152600401612f6b9493929190614361565b602060405180830381600087803b158015612f8557600080fd5b505af1925050508015612fb657506040513d601f19601f82011682018060405250810190612fb39190613c99565b60015b613039573d8060008114612fe6576040519150601f19603f3d011682016040523d82523d6000602084013e612feb565b606091505b50600081511415613031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613028906144ce565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061308e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61310b8383836132e8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314e57613149816132ed565b61318d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318c5761318b8382613336565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561323657600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055613231816134a3565b613275565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613274576132738282613574565b5b5b505050565b61328483836135f3565b6132916000848484612eff565b6132d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c7906144ce565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161334384611324565b61334d9190614a1d565b9050600060076000848152602001908152602001600020549050818114613432576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134b79190614a1d565b90506000600960008481526020019081526020016000205490506000600883815481106134e7576134e6614ca0565b5b90600052602060002001549050806008838154811061350957613508614ca0565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061355857613557614c71565b5b6001900381819060005260206000200160009055905550505050565b600061357f83611324565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365a9061462e565b60405180910390fd5b61366c816123e7565b156136ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a39061450e565b60405180910390fd5b6136b860008383612ead565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613708919061493c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137cd90614b07565b90600052602060002090601f0160209004810192826137ef5760008555613836565b82601f1061380857805160ff1916838001178555613836565b82800160010185558215613836579182015b8281111561383557825182559160200191906001019061381a565b5b5090506138439190613847565b5090565b5b80821115613860576000816000905550600101613848565b5090565b6000613877613872846147ee565b6147c9565b9050808382526020820190508285602086028201111561389a57613899614d03565b5b60005b858110156138ca57816138b08882613a4b565b84526020840193506020830192505060018101905061389d565b5050509392505050565b60006138e76138e28461481a565b6147c9565b90508281526020810184848401111561390357613902614d08565b5b61390e848285614ac5565b509392505050565b60006139296139248461484b565b6147c9565b90508281526020810184848401111561394557613944614d08565b5b613950848285614ac5565b509392505050565b600081359050613967816153e1565b92915050565b600082601f83011261398257613981614cfe565b5b8151613992848260208601613864565b91505092915050565b6000813590506139aa816153f8565b92915050565b6000813590506139bf8161540f565b92915050565b6000815190506139d48161540f565b92915050565b600082601f8301126139ef576139ee614cfe565b5b81356139ff8482602086016138d4565b91505092915050565b600082601f830112613a1d57613a1c614cfe565b5b8135613a2d848260208601613916565b91505092915050565b600081359050613a4581615426565b92915050565b600081519050613a5a81615426565b92915050565b600060208284031215613a7657613a75614d12565b5b6000613a8484828501613958565b91505092915050565b60008060408385031215613aa457613aa3614d12565b5b6000613ab285828601613958565b9250506020613ac385828601613958565b9150509250929050565b600080600060608486031215613ae657613ae5614d12565b5b6000613af486828701613958565b9350506020613b0586828701613958565b9250506040613b1686828701613a36565b9150509250925092565b60008060008060808587031215613b3a57613b39614d12565b5b6000613b4887828801613958565b9450506020613b5987828801613958565b9350506040613b6a87828801613a36565b925050606085013567ffffffffffffffff811115613b8b57613b8a614d0d565b5b613b97878288016139da565b91505092959194509250565b60008060408385031215613bba57613bb9614d12565b5b6000613bc885828601613958565b9250506020613bd98582860161399b565b9150509250929050565b60008060408385031215613bfa57613bf9614d12565b5b6000613c0885828601613958565b9250506020613c1985828601613a36565b9150509250929050565b600060208284031215613c3957613c38614d12565b5b600082015167ffffffffffffffff811115613c5757613c56614d0d565b5b613c638482850161396d565b91505092915050565b600060208284031215613c8257613c81614d12565b5b6000613c90848285016139b0565b91505092915050565b600060208284031215613caf57613cae614d12565b5b6000613cbd848285016139c5565b91505092915050565b600060208284031215613cdc57613cdb614d12565b5b600082013567ffffffffffffffff811115613cfa57613cf9614d0d565b5b613d0684828501613a08565b91505092915050565b600060208284031215613d2557613d24614d12565b5b6000613d3384828501613a36565b91505092915050565b6000613d488383613d6c565b60208301905092915050565b6000613d6083836142ef565b60208301905092915050565b613d7581614a51565b82525050565b613d8481614a51565b82525050565b6000613d958261489c565b613d9f81856148e2565b9350613daa8361487c565b8060005b83811015613ddb578151613dc28882613d3c565b9750613dcd836148c8565b925050600181019050613dae565b5085935050505092915050565b6000613df3826148a7565b613dfd81856148f3565b9350613e088361488c565b8060005b83811015613e39578151613e208882613d54565b9750613e2b836148d5565b925050600181019050613e0c565b5085935050505092915050565b613e4f81614a63565b82525050565b6000613e60826148b2565b613e6a8185614904565b9350613e7a818560208601614ad4565b613e8381614d17565b840191505092915050565b6000613e99826148bd565b613ea38185614920565b9350613eb3818560208601614ad4565b613ebc81614d17565b840191505092915050565b6000613ed2826148bd565b613edc8185614931565b9350613eec818560208601614ad4565b80840191505092915050565b6000613f05600983614920565b9150613f1082614d28565b602082019050919050565b6000613f28601383614920565b9150613f3382614d51565b602082019050919050565b6000613f4b601383614920565b9150613f5682614d7a565b602082019050919050565b6000613f6e600f83614920565b9150613f7982614da3565b602082019050919050565b6000613f91600e83614920565b9150613f9c82614dcc565b602082019050919050565b6000613fb4603283614920565b9150613fbf82614df5565b604082019050919050565b6000613fd7602683614920565b9150613fe282614e44565b604082019050919050565b6000613ffa601c83614920565b915061400582614e93565b602082019050919050565b600061401d602483614920565b915061402882614ebc565b604082019050919050565b6000614040601983614920565b915061404b82614f0b565b602082019050919050565b6000614063602d83614920565b915061406e82614f34565b604082019050919050565b6000614086600983614920565b915061409182614f83565b602082019050919050565b60006140a9602c83614920565b91506140b482614fac565b604082019050919050565b60006140cc603883614920565b91506140d782614ffb565b604082019050919050565b60006140ef602a83614920565b91506140fa8261504a565b604082019050919050565b6000614112602983614920565b915061411d82615099565b604082019050919050565b6000614135602083614920565b9150614140826150e8565b602082019050919050565b6000614158600883614920565b915061416382615111565b602082019050919050565b600061417b602c83614920565b91506141868261513a565b604082019050919050565b600061419e602083614920565b91506141a982615189565b602082019050919050565b60006141c1602983614920565b91506141cc826151b2565b604082019050919050565b60006141e4602f83614920565b91506141ef82615201565b604082019050919050565b6000614207601183614920565b915061421282615250565b602082019050919050565b600061422a602183614920565b915061423582615279565b604082019050919050565b600061424d600083614915565b9150614258826152c8565b600082019050919050565b6000614270601083614920565b915061427b826152cb565b602082019050919050565b6000614293603183614920565b915061429e826152f4565b604082019050919050565b60006142b6603083614920565b91506142c182615343565b604082019050919050565b60006142d9602e83614920565b91506142e482615392565b604082019050919050565b6142f881614abb565b82525050565b61430781614abb565b82525050565b60006143198285613ec7565b91506143258284613ec7565b91508190509392505050565b600061433c82614240565b9150819050919050565b600060208201905061435b6000830184613d7b565b92915050565b60006080820190506143766000830187613d7b565b6143836020830186613d7b565b61439060408301856142fe565b81810360608301526143a28184613e55565b905095945050505050565b600060208201905081810360008301526143c78184613d8a565b905092915050565b600060208201905081810360008301526143e98184613de8565b905092915050565b60006020820190506144066000830184613e46565b92915050565b600060208201905081810360008301526144268184613e8e565b905092915050565b6000602082019050818103600083015261444781613ef8565b9050919050565b6000602082019050818103600083015261446781613f1b565b9050919050565b6000602082019050818103600083015261448781613f3e565b9050919050565b600060208201905081810360008301526144a781613f61565b9050919050565b600060208201905081810360008301526144c781613f84565b9050919050565b600060208201905081810360008301526144e781613fa7565b9050919050565b6000602082019050818103600083015261450781613fca565b9050919050565b6000602082019050818103600083015261452781613fed565b9050919050565b6000602082019050818103600083015261454781614010565b9050919050565b6000602082019050818103600083015261456781614033565b9050919050565b6000602082019050818103600083015261458781614056565b9050919050565b600060208201905081810360008301526145a781614079565b9050919050565b600060208201905081810360008301526145c78161409c565b9050919050565b600060208201905081810360008301526145e7816140bf565b9050919050565b60006020820190508181036000830152614607816140e2565b9050919050565b6000602082019050818103600083015261462781614105565b9050919050565b6000602082019050818103600083015261464781614128565b9050919050565b600060208201905081810360008301526146678161414b565b9050919050565b600060208201905081810360008301526146878161416e565b9050919050565b600060208201905081810360008301526146a781614191565b9050919050565b600060208201905081810360008301526146c7816141b4565b9050919050565b600060208201905081810360008301526146e7816141d7565b9050919050565b60006020820190508181036000830152614707816141fa565b9050919050565b600060208201905081810360008301526147278161421d565b9050919050565b6000602082019050818103600083015261474781614263565b9050919050565b6000602082019050818103600083015261476781614286565b9050919050565b60006020820190508181036000830152614787816142a9565b9050919050565b600060208201905081810360008301526147a7816142cc565b9050919050565b60006020820190506147c360008301846142fe565b92915050565b60006147d36147e4565b90506147df8282614b39565b919050565b6000604051905090565b600067ffffffffffffffff82111561480957614808614ccf565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561483557614834614ccf565b5b61483e82614d17565b9050602081019050919050565b600067ffffffffffffffff82111561486657614865614ccf565b5b61486f82614d17565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061494782614abb565b915061495283614abb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561498757614986614be4565b5b828201905092915050565b600061499d82614abb565b91506149a883614abb565b9250826149b8576149b7614c13565b5b828204905092915050565b60006149ce82614abb565b91506149d983614abb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a1257614a11614be4565b5b828202905092915050565b6000614a2882614abb565b9150614a3383614abb565b925082821015614a4657614a45614be4565b5b828203905092915050565b6000614a5c82614a9b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614af2578082015181840152602081019050614ad7565b83811115614b01576000848401525b50505050565b60006002820490506001821680614b1f57607f821691505b60208210811415614b3357614b32614c42565b5b50919050565b614b4282614d17565b810181811067ffffffffffffffff82111715614b6157614b60614ccf565b5b80604052505050565b6000614b7582614abb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ba857614ba7614be4565b5b600182019050919050565b6000614bbe82614abb565b9150614bc983614abb565b925082614bd957614bd8614c13565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520656e642e0000000000000000000000000000000000000000000000600082015250565b7f4578636565646564206769766561776179732e00000000000000000000000000600082015250565b7f596f752063616e2774206d696e74206672656500000000000000000000000000600082015250565b7f53616c6573206e6f74206f70656e2e0000000000000000000000000000000000600082015250565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d79455243373231456e756d657261626c653a206f776e657220696e6465782060008201527f6f7574206f6620626f756e647300000000000000000000000000000000000000602082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520656e64000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4d79455243373231456e756d657261626c653a20676c6f62616c20696e64657860008201527f206f7574206f6620626f756e6473000000000000000000000000000000000000602082015250565b6153ea81614a51565b81146153f557600080fd5b50565b61540181614a63565b811461540c57600080fd5b50565b61541881614a6f565b811461542357600080fd5b50565b61542f81614abb565b811461543a57600080fd5b5056fea26469706673582212202990f098e69606b1f03e52d37c0ce5330be0d4b6935f6f3115d2c9c3b47ce82364736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6170692e61706570756e6b732e696f2f70756e6b2f000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c8063715018a611610144578063b88d4fde116100b6578063d547cfb71161007a578063d547cfb7146108f2578063dcfca9d21461091d578063e8f575551461095a578063e985e9c514610985578063eff31e9e146109c2578063f2fde38b146109ed5761025c565b8063b88d4fde146107fb578063bfd193d014610824578063c87b56dd14610861578063cb41ab5a1461089e578063d1e1f572146108c95761025c565b80638d859f3e116101085780638d859f3e1461070f5780638da5cb5b1461073a57806395d89b411461076557806398c3b3a314610790578063a0e67e2b146107a7578063a22cb465146107d25761025c565b8063715018a614610671578063791a336114610688578063819b25ba146106b1578063853828b6146106da5780638ad5de28146106e45761025c565b806342842e0e116101dd57806355f804b3116101a157806355f804b31461054d57806359a7715a1461057657806360db6e93146105a15780636352211e146105cc5780636da47f151461060957806370a08231146106345761025c565b806342842e0e1461044457806342966c681461046d578063438b6300146104965780634f6ccce7146104d357806353eda807146105105761025c565b806323b872dd1161022457806323b872dd1461035a57806326a49e37146103835780632f745c59146103c05780633502a716146103fd57806340c10f19146104285761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613c6c565b610a16565b60405161029591906143f1565b60405180910390f35b3480156102aa57600080fd5b506102b3610a28565b6040516102c0919061440c565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613d0f565b610aba565b6040516102fd9190614346565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613be3565b610b3f565b005b34801561033b57600080fd5b50610344610c57565b60405161035191906147ae565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613acd565b610c64565b005b34801561038f57600080fd5b506103aa60048036038101906103a59190613d0f565b610cc4565b6040516103b791906147ae565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190613be3565b610ce7565b6040516103f491906147ae565b60405180910390f35b34801561040957600080fd5b50610412610d8c565b60405161041f91906147ae565b60405180910390f35b610442600480360381019061043d9190613be3565b610d92565b005b34801561045057600080fd5b5061046b60048036038101906104669190613acd565b610fc2565b005b34801561047957600080fd5b50610494600480360381019061048f9190613d0f565b610fe2565b005b3480156104a257600080fd5b506104bd60048036038101906104b89190613a60565b61103e565b6040516104ca91906143cf565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190613d0f565b6110ec565b60405161050791906147ae565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190613a60565b61115d565b60405161054491906143f1565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190613cc6565b6111ab565b005b34801561058257600080fd5b5061058b611241565b60405161059891906147ae565b60405180910390f35b3480156105ad57600080fd5b506105b6611250565b6040516105c391906147ae565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee9190613d0f565b61125a565b6040516106009190614346565b60405180910390f35b34801561061557600080fd5b5061061e61130c565b60405161062b9190614346565b60405180910390f35b34801561064057600080fd5b5061065b60048036038101906106569190613a60565b611324565b60405161066891906147ae565b60405180910390f35b34801561067d57600080fd5b506106866113dc565b005b34801561069457600080fd5b506106af60048036038101906106aa9190613a60565b611464565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190613d0f565b611524565b005b6106e261162e565b005b3480156106f057600080fd5b506106f9611765565b60405161070691906147ae565b60405180910390f35b34801561071b57600080fd5b5061072461176a565b60405161073191906147ae565b60405180910390f35b34801561074657600080fd5b5061074f611775565b60405161075c9190614346565b60405180910390f35b34801561077157600080fd5b5061077a61179f565b604051610787919061440c565b60405180910390f35b34801561079c57600080fd5b506107a5611831565b005b3480156107b357600080fd5b506107bc611b6c565b6040516107c991906143ad565b60405180910390f35b3480156107de57600080fd5b506107f960048036038101906107f49190613ba3565b611c5f565b005b34801561080757600080fd5b50610822600480360381019061081d9190613b20565b611de0565b005b34801561083057600080fd5b5061084b60048036038101906108469190613a60565b611e42565b60405161085891906143f1565b60405180910390f35b34801561086d57600080fd5b5061088860048036038101906108839190613d0f565b611f5a565b604051610895919061440c565b60405180910390f35b3480156108aa57600080fd5b506108b3612001565b6040516108c09190614346565b60405180910390f35b3480156108d557600080fd5b506108f060048036038101906108eb9190613d0f565b612019565b005b3480156108fe57600080fd5b5061090761209f565b604051610914919061440c565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190613a60565b61212d565b60405161095191906143cf565b60405180910390f35b34801561096657600080fd5b5061096f6121c4565b60405161097c9190614346565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a79190613a8d565b6121dc565b6040516109b991906143f1565b60405180910390f35b3480156109ce57600080fd5b506109d7612270565b6040516109e491906147ae565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190613a60565b612275565b005b6000610a218261236d565b9050919050565b606060008054610a3790614b07565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6390614b07565b8015610ab05780601f10610a8557610100808354040283529160200191610ab0565b820191906000526020600020905b815481529060010190602001808311610a9357829003601f168201915b5050505050905090565b6000610ac5826123e7565b610b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afb9061466e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4a8261125a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061470e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bda612453565b73ffffffffffffffffffffffffffffffffffffffff161480610c095750610c0881610c03612453565b6121dc565b5b610c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3f906145ce565b60405180910390fd5b610c52838361245b565b505050565b6000600880549050905090565b610c75610c6f612453565b82612514565b610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab9061474e565b60405180910390fd5b610cbf8383836125f2565b505050565b6000610ce082666a94d74f43000061284e90919063ffffffff16565b9050919050565b6000610cf283611324565b8210610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a9061456e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b612710610d9d612864565b1115610dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd59061442e565b60405180910390fd5b610de6611775565b73ffffffffffffffffffffffffffffffffffffffff16610e04612453565b73ffffffffffffffffffffffffffffffffffffffff1614610e6557600d54421015610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b9061448e565b60405180910390fd5b5b6000610e6f612864565b90506127108282610e80919061493c565b1115610ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb89061458e565b60405180910390fd5b612710811115610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061464e565b60405180910390fd5b6014821115610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f41906144ae565b60405180910390fd5b610f5382610cc4565b341015610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906146ee565b60405180910390fd5b60005b82811015610fbc57610fa984612875565b8080610fb490614b6a565b915050610f98565b50505050565b610fdd83838360405180602001604052806000815250611de0565b505050565b610ff3610fed612453565b82612514565b611032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110299061476e565b60405180910390fd5b61103b816128de565b50565b6060600061104b83611324565b905060008167ffffffffffffffff81111561106957611068614ccf565b5b6040519080825280602002602001820160405280156110975781602001602082028036833780820191505090505b50905060005b828110156110e1576110af8582610ce7565b8282815181106110c2576110c1614ca0565b5b60200260200101818152505080806110d990614b6a565b91505061109d565b508092505050919050565b60006110f6610c57565b8210611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e9061478e565b60405180910390fd5b6008828154811061114b5761114a614ca0565b5b90600052602060002001549050919050565b600080600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050119050919050565b6111b3612453565b73ffffffffffffffffffffffffffffffffffffffff166111d1611775565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e9061468e565b60405180910390fd5b80600e908051906020019061123d9291906137c1565b5050565b600061124b612864565b905090565b6000600d54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa9061460e565b60405180910390fd5b80915050919050565b733e5ddb87159de8e4c0bb2397720a11514d05add181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c906145ee565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e4612453565b73ffffffffffffffffffffffffffffffffffffffff16611402611775565b73ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061468e565b60405180910390fd5b61146260006129ef565b565b61146c612453565b73ffffffffffffffffffffffffffffffffffffffff1661148a611775565b73ffffffffffffffffffffffffffffffffffffffff16146114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d79061468e565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61152c612453565b73ffffffffffffffffffffffffffffffffffffffff1661154a611775565b73ffffffffffffffffffffffffffffffffffffffff16146115a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115979061468e565b60405180910390fd5b60006115aa612864565b9050609682826115ba919061493c565b11156115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f29061444e565b60405180910390fd5b60005b8281101561162957611616611611612453565b612875565b808061162190614b6a565b9150506115fe565b505050565b611636612453565b73ffffffffffffffffffffffffffffffffffffffff16611654611775565b73ffffffffffffffffffffffffffffffffffffffff16146116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a19061468e565b60405180910390fd5b6000479050600081116116bc57600080fd5b611700733e5ddb87159de8e4c0bb2397720a11514d05add16116fb60646116ed60148661284e90919063ffffffff16565b612ab590919063ffffffff16565b612acb565b61174473d097279f0eba6ae2c6561c084c73d0c27279606e61173f606461173160288661284e90919063ffffffff16565b612ab590919063ffffffff16565b612acb565b61176273d127b07954f3e57e3e5aaecbb7621b1daa1ac44047612acb565b50565b601481565b666a94d74f43000081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546117ae90614b07565b80601f01602080910402602001604051908101604052809291908181526020018280546117da90614b07565b80156118275780601f106117fc57610100808354040283529160200191611827565b820191906000526020600020905b81548152906001019060200180831161180a57829003601f168201915b5050505050905090565b61271061183c612864565b111561187d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118749061442e565b60405180910390fd5b611885611775565b73ffffffffffffffffffffffffffffffffffffffff166118a3612453565b73ffffffffffffffffffffffffffffffffffffffff161461190457600d54421015611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa9061448e565b60405180910390fd5b5b6000600190506000611914612864565b90506127108282611925919061493c565b1115611966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195d9061458e565b60405180910390fd5b6127108111156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a29061464e565b60405180910390fd5b60006119b5612453565b905060001515601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611ac757506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300836040518263ffffffff1660e01b8152600401611a6f9190614346565b60006040518083038186803b158015611a8757600080fd5b505afa158015611a9b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ac49190613c23565b51115b611b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afd9061446e565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b6781612875565b505050565b6060600060088054905067ffffffffffffffff811115611b8f57611b8e614ccf565b5b604051908082528060200260200182016040528015611bbd5781602001602082028036833780820191505090505b50905060005b600880549050811015611c5757611bf760088281548110611be757611be6614ca0565b5b906000526020600020015461125a565b828281518110611c0a57611c09614ca0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080611c4f90614b6a565b915050611bc3565b508091505090565b611c67612453565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccc9061454e565b60405180910390fd5b8060056000611ce2612453565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d8f612453565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611dd491906143f1565b60405180910390a35050565b611df1611deb612453565b83612514565b611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e279061474e565b60405180910390fd5b611e3c84848484612b7c565b50505050565b6000801515601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611f5357506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663438b6300846040518263ffffffff1660e01b8152600401611efb9190614346565b60006040518083038186803b158015611f1357600080fd5b505afa158015611f27573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f509190613c23565b51115b9050919050565b6060611f65826123e7565b611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b906146ce565b60405180910390fd5b6000611fae612bd8565b90506000815111611fce5760405180602001604052806000815250611ff9565b80611fd884612c6a565b604051602001611fe992919061430d565b6040516020818303038152906040525b915050919050565b73d097279f0eba6ae2c6561c084c73d0c27279606e81565b612021612453565b73ffffffffffffffffffffffffffffffffffffffff1661203f611775565b73ffffffffffffffffffffffffffffffffffffffff1614612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c9061468e565b60405180910390fd5b80600d8190555050565b600e80546120ac90614b07565b80601f01602080910402602001604051908101604052809291908181526020018280546120d890614b07565b80156121255780601f106120fa57610100808354040283529160200191612125565b820191906000526020600020905b81548152906001019060200180831161210857829003601f168201915b505050505081565b6060600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156121b857602002820191906000526020600020905b8154815260200190600101908083116121a4575b50505050509050919050565b73d127b07954f3e57e3e5aaecbb7621b1daa1ac44081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b609681565b61227d612453565b73ffffffffffffffffffffffffffffffffffffffff1661229b611775565b73ffffffffffffffffffffffffffffffffffffffff16146122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e89061468e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612358906144ee565b60405180910390fd5b61236a816129ef565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123e057506123df82612dcb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124ce8361125a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061251f826123e7565b61255e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612555906145ae565b60405180910390fd5b60006125698361125a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125d857508373ffffffffffffffffffffffffffffffffffffffff166125c084610aba565b73ffffffffffffffffffffffffffffffffffffffff16145b806125e957506125e881856121dc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126128261125a565b73ffffffffffffffffffffffffffffffffffffffff1614612668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265f906146ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cf9061452e565b60405180910390fd5b6126e3838383612ead565b6126ee60008261245b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461273e9190614a1d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612795919061493c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361285c91906149c3565b905092915050565b6000612870600c612ebd565b905090565b600061287f612864565b905061288b600c612ecb565b6128a18260018361289c919061493c565b612ee1565b6001816128ae919061493c565b7ff242b78c8d71167bfd77b96ff29b1a506676871b228a1d6a51c924cb0e2e5f4f60405160405180910390a25050565b60006128e98261125a565b90506128f781600084612ead565b61290260008361245b565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129529190614a1d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ac39190614992565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612af190614331565b60006040518083038185875af1925050503d8060008114612b2e576040519150601f19603f3d011682016040523d82523d6000602084013e612b33565b606091505b5050905080612b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6e9061472e565b60405180910390fd5b505050565b612b878484846125f2565b612b9384848484612eff565b612bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc9906144ce565b60405180910390fd5b50505050565b6060600e8054612be790614b07565b80601f0160208091040260200160405190810160405280929190818152602001828054612c1390614b07565b8015612c605780601f10612c3557610100808354040283529160200191612c60565b820191906000526020600020905b815481529060010190602001808311612c4357829003601f168201915b5050505050905090565b60606000821415612cb2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dc6565b600082905060005b60008214612ce4578080612ccd90614b6a565b915050600a82612cdd9190614992565b9150612cba565b60008167ffffffffffffffff811115612d0057612cff614ccf565b5b6040519080825280601f01601f191660200182016040528015612d325781602001600182028036833780820191505090505b5090505b60008514612dbf57600182612d4b9190614a1d565b9150600a85612d5a9190614bb3565b6030612d66919061493c565b60f81b818381518110612d7c57612d7b614ca0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612db89190614992565b9450612d36565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e9657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ea65750612ea582613096565b5b9050919050565b612eb8838383613100565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612efb82826040518060200160405280600081525061327a565b5050565b6000612f208473ffffffffffffffffffffffffffffffffffffffff166132d5565b15613089578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f49612453565b8786866040518563ffffffff1660e01b8152600401612f6b9493929190614361565b602060405180830381600087803b158015612f8557600080fd5b505af1925050508015612fb657506040513d601f19601f82011682018060405250810190612fb39190613c99565b60015b613039573d8060008114612fe6576040519150601f19603f3d011682016040523d82523d6000602084013e612feb565b606091505b50600081511415613031576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613028906144ce565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061308e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61310b8383836132e8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314e57613149816132ed565b61318d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318c5761318b8382613336565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561323657600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055613231816134a3565b613275565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613274576132738282613574565b5b5b505050565b61328483836135f3565b6132916000848484612eff565b6132d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c7906144ce565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161334384611324565b61334d9190614a1d565b9050600060076000848152602001908152602001600020549050818114613432576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134b79190614a1d565b90506000600960008481526020019081526020016000205490506000600883815481106134e7576134e6614ca0565b5b90600052602060002001549050806008838154811061350957613508614ca0565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061355857613557614c71565b5b6001900381819060005260206000200160009055905550505050565b600061357f83611324565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365a9061462e565b60405180910390fd5b61366c816123e7565b156136ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a39061450e565b60405180910390fd5b6136b860008383612ead565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613708919061493c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137cd90614b07565b90600052602060002090601f0160209004810192826137ef5760008555613836565b82601f1061380857805160ff1916838001178555613836565b82800160010185558215613836579182015b8281111561383557825182559160200191906001019061381a565b5b5090506138439190613847565b5090565b5b80821115613860576000816000905550600101613848565b5090565b6000613877613872846147ee565b6147c9565b9050808382526020820190508285602086028201111561389a57613899614d03565b5b60005b858110156138ca57816138b08882613a4b565b84526020840193506020830192505060018101905061389d565b5050509392505050565b60006138e76138e28461481a565b6147c9565b90508281526020810184848401111561390357613902614d08565b5b61390e848285614ac5565b509392505050565b60006139296139248461484b565b6147c9565b90508281526020810184848401111561394557613944614d08565b5b613950848285614ac5565b509392505050565b600081359050613967816153e1565b92915050565b600082601f83011261398257613981614cfe565b5b8151613992848260208601613864565b91505092915050565b6000813590506139aa816153f8565b92915050565b6000813590506139bf8161540f565b92915050565b6000815190506139d48161540f565b92915050565b600082601f8301126139ef576139ee614cfe565b5b81356139ff8482602086016138d4565b91505092915050565b600082601f830112613a1d57613a1c614cfe565b5b8135613a2d848260208601613916565b91505092915050565b600081359050613a4581615426565b92915050565b600081519050613a5a81615426565b92915050565b600060208284031215613a7657613a75614d12565b5b6000613a8484828501613958565b91505092915050565b60008060408385031215613aa457613aa3614d12565b5b6000613ab285828601613958565b9250506020613ac385828601613958565b9150509250929050565b600080600060608486031215613ae657613ae5614d12565b5b6000613af486828701613958565b9350506020613b0586828701613958565b9250506040613b1686828701613a36565b9150509250925092565b60008060008060808587031215613b3a57613b39614d12565b5b6000613b4887828801613958565b9450506020613b5987828801613958565b9350506040613b6a87828801613a36565b925050606085013567ffffffffffffffff811115613b8b57613b8a614d0d565b5b613b97878288016139da565b91505092959194509250565b60008060408385031215613bba57613bb9614d12565b5b6000613bc885828601613958565b9250506020613bd98582860161399b565b9150509250929050565b60008060408385031215613bfa57613bf9614d12565b5b6000613c0885828601613958565b9250506020613c1985828601613a36565b9150509250929050565b600060208284031215613c3957613c38614d12565b5b600082015167ffffffffffffffff811115613c5757613c56614d0d565b5b613c638482850161396d565b91505092915050565b600060208284031215613c8257613c81614d12565b5b6000613c90848285016139b0565b91505092915050565b600060208284031215613caf57613cae614d12565b5b6000613cbd848285016139c5565b91505092915050565b600060208284031215613cdc57613cdb614d12565b5b600082013567ffffffffffffffff811115613cfa57613cf9614d0d565b5b613d0684828501613a08565b91505092915050565b600060208284031215613d2557613d24614d12565b5b6000613d3384828501613a36565b91505092915050565b6000613d488383613d6c565b60208301905092915050565b6000613d6083836142ef565b60208301905092915050565b613d7581614a51565b82525050565b613d8481614a51565b82525050565b6000613d958261489c565b613d9f81856148e2565b9350613daa8361487c565b8060005b83811015613ddb578151613dc28882613d3c565b9750613dcd836148c8565b925050600181019050613dae565b5085935050505092915050565b6000613df3826148a7565b613dfd81856148f3565b9350613e088361488c565b8060005b83811015613e39578151613e208882613d54565b9750613e2b836148d5565b925050600181019050613e0c565b5085935050505092915050565b613e4f81614a63565b82525050565b6000613e60826148b2565b613e6a8185614904565b9350613e7a818560208601614ad4565b613e8381614d17565b840191505092915050565b6000613e99826148bd565b613ea38185614920565b9350613eb3818560208601614ad4565b613ebc81614d17565b840191505092915050565b6000613ed2826148bd565b613edc8185614931565b9350613eec818560208601614ad4565b80840191505092915050565b6000613f05600983614920565b9150613f1082614d28565b602082019050919050565b6000613f28601383614920565b9150613f3382614d51565b602082019050919050565b6000613f4b601383614920565b9150613f5682614d7a565b602082019050919050565b6000613f6e600f83614920565b9150613f7982614da3565b602082019050919050565b6000613f91600e83614920565b9150613f9c82614dcc565b602082019050919050565b6000613fb4603283614920565b9150613fbf82614df5565b604082019050919050565b6000613fd7602683614920565b9150613fe282614e44565b604082019050919050565b6000613ffa601c83614920565b915061400582614e93565b602082019050919050565b600061401d602483614920565b915061402882614ebc565b604082019050919050565b6000614040601983614920565b915061404b82614f0b565b602082019050919050565b6000614063602d83614920565b915061406e82614f34565b604082019050919050565b6000614086600983614920565b915061409182614f83565b602082019050919050565b60006140a9602c83614920565b91506140b482614fac565b604082019050919050565b60006140cc603883614920565b91506140d782614ffb565b604082019050919050565b60006140ef602a83614920565b91506140fa8261504a565b604082019050919050565b6000614112602983614920565b915061411d82615099565b604082019050919050565b6000614135602083614920565b9150614140826150e8565b602082019050919050565b6000614158600883614920565b915061416382615111565b602082019050919050565b600061417b602c83614920565b91506141868261513a565b604082019050919050565b600061419e602083614920565b91506141a982615189565b602082019050919050565b60006141c1602983614920565b91506141cc826151b2565b604082019050919050565b60006141e4602f83614920565b91506141ef82615201565b604082019050919050565b6000614207601183614920565b915061421282615250565b602082019050919050565b600061422a602183614920565b915061423582615279565b604082019050919050565b600061424d600083614915565b9150614258826152c8565b600082019050919050565b6000614270601083614920565b915061427b826152cb565b602082019050919050565b6000614293603183614920565b915061429e826152f4565b604082019050919050565b60006142b6603083614920565b91506142c182615343565b604082019050919050565b60006142d9602e83614920565b91506142e482615392565b604082019050919050565b6142f881614abb565b82525050565b61430781614abb565b82525050565b60006143198285613ec7565b91506143258284613ec7565b91508190509392505050565b600061433c82614240565b9150819050919050565b600060208201905061435b6000830184613d7b565b92915050565b60006080820190506143766000830187613d7b565b6143836020830186613d7b565b61439060408301856142fe565b81810360608301526143a28184613e55565b905095945050505050565b600060208201905081810360008301526143c78184613d8a565b905092915050565b600060208201905081810360008301526143e98184613de8565b905092915050565b60006020820190506144066000830184613e46565b92915050565b600060208201905081810360008301526144268184613e8e565b905092915050565b6000602082019050818103600083015261444781613ef8565b9050919050565b6000602082019050818103600083015261446781613f1b565b9050919050565b6000602082019050818103600083015261448781613f3e565b9050919050565b600060208201905081810360008301526144a781613f61565b9050919050565b600060208201905081810360008301526144c781613f84565b9050919050565b600060208201905081810360008301526144e781613fa7565b9050919050565b6000602082019050818103600083015261450781613fca565b9050919050565b6000602082019050818103600083015261452781613fed565b9050919050565b6000602082019050818103600083015261454781614010565b9050919050565b6000602082019050818103600083015261456781614033565b9050919050565b6000602082019050818103600083015261458781614056565b9050919050565b600060208201905081810360008301526145a781614079565b9050919050565b600060208201905081810360008301526145c78161409c565b9050919050565b600060208201905081810360008301526145e7816140bf565b9050919050565b60006020820190508181036000830152614607816140e2565b9050919050565b6000602082019050818103600083015261462781614105565b9050919050565b6000602082019050818103600083015261464781614128565b9050919050565b600060208201905081810360008301526146678161414b565b9050919050565b600060208201905081810360008301526146878161416e565b9050919050565b600060208201905081810360008301526146a781614191565b9050919050565b600060208201905081810360008301526146c7816141b4565b9050919050565b600060208201905081810360008301526146e7816141d7565b9050919050565b60006020820190508181036000830152614707816141fa565b9050919050565b600060208201905081810360008301526147278161421d565b9050919050565b6000602082019050818103600083015261474781614263565b9050919050565b6000602082019050818103600083015261476781614286565b9050919050565b60006020820190508181036000830152614787816142a9565b9050919050565b600060208201905081810360008301526147a7816142cc565b9050919050565b60006020820190506147c360008301846142fe565b92915050565b60006147d36147e4565b90506147df8282614b39565b919050565b6000604051905090565b600067ffffffffffffffff82111561480957614808614ccf565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561483557614834614ccf565b5b61483e82614d17565b9050602081019050919050565b600067ffffffffffffffff82111561486657614865614ccf565b5b61486f82614d17565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061494782614abb565b915061495283614abb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561498757614986614be4565b5b828201905092915050565b600061499d82614abb565b91506149a883614abb565b9250826149b8576149b7614c13565b5b828204905092915050565b60006149ce82614abb565b91506149d983614abb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a1257614a11614be4565b5b828202905092915050565b6000614a2882614abb565b9150614a3383614abb565b925082821015614a4657614a45614be4565b5b828203905092915050565b6000614a5c82614a9b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614af2578082015181840152602081019050614ad7565b83811115614b01576000848401525b50505050565b60006002820490506001821680614b1f57607f821691505b60208210811415614b3357614b32614c42565b5b50919050565b614b4282614d17565b810181811067ffffffffffffffff82111715614b6157614b60614ccf565b5b80604052505050565b6000614b7582614abb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ba857614ba7614be4565b5b600182019050919050565b6000614bbe82614abb565b9150614bc983614abb565b925082614bd957614bd8614c13565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520656e642e0000000000000000000000000000000000000000000000600082015250565b7f4578636565646564206769766561776179732e00000000000000000000000000600082015250565b7f596f752063616e2774206d696e74206672656500000000000000000000000000600082015250565b7f53616c6573206e6f74206f70656e2e0000000000000000000000000000000000600082015250565b7f45786365656473206e756d626572000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d79455243373231456e756d657261626c653a206f776e657220696e6465782060008201527f6f7574206f6620626f756e647300000000000000000000000000000000000000602082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520656e64000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4d79455243373231456e756d657261626c653a20676c6f62616c20696e64657860008201527f206f7574206f6620626f756e6473000000000000000000000000000000000000602082015250565b6153ea81614a51565b81146153f557600080fd5b50565b61540181614a63565b811461540c57600080fd5b50565b61541881614a6f565b811461542357600080fd5b50565b61542f81614abb565b811461543a57600080fd5b5056fea26469706673582212202990f098e69606b1f03e52d37c0ce5330be0d4b6935f6f3115d2c9c3b47ce82364736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6170692e61706570756e6b732e696f2f70756e6b2f000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.apepunks.io/punk/

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


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.