Contract 0xA5f3c575098d280a34A797aa3B3c0074a9C60F86 1

 

Contract Overview

Rezombies: REZ Token
Balance:
120 MATIC

MATIC Value:
$111.46 (@ $0.93/MATIC)

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfed77ee5c22857c7ff9f77871b5c3e84a4392c02579e335ceb2a0c7fd71cefbeMint REZ316332432022-08-07 19:18:301 day 10 hrs ago0xd7fc0426ade0035d4223156a8be0b8361ebcd277 IN  Rezombies: REZ Token120 MATIC0.00522627464 32.980000004
0x8d5864cf06b4beb90b57f28154a517205d8546ba2ec492eb5df2b014b95dac8cPause316324182022-08-07 18:43:561 day 11 hrs agoRezombies: Deployer IN  Rezombies: REZ Token0 MATIC0.001396206025 30.426386536
0xd594632469476a82858e35df4744c9b3f852eab67dbc5c5fc056fbafa03e4430Give Away314283572022-08-02 9:41:596 days 20 hrs ago0x59626b17bfad10983fd3c0de3026bb0eec3f60c1 IN  Rezombies: REZ Token0 MATIC0.00084598591 34.093089008
0x519b4b97da43f95ab53bc67ff3411ee8a7296db92e019a270f4348443e92b35eGive Away314042922022-08-01 19:01:227 days 10 hrs agoRezombies: Deployer IN  Rezombies: REZ Token0 MATIC0.157255230089 30.000000017
0x393d465c5a4fef6db9ae6a8f31ca9b266e52670a7a72fb41976427c1ad95708cGive Away314042692022-08-01 19:00:327 days 10 hrs agoRezombies: Deployer IN  Rezombies: REZ Token0 MATIC0.01875231001 30.000000017
0x754185876099f62125fbe26ab90de2c1cb183bd5edce8e7affff72df70493579Give Away314042462022-08-01 18:59:467 days 10 hrs agoRezombies: Deployer IN  Rezombies: REZ Token0 MATIC0.139993350079 30.000000017
0x9254efd0d0cc7c199415f2af52ba1391309a33780e17125e540201eeacf23aadSet Wallet313974692022-08-01 15:00:097 days 14 hrs agoRezombies: Deployer IN  Rezombies: REZ Token0 MATIC0.005025510026 30.000000157
0x91f3616e7768ce6c934ae49aa7600646375eb5d959c41b858b7899648295229dSet Approval For...309094732022-07-19 20:05:1920 days 9 hrs ago0x84d1647cf64d15c8ca7e56833ea039ac4cafff0a IN  Rezombies: REZ Token0 MATIC0.001581259891 33.810000034
0xaa0eb17b13b44012b84d39e3f86a63642f7acd685eb89b2d70d8350f1e2b8bd2Set Approval For...309093272022-07-19 19:58:4320 days 9 hrs ago0x3248baf81e5aef12c8cca768ff2eb55a9087a2b3 IN  Rezombies: REZ Token0 MATIC0.001777324787 38.002197778
0x4ba06b862cee80272e80af941e65bd8169a9f6a3b99be45d0f87f42d73fd0fd1Set Approval For...306548842022-07-12 20:55:1727 days 8 hrs ago0x79d5ba4ab5111bb09a7e358effd8532a6a518162 IN  Rezombies: REZ Token0 MATIC0.001779229455 38.042922771
0xe797923d6811d0524de32a93a79e921fb9d354fa0c643c790dc811229d47c856Set Approval For...306546722022-07-12 20:48:0127 days 8 hrs ago0x8d30f2cf1e74a5f8ad92995a89f5735ca75cfe9a IN  Rezombies: REZ Token0 MATIC0.001493109864 31.925203968
0x7949b52e965cabd12c97a1fff75214a56621df7f30cedffa16af58da1b9edcbeSet Approval For...306545732022-07-12 20:43:5927 days 9 hrs ago0x6e6dd62b03484161aa5f6f18e1a3ca09103e4938 IN  Rezombies: REZ Token0 MATIC0.001721415531 36.8067637
0xafcbf06409a3114463d9b0982a5c3790f5a69b4e91e7183e89f2de29c9eaf146Safe Transfer Fr...304744082022-07-08 7:21:0331 days 22 hrs ago0x51d5086ad355e289cad8b39ee75d5182bc21f3cb IN  Rezombies: REZ Token0 MATIC0.004871066593 49.561639281
0x79a29089c1468e598e24378536df7c714b419911631d401bdb409f6624a9b3b4Set Approval For...304422132022-07-07 12:04:4532 days 17 hrs ago0x6a1caa12365f3fbb1a50ed466338903275ddaee5 IN  Rezombies: REZ Token0 MATIC0.001061325896 39.500014775
0x8ae4804e0c24e58829ac279a5abe50bfd90b545c9a4778ab53716b1432e03a98Set Approval For...304421872022-07-07 12:03:5332 days 17 hrs ago0x6a1caa12365f3fbb1a50ed466338903275ddaee5 IN  Rezombies: REZ Token0 MATIC0.002034452478 43.500020919
0x2b4abdb464a60318f5d32ffe17d20de11902875d217b12f8d0b3549365faae1bSet Approval For...304420342022-07-07 11:58:0932 days 17 hrs ago0x2d87fa1261eb961752a73264f60b6ff2900b8571 IN  Rezombies: REZ Token0 MATIC0.001870760195 40.000004182
0x7b507bd9b6b075fe90064493a8265219e3a5fb1b6da2332c68f5e8ea8d25ada6Set Approval For...301281572022-06-29 7:25:3240 days 22 hrs ago0xd83391a886178b2ea6c55e6fdefc448d190c3537 IN  Rezombies: REZ Token0 MATIC0.00140307 30.000000017
0x847cf898537d1dd12c2cfbdcc0bcf3ad4717c50653f56df970fa8a6bcf535417Transfer294036752022-06-10 17:41:1959 days 12 hrs ago0xd83391a886178b2ea6c55e6fdefc448d190c3537 IN  Rezombies: REZ Token0 MATIC0.000659366187 30.19075948
0xf3a05e715f272c55b0b41661b17441942339ff1504664d26a437aaa4d8288a56Transfer294035002022-06-10 17:34:3659 days 12 hrs ago0xd83391a886178b2ea6c55e6fdefc448d190c3537 IN  Rezombies: REZ Token0 MATIC0.000751609026 34.414332721
0xcab17dab39d1cb2dc48a9825cfdbe5a9a2f2e8572beff38e3e83a03889e8e590Set Approval For...292062262022-06-05 18:41:5464 days 11 hrs ago0x31044aa77ee5c99e5e35152884ef53b42fcd76fc IN  Rezombies: REZ Token0 MATIC0.001403070002 30.000000059
0x9843f83fbcbc61c02d4b7570796ef91402f5c1d9b7454f92f412429baf9f56a1Transfer From270655732022-04-12 23:07:45118 days 6 hrs ago0x6faadf78e434397caf8f766a52c95dd26f18fd09 IN  Rezombies: REZ Token0 MATIC0.002964656405 31.049699999
0xf568f6a19b0741ac03abcf3261971725b841c4ecc76e06e150b62879b91282abTransfer From270654032022-04-12 23:01:53118 days 6 hrs ago0x2fcf40b51ab68af38332afd8b0c86d424c638071 IN  Rezombies: REZ Token0 MATIC0.00307655278 35.7767816
0x9eca110a65dbd01fe76e4f99c8494ea77f34fb5f30cb2e6668aa9fb5010bbeb6Transfer From270653982022-04-12 23:01:43118 days 6 hrs ago0x2fcf40b51ab68af38332afd8b0c86d424c638071 IN  Rezombies: REZ Token0 MATIC0.003171703896 36.883279999
0x136129161b4216de7a972e22c1cbe5a0b15d8973b40e9b8dbdd6f19b6545c749Transfer From270653542022-04-12 23:00:15118 days 6 hrs ago0xbb02403dee58b447bd2e5e1848aad288b67ff6cc IN  Rezombies: REZ Token0 MATIC0.002718620307 31.618849605
0x7e8b0a1073eeda761f371a220a7cb9d4cbf364a1311c0752f70805538959ef16Transfer From270653032022-04-12 22:58:29118 days 6 hrs ago0x613fb93650786361efb6726f3da2fa906b77efad IN  Rezombies: REZ Token0 MATIC0.003683591548 37.48020013
[ Download CSV Export 

OVERVIEW

Resurrected Zombies (REZ) is a collection NFTs of 10,000 unique digital art pieces. Each zombie is unique. There are no duplicate items in the collection. More than 180 elements and combinations were used for algorithmic generation of REZ, such as body, clothing, shoes, object in hand, etc.

Latest 15 internal transactions
Parent Txn Hash Block From To Value
0x39d859fcc7cb8e6b7cbdc1a26e02a1984a6785385c5ce78321ae2d542ee3afef235933192022-01-11 11:55:22209 days 17 hrs ago Rezombies: REZ Token0x678d8b674e281d94de9f8d4df2d283c37579612357.6 MATIC
0x39d859fcc7cb8e6b7cbdc1a26e02a1984a6785385c5ce78321ae2d542ee3afef235933192022-01-11 11:55:22209 days 17 hrs ago Rezombies: REZ Token0x6b3794a9017e26f57d7d5f31cd482a0c6cdb4a07302.4 MATIC
0x39d859fcc7cb8e6b7cbdc1a26e02a1984a6785385c5ce78321ae2d542ee3afef235933192022-01-11 11:55:22209 days 17 hrs ago Rezombies: REZ TokenRezombies: Deployer360 MATIC
0xe84d514887195e5bc7edbb8f36c726a93ecb8c4704a050aaee91e89b3839ca23228152752021-12-22 4:40:59230 days 1 hr ago Rezombies: REZ Token0x678d8b674e281d94de9f8d4df2d283c375796123393.6 MATIC
0xe84d514887195e5bc7edbb8f36c726a93ecb8c4704a050aaee91e89b3839ca23228152752021-12-22 4:40:59230 days 1 hr ago Rezombies: REZ Token0x6b3794a9017e26f57d7d5f31cd482a0c6cdb4a072,066.4 MATIC
0xe84d514887195e5bc7edbb8f36c726a93ecb8c4704a050aaee91e89b3839ca23228152752021-12-22 4:40:59230 days 1 hr ago Rezombies: REZ TokenRezombies: Deployer2,460 MATIC
0x31ec9806ea039c1cf244a1b457b65f27eeb3cdacb567341e59cee0d13fa4f8f1219825312021-11-30 18:03:22251 days 11 hrs ago Rezombies: REZ Token0x678d8b674e281d94de9f8d4df2d283c375796123595.2 MATIC
0x31ec9806ea039c1cf244a1b457b65f27eeb3cdacb567341e59cee0d13fa4f8f1219825312021-11-30 18:03:22251 days 11 hrs ago Rezombies: REZ Token0x6b3794a9017e26f57d7d5f31cd482a0c6cdb4a073,124.8 MATIC
0x31ec9806ea039c1cf244a1b457b65f27eeb3cdacb567341e59cee0d13fa4f8f1219825312021-11-30 18:03:22251 days 11 hrs ago Rezombies: REZ TokenRezombies: Deployer3,720 MATIC
0x7a2af511d5068b7400822741cc95ea2992ac4edf1de4ab2907d19c035261f0ed219492292021-11-29 21:07:20252 days 8 hrs ago Rezombies: REZ Token0x678d8b674e281d94de9f8d4df2d283c3757961231,011.2 MATIC
0x7a2af511d5068b7400822741cc95ea2992ac4edf1de4ab2907d19c035261f0ed219492292021-11-29 21:07:20252 days 8 hrs ago Rezombies: REZ Token0x6b3794a9017e26f57d7d5f31cd482a0c6cdb4a075,308.8 MATIC
0x7a2af511d5068b7400822741cc95ea2992ac4edf1de4ab2907d19c035261f0ed219492292021-11-29 21:07:20252 days 8 hrs ago Rezombies: REZ TokenRezombies: Deployer6,320 MATIC
0xd6be06a8d5ae32c80b255ba141e94a64e98a126561287dbd5f365fb1f91dd2c4218560292021-11-27 9:52:41254 days 19 hrs ago Rezombies: REZ Token0x678d8b674e281d94de9f8d4df2d283c3757961231,593.6 MATIC
0xd6be06a8d5ae32c80b255ba141e94a64e98a126561287dbd5f365fb1f91dd2c4218560292021-11-27 9:52:41254 days 19 hrs ago Rezombies: REZ Token0x6b3794a9017e26f57d7d5f31cd482a0c6cdb4a078,366.4 MATIC
0xd6be06a8d5ae32c80b255ba141e94a64e98a126561287dbd5f365fb1f91dd2c4218560292021-11-27 9:52:41254 days 19 hrs ago Rezombies: REZ TokenRezombies: Deployer9,960 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
REZombies

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 13 : REZombies.sol
// SPDX-License-Identifier: MIT
// Network: Polygon (MATIC)
// NFT Collection: Resurrected Zombies (REZombies) (REZ)
// Web-site: https://rezombies.com/

//  $$$$$$$$$$_____$$$$$$$$$$$$$$$$$$$$_____$$$$$$$$$$$$$$$$$$$$_____$$$$$$$$$$
//  $$$$$$$$$/\$$$$\$$$$$$$$$$$$$$$$$$/\$$$$\$$$$$$$$$$$$$$$$$$/\$$$$\$$$$$$$$$
//  $$$$$$$$/::\$$$$\$$$$$$$$$$$$$$$$/::\$$$$\$$$$$$$$$$$$$$$$/::\$$$$\$$$$$$$$
//  $$$$$$$/::::\$$$$\$$$$$$$$$$$$$$/::::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$$$$$$
//  $$$$$$/::::::\$$$$\$$$$$$$$$$$$/::::::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$$$$$
//  $$$$$/:::/\:::\$$$$\$$$$$$$$$$/:::/\:::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$$$$
//  $$$$/:::/__\:::\$$$$\$$$$$$$$/:::/__\:::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$$$
//  $$$/::::\$$$\:::\$$$$\$$$$$$/::::\$$$\:::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$$
//  $$/::::::\$$$\:::\$$$$\$$$$/::::::\$$$\:::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$
//  $/:::/\:::\$$$\:::\____\$$/:::/\:::\$$$\:::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$
//  /:::/$$\:::\$$$\:::|$$$$|/:::/__\:::\$$$\:::\____\_______________\:::\____\
//  \::/$$$|::::\$$/:::|____|\:::\$$$\:::\$$$\::/$$$$/\::::::::::::::::::/$$$$/
//  $\/____|:::::\/:::/$$$$/$$\:::\$$$\:::\$$$\/____/$$\::::::::::::::::/____/$
//  $$$$$$$|:::::::::/$$$$/$$$$\:::\$$$\:::\$$$$\$$$$$$$\:::\~~~~\~~~~~~$$$$$$$
//  $$$$$$$|::|\::::/$$$$/$$$$$$\:::\$$$\:::\____\$$$$$$$\:::\$$$$\$$$$$$$$$$$$
//  $$$$$$$|::|$\::/____/$$$$$$$$\:::\$$$\::/$$$$/$$$$$$$$\:::\$$$$\$$$$$$$$$$$
//  $$$$$$$|::|$$~|$$$$$$$$$$$$$$$\:::\$$$\/____/$$$$$$$$$$\:::\$$$$\$$$$$$$$$$
//  $$$$$$$|::|$$$|$$$$$$$$$$$$$$$$\:::\$$$$\$$$$$$$$$$$$$$$\:::\$$$$\$$$$$$$$$
//  $$$$$$$\::|$$$|$$$$$$$$$$$$$$$$$\:::\____\$$$$$$$$$$$$$$$\:::\____\$$$$$$$$
//  $$$$$$$$\:|$$$|$$$$$$$$$$$$$$$$$$\::/$$$$/$$$$$$$$$$$$$$$$\::/$$$$/$$$$$$$$
//  $$$$$$$$$\|___|$$$$$$$$$$$$$$$$$$$\/____/$$$$$$$$$$$$$$$$$$\/____/$$$$$$$$$
//  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

pragma solidity ^0.8.4;

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

contract REZombies is ERC721Enumerable, Ownable {
    using Strings for uint256;

    string _baseTokenURI;
    string public PROVENANCE = "";
    uint256 public startingIndexBlock;
    uint256 public startingIndex;
    uint256 public constant PreSalePriceREZ = 80 ether;  //Pre-sale price 80 MATIC
    uint256 public constant PriceREZ = 120 ether;        //Sale price 120 MATIC
    uint public constant maxRezPurchase = 50;
    uint256 private _reserved;
    uint256 private _handed = 0;
    uint256 public MaxREZ;
    bool public pausedSale = false;
    bool public FreezeBaseURI = false;
    uint256 public Time_PS;
    uint256 public Time_S;
    uint256 public RevTimeStamp;

// Withdraw addresses

    address w1 = 0xc5A437B7E0E3b40c8766E4063BCc0bFBe4170eAd;
    address w2 = 0x6b3794A9017e26f57d7d5f31cD482A0c6Cdb4a07;
    address w3 = 0x678d8B674e281D94De9f8d4Df2d283C375796123;

    constructor(uint256 maxSupply, uint256 reserved, uint256 PresaleStart, uint256 saleStart) ERC721("Resurrected Zombies", "REZ") {
        MaxREZ = maxSupply;
        RevTimeStamp = saleStart + 864000;  //Maximum 10 days before Index Block is defined
        Time_PS = PresaleStart;
        Time_S = saleStart;
        _reserved = reserved;
        _safeMint( w2, 0);
        _safeMint( w3, 1);
        _reserved -= 2;
        _handed += 2;
    }
    
//Giveaways of zombies from the reserve

    function giveAway(address _to, uint256 _amount) external onlyOwner() {
        require( _amount <= _reserved, "Insufficient backup NFTs" );
        uint256 supply = totalSupply();
        for(uint256 i; i < _amount; i++){
            _safeMint( _to, supply + i );
        }
        _reserved -= _amount;
        _handed += _amount;
    }

//Setting block time

    function setRevealTimestamp(uint256 revealTimeStamp) public onlyOwner {
        RevTimeStamp = revealTimeStamp;
    } 

//Set provenance (SHA256) images in collection

    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        PROVENANCE = provenanceHash;
    }

//baseURI

    function setBaseURI(string memory baseURI) public onlyOwner {
        require(!FreezeBaseURI, "BaseURI is frozen! Cannot be changed.");
        _baseTokenURI = baseURI;
    }

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

//Freeze BaseURI (the community may decide to do so)

    function setFreezeBaseURI() public onlyOwner {
        require(!FreezeBaseURI, "BaseURI is already frozen!");
        FreezeBaseURI = true;
    } 

//Pause or starting a sale

    function pause() public onlyOwner {
        pausedSale = !pausedSale;
    }

//Сhecking the number of zombies in the wallet

    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

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

//Mints Zombies (REZ) - Presale

    function premintREZ(uint numberOfTokens) public payable {
        require(pausedSale, "Minting REZ is not active!");
        require(block.timestamp > Time_PS, "PreSale time has not come!");
        require(block.timestamp < Time_S, "PreSale is over!");
        require(numberOfTokens <= maxRezPurchase - 20, "Can only mint 20 tokens at a time!");
        require(totalSupply() + numberOfTokens <= 500 + _handed , "Purchase exceeds the maximum number of zombies!");
        require(msg.value >= numberOfTokens * PreSalePriceREZ, "MATIC value sent is not correct!");
        
        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MaxREZ) {
                _safeMint(msg.sender, mintIndex);
            }
        }
    }

//Mints Zombies (REZ) - General sale

    function mintREZ(uint numberOfTokens) public payable {
        require(pausedSale, "Minting REZ is not active!");
        require(block.timestamp > Time_S, "Sale time has not come!");
        require(numberOfTokens <= maxRezPurchase, "Can only mint 50 tokens at a time!");
        require(totalSupply() + numberOfTokens <= MaxREZ - _reserved, "Purchase exceeds the maximum number of zombies!");
        require(msg.value >= numberOfTokens * PriceREZ, "MATIC value sent is not correct!");
        
        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MaxREZ) {
                _safeMint(msg.sender, mintIndex);
            }
        }

//Determination of the initial index when one of the conditions is met: the time has come, or the collection is sold

        if (startingIndexBlock == 0 && ((totalSupply() + _reserved) == MaxREZ || block.timestamp >= RevTimeStamp)) {
            startingIndexBlock = block.number;
        } 
    }

//Setting the starting index of the collection

    function setStartingIndex() public {
        require(startingIndex == 0, "Starting index is already set!");
        require(startingIndexBlock != 0, "The initial index block must be installed!");
        
        startingIndex = uint(blockhash(startingIndexBlock)) % MaxREZ;
        if (startingIndexBlock > 255) {
            startingIndex = uint(blockhash(block.number - 1)) % MaxREZ;
        }
        //Disallow default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex + 1;
        }
    }

//Setting the starting index block & Setting the starting index.

    function emergencySetStartingIndexBlock() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        startingIndexBlock = block.number;
    }

//Stock of NFTs for contests and good deeds

    function getReserve() public view returns (uint256){
        return _reserved;
    }


//Changing the internal address of the team wallet (w1)

    function setWallet(address _to) public onlyOwner {
        require(w1 == 0xc5A437B7E0E3b40c8766E4063BCc0bFBe4170eAd, "The wallet address can be changed once. This has been done before!");
        w1 = _to;
        uint mintIndex = totalSupply();
        _safeMint( w1, mintIndex);
        _reserved -= 1;
        _handed += 1;
    } 

//Withdraw Matic 

    function withdrawAll() public payable onlyOwner {
        uint256 _per = address(this).balance / 100;
        uint256 _part1 = _per * 50;
        uint256 _part2 = _per * 42;
        uint256 _part3 = _per * 8;
        require(payable(w1).send(_part1));
        require(payable(w2).send(_part2));
        require(payable(w3).send(_part3));
      }

}

File 2 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 3 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 4 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 5 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 6 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);
    }

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

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

File 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 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 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 10 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 11 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 12 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.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 13 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"reserved","type":"uint256"},{"internalType":"uint256","name":"PresaleStart","type":"uint256"},{"internalType":"uint256","name":"saleStart","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FreezeBaseURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxREZ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PreSalePriceREZ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PriceREZ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RevTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Time_PS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Time_S","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRezPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintREZ","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausedSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"premintREZ","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFreezeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"setWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

608060405260405180602001604052806000815250600c90805190602001906200002b92919062000e5a565b5060006010556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff02191690831515021790555073c5a437b7e0e3b40c8766e4063bcc0bfbe4170ead601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550736b3794a9017e26f57d7d5f31cd482a0c6cdb4a07601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073678d8b674e281d94de9f8d4df2d283c375796123601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200017357600080fd5b50604051620068db380380620068db833981810160405281019062000199919062000f64565b6040518060400160405280601381526020017f5265737572726563746564205a6f6d62696573000000000000000000000000008152506040518060400160405280600381526020017f52455a000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200021d92919062000e5a565b5080600190805190602001906200023692919062000e5a565b505050620002596200024d6200033860201b60201c565b6200034060201b60201c565b83601181905550620d2f0081620002719190620011d8565b601581905550816013819055508060148190555082600f81905550620002c1601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006200040660201b60201c565b620002f6601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016200040660201b60201c565b6002600f60008282546200030b919062001235565b92505081905550600260106000828254620003279190620011d8565b9250508190555050505050620014d9565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004288282604051806020016040528060008152506200042c60201b60201c565b5050565b6200043e83836200049a60201b60201c565b6200045360008484846200068060201b60201c565b62000495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048c9062001123565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200050d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005049062001189565b60405180910390fd5b6200051e816200083a60201b60201c565b1562000561576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005589062001145565b60405180910390fd5b6200057560008383620008a660201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620005c79190620011d8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620006ae8473ffffffffffffffffffffffffffffffffffffffff16620009ed60201b620025af1760201c565b156200082d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006e06200033860201b60201c565b8786866040518563ffffffff1660e01b8152600401620007049493929190620010cf565b602060405180830381600087803b1580156200071f57600080fd5b505af19250505080156200075357506040513d601f19601f8201168201806040525081019062000750919062000f38565b60015b620007dc573d806000811462000786576040519150601f19603f3d011682016040523d82523d6000602084013e6200078b565b606091505b50600081511415620007d4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007cb9062001123565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000832565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620008be83838362000a0060201b620025c21760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200090b57620009058162000a0560201b60201c565b62000953565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620009525762000951838262000a4e60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620009a0576200099a8162000bcb60201b60201c565b620009e8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620009e757620009e6828262000d1360201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000a688462000d9f60201b620015c01760201c565b62000a74919062001235565b905060006007600084815260200190815260200160002054905081811462000b5a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000be1919062001235565b905060006009600084815260200190815260200160002054905060006008838154811062000c38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000c81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000cf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000d2b8362000d9f60201b620015c01760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000e13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000e0a9062001167565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000e689062001310565b90600052602060002090601f01602090048101928262000e8c576000855562000ed8565b82601f1062000ea757805160ff191683800117855562000ed8565b8280016001018555821562000ed8579182015b8281111562000ed757825182559160200191906001019062000eba565b5b50905062000ee7919062000eeb565b5090565b5b8082111562000f0657600081600090555060010162000eec565b5090565b60008151905062000f1b81620014a5565b92915050565b60008151905062000f3281620014bf565b92915050565b60006020828403121562000f4b57600080fd5b600062000f5b8482850162000f0a565b91505092915050565b6000806000806080858703121562000f7b57600080fd5b600062000f8b8782880162000f21565b945050602062000f9e8782880162000f21565b935050604062000fb18782880162000f21565b925050606062000fc48782880162000f21565b91505092959194509250565b62000fdb8162001270565b82525050565b600062000fee82620011ab565b62000ffa8185620011b6565b93506200100c818560208601620012da565b6200101781620013a4565b840191505092915050565b600062001031603283620011c7565b91506200103e82620013b5565b604082019050919050565b600062001058601c83620011c7565b9150620010658262001404565b602082019050919050565b60006200107f602a83620011c7565b91506200108c826200142d565b604082019050919050565b6000620010a6602083620011c7565b9150620010b3826200147c565b602082019050919050565b620010c981620012d0565b82525050565b6000608082019050620010e6600083018762000fd0565b620010f5602083018662000fd0565b620011046040830185620010be565b818103606083015262001118818462000fe1565b905095945050505050565b600060208201905081810360008301526200113e8162001022565b9050919050565b60006020820190508181036000830152620011608162001049565b9050919050565b60006020820190508181036000830152620011828162001070565b9050919050565b60006020820190508181036000830152620011a48162001097565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620011e582620012d0565b9150620011f283620012d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200122a576200122962001346565b5b828201905092915050565b60006200124282620012d0565b91506200124f83620012d0565b92508282101562001265576200126462001346565b5b828203905092915050565b60006200127d82620012b0565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620012fa578082015181840152602081019050620012dd565b838111156200130a576000848401525b50505050565b600060028204905060018216806200132957607f821691505b6020821081141562001340576200133f62001375565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b620014b08162001284565b8114620014bc57600080fd5b50565b620014ca81620012d0565b8114620014d657600080fd5b50565b6153f280620014e96000396000f3fe6080604052600436106102725760003560e01c806379d9fde01161014f578063b88d4fde116100c1578063e2cd6bfd1161007a578063e2cd6bfd146108f1578063e36d64981461091c578063e985e9c514610947578063e986655014610984578063f2fde38b1461099b578063fc374a42146109c457610272565b8063b88d4fde146107e3578063c87b56dd1461080c578063ca80014414610849578063cb774d4714610872578063db42c9ce1461089d578063deaa59df146108c857610272565b8063853828b611610113578063853828b6146107135780638da5cb5b1461071d57806395d89b4114610748578063a22cb46514610773578063b3805bfc1461079c578063b4f1b9ee146107c757610272565b806379d9fde0146106645780637a8327d31461068f5780637d17fcbe146106ba57806382e667de146106d15780638456cb59146106fc57610272565b80632f745c59116101e857806358cd5ada116101ac57806358cd5ada1461056157806359bf5d391461057d5780636352211e146105a85780636373a6b1146105e557806370a0823114610610578063715018a61461064d57610272565b80632f745c591461045857806342842e0e14610495578063438b6300146104be5780634f6ccce7146104fb57806355f804b31461053857610272565b8063095ea7b31161023a578063095ea7b314610370578063109695231461039957806314970ca3146103c257806316158dbc146103d957806318160ddd1461040457806323b872dd1461042f57610272565b8063018a2c371461027757806301ffc9a7146102a0578063069b2610146102dd57806306fdde0314610308578063081812fc14610333575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613b5b565b6109ef565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613ac8565b610a75565b6040516102d49190614209565b60405180910390f35b3480156102e957600080fd5b506102f2610aef565b6040516102ff9190614666565b60405180910390f35b34801561031457600080fd5b5061031d610af4565b60405161032a9190614224565b60405180910390f35b34801561033f57600080fd5b5061035a60048036038101906103559190613b5b565b610b86565b6040516103679190614180565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613a8c565b610c0b565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190613b1a565b610d23565b005b3480156103ce57600080fd5b506103d7610db9565b005b3480156103e557600080fd5b506103ee610ea2565b6040516103fb9190614666565b60405180910390f35b34801561041057600080fd5b50610419610eaf565b6040516104269190614666565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190613986565b610ebc565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613a8c565b610f1c565b60405161048c9190614666565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613986565b610fc1565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613921565b610fe1565b6040516104f291906141e7565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613b5b565b6110db565b60405161052f9190614666565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613b1a565b611172565b005b61057b60048036038101906105769190613b5b565b611258565b005b34801561058957600080fd5b50610592611476565b60405161059f9190614666565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613b5b565b611480565b6040516105dc9190614180565b60405180910390f35b3480156105f157600080fd5b506105fa611532565b6040516106079190614224565b60405180910390f35b34801561061c57600080fd5b5061063760048036038101906106329190613921565b6115c0565b6040516106449190614666565b60405180910390f35b34801561065957600080fd5b50610662611678565b005b34801561067057600080fd5b50610679611700565b6040516106869190614209565b60405180910390f35b34801561069b57600080fd5b506106a4611713565b6040516106b19190614666565b60405180910390f35b3480156106c657600080fd5b506106cf611719565b005b3480156106dd57600080fd5b506106e66117e3565b6040516106f39190614666565b60405180910390f35b34801561070857600080fd5b506107116117e9565b005b61071b611891565b005b34801561072957600080fd5b50610732611a77565b60405161073f9190614180565b60405180910390f35b34801561075457600080fd5b5061075d611aa1565b60405161076a9190614224565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613a50565b611b33565b005b3480156107a857600080fd5b506107b1611cb4565b6040516107be9190614666565b60405180910390f35b6107e160048036038101906107dc9190613b5b565b611cba565b005b3480156107ef57600080fd5b5061080a600480360381019061080591906139d5565b611ee7565b005b34801561081857600080fd5b50610833600480360381019061082e9190613b5b565b611f49565b6040516108409190614224565b60405180910390f35b34801561085557600080fd5b50610870600480360381019061086b9190613a8c565b611ff0565b005b34801561087e57600080fd5b50610887612128565b6040516108949190614666565b60405180910390f35b3480156108a957600080fd5b506108b261212e565b6040516108bf9190614666565b60405180910390f35b3480156108d457600080fd5b506108ef60048036038101906108ea9190613921565b612134565b005b3480156108fd57600080fd5b50610906612305565b6040516109139190614666565b60405180910390f35b34801561092857600080fd5b50610931612312565b60405161093e9190614666565b60405180910390f35b34801561095357600080fd5b5061096e6004803603810190610969919061394a565b612318565b60405161097b9190614209565b60405180910390f35b34801561099057600080fd5b506109996123ac565b005b3480156109a757600080fd5b506109c260048036038101906109bd9190613921565b6124a4565b005b3480156109d057600080fd5b506109d961259c565b6040516109e69190614209565b60405180910390f35b6109f76125c7565b73ffffffffffffffffffffffffffffffffffffffff16610a15611a77565b73ffffffffffffffffffffffffffffffffffffffff1614610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a62906144c6565b60405180910390fd5b8060158190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae85750610ae7826125cf565b5b9050919050565b603281565b606060008054610b039061494f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2f9061494f565b8015610b7c5780601f10610b5157610100808354040283529160200191610b7c565b820191906000526020600020905b815481529060010190602001808311610b5f57829003601f168201915b5050505050905090565b6000610b91826126b1565b610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc7906144a6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1682611480565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e90614586565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca66125c7565b73ffffffffffffffffffffffffffffffffffffffff161480610cd55750610cd481610ccf6125c7565b612318565b5b610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b90614426565b60405180910390fd5b610d1e838361271d565b505050565b610d2b6125c7565b73ffffffffffffffffffffffffffffffffffffffff16610d49611a77565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d96906144c6565b60405180910390fd5b80600c9080519060200190610db5929190613745565b5050565b610dc16125c7565b73ffffffffffffffffffffffffffffffffffffffff16610ddf611a77565b73ffffffffffffffffffffffffffffffffffffffff1614610e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2c906144c6565b60405180910390fd5b601260019054906101000a900460ff1615610e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7c90614266565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b6804563918244f40000081565b6000600880549050905090565b610ecd610ec76125c7565b826127d6565b610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906145a6565b60405180910390fd5b610f178383836128b4565b505050565b6000610f27836115c0565b8210610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f90614286565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610fdc83838360405180602001604052806000815250611ee7565b505050565b60606000610fee836115c0565b905060008167ffffffffffffffff811115611032577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110605781602001602082028036833780820191505090505b50905060005b828110156110d0576110788582610f1c565b8282815181106110b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806110c8906149b2565b915050611066565b508092505050919050565b60006110e5610eaf565b8210611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906145e6565b60405180910390fd5b60088281548110611160577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61117a6125c7565b73ffffffffffffffffffffffffffffffffffffffff16611198611a77565b73ffffffffffffffffffffffffffffffffffffffff16146111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906144c6565b60405180910390fd5b601260019054906101000a900460ff161561123e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123590614506565b60405180910390fd5b80600b9080519060200190611254929190613745565b5050565b601260009054906101000a900460ff166112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e906144e6565b60405180910390fd5b60145442116112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290614306565b60405180910390fd5b603281111561132f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611326906143e6565b60405180910390fd5b600f5460115461133f9190614865565b81611348610eaf565b6113529190614784565b1115611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90614606565b60405180910390fd5b68068155a43676e00000816113a8919061480b565b3410156113ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e190614646565b60405180910390fd5b60005b818110156114315760006113ff610eaf565b905060115461140c610eaf565b101561141d5761141c3382612b10565b5b508080611429906149b2565b9150506113ed565b506000600d541480156114665750601154600f5461144d610eaf565b6114579190614784565b148061146557506015544210155b5b156114735743600d819055505b50565b6000600f54905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090614466565b60405180910390fd5b80915050919050565b600c805461153f9061494f565b80601f016020809104026020016040519081016040528092919081815260200182805461156b9061494f565b80156115b85780601f1061158d576101008083540402835291602001916115b8565b820191906000526020600020905b81548152906001019060200180831161159b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614446565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116806125c7565b73ffffffffffffffffffffffffffffffffffffffff1661169e611a77565b73ffffffffffffffffffffffffffffffffffffffff16146116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb906144c6565b60405180910390fd5b6116fe6000612b2e565b565b601260009054906101000a900460ff1681565b60135481565b6117216125c7565b73ffffffffffffffffffffffffffffffffffffffff1661173f611a77565b73ffffffffffffffffffffffffffffffffffffffff1614611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c906144c6565b60405180910390fd5b6000600e54146117da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d190614406565b60405180910390fd5b43600d81905550565b60145481565b6117f16125c7565b73ffffffffffffffffffffffffffffffffffffffff1661180f611a77565b73ffffffffffffffffffffffffffffffffffffffff1614611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c906144c6565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b6118996125c7565b73ffffffffffffffffffffffffffffffffffffffff166118b7611a77565b73ffffffffffffffffffffffffffffffffffffffff161461190d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611904906144c6565b60405180910390fd5b600060644761191c91906147da565b9050600060328261192d919061480b565b90506000602a8361193e919061480b565b9050600060088461194f919061480b565b9050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050506119b157600080fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050611a1157600080fd5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050611a7157600080fd5b50505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611ab09061494f565b80601f0160208091040260200160405190810160405280929190818152602001828054611adc9061494f565b8015611b295780601f10611afe57610100808354040283529160200191611b29565b820191906000526020600020905b815481529060010190602001808311611b0c57829003601f168201915b5050505050905090565b611b3b6125c7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090614346565b60405180910390fd5b8060056000611bb66125c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c636125c7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ca89190614209565b60405180910390a35050565b60155481565b601260009054906101000a900460ff16611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d00906144e6565b60405180910390fd5b6013544211611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4490614366565b60405180910390fd5b6014544210611d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d88906145c6565b60405180910390fd5b60146032611d9f9190614865565b811115611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890614386565b60405180910390fd5b6010546101f4611df19190614784565b81611dfa610eaf565b611e049190614784565b1115611e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3c90614606565b60405180910390fd5b6804563918244f40000081611e5a919061480b565b341015611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9390614646565b60405180910390fd5b60005b81811015611ee3576000611eb1610eaf565b9050601154611ebe610eaf565b1015611ecf57611ece3382612b10565b5b508080611edb906149b2565b915050611e9f565b5050565b611ef8611ef26125c7565b836127d6565b611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e906145a6565b60405180910390fd5b611f4384848484612bf4565b50505050565b6060611f54826126b1565b611f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8a90614546565b60405180910390fd5b6000611f9d612c50565b90506000815111611fbd5760405180602001604052806000815250611fe8565b80611fc784612ce2565b604051602001611fd892919061415c565b6040516020818303038152906040525b915050919050565b611ff86125c7565b73ffffffffffffffffffffffffffffffffffffffff16612016611a77565b73ffffffffffffffffffffffffffffffffffffffff161461206c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612063906144c6565b60405180910390fd5b600f548111156120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a8906143c6565b60405180910390fd5b60006120bb610eaf565b905060005b828110156120f0576120dd8482846120d89190614784565b612b10565b80806120e8906149b2565b9150506120c0565b5081600f60008282546121039190614865565b92505081905550816010600082825461211c9190614784565b92505081905550505050565b600e5481565b60115481565b61213c6125c7565b73ffffffffffffffffffffffffffffffffffffffff1661215a611a77565b73ffffffffffffffffffffffffffffffffffffffff16146121b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a7906144c6565b60405180910390fd5b73c5a437b7e0e3b40c8766e4063bcc0bfbe4170ead73ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b90614246565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600061229f610eaf565b90506122cd601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612b10565b6001600f60008282546122e09190614865565b925050819055506001601060008282546122fa9190614784565b925050819055505050565b68068155a43676e0000081565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600e54146123f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e890614566565b60405180910390fd5b6000600d541415612437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242e90614626565b60405180910390fd5b601154600d544060001c61244b91906149fb565b600e8190555060ff600d5411156124815760115460014361246c9190614865565b4060001c61247a91906149fb565b600e819055505b6000600e5414156124a2576001600e5461249b9190614784565b600e819055505b565b6124ac6125c7565b73ffffffffffffffffffffffffffffffffffffffff166124ca611a77565b73ffffffffffffffffffffffffffffffffffffffff1614612520576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612517906144c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612590576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612587906142c6565b60405180910390fd5b61259981612b2e565b50565b601260019054906101000a900460ff1681565b600080823b905060008111915050919050565b505050565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126aa57506126a982612e8f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279083611480565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006127e1826126b1565b612820576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612817906143a6565b60405180910390fd5b600061282b83611480565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061289a57508373ffffffffffffffffffffffffffffffffffffffff1661288284610b86565b73ffffffffffffffffffffffffffffffffffffffff16145b806128ab57506128aa8185612318565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128d482611480565b73ffffffffffffffffffffffffffffffffffffffff161461292a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292190614526565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561299a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299190614326565b60405180910390fd5b6129a5838383612ef9565b6129b060008261271d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a009190614865565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a579190614784565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612b2a82826040518060200160405280600081525061300d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612bff8484846128b4565b612c0b84848484613068565b612c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c41906142a6565b60405180910390fd5b50505050565b6060600b8054612c5f9061494f565b80601f0160208091040260200160405190810160405280929190818152602001828054612c8b9061494f565b8015612cd85780601f10612cad57610100808354040283529160200191612cd8565b820191906000526020600020905b815481529060010190602001808311612cbb57829003601f168201915b5050505050905090565b60606000821415612d2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e8a565b600082905060005b60008214612d5c578080612d45906149b2565b915050600a82612d5591906147da565b9150612d32565b60008167ffffffffffffffff811115612d9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612dd05781602001600182028036833780820191505090505b5090505b60008514612e8357600182612de99190614865565b9150600a85612df891906149fb565b6030612e049190614784565b60f81b818381518110612e40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e7c91906147da565b9450612dd4565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f048383836125c2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f4757612f42816131ff565b612f86565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f8557612f848382613248565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fc957612fc4816133b5565b613008565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130075761300682826134f8565b5b5b505050565b6130178383613577565b6130246000848484613068565b613063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305a906142a6565b60405180910390fd5b505050565b60006130898473ffffffffffffffffffffffffffffffffffffffff166125af565b156131f2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130b26125c7565b8786866040518563ffffffff1660e01b81526004016130d4949392919061419b565b602060405180830381600087803b1580156130ee57600080fd5b505af192505050801561311f57506040513d601f19601f8201168201806040525081019061311c9190613af1565b60015b6131a2573d806000811461314f576040519150601f19603f3d011682016040523d82523d6000602084013e613154565b606091505b5060008151141561319a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613191906142a6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131f7565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613255846115c0565b61325f9190614865565b9050600060076000848152602001908152602001600020549050818114613344576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133c99190614865565b905060006009600084815260200190815260200160002054905060006008838154811061341f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613467577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613503836115c0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de90614486565b60405180910390fd5b6135f0816126b1565b15613630576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613627906142e6565b60405180910390fd5b61363c60008383612ef9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461368c9190614784565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137519061494f565b90600052602060002090601f01602090048101928261377357600085556137ba565b82601f1061378c57805160ff19168380011785556137ba565b828001600101855582156137ba579182015b828111156137b957825182559160200191906001019061379e565b5b5090506137c791906137cb565b5090565b5b808211156137e45760008160009055506001016137cc565b5090565b60006137fb6137f6846146a6565b614681565b90508281526020810184848401111561381357600080fd5b61381e84828561490d565b509392505050565b6000613839613834846146d7565b614681565b90508281526020810184848401111561385157600080fd5b61385c84828561490d565b509392505050565b60008135905061387381615360565b92915050565b60008135905061388881615377565b92915050565b60008135905061389d8161538e565b92915050565b6000815190506138b28161538e565b92915050565b600082601f8301126138c957600080fd5b81356138d98482602086016137e8565b91505092915050565b600082601f8301126138f357600080fd5b8135613903848260208601613826565b91505092915050565b60008135905061391b816153a5565b92915050565b60006020828403121561393357600080fd5b600061394184828501613864565b91505092915050565b6000806040838503121561395d57600080fd5b600061396b85828601613864565b925050602061397c85828601613864565b9150509250929050565b60008060006060848603121561399b57600080fd5b60006139a986828701613864565b93505060206139ba86828701613864565b92505060406139cb8682870161390c565b9150509250925092565b600080600080608085870312156139eb57600080fd5b60006139f987828801613864565b9450506020613a0a87828801613864565b9350506040613a1b8782880161390c565b925050606085013567ffffffffffffffff811115613a3857600080fd5b613a44878288016138b8565b91505092959194509250565b60008060408385031215613a6357600080fd5b6000613a7185828601613864565b9250506020613a8285828601613879565b9150509250929050565b60008060408385031215613a9f57600080fd5b6000613aad85828601613864565b9250506020613abe8582860161390c565b9150509250929050565b600060208284031215613ada57600080fd5b6000613ae88482850161388e565b91505092915050565b600060208284031215613b0357600080fd5b6000613b11848285016138a3565b91505092915050565b600060208284031215613b2c57600080fd5b600082013567ffffffffffffffff811115613b4657600080fd5b613b52848285016138e2565b91505092915050565b600060208284031215613b6d57600080fd5b6000613b7b8482850161390c565b91505092915050565b6000613b90838361413e565b60208301905092915050565b613ba581614899565b82525050565b6000613bb682614718565b613bc08185614746565b9350613bcb83614708565b8060005b83811015613bfc578151613be38882613b84565b9750613bee83614739565b925050600181019050613bcf565b5085935050505092915050565b613c12816148ab565b82525050565b6000613c2382614723565b613c2d8185614757565b9350613c3d81856020860161491c565b613c4681614ae8565b840191505092915050565b6000613c5c8261472e565b613c668185614768565b9350613c7681856020860161491c565b613c7f81614ae8565b840191505092915050565b6000613c958261472e565b613c9f8185614779565b9350613caf81856020860161491c565b80840191505092915050565b6000613cc8604283614768565b9150613cd382614af9565b606082019050919050565b6000613ceb601a83614768565b9150613cf682614b6e565b602082019050919050565b6000613d0e602b83614768565b9150613d1982614b97565b604082019050919050565b6000613d31603283614768565b9150613d3c82614be6565b604082019050919050565b6000613d54602683614768565b9150613d5f82614c35565b604082019050919050565b6000613d77601c83614768565b9150613d8282614c84565b602082019050919050565b6000613d9a601783614768565b9150613da582614cad565b602082019050919050565b6000613dbd602483614768565b9150613dc882614cd6565b604082019050919050565b6000613de0601983614768565b9150613deb82614d25565b602082019050919050565b6000613e03601a83614768565b9150613e0e82614d4e565b602082019050919050565b6000613e26602283614768565b9150613e3182614d77565b604082019050919050565b6000613e49602c83614768565b9150613e5482614dc6565b604082019050919050565b6000613e6c601883614768565b9150613e7782614e15565b602082019050919050565b6000613e8f602283614768565b9150613e9a82614e3e565b604082019050919050565b6000613eb2601d83614768565b9150613ebd82614e8d565b602082019050919050565b6000613ed5603883614768565b9150613ee082614eb6565b604082019050919050565b6000613ef8602a83614768565b9150613f0382614f05565b604082019050919050565b6000613f1b602983614768565b9150613f2682614f54565b604082019050919050565b6000613f3e602083614768565b9150613f4982614fa3565b602082019050919050565b6000613f61602c83614768565b9150613f6c82614fcc565b604082019050919050565b6000613f84602083614768565b9150613f8f8261501b565b602082019050919050565b6000613fa7601a83614768565b9150613fb282615044565b602082019050919050565b6000613fca602583614768565b9150613fd58261506d565b604082019050919050565b6000613fed602983614768565b9150613ff8826150bc565b604082019050919050565b6000614010602f83614768565b915061401b8261510b565b604082019050919050565b6000614033601e83614768565b915061403e8261515a565b602082019050919050565b6000614056602183614768565b915061406182615183565b604082019050919050565b6000614079603183614768565b9150614084826151d2565b604082019050919050565b600061409c601083614768565b91506140a782615221565b602082019050919050565b60006140bf602c83614768565b91506140ca8261524a565b604082019050919050565b60006140e2602f83614768565b91506140ed82615299565b604082019050919050565b6000614105602a83614768565b9150614110826152e8565b604082019050919050565b6000614128602083614768565b915061413382615337565b602082019050919050565b61414781614903565b82525050565b61415681614903565b82525050565b60006141688285613c8a565b91506141748284613c8a565b91508190509392505050565b60006020820190506141956000830184613b9c565b92915050565b60006080820190506141b06000830187613b9c565b6141bd6020830186613b9c565b6141ca604083018561414d565b81810360608301526141dc8184613c18565b905095945050505050565b600060208201905081810360008301526142018184613bab565b905092915050565b600060208201905061421e6000830184613c09565b92915050565b6000602082019050818103600083015261423e8184613c51565b905092915050565b6000602082019050818103600083015261425f81613cbb565b9050919050565b6000602082019050818103600083015261427f81613cde565b9050919050565b6000602082019050818103600083015261429f81613d01565b9050919050565b600060208201905081810360008301526142bf81613d24565b9050919050565b600060208201905081810360008301526142df81613d47565b9050919050565b600060208201905081810360008301526142ff81613d6a565b9050919050565b6000602082019050818103600083015261431f81613d8d565b9050919050565b6000602082019050818103600083015261433f81613db0565b9050919050565b6000602082019050818103600083015261435f81613dd3565b9050919050565b6000602082019050818103600083015261437f81613df6565b9050919050565b6000602082019050818103600083015261439f81613e19565b9050919050565b600060208201905081810360008301526143bf81613e3c565b9050919050565b600060208201905081810360008301526143df81613e5f565b9050919050565b600060208201905081810360008301526143ff81613e82565b9050919050565b6000602082019050818103600083015261441f81613ea5565b9050919050565b6000602082019050818103600083015261443f81613ec8565b9050919050565b6000602082019050818103600083015261445f81613eeb565b9050919050565b6000602082019050818103600083015261447f81613f0e565b9050919050565b6000602082019050818103600083015261449f81613f31565b9050919050565b600060208201905081810360008301526144bf81613f54565b9050919050565b600060208201905081810360008301526144df81613f77565b9050919050565b600060208201905081810360008301526144ff81613f9a565b9050919050565b6000602082019050818103600083015261451f81613fbd565b9050919050565b6000602082019050818103600083015261453f81613fe0565b9050919050565b6000602082019050818103600083015261455f81614003565b9050919050565b6000602082019050818103600083015261457f81614026565b9050919050565b6000602082019050818103600083015261459f81614049565b9050919050565b600060208201905081810360008301526145bf8161406c565b9050919050565b600060208201905081810360008301526145df8161408f565b9050919050565b600060208201905081810360008301526145ff816140b2565b9050919050565b6000602082019050818103600083015261461f816140d5565b9050919050565b6000602082019050818103600083015261463f816140f8565b9050919050565b6000602082019050818103600083015261465f8161411b565b9050919050565b600060208201905061467b600083018461414d565b92915050565b600061468b61469c565b90506146978282614981565b919050565b6000604051905090565b600067ffffffffffffffff8211156146c1576146c0614ab9565b5b6146ca82614ae8565b9050602081019050919050565b600067ffffffffffffffff8211156146f2576146f1614ab9565b5b6146fb82614ae8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061478f82614903565b915061479a83614903565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147cf576147ce614a2c565b5b828201905092915050565b60006147e582614903565b91506147f083614903565b925082614800576147ff614a5b565b5b828204905092915050565b600061481682614903565b915061482183614903565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561485a57614859614a2c565b5b828202905092915050565b600061487082614903565b915061487b83614903565b92508282101561488e5761488d614a2c565b5b828203905092915050565b60006148a4826148e3565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561493a57808201518184015260208101905061491f565b83811115614949576000848401525b50505050565b6000600282049050600182168061496757607f821691505b6020821081141561497b5761497a614a8a565b5b50919050565b61498a82614ae8565b810181811067ffffffffffffffff821117156149a9576149a8614ab9565b5b80604052505050565b60006149bd82614903565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149f0576149ef614a2c565b5b600182019050919050565b6000614a0682614903565b9150614a1183614903565b925082614a2157614a20614a5b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5468652077616c6c657420616464726573732063616e206265206368616e676560008201527f64206f6e63652e205468697320686173206265656e20646f6e65206265666f7260208201527f6521000000000000000000000000000000000000000000000000000000000000604082015250565b7f4261736555524920697320616c72656164792066726f7a656e21000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c652074696d6520686173206e6f7420636f6d6521000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f50726553616c652074696d6520686173206e6f7420636f6d6521000000000000600082015250565b7f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d60008201527f6521000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e74206261636b7570204e4654730000000000000000600082015250565b7f43616e206f6e6c79206d696e7420353020746f6b656e7320617420612074696d60008201527f6521000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e74696e672052455a206973206e6f742061637469766521000000000000600082015250565b7f426173655552492069732066726f7a656e212043616e6e6f742062652063686160008201527f6e6765642e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574210000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50726553616c65206973206f7665722100000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5075726368617365206578636565647320746865206d6178696d756d206e756d60008201527f626572206f66207a6f6d62696573210000000000000000000000000000000000602082015250565b7f54686520696e697469616c20696e64657820626c6f636b206d7573742062652060008201527f696e7374616c6c65642100000000000000000000000000000000000000000000602082015250565b7f4d415449432076616c75652073656e74206973206e6f7420636f727265637421600082015250565b61536981614899565b811461537457600080fd5b50565b615380816148ab565b811461538b57600080fd5b50565b615397816148b7565b81146153a257600080fd5b50565b6153ae81614903565b81146153b957600080fd5b5056fea264697066735822122098814e6886d34f4ac73a330296b63fb994013fb5f2a5f369db2f9e7ec5fbe41a64736f6c634300080400330000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000619a7b100000000000000000000000000000000000000000000000000000000061a7aa10

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

0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000619a7b100000000000000000000000000000000000000000000000000000000061a7aa10

-----Decoded View---------------
Arg [0] : maxSupply (uint256): 10000
Arg [1] : reserved (uint256): 150
Arg [2] : PresaleStart (uint256): 1637514000
Arg [3] : saleStart (uint256): 1638378000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [2] : 00000000000000000000000000000000000000000000000000000000619a7b10
Arg [3] : 0000000000000000000000000000000000000000000000000000000061a7aa10


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.