Contract 0x4Bb75F6b2325d393518a452F0102dD7b6c135429 1

 
Txn Hash Method
Index
From
To
Value
0xb69611be9abf0de51768bb8d1dbfcd6be569877cd2eae4a1eed30d71af5d8a9bSet Approval For...265501022022-09-30 17:50:114 hrs 41 mins ago0x84884be28ffec0f23ee619612b1b4fe87b185862 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000813293120.001
0x3cf14fe221129d483a3575305405a078d71438c22b85b7c8f80e6379a281ff14Set Approval For...265457162022-09-30 17:18:565 hrs 12 mins ago0x2e3a8fab541f188eb2378a8a3720e6616fd38830 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000612618160.001
0x1e36120dad78830ca87e85c851f6768e3352b49b48a75fb246f814fd0761f6e7Set Approval For...265010492022-09-30 13:47:328 hrs 43 mins ago0x9c5d6d91082b29dfe93881b49d5c2c824c0fdc91 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000642528010.001
0xe921500157ffb8d13f1777c0a1688a2b4ee602c82e29322bf1605cac68c01af9Set Approval For...264616982022-09-30 10:56:5311 hrs 34 mins ago0xbe6c6157a16565b6212105d0828ad72e5983cc00 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.000032031320.00100155
0xf4a033f38901a31fca5d062e446e7c26df5d26992a30d9b5cc74ccb7f6892e50Set Approval For...264489722022-09-30 9:55:0112 hrs 36 mins ago0xd02bae47fd93325fd0cc3d660b73d8f93c4d7b5e IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000410016650.00100155
0x8efc4a9c54004453a3f45c44a2798e1eb407dc57e3e2316b2529c9f60cd4f010Safe Transfer Fr...264466932022-09-30 9:43:0012 hrs 48 mins ago0x4b1ebb37f644478fb940b14dc44d6845007e1c8e IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000502129950.00100155
0xea3685d8bc4b91964b7af5d0f2fe6adb23fbac8cc24b25c7a720f3728bd59152Set Approval For...264345322022-09-30 8:52:5413 hrs 38 mins ago0x3e19e66274ea2ff12374ec461475c82b93788541 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.000041445140.00100155
0x8f2aba01346498322be535a9fe2f00418398cbea4567f56f7de9e33d3016e6c8Set Approval For...264332982022-09-30 8:48:2413 hrs 42 mins ago0x45ec897e1d9b5212cbf870023243739cc7e3a075 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000408912240.00100155
0x88de4bd399f32116859234c29d8dcced248a774a30f0d983e9d4c8c19de50e96Set Approval For...264318662022-09-30 8:42:5413 hrs 48 mins ago0x5e910c21b32beeb4d83b114fdfdc2e96493c2cf4 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000351068930.00100155
0x353d7a5238df9646566a8811ca68ab55481a36178c2933538f609195656d2130Set Approval For...264264232022-09-30 8:18:2114 hrs 12 mins ago0xff59f4c50275abb948f9f5b34ed8883c37cd6bac IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000403474520.00100155
0x1be7aec428505c4382504346514bb269534d55b35c346f42c274b73630ab8c3cSet Approval For...264255232022-09-30 8:14:2014 hrs 16 mins ago0xb16c08f896d7c6176c7aa24d7419db76379692e1 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000374463950.00100155
0x333dd671228a5bac76b7e479c07b919301fa15004198f2549a5f9a27f3ca4bc1Set Approval For...264244832022-09-30 8:10:0514 hrs 21 mins ago0x3819c765d2889ffec3506790b876a87488b038e6 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000434256390.00100155
0x188c3736155f16de83cc59d39c95ddb176b85a7dfd63f8c82b6fd02cc97a9e96Set Approval For...264233322022-09-30 8:05:0514 hrs 26 mins ago0x618937119efb8a1d4555d41955d26ea3b398996e IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000350169250.00100155
0x967d9ea7d733e8b4e207dea836ac617cdb0dfbc6c9ba0ebe989e1ce2866e90b8Set Approval For...264221312022-09-30 7:59:2014 hrs 31 mins ago0xd693f617aeabb27e764604cdb3c10be7abb97f5f IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000437933140.00100155
0x8a000d8edcb98022deab247d623de6e40aba4e0bdbaa11e903b7b814db529010Set Approval For...264210542022-09-30 7:54:3414 hrs 36 mins ago0xf9587ee5ce885818be28233fe0689da503383a8c IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000406215880.00100155
0x4dc7d2b4af13ffef3c7d977dd9c966d3cb28c134bd05403715730a439430ff3aSet Approval For...264196642022-09-30 7:48:1914 hrs 42 mins ago0xdae98d73c41952ee45e7965af3658f045683f4ab IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000363854970.00100155
0x55470df9e10090e8fbc884e97593b4d33cf583d98d7b1171e7c71beb5a8543f2Set Approval For...264184182022-09-30 7:42:4714 hrs 48 mins ago0xe3ff60283dffbe5da215db99f020494780567843 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000364380570.00100155
0x4cd985b27872f5dbf56352052a9b4be99a6a9b4d33d22e607cadafdc6e8d757eSet Approval For...264173752022-09-30 7:38:0214 hrs 53 mins ago0x97b3b5d16885726fe4d24bf513cb985aff586b83 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000425214670.00100155
0xed351e5dd4a65fc39beb1ec2aef86082e8dc5321cc8bd8e138a7027cead95244Set Approval For...263956762022-09-30 5:40:4516 hrs 50 mins ago0xfa1bf2931d1d9915404c7b23559a1c787494676a IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000384383320.00100155
0xab8093c6974633377737c7af924feb7dfaaf662ad1382cc4d3da832c5a69bd0dSet Approval For...262993362022-09-29 15:56:291 day 6 hrs ago0x93d65d8bcba7b68124d76427f0d1062a3f3df813 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0001044185940.00100155
0x8fbef9c626564d8718fdce11eba09be1e5a1e59f29ab80e231dca18b07f31cb8Set Approval For...262969782022-09-29 15:40:361 day 6 hrs ago0xb148935ca5524967847b20ebfc1bf0fbd872222c IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000802870970.00100155
0xa8246b5f86543ba396249a46d19d87488fc53cce56e69cb869c6fbfc21f349e8Set Approval For...262948662022-09-29 15:27:331 day 7 hrs ago0xdadd754826a411cc1a7961cfa895157940b2ca19 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.000072591650.00100155
0xb101f552c03a0e23f2741083ca153aa64abb599297c1839bd9b9bc923fefaa2dSafe Transfer Fr...262933142022-09-29 15:18:141 day 7 hrs ago0x46f33bdc29c234dd709b37eb786159a268d91215 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0000914329030.00100155
0x6d98b0b3e408dcfabee7f396138cc322573f5547574f24ec9fcdd2270f2beeabSet Approval For...262927972022-09-29 15:15:581 day 7 hrs ago0x46f33bdc29c234dd709b37eb786159a268d91215 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.000085747180.00100155
0xef8c77593228fe1e16e8a479fe25efe1c9dc493d0d27806e5e4b00382382cb1cSet Approval For...262906952022-09-29 15:06:271 day 7 hrs ago0x5f01373cc880772fe4b80e9a7442cf0a9c6f03a5 IN  0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether0.0001067255030.00100155
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xdaef0bce4f6d0f4d19af3c5e2874620d7acc9ce5b8f29f709ed4730eae7cae6f265790252022-09-30 21:49:2241 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0xdaef0bce4f6d0f4d19af3c5e2874620d7acc9ce5b8f29f709ed4730eae7cae6f265790252022-09-30 21:49:2241 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x637d5fb689fa7169704ec1e62fc0dcfa69c543e015c1a97479de777646a6eadc265415152022-09-30 16:46:475 hrs 44 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x637d5fb689fa7169704ec1e62fc0dcfa69c543e015c1a97479de777646a6eadc265415152022-09-30 16:46:475 hrs 44 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0xc4a8233cb4b6fb4cfc55587a9af897495f3d158f6ee51e64fc5a383101c5595d264940482022-09-30 13:21:579 hrs 9 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0xc4a8233cb4b6fb4cfc55587a9af897495f3d158f6ee51e64fc5a383101c5595d264940482022-09-30 13:21:579 hrs 9 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x405ac1b6ecc0512019c389423d55fd250202c5a5db80e983e64752d8a3475b28264725732022-09-30 11:57:4910 hrs 33 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x405ac1b6ecc0512019c389423d55fd250202c5a5db80e983e64752d8a3475b28264725732022-09-30 11:57:4910 hrs 33 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x2afdb98ddfc0da93c810a60105361dcf7fc7bf92c86af72f5f9dfb89246947be264620002022-09-30 10:58:2311 hrs 32 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x2afdb98ddfc0da93c810a60105361dcf7fc7bf92c86af72f5f9dfb89246947be264620002022-09-30 10:58:2311 hrs 32 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x6e75d19aeed71ec270d84192e49e28c9d57a7b9918cd0688d2ab1c07da2fd5b8264575532022-09-30 10:38:2211 hrs 52 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x6e75d19aeed71ec270d84192e49e28c9d57a7b9918cd0688d2ab1c07da2fd5b8264575532022-09-30 10:38:2211 hrs 52 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x5f266f0c721b75a9dc09bd30092cee2caea1d8837c9820edb27288f554ade9a7264552562022-09-30 10:27:0412 hrs 4 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x5f266f0c721b75a9dc09bd30092cee2caea1d8837c9820edb27288f554ade9a7264552562022-09-30 10:27:0412 hrs 4 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x658e6c5f86098f5c4bd6d9fa08b8ae15426c4e2a4e007f848b967532d7e09ee6264358222022-09-30 8:56:3913 hrs 34 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x658e6c5f86098f5c4bd6d9fa08b8ae15426c4e2a4e007f848b967532d7e09ee6264358222022-09-30 8:56:3913 hrs 34 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x88439ba94440e5639962d1a7e872018f87b6e575374be61b2337e1970ee6b75d264343252022-09-30 8:52:0913 hrs 39 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x88439ba94440e5639962d1a7e872018f87b6e575374be61b2337e1970ee6b75d264343252022-09-30 8:52:0913 hrs 39 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x640949f5665eaf5bbb1a858f1ede8ad773c0851c8c4987a9cf0209bd9851cb0a264330912022-09-30 8:47:3913 hrs 43 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x640949f5665eaf5bbb1a858f1ede8ad773c0851c8c4987a9cf0209bd9851cb0a264330912022-09-30 8:47:3913 hrs 43 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x95ef6fc0d0f45c53f7074032b99daa8c5da5d945a01154c6421175d74d324d2c264317132022-09-30 8:42:2413 hrs 48 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x95ef6fc0d0f45c53f7074032b99daa8c5da5d945a01154c6421175d74d324d2c264317132022-09-30 8:42:2413 hrs 48 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x07def8fdbbcc5374486af84325974c91af490b060adbdd679745f2d9834bcdf8264262642022-09-30 8:17:3614 hrs 13 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x07def8fdbbcc5374486af84325974c91af490b060adbdd679745f2d9834bcdf8264262642022-09-30 8:17:3614 hrs 13 mins ago 0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
0x34999f21228d2824815ee8c1859bed404aa73832b7a789dbe3716826fd6c1905264253252022-09-30 8:13:3514 hrs 17 mins ago 0xc78a09d6a4badecc7614a339fd264b7290361ef1 0x4bb75f6b2325d393518a452f0102dd7b6c1354290 Ether
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xfA14e1157F35E1dAD95dC3F822A9d18c40e360E2

Contract Name:
StarNFTV4

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, Apache-2.0 license
File 1 of 11 : StarNFTV4.sol
/*
    Copyright 2022 Project Galaxy.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    SPDX-License-Identifier: Apache License, Version 2.0
*/
pragma solidity 0.7.6;

import "IERC721.sol";
import "IERC721Receiver.sol";
import "IERC721Metadata.sol";
import "Address.sol";
import "Strings.sol";
import "Ownable.sol";
import "ERC165.sol";
import "IStarNFT.sol";

/**
 * @dev Fork https://github.com/generalgalactic/ERC721S and implement IStarNFT interface
 */
contract StarNFTV4 is Ownable, ERC165, IERC721, IERC721Metadata, IStarNFT {
    using Address for address;
    using Strings for uint256;

    /* ============ State Variables ============ */

    struct Star {
        uint160 owner;
        uint96 cid; // Max value is 7.9E28, enough to store campaign id
    }

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Total number of tokens burned
    uint256 private _burnCount;

    // Array of all tokens storing the owner's address and the campaign id
    Star[] private _tokens;

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

    // Mint and burn star.
    mapping(address => bool) private _minters;

    // Default allow transfer
    bool private _transferable = true;

    // Base token URI
    string private _baseURI;

    /* ============ Events ============ */
    // Add new minter
    event EventMinterAdded(address indexed newMinter);

    // Remove old minter
    event EventMinterRemoved(address indexed oldMinter);

    /* ============ Modifiers ============ */

    /**
     * Only minter.
     */
    modifier onlyMinter() {
        require(_minters[msg.sender], "StarNFT: must be minter");
        _;
    }

    /**
     * Only allow transfer.
     */
    modifier onlyTransferable() {
        require(_transferable, "StarNFT: must transferable");
        _;
    }

    /**
     * @dev Initializes the contract
     */
    constructor() {
        // Initialize zero index value
        Star memory _star = Star(0, 0);
        _tokens.push(_star);
    }

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

    /**
     * @dev Is this address a minters.
     */
    function minters(address account) public view returns (bool) {
        return _minters[account];
    }

    /**
     * @dev Is this contract allow nft transfer.
     */
    function transferable() public view returns (bool) {
        return _transferable;
    }

    /**
     * @dev Returns the base URI for nft.
     */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Get Star NFT CID.
     */
    function cid(uint256 tokenId) public view returns (uint256) {
        require(_exists(tokenId), "StarNFT: StarNFT does not exist");
        return _tokens[tokenId].cid;
    }

    /**
     * @dev Get Star NFT owner
     */
    function getNumMinted() public view override returns (uint256) {
        return _tokens.length-1;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return getNumMinted() - _burnCount;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This is implementation is O(n) and should not be
     * called by other contracts.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    returns (uint256)
    {
        uint256 currentIndex = 0;
        for (uint256 i = 1; i < _tokens.length; i++) {
            if (isOwnerOf(owner, i)) {
                if (currentIndex == index) {
                    return i;
                }
                currentIndex += 1;
            }
        }
        revert("ERC721Enumerable: owner index out of bounds");
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner)
    public
    view
    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
    override
    returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: owner query for nonexistent token"
        );
        return address(_tokens[tokenId].owner);
    }

    /**
     * @dev See {IStarNFT-isOwnerOf}.
     */
    function isOwnerOf(address account, uint256 id)
    public
    view
    override
    returns (bool)
    {
        address owner = ownerOf(id);
        return owner == account;
    }

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = 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
    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
    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
    override
    returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public onlyTransferable 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 onlyTransferable override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public onlyTransferable 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 {
        _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 returns (bool) {
        return tokenId > 0 && tokenId <= getNumMinted() && _tokens[tokenId].owner != 0x0;
    }

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

    /* ============ External Functions ============ */
    function mint(address account, uint256 cid)
    external
    override
    onlyMinter
    returns (uint256)
    {
        require(account != address(0), "StarNFT: mint to the zero address");

        uint256 tokenId = _tokens.length;
        Star memory star = Star(uint160(account), uint96(cid));

        _balances[account] += 1;
        _tokens.push(star);

        require(
            _checkOnERC721Received(address(0), account, tokenId, ""),
            "StarNFT: transfer to non ERC721Receiver implementer"
        );

        emit Transfer(address(0), account, tokenId);
        return tokenId;
    }

    function mintBatch(
        address account,
        uint256 amount,
        uint256[] calldata cidArr
    ) external override onlyMinter returns (uint256[] memory) {
        require(account != address(0), "StarNFT: mint to the zero address");
        uint256[] memory ids = new uint256[](amount);

        _balances[account] += amount;

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 tokenId = _tokens.length;
            Star memory star = Star(uint160(account), uint96(cidArr[i]));
            ids[i] = tokenId;
            _tokens.push(star);

            require(
                _checkOnERC721Received(address(0), account, tokenId, ""),
                "StarNFT: transfer to non ERC721Receiver implementer"
            );

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

        return ids;
    }

    function burn(address account, uint256 id) external override onlyMinter {
        require(
            _isApprovedOrOwner(_msgSender(), id),
            "StarNFT: caller is not approved or owner"
        );
        require(isOwnerOf(account, id), "StarNFT: not owner");

        // Clear approvals
        _approve(address(0), id);
        _burnCount++;
        _balances[account] -= 1;
        _tokens[id].owner = 0;
        _tokens[id].cid = 0;

        emit Transfer(account, address(0), id);
    }

    function burnBatch(address account, uint256[] calldata ids)
    external
    override
    onlyMinter
    {
        _burnCount += ids.length;
        _balances[account] -= ids.length;
        for (uint256 i = 0; i < ids.length; i++) {
            uint256 tokenId = ids[i];
            require(
                _isApprovedOrOwner(_msgSender(), tokenId),
                "StarNFT: caller is not approved or owner"
            );
            require(isOwnerOf(account, tokenId), "StarNFT: not owner");
            // Clear approvals
            _approve(address(0), tokenId);
            _tokens[tokenId].owner = 0;
            _tokens[tokenId].cid = 0;

            emit Transfer(account, 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(
            isOwnerOf(from, tokenId),
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _balances[from] -= 1;
        _balances[to] += 1;
        _tokens[tokenId].owner = uint160(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(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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                    "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
        return true;
    }

    /* ============ Util Functions ============ */
    /**
     * @dev Sets a new baseURI for all token types.
     */
    function setURI(string calldata newURI) external onlyOwner {
        _baseURI = newURI;
    }

    /**
     * @dev Sets a new transferable for all token types.
     */
    function setTransferable(bool transferable) external onlyOwner {
        _transferable = transferable;
    }

    /**
     * @dev Sets a new name for all token types.
     */
    function setName(string calldata newName) external onlyOwner {
        _name = newName;
    }

    /**
     * @dev Sets a new symbol for all token types.
     */
    function setSymbol(string calldata newSymbol) external onlyOwner {
        _symbol = newSymbol;
    }

    /**
     * @dev Add a new minter.
     */
    function addMinter(address minter) external onlyOwner {
        require(minter != address(0), "minter must not be null address");
        require(!_minters[minter], "minter already added");
        _minters[minter] = true;
        emit EventMinterAdded(minter);
    }

    /**
     * @dev Remove a old minter.
     */
    function removeMinter(address minter) external onlyOwner {
        require(_minters[minter], "minter does not exist");
        delete _minters[minter];
        emit EventMinterRemoved(minter);
    }

}

File 2 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <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 4 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 5 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <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 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <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 7 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

File 8 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        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 9 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

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

File 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

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

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

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

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

File 11 of 11 : IStarNFT.sol
/*
    Copyright 2021 Project Galaxy.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

    SPDX-License-Identifier: Apache License, Version 2.0
*/
pragma solidity 0.7.6;

/**
 * @title IStarNFT
 * @author Galaxy Protocol
 *
 * Interface for operating with StarNFTs.
 */
interface IStarNFT {
    /* ============ Events =============== */

    /* ============ Functions ============ */

    function isOwnerOf(address, uint256) external view returns (bool);
    function getNumMinted() external view returns (uint256);
    // mint
    function mint(address account, uint256 powah) external returns (uint256);
    function mintBatch(address account, uint256 amount, uint256[] calldata powahArr) external returns (uint256[] memory);
    function burn(address account, uint256 id) external;
    function burnBatch(address account, uint256[] calldata ids) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMinter","type":"address"}],"name":"EventMinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldMinter","type":"address"}],"name":"EventMinterRemoved","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":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"cid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"cid","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"cidArr","type":"uint256[]"}],"name":"mintBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newSymbol","type":"string"}],"name":"setSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"transferable","type":"bool"}],"name":"setTransferable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"transferable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052600a805460ff191660011790553480156200001e57600080fd5b5060006200002b6200010c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000876301ffc9a760e01b62000110565b6040805180820190915260008082526020820181815260058054600181018255925291517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0909101805492516001600160601b0316600160a01b026001600160a01b039283166001600160a01b03199094169390931790911691909117905562000198565b3390565b6001600160e01b0319808216141562000170576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b61299980620001a86000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638da5cb5b1161011a578063b2dc5dc3116100ad578063c5b8f7721161007c578063c5b8f772146108bc578063c87b56dd146108e8578063e985e9c514610905578063f2fde38b14610933578063f46eccc41461095957610206565b8063b2dc5dc31461069e578063b84c82461461071c578063b88d4fde1461078a578063c47f00271461084e57610206565b80639cd23707116100e95780639cd23707146106085780639dc29fac14610627578063a22cb46514610653578063b0c479a51461068157610206565b80638da5cb5b146105ca57806392ff0d31146105d257806395d89b41146105da578063983b2d56146105e257610206565b80633092afd51161019d5780636352211e1161016c5780636352211e146104a45780636c0360eb146104c157806370a08231146104c957806370c2f239146104ef578063715018a6146105c257610206565b80633092afd5146104145780633726230a1461043a57806340c10f191461044257806342842e0e1461046e57610206565b8063095ea7b3116101d9578063095ea7b31461036c57806318160ddd1461039857806323b872dd146103b25780632f745c59146103e857610206565b806301ffc9a71461020b57806302fe53051461024657806306fdde03146102b6578063081812fc14610333575b600080fd5b6102326004803603602081101561022157600080fd5b50356001600160e01b03191661097f565b604080519115158252519081900360200190f35b6102b46004803603602081101561025c57600080fd5b810190602081018135600160201b81111561027657600080fd5b82018360208201111561028857600080fd5b803590602001918460018302840111600160201b831117156102a957600080fd5b5090925090506109e2565b005b6102be610a55565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f85781810151838201526020016102e0565b50505050905090810190601f1680156103255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103506004803603602081101561034957600080fd5b5035610ae8565b604080516001600160a01b039092168252519081900360200190f35b6102b46004803603604081101561038257600080fd5b506001600160a01b038135169060200135610b4a565b6103a0610c20565b60408051918252519081900360200190f35b6102b4600480360360608110156103c857600080fd5b506001600160a01b03813581169160208101359091169060400135610c33565b6103a0600480360360408110156103fe57600080fd5b506001600160a01b038135169060200135610cde565b6102b46004803603602081101561042a57600080fd5b50356001600160a01b0316610d5b565b6103a0610e6b565b6103a06004803603604081101561045857600080fd5b506001600160a01b038135169060200135610e75565b6102b46004803603606081101561048457600080fd5b506001600160a01b03813581169160208101359091169060400135611037565b610350600480360360208110156104ba57600080fd5b50356110a6565b6102be611114565b6103a0600480360360208110156104df57600080fd5b50356001600160a01b0316611175565b6105726004803603606081101561050557600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561053457600080fd5b82018360208201111561054657600080fd5b803590602001918460208302840111600160201b8311171561056757600080fd5b5090925090506111d8565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156105ae578181015183820152602001610596565b505050509050019250505060405180910390f35b6102b4611448565b6103506114f4565b610232611503565b6102be61150c565b6102b4600480360360208110156105f857600080fd5b50356001600160a01b031661156d565b6102b46004803603602081101561061e57600080fd5b503515156116db565b6102b46004803603604081101561063d57600080fd5b506001600160a01b038135169060200135611750565b6102b46004803603604081101561066957600080fd5b506001600160a01b0381351690602001351515611908565b6103a06004803603602081101561069757600080fd5b5035611a0d565b6102b4600480360360408110156106b457600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156106de57600080fd5b8201836020820111156106f057600080fd5b803590602001918460208302840111600160201b8311171561071157600080fd5b509092509050611a98565b6102b46004803603602081101561073257600080fd5b810190602081018135600160201b81111561074c57600080fd5b82018360208201111561075e57600080fd5b803590602001918460018302840111600160201b8311171561077f57600080fd5b509092509050611c7a565b6102b4600480360360808110156107a057600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b8111156107da57600080fd5b8201836020820111156107ec57600080fd5b803590602001918460018302840111600160201b8311171561080d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611ce8945050505050565b6102b46004803603602081101561086457600080fd5b810190602081018135600160201b81111561087e57600080fd5b82018360208201111561089057600080fd5b803590602001918460018302840111600160201b831117156108b157600080fd5b509092509050611d94565b610232600480360360408110156108d257600080fd5b506001600160a01b038135169060200135611e02565b6102be600480360360208110156108fe57600080fd5b5035611e26565b6102326004803603604081101561091b57600080fd5b506001600160a01b0381358116916020013516611f7a565b6102b46004803603602081101561094957600080fd5b50356001600160a01b0316611fa8565b6102326004803603602081101561096f57600080fd5b50356001600160a01b03166120aa565b60006001600160e01b031982166380ac58cd60e01b14806109b057506001600160e01b03198216635b5e139f60e01b145b806109cb57506001600160e01b0319821663ed83eb3760e01b145b806109da57506109da826120c8565b90505b919050565b6109ea6120e7565b6001600160a01b03166109fb6114f4565b6001600160a01b031614610a44576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b610a50600b83836125fe565b505050565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610ade5780601f10610ab357610100808354040283529160200191610ade565b820191906000526020600020905b815481529060010190602001808311610ac157829003601f168201915b5050505050905090565b6000610af3826120eb565b610b2e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806127d2602c913960400191505060405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b55826110a6565b9050806001600160a01b0316836001600160a01b03161415610ba85760405162461bcd60e51b81526004018080602001828103825260218152602001806128b76021913960400191505060405180910390fd5b806001600160a01b0316610bba6120e7565b6001600160a01b03161480610bdb5750610bdb81610bd66120e7565b611f7a565b610c165760405162461bcd60e51b81526004018080602001828103825260388152602001806127476038913960400191505060405180910390fd5b610a508383612134565b6000600454610c2d610e6b565b03905090565b600a5460ff16610c87576040805162461bcd60e51b815260206004820152601a602482015279537461724e46543a206d757374207472616e7366657261626c6560301b604482015290519081900360640190fd5b610c98610c926120e7565b826121a2565b610cd35760405162461bcd60e51b815260040180806020018281038252603181526020018061290b6031913960400191505060405180910390fd5b610a508383836121f9565b60008060015b600554811015610d1d57610cf88582611e02565b15610d155783821415610d0e579150610d559050565b6001820191505b600101610ce4565b5060405162461bcd60e51b815260040180806020018281038252602b8152602001806126a0602b913960400191505060405180910390fd5b92915050565b610d636120e7565b6001600160a01b0316610d746114f4565b6001600160a01b031614610dbd576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526009602052604090205460ff16610e22576040805162461bcd60e51b81526020600482015260156024820152741b5a5b9d195c88191bd95cc81b9bdd08195e1a5cdd605a1b604482015290519081900360640190fd5b6001600160a01b038116600081815260096020526040808220805460ff19169055517f7df677640dd30a79584f8ecea06aeea15d215b861c5d3b5f8c26962d691f820e9190a250565b6005546000190190565b3360009081526009602052604081205460ff16610ed3576040805162461bcd60e51b815260206004820152601760248201527629ba30b927232a1d1036bab9ba1031329036b4b73a32b960491b604482015290519081900360640190fd5b6001600160a01b038316610f185760405162461bcd60e51b815260040180806020018281038252602181526020018061281e6021913960400191505060405180910390fd5b600580546040805180820182526001600160a01b038781168083526001600160601b0388811660208086019182526000938452600681528684208054600190810190915589549081018a5598845285517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0909901805492516001600160a01b031990931699861699909917909416600160a01b91909216021790955582519081019092528382529192610fce9187908590612316565b6110095760405162461bcd60e51b81526004018080602001828103825260338152602001806128d86033913960400191505060405180910390fd5b60405182906001600160a01b03871690600090600080516020612897833981519152908290a4509392505050565b600a5460ff1661108b576040805162461bcd60e51b815260206004820152601a602482015279537461724e46543a206d757374207472616e7366657261626c6560301b604482015290519081900360640190fd5b610a5083838360405180602001604052806000815250611ce8565b60006110b1826120eb565b6110ec5760405162461bcd60e51b81526004018080602001828103825260298152602001806127a96029913960400191505060405180910390fd5b600582815481106110f957fe5b6000918252602090912001546001600160a01b031692915050565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ade5780601f10610ab357610100808354040283529160200191610ade565b60006001600160a01b0382166111bc5760405162461bcd60e51b815260040180806020018281038252602a81526020018061277f602a913960400191505060405180910390fd5b506001600160a01b031660009081526006602052604090205490565b3360009081526009602052604090205460609060ff16611239576040805162461bcd60e51b815260206004820152601760248201527629ba30b927232a1d1036bab9ba1031329036b4b73a32b960491b604482015290519081900360640190fd5b6001600160a01b03851661127e5760405162461bcd60e51b815260040180806020018281038252602181526020018061281e6021913960400191505060405180910390fd5b60008467ffffffffffffffff8111801561129757600080fd5b506040519080825280602002602001820160405280156112c1578160200160208202803683370190505b506001600160a01b03871660009081526006602052604081208054880190559091505b815181101561143c57600554604080518082019091526001600160a01b03891681526000906020810188888681811061131957fe5b905060200201356001600160601b031681525090508184848151811061133b57fe5b60209081029190910181019190915260058054600181018255600091825283517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09091018054858501516001600160601b0316600160a01b026001600160a01b039384166001600160a01b0319909216919091179092169190911790556040805192830190528082526113d1918b908590612316565b61140c5760405162461bcd60e51b81526004018080602001828103825260338152602001806128d86033913960400191505060405180910390fd5b60405182906001600160a01b038b1690600090600080516020612897833981519152908290a450506001016112e4565b5090505b949350505050565b6114506120e7565b6001600160a01b03166114616114f4565b6001600160a01b0316146114aa576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600a5460ff1690565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ade5780601f10610ab357610100808354040283529160200191610ade565b6115756120e7565b6001600160a01b03166115866114f4565b6001600160a01b0316146115cf576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b6001600160a01b03811661162a576040805162461bcd60e51b815260206004820152601f60248201527f6d696e746572206d757374206e6f74206265206e756c6c206164647265737300604482015290519081900360640190fd5b6001600160a01b03811660009081526009602052604090205460ff161561168f576040805162461bcd60e51b81526020600482015260146024820152731b5a5b9d195c88185b1c9958591e48185919195960621b604482015290519081900360640190fd5b6001600160a01b038116600081815260096020526040808220805460ff19166001179055517f3a159411d00fa06a3ec11d4578931f1b7f877cceadb1e083929d74ec020cb2439190a250565b6116e36120e7565b6001600160a01b03166116f46114f4565b6001600160a01b03161461173d576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b600a805460ff1916911515919091179055565b3360009081526009602052604090205460ff166117ae576040805162461bcd60e51b815260206004820152601760248201527629ba30b927232a1d1036bab9ba1031329036b4b73a32b960491b604482015290519081900360640190fd5b6117b9610c926120e7565b6117f45760405162461bcd60e51b815260040180806020018281038252602881526020018061293c6028913960400191505060405180910390fd5b6117fe8282611e02565b611844576040805162461bcd60e51b815260206004820152601260248201527129ba30b927232a1d103737ba1037bbb732b960711b604482015290519081900360640190fd5b61184f600082612134565b6004805460010190556001600160a01b03821660009081526006602052604081208054600019019055600580548390811061188657fe5b6000918252602082200180546001600160a01b0319166001600160a01b03939093169290921790915560058054839081106118bd57fe5b6000918252602082200180546001600160601b0393909316600160a01b026001600160a01b039384161790556040518392851690600080516020612897833981519152908390a45050565b6119106120e7565b6001600160a01b0316826001600160a01b03161415611976576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600860006119836120e7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556119c76120e7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6000611a18826120eb565b611a69576040805162461bcd60e51b815260206004820152601f60248201527f537461724e46543a20537461724e465420646f6573206e6f7420657869737400604482015290519081900360640190fd5b60058281548110611a7657fe5b600091825260209091200154600160a01b90046001600160601b031692915050565b3360009081526009602052604090205460ff16611af6576040805162461bcd60e51b815260206004820152601760248201527629ba30b927232a1d1036bab9ba1031329036b4b73a32b960491b604482015290519081900360640190fd5b60048054820190556001600160a01b0383166000908152600660205260408120805483900390555b81811015611c74576000838383818110611b3457fe5b905060200201359050611b48610c926120e7565b611b835760405162461bcd60e51b815260040180806020018281038252602881526020018061293c6028913960400191505060405180910390fd5b611b8d8582611e02565b611bd3576040805162461bcd60e51b815260206004820152601260248201527129ba30b927232a1d103737ba1037bbb732b960711b604482015290519081900360640190fd5b611bde600082612134565b600060058281548110611bed57fe5b6000918252602082200180546001600160a01b0319166001600160a01b0393909316929092179091556005805483908110611c2457fe5b6000918252602082200180546001600160601b0393909316600160a01b026001600160a01b039384161790556040518392881690600080516020612897833981519152908390a450600101611b1e565b50505050565b611c826120e7565b6001600160a01b0316611c936114f4565b6001600160a01b031614611cdc576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b610a50600383836125fe565b600a5460ff16611d3c576040805162461bcd60e51b815260206004820152601a602482015279537461724e46543a206d757374207472616e7366657261626c6560301b604482015290519081900360640190fd5b611d4d611d476120e7565b836121a2565b611d885760405162461bcd60e51b815260040180806020018281038252603181526020018061290b6031913960400191505060405180910390fd5b611c74848484846124cb565b611d9c6120e7565b6001600160a01b0316611dad6114f4565b6001600160a01b031614611df6576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b610a50600283836125fe565b600080611e0e836110a6565b6001600160a01b039081169085161491505092915050565b6060611e31826120eb565b611e6c5760405162461bcd60e51b815260040180806020018281038252602f815260200180612868602f913960400191505060405180910390fd5b600b5460026000196101006001841615020190911604611e9b57604051806020016040528060008152506109da565b600b611ea68361251d565b6040516020018083805460018160011615610100020316600290048015611f045780601f10611ee2576101008083540402835291820191611f04565b820191906000526020600020905b815481529060010190602001808311611ef0575b5050825160208401908083835b60208310611f305780518252601f199092019160209182019101611f11565b5181516020939093036101000a600019018019909116921691909117905264173539b7b760d91b92019182525060408051808303601a190181526005909201905295945050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b611fb06120e7565b6001600160a01b0316611fc16114f4565b6001600160a01b03161461200a576040805162461bcd60e51b815260206004820181905260248201526000805160206127fe833981519152604482015290519081900360640190fd5b6001600160a01b03811661204f5760405162461bcd60e51b81526004018080602001828103825260268152602001806126fd6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526009602052604090205460ff1690565b6001600160e01b03191660009081526001602052604090205460ff1690565b3390565b6000808211801561210357506120ff610e6b565b8211155b80156109da57506005828154811061211757fe5b6000918252602090912001546001600160a01b0316151592915050565b600081815260076020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612169826110a6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806121ae836110a6565b9050806001600160a01b0316846001600160a01b031614806121e95750836001600160a01b03166121de84610ae8565b6001600160a01b0316145b8061144057506114408185611f7a565b6122038382611e02565b61223e5760405162461bcd60e51b815260040180806020018281038252602981526020018061283f6029913960400191505060405180910390fd5b6001600160a01b0382166122835760405162461bcd60e51b81526004018080602001828103825260248152602001806127236024913960400191505060405180910390fd5b61228e600082612134565b6001600160a01b0380841660009081526006602052604080822080546000190190559184168152208054600101905560058054839190839081106122ce57fe5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716916000805160206128978339815191529190a4505050565b600061232a846001600160a01b03166125f8565b156124c057836001600160a01b031663150b7a026123466120e7565b8786866040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156123b95781810151838201526020016123a1565b50505050905090810190601f1680156123e65780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561240857600080fd5b505af192505050801561242d57506040513d602081101561242857600080fd5b505160015b6124a6573d80801561245b576040519150601f19603f3d011682016040523d82523d6000602084013e612460565b606091505b50805161249e5760405162461bcd60e51b81526004018080602001828103825260328152602001806126cb6032913960400191505060405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611440565b506001949350505050565b6124d68484846121f9565b6124e284848484612316565b611c745760405162461bcd60e51b81526004018080602001828103825260328152602001806126cb6032913960400191505060405180910390fd5b60608161254257506040805180820190915260018152600360fc1b60208201526109dd565b8160005b811561255a57600101600a82049150612546565b60008167ffffffffffffffff8111801561257357600080fd5b506040519080825280601f01601f19166020018201604052801561259e576020820181803683370190505b50859350905060001982015b83156125ef57600a840660300160f81b828280600190039350815181106125cd57fe5b60200101906001600160f81b031916908160001a905350600a840493506125aa565b50949350505050565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282612634576000855561267a565b82601f1061264d5782800160ff1982351617855561267a565b8280016001018555821561267a579182015b8281111561267a57823582559160200191906001019061265f565b5061268692915061268a565b5090565b5b80821115612686576000815560010161268b56fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572537461724e46543a206d696e7420746f20746865207a65726f20616464726573734552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572537461724e46543a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564537461724e46543a2063616c6c6572206973206e6f7420617070726f766564206f72206f776e6572a2646970667358221220e5000363c77d4f39bc54684f60cc2bf853be6c4aaf08492300912dc4294166b964736f6c63430007060033

Deployed ByteCode Sourcemap

966:16809:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2882:353;;;;;;;;;;;;;;;;-1:-1:-1;2882:353:9;-1:-1:-1;;;;;;2882:353:9;;:::i;:::-;;;;;;;;;;;;;;;;;;16582:93;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16582:93:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16582:93:9;;;;;;;;;;-1:-1:-1;16582:93:9;;-1:-1:-1;16582:93:9;-1:-1:-1;16582:93:9;:::i;:::-;;5821:98;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7021:263;;;;;;;;;;;;;;;;-1:-1:-1;7021:263:9;;:::i;:::-;;;;-1:-1:-1;;;;;7021:263:9;;;;;;;;;;;;;;6574:386;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6574:386:9;;;;;;;;:::i;4161:104::-;;;:::i;:::-;;;;;;;;;;;;;;;;7947:373;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7947:373:9;;;;;;;;;;;;;;;;;:::i;4434:455::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4434:455:9;;;;;;;;:::i;17574:198::-;;;;;;;;;;;;;;;;-1:-1:-1;17574:198:9;-1:-1:-1;;;;;17574:198:9;;:::i;3987:103::-;;;:::i;11158:607::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11158:607:9;;;;;;;;:::i;8386:188::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8386:188:9;;;;;;;;;;;;;;;;;:::i;5256:262::-;;;;;;;;;;;;;;;;-1:-1:-1;5256:262:9;;:::i;3621:87::-;;;:::i;4948:251::-;;;;;;;;;;;;;;;;-1:-1:-1;4948:251:9;-1:-1:-1;;;;;4948:251:9;;:::i;11771:846::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11771:846:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11771:846:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11771:846:9;;;;;;;;;;-1:-1:-1;11771:846:9;;-1:-1:-1;11771:846:9;-1:-1:-1;11771:846:9;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1708:145:8;;;:::i;1076:85::-;;;:::i;3469:88:9:-;;;:::i;5983:102::-;;;:::i;17252:267::-;;;;;;;;;;;;;;;;-1:-1:-1;17252:267:9;-1:-1:-1;;;;;17252:267:9;;:::i;16754:108::-;;;;;;;;;;;;;;;;-1:-1:-1;16754:108:9;;;;:::i;12623:501::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12623:501:9;;;;;;;;:::i;7351:294::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7351:294:9;;;;;;;;;;:::i;3760:174::-;;;;;;;;;;;;;;;;-1:-1:-1;3760:174:9;;:::i;13130:723::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13130:723:9;;;;;;;;;;;;;;;-1:-1:-1;;;13130:723:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13130:723:9;;;;;;;;;;-1:-1:-1;13130:723:9;;-1:-1:-1;13130:723:9;-1:-1:-1;13130:723:9;:::i;17099:101::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17099:101:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17099:101:9;;;;;;;;;;-1:-1:-1;17099:101:9;;-1:-1:-1;17099:101:9;-1:-1:-1;17099:101:9;:::i;8640:363::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8640:363:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8640:363:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8640:363:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8640:363:9;;-1:-1:-1;8640:363:9;;-1:-1:-1;;;;;8640:363:9:i;16933:93::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16933:93:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16933:93:9;;;;;;;;;;-1:-1:-1;16933:93:9;;-1:-1:-1;16933:93:9;-1:-1:-1;16933:93:9;:::i;5578:181::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5578:181:9;;;;;;;;:::i;6151:366::-;;;;;;;;;;;;;;;;-1:-1:-1;6151:366:9;;:::i;7711:174::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7711:174:9;;;;;;;;;;:::i;2002:240:8:-;;;;;;;;;;;;;;;;-1:-1:-1;2002:240:8;-1:-1:-1;;;;;2002:240:8;;:::i;3296:102:9:-;;;;;;;;;;;;;;;;-1:-1:-1;3296:102:9;-1:-1:-1;;;;;3296:102:9;;:::i;2882:353::-;2992:4;-1:-1:-1;;;;;;3027:40:9;;-1:-1:-1;;;3027:40:9;;:100;;-1:-1:-1;;;;;;;3079:48:9;;-1:-1:-1;;;3079:48:9;3027:100;:153;;;-1:-1:-1;;;;;;;3139:41:9;;-1:-1:-1;;;3139:41:9;3027:153;:201;;;;3192:36;3216:11;3192:23;:36::i;:::-;3012:216;;2882:353;;;;:::o;16582:93::-;1299:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;16651:17:9::1;:8;16662:6:::0;;16651:17:::1;:::i;:::-;;16582:93:::0;;:::o;5821:98::-;5907:5;5900:12;;;;;;;-1:-1:-1;;5900:12:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5875:13;;5900:12;;5907:5;;5900:12;;5907:5;5900:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5821:98;:::o;7021:263::-;7105:7;7149:16;7157:7;7149;:16::i;:::-;7128:107;;;;-1:-1:-1;;;7128:107:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7253:24:9;;;;:15;:24;;;;;;-1:-1:-1;;;;;7253:24:9;;7021:263::o;6574:386::-;6646:13;6662:16;6670:7;6662;:16::i;:::-;6646:32;;6702:5;-1:-1:-1;;;;;6696:11:9;:2;-1:-1:-1;;;;;6696:11:9;;;6688:57;;;;-1:-1:-1;;;6688:57:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6793:5;-1:-1:-1;;;;;6777:21:9;:12;:10;:12::i;:::-;-1:-1:-1;;;;;6777:21:9;;:62;;;;6802:37;6819:5;6826:12;:10;:12::i;:::-;6802:16;:37::i;:::-;6756:165;;;;-1:-1:-1;;;6756:165:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6932:21;6941:2;6945:7;6932:8;:21::i;4161:104::-;4205:7;4248:10;;4231:14;:12;:14::i;:::-;:27;4224:34;;4161:104;:::o;7947:373::-;2565:13;;;;2557:52;;;;;-1:-1:-1;;;2557:52:9;;;;;;;;;;;;-1:-1:-1;;;2557:52:9;;;;;;;;;;;;;;;8158:41:::1;8177:12;:10;:12::i;:::-;8191:7;8158:18;:41::i;:::-;8137:137;;;;-1:-1:-1::0;;;8137:137:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8285:28;8295:4;8301:2;8305:7;8285:9;:28::i;4434:455::-:0;4526:7;;4600:1;4583:237;4607:7;:14;4603:18;;4583:237;;;4646:19;4656:5;4663:1;4646:9;:19::i;:::-;4642:168;;;4705:5;4689:12;:21;4685:76;;;4741:1;-1:-1:-1;4734:8:9;;-1:-1:-1;4734:8:9;4685:76;4794:1;4778:17;;;;4642:168;4623:3;;4583:237;;;;4829:53;;-1:-1:-1;;;4829:53:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4434:455;;;;;:::o;17574:198::-;1299:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;-1:-1:-1;;;;;17649:16:9;::::1;;::::0;;;:8:::1;:16;::::0;;;;;::::1;;17641:50;;;::::0;;-1:-1:-1;;;17641:50:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17641:50:9;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;17708:16:9;::::1;;::::0;;;:8:::1;:16;::::0;;;;;17701:23;;-1:-1:-1;;17701:23:9::1;::::0;;17739:26;::::1;::::0;17708:16;17739:26:::1;17574:198:::0;:::o;3987:103::-;4067:7;:14;-1:-1:-1;;4067:16:9;3987:103;:::o;11158:607::-;2412:10;11256:7;2403:20;;;:8;:20;;;;;;;;2395:56;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;11287:21:9;::::1;11279:67;;;;-1:-1:-1::0;;;11279:67:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11375:7;:14:::0;;11418:35:::1;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;11418:35:9;;::::1;::::0;;;-1:-1:-1;;;;;11418:35:9;;::::1;;::::0;;::::1;::::0;;;-1:-1:-1;11464:18:9;;;:9:::1;:18:::0;;;;;:23;;11486:1:::1;11464:23:::0;;::::1;::::0;;;11497:18;;;;::::1;::::0;;;;;;;;;;::::1;::::0;;;;-1:-1:-1;;;;;;11497:18:9;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;;11497:18:9;;;::::1;;;::::0;;;11547:56;;;;::::1;::::0;;;;;;11375:14;;11547:56:::1;::::0;11418:35;;11375:14;;11547:22:::1;:56::i;:::-;11526:154;;;;-1:-1:-1::0;;;11526:154:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11696:38;::::0;11726:7;;-1:-1:-1;;;;;11696:38:9;::::1;::::0;11713:1:::1;::::0;-1:-1:-1;;;;;;;;;;;11696:38:9;11713:1;;11696:38:::1;-1:-1:-1::0;11751:7:9;11158:607;-1:-1:-1;;;11158:607:9:o;8386:188::-;2565:13;;;;2557:52;;;;;-1:-1:-1;;;2557:52:9;;;;;;;;;;;;-1:-1:-1;;;2557:52:9;;;;;;;;;;;;;;;8528:39:::1;8545:4;8551:2;8555:7;8528:39;;;;;;;;;;;::::0;:16:::1;:39::i;5256:262::-:0;5336:7;5380:16;5388:7;5380;:16::i;:::-;5359:104;;;;-1:-1:-1;;;5359:104:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5488:7;5496;5488:16;;;;;;;;;;;;;;;;;:22;-1:-1:-1;;;;;5488:22:9;;5256:262;-1:-1:-1;;5256:262:9:o;3621:87::-;3693:8;3686:15;;;;;;;;-1:-1:-1;;3686:15:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3661:13;;3686:15;;3693:8;;3686:15;;3693:8;3686:15;;;;;;;;;;;;;;;;;;;;;;;;4948:251;5028:7;-1:-1:-1;;;;;5072:19:9;;5051:108;;;;-1:-1:-1;;;5051:108:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5176:16:9;;;;;:9;:16;;;;;;;4948:251::o;11771:846::-;2412:10;2403:20;;;;:8;:20;;;;;;11918:16;;2403:20;;2395:56;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;;;;-1:-1:-1;;;;;11954:21:9;::::1;11946:67;;;;-1:-1:-1::0;;;11946:67:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12023:20;12060:6;12046:21;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;12046:21:9::1;-1:-1:-1::0;;;;;;12078:18:9;::::1;;::::0;;;:9:::1;:18;::::0;;;;:28;;;::::1;::::0;;12023:44;;-1:-1:-1;12117:473:9::1;12141:3;:10;12137:1;:14;12117:473;;;12190:7;:14:::0;12237:41:::1;::::0;;;;::::1;::::0;;;-1:-1:-1;;;;;12237:41:9;::::1;::::0;;12172:15:::1;::::0;12237:41:::1;::::0;::::1;12267:6:::0;;12274:1;12267:9;;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;12237:41:9::1;;;::::0;12218:60:::1;;12301:7;12292:3;12296:1;12292:6;;;;;;;;;::::0;;::::1;::::0;;;;;;:16;;;;12322:7:::1;:18:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;12322:18:9;;;;;;;;::::1;::::0;;;;::::1;::::0;-1:-1:-1;;;;;12322:18:9::1;-1:-1:-1::0;;;12322:18:9::1;-1:-1:-1::0;;;;;12322:18:9;;::::1;-1:-1:-1::0;;;;;;12322:18:9;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;12380:56:::1;::::0;;;;::::1;::::0;;;;;::::1;::::0;12415:7;;12424;;12380:22:::1;:56::i;:::-;12355:166;;;;-1:-1:-1::0;;;12355:166:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12541:38;::::0;12571:7;;-1:-1:-1;;;;;12541:38:9;::::1;::::0;12558:1:::1;::::0;-1:-1:-1;;;;;;;;;;;12541:38:9;12558:1;;12541:38:::1;-1:-1:-1::0;;12153:3:9::1;;12117:473;;;-1:-1:-1::0;12607:3:9;-1:-1:-1;2461:1:9::1;11771:846:::0;;;;;;:::o;1708:145:8:-;1299:12;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;1814:1:::1;1798:6:::0;;1777:40:::1;::::0;-1:-1:-1;;;;;1798:6:8;;::::1;::::0;1777:40:::1;::::0;1814:1;;1777:40:::1;1844:1;1827:19:::0;;-1:-1:-1;;;;;;1827:19:8::1;::::0;;1708:145::o;1076:85::-;1122:7;1148:6;-1:-1:-1;;;;;1148:6:8;1076:85;:::o;3469:88:9:-;3537:13;;;;3469:88;:::o;5983:102::-;6071:7;6064:14;;;;;;;;-1:-1:-1;;6064:14:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6039:13;;6064:14;;6071:7;;6064:14;;6071:7;6064:14;;;;;;;;;;;;;;;;;;;;;;;;17252:267;1299:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;-1:-1:-1;;;;;17324:20:9;::::1;17316:64;;;::::0;;-1:-1:-1;;;17316:64:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;17399:16:9;::::1;;::::0;;;:8:::1;:16;::::0;;;;;::::1;;17398:17;17390:50;;;::::0;;-1:-1:-1;;;17390:50:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17390:50:9;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;17450:16:9;::::1;;::::0;;;:8:::1;:16;::::0;;;;;:23;;-1:-1:-1;;17450:23:9::1;17469:4;17450:23;::::0;;17488:24;::::1;::::0;17450:16;17488:24:::1;17252:267:::0;:::o;16754:108::-;1299:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;16827:13:9::1;:28:::0;;-1:-1:-1;;16827:28:9::1;::::0;::::1;;::::0;;;::::1;::::0;;16754:108::o;12623:501::-;2412:10;2403:20;;;;:8;:20;;;;;;;;2395:56;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;;;;12726:36:::1;12745:12;:10;:12::i;12726:36::-;12705:123;;;;-1:-1:-1::0;;;12705:123:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12846:22;12856:7;12865:2;12846:9;:22::i;:::-;12838:53;;;::::0;;-1:-1:-1;;;12838:53:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;12838:53:9;;;;;;;;;;;;;::::1;;12929:24;12946:1;12950:2;12929:8;:24::i;:::-;12963:10;:12:::0;;::::1;;::::0;;-1:-1:-1;;;;;12985:18:9;::::1;12963:10;12985:18:::0;;;:9:::1;:18;::::0;;;;:23;;-1:-1:-1;;12985:23:9;;;13018:7:::1;:11:::0;;13026:2;;13018:11;::::1;;;;;;::::0;;;::::1;::::0;;::::1;:21:::0;;-1:-1:-1;;;;;;13018:21:9::1;-1:-1:-1::0;;;;;13018:21:9;;;::::1;::::0;;;::::1;::::0;;;13049:7:::1;:11:::0;;13057:2;;13049:11;::::1;;;;;;::::0;;;::::1;::::0;;::::1;:19:::0;;-1:-1:-1;;;;;13049:19:9;;;::::1;-1:-1:-1::0;;;13049:19:9::1;-1:-1:-1::0;;;;;13049:19:9;;::::1;;::::0;;13084:33:::1;::::0;13114:2;;13084:33;::::1;::::0;-1:-1:-1;;;;;;;;;;;13084:33:9;13049:11;;13084:33:::1;12623:501:::0;;:::o;7351:294::-;7469:12;:10;:12::i;:::-;-1:-1:-1;;;;;7457:24:9;:8;-1:-1:-1;;;;;7457:24:9;;;7449:62;;;;;-1:-1:-1;;;7449:62:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;7567:8;7522:18;:32;7541:12;:10;:12::i;:::-;-1:-1:-1;;;;;7522:32:9;;;;;;;;;;;;;;;;;-1:-1:-1;7522:32:9;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;7522:53:9;;;;;;;;;;;7605:12;:10;:12::i;:::-;-1:-1:-1;;;;;7590:48:9;;7629:8;7590:48;;;;;;;;;;;;;;;;;;;;7351:294;;:::o;3760:174::-;3811:7;3838:16;3846:7;3838;:16::i;:::-;3830:60;;;;;-1:-1:-1;;;3830:60:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;3907:7;3915;3907:16;;;;;;;;;;;;;;;;;:20;-1:-1:-1;;;3907:20:9;;-1:-1:-1;;;;;3907:20:9;;3760:174;-1:-1:-1;;3760:174:9:o;13130:723::-;2412:10;2403:20;;;;:8;:20;;;;;;;;2395:56;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;-1:-1:-1;;;2395:56:9;;;;;;;;;;;;;;;13245:10:::1;:24:::0;;;::::1;::::0;;-1:-1:-1;;;;;13279:18:9;::::1;13245:10;13279:18:::0;;;:9:::1;:18;::::0;;;;:32;;;;::::1;::::0;;13321:526:::1;13341:14:::0;;::::1;13321:526;;;13376:15;13394:3;;13398:1;13394:6;;;;;;;;;;;;;13376:24;;13439:41;13458:12;:10;:12::i;13439:41::-;13414:140;;;;-1:-1:-1::0;;;13414:140:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13576:27;13586:7;13595;13576:9;:27::i;:::-;13568:58;;;::::0;;-1:-1:-1;;;13568:58:9;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13568:58:9;;;;;;;;;;;;;::::1;;13671:29;13688:1;13692:7;13671:8;:29::i;:::-;13739:1;13714:7;13722;13714:16;;;;;;;;;::::0;;;::::1;::::0;;::::1;:26:::0;;-1:-1:-1;;;;;;13714:26:9::1;-1:-1:-1::0;;;;;13714:26:9;;;::::1;::::0;;;::::1;::::0;;;13754:7:::1;:16:::0;;13762:7;;13754:16;::::1;;;;;;::::0;;;::::1;::::0;;::::1;:24:::0;;-1:-1:-1;;;;;13754:24:9;;;::::1;-1:-1:-1::0;;;13754:24:9::1;-1:-1:-1::0;;;;;13754:24:9;;::::1;;::::0;;13798:38:::1;::::0;13828:7;;13798:38;::::1;::::0;-1:-1:-1;;;;;;;;;;;13798:38:9;13754:16;;13798:38:::1;-1:-1:-1::0;13357:3:9::1;;13321:526;;;;13130:723:::0;;;:::o;17099:101::-;1299:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;17174:19:9::1;:7;17184:9:::0;;17174:19:::1;:::i;8640:363::-:0;2565:13;;;;2557:52;;;;;-1:-1:-1;;;2557:52:9;;;;;;;;;;;;-1:-1:-1;;;2557:52:9;;;;;;;;;;;;;;;8831:41:::1;8850:12;:10;:12::i;:::-;8864:7;8831:18;:41::i;:::-;8810:137;;;;-1:-1:-1::0;;;8810:137:9::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8957:39;8971:4;8977:2;8981:7;8990:5;8957:13;:39::i;16933:93::-:0;1299:12:8;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;17004:15:9::1;:5;17012:7:::0;;17004:15:::1;:::i;5578:181::-:0;5672:4;5692:13;5708:11;5716:2;5708:7;:11::i;:::-;-1:-1:-1;;;;;5736:16:9;;;;;;;;-1:-1:-1;;5578:181:9;;;;:::o;6151:366::-;6232:13;6282:16;6290:7;6282;:16::i;:::-;6261:110;;;;-1:-1:-1;;;6261:110:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6403:8;6397:22;;-1:-1:-1;;6397:22:9;;;;;;;;;;;:113;;;;;;;;;;;;;;;;;6458:8;6468:18;:7;:16;:18::i;:::-;6441:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6441:55:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6441:55:9;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6441:55:9;;;;;;;;;;;;;;-1:-1:-1;;;6441:55:9;;;;;-1:-1:-1;6441:55:9;;;;;;-1:-1:-1;;6441:55:9;;;;;;;;;;;-1:-1:-1;;;;;6151:366:9:o;7711:174::-;-1:-1:-1;;;;;7843:25:9;;;7816:4;7843:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7711:174::o;2002:240:8:-;1299:12;:10;:12::i;:::-;-1:-1:-1;;;;;1288:23:8;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1288:23:8;;1280:68;;;;;-1:-1:-1;;;1280:68:8;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1280:68:8;;;;;;;;;;;;;;;-1:-1:-1;;;;;2090:22:8;::::1;2082:73;;;;-1:-1:-1::0;;;2082:73:8::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2191:6;::::0;;2170:38:::1;::::0;-1:-1:-1;;;;;2170:38:8;;::::1;::::0;2191:6;::::1;::::0;2170:38:::1;::::0;::::1;2218:6;:17:::0;;-1:-1:-1;;;;;;2218:17:8::1;-1:-1:-1::0;;;;;2218:17:8;;;::::1;::::0;;;::::1;::::0;;2002:240::o;3296:102:9:-;-1:-1:-1;;;;;3374:17:9;3351:4;3374:17;;;:8;:17;;;;;;;;;3296:102::o;963:148:2:-;-1:-1:-1;;;;;;1071:33:2;1048:4;1071:33;;;:20;:33;;;;;;;;;963:148::o;598:104:1:-;685:10;598:104;:::o;10501:160:9:-;10558:4;10591:1;10581:7;:11;:40;;;;;10607:14;:12;:14::i;:::-;10596:7;:25;;10581:40;:73;;;;;10625:7;10633;10625:16;;;;;;;;;;;;;;;;;:22;-1:-1:-1;;;;;10625:22:9;:29;;;10501:160;-1:-1:-1;;10501:160:9:o;14839:164::-;14913:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;14913:29:9;-1:-1:-1;;;;;14913:29:9;;;;;;;;:24;;14966:16;14913:24;14966:7;:16::i;:::-;-1:-1:-1;;;;;14957:39:9;;;;;;;;;;;14839:164;;:::o;10819:278::-;10916:4;10936:13;10952:16;10960:7;10952;:16::i;:::-;10936:32;;10997:5;-1:-1:-1;;;;;10986:16:9;:7;-1:-1:-1;;;;;10986:16:9;;:59;;;;11038:7;-1:-1:-1;;;;;11014:31:9;:20;11026:7;11014:11;:20::i;:::-;-1:-1:-1;;;;;11014:31:9;;10986:59;:103;;;;11057:32;11074:5;11081:7;11057:16;:32::i;14177:551::-;14317:24;14327:4;14333:7;14317:9;:24::i;:::-;14296:112;;;;-1:-1:-1;;;14296:112:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14426:16:9;;14418:65;;;;-1:-1:-1;;;14418:65:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14545:29;14562:1;14566:7;14545:8;:29::i;:::-;-1:-1:-1;;;;;14584:15:9;;;;;;;:9;:15;;;;;;:20;;-1:-1:-1;;14584:20:9;;;14614:13;;;;;;:18;;14603:1;14614:18;;;14642:7;:16;;14624:2;;14642:7;14650;;14642:16;;;;;;;;;;;;;;:36;;-1:-1:-1;;;;;;14642:36:9;-1:-1:-1;;;;;14642:36:9;;;;;;14694:27;;14713:7;;14694:27;;;;;;;;-1:-1:-1;;;;;;;;;;;14694:27:9;14642:16;14694:27;14177:551;;;:::o;15556:901::-;15706:4;15726:15;:2;-1:-1:-1;;;;;15726:13:9;;:15::i;:::-;15722:708;;;15789:2;-1:-1:-1;;;;;15773:36:9;;15827:12;:10;:12::i;:::-;15857:4;15879:7;15904:5;15773:150;;;;;;;;;;;;;-1:-1:-1;;;;;15773:150:9;;;;;;-1:-1:-1;;;;;15773:150:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15773:150:9;;;15757:663;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16102:13:9;;16098:308;;16144:102;;-1:-1:-1;;;16144:102:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16098:308;16358:6;16352:13;16343:6;16339:2;16335:15;16328:38;15757:663;-1:-1:-1;;;;;;15985:51:9;-1:-1:-1;;;15985:51:9;;-1:-1:-1;15978:58:9;;15757:663;-1:-1:-1;16446:4:9;15556:901;;;;;;:::o;9865:333::-;10008:28;10018:4;10024:2;10028:7;10008:9;:28::i;:::-;10067:48;10090:4;10096:2;10100:7;10109:5;10067:22;:48::i;:::-;10046:145;;;;-1:-1:-1;;;10046:145:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;210:725:10;266:13;483:10;479:51;;-1:-1:-1;509:10:10;;;;;;;;;;;;-1:-1:-1;;;509:10:10;;;;;;479:51;554:5;539:12;593:75;600:9;;593:75;;625:8;;655:2;647:10;;;;593:75;;;677:19;709:6;699:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;699:17:10;-1:-1:-1;769:5:10;;-1:-1:-1;677:39:10;-1:-1:-1;;;742:10:10;;784:114;791:9;;784:114;;859:2;852:4;:9;847:2;:14;834:29;;816:6;823:7;;;;;;;816:15;;;;;;;;;;;:47;-1:-1:-1;;;;;816:47:10;;;;;;;;-1:-1:-1;885:2:10;877:10;;;;784:114;;;-1:-1:-1;921:6:10;210:725;-1:-1:-1;;;;210:725:10:o;726:413:0:-;1086:20;1124:8;;;726:413::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://e5000363c77d4f39bc54684f60cc2bf853be6c4aaf08492300912dc4294166b9
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.