Contract 0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e 11

 
Txn Hash
Method
Block
From
To
Value
0xd57f96f81a5535e414f62aeed7b9536e5069d685941f797f887535d2a791fbc4Transfer From156135842022-09-25 23:10:5929 mins agoENS Name rollbot.eth IN  Doodles: DOODLE Token0 Ether0.00037373 4.39808463
0x0d96c6ecc4e2cacbf5444c70d13e6dd293d926775c9588cd6b22dd9d89a8d99fSet Approval For...156135502022-09-25 23:04:1136 mins ago0x10dd95c82c15e220341cad692c8d69c1cd38cfe2 IN  Doodles: DOODLE Token0 Ether0.00035157 7.513775
0xf8bbb9e76eeddae8b4617ec2d3712264f26de43868de0c9011b11146cbb93d32Set Approval For...156135252022-09-25 22:59:1141 mins ago0x10dd95c82c15e220341cad692c8d69c1cd38cfe2 IN  Doodles: DOODLE Token0 Ether0.00030963 6.62923999
0x16170f9442b9b01361b90f66212eacf5b9f53423f95258d0101ac995d2da0c24Transfer From156131902022-09-25 21:51:471 hr 48 mins agoENS Name toddkramer.eth IN  Doodles: DOODLE Token0 Ether0.00091569 10.77578142
0x6d98771eeb600d9934c1bef73693e0ab8c9465fbeb34bc3d9b9d55ef393e014bSafe Transfer Fr...156131842022-09-25 21:50:351 hr 49 mins ago0x210e9f1471256ee6fe29ff28c759b816233bda32 IN  Doodles: DOODLE Token0 Ether0.00107472 12.22654567
0x2d3eb40f48a23e579433029a171e0b9732434914a93786ebf0cd6e688ef76beeSet Approval For...156128902022-09-25 20:50:592 hrs 49 mins ago0xbde3fe2c971018a0dfde5030b611e4aeb2ce3933 IN  Doodles: DOODLE Token0 Ether0.00029799 11.9778995
0xcd10e245beb57d92be68e354a62b51b7bdd9e8bc0e6c50509be61ed22e0ca78eSet Approval For...156127612022-09-25 20:24:593 hrs 15 mins ago0x6b0a911fdbba8223db217fdaab7ca418236e2118 IN  Doodles: DOODLE Token0 Ether0.00035508 7.5888277
0xc5d17eb3b4c4db8a86d065a22bc91ffab5c223977486c912602164694ab5a8acSet Approval For...156127112022-09-25 20:14:593 hrs 25 mins ago0x5ae053134b7866f329f1a0a474936d3d5b9d23cc IN  Doodles: DOODLE Token0 Ether0.00043585 9.33164511
0xb5061464726e5a00356b5aaebac6825ae9158cb619f8f9832b9df0a5a046ec7eSafe Transfer Fr...156127052022-09-25 20:13:473 hrs 26 mins ago0x192e1e5bba5b17472ef03c67cf90681489669298 IN  Doodles: DOODLE Token0 Ether0.00089906 10.22814154
0x194cd3c6941a00e8b01e81f4f870d6f1c3778ebf80fca6ae3d32209af0cc405dSet Approval For...156126112022-09-25 19:54:593 hrs 45 mins ago0x7bb3fad216678a47caeed210123fc9e9e263030e IN  Doodles: DOODLE Token0 Ether0.00026269 5.61419789
0x28d900a1acaf43d011e5193edba6c44120954b64a558d7aad63487b3b64107b9Set Approval For...156126112022-09-25 19:54:593 hrs 45 mins ago0x7bb3fad216678a47caeed210123fc9e9e263030e IN  Doodles: DOODLE Token0 Ether0.00026269 5.61419789
0xe755af04df306004485c56d5121c7a595c985303280686ee26d5c9c41480ac98Set Approval For...156125452022-09-25 19:41:353 hrs 58 mins ago0x4836ae11037f696693c2916834754fa6c2ecc27d IN  Doodles: DOODLE Token0 Ether0.00028074 6
0xaa7a233728411ecd4fde12ea23290e972b5aec41a5540badd333ed62b7be08ccSet Approval For...156121702022-09-25 18:26:355 hrs 13 mins ago0x5beb15bd30407742cf284d3061f6210319d58937 IN  Doodles: DOODLE Token0 Ether0.00039627 8.4691027
0x558f9793c9412d1f4b4795f7a0e9c936513180efe863bc421e47a9f1e5eb6250Safe Transfer Fr...156118312022-09-25 17:18:236 hrs 21 mins ago0xe88de797b93a86b16c51286b4dfbfd7b343087c2 IN  Doodles: DOODLE Token0 Ether0.00087898 9.99967088
0x38188b9c37f0b20ef8bb997588dc86a7fa729d0f58c532e29262a4acc24af18cSet Approval For...156115572022-09-25 16:22:597 hrs 17 mins ago0x2c8c8deaa355189e8616ba10a85cd7225bf46ee3 IN  Doodles: DOODLE Token0 Ether0.0003134712.6
0x3a804ce156a76f225b65860130f190b65c5fae3dbfa6041f441aeb2ea4bdd07aSet Approval For...156114072022-09-25 15:52:597 hrs 47 mins ago0x8c0ff389ac421662ebc0a9b29191be6f2eda1277 IN  Doodles: DOODLE Token0 Ether0.00044769 9.58528292
0xbd4b1dbd905f67870118a9fbd9db5c6a7686c6d51612597df2c0bd6b92f30644Set Approval For...156112972022-09-25 15:30:598 hrs 9 mins ago0x9f06f42709bc756cac97eaf1bc94e2e2cbf8f36c IN  Doodles: DOODLE Token0 Ether0.00079619 17.04664867
0xfebc4b857eedf46e9810c8340f81101eb9714c404b8755f7d477ae796c8924acSet Approval For...156112932022-09-25 15:30:118 hrs 10 mins ago0x70f0f0e6d7c656bfc0bb3cbfe3c82f123c9b7512 IN  Doodles: DOODLE Token0 Ether0.00076177 16.28031839
0xd5836616a90233dec37a459336135930fd031849540489351792b69a3b7c14b9Safe Transfer Fr...156112892022-09-25 15:29:238 hrs 10 mins ago0x584df5a819f7a1bcd7cab7bda744e646c2b6b4ca IN  Doodles: DOODLE Token0 Ether0.0018767121.1
0xd015b4b71af35313ba0c981707c12fb378c9f49d42549bcd2871b0507b8b4092Safe Transfer Fr...156112822022-09-25 15:27:598 hrs 12 mins agoENS Name dracevault.eth IN  Doodles: DOODLE Token0 Ether0.00181796 20.68193705
0x84f54eacf5f3172722c8382085b0b7a2e570d3c32d08637f7ca9d6142d59af67Set Approval For...156111902022-09-25 15:09:238 hrs 30 mins agoENS Name dracevault.eth IN  Doodles: DOODLE Token0 Ether0.00056996 12.18106245
0xef1a8501f1a7d8424492e79546d6dedc09bf33fd8d757feda6c704101021c58aSet Approval For...156102982022-09-25 12:10:4711 hrs 29 mins ago0x76bcf871495ba4cb3e431a35140d823f1a92f8e5 IN  Doodles: DOODLE Token0 Ether0.00036406 7.78067804
0x327423cb4045a56e90ca16b88dffbe3fbc4710801c458ad187f614238f2e2fb6Set Approval For...156102842022-09-25 12:07:5911 hrs 32 mins ago0x76bcf871495ba4cb3e431a35140d823f1a92f8e5 IN  Doodles: DOODLE Token0 Ether0.00038069 8.15078195
0xb4caef687621c5816a6e851d8ab16988ff8f7d6bafb90621e6d9702a2552d6e8Safe Transfer Fr...156099182022-09-25 10:53:5912 hrs 46 mins ago0xfaa0b3e499e752c409439d7c02fb60547ab241eb IN  Doodles: DOODLE Token0 Ether0.00039454 4.34994376
0x3c0efb584c97d28c4e665add3e72c899861e8a3df4661da585cfcfe406c4f5fbSafe Transfer Fr...156099122022-09-25 10:52:4712 hrs 47 mins ago0xfaa0b3e499e752c409439d7c02fb60547ab241eb IN  Doodles: DOODLE Token0 Ether0.00041242 4.07707247
[ Download CSV Export 

OVERVIEW

A community-driven collectibles project featuring art by Burnt Toast. Doodles come in a joyful range of colors, traits and sizes with a collection size of 10,000. Each Doodle allows its owner to vote for experiences and activations paid for by the Doodles Community Treasury.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4f94bbd993787c0af68b4f5eef4d62430baa28f80d8fcdcd930a81a8527e5172134393302021-10-18 3:05:00342 days 20 hrs ago Doodles: DOODLE Token 0x5a019874f4fae314b0eaa4606be746366e6613061,168.51 Ether
0x3b903ca31a3334065a6c185a023e67c0ff0a81ddde5f7b658910603f4bd21779134391362021-10-18 2:21:27342 days 21 hrs ago 0x6211eddbc9cc45ce169bf243ba274843570a3b25 Doodles: DOODLE Token0.615 Ether
0x56e172c57834033dacfe8f2512ffa488377e7943ed51d5c0b476cd8668d8d872134391282021-10-18 2:19:32342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0x28b8c875e178ddad6a942cd926bb427bdfbe2c552b6179afbb6f79369cc6dbac134391282021-10-18 2:19:32342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0x3db449ecef04546fc388c9dcda87528a7d4e8f0f15ec28a2f491381cb1e5ef77134391282021-10-18 2:19:32342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xba7b691c9c0a6bc97ab88ba8051f21eeb377461b5019b33686f44d5bce5f09d3134391282021-10-18 2:19:32342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xaefee70643c898c55957041c68b27eb73e69418c2e79cd623dc512f805814783134391282021-10-18 2:19:32342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xbb8681312bf8d2afff90a6a1ea399f2632afebcce2c375658d1b3ddb1d669488134391282021-10-18 2:19:32342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0x85cd522f9214a7bf6b491ffb8e57d1c60192f710b51df7b0719207759c315190134391202021-10-18 2:16:33342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0x3b50845cdb90b3528ab76d06d7f264e12424c70ae596a6d94ddc6f906c430fe8134391202021-10-18 2:16:33342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xa2ce450b1ecb82d15d67129a89f4c3b618a622ad22548f0b9c676fb0ce2f645e134391202021-10-18 2:16:33342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xbe1b8fd8b2c28c98e3e24ae10afce3461c9ee542786837fb6fffb0a435be5377134391202021-10-18 2:16:33342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xf3ce0636c5c0c5fd12e8d3a2726f03d86dcb750f2b564c310f1aeeb0c2a284a6134391202021-10-18 2:16:33342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0xad75da1fa075f1b0d8fdf72be3422daee4da1782e433957002ea4b01f2bbf770134391202021-10-18 2:16:33342 days 21 hrs ago 0x6b38b55a34be1276c021ea155602b8d8ec8ffcac Doodles: DOODLE Token0.615 Ether
0x7ae58cb54c7688fd1f4a7449039b827762f5d53cbd1ea7e2b7b07c1931840f7d134391202021-10-18 2:16:33342 days 21 hrs ago 0x26610265389663096381400af24cf1b20c01c55c Doodles: DOODLE Token0.615 Ether
0xaaf5c84785631d9be02fe0046ed73edf0b873b12e4979995ccd132a24805586e134391152021-10-18 2:15:56342 days 21 hrs ago 0x63a1ed74f219fab1af2427aa8bddd3670469fc86 Doodles: DOODLE Token0.615 Ether
0x2ca9e6f4c62b3a360db5920de730460570327f128ef7192c4849d0b13b640da5134391082021-10-18 2:14:31342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0xeecd4ed206749d0e6a608c80c31a8305ec81059a3d273cf16d49bd4e4d8ef10b134391082021-10-18 2:14:31342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x622484b89c25ce5a42e9e370ef7689ef2172b36ee6aeea8844446828e4b0eca4134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x56e4cc3510a93c432c78f028d2d3b0b3c27c63b401cbd90f2c1283b2d7e0fa70134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x0c1560b3879e8e5bc3c05f97ad61ca108867b3c1231bc5edd136b64b5d26e467134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x8885ea9db7a4bae1a4ac978df1f8bab19ead872f310c32b0d3dae37b08d5fa19134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x83dc6ac6e682e93e4541f61d72f240ed48acd9afccd09fda93606dce4b879dbe134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x641a32c131df2fd010aa15d1cabdcecf5589d7f9c8570986339d6741e7ea23df134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
0x0e8f2f097fe93bc9ca5f1eab0af06bf167d8ae6ef422c57cb9a673c9088abdc8134391062021-10-18 2:14:14342 days 21 hrs ago 0x358e03c2e9cc306c48e9a83e466147e5d63d5039 Doodles: DOODLE Token0.615 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Doodles

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Doodles.sol
// SPDX-License-Identifier: MIT
/*
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - ++ - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+                                                                                                                      +
+                                                                                                                      +
.                                                                                                                      .
.                                                    ####-                                                             .
.                                        :*##:   .###-...:##                                                           .
.                                        +#.:# :#+:........+#####+                                                     .
.                                       .:#..#*=.................:#.                                                   .
.                                     .#..*:.........:.........=-.-#                                                   .
.                                      :+#-....:+**+^^+***__=**#:.*#                                                   .
.                                      .#:.....:#              ^#.#                                                    .
.                                      #:....-#^                 #                                                     .
.                                      #-.....#    ++             +   ++                                               .
.                                      .#.....+   +##+            .* +##+                                              .
.                                       #.....#    ++  .######**.  #  ++                                               .
.                                       #*  ^#^       *####--  ##. #                                                   .
.                                      #:  #.         *####--  #*  #                                                   .
.                                      #.   # :.       .###--  -# .+                                                   .
.                                       #.   .#          ###--  # #                                                    .
.                                        ^##^  #       .###--  =# *                                                    .
.                                            #**#.     ###--  -*+**#                                                   .
.                                            #***####**###--  +#****#                                                  .
.                                           .##*********###--  #**##.                                                  .
.                                          #************###--  #*****#                                                 .
.                    ..:..                #*****#*******###--  #**#****###* *###                                       .
.               .####*^^^^*###.          ##*****#******###--  #***#***#  :# #  :#                                      .
.              :*             =#.        #******#*******##--  #***#***#  .# #  .#                 .####.               .
.               ++#   ######.   #-  .*#####*****#*########--  #***#####  .# #  .#   .#######.   #*^   .^#+             .
.                +#   #::::..#   #.#^^      ^#**#^       ^#- #**#^       .# #  .# +#^       ^# #+        #+            .
.                .#   #      #   ##    .##.  .##.   .##.   # *#   .##.   .# #  .##.   -+#+.  # #   :######:            .
.                .#   #     .#   #    #:::#   #.   #:::#   ###   #::::#  .# #  .##  :#####+  #.##     :...             .
.                .#   #    .#.  :#   #   .#  .#   #    #   ##    #^   #  .# #  .##  .^     .##. *#+:.    .#            .
.                .#   #####^    ##   #  :#.  .#   #  .#    ##    #   #.  .# #  .##   .=*######..##+###.   .#           .
.                .#   ..      .###.   ###   .%#.   ###    *#-#    ###     # #  .##*   .      ####   ^     .#           .
.                 #.   ..:-#####* #.      .*#  ##.      .##. :#._     _### ##.  #**#.     .:##. ##.     -##            .
.                  ############*   =########    :########-     +#######^ ### ##### ^######++#^   ^#######+             .
.                    ^*######*^      ^*##*^       ^*##*^         ^*###*^ ^##^ ^###^  ^*####*^      ^*##*^              .
+                                                                                                                      +
+                                                                                                                      +
+ + + - - - - - - - - - - - - - - - - - - - - - - - - - - - ++ - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
*/
pragma solidity ^0.8.0;

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

contract Doodles is ERC721, ERC721Enumerable, Ownable {
    string public PROVENANCE;
    bool public saleIsActive = false;
    string private _baseURIextended;

    bool public isAllowListActive = false;
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_PUBLIC_MINT = 5;
    uint256 public constant PRICE_PER_TOKEN = 0.123 ether;

    mapping(address => uint8) private _allowList;

    constructor() ERC721("Doodles", "DOODLE") {
    }

    function setIsAllowListActive(bool _isAllowListActive) external onlyOwner {
        isAllowListActive = _isAllowListActive;
    }

    function setAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            _allowList[addresses[i]] = numAllowedToMint;
        }
    }

    function numAvailableToMint(address addr) external view returns (uint8) {
        return _allowList[addr];
    }

    function mintAllowList(uint8 numberOfTokens) external payable {
        uint256 ts = totalSupply();
        require(isAllowListActive, "Allow list is not active");
        require(numberOfTokens <= _allowList[msg.sender], "Exceeded max available to purchase");
        require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
        require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");

        _allowList[msg.sender] -= numberOfTokens;
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, ts + i);
        }
    }

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

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

    function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }

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

    function setProvenance(string memory provenance) public onlyOwner {
        PROVENANCE = provenance;
    }

    function reserve(uint256 n) public onlyOwner {
      uint supply = totalSupply();
      uint i;
      for (i = 0; i < n; i++) {
          _safeMint(msg.sender, supply + i);
      }
    }

    function setSaleState(bool newState) public onlyOwner {
        saleIsActive = newState;
    }

    function mint(uint numberOfTokens) public payable {
        uint256 ts = totalSupply();
        require(saleIsActive, "Sale must be active to mint tokens");
        require(numberOfTokens <= MAX_PUBLIC_MINT, "Exceeded max token purchase");
        require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
        require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, ts + i);
        }
    }

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 7 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 10 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numAvailableToMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isAllowListActive","type":"bool"}],"name":"setIsAllowListActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c60006101000a81548160ff0219169083151502179055506000600e60006101000a81548160ff0219169083151502179055503480156200004757600080fd5b506040518060400160405280600781526020017f446f6f646c6573000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f444f4f444c4500000000000000000000000000000000000000000000000000008152508160009080519060200190620000cc929190620001dc565b508060019080519060200190620000e5929190620001dc565b50505062000108620000fc6200010e60201b60201c565b6200011660201b60201c565b620002f1565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ea906200028c565b90600052602060002090601f0160209004810192826200020e57600085556200025a565b82601f106200022957805160ff19168380011785556200025a565b828001600101855582156200025a579182015b82811115620002595782518255916020019190600101906200023c565b5b5090506200026991906200026d565b5090565b5b80821115620002885760008160009055506001016200026e565b5090565b60006002820490506001821680620002a557607f821691505b60208210811415620002bc57620002bb620002c2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6147d180620003016000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063ddff5b1c1161006f578063ddff5b1c14610758578063e985e9c514610774578063eb8d2444146107b1578063f2fde38b146107dc578063ffe630b51461080557610204565b8063b88d4fde1461068c578063c04a2836146106b5578063c4e37095146106f2578063c87b56dd1461071b57610204565b8063833b9499116100e7578063833b9499146105c65780638da5cb5b146105f157806395d89b411461061c578063a0712d6814610647578063a22cb4651461066357610204565b8063715018a614610534578063718bc4af1461054b578063819b25ba146105745780638295784d1461059d57610204565b806332cb6b0c1161019b57806355f804b31161016a57806355f804b31461043b5780636352211e146104645780636373a6b1146104a157806365f13097146104cc57806370a08231146104f757610204565b806332cb6b0c146103935780633ccfd60b146103be57806342842e0e146103d55780634f6ccce7146103fe57610204565b806318160ddd116101d757806318160ddd146102d757806323b872dd1461030257806329fc6bae1461032b5780632f745c591461035657610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906132d2565b61082e565b60405161023d9190613881565b60405180910390f35b34801561025257600080fd5b5061025b610840565b604051610268919061389c565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190613375565b6108d2565b6040516102a5919061381a565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190613205565b610957565b005b3480156102e357600080fd5b506102ec610a6f565b6040516102f99190613bbe565b60405180910390f35b34801561030e57600080fd5b50610329600480360381019061032491906130ef565b610a7c565b005b34801561033757600080fd5b50610340610adc565b60405161034d9190613881565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613205565b610aef565b60405161038a9190613bbe565b60405180910390f35b34801561039f57600080fd5b506103a8610b94565b6040516103b59190613bbe565b60405180910390f35b3480156103ca57600080fd5b506103d3610b9a565b005b3480156103e157600080fd5b506103fc60048036038101906103f791906130ef565b610c65565b005b34801561040a57600080fd5b5061042560048036038101906104209190613375565b610c85565b6040516104329190613bbe565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d919061332c565b610cf6565b005b34801561047057600080fd5b5061048b60048036038101906104869190613375565b610d8c565b604051610498919061381a565b60405180910390f35b3480156104ad57600080fd5b506104b6610e3e565b6040516104c3919061389c565b60405180910390f35b3480156104d857600080fd5b506104e1610ecc565b6040516104ee9190613bbe565b60405180910390f35b34801561050357600080fd5b5061051e60048036038101906105199190613082565b610ed1565b60405161052b9190613bbe565b60405180910390f35b34801561054057600080fd5b50610549610f89565b005b34801561055757600080fd5b50610572600480360381019061056d91906132a5565b611011565b005b34801561058057600080fd5b5061059b60048036038101906105969190613375565b6110aa565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613245565b61116a565b005b3480156105d257600080fd5b506105db61128c565b6040516105e89190613bbe565b60405180910390f35b3480156105fd57600080fd5b50610606611298565b604051610613919061381a565b60405180910390f35b34801561062857600080fd5b506106316112c2565b60405161063e919061389c565b60405180910390f35b610661600480360381019061065c9190613375565b611354565b005b34801561066f57600080fd5b5061068a600480360381019061068591906131c5565b6114d1565b005b34801561069857600080fd5b506106b360048036038101906106ae9190613142565b611652565b005b3480156106c157600080fd5b506106dc60048036038101906106d79190613082565b6116b4565b6040516106e99190613bd9565b60405180910390f35b3480156106fe57600080fd5b50610719600480360381019061071491906132a5565b61170a565b005b34801561072757600080fd5b50610742600480360381019061073d9190613375565b6117a3565b60405161074f919061389c565b60405180910390f35b610772600480360381019061076d91906133a2565b61184a565b005b34801561078057600080fd5b5061079b600480360381019061079691906130af565b611a94565b6040516107a89190613881565b60405180910390f35b3480156107bd57600080fd5b506107c6611b28565b6040516107d39190613881565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190613082565b611b3b565b005b34801561081157600080fd5b5061082c6004803603810190610827919061332c565b611c33565b005b600061083982611cc9565b9050919050565b60606000805461084f90613eca565b80601f016020809104026020016040519081016040528092919081815260200182805461087b90613eca565b80156108c85780601f1061089d576101008083540402835291602001916108c8565b820191906000526020600020905b8154815290600101906020018083116108ab57829003601f168201915b5050505050905090565b60006108dd82611d43565b61091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091390613a5e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096282610d8c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90613afe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109f2611daf565b73ffffffffffffffffffffffffffffffffffffffff161480610a215750610a2081610a1b611daf565b611a94565b5b610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a57906139de565b60405180910390fd5b610a6a8383611db7565b505050565b6000600880549050905090565b610a8d610a87611daf565b82611e70565b610acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac390613b5e565b60405180910390fd5b610ad7838383611f4e565b505050565b600e60009054906101000a900460ff1681565b6000610afa83610ed1565b8210610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b32906138be565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610ba2611daf565b73ffffffffffffffffffffffffffffffffffffffff16610bc0611298565b73ffffffffffffffffffffffffffffffffffffffff1614610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d90613a7e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c61573d6000803e3d6000fd5b5050565b610c8083838360405180602001604052806000815250611652565b505050565b6000610c8f610a6f565b8210610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790613b7e565b60405180910390fd5b60088281548110610ce457610ce3614063565b5b90600052602060002001549050919050565b610cfe611daf565b73ffffffffffffffffffffffffffffffffffffffff16610d1c611298565b73ffffffffffffffffffffffffffffffffffffffff1614610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990613a7e565b60405180910390fd5b80600d9080519060200190610d88929190612e2b565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2c90613a1e565b60405180910390fd5b80915050919050565b600b8054610e4b90613eca565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7790613eca565b8015610ec45780601f10610e9957610100808354040283529160200191610ec4565b820191906000526020600020905b815481529060010190602001808311610ea757829003601f168201915b505050505081565b600581565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f39906139fe565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f91611daf565b73ffffffffffffffffffffffffffffffffffffffff16610faf611298565b73ffffffffffffffffffffffffffffffffffffffff1614611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc90613a7e565b60405180910390fd5b61100f60006121aa565b565b611019611daf565b73ffffffffffffffffffffffffffffffffffffffff16611037611298565b73ffffffffffffffffffffffffffffffffffffffff161461108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490613a7e565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6110b2611daf565b73ffffffffffffffffffffffffffffffffffffffff166110d0611298565b73ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90613a7e565b60405180910390fd5b6000611130610a6f565b905060005b828110156111655761115233828461114d9190613cbe565b612270565b808061115d90613f2d565b915050611135565b505050565b611172611daf565b73ffffffffffffffffffffffffffffffffffffffff16611190611298565b73ffffffffffffffffffffffffffffffffffffffff16146111e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dd90613a7e565b60405180910390fd5b60005b838390508110156112865781600f600086868581811061120c5761120b614063565b5b90506020020160208101906112219190613082565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061127e90613f2d565b9150506111e9565b50505050565b6701b4fbd92b5f800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112d190613eca565b80601f01602080910402602001604051908101604052809291908181526020018280546112fd90613eca565b801561134a5780601f1061131f5761010080835404028352916020019161134a565b820191906000526020600020905b81548152906001019060200180831161132d57829003601f168201915b5050505050905090565b600061135e610a6f565b9050600c60009054906101000a900460ff166113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a690613ade565b60405180910390fd5b60058211156113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea90613b1e565b60405180910390fd5b61271082826114029190613cbe565b1115611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a9061391e565b60405180910390fd5b34826701b4fbd92b5f80006114589190613d45565b1115611499576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114909061399e565b60405180910390fd5b60005b828110156114cc576114b93382846114b49190613cbe565b612270565b80806114c490613f2d565b91505061149c565b505050565b6114d9611daf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e9061397e565b60405180910390fd5b8060056000611554611daf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611601611daf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116469190613881565b60405180910390a35050565b61166361165d611daf565b83611e70565b6116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990613b5e565b60405180910390fd5b6116ae8484848461228e565b50505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611712611daf565b73ffffffffffffffffffffffffffffffffffffffff16611730611298565b73ffffffffffffffffffffffffffffffffffffffff1614611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90613a7e565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b60606117ae82611d43565b6117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490613abe565b60405180910390fd5b60006117f76122ea565b905060008151116118175760405180602001604052806000815250611842565b806118218461237c565b6040516020016118329291906137f6565b6040516020818303038152906040525b915050919050565b6000611854610a6f565b9050600e60009054906101000a900460ff166118a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189c90613b9e565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff16111561193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193190613b3e565b60405180910390fd5b6127108260ff168261194c9190613cbe565b111561198d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119849061391e565b60405180910390fd5b348260ff166701b4fbd92b5f80006119a59190613d45565b11156119e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dd9061399e565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611a419190613dd3565b92506101000a81548160ff021916908360ff16021790555060005b8260ff16811015611a8f57611a7c338284611a779190613cbe565b612270565b8080611a8790613f2d565b915050611a5c565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b611b43611daf565b73ffffffffffffffffffffffffffffffffffffffff16611b61611298565b73ffffffffffffffffffffffffffffffffffffffff1614611bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bae90613a7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e906138fe565b60405180910390fd5b611c30816121aa565b50565b611c3b611daf565b73ffffffffffffffffffffffffffffffffffffffff16611c59611298565b73ffffffffffffffffffffffffffffffffffffffff1614611caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca690613a7e565b60405180910390fd5b80600b9080519060200190611cc5929190612e2b565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d3c5750611d3b826124dd565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e2a83610d8c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e7b82611d43565b611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb1906139be565b60405180910390fd5b6000611ec583610d8c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f3457508373ffffffffffffffffffffffffffffffffffffffff16611f1c846108d2565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f455750611f448185611a94565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f6e82610d8c565b73ffffffffffffffffffffffffffffffffffffffff1614611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb90613a9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b9061395e565b60405180910390fd5b61203f8383836125bf565b61204a600082611db7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209a9190613d9f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f19190613cbe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61228a8282604051806020016040528060008152506125cf565b5050565b612299848484611f4e565b6122a58484848461262a565b6122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db906138de565b60405180910390fd5b50505050565b6060600d80546122f990613eca565b80601f016020809104026020016040519081016040528092919081815260200182805461232590613eca565b80156123725780601f1061234757610100808354040283529160200191612372565b820191906000526020600020905b81548152906001019060200180831161235557829003601f168201915b5050505050905090565b606060008214156123c4576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124d8565b600082905060005b600082146123f65780806123df90613f2d565b915050600a826123ef9190613d14565b91506123cc565b60008167ffffffffffffffff81111561241257612411614092565b5b6040519080825280601f01601f1916602001820160405280156124445781602001600182028036833780820191505090505b5090505b600085146124d15760018261245d9190613d9f565b9150600a8561246c9190613f76565b60306124789190613cbe565b60f81b81838151811061248e5761248d614063565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124ca9190613d14565b9450612448565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125a857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125b857506125b7826127c1565b5b9050919050565b6125ca83838361282b565b505050565b6125d9838361293f565b6125e6600084848461262a565b612625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261c906138de565b60405180910390fd5b505050565b600061264b8473ffffffffffffffffffffffffffffffffffffffff16612b0d565b156127b4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612674611daf565b8786866040518563ffffffff1660e01b81526004016126969493929190613835565b602060405180830381600087803b1580156126b057600080fd5b505af19250505080156126e157506040513d601f19601f820116820180604052508101906126de91906132ff565b60015b612764573d8060008114612711576040519150601f19603f3d011682016040523d82523d6000602084013e612716565b606091505b5060008151141561275c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612753906138de565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127b9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612836838383612b20565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128795761287481612b25565b6128b8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128b7576128b68382612b6e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128fb576128f681612cdb565b61293a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612939576129388282612dac565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a690613a3e565b60405180910390fd5b6129b881611d43565b156129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061393e565b60405180910390fd5b612a04600083836125bf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a549190613cbe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b7b84610ed1565b612b859190613d9f565b9050600060076000848152602001908152602001600020549050818114612c6a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cef9190613d9f565b9050600060096000848152602001908152602001600020549050600060088381548110612d1f57612d1e614063565b5b906000526020600020015490508060088381548110612d4157612d40614063565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d9057612d8f614034565b5b6001900381819060005260206000200160009055905550505050565b6000612db783610ed1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612e3790613eca565b90600052602060002090601f016020900481019282612e595760008555612ea0565b82601f10612e7257805160ff1916838001178555612ea0565b82800160010185558215612ea0579182015b82811115612e9f578251825591602001919060010190612e84565b5b509050612ead9190612eb1565b5090565b5b80821115612eca576000816000905550600101612eb2565b5090565b6000612ee1612edc84613c19565b613bf4565b905082815260208101848484011115612efd57612efc6140d0565b5b612f08848285613e88565b509392505050565b6000612f23612f1e84613c4a565b613bf4565b905082815260208101848484011115612f3f57612f3e6140d0565b5b612f4a848285613e88565b509392505050565b600081359050612f6181614728565b92915050565b60008083601f840112612f7d57612f7c6140c6565b5b8235905067ffffffffffffffff811115612f9a57612f996140c1565b5b602083019150836020820283011115612fb657612fb56140cb565b5b9250929050565b600081359050612fcc8161473f565b92915050565b600081359050612fe181614756565b92915050565b600081519050612ff681614756565b92915050565b600082601f830112613011576130106140c6565b5b8135613021848260208601612ece565b91505092915050565b600082601f83011261303f5761303e6140c6565b5b813561304f848260208601612f10565b91505092915050565b6000813590506130678161476d565b92915050565b60008135905061307c81614784565b92915050565b600060208284031215613098576130976140da565b5b60006130a684828501612f52565b91505092915050565b600080604083850312156130c6576130c56140da565b5b60006130d485828601612f52565b92505060206130e585828601612f52565b9150509250929050565b600080600060608486031215613108576131076140da565b5b600061311686828701612f52565b935050602061312786828701612f52565b925050604061313886828701613058565b9150509250925092565b6000806000806080858703121561315c5761315b6140da565b5b600061316a87828801612f52565b945050602061317b87828801612f52565b935050604061318c87828801613058565b925050606085013567ffffffffffffffff8111156131ad576131ac6140d5565b5b6131b987828801612ffc565b91505092959194509250565b600080604083850312156131dc576131db6140da565b5b60006131ea85828601612f52565b92505060206131fb85828601612fbd565b9150509250929050565b6000806040838503121561321c5761321b6140da565b5b600061322a85828601612f52565b925050602061323b85828601613058565b9150509250929050565b60008060006040848603121561325e5761325d6140da565b5b600084013567ffffffffffffffff81111561327c5761327b6140d5565b5b61328886828701612f67565b9350935050602061329b8682870161306d565b9150509250925092565b6000602082840312156132bb576132ba6140da565b5b60006132c984828501612fbd565b91505092915050565b6000602082840312156132e8576132e76140da565b5b60006132f684828501612fd2565b91505092915050565b600060208284031215613315576133146140da565b5b600061332384828501612fe7565b91505092915050565b600060208284031215613342576133416140da565b5b600082013567ffffffffffffffff8111156133605761335f6140d5565b5b61336c8482850161302a565b91505092915050565b60006020828403121561338b5761338a6140da565b5b600061339984828501613058565b91505092915050565b6000602082840312156133b8576133b76140da565b5b60006133c68482850161306d565b91505092915050565b6133d881613e07565b82525050565b6133e781613e19565b82525050565b60006133f882613c7b565b6134028185613c91565b9350613412818560208601613e97565b61341b816140df565b840191505092915050565b600061343182613c86565b61343b8185613ca2565b935061344b818560208601613e97565b613454816140df565b840191505092915050565b600061346a82613c86565b6134748185613cb3565b9350613484818560208601613e97565b80840191505092915050565b600061349d602b83613ca2565b91506134a8826140f0565b604082019050919050565b60006134c0603283613ca2565b91506134cb8261413f565b604082019050919050565b60006134e3602683613ca2565b91506134ee8261418e565b604082019050919050565b6000613506602083613ca2565b9150613511826141dd565b602082019050919050565b6000613529601c83613ca2565b915061353482614206565b602082019050919050565b600061354c602483613ca2565b91506135578261422f565b604082019050919050565b600061356f601983613ca2565b915061357a8261427e565b602082019050919050565b6000613592601f83613ca2565b915061359d826142a7565b602082019050919050565b60006135b5602c83613ca2565b91506135c0826142d0565b604082019050919050565b60006135d8603883613ca2565b91506135e38261431f565b604082019050919050565b60006135fb602a83613ca2565b91506136068261436e565b604082019050919050565b600061361e602983613ca2565b9150613629826143bd565b604082019050919050565b6000613641602083613ca2565b915061364c8261440c565b602082019050919050565b6000613664602c83613ca2565b915061366f82614435565b604082019050919050565b6000613687602083613ca2565b915061369282614484565b602082019050919050565b60006136aa602983613ca2565b91506136b5826144ad565b604082019050919050565b60006136cd602f83613ca2565b91506136d8826144fc565b604082019050919050565b60006136f0602283613ca2565b91506136fb8261454b565b604082019050919050565b6000613713602183613ca2565b915061371e8261459a565b604082019050919050565b6000613736601b83613ca2565b9150613741826145e9565b602082019050919050565b6000613759602283613ca2565b915061376482614612565b604082019050919050565b600061377c603183613ca2565b915061378782614661565b604082019050919050565b600061379f602c83613ca2565b91506137aa826146b0565b604082019050919050565b60006137c2601883613ca2565b91506137cd826146ff565b602082019050919050565b6137e181613e71565b82525050565b6137f081613e7b565b82525050565b6000613802828561345f565b915061380e828461345f565b91508190509392505050565b600060208201905061382f60008301846133cf565b92915050565b600060808201905061384a60008301876133cf565b61385760208301866133cf565b61386460408301856137d8565b818103606083015261387681846133ed565b905095945050505050565b600060208201905061389660008301846133de565b92915050565b600060208201905081810360008301526138b68184613426565b905092915050565b600060208201905081810360008301526138d781613490565b9050919050565b600060208201905081810360008301526138f7816134b3565b9050919050565b60006020820190508181036000830152613917816134d6565b9050919050565b60006020820190508181036000830152613937816134f9565b9050919050565b600060208201905081810360008301526139578161351c565b9050919050565b600060208201905081810360008301526139778161353f565b9050919050565b6000602082019050818103600083015261399781613562565b9050919050565b600060208201905081810360008301526139b781613585565b9050919050565b600060208201905081810360008301526139d7816135a8565b9050919050565b600060208201905081810360008301526139f7816135cb565b9050919050565b60006020820190508181036000830152613a17816135ee565b9050919050565b60006020820190508181036000830152613a3781613611565b9050919050565b60006020820190508181036000830152613a5781613634565b9050919050565b60006020820190508181036000830152613a7781613657565b9050919050565b60006020820190508181036000830152613a978161367a565b9050919050565b60006020820190508181036000830152613ab78161369d565b9050919050565b60006020820190508181036000830152613ad7816136c0565b9050919050565b60006020820190508181036000830152613af7816136e3565b9050919050565b60006020820190508181036000830152613b1781613706565b9050919050565b60006020820190508181036000830152613b3781613729565b9050919050565b60006020820190508181036000830152613b578161374c565b9050919050565b60006020820190508181036000830152613b778161376f565b9050919050565b60006020820190508181036000830152613b9781613792565b9050919050565b60006020820190508181036000830152613bb7816137b5565b9050919050565b6000602082019050613bd360008301846137d8565b92915050565b6000602082019050613bee60008301846137e7565b92915050565b6000613bfe613c0f565b9050613c0a8282613efc565b919050565b6000604051905090565b600067ffffffffffffffff821115613c3457613c33614092565b5b613c3d826140df565b9050602081019050919050565b600067ffffffffffffffff821115613c6557613c64614092565b5b613c6e826140df565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cc982613e71565b9150613cd483613e71565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d0957613d08613fa7565b5b828201905092915050565b6000613d1f82613e71565b9150613d2a83613e71565b925082613d3a57613d39613fd6565b5b828204905092915050565b6000613d5082613e71565b9150613d5b83613e71565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d9457613d93613fa7565b5b828202905092915050565b6000613daa82613e71565b9150613db583613e71565b925082821015613dc857613dc7613fa7565b5b828203905092915050565b6000613dde82613e7b565b9150613de983613e7b565b925082821015613dfc57613dfb613fa7565b5b828203905092915050565b6000613e1282613e51565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613eb5578082015181840152602081019050613e9a565b83811115613ec4576000848401525b50505050565b60006002820490506001821680613ee257607f821691505b60208210811415613ef657613ef5614005565b5b50919050565b613f05826140df565b810181811067ffffffffffffffff82111715613f2457613f23614092565b5b80604052505050565b6000613f3882613e71565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f6b57613f6a613fa7565b5b600182019050919050565b6000613f8182613e71565b9150613f8c83613e71565b925082613f9c57613f9b613fd6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416c6c6f77206c697374206973206e6f74206163746976650000000000000000600082015250565b61473181613e07565b811461473c57600080fd5b50565b61474881613e19565b811461475357600080fd5b50565b61475f81613e25565b811461476a57600080fd5b50565b61477681613e71565b811461478157600080fd5b50565b61478d81613e7b565b811461479857600080fd5b5056fea26469706673582212202c4824ec7b7c82a7da8046bed0909bdce9de30707ae69b676baa15ca43379aa864736f6c63430008060033

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

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