ETH Price: $3,127.54 (+5.39%)

Token

Wall Street Bulls Interns (WSBI)
 

Overview

Max Total Supply

2,249 WSBI

Holders

1,191

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 WSBI
0x8eb0d0d58c6d336349a0458d18000dd8af892261
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Wall Street Bulls Interns are a sister collection to the Wall Street Bulls designed and illustrated by Cam Rackam and the Wall St Memes Team.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WallStBullsInterns

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : WallStBullsInterns.sol
// SPDX-License-Identifier: MIT
/******
 __          __   _ _    _____ _                 _     ____        _ _       _____       _
 \ \        / /  | | |  / ____| |               | |   |  _ \      | | |     |_   _|     | |
  \ \  /\  / /_ _| | | | (___ | |_ _ __ ___  ___| |_  | |_) |_   _| | |___    | |  _ __ | |_ ___ _ __ _ __  ___
   \ \/  \/ / _` | | |  \___ \| __| '__/ _ \/ _ \ __| |  _ <| | | | | / __|   | | | '_ \| __/ _ \ '__| '_ \/ __|
    \  /\  / (_| | | |  ____) | |_| | |  __/  __/ |_  | |_) | |_| | | \__ \  _| |_| | | | ||  __/ |  | | | \__ \
     \/  \/ \__,_|_|_| |_____/ \__|_|  \___|\___|\__| |____/ \__,_|_|_|___/ |_____|_| |_|\__\___|_|  |_| |_|___/

yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy//syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyssyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys.--/syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys/..oyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.----/syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys/--..+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy-..-----/oyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+:----..+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/`..----...:+syyyyyyyyyyyo+//::::://+osyyyyyyyyyo:..----..`+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys.`..---..```..+++osyy+/:----::-:-:----:/osoo+/.``.----..`.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy:``......```.:///::-:-:::::::::::::::::----///-.`......``+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys.```....``-/+++//::://///////////////////:--:/:.....```:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyo.`..:://::::::::///++//////+++++++////++//:-:/::/+/:-.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys:-///os/-/++/://++++////+++++++++++//////+/::/:-hyh:://syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+://-.+dd+:/::::++///+osoo///++++++//osyyyo///:-::+sm-`-/:+syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyo://-...-ho:::.://+:+hmNNNNNNds:/++/:smNNmmmNmh//:/::+o:::///:+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy:////////:-h:+::/++:oNNmys++ymNNy:++:hNNd+s::omNd:/-+/s+oo+++oosyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+++oooosyy/::/-+++/:NNN/.y+``+NNN:++:NNN/.oo``yNN++:-/syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys/.-./+++//dmN-``-``/NNm:++-dmNy.```-dNm:+/:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+.-::.+++++-ohmmo:-:omNmy.::-:ydmmhhdmmdo:++-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys--::sh-+++++/:/shddmmddho:/+++/:/+ossso+:/+++-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+.-::hd+-+++++++/:://////://////////::://+++///-yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy:.-::hh+m-////+++++++//::/+ooooooooossso/:/+//:-/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy--:::yd+mho-:///++++++//oyyysosyyyyyy+:+yyy/:/:-++syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy--:::om+ddom/.-:///++/:oyyyyo-..:yyyy+.-/yyyyo-:-+d/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyysssyyyyysoyyyyy:-::::myoN+ms:-.-:///:/yyyyyyyo++oyyyyyssyyyyyys--:N:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyy++sssooooos+syyyo.::::/Nohdom:::-.-:::syyyyyyyyyyyyyyyyyyyyyyyyyyo.-N:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyy/oyyyyyyyyyo+yyyy--::::/N+dhsm::---.-.oyyyyyyyyyyyyyyyyyyyyyyyyyyyy:-N:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyysssoo.osyyyso+++syys/:.::::::msym+N+:----..ssyyyyyyyyyyyyyysssyysyyyssss-/m:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyo+//////:::/+///oyyyy/---.::::::sd+mohh::----./+ooosyysssso++osso+++++++//--yy+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyy+/:/ossyyyyoo++osyyyys:-::--:::::::dssm+my::----.-://+++++/:/ooo+//:/-.----.--d:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyy:/:oyyyyyyyyyyyyyyyyys--:::--:::::::+moyd+dh::-----.------..----:+::++--------:+/oyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyy//:oyyyyyyyyyyyyyo+///--::::--::::::::omoyd+dd/::-----------------:+oh:-------:--s+oyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyy-/-syyyyyyyyyys/::///--:::::/-:::::::::omosdohm+::::----------------:ho---:::::-::y/syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyy/:/:yyyyyyyys/::::+oo.::::/yho-:::::::--smsomsym+:::::--:::------::--sy:::----::::-/-/osyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyy/-::/++++/:-::-+yyys.:::/dsdy/-::::----.+my+myym+:::::-------.------sd:------::::::::/ho+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyo:--::::--:/oyyyyyo.:::dsmsm+.-:::::---.:hd/msym/::::-----.--.-----yh----.--:::-:::::/mo+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyysssyyyyyyyyyyyo.::shhyms::--::::----.-hh+Noyd/:::----........-:m/.-..-------+++/:-msh+yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyys.::hsmsN/:::----------.-hyomsymo::------------:++...-.---.:oyyyyyyso+s/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

******/

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721EnumerableV2.sol";

contract WallStBullsInterns is ERC721EnumerableV2, Ownable {

    uint256 public constant RESERVED_INTERNS = 100;

    mapping(address => uint256) public totalMinted;
    string public baseURI;
    bool public baseURIFinal;
    bool public saleActive;

    bytes32 private _eligibilityMerkleRoot;

    event BaseURIChanged(string baseURI);
    event PermanentURI(string _value, uint256 indexed _id);

    constructor(string memory _initialBaseURI) ERC721("Wall Street Bulls Interns", "WSBI")  {
        baseURI = _initialBaseURI;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        require(!baseURIFinal, "Base URL is unchangeable");
        baseURI = _newBaseURI;
        emit BaseURIChanged(baseURI);
    }

    function finalizeBaseURI() external onlyOwner {
        baseURIFinal = true;
    }

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

    function emitPermanent(uint256 tokenId) external onlyOwner {
        require(baseURIFinal, "Base URL must be finalized first");
        emit PermanentURI(tokenURI(tokenId), tokenId);
    }

    function toggleSaleActive() external onlyOwner {
        saleActive = !saleActive;
    }

    function setEligibilityMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        _eligibilityMerkleRoot = _merkleRoot;
    }

    function mintReserved(address _to, uint256 _internCount) external onlyOwner {
        require(totalMinted[msg.sender] + _internCount <= RESERVED_INTERNS, "All Reserved Interns have been minted");
        _mintIntern(_to, _internCount);
    }

    function withdraw(address _to, uint256 _amount) external onlyOwner {
        (bool success,) = _to.call{value : _amount}("");
        require(success, "Failed to withdraw Ether");
    }

    function _verifyInternEligible(address _account, uint8 _maxAllowed, bytes32[] calldata _merkleProof) private view returns (bool) {
        bytes32 node = keccak256(abi.encodePacked(_account, _maxAllowed));
        return MerkleProof.verify(_merkleProof, _eligibilityMerkleRoot, node);
    }

    function mintIntern(uint256 _internCount, uint8 _maxAllowed, bytes32[] calldata _merkleProof) external payable {
        require(saleActive, "Sale is not active");
        require(_verifyInternEligible(msg.sender, _maxAllowed, _merkleProof), "Address not found in eligibility allow list");
        require(totalMinted[msg.sender] + _internCount <= uint256(_maxAllowed), "Purchase exceeds max mint count");

        _mintIntern(msg.sender, _internCount);
    }

    function _mintIntern(address _to, uint256 _internCount) private {
        uint256 totalSupply = totalSupply();
        require(_internCount > 0, "Must mint at least one Intern");

        for (uint256 i = 1; i <= _internCount; i++) {
            totalMinted[msg.sender] += 1;
            _safeMint(_to, totalSupply + i);
        }
    }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    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 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 5 of 14 : ERC721EnumerableV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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 ERC721EnumerableV2 is ERC721, IERC721Enumerable {
    address[] private _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 tokenId) {
            require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
            uint count;
            for(uint i; i < _owners.length; i++) {
                if(owner == _owners[i]) {
                    if(count == index) return _ownerIndexToTokenId(i);
                    else count++;
                }
            }
            require(false, "ERC721Enumerable: cannot find owner for token");
        }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(_exists(_ownerIndexToTokenId(index)), "ERC721Enumerable: global index out of bounds");
        return _ownerIndexToTokenId(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)) {
            _addTokenToOwnerEnumeration(to);
        } else if (to != from) {
            _updateTokenToOwnerEnumeration(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
     */
    function _addTokenToOwnerEnumeration(address to) private {
        _owners.push(to);
    }

    function _updateTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        _owners[_tokenIdToOwnerIndex(tokenId)] = to;
    }

    function _tokenIdToOwnerIndex(uint256 tokenId) private pure returns (uint256) {
        return tokenId - 1;
    }

    function _ownerIndexToTokenId(uint256 index) private pure returns (uint256) {
        return index + 1;
    }
}

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 11 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initialBaseURI","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":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURIChanged","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":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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":"RESERVED_INTERNS","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitPermanent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_internCount","type":"uint256"},{"internalType":"uint8","name":"_maxAllowed","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintIntern","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_internCount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setEligibilityMerkleRoot","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":[],"name":"toggleSaleActive","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMinted","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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004d1b38038062004d1b833981810160405281019062000037919062000307565b6040518060400160405280601981526020017f57616c6c205374726565742042756c6c7320496e7465726e73000000000000008152506040518060400160405280600481526020017f57534249000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001e5565b508060019080519060200190620000d4929190620001e5565b505050620000f7620000eb6200011760201b60201c565b6200011f60201b60201c565b80600990805190602001906200010f929190620001e5565b5050620004bc565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f390620003e1565b90600052602060002090601f01602090048101928262000217576000855562000263565b82601f106200023257805160ff191683800117855562000263565b8280016001018555821562000263579182015b828111156200026257825182559160200191906001019062000245565b5b50905062000272919062000276565b5090565b5b808211156200029157600081600090555060010162000277565b5090565b6000620002ac620002a68462000375565b6200034c565b905082815260208101848484011115620002c557600080fd5b620002d2848285620003ab565b509392505050565b600082601f830112620002ec57600080fd5b8151620002fe84826020860162000295565b91505092915050565b6000602082840312156200031a57600080fd5b600082015167ffffffffffffffff8111156200033557600080fd5b6200034384828501620002da565b91505092915050565b6000620003586200036b565b905062000366828262000417565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039357620003926200047c565b5b6200039e82620004ab565b9050602081019050919050565b60005b83811015620003cb578082015181840152602081019050620003ae565b83811115620003db576000848401525b50505050565b60006002820490506001821680620003fa57607f821691505b602082108114156200041157620004106200044d565b5b50919050565b6200042282620004ab565b810181811067ffffffffffffffff821117156200044457620004436200047c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61484f80620004cc6000396000f3fe6080604052600436106101e25760003560e01c80636c0360eb11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c5146106ce578063f2fde38b1461070b578063f3fef3a314610734578063fcf5ff211461075d576101e2565b8063a22cb46514610616578063b88d4fde1461063f578063c87b56dd14610668578063ca7d7d47146106a5576101e2565b80637de55fe1116100d15780637de55fe11461057b5780638bea3389146105a45780638da5cb5b146105c057806395d89b41146105eb576101e2565b80636c0360eb146104d157806370a08231146104fc578063715018a6146105395780637a55deae14610550576101e2565b80633100a5351161017a5780634f6ccce7116101495780634f6ccce71461040357806355f804b3146104405780636352211e1461046957806368428a1b146104a6576101e2565b80633100a5351461038357806337c3fdbc1461039a57806342842e0e146103b15780634333adc6146103da576101e2565b8063095ea7b3116101b6578063095ea7b3146102c957806318160ddd146102f257806323b872dd1461031d5780632f745c5914610346576101e2565b80623d4790146101e757806301ffc9a71461022457806306fdde0314610261578063081812fc1461028c575b600080fd5b3480156101f357600080fd5b5061020e60048036038101906102099190612f0a565b610788565b60405161021b9190613c22565b60405180910390f35b34801561023057600080fd5b5061024b600480360381019061024691906130da565b6107a0565b6040516102589190613863565b60405180910390f35b34801561026d57600080fd5b5061027661081a565b604051610283919061387e565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae919061316d565b6108ac565b6040516102c091906137fc565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613075565b610931565b005b3480156102fe57600080fd5b50610307610a49565b6040516103149190613c22565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f9190612f6f565b610a56565b005b34801561035257600080fd5b5061036d60048036038101906103689190613075565b610ab6565b60405161037a9190613c22565b60405180910390f35b34801561038f57600080fd5b50610398610c31565b005b3480156103a657600080fd5b506103af610cd9565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612f6f565b610d72565b005b3480156103e657600080fd5b5061040160048036038101906103fc919061316d565b610d92565b005b34801561040f57600080fd5b5061042a6004803603810190610425919061316d565b610ea0565b6040516104379190613c22565b60405180910390f35b34801561044c57600080fd5b506104676004803603810190610462919061312c565b610f02565b005b34801561047557600080fd5b50610490600480360381019061048b919061316d565b611020565b60405161049d91906137fc565b60405180910390f35b3480156104b257600080fd5b506104bb6110d2565b6040516104c89190613863565b60405180910390f35b3480156104dd57600080fd5b506104e66110e5565b6040516104f3919061387e565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e9190612f0a565b611173565b6040516105309190613c22565b60405180910390f35b34801561054557600080fd5b5061054e61122b565b005b34801561055c57600080fd5b506105656112b3565b6040516105729190613863565b60405180910390f35b34801561058757600080fd5b506105a2600480360381019061059d9190613075565b6112c6565b005b6105be60048036038101906105b99190613196565b6113de565b005b3480156105cc57600080fd5b506105d5611518565b6040516105e291906137fc565b60405180910390f35b3480156105f757600080fd5b50610600611542565b60405161060d919061387e565b60405180910390f35b34801561062257600080fd5b5061063d60048036038101906106389190613039565b6115d4565b005b34801561064b57600080fd5b5061066660048036038101906106619190612fbe565b6115ea565b005b34801561067457600080fd5b5061068f600480360381019061068a919061316d565b61164c565b60405161069c919061387e565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906130b1565b6116f3565b005b3480156106da57600080fd5b506106f560048036038101906106f09190612f33565b611779565b6040516107029190613863565b60405180910390f35b34801561071757600080fd5b50610732600480360381019061072d9190612f0a565b61180d565b005b34801561074057600080fd5b5061075b60048036038101906107569190613075565b611905565b005b34801561076957600080fd5b50610772611a32565b60405161077f9190613c22565b60405180910390f35b60086020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610813575061081282611a37565b5b9050919050565b60606000805461082990613eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461085590613eaf565b80156108a25780601f10610877576101008083540402835291602001916108a2565b820191906000526020600020905b81548152906001019060200180831161088557829003601f168201915b5050505050905090565b60006108b782611b19565b6108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed90613aa2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061093c82611020565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a490613b82565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109cc611b85565b73ffffffffffffffffffffffffffffffffffffffff1614806109fb57506109fa816109f5611b85565b611779565b5b610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3190613a22565b60405180910390fd5b610a448383611b8d565b505050565b6000600680549050905090565b610a67610a61611b85565b82611c46565b610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d90613bc2565b60405180910390fd5b610ab1838383611d24565b505050565b6000610ac183611173565b8210610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906138e2565b60405180910390fd5b6000805b600680549050811015610be75760068181548110610b4d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610bd45783821415610bc557610bbc81611f80565b92505050610c2b565b8180610bd090613f12565b9250505b8080610bdf90613f12565b915050610b06565b506000610c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2090613c02565b60405180910390fd5b505b92915050565b610c39611b85565b73ffffffffffffffffffffffffffffffffffffffff16610c57611518565b73ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca490613ae2565b60405180910390fd5b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b610ce1611b85565b73ffffffffffffffffffffffffffffffffffffffff16610cff611518565b73ffffffffffffffffffffffffffffffffffffffff1614610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90613ae2565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b610d8d838383604051806020016040528060008152506115ea565b505050565b610d9a611b85565b73ffffffffffffffffffffffffffffffffffffffff16610db8611518565b73ffffffffffffffffffffffffffffffffffffffff1614610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0590613ae2565b60405180910390fd5b600a60009054906101000a900460ff16610e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5490613b42565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610e888361164c565b604051610e95919061387e565b60405180910390a250565b6000610eb3610eae83611f80565b611b19565b610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee990613be2565b60405180910390fd5b610efb82611f80565b9050919050565b610f0a611b85565b73ffffffffffffffffffffffffffffffffffffffff16610f28611518565b73ffffffffffffffffffffffffffffffffffffffff1614610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7590613ae2565b60405180910390fd5b600a60009054906101000a900460ff1615610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590613982565b60405180910390fd5b8060099080519060200190610fe4929190612cba565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600960405161101591906138a0565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c090613a62565b60405180910390fd5b80915050919050565b600a60019054906101000a900460ff1681565b600980546110f290613eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90613eaf565b801561116b5780601f106111405761010080835404028352916020019161116b565b820191906000526020600020905b81548152906001019060200180831161114e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db90613a42565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611233611b85565b73ffffffffffffffffffffffffffffffffffffffff16611251611518565b73ffffffffffffffffffffffffffffffffffffffff16146112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613ae2565b60405180910390fd5b6112b16000611f96565b565b600a60009054906101000a900460ff1681565b6112ce611b85565b73ffffffffffffffffffffffffffffffffffffffff166112ec611518565b73ffffffffffffffffffffffffffffffffffffffff1614611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990613ae2565b60405180910390fd5b606481600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461138f9190613d27565b11156113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c790613ac2565b60405180910390fd5b6113da828261205c565b5050565b600a60019054906101000a900460ff1661142d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611424906139e2565b60405180910390fd5b6114393384848461213e565b611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90613962565b60405180910390fd5b8260ff1684600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114c79190613d27565b1115611508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ff906138c2565b60405180910390fd5b611512338561205c565b50505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461155190613eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461157d90613eaf565b80156115ca5780601f1061159f576101008083540402835291602001916115ca565b820191906000526020600020905b8154815290600101906020018083116115ad57829003601f168201915b5050505050905090565b6115e66115df611b85565b83836121c5565b5050565b6115fb6115f5611b85565b83611c46565b61163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163190613bc2565b60405180910390fd5b61164684848484612332565b50505050565b606061165782611b19565b611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d90613b22565b60405180910390fd5b60006116a061238e565b905060008151116116c057604051806020016040528060008152506116eb565b806116ca84612420565b6040516020016116db9291906137c3565b6040516020818303038152906040525b915050919050565b6116fb611b85565b73ffffffffffffffffffffffffffffffffffffffff16611719611518565b73ffffffffffffffffffffffffffffffffffffffff161461176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690613ae2565b60405180910390fd5b80600b8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611815611b85565b73ffffffffffffffffffffffffffffffffffffffff16611833611518565b73ffffffffffffffffffffffffffffffffffffffff1614611889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188090613ae2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f090613922565b60405180910390fd5b61190281611f96565b50565b61190d611b85565b73ffffffffffffffffffffffffffffffffffffffff1661192b611518565b73ffffffffffffffffffffffffffffffffffffffff1614611981576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197890613ae2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516119a7906137e7565b60006040518083038185875af1925050503d80600081146119e4576040519150601f19603f3d011682016040523d82523d6000602084013e6119e9565b606091505b5050905080611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2490613b62565b60405180910390fd5b505050565b606481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b0257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b125750611b11826125cd565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c0083611020565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c5182611b19565b611c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8790613a02565b60405180910390fd5b6000611c9b83611020565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d0a57508373ffffffffffffffffffffffffffffffffffffffff16611cf2846108ac565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d1b5750611d1a8185611779565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d4482611020565b73ffffffffffffffffffffffffffffffffffffffff1614611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190613b02565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e01906139a2565b60405180910390fd5b611e15838383612637565b611e20600082611b8d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e709190613dae565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec79190613d27565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600182611f8f9190613d27565b9050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612066610a49565b9050600082116120ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a290613ba2565b60405180910390fd5b6000600190505b828111612138576001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121099190613d27565b925050819055506121258482846121209190613d27565b6126c9565b808061213090613f12565b9150506120b2565b50505050565b600080858560405160200161215492919061376b565b6040516020818303038152906040528051906020012090506121ba848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b54836126e7565b915050949350505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b906139c2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123259190613863565b60405180910390a3505050565b61233d848484611d24565b612349848484846126fe565b612388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237f90613902565b60405180910390fd5b50505050565b60606009805461239d90613eaf565b80601f01602080910402602001604051908101604052809291908181526020018280546123c990613eaf565b80156124165780601f106123eb57610100808354040283529160200191612416565b820191906000526020600020905b8154815290600101906020018083116123f957829003601f168201915b5050505050905090565b60606000821415612468576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125c8565b600082905060005b6000821461249a57808061248390613f12565b915050600a826124939190613d7d565b9150612470565b60008167ffffffffffffffff8111156124dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561250e5781602001600182028036833780820191505090505b5090505b600085146125c1576001826125279190613dae565b9150600a856125369190613f9b565b60306125429190613d27565b60f81b81838151811061257e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125ba9190613d7d565b9450612512565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612642838383612895565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612685576126808261289a565b6126c4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126c3576126c28282612900565b5b5b505050565b6126e382826040518060200160405280600081525061298f565b5050565b6000826126f485846129ea565b1490509392505050565b600061271f8473ffffffffffffffffffffffffffffffffffffffff16612ac3565b15612888578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612748611b85565b8786866040518563ffffffff1660e01b815260040161276a9493929190613817565b602060405180830381600087803b15801561278457600080fd5b505af19250505080156127b557506040513d601f19601f820116820180604052508101906127b29190613103565b60015b612838573d80600081146127e5576040519150601f19603f3d011682016040523d82523d6000602084013e6127ea565b606091505b50600081511415612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790613902565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061288d565b600190505b949350505050565b505050565b6006819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b81600661290c83612ad6565b81548110612943577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6129998383612aec565b6129a660008484846126fe565b6129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90613902565b60405180910390fd5b505050565b60008082905060005b8451811015612ab8576000858281518110612a37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612a78578281604051602001612a5b929190613797565b604051602081830303815290604052805190602001209250612aa4565b8083604051602001612a8b929190613797565b6040516020818303038152906040528051906020012092505b508080612ab090613f12565b9150506129f3565b508091505092915050565b600080823b905060008111915050919050565b6000600182612ae59190613dae565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390613a82565b60405180910390fd5b612b6581611b19565b15612ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9c90613942565b60405180910390fd5b612bb160008383612637565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c019190613d27565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612cc690613eaf565b90600052602060002090601f016020900481019282612ce85760008555612d2f565b82601f10612d0157805160ff1916838001178555612d2f565b82800160010185558215612d2f579182015b82811115612d2e578251825591602001919060010190612d13565b5b509050612d3c9190612d40565b5090565b5b80821115612d59576000816000905550600101612d41565b5090565b6000612d70612d6b84613c62565b613c3d565b905082815260208101848484011115612d8857600080fd5b612d93848285613e6d565b509392505050565b6000612dae612da984613c93565b613c3d565b905082815260208101848484011115612dc657600080fd5b612dd1848285613e6d565b509392505050565b600081359050612de88161478f565b92915050565b60008083601f840112612e0057600080fd5b8235905067ffffffffffffffff811115612e1957600080fd5b602083019150836020820283011115612e3157600080fd5b9250929050565b600081359050612e47816147a6565b92915050565b600081359050612e5c816147bd565b92915050565b600081359050612e71816147d4565b92915050565b600081519050612e86816147d4565b92915050565b600082601f830112612e9d57600080fd5b8135612ead848260208601612d5d565b91505092915050565b600082601f830112612ec757600080fd5b8135612ed7848260208601612d9b565b91505092915050565b600081359050612eef816147eb565b92915050565b600081359050612f0481614802565b92915050565b600060208284031215612f1c57600080fd5b6000612f2a84828501612dd9565b91505092915050565b60008060408385031215612f4657600080fd5b6000612f5485828601612dd9565b9250506020612f6585828601612dd9565b9150509250929050565b600080600060608486031215612f8457600080fd5b6000612f9286828701612dd9565b9350506020612fa386828701612dd9565b9250506040612fb486828701612ee0565b9150509250925092565b60008060008060808587031215612fd457600080fd5b6000612fe287828801612dd9565b9450506020612ff387828801612dd9565b935050604061300487828801612ee0565b925050606085013567ffffffffffffffff81111561302157600080fd5b61302d87828801612e8c565b91505092959194509250565b6000806040838503121561304c57600080fd5b600061305a85828601612dd9565b925050602061306b85828601612e38565b9150509250929050565b6000806040838503121561308857600080fd5b600061309685828601612dd9565b92505060206130a785828601612ee0565b9150509250929050565b6000602082840312156130c357600080fd5b60006130d184828501612e4d565b91505092915050565b6000602082840312156130ec57600080fd5b60006130fa84828501612e62565b91505092915050565b60006020828403121561311557600080fd5b600061312384828501612e77565b91505092915050565b60006020828403121561313e57600080fd5b600082013567ffffffffffffffff81111561315857600080fd5b61316484828501612eb6565b91505092915050565b60006020828403121561317f57600080fd5b600061318d84828501612ee0565b91505092915050565b600080600080606085870312156131ac57600080fd5b60006131ba87828801612ee0565b94505060206131cb87828801612ef5565b935050604085013567ffffffffffffffff8111156131e857600080fd5b6131f487828801612dee565b925092505092959194509250565b61320b81613de2565b82525050565b61322261321d82613de2565b613f5b565b82525050565b61323181613df4565b82525050565b61324861324382613e00565b613f6d565b82525050565b600061325982613cd9565b6132638185613cef565b9350613273818560208601613e7c565b61327c81614088565b840191505092915050565b600061329282613ce4565b61329c8185613d0b565b93506132ac818560208601613e7c565b6132b581614088565b840191505092915050565b60006132cb82613ce4565b6132d58185613d1c565b93506132e5818560208601613e7c565b80840191505092915050565b600081546132fe81613eaf565b6133088186613d0b565b94506001821660008114613323576001811461333557613368565b60ff1983168652602086019350613368565b61333e85613cc4565b60005b8381101561336057815481890152600182019150602081019050613341565b808801955050505b50505092915050565b600061337e601f83613d0b565b9150613389826140b3565b602082019050919050565b60006133a1602b83613d0b565b91506133ac826140dc565b604082019050919050565b60006133c4603283613d0b565b91506133cf8261412b565b604082019050919050565b60006133e7602683613d0b565b91506133f28261417a565b604082019050919050565b600061340a601c83613d0b565b9150613415826141c9565b602082019050919050565b600061342d602b83613d0b565b9150613438826141f2565b604082019050919050565b6000613450601883613d0b565b915061345b82614241565b602082019050919050565b6000613473602483613d0b565b915061347e8261426a565b604082019050919050565b6000613496601983613d0b565b91506134a1826142b9565b602082019050919050565b60006134b9601283613d0b565b91506134c4826142e2565b602082019050919050565b60006134dc602c83613d0b565b91506134e78261430b565b604082019050919050565b60006134ff603883613d0b565b915061350a8261435a565b604082019050919050565b6000613522602a83613d0b565b915061352d826143a9565b604082019050919050565b6000613545602983613d0b565b9150613550826143f8565b604082019050919050565b6000613568602083613d0b565b915061357382614447565b602082019050919050565b600061358b602c83613d0b565b915061359682614470565b604082019050919050565b60006135ae602583613d0b565b91506135b9826144bf565b604082019050919050565b60006135d1602083613d0b565b91506135dc8261450e565b602082019050919050565b60006135f4602983613d0b565b91506135ff82614537565b604082019050919050565b6000613617602f83613d0b565b915061362282614586565b604082019050919050565b600061363a602083613d0b565b9150613645826145d5565b602082019050919050565b600061365d601883613d0b565b9150613668826145fe565b602082019050919050565b6000613680602183613d0b565b915061368b82614627565b604082019050919050565b60006136a3601d83613d0b565b91506136ae82614676565b602082019050919050565b60006136c6600083613d00565b91506136d18261469f565b600082019050919050565b60006136e9603183613d0b565b91506136f4826146a2565b604082019050919050565b600061370c602c83613d0b565b9150613717826146f1565b604082019050919050565b600061372f602d83613d0b565b915061373a82614740565b604082019050919050565b61374e81613e56565b82525050565b61376561376082613e60565b613f89565b82525050565b60006137778285613211565b6014820191506137878284613754565b6001820191508190509392505050565b60006137a38285613237565b6020820191506137b38284613237565b6020820191508190509392505050565b60006137cf82856132c0565b91506137db82846132c0565b91508190509392505050565b60006137f2826136b9565b9150819050919050565b60006020820190506138116000830184613202565b92915050565b600060808201905061382c6000830187613202565b6138396020830186613202565b6138466040830185613745565b8181036060830152613858818461324e565b905095945050505050565b60006020820190506138786000830184613228565b92915050565b600060208201905081810360008301526138988184613287565b905092915050565b600060208201905081810360008301526138ba81846132f1565b905092915050565b600060208201905081810360008301526138db81613371565b9050919050565b600060208201905081810360008301526138fb81613394565b9050919050565b6000602082019050818103600083015261391b816133b7565b9050919050565b6000602082019050818103600083015261393b816133da565b9050919050565b6000602082019050818103600083015261395b816133fd565b9050919050565b6000602082019050818103600083015261397b81613420565b9050919050565b6000602082019050818103600083015261399b81613443565b9050919050565b600060208201905081810360008301526139bb81613466565b9050919050565b600060208201905081810360008301526139db81613489565b9050919050565b600060208201905081810360008301526139fb816134ac565b9050919050565b60006020820190508181036000830152613a1b816134cf565b9050919050565b60006020820190508181036000830152613a3b816134f2565b9050919050565b60006020820190508181036000830152613a5b81613515565b9050919050565b60006020820190508181036000830152613a7b81613538565b9050919050565b60006020820190508181036000830152613a9b8161355b565b9050919050565b60006020820190508181036000830152613abb8161357e565b9050919050565b60006020820190508181036000830152613adb816135a1565b9050919050565b60006020820190508181036000830152613afb816135c4565b9050919050565b60006020820190508181036000830152613b1b816135e7565b9050919050565b60006020820190508181036000830152613b3b8161360a565b9050919050565b60006020820190508181036000830152613b5b8161362d565b9050919050565b60006020820190508181036000830152613b7b81613650565b9050919050565b60006020820190508181036000830152613b9b81613673565b9050919050565b60006020820190508181036000830152613bbb81613696565b9050919050565b60006020820190508181036000830152613bdb816136dc565b9050919050565b60006020820190508181036000830152613bfb816136ff565b9050919050565b60006020820190508181036000830152613c1b81613722565b9050919050565b6000602082019050613c376000830184613745565b92915050565b6000613c47613c58565b9050613c538282613ee1565b919050565b6000604051905090565b600067ffffffffffffffff821115613c7d57613c7c614059565b5b613c8682614088565b9050602081019050919050565b600067ffffffffffffffff821115613cae57613cad614059565b5b613cb782614088565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d3282613e56565b9150613d3d83613e56565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d7257613d71613fcc565b5b828201905092915050565b6000613d8882613e56565b9150613d9383613e56565b925082613da357613da2613ffb565b5b828204905092915050565b6000613db982613e56565b9150613dc483613e56565b925082821015613dd757613dd6613fcc565b5b828203905092915050565b6000613ded82613e36565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613e9a578082015181840152602081019050613e7f565b83811115613ea9576000848401525b50505050565b60006002820490506001821680613ec757607f821691505b60208210811415613edb57613eda61402a565b5b50919050565b613eea82614088565b810181811067ffffffffffffffff82111715613f0957613f08614059565b5b80604052505050565b6000613f1d82613e56565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5057613f4f613fcc565b5b600182019050919050565b6000613f6682613f77565b9050919050565b6000819050919050565b6000613f82826140a6565b9050919050565b6000613f9482614099565b9050919050565b6000613fa682613e56565b9150613fb183613e56565b925082613fc157613fc0613ffb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f50757263686173652065786365656473206d6178206d696e7420636f756e7400600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f41646472657373206e6f7420666f756e6420696e20656c69676962696c69747960008201527f20616c6c6f77206c697374000000000000000000000000000000000000000000602082015250565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416c6c20526573657276656420496e7465726e732068617665206265656e206d60008201527f696e746564000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f426173652055524c206d7573742062652066696e616c697a6564206669727374600082015250565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520496e7465726e000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a2063616e6e6f742066696e64206f7760008201527f6e657220666f7220746f6b656e00000000000000000000000000000000000000602082015250565b61479881613de2565b81146147a357600080fd5b50565b6147af81613df4565b81146147ba57600080fd5b50565b6147c681613e00565b81146147d157600080fd5b50565b6147dd81613e0a565b81146147e857600080fd5b50565b6147f481613e56565b81146147ff57600080fd5b50565b61480b81613e60565b811461481657600080fd5b5056fea2646970667358221220e672cbb9ff72e24c85e34f60c613818b90f6a2eb9a5183e446b19645a224647464736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f77616c6c73747265657462756c6c732e696f2f696e7465726e732f746f6b656e2f0000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e25760003560e01c80636c0360eb11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c5146106ce578063f2fde38b1461070b578063f3fef3a314610734578063fcf5ff211461075d576101e2565b8063a22cb46514610616578063b88d4fde1461063f578063c87b56dd14610668578063ca7d7d47146106a5576101e2565b80637de55fe1116100d15780637de55fe11461057b5780638bea3389146105a45780638da5cb5b146105c057806395d89b41146105eb576101e2565b80636c0360eb146104d157806370a08231146104fc578063715018a6146105395780637a55deae14610550576101e2565b80633100a5351161017a5780634f6ccce7116101495780634f6ccce71461040357806355f804b3146104405780636352211e1461046957806368428a1b146104a6576101e2565b80633100a5351461038357806337c3fdbc1461039a57806342842e0e146103b15780634333adc6146103da576101e2565b8063095ea7b3116101b6578063095ea7b3146102c957806318160ddd146102f257806323b872dd1461031d5780632f745c5914610346576101e2565b80623d4790146101e757806301ffc9a71461022457806306fdde0314610261578063081812fc1461028c575b600080fd5b3480156101f357600080fd5b5061020e60048036038101906102099190612f0a565b610788565b60405161021b9190613c22565b60405180910390f35b34801561023057600080fd5b5061024b600480360381019061024691906130da565b6107a0565b6040516102589190613863565b60405180910390f35b34801561026d57600080fd5b5061027661081a565b604051610283919061387e565b60405180910390f35b34801561029857600080fd5b506102b360048036038101906102ae919061316d565b6108ac565b6040516102c091906137fc565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613075565b610931565b005b3480156102fe57600080fd5b50610307610a49565b6040516103149190613c22565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f9190612f6f565b610a56565b005b34801561035257600080fd5b5061036d60048036038101906103689190613075565b610ab6565b60405161037a9190613c22565b60405180910390f35b34801561038f57600080fd5b50610398610c31565b005b3480156103a657600080fd5b506103af610cd9565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612f6f565b610d72565b005b3480156103e657600080fd5b5061040160048036038101906103fc919061316d565b610d92565b005b34801561040f57600080fd5b5061042a6004803603810190610425919061316d565b610ea0565b6040516104379190613c22565b60405180910390f35b34801561044c57600080fd5b506104676004803603810190610462919061312c565b610f02565b005b34801561047557600080fd5b50610490600480360381019061048b919061316d565b611020565b60405161049d91906137fc565b60405180910390f35b3480156104b257600080fd5b506104bb6110d2565b6040516104c89190613863565b60405180910390f35b3480156104dd57600080fd5b506104e66110e5565b6040516104f3919061387e565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e9190612f0a565b611173565b6040516105309190613c22565b60405180910390f35b34801561054557600080fd5b5061054e61122b565b005b34801561055c57600080fd5b506105656112b3565b6040516105729190613863565b60405180910390f35b34801561058757600080fd5b506105a2600480360381019061059d9190613075565b6112c6565b005b6105be60048036038101906105b99190613196565b6113de565b005b3480156105cc57600080fd5b506105d5611518565b6040516105e291906137fc565b60405180910390f35b3480156105f757600080fd5b50610600611542565b60405161060d919061387e565b60405180910390f35b34801561062257600080fd5b5061063d60048036038101906106389190613039565b6115d4565b005b34801561064b57600080fd5b5061066660048036038101906106619190612fbe565b6115ea565b005b34801561067457600080fd5b5061068f600480360381019061068a919061316d565b61164c565b60405161069c919061387e565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906130b1565b6116f3565b005b3480156106da57600080fd5b506106f560048036038101906106f09190612f33565b611779565b6040516107029190613863565b60405180910390f35b34801561071757600080fd5b50610732600480360381019061072d9190612f0a565b61180d565b005b34801561074057600080fd5b5061075b60048036038101906107569190613075565b611905565b005b34801561076957600080fd5b50610772611a32565b60405161077f9190613c22565b60405180910390f35b60086020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610813575061081282611a37565b5b9050919050565b60606000805461082990613eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461085590613eaf565b80156108a25780601f10610877576101008083540402835291602001916108a2565b820191906000526020600020905b81548152906001019060200180831161088557829003601f168201915b5050505050905090565b60006108b782611b19565b6108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed90613aa2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061093c82611020565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a490613b82565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109cc611b85565b73ffffffffffffffffffffffffffffffffffffffff1614806109fb57506109fa816109f5611b85565b611779565b5b610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3190613a22565b60405180910390fd5b610a448383611b8d565b505050565b6000600680549050905090565b610a67610a61611b85565b82611c46565b610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d90613bc2565b60405180910390fd5b610ab1838383611d24565b505050565b6000610ac183611173565b8210610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af9906138e2565b60405180910390fd5b6000805b600680549050811015610be75760068181548110610b4d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610bd45783821415610bc557610bbc81611f80565b92505050610c2b565b8180610bd090613f12565b9250505b8080610bdf90613f12565b915050610b06565b506000610c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2090613c02565b60405180910390fd5b505b92915050565b610c39611b85565b73ffffffffffffffffffffffffffffffffffffffff16610c57611518565b73ffffffffffffffffffffffffffffffffffffffff1614610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca490613ae2565b60405180910390fd5b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b610ce1611b85565b73ffffffffffffffffffffffffffffffffffffffff16610cff611518565b73ffffffffffffffffffffffffffffffffffffffff1614610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90613ae2565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b610d8d838383604051806020016040528060008152506115ea565b505050565b610d9a611b85565b73ffffffffffffffffffffffffffffffffffffffff16610db8611518565b73ffffffffffffffffffffffffffffffffffffffff1614610e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0590613ae2565b60405180910390fd5b600a60009054906101000a900460ff16610e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5490613b42565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610e888361164c565b604051610e95919061387e565b60405180910390a250565b6000610eb3610eae83611f80565b611b19565b610ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee990613be2565b60405180910390fd5b610efb82611f80565b9050919050565b610f0a611b85565b73ffffffffffffffffffffffffffffffffffffffff16610f28611518565b73ffffffffffffffffffffffffffffffffffffffff1614610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7590613ae2565b60405180910390fd5b600a60009054906101000a900460ff1615610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590613982565b60405180910390fd5b8060099080519060200190610fe4929190612cba565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600960405161101591906138a0565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c090613a62565b60405180910390fd5b80915050919050565b600a60019054906101000a900460ff1681565b600980546110f290613eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90613eaf565b801561116b5780601f106111405761010080835404028352916020019161116b565b820191906000526020600020905b81548152906001019060200180831161114e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db90613a42565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611233611b85565b73ffffffffffffffffffffffffffffffffffffffff16611251611518565b73ffffffffffffffffffffffffffffffffffffffff16146112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613ae2565b60405180910390fd5b6112b16000611f96565b565b600a60009054906101000a900460ff1681565b6112ce611b85565b73ffffffffffffffffffffffffffffffffffffffff166112ec611518565b73ffffffffffffffffffffffffffffffffffffffff1614611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990613ae2565b60405180910390fd5b606481600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461138f9190613d27565b11156113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c790613ac2565b60405180910390fd5b6113da828261205c565b5050565b600a60019054906101000a900460ff1661142d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611424906139e2565b60405180910390fd5b6114393384848461213e565b611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90613962565b60405180910390fd5b8260ff1684600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114c79190613d27565b1115611508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ff906138c2565b60405180910390fd5b611512338561205c565b50505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461155190613eaf565b80601f016020809104026020016040519081016040528092919081815260200182805461157d90613eaf565b80156115ca5780601f1061159f576101008083540402835291602001916115ca565b820191906000526020600020905b8154815290600101906020018083116115ad57829003601f168201915b5050505050905090565b6115e66115df611b85565b83836121c5565b5050565b6115fb6115f5611b85565b83611c46565b61163a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163190613bc2565b60405180910390fd5b61164684848484612332565b50505050565b606061165782611b19565b611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d90613b22565b60405180910390fd5b60006116a061238e565b905060008151116116c057604051806020016040528060008152506116eb565b806116ca84612420565b6040516020016116db9291906137c3565b6040516020818303038152906040525b915050919050565b6116fb611b85565b73ffffffffffffffffffffffffffffffffffffffff16611719611518565b73ffffffffffffffffffffffffffffffffffffffff161461176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690613ae2565b60405180910390fd5b80600b8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611815611b85565b73ffffffffffffffffffffffffffffffffffffffff16611833611518565b73ffffffffffffffffffffffffffffffffffffffff1614611889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188090613ae2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f090613922565b60405180910390fd5b61190281611f96565b50565b61190d611b85565b73ffffffffffffffffffffffffffffffffffffffff1661192b611518565b73ffffffffffffffffffffffffffffffffffffffff1614611981576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197890613ae2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516119a7906137e7565b60006040518083038185875af1925050503d80600081146119e4576040519150601f19603f3d011682016040523d82523d6000602084013e6119e9565b606091505b5050905080611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2490613b62565b60405180910390fd5b505050565b606481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b0257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b125750611b11826125cd565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c0083611020565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c5182611b19565b611c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8790613a02565b60405180910390fd5b6000611c9b83611020565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d0a57508373ffffffffffffffffffffffffffffffffffffffff16611cf2846108ac565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d1b5750611d1a8185611779565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d4482611020565b73ffffffffffffffffffffffffffffffffffffffff1614611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190613b02565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e01906139a2565b60405180910390fd5b611e15838383612637565b611e20600082611b8d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e709190613dae565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec79190613d27565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600182611f8f9190613d27565b9050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612066610a49565b9050600082116120ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a290613ba2565b60405180910390fd5b6000600190505b828111612138576001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121099190613d27565b925050819055506121258482846121209190613d27565b6126c9565b808061213090613f12565b9150506120b2565b50505050565b600080858560405160200161215492919061376b565b6040516020818303038152906040528051906020012090506121ba848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b54836126e7565b915050949350505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b906139c2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123259190613863565b60405180910390a3505050565b61233d848484611d24565b612349848484846126fe565b612388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237f90613902565b60405180910390fd5b50505050565b60606009805461239d90613eaf565b80601f01602080910402602001604051908101604052809291908181526020018280546123c990613eaf565b80156124165780601f106123eb57610100808354040283529160200191612416565b820191906000526020600020905b8154815290600101906020018083116123f957829003601f168201915b5050505050905090565b60606000821415612468576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125c8565b600082905060005b6000821461249a57808061248390613f12565b915050600a826124939190613d7d565b9150612470565b60008167ffffffffffffffff8111156124dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561250e5781602001600182028036833780820191505090505b5090505b600085146125c1576001826125279190613dae565b9150600a856125369190613f9b565b60306125429190613d27565b60f81b81838151811061257e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125ba9190613d7d565b9450612512565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612642838383612895565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612685576126808261289a565b6126c4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126c3576126c28282612900565b5b5b505050565b6126e382826040518060200160405280600081525061298f565b5050565b6000826126f485846129ea565b1490509392505050565b600061271f8473ffffffffffffffffffffffffffffffffffffffff16612ac3565b15612888578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612748611b85565b8786866040518563ffffffff1660e01b815260040161276a9493929190613817565b602060405180830381600087803b15801561278457600080fd5b505af19250505080156127b557506040513d601f19601f820116820180604052508101906127b29190613103565b60015b612838573d80600081146127e5576040519150601f19603f3d011682016040523d82523d6000602084013e6127ea565b606091505b50600081511415612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790613902565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061288d565b600190505b949350505050565b505050565b6006819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b81600661290c83612ad6565b81548110612943577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6129998383612aec565b6129a660008484846126fe565b6129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90613902565b60405180910390fd5b505050565b60008082905060005b8451811015612ab8576000858281518110612a37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612a78578281604051602001612a5b929190613797565b604051602081830303815290604052805190602001209250612aa4565b8083604051602001612a8b929190613797565b6040516020818303038152906040528051906020012092505b508080612ab090613f12565b9150506129f3565b508091505092915050565b600080823b905060008111915050919050565b6000600182612ae59190613dae565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390613a82565b60405180910390fd5b612b6581611b19565b15612ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9c90613942565b60405180910390fd5b612bb160008383612637565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c019190613d27565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612cc690613eaf565b90600052602060002090601f016020900481019282612ce85760008555612d2f565b82601f10612d0157805160ff1916838001178555612d2f565b82800160010185558215612d2f579182015b82811115612d2e578251825591602001919060010190612d13565b5b509050612d3c9190612d40565b5090565b5b80821115612d59576000816000905550600101612d41565b5090565b6000612d70612d6b84613c62565b613c3d565b905082815260208101848484011115612d8857600080fd5b612d93848285613e6d565b509392505050565b6000612dae612da984613c93565b613c3d565b905082815260208101848484011115612dc657600080fd5b612dd1848285613e6d565b509392505050565b600081359050612de88161478f565b92915050565b60008083601f840112612e0057600080fd5b8235905067ffffffffffffffff811115612e1957600080fd5b602083019150836020820283011115612e3157600080fd5b9250929050565b600081359050612e47816147a6565b92915050565b600081359050612e5c816147bd565b92915050565b600081359050612e71816147d4565b92915050565b600081519050612e86816147d4565b92915050565b600082601f830112612e9d57600080fd5b8135612ead848260208601612d5d565b91505092915050565b600082601f830112612ec757600080fd5b8135612ed7848260208601612d9b565b91505092915050565b600081359050612eef816147eb565b92915050565b600081359050612f0481614802565b92915050565b600060208284031215612f1c57600080fd5b6000612f2a84828501612dd9565b91505092915050565b60008060408385031215612f4657600080fd5b6000612f5485828601612dd9565b9250506020612f6585828601612dd9565b9150509250929050565b600080600060608486031215612f8457600080fd5b6000612f9286828701612dd9565b9350506020612fa386828701612dd9565b9250506040612fb486828701612ee0565b9150509250925092565b60008060008060808587031215612fd457600080fd5b6000612fe287828801612dd9565b9450506020612ff387828801612dd9565b935050604061300487828801612ee0565b925050606085013567ffffffffffffffff81111561302157600080fd5b61302d87828801612e8c565b91505092959194509250565b6000806040838503121561304c57600080fd5b600061305a85828601612dd9565b925050602061306b85828601612e38565b9150509250929050565b6000806040838503121561308857600080fd5b600061309685828601612dd9565b92505060206130a785828601612ee0565b9150509250929050565b6000602082840312156130c357600080fd5b60006130d184828501612e4d565b91505092915050565b6000602082840312156130ec57600080fd5b60006130fa84828501612e62565b91505092915050565b60006020828403121561311557600080fd5b600061312384828501612e77565b91505092915050565b60006020828403121561313e57600080fd5b600082013567ffffffffffffffff81111561315857600080fd5b61316484828501612eb6565b91505092915050565b60006020828403121561317f57600080fd5b600061318d84828501612ee0565b91505092915050565b600080600080606085870312156131ac57600080fd5b60006131ba87828801612ee0565b94505060206131cb87828801612ef5565b935050604085013567ffffffffffffffff8111156131e857600080fd5b6131f487828801612dee565b925092505092959194509250565b61320b81613de2565b82525050565b61322261321d82613de2565b613f5b565b82525050565b61323181613df4565b82525050565b61324861324382613e00565b613f6d565b82525050565b600061325982613cd9565b6132638185613cef565b9350613273818560208601613e7c565b61327c81614088565b840191505092915050565b600061329282613ce4565b61329c8185613d0b565b93506132ac818560208601613e7c565b6132b581614088565b840191505092915050565b60006132cb82613ce4565b6132d58185613d1c565b93506132e5818560208601613e7c565b80840191505092915050565b600081546132fe81613eaf565b6133088186613d0b565b94506001821660008114613323576001811461333557613368565b60ff1983168652602086019350613368565b61333e85613cc4565b60005b8381101561336057815481890152600182019150602081019050613341565b808801955050505b50505092915050565b600061337e601f83613d0b565b9150613389826140b3565b602082019050919050565b60006133a1602b83613d0b565b91506133ac826140dc565b604082019050919050565b60006133c4603283613d0b565b91506133cf8261412b565b604082019050919050565b60006133e7602683613d0b565b91506133f28261417a565b604082019050919050565b600061340a601c83613d0b565b9150613415826141c9565b602082019050919050565b600061342d602b83613d0b565b9150613438826141f2565b604082019050919050565b6000613450601883613d0b565b915061345b82614241565b602082019050919050565b6000613473602483613d0b565b915061347e8261426a565b604082019050919050565b6000613496601983613d0b565b91506134a1826142b9565b602082019050919050565b60006134b9601283613d0b565b91506134c4826142e2565b602082019050919050565b60006134dc602c83613d0b565b91506134e78261430b565b604082019050919050565b60006134ff603883613d0b565b915061350a8261435a565b604082019050919050565b6000613522602a83613d0b565b915061352d826143a9565b604082019050919050565b6000613545602983613d0b565b9150613550826143f8565b604082019050919050565b6000613568602083613d0b565b915061357382614447565b602082019050919050565b600061358b602c83613d0b565b915061359682614470565b604082019050919050565b60006135ae602583613d0b565b91506135b9826144bf565b604082019050919050565b60006135d1602083613d0b565b91506135dc8261450e565b602082019050919050565b60006135f4602983613d0b565b91506135ff82614537565b604082019050919050565b6000613617602f83613d0b565b915061362282614586565b604082019050919050565b600061363a602083613d0b565b9150613645826145d5565b602082019050919050565b600061365d601883613d0b565b9150613668826145fe565b602082019050919050565b6000613680602183613d0b565b915061368b82614627565b604082019050919050565b60006136a3601d83613d0b565b91506136ae82614676565b602082019050919050565b60006136c6600083613d00565b91506136d18261469f565b600082019050919050565b60006136e9603183613d0b565b91506136f4826146a2565b604082019050919050565b600061370c602c83613d0b565b9150613717826146f1565b604082019050919050565b600061372f602d83613d0b565b915061373a82614740565b604082019050919050565b61374e81613e56565b82525050565b61376561376082613e60565b613f89565b82525050565b60006137778285613211565b6014820191506137878284613754565b6001820191508190509392505050565b60006137a38285613237565b6020820191506137b38284613237565b6020820191508190509392505050565b60006137cf82856132c0565b91506137db82846132c0565b91508190509392505050565b60006137f2826136b9565b9150819050919050565b60006020820190506138116000830184613202565b92915050565b600060808201905061382c6000830187613202565b6138396020830186613202565b6138466040830185613745565b8181036060830152613858818461324e565b905095945050505050565b60006020820190506138786000830184613228565b92915050565b600060208201905081810360008301526138988184613287565b905092915050565b600060208201905081810360008301526138ba81846132f1565b905092915050565b600060208201905081810360008301526138db81613371565b9050919050565b600060208201905081810360008301526138fb81613394565b9050919050565b6000602082019050818103600083015261391b816133b7565b9050919050565b6000602082019050818103600083015261393b816133da565b9050919050565b6000602082019050818103600083015261395b816133fd565b9050919050565b6000602082019050818103600083015261397b81613420565b9050919050565b6000602082019050818103600083015261399b81613443565b9050919050565b600060208201905081810360008301526139bb81613466565b9050919050565b600060208201905081810360008301526139db81613489565b9050919050565b600060208201905081810360008301526139fb816134ac565b9050919050565b60006020820190508181036000830152613a1b816134cf565b9050919050565b60006020820190508181036000830152613a3b816134f2565b9050919050565b60006020820190508181036000830152613a5b81613515565b9050919050565b60006020820190508181036000830152613a7b81613538565b9050919050565b60006020820190508181036000830152613a9b8161355b565b9050919050565b60006020820190508181036000830152613abb8161357e565b9050919050565b60006020820190508181036000830152613adb816135a1565b9050919050565b60006020820190508181036000830152613afb816135c4565b9050919050565b60006020820190508181036000830152613b1b816135e7565b9050919050565b60006020820190508181036000830152613b3b8161360a565b9050919050565b60006020820190508181036000830152613b5b8161362d565b9050919050565b60006020820190508181036000830152613b7b81613650565b9050919050565b60006020820190508181036000830152613b9b81613673565b9050919050565b60006020820190508181036000830152613bbb81613696565b9050919050565b60006020820190508181036000830152613bdb816136dc565b9050919050565b60006020820190508181036000830152613bfb816136ff565b9050919050565b60006020820190508181036000830152613c1b81613722565b9050919050565b6000602082019050613c376000830184613745565b92915050565b6000613c47613c58565b9050613c538282613ee1565b919050565b6000604051905090565b600067ffffffffffffffff821115613c7d57613c7c614059565b5b613c8682614088565b9050602081019050919050565b600067ffffffffffffffff821115613cae57613cad614059565b5b613cb782614088565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d3282613e56565b9150613d3d83613e56565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d7257613d71613fcc565b5b828201905092915050565b6000613d8882613e56565b9150613d9383613e56565b925082613da357613da2613ffb565b5b828204905092915050565b6000613db982613e56565b9150613dc483613e56565b925082821015613dd757613dd6613fcc565b5b828203905092915050565b6000613ded82613e36565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613e9a578082015181840152602081019050613e7f565b83811115613ea9576000848401525b50505050565b60006002820490506001821680613ec757607f821691505b60208210811415613edb57613eda61402a565b5b50919050565b613eea82614088565b810181811067ffffffffffffffff82111715613f0957613f08614059565b5b80604052505050565b6000613f1d82613e56565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5057613f4f613fcc565b5b600182019050919050565b6000613f6682613f77565b9050919050565b6000819050919050565b6000613f82826140a6565b9050919050565b6000613f9482614099565b9050919050565b6000613fa682613e56565b9150613fb183613e56565b925082613fc157613fc0613ffb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f50757263686173652065786365656473206d6178206d696e7420636f756e7400600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f41646472657373206e6f7420666f756e6420696e20656c69676962696c69747960008201527f20616c6c6f77206c697374000000000000000000000000000000000000000000602082015250565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416c6c20526573657276656420496e7465726e732068617665206265656e206d60008201527f696e746564000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f426173652055524c206d7573742062652066696e616c697a6564206669727374600082015250565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520496e7465726e000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a2063616e6e6f742066696e64206f7760008201527f6e657220666f7220746f6b656e00000000000000000000000000000000000000602082015250565b61479881613de2565b81146147a357600080fd5b50565b6147af81613df4565b81146147ba57600080fd5b50565b6147c681613e00565b81146147d157600080fd5b50565b6147dd81613e0a565b81146147e857600080fd5b50565b6147f481613e56565b81146147ff57600080fd5b50565b61480b81613e60565b811461481657600080fd5b5056fea2646970667358221220e672cbb9ff72e24c85e34f60c613818b90f6a2eb9a5183e446b19645a224647464736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f77616c6c73747265657462756c6c732e696f2f696e7465726e732f746f6b656e2f0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialBaseURI (string): https://wallstreetbulls.io/interns/token/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [2] : 68747470733a2f2f77616c6c73747265657462756c6c732e696f2f696e746572
Arg [3] : 6e732f746f6b656e2f0000000000000000000000000000000000000000000000


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.