Contract 0xfC778Be06c9A58f8f3e5E99216eFBB28f750Bc98 4

Token Contract 
 
 
Txn Hash
Method
Block
From
To
Value
0x867c51012dbb7b22b1a87bb7730e130edd218721f4ef5322943e14ee15198b2eSet Approval For...160623832022-11-27 16:01:113 hrs 13 mins ago0xa483f37d3f60260a82c24ddceefb7873578c8567 IN  ETHEREALS: BOOO Token0 Ether0.00078643 16.83755889
0x50686510983046565a688fb35daecea724806a2bc12be0b71d37e08187bec73cTransfer From160622512022-11-27 15:34:473 hrs 39 mins agoENS Name rollbot.eth IN  ETHEREALS: BOOO Token0 Ether0.00098524 10.03377001
0x1c82ef1601778011737b83b3387666719a8c61333531b010fad87d661b21f67eSet Approval For...160576762022-11-27 0:16:1118 hrs 58 mins ago0xda06d2c05b51d42ce2d9c0af99f6f74a06d97fbe IN  ETHEREALS: BOOO Token0 Ether0.00051386 11.00190142
0x7ab921a11542a03170ea202a04cd2451f40e1c40b7f32d9390af0d252e70f041Set Approval For...160572022022-11-26 22:40:5920 hrs 33 mins ago0x3dffcd2d95fae3f530cdb766c6b377600f67f62a IN  ETHEREALS: BOOO Token0 Ether0.00024101 9.69223169
0x63156c7aa3f6a93f89016a16fcb7bf26cb9e2215fc01daa956cb63e5628640dfSet Approval For...160565952022-11-26 20:38:3522 hrs 35 mins ago0x0a0aeadd1dba425127910db5398969dd50a5bb68 IN  ETHEREALS: BOOO Token0 Ether0.00048595 10.40442112
0xfc2127b59ac5b2eb9fc6dd8ebe29761f8080770f579fb3406bfe8a239d0ec74cSet Approval For...160445862022-11-25 4:22:352 days 14 hrs agoENS Name nftlion.eth IN  ETHEREALS: BOOO Token0 Ether0.00029854 12
0xe61b56b716913f2a5816ce61122cedede934516b44079cd5e5d0c8744280e317Set Approval For...160430912022-11-24 23:21:472 days 19 hrs agoENS Name jimjammer.eth IN  ETHEREALS: BOOO Token0 Ether0.00053565 11.46250315
0x71118e953abb5ec0b67d484acb1cc896bc10ff037bdc1ad40c6a0c41d0694ad2Transfer From160405182022-11-24 14:44:593 days 4 hrs agoENS Name rollbot.eth IN  ETHEREALS: BOOO Token0 Ether0.0007784 10.31851131
0xf815ca5158364b9aef77228c41c6471c4976bcd720075bc64ed753da2e36d79dTransfer From160405182022-11-24 14:44:593 days 4 hrs agoENS Name rollbot.eth IN  ETHEREALS: BOOO Token0 Ether0.00088628 10.31851131
0xa9e4d948d02cfeeeb9abae3c9fa15d597b9bd464a4b97c868e907bd970f990baTransfer From160405172022-11-24 14:44:473 days 4 hrs agoENS Name rollbot.eth IN  ETHEREALS: BOOO Token0 Ether0.00096221 11.20245528
0xc2897754209e496b4b562669e5060ce5017344c5b4d09750f4f655109bee9264Transfer From160405142022-11-24 14:44:113 days 4 hrs agoENS Name rollbot.eth IN  ETHEREALS: BOOO Token0 Ether0.00105691 10.76364286
0xb4f3f659eb8f2af5a26287c6d0fb8dd35cfe0cb7eed120db972cc82a6a08b9d9Transfer From160392852022-11-24 10:36:593 days 8 hrs agoENS Name lucopedia.eth IN  ETHEREALS: BOOO Token0 Ether0.00104016 11.85533903
0x96e16a40315230842f542eba3375bae6eaf2707550fd18ad6188ceb749e69166Transfer From160392302022-11-24 10:25:593 days 8 hrs agoENS Name lucopedia.eth IN  ETHEREALS: BOOO Token0 Ether0.00079226 10.50220194
0x3012a25314a8e6752519a078c9944e619309ef8af105f6533bc0959560dbb756Transfer From160392302022-11-24 10:25:593 days 8 hrs agoENS Name lucopedia.eth IN  ETHEREALS: BOOO Token0 Ether0.00079226 10.50220194
0xd63533a1a1464b7a2c53aaa8715317df6b4ebf345dafbebdf79fd8deb341cb86Transfer From160392302022-11-24 10:25:593 days 8 hrs agoENS Name lucopedia.eth IN  ETHEREALS: BOOO Token0 Ether0.00079226 10.50220194
0x69a0920d77de962aaaa417eab6ee8aa14843197811a695c4a6a2e2b0f1d13614Set Approval For...160377812022-11-24 5:34:113 days 13 hrs ago0x30145d714db337606c8f520bee9a3e3eac910636 IN  ETHEREALS: BOOO Token0 Ether0.00054245 11.61403896
0x1f825c99ff9067b3e3f534bc1b9d072255a1e1cfa11c5bd2068dd2104bfe8b4eSet Approval For...160354792022-11-23 21:51:233 days 21 hrs agoENS Name lucjodet.eth IN  ETHEREALS: BOOO Token0 Ether0.00064409 13.79020695
0x7f2d07bf89c5a99c955cb720eda931141497b4db0e0f0dcd47967b61a1db3d07Set Approval For...160334622022-11-23 15:02:354 days 4 hrs agoENS Name schwartzbacca.eth IN  ETHEREALS: BOOO Token0 Ether0.00041261 16.59289163
0x710bb7349d9ad784cf73964188a84931475dd1d9a256818ee5f2101bdc4e286cSet Approval For...160329602022-11-23 13:21:474 days 5 hrs ago0x082d3e0f04664b65127876e9a05e2183451c792a IN  ETHEREALS: BOOO Token0 Ether0.00052154 11.16622793
0xba5b8b2902eb890a50b3010df2460da19865ee10e03641c87dd710b5d69203ecSet Approval For...160286622022-11-22 22:56:354 days 20 hrs agoENS Name mikemongo.eth IN  ETHEREALS: BOOO Token0 Ether0.00031347 12.60618481
0x480eaac572695c1093d861185b350d162afaed977824be162dad1686d40709c0Safe Transfer Fr...160206222022-11-21 19:57:475 days 23 hrs ago0x30c7183fd1642254716f3c52d4b6b5390d547fe1 IN  ETHEREALS: BOOO Token0 Ether0.00135224 13.37594489
0x05d7c862809509612958d66cb29048b5655669e2a6b99b32a08bf970fcd217e3Safe Transfer Fr...160190192022-11-21 14:35:116 days 4 hrs ago0x304fc5da4b9031d894f230c20dec3f2b3665f316 IN  ETHEREALS: BOOO Token0 Ether0.00174743 19.89341674
0x61ef97464ecafdd07d7f460f1b172a7a84cb5db5253756da1c2ea7a87e9802e9Transfer From160188212022-11-21 13:55:356 days 5 hrs ago0xa78d7d4b328c8f0078c6ecd1e759f60cd9f4d589 IN  ETHEREALS: BOOO Token0 Ether0.00098592 11.23871469
0xb4ce9acce049f71ea95bac9f3446112190c9fc7d80954814cac1ef35c046d5c6Set Approval For...160120342022-11-20 15:11:117 days 4 hrs ago0x865a5c5fb6b32e1f3facf741e564b2f0bb251e47 IN  ETHEREALS: BOOO Token0 Ether0.00059137 12.66142418
0x4f57cd33f66acdddb6ecbd27a11dc2cb9f192734c72f139873c2c910e1dffa27Set Approval For...160102382022-11-20 9:09:357 days 10 hrs ago0x7b5a8c71e145294ab730af4a653a3663288133d8 IN  ETHEREALS: BOOO Token0 Ether0.00034984 13.0153923
[ Download CSV Export 

OVERVIEW

ETHEREALS are 12,345 hand drawn, randomly generated, interdimensional ghosts. Their traits are pulled from all reaches of the metaverse and include surprising mashups of cultural references all the way down to super-insider rarities. They are eternal beings that travel through...

Latest 4 internal transactions
Parent Txn Hash Block From To Value
0xd41b0f52f51e64e1279d28a9db2292076df5b0b6927ab0a139e7bd5d6c4c37e7133738102021-10-07 19:58:29415 days 23 hrs ago ETHEREALS: BOOO TokenETHEREALS: Deployer684.2376 Ether
0xa67bd007d58af8843871b83b3e9f101888c331661ff854e2593c8c2d1a0c72c1133563252021-10-05 2:21:09418 days 16 hrs ago ETHEREALS: BOOO TokenETHEREALS: Deployer71.7324 Ether
0x470ca0c3c0b528524ee538d2c1fd6f700b7d86779e4418d6b496f32544dd113a133481342021-10-03 19:26:49419 days 23 hrs ago 0xdd4c14571f04c66795b147595a37bf9a245da8b0 ETHEREALS: BOOO Token0.1356 Ether
0xac6c5717ebbbd598809b26281a75dce4ce01751827a40260ab24440a47ff9b89133437782021-10-03 3:06:15420 days 16 hrs ago ETHEREALS: BOOO TokenETHEREALS: Deployer72.6816 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ETHEREALS

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : ETHEREALS.sol
// SPDX-License-Identifier: MIT
//o--o o-O-o o  o o--o o--o  o--o   O  o     o-o  
//|      |   |  | |    |   | |     / \ |    |     
//O-o    |   O--O O-o  O-Oo  O-o  o---o|     o-o  
//|      |   |  | |    |  \  |    |   ||        | 
//o--o   o   o  o o--o o   o o--o o   oO---oo--o 
//
//#boogang 
                                                
                                           
pragma solidity ^0.8.0;

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

 contract ETHEREALS is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Address for address;
    
    string public PROVENANCE;
    string private baseURI;
    
    uint256 public maxSupply;
    uint256 public price = 0.0678 ether;

    bool public presaleActive = false;
    bool public saleActive = false;

    mapping (address => uint256) public presaleWhitelist;

    constructor(string memory name, string memory symbol, uint256 supply) ERC721(name, symbol) {
        maxSupply = supply;
    }
    
    function reserve() public onlyOwner {
        uint256 supply = totalSupply();
        for (uint256 i = 0; i < 123; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function mintPresale(uint256 numberOfMints) public payable {
        uint256 supply = totalSupply();
        uint256 reserved = presaleWhitelist[msg.sender];
        require(presaleActive,                              "Presale must be active to mint");
        require(reserved > 0,                               "No tokens reserved for this address");
        require(numberOfMints <= reserved,                  "Can't mint more than reserved");
        require(supply.add(numberOfMints) <= maxSupply,     "Purchase would exceed max supply of tokens");
        require(price.mul(numberOfMints) == msg.value,      "Ether value sent is not correct");
        presaleWhitelist[msg.sender] = reserved - numberOfMints;

        for(uint256 i; i < numberOfMints; i++){
            _safeMint( msg.sender, supply + i );
        }
    }
    
    function mint(uint256 numberOfMints) public payable {
        uint256 supply = totalSupply();
        require(saleActive,                                 "Sale must be active to mint");
        require(numberOfMints > 0 && numberOfMints < 11,    "Invalid purchase amount");
        require(supply.add(numberOfMints) <= maxSupply,     "Purchase would exceed max supply of tokens");
        require(price.mul(numberOfMints) == msg.value,      "Ether value sent is not correct");
        
        for(uint256 i; i < numberOfMints; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function editPresale(address[] calldata presaleAddresses, uint256[] calldata amount) public onlyOwner {
        for(uint256 i; i < presaleAddresses.length; i++){
            presaleWhitelist[presaleAddresses[i]] = amount[i];
        }
    }
    
    function walletOfOwner(address owner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(owner);

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

    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function togglePresale() public onlyOwner {
        presaleActive = !presaleActive;
    }

    function toggleSale() public onlyOwner {
        saleActive = !saleActive;
    }

    function setPrice(uint256 newPrice) public onlyOwner {
        price = newPrice;
    }


    function setProvenance(string memory provenance) public onlyOwner {
        PROVENANCE = provenance;
    }
    
    function setBaseURI(string memory uri) public onlyOwner {
        baseURI = uri;
    }
    
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"presaleAddresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"editPresale","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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","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":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266f0dfbda3c58000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055503480156200005257600080fd5b5060405162004e7138038062004e718339818101604052810190620000789190620002b0565b828281600090805190602001906200009292919062000177565b508060019080519060200190620000ab92919062000177565b5050506000620000c06200016f60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600d819055505050506200048d565b600033905090565b8280546200018590620003df565b90600052602060002090601f016020900481019282620001a95760008555620001f5565b82601f10620001c457805160ff1916838001178555620001f5565b82800160010185558215620001f5579182015b82811115620001f4578251825591602001919060010190620001d7565b5b50905062000204919062000208565b5090565b5b808211156200022357600081600090555060010162000209565b5090565b60006200023e62000238846200036c565b62000338565b9050828152602081018484840111156200025757600080fd5b62000264848285620003a9565b509392505050565b600082601f8301126200027e57600080fd5b81516200029084826020860162000227565b91505092915050565b600081519050620002aa8162000473565b92915050565b600080600060608486031215620002c657600080fd5b600084015167ffffffffffffffff811115620002e157600080fd5b620002ef868287016200026c565b935050602084015167ffffffffffffffff8111156200030d57600080fd5b6200031b868287016200026c565b92505060406200032e8682870162000299565b9150509250925092565b6000604051905081810181811067ffffffffffffffff8211171562000362576200036162000444565b5b8060405250919050565b600067ffffffffffffffff8211156200038a576200038962000444565b5b601f19601f8301169050602081019050919050565b6000819050919050565b60005b83811015620003c9578082015181840152602081019050620003ac565b83811115620003d9576000848401525b50505050565b60006002820490506001821680620003f857607f821691505b602082108114156200040f576200040e62000415565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200047e816200039f565b81146200048a57600080fd5b50565b6149d4806200049d6000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063b88d4fde116100a0578063e985e9c51161006f578063e985e9c514610756578063eb8835ab14610793578063f2fde38b146107d0578063f759867a146107f9578063ffe630b5146108155761020f565b8063b88d4fde146106ae578063c87b56dd146106d7578063cd3293de14610714578063d5abeb011461072b5761020f565b806391b7f5ed116100e757806391b7f5ed146105ea57806395d89b4114610613578063a035b1fe1461063e578063a0712d6814610669578063a22cb465146106855761020f565b806370a0823114610554578063715018a6146105915780637d8966e4146105a85780638da5cb5b146105bf5761020f565b80633ccfd60b1161019b57806353135ca01161016a57806353135ca01461046d57806355f804b3146104985780636352211e146104c15780636373a6b1146104fe57806368428a1b146105295761020f565b80633ccfd60b146103b357806342842e0e146103ca578063438b6300146103f35780634f6ccce7146104305761020f565b806318160ddd116101e257806318160ddd146102e257806323b872dd1461030d57806326ed7155146103365780632f745c591461035f578063343937431461039c5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061361b565b61083e565b6040516102489190614179565b60405180910390f35b34801561025d57600080fd5b506102666108b8565b6040516102739190614194565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906136ae565b61094a565b6040516102b091906140f0565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db919061356a565b6109cf565b005b3480156102ee57600080fd5b506102f7610ae7565b60405161030491906144d6565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190613464565b610af4565b005b34801561034257600080fd5b5061035d600480360381019061035891906135a6565b610b54565b005b34801561036b57600080fd5b506103866004803603810190610381919061356a565b610cc8565b60405161039391906144d6565b60405180910390f35b3480156103a857600080fd5b506103b1610d6d565b005b3480156103bf57600080fd5b506103c8610e15565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613464565b610eda565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906133ff565b610efa565b6040516104279190614157565b60405180910390f35b34801561043c57600080fd5b50610457600480360381019061045291906136ae565b610ff4565b60405161046491906144d6565b60405180910390f35b34801561047957600080fd5b5061048261108b565b60405161048f9190614179565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba919061366d565b61109e565b005b3480156104cd57600080fd5b506104e860048036038101906104e391906136ae565b611134565b6040516104f591906140f0565b60405180910390f35b34801561050a57600080fd5b506105136111e6565b6040516105209190614194565b60405180910390f35b34801561053557600080fd5b5061053e611274565b60405161054b9190614179565b60405180910390f35b34801561056057600080fd5b5061057b600480360381019061057691906133ff565b611287565b60405161058891906144d6565b60405180910390f35b34801561059d57600080fd5b506105a661133f565b005b3480156105b457600080fd5b506105bd61147c565b005b3480156105cb57600080fd5b506105d4611524565b6040516105e191906140f0565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c91906136ae565b61154e565b005b34801561061f57600080fd5b506106286115d4565b6040516106359190614194565b60405180910390f35b34801561064a57600080fd5b50610653611666565b60405161066091906144d6565b60405180910390f35b610683600480360381019061067e91906136ae565b61166c565b005b34801561069157600080fd5b506106ac60048036038101906106a7919061352e565b6117fb565b005b3480156106ba57600080fd5b506106d560048036038101906106d091906134b3565b61197c565b005b3480156106e357600080fd5b506106fe60048036038101906106f991906136ae565b6119de565b60405161070b9190614194565b60405180910390f35b34801561072057600080fd5b50610729611a85565b005b34801561073757600080fd5b50610740611b45565b60405161074d91906144d6565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190613428565b611b4b565b60405161078a9190614179565b60405180910390f35b34801561079f57600080fd5b506107ba60048036038101906107b591906133ff565b611bdf565b6040516107c791906144d6565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906133ff565b611bf7565b005b610813600480360381019061080e91906136ae565b611da3565b005b34801561082157600080fd5b5061083c6004803603810190610837919061366d565b611ffd565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b157506108b082612093565b5b9050919050565b6060600080546108c7906147c9565b80601f01602080910402602001604051908101604052809291908181526020018280546108f3906147c9565b80156109405780601f1061091557610100808354040283529160200191610940565b820191906000526020600020905b81548152906001019060200180831161092357829003601f168201915b5050505050905090565b600061095582612175565b610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098b906143d6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109da82611134565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4290614456565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6a6121e1565b73ffffffffffffffffffffffffffffffffffffffff161480610a995750610a9881610a936121e1565b611b4b565b5b610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf90614316565b60405180910390fd5b610ae283836121e9565b505050565b6000600880549050905090565b610b05610aff6121e1565b826122a2565b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90614476565b60405180910390fd5b610b4f838383612380565b505050565b610b5c6121e1565b73ffffffffffffffffffffffffffffffffffffffff16610b7a611524565b73ffffffffffffffffffffffffffffffffffffffff1614610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc7906143f6565b60405180910390fd5b60005b84849050811015610cc157828282818110610c17577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560106000878785818110610c5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c7091906133ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610cb9906147fb565b915050610bd3565b5050505050565b6000610cd383611287565b8210610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b906141d6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d756121e1565b73ffffffffffffffffffffffffffffffffffffffff16610d93611524565b73ffffffffffffffffffffffffffffffffffffffff1614610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de0906143f6565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b610e1d6121e1565b73ffffffffffffffffffffffffffffffffffffffff16610e3b611524565b73ffffffffffffffffffffffffffffffffffffffff1614610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e88906143f6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ed7573d6000803e3d6000fd5b50565b610ef58383836040518060200160405280600081525061197c565b505050565b60606000610f0783611287565b905060008167ffffffffffffffff811115610f4b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f795781602001602082028036833780820191505090505b50905060005b82811015610fe957610f918582610cc8565b828281518110610fca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610fe1906147fb565b915050610f7f565b508092505050919050565b6000610ffe610ae7565b821061103f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103690614496565b60405180910390fd5b60088281548110611079577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600f60009054906101000a900460ff1681565b6110a66121e1565b73ffffffffffffffffffffffffffffffffffffffff166110c4611524565b73ffffffffffffffffffffffffffffffffffffffff161461111a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611111906143f6565b60405180910390fd5b80600c908051906020019061113092919061318f565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d490614376565b60405180910390fd5b80915050919050565b600b80546111f3906147c9565b80601f016020809104026020016040519081016040528092919081815260200182805461121f906147c9565b801561126c5780601f106112415761010080835404028352916020019161126c565b820191906000526020600020905b81548152906001019060200180831161124f57829003601f168201915b505050505081565b600f60019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90614356565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113476121e1565b73ffffffffffffffffffffffffffffffffffffffff16611365611524565b73ffffffffffffffffffffffffffffffffffffffff16146113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b2906143f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6114846121e1565b73ffffffffffffffffffffffffffffffffffffffff166114a2611524565b73ffffffffffffffffffffffffffffffffffffffff16146114f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ef906143f6565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115566121e1565b73ffffffffffffffffffffffffffffffffffffffff16611574611524565b73ffffffffffffffffffffffffffffffffffffffff16146115ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c1906143f6565b60405180910390fd5b80600e8190555050565b6060600180546115e3906147c9565b80601f016020809104026020016040519081016040528092919081815260200182805461160f906147c9565b801561165c5780601f106116315761010080835404028352916020019161165c565b820191906000526020600020905b81548152906001019060200180831161163f57829003601f168201915b5050505050905090565b600e5481565b6000611676610ae7565b9050600f60019054906101000a900460ff166116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be906142b6565b60405180910390fd5b6000821180156116d75750600b82105b611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170d906144b6565b60405180910390fd5b600d5461172c83836125dc90919063ffffffff16565b111561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490614396565b60405180910390fd5b3461178383600e546125f290919063ffffffff16565b146117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba90614296565b60405180910390fd5b60005b828110156117f6576117e33382846117de91906145fe565b612608565b80806117ee906147fb565b9150506117c6565b505050565b6118036121e1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186890614276565b60405180910390fd5b806005600061187e6121e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661192b6121e1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119709190614179565b60405180910390a35050565b61198d6119876121e1565b836122a2565b6119cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c390614476565b60405180910390fd5b6119d884848484612626565b50505050565b60606119e982612175565b611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90614436565b60405180910390fd5b6000611a32612682565b90506000815111611a525760405180602001604052806000815250611a7d565b80611a5c84612714565b604051602001611a6d9291906140cc565b6040516020818303038152906040525b915050919050565b611a8d6121e1565b73ffffffffffffffffffffffffffffffffffffffff16611aab611524565b73ffffffffffffffffffffffffffffffffffffffff1614611b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af8906143f6565b60405180910390fd5b6000611b0b610ae7565b905060005b607b811015611b4157611b2e338284611b2991906145fe565b612608565b8080611b39906147fb565b915050611b10565b5050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60106020528060005260406000206000915090505481565b611bff6121e1565b73ffffffffffffffffffffffffffffffffffffffff16611c1d611524565b73ffffffffffffffffffffffffffffffffffffffff1614611c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6a906143f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90614216565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611dad610ae7565b90506000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600f60009054906101000a900460ff16611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614336565b60405180910390fd5b60008111611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c906142f6565b60405180910390fd5b80831115611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf906141b6565b60405180910390fd5b600d54611ede84846125dc90919063ffffffff16565b1115611f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1690614396565b60405180910390fd5b34611f3584600e546125f290919063ffffffff16565b14611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90614296565b60405180910390fd5b8281611f8191906146df565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015611ff757611fe4338285611fdf91906145fe565b612608565b8080611fef906147fb565b915050611fc7565b50505050565b6120056121e1565b73ffffffffffffffffffffffffffffffffffffffff16612023611524565b73ffffffffffffffffffffffffffffffffffffffff1614612079576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612070906143f6565b60405180910390fd5b80600b908051906020019061208f92919061318f565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061215e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061216e575061216d826128c1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661225c83611134565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122ad82612175565b6122ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e3906142d6565b60405180910390fd5b60006122f783611134565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061236657508373ffffffffffffffffffffffffffffffffffffffff1661234e8461094a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061237757506123768185611b4b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123a082611134565b73ffffffffffffffffffffffffffffffffffffffff16146123f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ed90614416565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d90614256565b60405180910390fd5b61247183838361292b565b61247c6000826121e9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124cc91906146df565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461252391906145fe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836125ea91906145fe565b905092915050565b600081836126009190614685565b905092915050565b612622828260405180602001604052806000815250612a3f565b5050565b612631848484612380565b61263d84848484612a9a565b61267c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612673906141f6565b60405180910390fd5b50505050565b6060600c8054612691906147c9565b80601f01602080910402602001604051908101604052809291908181526020018280546126bd906147c9565b801561270a5780601f106126df5761010080835404028352916020019161270a565b820191906000526020600020905b8154815290600101906020018083116126ed57829003601f168201915b5050505050905090565b6060600082141561275c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128bc565b600082905060005b6000821461278e578080612777906147fb565b915050600a826127879190614654565b9150612764565b60008167ffffffffffffffff8111156127d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128025781602001600182028036833780820191505090505b5090505b600085146128b55760018261281b91906146df565b9150600a8561282a9190614844565b603061283691906145fe565b60f81b818381518110612872577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128ae9190614654565b9450612806565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612936838383612c31565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129795761297481612c36565b6129b8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129b7576129b68382612c7f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129fb576129f681612dec565b612a3a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a3957612a388282612f2f565b5b5b505050565b612a498383612fae565b612a566000848484612a9a565b612a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8c906141f6565b60405180910390fd5b505050565b6000612abb8473ffffffffffffffffffffffffffffffffffffffff1661317c565b15612c24578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ae46121e1565b8786866040518563ffffffff1660e01b8152600401612b06949392919061410b565b602060405180830381600087803b158015612b2057600080fd5b505af1925050508015612b5157506040513d601f19601f82011682018060405250810190612b4e9190613644565b60015b612bd4573d8060008114612b81576040519150601f19603f3d011682016040523d82523d6000602084013e612b86565b606091505b50600081511415612bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc3906141f6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c29565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c8c84611287565b612c9691906146df565b9050600060076000848152602001908152602001600020549050818114612d7b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e0091906146df565b9050600060096000848152602001908152602001600020549050600060088381548110612e56577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612e9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f3a83611287565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561301e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613015906143b6565b60405180910390fd5b61302781612175565b15613067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305e90614236565b60405180910390fd5b6130736000838361292b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130c391906145fe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461319b906147c9565b90600052602060002090601f0160209004810192826131bd5760008555613204565b82601f106131d657805160ff1916838001178555613204565b82800160010185558215613204579182015b828111156132035782518255916020019190600101906131e8565b5b5090506132119190613215565b5090565b5b8082111561322e576000816000905550600101613216565b5090565b600061324561324084614522565b6144f1565b90508281526020810184848401111561325d57600080fd5b613268848285614787565b509392505050565b600061328361327e84614552565b6144f1565b90508281526020810184848401111561329b57600080fd5b6132a6848285614787565b509392505050565b6000813590506132bd81614942565b92915050565b60008083601f8401126132d557600080fd5b8235905067ffffffffffffffff8111156132ee57600080fd5b60208301915083602082028301111561330657600080fd5b9250929050565b60008083601f84011261331f57600080fd5b8235905067ffffffffffffffff81111561333857600080fd5b60208301915083602082028301111561335057600080fd5b9250929050565b60008135905061336681614959565b92915050565b60008135905061337b81614970565b92915050565b60008151905061339081614970565b92915050565b600082601f8301126133a757600080fd5b81356133b7848260208601613232565b91505092915050565b600082601f8301126133d157600080fd5b81356133e1848260208601613270565b91505092915050565b6000813590506133f981614987565b92915050565b60006020828403121561341157600080fd5b600061341f848285016132ae565b91505092915050565b6000806040838503121561343b57600080fd5b6000613449858286016132ae565b925050602061345a858286016132ae565b9150509250929050565b60008060006060848603121561347957600080fd5b6000613487868287016132ae565b9350506020613498868287016132ae565b92505060406134a9868287016133ea565b9150509250925092565b600080600080608085870312156134c957600080fd5b60006134d7878288016132ae565b94505060206134e8878288016132ae565b93505060406134f9878288016133ea565b925050606085013567ffffffffffffffff81111561351657600080fd5b61352287828801613396565b91505092959194509250565b6000806040838503121561354157600080fd5b600061354f858286016132ae565b925050602061356085828601613357565b9150509250929050565b6000806040838503121561357d57600080fd5b600061358b858286016132ae565b925050602061359c858286016133ea565b9150509250929050565b600080600080604085870312156135bc57600080fd5b600085013567ffffffffffffffff8111156135d657600080fd5b6135e2878288016132c3565b9450945050602085013567ffffffffffffffff81111561360157600080fd5b61360d8782880161330d565b925092505092959194509250565b60006020828403121561362d57600080fd5b600061363b8482850161336c565b91505092915050565b60006020828403121561365657600080fd5b600061366484828501613381565b91505092915050565b60006020828403121561367f57600080fd5b600082013567ffffffffffffffff81111561369957600080fd5b6136a5848285016133c0565b91505092915050565b6000602082840312156136c057600080fd5b60006136ce848285016133ea565b91505092915050565b60006136e383836140ae565b60208301905092915050565b6136f881614713565b82525050565b600061370982614592565b61371381856145c0565b935061371e83614582565b8060005b8381101561374f57815161373688826136d7565b9750613741836145b3565b925050600181019050613722565b5085935050505092915050565b61376581614725565b82525050565b60006137768261459d565b61378081856145d1565b9350613790818560208601614796565b61379981614931565b840191505092915050565b60006137af826145a8565b6137b981856145e2565b93506137c9818560208601614796565b6137d281614931565b840191505092915050565b60006137e8826145a8565b6137f281856145f3565b9350613802818560208601614796565b80840191505092915050565b600061381b601d836145e2565b91507f43616e2774206d696e74206d6f7265207468616e2072657365727665640000006000830152602082019050919050565b600061385b602b836145e2565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006138c16032836145e2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006139276026836145e2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061398d601c836145e2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006139cd6024836145e2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a336019836145e2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613a73601f836145e2565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b6000613ab3601b836145e2565b91507f53616c65206d7573742062652061637469766520746f206d696e7400000000006000830152602082019050919050565b6000613af3602c836145e2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613b596023836145e2565b91507f4e6f20746f6b656e7320726573657276656420666f722074686973206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bbf6038836145e2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613c25601e836145e2565b91507f50726573616c65206d7573742062652061637469766520746f206d696e7400006000830152602082019050919050565b6000613c65602a836145e2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ccb6029836145e2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d31602a836145e2565b91507f507572636861736520776f756c6420657863656564206d617820737570706c7960008301527f206f6620746f6b656e73000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d976020836145e2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613dd7602c836145e2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613e3d6020836145e2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613e7d6029836145e2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ee3602f836145e2565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613f496021836145e2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613faf6031836145e2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614015602c836145e2565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061407b6017836145e2565b91507f496e76616c696420707572636861736520616d6f756e740000000000000000006000830152602082019050919050565b6140b78161477d565b82525050565b6140c68161477d565b82525050565b60006140d882856137dd565b91506140e482846137dd565b91508190509392505050565b600060208201905061410560008301846136ef565b92915050565b600060808201905061412060008301876136ef565b61412d60208301866136ef565b61413a60408301856140bd565b818103606083015261414c818461376b565b905095945050505050565b6000602082019050818103600083015261417181846136fe565b905092915050565b600060208201905061418e600083018461375c565b92915050565b600060208201905081810360008301526141ae81846137a4565b905092915050565b600060208201905081810360008301526141cf8161380e565b9050919050565b600060208201905081810360008301526141ef8161384e565b9050919050565b6000602082019050818103600083015261420f816138b4565b9050919050565b6000602082019050818103600083015261422f8161391a565b9050919050565b6000602082019050818103600083015261424f81613980565b9050919050565b6000602082019050818103600083015261426f816139c0565b9050919050565b6000602082019050818103600083015261428f81613a26565b9050919050565b600060208201905081810360008301526142af81613a66565b9050919050565b600060208201905081810360008301526142cf81613aa6565b9050919050565b600060208201905081810360008301526142ef81613ae6565b9050919050565b6000602082019050818103600083015261430f81613b4c565b9050919050565b6000602082019050818103600083015261432f81613bb2565b9050919050565b6000602082019050818103600083015261434f81613c18565b9050919050565b6000602082019050818103600083015261436f81613c58565b9050919050565b6000602082019050818103600083015261438f81613cbe565b9050919050565b600060208201905081810360008301526143af81613d24565b9050919050565b600060208201905081810360008301526143cf81613d8a565b9050919050565b600060208201905081810360008301526143ef81613dca565b9050919050565b6000602082019050818103600083015261440f81613e30565b9050919050565b6000602082019050818103600083015261442f81613e70565b9050919050565b6000602082019050818103600083015261444f81613ed6565b9050919050565b6000602082019050818103600083015261446f81613f3c565b9050919050565b6000602082019050818103600083015261448f81613fa2565b9050919050565b600060208201905081810360008301526144af81614008565b9050919050565b600060208201905081810360008301526144cf8161406e565b9050919050565b60006020820190506144eb60008301846140bd565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561451857614517614902565b5b8060405250919050565b600067ffffffffffffffff82111561453d5761453c614902565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561456d5761456c614902565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146098261477d565b91506146148361477d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561464957614648614875565b5b828201905092915050565b600061465f8261477d565b915061466a8361477d565b92508261467a576146796148a4565b5b828204905092915050565b60006146908261477d565b915061469b8361477d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146d4576146d3614875565b5b828202905092915050565b60006146ea8261477d565b91506146f58361477d565b92508282101561470857614707614875565b5b828203905092915050565b600061471e8261475d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147b4578082015181840152602081019050614799565b838111156147c3576000848401525b50505050565b600060028204905060018216806147e157607f821691505b602082108114156147f5576147f46148d3565b5b50919050565b60006148068261477d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561483957614838614875565b5b600182019050919050565b600061484f8261477d565b915061485a8361477d565b92508261486a576148696148a4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61494b81614713565b811461495657600080fd5b50565b61496281614725565b811461496d57600080fd5b50565b61497981614731565b811461498457600080fd5b50565b6149908161477d565b811461499b57600080fd5b5056fea2646970667358221220d57ed8cb57d84eee2445fb023c2ccb67f154f6b81745db2795fec939257ce86e64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000030390000000000000000000000000000000000000000000000000000000000000009455448455245414c5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424f4f4f00000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000030390000000000000000000000000000000000000000000000000000000000000009455448455245414c5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424f4f4f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): ETHEREALS
Arg [1] : symbol (string): BOOO
Arg [2] : supply (uint256): 12345

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000003039
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 455448455245414c530000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 424f4f4f00000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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