ETH Price: $3,077.68 (-1.40%)

MarsGenesis (MARS)
 

Overview

TokenID

819

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

10,000 unique collectible cards of Mars, covering the entire planet, with proof of ownership stored on the blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MarsGenesisCore

Compiler Version
v0.8.5+commit.a4f2e591

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 22 : MarsGenesisCore.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC721Full.sol";
import "./MarsGenesisAuction.sol";
import "./MarsGenesisWallet.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

/// @title MarsGenesis main ERC721 contract
/// @author MarsGenesis
/// @notice Encapsulates the ERC721 methods and main features of MarsGenesis
contract MarsGenesisCore is ERC721Full {

    using Counters for Counters.Counter;

    /// @dev Maximum number of public minted lands
    uint16 private constant MAX_LANDS = 10000;

    /// @dev Maximum number of promotinal lands (400 from the v1 migration, 100 for marketing purposes)
    uint16 private constant MAX_PROMO_LANDS = 500;

    /// @dev Interface for auction contract
    bytes4 private constant InterfaceSignature_MarsGenesisAuction =
            bytes4(keccak256('landIdIsForSale(uint256 tokenId)')) ^
            bytes4(keccak256('landNoLongerForSale(uint256)'));

    Counters.Counter private _promoTokenIdTracker;
    Counters.Counter private _tokenIdTracker;

    /// @dev Address of the deployer account
    address private _deployerAddress;

    /// @dev Auction contract address
    MarsGenesisAuction public auctionContract;

    /// @dev Auction contract address
    MarsGenesisWallet private _walletContract;
    

    /*** EVENTS ***/

    /// @dev The Discovery event is fired whenever a new land comes into existence.
    event Discovery(address _owner, uint256 _tokenId, string _tokenURI, uint256 _cardId);
    
    
    /*** LANDS ***/

    /// @dev The main Land struct.
    struct Land {      
        string topLeftLatLong;
        string bottomRightLatLong;
        string metadataURI;
    }

    /// @dev An array containing the Land struct for all lands in existence. The ID
    ///  of each land is actually an index into this array.
    Land[] private _lands;

    /// @dev A mapping to check if certain lat#lng exists.
    ///  Used internally when minting a new land to avoid duplicates
    mapping (string => bool) private _coordinatesExists;
    
    /// @dev A mapping to keep track of token media hashes used
    mapping(string => uint8) private _hashes;
    
    /*** INIT ***/

    /// @notice Inits the main MarsGenesis contract ERC721 compatible
    /// @dev Contract starts paused. An admin needs to unpause to allow any transfer of lands
    constructor(address payable _walletAddress) ERC721Full("MarsGenesis", "MARS") {
        _deployerAddress = msg.sender;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);

        _walletContract = MarsGenesisWallet(_walletAddress);

        pause();
    }

    /*** EXTERNAL ***/

    /// @notice Mints a new land
    /// @dev The method includes a signature that was provided by the MarsGenesis backend, to ensure data integrity
    /// @param isPromo Flag that indicates if the land is created for a promotion (callable only by contract admins) or a migration from the v1 release
    /// @param topLeftLatLong The lat long pair of the top left corner of the rectangle that defines a land
    /// @param bottomRightLatLong The lat long pair of the bottom right corner of the rectangle that defines a land
    /// @param signature The signature provided by the backend to ensure data integrity
    /// @param ipfsHash The hash on the IPFS of this land card
    /// @param metadataURI The URI of the IPFS where the metadata of this land card is recorded
    /// @param cardId The ID of this card on the MarsGenesis backend, for internal use (dont confuse it with tokenId, the one in the backend)
    /// @return uint, the tokenId of the minted land
    function mintLand(bool isPromo, string memory topLeftLatLong, string memory bottomRightLatLong, bytes memory signature, string memory ipfsHash, string memory metadataURI, uint cardId, address promoOwner) external payable returns (uint) {
        if (isPromo == true) {
            require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
            require(_hashes[ipfsHash] != 1, "HASH_EXISTS");
            require(_promoTokenIdTracker.current() < MAX_PROMO_LANDS, "LIMIT_REACHED");
            _promoTokenIdTracker.increment();
        } else {
            require(msg.value >= _currentPrice(), "PAYMENT_TOO_LOW");
            require(_hashes[ipfsHash] != 1, "HASH_EXISTS");
            bytes32 hash = keccak256(abi.encodePacked(topLeftLatLong, bottomRightLatLong, address(this), cardId, msg.sender));
            address signer = _recoverSigner(hash, signature);
            require(signer == _deployerAddress, "INVALID_SIGNATURE");
        }
        address landOwner;
        if (isPromo == true) {
            landOwner = promoOwner;
        } else {
            landOwner = _msgSender();
        }

        uint newTokenId = _mintLand(landOwner, topLeftLatLong, bottomRightLatLong, ipfsHash, metadataURI, cardId);
        return newTokenId;
    }

    /// @notice Sets a land for sale
    /// @dev Gets approval for the contract to do so
    /// @param tokenId The id of the land
    /// @param minSalePriceInWei The minimum price for the sale, in Wei
    function offerLandForSale(uint tokenId, uint minSalePriceInWei) external {
        approve(address(auctionContract), tokenId);
        auctionContract.offerLandForSale(tokenId, minSalePriceInWei);
    }

    /// @notice Accepts a bid for a land
    /// @dev Gets approval for the contract to do so
    /// @param tokenId The id of the land
    /// @param minPrice The minimum accepted price, in Wei
    function acceptBidForLand(uint tokenId, uint minPrice) external {
        approve(address(auctionContract), tokenId);
        auctionContract.acceptBidForLand(tokenId, minPrice);
    }

    /// @notice Retrieves the tokenURI for a given land
    /// @param tokenId The id of the land
    /// @return string The land's metadata URI
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "nonexistent token");
        return _lands[tokenId].metadataURI;
    }


    /// Deployer methods

    /// @notice Sends free balance to the main wallet 
    /// @dev Only callable by the deployer
    function sendBalanceToWallet() external { 
        require(msg.sender == _deployerAddress, "INVALID_ROLE");
        require(address(this).balance > 0, "No Balance to send");
        
        (bool success,) = address(_walletContract).call{value: address(this).balance}("");
        require(success);
    }

    /// @notice Updates the auction contract address
    /// @param _address The address of the auction contract
    /// @dev Only callable by admin
    function setAuctionAddress(address _address) external {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        
        MarsGenesisAuction candidateContract = MarsGenesisAuction(_address);
        require(candidateContract.supportsInterface(InterfaceSignature_MarsGenesisAuction), "NOT_SUPPORTED");

        auctionContract = candidateContract;
    }

    /// @notice Updates the wallet contract address
    /// @param _address The address of the wallet contract
    /// @dev Only callable by admin
    function setWalletAddress(address payable _address) external {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        _walletContract = MarsGenesisWallet(_address);
    }


    /// @notice Returns the URI of the contract metadata
    /// @return URI of contract metadata
    function contractURI() public pure returns (string memory) {
        return "https://marsgenesis-web3.herokuapp.com/metadata/MarsGenesis.json";
    }

    /*** INTERNAL ***/

    function _mintLand(address to, string memory topLeftLatLong, string memory bottomRightLatLong, string memory ipfsHash, string memory metadataURI, uint cardId) private returns (uint) {
        require(_tokenIdTracker.current() < MAX_LANDS, "MAX_LANDS_REACHED");

        string memory coordinatesString = string(abi.encodePacked(topLeftLatLong, "#", bottomRightLatLong));
        require(_coordinatesExists[coordinatesString] != true, "COORDINATES_EXISTS");

        uint newLandId = _tokenIdTracker.current();
        Land memory newLand = Land({topLeftLatLong: topLeftLatLong, bottomRightLatLong: bottomRightLatLong, metadataURI: metadataURI});
        _lands.push(newLand);
        tokenIdToFirstOwner[newLandId] = to;

        _mint(to, newLandId);

        _tokenIdTracker.increment();
        _coordinatesExists[coordinatesString] = true;
        _hashes[ipfsHash] = 1;

        emit Discovery(to, newLandId, tokenURI(newLandId), cardId);

        return newLandId;
    }

    function _currentPrice() private view returns (uint256) {
        uint256 current = totalSupply();
        if (current <= 3000) {
            return 0.15 ether;
        } else if (current <= 5000) {
            return 0.2 ether;
        } else if (current <= 8000) {
            return 0.3 ether;
        } else if (current < 9000) {
            return 0.4 ether;
        } else {
            return 0.5 ether;
        }
    }

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

      require(address(auctionContract) != address(0), "AUCTION_ADDRESS_NOT_SET");
      if(auctionContract.landIdIsForSale(tokenId)) {
          auctionContract.landNoLongerForSale(tokenId);
      }
    }

    /// Signing helpers

    function _recoverSigner(bytes32 _message, bytes memory _sig) private pure returns (address) {
       uint8 v;
       bytes32 r;
       bytes32 s;

       (v, r, s) = _splitSignature(_sig);
       return ecrecover(_message, v, r, s);
    }

    function _splitSignature(bytes memory _sig) private pure returns (uint8, bytes32, bytes32) {
        require(_sig.length == 65);
        
        bytes32 r;
        bytes32 s;
        uint8 v;

        assembly {
            r := mload(add(_sig, 32))
            s := mload(add(_sig, 64))
            v := byte(0, mload(add(_sig, 96)))
        }
        return (v, r, s);
    }
}

File 2 of 22 : ERC721Full.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";

contract ERC721Full is Context, AccessControlEnumerable, ERC721, ERC721Enumerable, ERC721Pausable {

    /// @dev A mapping to keep track of first owner of every land
    mapping(uint256 => address) public tokenIdToFirstOwner;


    /*** INIT ***/

    constructor(string memory name, string memory symbol) ERC721(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    /*** METHODS ***/

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

    function pause() public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        _pause();
    }

    function unpause() public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        _unpause();
    }

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

File 3 of 22 : MarsGenesisAuction.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./MarsGenesisAuctionBase.sol";


/// @title MarsGenesis Auction Contract
/// @author MarsGenesis
/// @notice You can use this contract to buy, sell and bid on MarsGenesis lands
contract MarsGenesisAuction is MarsGenesisAuctionBase {

    /// @notice Inits the contract 
    /// @param _erc721Address The address of the main MarsGenesis contract
    /// @param _walletAddress The address of the wallet of MarsGenesis contract
    /// @param _cut The contract owner tax on sales
    constructor (address _erc721Address, address payable _walletAddress, uint256 _cut) MarsGenesisAuctionBase(_erc721Address, _walletAddress, _cut) {}

    /*** EXTERNAL ***/

    /// @notice Enters a bid for a specific land (payable)
    /// @dev If there was a previous (lower) bid, it removes it and adds its amount to pending withdrawals. 
    /// On success, it emits the LandBidEntered event.
    /// @param tokenId The id of the land to bet upon
    function enterBidForLand(uint tokenId) external payable {
        require(nonFungibleContract.ownerOf(tokenId) != address(0), "Land not yet owned");
        require(nonFungibleContract.ownerOf(tokenId) != msg.sender, "You already own the land");
        require(msg.value > 0, "Amount must be > 0");
        
        Bid memory existing = landIdToBids[tokenId];
        require(msg.value > existing.value, "Amount must be > than existing bid");

        if (existing.value > 0) {
            // Refund the previous bid
            addressToPendingWithdrawal[existing.bidder] += existing.value;
        }
        landIdToBids[tokenId] = Bid(true, tokenId, msg.sender, msg.value);
        emit LandBidEntered(tokenId, msg.value, msg.sender);
    }

    /// @notice Buys a land for a specific price (payable)
    /// @dev The land must be for sale before other user calls this method. If the same user had the higher bid before, it gets refunded into the pending withdrawals. On success, emits the LandBought event. Executes a ERC721 safeTransferFrom
    /// @param tokenId The id of the land to be bought
    function buyLand(uint tokenId) external payable {
        require(msg.sender != nonFungibleContract.ownerOf(tokenId), "You cant buy your own land");
        
        Offer memory offer = landIdToOfferForSale[tokenId];
        require(offer.isForSale, "Item is not for sale");
        require(offer.seller == nonFungibleContract.ownerOf(tokenId), "Seller is no longer the owner of the item");
        require(msg.value >= offer.minValue, "Not enough balance");

        address seller = offer.seller;

        nonFungibleContract.safeTransferFrom(seller, msg.sender, tokenId);

        uint taxAmount = msg.value * ownerCut / 100;
        uint netAmount = msg.value - taxAmount;

        addressToPendingWithdrawal[seller] += netAmount;

        // 80% of tax goes to first owner
        address firstOwner = nonFungibleContract.tokenIdToFirstOwner(tokenId);
        uint firstOwnerAmount = taxAmount * 80 / 100;
        
        addressToPendingWithdrawal[firstOwner] += firstOwnerAmount;
        ownerBalance += taxAmount - firstOwnerAmount;

        emit LandBought(tokenId, msg.value, seller, msg.sender);

        // Check for the case where there is a bid from the new owner and refund it.
        // Any other bid can stay in place.
        Bid memory bid = landIdToBids[tokenId];
        if (bid.bidder == msg.sender) {
            addressToPendingWithdrawal[msg.sender] += bid.value;
            landIdToBids[tokenId] = Bid(false, tokenId, address(0), 0);
        }
    }

    /// @notice Offers a land that ones own for sale for a min price
    /// @dev On success, emits the event LandOffered
    /// @param tokenId The id of the land to put for sale
    /// @param minSalePriceInWei The minimum price of the land (Wei)
    function offerLandForSale(uint tokenId, uint minSalePriceInWei) external {
        require(msg.sender == address(nonFungibleContract), "Use MarsContractBase:offerLandForSale instead");
        require(nonFungibleContract.ownerOf(tokenId) == msg.sender || nonFungibleContract.getApproved(tokenId) == address(this), "Only owner can add item from sale");

        landIdToOfferForSale[tokenId] = Offer(true, tokenId, nonFungibleContract.ownerOf(tokenId), minSalePriceInWei);

        emit LandOffered(tokenId, minSalePriceInWei, nonFungibleContract.ownerOf(tokenId));
    }

    /// @notice Sends free balance to the main wallet 
    /// @dev Only callable by the deployer
    function sendBalanceToWallet() external { 
        require(msg.sender == _deployerAddress, "INVALID_ROLE");
        require(ownerBalance > 0, "No Balance to send");
        uint amount = ownerBalance;
        ownerBalance = 0;
        
        (bool success,) = address(walletContract).call{value: amount}("");
        require(success);
    }

    /// @notice Users can withdraw their available balance
    /// @dev Avoids reentrancy
    function withdraw() external { 
        uint amount = addressToPendingWithdrawal[msg.sender];
        addressToPendingWithdrawal[msg.sender] = 0;
        payable(msg.sender).transfer(amount);
    }

    /// @notice Owner of a land can accept a bid for its land
    /// @dev Only callable by the main contract. On success, emits the event LandBought. Disccounts the contract tax (cut) from the final price. Executes a ERC721 safeTransferFrom
    /// @param tokenId The id of the land
    /// @param minPrice The minimum price of the land
    function acceptBidForLand(uint tokenId, uint minPrice) external {
        require(msg.sender == address(nonFungibleContract), "Use MarsContractBase:acceptBidForLand instead");
        require(nonFungibleContract.ownerOf(tokenId) == msg.sender || nonFungibleContract.getApproved(tokenId) == address(this), "Sender is not owner");
        
        address seller = nonFungibleContract.ownerOf(tokenId);
        Bid memory bid = landIdToBids[tokenId];

        require(bid.value > 0, "Value must be > 0");
        require(bid.value >= minPrice, "Value < minPrice");

        nonFungibleContract.safeTransferFrom(seller, bid.bidder, tokenId);

        uint amount = bid.value;
        landIdToBids[tokenId] = Bid(false, tokenId, address(0), 0);

        uint taxAmount = amount * ownerCut / 100;
        uint netAmount = amount - taxAmount;

        addressToPendingWithdrawal[seller] += netAmount;

        // 80% of tax goes to first owner
        address firstOwner = nonFungibleContract.tokenIdToFirstOwner(tokenId);
        uint firstOwnerAmount = taxAmount * 80 / 100;
        
        addressToPendingWithdrawal[firstOwner] += firstOwnerAmount;
        ownerBalance += taxAmount - firstOwnerAmount;

        emit LandBought(tokenId, bid.value, seller, bid.bidder);
    }

    /// @notice Users can withdraw their own bid for a specific land
    /// @dev The bid amount is automatically transfered back to the user. Emits LandBidWithdrawn event. Avoids reentrancy.
    /// @param tokenId The id of the land that had the bid on
    function withdrawBidForLand(uint tokenId) external {
        require(nonFungibleContract.ownerOf(tokenId) != address(0), "Sender cant be 0x0");
        require(nonFungibleContract.ownerOf(tokenId) != msg.sender, "Sender cant be the owner");
        
        Bid memory bid = landIdToBids[tokenId];
        require(bid.bidder == msg.sender, "Only bidder can withdraw their bid");

        uint amount = bid.value;

        landIdToBids[tokenId] = Bid(false, tokenId, address(0), 0);
        payable(msg.sender).transfer(amount);
        emit LandBidWithdrawn(tokenId, bid.value, msg.sender);
    }

    /// @notice Updates the wallet contract address    
    /// @param _address The address of the wallet contract
    /// @dev Only callable by deployer
    function setWalletAddress(address payable _address) external {
        require(msg.sender == _deployerAddress, "INVALID_ROLE");
        MarsGenesisWallet candidateContract = MarsGenesisWallet(_address);
        walletContract = candidateContract;
    }


    /*** PUBLIC ***/

    /// @notice Checks if a land is for sale
    /// @param tokenId The id of the land to check
    /// @return boolean, true if the land is for sale
    function landIdIsForSale(uint256 tokenId) public view returns(bool) {
        return landIdToOfferForSale[tokenId].isForSale;
    }

    /// @notice Puts a land no longer for sale
    /// @dev Callable only by the main contract or the owner of a land. Emits the event LandNoLongerForSale
    /// @param tokenId The id of the land
    function landNoLongerForSale(uint tokenId) public {
        require(nonFungibleContract.ownerOf(tokenId) == msg.sender || nonFungibleContract.getApproved(tokenId) == address(this), "Only owner can remove item from sale");
        landIdToOfferForSale[tokenId] = Offer(false, tokenId, msg.sender, 0);
        emit LandNoLongerForSale(tokenId, nonFungibleContract.ownerOf(tokenId));
    }
}

File 4 of 22 : MarsGenesisAuctionBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./ERC721Full.sol";
import "./MarsGenesisWallet.sol";

/// @title MarsGenesis Auction Base Contract
/// @author MarsGenesis
/// @notice Serves as the base for MarsGenesisAuction contract
contract MarsGenesisAuctionBase is ERC165 {

    /// @dev Interface signatures
    bytes4 constant InterfaceSignature_ERC721 = bytes4(0x80ac58cd);
    bytes4 constant InterfaceSignature_ERC721_Metadata = bytes4(0x5b5e139f);
    bytes4 constant InterfaceSignature_ERC721_Enumerable = bytes4(0x780e9d63);
    bytes4 constant InterfaceSignature_MarsGenesisAuction =
        bytes4(keccak256('landIdIsForSale(uint256 tokenId)')) ^
        bytes4(keccak256('landNoLongerForSale(uint256)'));

    /// @dev Contract owner balance
    uint public ownerBalance;

    /// @dev Contract owner tax on sales
    uint256 public ownerCut;

    /// @dev Reference to main contract that implements ERC721
    ERC721Full nonFungibleContract; 

    /// @dev Auction contract address
    MarsGenesisWallet walletContract;

    /// @dev Address of the deployer account
    address _deployerAddress;


    /// @notice Inits the contract 
    /// @dev The main contract should support specific interfaces
    /// @param _erc721Address The address of the main MarsGenesis contract
    /// @param _walletAddress The address of the wallet of MarsGenesis contract
    /// @param _cut The contract owner tax on sales
    constructor (address _erc721Address, address payable _walletAddress, uint256 _cut) {
        require(_cut <= 100, "INVALID_OWNER_CUT");
        ownerCut = _cut;

        _deployerAddress = msg.sender;

        ERC721Full candidateContract = ERC721Full(_erc721Address);
        
        require(candidateContract.supportsInterface(InterfaceSignature_ERC721), "ERC721 not supported");
        require(candidateContract.supportsInterface(InterfaceSignature_ERC721_Metadata), "ERC721Metadata not supported");
        require(candidateContract.supportsInterface(InterfaceSignature_ERC721_Enumerable), "ERC721Enumerable not supported");

        nonFungibleContract = candidateContract;
        walletContract = MarsGenesisWallet(_walletAddress);
    }
    

    /*** EVENTS ***/

    /// @dev Event fired when a land is offered for sale
    event LandOffered(uint indexed tokenId, uint minValue, address indexed from);

    /// @dev Event fired when a user bids on a land
    event LandBidEntered(uint indexed tokenId, uint value, address indexed from);

    /// @dev Event fired when a bid is withdrawn
    event LandBidWithdrawn(uint indexed tokenId, uint value, address indexed from);

    /// @dev Event fired when a land is bought via auctioning or direct sale
    event LandBought(uint indexed tokenId, uint value, address indexed from, address indexed to);

    /// @dev Event fired when a land is no longer for sale
    event LandNoLongerForSale(uint indexed tokenId, address indexed from);
    

    /*** STORAGE ***/

    /// @dev The main Offer struct for auctioning
    struct Offer {
        bool isForSale;
        uint tokenId;
        address seller;
        uint minValue; 
    }

    /// @dev The main Bid struct for auctioning
    struct Bid {
        bool hasBid;
        uint tokenId;
        address bidder;
        uint value;
    }

    /// @dev A mapping of lands that are offered for sale at a specific minimum value
    mapping (uint => Offer) public landIdToOfferForSale;

    /// @dev A mapping of the landId to its highest bid
    mapping (uint => Bid) public landIdToBids;

    /// @dev A mapping of address to their pending withdrawal
    mapping (address => uint) public addressToPendingWithdrawal;

    /*** ERC165 ***/

    /// @notice Checks for interface support
    /// @param interfaceId The interfaceId bytes
    /// @return bool, true or false for the support
    function supportsInterface(bytes4 interfaceId) public override pure returns (bool) {
        return interfaceId == InterfaceSignature_MarsGenesisAuction;
    }
}

File 5 of 22 : MarsGenesisWallet.sol
///// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// import "./MarsGenesisCore.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";


/// @title MarsGenesis wallet contract
/// @author MarsGenesis
/// @dev Equity values are 0 to 10000 (representing 0 to 100 with decimals). So an equity of 3000 means 30%
/// @notice Encapsulates the wallet and cap table management
contract MarsGenesisWallet is AccessControlEnumerable {

    /// @dev Address of the deployer account
    address private _deployerAddress;

    
    /*** CAP TABLE ***/

    address[] private _founders;
    mapping(address => uint) public founderToEquity;
    mapping(address => FounderAuthorization[]) private _addressToFounderAuthorization;

    /// @dev A mapping of cxo address to their pending withdrawal
    mapping (address => uint) public addressToPendingWithdrawal;
    
    /// @dev The max shares being 100 represented by 10000 (to accept decimal positions)
    uint private constant TOTAL_CAP = 10000;


    struct FounderAuthorization {      
        address founder;
        uint equity;
        bool approved;
        bool isRemoval;
    }


    /*** INIT ***/
    /// @notice Inits the wallet
    /// @dev defines a initial cap table with specific equity per founder. Equity values 0 - 10000 representing 0-100% equity
    /// @param cxo1 founder 1     
    /// @param cxo2 founder 2
    /// @param cxo3 founder 3
    /// @param cdo1 founder 4
    /// @param cdo2 founder 5
    /// @param cdo3 founder 6
    constructor (address cxo1, address cxo2, address cxo3, address cdo1, address cdo2, address cdo3) {
        _deployerAddress = msg.sender;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);

        // Initial cap table
        createInitialFounder(cxo1, 2900);
        createInitialFounder(cxo2, 2900);
        createInitialFounder(cxo3, 2900);
        createInitialFounder(cdo1, 500);
        createInitialFounder(cdo2, 300);
        createInitialFounder(cdo3, 500);
    }

    /// @notice Inits the a initial founder.
    /// @dev Only callable once on contract construction
    /// @param founderAddress The address of a initial founder 
    /// @param equity The equity of the initial founder. Equity values 0 - 10000 representing 0-100% equity
    function createInitialFounder(address founderAddress, uint equity) private {
        require(msg.sender == _deployerAddress, "ONLY_DEPLOYER");
        require(equity <= TOTAL_CAP, "INVALID EQUITY (0-10000)");

        _founders.push(founderAddress);
        _setupRole(DEFAULT_ADMIN_ROLE, founderAddress);
        founderToEquity[founderAddress] = equity;
    }


    /*** PUBLIC ***/

    /// @notice Wallet should receive ether from MarsGenesisCore and MarsGenesisAuction
    /// @dev Ether received is splitted by equity among wallet founders
    receive() external payable {
        require(msg.value > 0, "INVALID_AMOUNT");
        _updatePendingWithdrawals(msg.value);
    }

    function authorize(bool approved, uint equity, address who) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        require(equity <= TOTAL_CAP, "INVALID EQUITY (0-10000)");
        require(equity >= 0, "INVALID EQUITY (0-10000)");

        FounderAuthorization[] storage auths = _addressToFounderAuthorization[who];
        bool exists = false;
        for (uint i = 0; i < auths.length; i++) {
            if (auths[i].founder == msg.sender) {
                exists = true;
                auths[i].equity = equity;
                auths[i].approved = approved;
                auths[i].isRemoval = false;
            }
        }

        if (!exists) {
            auths.push(FounderAuthorization({founder: msg.sender, equity: equity, approved: approved, isRemoval: false}));
        }
    }

    function revoke(bool approved, address who) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");

        FounderAuthorization[] storage auths = _addressToFounderAuthorization[who];
        bool exists = false;
        for (uint i = 0; i < auths.length; i++) {
            if (auths[i].founder == msg.sender) {
                exists = true;
                auths[i].equity = 0;
                auths[i].approved = approved;
                auths[i].isRemoval = true;
            }
        }

        if (!exists) {
            auths.push(FounderAuthorization({founder: msg.sender, equity: 0, approved: approved, isRemoval: true}));
        }
    }

    function updateCapTable(address who, uint equity, bool isRemoval) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        require(equity <= TOTAL_CAP, "INVALID EQUITY (0-10000)");
        require(equity >= 0, "INVALID EQUITY (0-10000)");

        FounderAuthorization[] storage auths = _addressToFounderAuthorization[who];
        uint equityYes = 0;

        for (uint i = 0; i < auths.length; i++) {
            if (equity == auths[i].equity && auths[i].approved == true && isRemoval == auths[i].isRemoval) {
                equityYes += founderToEquity[auths[i].founder];
            } 
        }

        if (equityYes >= 7000) {
            if (isRemoval) {
                _removeFounder(who);
            } else {
                _addFounder(who, equity);
            }  
            delete _addressToFounderAuthorization[who];
        } 
    }

    function withdraw() external {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "INVALID_ROLE");
        
        uint amount = addressToPendingWithdrawal[_msgSender()];
        addressToPendingWithdrawal[_msgSender()] = 0;
        
        payable(_msgSender()).transfer(amount);
    }

    /*** PRIVATE ***/

    function _addFounder(address who, uint equity) private {
        require(!_founderExists(who), "FOUNDER ALREADY EXISTS");

        for (uint i = 0; i < _founders.length; i++) {
            founderToEquity[_founders[i]] = founderToEquity[_founders[i]] * (TOTAL_CAP - equity) / TOTAL_CAP;
        }

        _founders.push(who);
        grantRole(DEFAULT_ADMIN_ROLE, who);
        founderToEquity[who] = equity;
    }

    function _removeFounder(address who) private {
        require(_founderExists(who), "FOUNDER DOESNT EXIST");

        uint equityToSplit = founderToEquity[who];
        uint indexToRemove;
        for (uint i = 0; i < _founders.length; i++) {
            if (_founders[i] == who) {
                indexToRemove = i;
                founderToEquity[who] = 0;
            } else {
               founderToEquity[_founders[i]] =  TOTAL_CAP * founderToEquity[_founders[i]] / (TOTAL_CAP - equityToSplit);
            }
        }

        delete _founders[indexToRemove];
        revokeRole(DEFAULT_ADMIN_ROLE, who);
    }

    function _founderExists(address who) private view returns(bool) {
        bool exists = false;
        for (uint i = 0; i < _founders.length; i++) {
            if (_founders[i] == who) {
                exists = true;
            }
        }
        return exists;
    }

    function _updatePendingWithdrawals(uint amount) private {
        for (uint i = 0; i < _founders.length; i++) {
            addressToPendingWithdrawal[_founders[i]] = addressToPendingWithdrawal[_founders[i]] + (amount * founderToEquity[_founders[i]] / TOTAL_CAP);
        }
    }
}

File 6 of 22 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if(!hasRole(role, account)) {
            revert(string(abi.encodePacked(
                "AccessControl: account ",
                Strings.toHexString(uint160(account), 20),
                " is missing role ",
                Strings.toHexString(uint256(role), 32)
            )));
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 7 of 22 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 8 of 22 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 9 of 22 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 10 of 22 : 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 11 of 22 : 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 12 of 22 : 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 13 of 22 : ERC721Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

File 14 of 22 : 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 15 of 22 : 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 16 of 22 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 17 of 22 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 18 of 22 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

File 19 of 22 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

}

File 20 of 22 : 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 21 of 22 : 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 22 of 22 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_walletAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_tokenURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"_cardId","type":"uint256"}],"name":"Discovery","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"minPrice","type":"uint256"}],"name":"acceptBidForLand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"auctionContract","outputs":[{"internalType":"contract MarsGenesisAuction","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isPromo","type":"bool"},{"internalType":"string","name":"topLeftLatLong","type":"string"},{"internalType":"string","name":"bottomRightLatLong","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"string","name":"ipfsHash","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"uint256","name":"cardId","type":"uint256"},{"internalType":"address","name":"promoOwner","type":"address"}],"name":"mintLand","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"minSalePriceInWei","type":"uint256"}],"name":"offerLandForSale","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendBalanceToWallet","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":"address","name":"_address","type":"address"}],"name":"setAuctionAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_address","type":"address"}],"name":"setWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToFirstOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620065eb380380620065eb83398181016040528101906200003791906200066c565b6040518060400160405280600b81526020017f4d61727347656e657369730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d4152530000000000000000000000000000000000000000000000000000000081525081818160029080519060200190620000bd929190620005a5565b508060039080519060200190620000d6929190620005a5565b5050506000600c60006101000a81548160ff021916908315150217905550620001186000801b6200010c620001c860201b60201c565b620001d060201b60201c565b505033601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001706000801b33620001d060201b60201c565b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001c16200021860201b60201c565b506200088d565b600033905090565b620001e782826200029060201b62001d0d1760201c565b620002138160016000858152602001908152602001600020620002a660201b62001d1b1790919060201c565b505050565b6200023c6000801b62000230620001c860201b60201c565b620002de60201b60201c565b6200027e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000275906200073c565b60405180910390fd5b6200028e6200034860201b60201c565b565b620002a282826200040060201b60201c565b5050565b6000620002d6836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620004f160201b60201c565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620003586200056b60201b60201c565b156200039b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000392906200071a565b60405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003e7620001c860201b60201c565b604051620003f69190620006fd565b60405180910390a1565b620004128282620002de60201b60201c565b620004ed57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000492620001c860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200050583836200058260201b60201c565b6200056057826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000565565b600090505b92915050565b6000600c60009054906101000a900460ff16905090565b600080836001016000848152602001908152602001600020541415905092915050565b828054620005b390620007b7565b90600052602060002090601f016020900481019282620005d7576000855562000623565b82601f10620005f257805160ff191683800117855562000623565b8280016001018555821562000623579182015b828111156200062257825182559160200191906001019062000605565b5b50905062000632919062000636565b5090565b5b808211156200065157600081600090555060010162000637565b5090565b600081519050620006668162000873565b92915050565b6000602082840312156200068557620006846200081c565b5b6000620006958482850162000655565b91505092915050565b620006a9816200076f565b82525050565b6000620006be6010836200075e565b9150620006cb8262000821565b602082019050919050565b6000620006e5600c836200075e565b9150620006f2826200084a565b602082019050919050565b60006020820190506200071460008301846200069e565b92915050565b600060208201905081810360008301526200073581620006af565b9050919050565b600060208201905081810360008301526200075781620006d6565b9050919050565b600082825260208201905092915050565b60006200077c8262000797565b9050919050565b6000620007908262000797565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620007d057607f821691505b60208210811415620007e757620007e6620007ed565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f494e56414c49445f524f4c450000000000000000000000000000000000000000600082015250565b6200087e8162000783565b81146200088a57600080fd5b50565b615d4e806200089d6000396000f3fe60806040526004361061020f5760003560e01c80638456cb5911610118578063c04bfb88116100a0578063df96ab441161006f578063df96ab44146107e3578063e8a3d4851461080c578063e985e9c514610837578063ef20adbe14610874578063fada3dee146108a45761020f565b8063c04bfb8814610703578063c87b56dd14610740578063ca15c8731461077d578063d547741f146107ba5761020f565b806395d89b41116100e757806395d89b4114610632578063a217fddf1461065d578063a22cb46514610688578063ac1a386a146106b1578063b88d4fde146106da5761020f565b80638456cb59146105785780639010d07c1461058f57806391d14854146105cc57806393ac3638146106095761020f565b80632f2ff15d1161019b57806342842e0e1161016a57806342842e0e1461046d5780634f6ccce7146104965780635c975abb146104d35780636352211e146104fe57806370a082311461053b5761020f565b80632f2ff15d146103c75780632f745c59146103f057806336568abe1461042d5780633f4ba83a146104565761020f565b80630ab8afac116101e25780630ab8afac146102e257806318160ddd1461030d57806323b872dd14610338578063248a9ca314610361578063272d47d31461039e5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061423f565b6108bb565b6040516102489190614acb565b60405180910390f35b34801561025d57600080fd5b506102666108cd565b6040516102739190614b7c565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190614299565b61095f565b6040516102b09190614a18565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613fe3565b6109e4565b005b3480156102ee57600080fd5b506102f7610afc565b6040516103049190614b61565b60405180910390f35b34801561031957600080fd5b50610322610b22565b60405161032f9190614f9e565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190613ecd565b610b2f565b005b34801561036d57600080fd5b5061038860048036038101906103839190614192565b610b8f565b6040516103959190614ae6565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906142c6565b610bae565b005b3480156103d357600080fd5b506103ee60048036038101906103e991906141bf565b610c6d565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613fe3565b610ca1565b6040516104249190614f9e565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f91906141bf565b610d46565b005b34801561046257600080fd5b5061046b610d7a565b005b34801561047957600080fd5b50610494600480360381019061048f9190613ecd565b610dd7565b005b3480156104a257600080fd5b506104bd60048036038101906104b89190614299565b610df7565b6040516104ca9190614f9e565b60405180910390f35b3480156104df57600080fd5b506104e8610e68565b6040516104f59190614acb565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190614299565b610e7f565b6040516105329190614a18565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613e33565b610f31565b60405161056f9190614f9e565b60405180910390f35b34801561058457600080fd5b5061058d610fe9565b005b34801561059b57600080fd5b506105b660048036038101906105b191906141ff565b611046565b6040516105c39190614a18565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee91906141bf565b611075565b6040516106009190614acb565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190613e33565b6110df565b005b34801561063e57600080fd5b50610647611286565b6040516106549190614b7c565b60405180910390f35b34801561066957600080fd5b50610672611318565b60405161067f9190614ae6565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa9190613fa3565b61131f565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190613e60565b6114a0565b005b3480156106e657600080fd5b5061070160048036038101906106fc9190613f20565b611537565b005b34801561070f57600080fd5b5061072a60048036038101906107259190614299565b611599565b6040516107379190614a18565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190614299565b6115cc565b6040516107749190614b7c565b60405180910390f35b34801561078957600080fd5b506107a4600480360381019061079f9190614192565b6116cb565b6040516107b19190614f9e565b60405180910390f35b3480156107c657600080fd5b506107e160048036038101906107dc91906141bf565b6116ef565b005b3480156107ef57600080fd5b5061080a600480360381019061080591906142c6565b611723565b005b34801561081857600080fd5b506108216117e2565b60405161082e9190614b7c565b60405180910390f35b34801561084357600080fd5b5061085e60048036038101906108599190613e8d565b611802565b60405161086b9190614acb565b60405180910390f35b61088e60048036038101906108899190614050565b611896565b60405161089b9190614f9e565b60405180910390f35b3480156108b057600080fd5b506108b9611b9f565b005b60006108c682611d4b565b9050919050565b6060600280546108dc906152c8565b80601f0160208091040260200160405190810160405280929190818152602001828054610908906152c8565b80156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b5050505050905090565b600061096a82611dc5565b6109a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a090614e1e565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ef82610e7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5790614e9e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a7f611e31565b73ffffffffffffffffffffffffffffffffffffffff161480610aae5750610aad81610aa8611e31565b611802565b5b610aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae490614d9e565b60405180910390fd5b610af78383611e39565b505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a80549050905090565b610b40610b3a611e31565b82611ef2565b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7690614efe565b60405180910390fd5b610b8a838383611fd0565b505050565b6000806000838152602001908152602001600020600101549050919050565b610bda601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836109e4565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663272d47d383836040518363ffffffff1660e01b8152600401610c37929190614fb9565b600060405180830381600087803b158015610c5157600080fd5b505af1158015610c65573d6000803e3d6000fd5b505050505050565b610c77828261222c565b610c9c8160016000858152602001908152602001600020611d1b90919063ffffffff16565b505050565b6000610cac83610f31565b8210610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614c3e565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d508282612255565b610d7581600160008581526020019081526020016000206122d890919063ffffffff16565b505050565b610d8e6000801b610d89611e31565b611075565b610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614f5e565b60405180910390fd5b610dd5612308565b565b610df283838360405180602001604052806000815250611537565b505050565b6000610e01610b22565b8210610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990614f1e565b60405180910390fd5b600a8281548110610e5657610e556153e6565b5b90600052602060002001549050919050565b6000600c60009054906101000a900460ff16905090565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90614dde565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990614dbe565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ffd6000801b610ff8611e31565b611075565b61103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390614f5e565b60405180910390fd5b6110446123aa565b565b600061106d826001600086815260200190815260200160002061244d90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110f36000801b6110ee611e31565b611075565b611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990614f5e565b60405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77fac8e4966e9c2ae151463907194fec3da37f4197fa797e33fb866aff060dcbea97f5a23eda13058d8963a7181770d6ab6c1c74b835e25f8dc388f28723e277fe9e4186040518263ffffffff1660e01b81526004016111b29190614b46565b60206040518083038186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112029190614023565b611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890614f3e565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b606060038054611295906152c8565b80601f01602080910402602001604051908101604052809291908181526020018280546112c1906152c8565b801561130e5780601f106112e35761010080835404028352916020019161130e565b820191906000526020600020905b8154815290600101906020018083116112f157829003601f168201915b5050505050905090565b6000801b81565b611327611e31565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c90614cfe565b60405180910390fd5b80600760006113a2611e31565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661144f611e31565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114949190614acb565b60405180910390a35050565b6114b46000801b6114af611e31565b611075565b6114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90614f5e565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611548611542611e31565b83611ef2565b611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e90614efe565b60405180910390fd5b61159384848484612467565b50505050565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606115d782611dc5565b611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160d90614e3e565b60405180910390fd5b6013828154811061162a576116296153e6565b5b90600052602060002090600302016002018054611646906152c8565b80601f0160208091040260200160405190810160405280929190818152602001828054611672906152c8565b80156116bf5780601f10611694576101008083540402835291602001916116bf565b820191906000526020600020905b8154815290600101906020018083116116a257829003601f168201915b50505050509050919050565b60006116e8600160008481526020019081526020016000206124c3565b9050919050565b6116f982826124d8565b61171e81600160008581526020019081526020016000206122d890919063ffffffff16565b505050565b61174f601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836109e4565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df96ab4483836040518363ffffffff1660e01b81526004016117ac929190614fb9565b600060405180830381600087803b1580156117c657600080fd5b505af11580156117da573d6000803e3d6000fd5b505050505050565b6060604051806060016040528060408152602001615cd960409139905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006001151589151514156119ca576118b96000801b6118b4611e31565b611075565b6118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90614f5e565b60405180910390fd5b600160158660405161190a919061492c565b908152602001604051809103902060009054906101000a900460ff1660ff16141561196a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196190614d3e565b60405180910390fd5b6101f461ffff1661197b600e612501565b106119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290614e7e565b60405180910390fd5b6119c5600e61250f565b611b5a565b6119d2612525565b341015611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90614ede565b60405180910390fd5b6001601586604051611a26919061492c565b908152602001604051809103902060009054906101000a900460ff1660ff161415611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90614d3e565b60405180910390fd5b60008888308633604051602001611aa1959493929190614943565b6040516020818303038152906040528051906020012090506000611ac582896125ab565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4e90614d5e565b60405180910390fd5b50505b6000600115158a15151415611b7157829050611b7c565b611b79611e31565b90505b6000611b8c828b8b8a8a8a612620565b9050809250505098975050505050505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614f5e565b60405180910390fd5b60004711611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6990614ebe565b60405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611cba906149c9565b60006040518083038185875af1925050503d8060008114611cf7576040519150601f19603f3d011682016040523d82523d6000602084013e611cfc565b606091505b5050905080611d0a57600080fd5b50565b611d1782826128e8565b5050565b6000611d43836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6129c8565b905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dbe5750611dbd82612a38565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eac83610e7f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611efd82611dc5565b611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390614d1e565b60405180910390fd5b6000611f4783610e7f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fb657508373ffffffffffffffffffffffffffffffffffffffff16611f9e8461095f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fc75750611fc68185611802565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ff082610e7f565b73ffffffffffffffffffffffffffffffffffffffff1614612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614e5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ad90614cde565b60405180910390fd5b6120c1838383612b1a565b6120cc600082611e39565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211c9190615167565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217391906150b7565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61223582610b8f565b61224681612241611e31565b612cfa565b61225083836128e8565b505050565b61225d611e31565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146122ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c190614f7e565b60405180910390fd5b6122d48282612d97565b5050565b6000612300836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e78565b905092915050565b612310610e68565b61234f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234690614c1e565b60405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612393611e31565b6040516123a09190614a18565b60405180910390a1565b6123b2610e68565b156123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990614d7e565b60405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612436611e31565b6040516124439190614a18565b60405180910390a1565b600061245c8360000183612f84565b60001c905092915050565b612472848484611fd0565b61247e84848484612ff8565b6124bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b490614c5e565b60405180910390fd5b50505050565b60006124d18260000161318f565b9050919050565b6124e182610b8f565b6124f2816124ed611e31565b612cfa565b6124fc8383612d97565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600080612530610b22565b9050610bb8811161254c57670214e8348c4f00009150506125a8565b6113888111612566576702c68af0bb1400009150506125a8565b611f40811161258057670429d069189e00009150506125a8565b61232881101561259b5767058d15e1762800009150506125a8565b6706f05b59d3b200009150505b90565b6000806000806125ba856131a0565b809350819450829550505050600186848484604051600081526020016040526040516125e99493929190614b01565b6020604051602081039080840390855afa15801561260b573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600061271061ffff16612633600f612501565b10612673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266a90614b9e565b60405180910390fd5b6000868660405160200161268892919061499a565b6040516020818303038152906040529050600115156014826040516126ad919061492c565b908152602001604051809103902060009054906101000a900460ff161515141561270c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270390614cbe565b60405180910390fd5b6000612718600f612501565b9050600060405180606001604052808a815260200189815260200187815250905060138190806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000019080519060200190612781929190613c08565b50602082015181600101908051906020019061279e929190613c08565b5060408201518160020190805190602001906127bb929190613c08565b50505089600d600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061281a8a836131e3565b612824600f61250f565b6001601484604051612836919061492c565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160158860405161286d919061492c565b908152602001604051809103902060006101000a81548160ff021916908360ff1602179055507f11a4e42d870026c7dd7fa3309487ad232aea73f128ac553b8a7259b4b4c757f28a836128bf856115cc565b886040516128d09493929190614a7f565b60405180910390a18193505050509695505050505050565b6128f28282611075565b6129c457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612969611e31565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006129d483836133b1565b612a2d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612a32565b600090505b92915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b0357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b135750612b12826133d4565b5b9050919050565b612b2583838361344e565b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90614c7e565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166348e05b54826040518263ffffffff1660e01b8152600401612c129190614f9e565b60206040518083038186803b158015612c2a57600080fd5b505afa158015612c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c629190614023565b15612cf557601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ac8e4966826040518263ffffffff1660e01b8152600401612cc29190614f9e565b600060405180830381600087803b158015612cdc57600080fd5b505af1158015612cf0573d6000803e3d6000fd5b505050505b505050565b612d048282611075565b612d9357612d298173ffffffffffffffffffffffffffffffffffffffff16601461345e565b612d378360001c602061345e565b604051602001612d489291906149de565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8a9190614b7c565b60405180910390fd5b5050565b612da18282611075565b15612e7457600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612e19611e31565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114612f78576000600182612eaa9190615167565b9050600060018660000180549050612ec29190615167565b90506000866000018281548110612edc57612edb6153e6565b5b9060005260206000200154905080876000018481548110612f0057612eff6153e6565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480612f3c57612f3b6153b7565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612f7e565b60009150505b92915050565b600081836000018054905011612fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc690614bbe565b60405180910390fd5b826000018281548110612fe557612fe46153e6565b5b9060005260206000200154905092915050565b60006130198473ffffffffffffffffffffffffffffffffffffffff1661369a565b15613182578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613042611e31565b8786866040518563ffffffff1660e01b81526004016130649493929190614a33565b602060405180830381600087803b15801561307e57600080fd5b505af19250505080156130af57506040513d601f19601f820116820180604052508101906130ac919061426c565b60015b613132573d80600081146130df576040519150601f19603f3d011682016040523d82523d6000602084013e6130e4565b606091505b5060008151141561312a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312190614c5e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613187565b600190505b949350505050565b600081600001805490509050919050565b600080600060418451146131b357600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324a90614dfe565b60405180910390fd5b61325c81611dc5565b1561329c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329390614c9e565b60405180910390fd5b6132a860008383612b1a565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132f891906150b7565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134475750613446826136ad565b5b9050919050565b613459838383613727565b505050565b606060006002836002613471919061510d565b61347b91906150b7565b67ffffffffffffffff81111561349457613493615415565b5b6040519080825280601f01601f1916602001820160405280156134c65781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134fe576134fd6153e6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613562576135616153e6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135a2919061510d565b6135ac91906150b7565b90505b600181111561364c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106135ee576135ed6153e6565b5b1a60f81b828281518110613605576136046153e6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136459061529e565b90506135af565b5060008414613690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368790614bde565b60405180910390fd5b8091505092915050565b600080823b905060008111915050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613720575061371f8261377f565b5b9050919050565b6137328383836137e9565b61373a610e68565b1561377a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377190614bfe565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137f48383836138fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138375761383281613902565b613876565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461387557613874838261394b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138b9576138b481613ab8565b6138f8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138f7576138f68282613b89565b5b5b505050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161395884610f31565b6139629190615167565b9050600060096000848152602001908152602001600020549050818114613a47576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050613acc9190615167565b90506000600b60008481526020019081526020016000205490506000600a8381548110613afc57613afb6153e6565b5b9060005260206000200154905080600a8381548110613b1e57613b1d6153e6565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480613b6d57613b6c6153b7565b5b6001900381819060005260206000200160009055905550505050565b6000613b9483610f31565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b828054613c14906152c8565b90600052602060002090601f016020900481019282613c365760008555613c7d565b82601f10613c4f57805160ff1916838001178555613c7d565b82800160010185558215613c7d579182015b82811115613c7c578251825591602001919060010190613c61565b5b509050613c8a9190613c8e565b5090565b5b80821115613ca7576000816000905550600101613c8f565b5090565b6000613cbe613cb984615007565b614fe2565b905082815260208101848484011115613cda57613cd9615449565b5b613ce584828561525c565b509392505050565b6000613d00613cfb84615038565b614fe2565b905082815260208101848484011115613d1c57613d1b615449565b5b613d2784828561525c565b509392505050565b600081359050613d3e81615c4e565b92915050565b600081359050613d5381615c65565b92915050565b600081359050613d6881615c7c565b92915050565b600081519050613d7d81615c7c565b92915050565b600081359050613d9281615c93565b92915050565b600081359050613da781615caa565b92915050565b600081519050613dbc81615caa565b92915050565b600082601f830112613dd757613dd6615444565b5b8135613de7848260208601613cab565b91505092915050565b600082601f830112613e0557613e04615444565b5b8135613e15848260208601613ced565b91505092915050565b600081359050613e2d81615cc1565b92915050565b600060208284031215613e4957613e48615453565b5b6000613e5784828501613d2f565b91505092915050565b600060208284031215613e7657613e75615453565b5b6000613e8484828501613d44565b91505092915050565b60008060408385031215613ea457613ea3615453565b5b6000613eb285828601613d2f565b9250506020613ec385828601613d2f565b9150509250929050565b600080600060608486031215613ee657613ee5615453565b5b6000613ef486828701613d2f565b9350506020613f0586828701613d2f565b9250506040613f1686828701613e1e565b9150509250925092565b60008060008060808587031215613f3a57613f39615453565b5b6000613f4887828801613d2f565b9450506020613f5987828801613d2f565b9350506040613f6a87828801613e1e565b925050606085013567ffffffffffffffff811115613f8b57613f8a61544e565b5b613f9787828801613dc2565b91505092959194509250565b60008060408385031215613fba57613fb9615453565b5b6000613fc885828601613d2f565b9250506020613fd985828601613d59565b9150509250929050565b60008060408385031215613ffa57613ff9615453565b5b600061400885828601613d2f565b925050602061401985828601613e1e565b9150509250929050565b60006020828403121561403957614038615453565b5b600061404784828501613d6e565b91505092915050565b600080600080600080600080610100898b03121561407157614070615453565b5b600061407f8b828c01613d59565b985050602089013567ffffffffffffffff8111156140a05761409f61544e565b5b6140ac8b828c01613df0565b975050604089013567ffffffffffffffff8111156140cd576140cc61544e565b5b6140d98b828c01613df0565b965050606089013567ffffffffffffffff8111156140fa576140f961544e565b5b6141068b828c01613dc2565b955050608089013567ffffffffffffffff8111156141275761412661544e565b5b6141338b828c01613df0565b94505060a089013567ffffffffffffffff8111156141545761415361544e565b5b6141608b828c01613df0565b93505060c06141718b828c01613e1e565b92505060e06141828b828c01613d2f565b9150509295985092959890939650565b6000602082840312156141a8576141a7615453565b5b60006141b684828501613d83565b91505092915050565b600080604083850312156141d6576141d5615453565b5b60006141e485828601613d83565b92505060206141f585828601613d2f565b9150509250929050565b6000806040838503121561421657614215615453565b5b600061422485828601613d83565b925050602061423585828601613e1e565b9150509250929050565b60006020828403121561425557614254615453565b5b600061426384828501613d98565b91505092915050565b60006020828403121561428257614281615453565b5b600061429084828501613dad565b91505092915050565b6000602082840312156142af576142ae615453565b5b60006142bd84828501613e1e565b91505092915050565b600080604083850312156142dd576142dc615453565b5b60006142eb85828601613e1e565b92505060206142fc85828601613e1e565b9150509250929050565b61430f8161519b565b82525050565b6143266143218261519b565b61532b565b82525050565b614335816151bf565b82525050565b614344816151cb565b82525050565b614353816151d5565b82525050565b600061436482615069565b61436e818561507f565b935061437e81856020860161526b565b61438781615458565b840191505092915050565b61439b81615238565b82525050565b60006143ac82615074565b6143b6818561509b565b93506143c681856020860161526b565b6143cf81615458565b840191505092915050565b60006143e582615074565b6143ef81856150ac565b93506143ff81856020860161526b565b80840191505092915050565b600061441860118361509b565b915061442382615476565b602082019050919050565b600061443b60228361509b565b91506144468261549f565b604082019050919050565b600061445e60208361509b565b9150614469826154ee565b602082019050919050565b6000614481602b8361509b565b915061448c82615517565b604082019050919050565b60006144a460148361509b565b91506144af82615566565b602082019050919050565b60006144c7602b8361509b565b91506144d28261558f565b604082019050919050565b60006144ea60328361509b565b91506144f5826155de565b604082019050919050565b600061450d60178361509b565b91506145188261562d565b602082019050919050565b6000614530601c8361509b565b915061453b82615656565b602082019050919050565b600061455360128361509b565b915061455e8261567f565b602082019050919050565b600061457660248361509b565b9150614581826156a8565b604082019050919050565b600061459960198361509b565b91506145a4826156f7565b602082019050919050565b60006145bc602c8361509b565b91506145c782615720565b604082019050919050565b60006145df600b8361509b565b91506145ea8261576f565b602082019050919050565b600061460260118361509b565b915061460d82615798565b602082019050919050565b600061462560108361509b565b9150614630826157c1565b602082019050919050565b600061464860388361509b565b9150614653826157ea565b604082019050919050565b600061466b602a8361509b565b915061467682615839565b604082019050919050565b600061468e60298361509b565b915061469982615888565b604082019050919050565b60006146b160208361509b565b91506146bc826158d7565b602082019050919050565b60006146d4602c8361509b565b91506146df82615900565b604082019050919050565b60006146f760118361509b565b91506147028261594f565b602082019050919050565b600061471a60298361509b565b915061472582615978565b604082019050919050565b600061473d6001836150ac565b9150614748826159c7565b600182019050919050565b6000614760600d8361509b565b915061476b826159f0565b602082019050919050565b600061478360218361509b565b915061478e82615a19565b604082019050919050565b60006147a660128361509b565b91506147b182615a68565b602082019050919050565b60006147c9600083615090565b91506147d482615a91565b600082019050919050565b60006147ec600f8361509b565b91506147f782615a94565b602082019050919050565b600061480f60318361509b565b915061481a82615abd565b604082019050919050565b6000614832602c8361509b565b915061483d82615b0c565b604082019050919050565b60006148556017836150ac565b915061486082615b5b565b601782019050919050565b6000614878600d8361509b565b915061488382615b84565b602082019050919050565b600061489b600c8361509b565b91506148a682615bad565b602082019050919050565b60006148be6011836150ac565b91506148c982615bd6565b601182019050919050565b60006148e1602f8361509b565b91506148ec82615bff565b604082019050919050565b61490081615221565b82525050565b61491761491282615221565b61534f565b82525050565b6149268161522b565b82525050565b600061493882846143da565b915081905092915050565b600061494f82886143da565b915061495b82876143da565b91506149678286614315565b6014820191506149778285614906565b6020820191506149878284614315565b6014820191508190509695505050505050565b60006149a682856143da565b91506149b182614730565b91506149bd82846143da565b91508190509392505050565b60006149d4826147bc565b9150819050919050565b60006149e982614848565b91506149f582856143da565b9150614a00826148b1565b9150614a0c82846143da565b91508190509392505050565b6000602082019050614a2d6000830184614306565b92915050565b6000608082019050614a486000830187614306565b614a556020830186614306565b614a6260408301856148f7565b8181036060830152614a748184614359565b905095945050505050565b6000608082019050614a946000830187614306565b614aa160208301866148f7565b8181036040830152614ab381856143a1565b9050614ac260608301846148f7565b95945050505050565b6000602082019050614ae0600083018461432c565b92915050565b6000602082019050614afb600083018461433b565b92915050565b6000608082019050614b16600083018761433b565b614b23602083018661491d565b614b30604083018561433b565b614b3d606083018461433b565b95945050505050565b6000602082019050614b5b600083018461434a565b92915050565b6000602082019050614b766000830184614392565b92915050565b60006020820190508181036000830152614b9681846143a1565b905092915050565b60006020820190508181036000830152614bb78161440b565b9050919050565b60006020820190508181036000830152614bd78161442e565b9050919050565b60006020820190508181036000830152614bf781614451565b9050919050565b60006020820190508181036000830152614c1781614474565b9050919050565b60006020820190508181036000830152614c3781614497565b9050919050565b60006020820190508181036000830152614c57816144ba565b9050919050565b60006020820190508181036000830152614c77816144dd565b9050919050565b60006020820190508181036000830152614c9781614500565b9050919050565b60006020820190508181036000830152614cb781614523565b9050919050565b60006020820190508181036000830152614cd781614546565b9050919050565b60006020820190508181036000830152614cf781614569565b9050919050565b60006020820190508181036000830152614d178161458c565b9050919050565b60006020820190508181036000830152614d37816145af565b9050919050565b60006020820190508181036000830152614d57816145d2565b9050919050565b60006020820190508181036000830152614d77816145f5565b9050919050565b60006020820190508181036000830152614d9781614618565b9050919050565b60006020820190508181036000830152614db78161463b565b9050919050565b60006020820190508181036000830152614dd78161465e565b9050919050565b60006020820190508181036000830152614df781614681565b9050919050565b60006020820190508181036000830152614e17816146a4565b9050919050565b60006020820190508181036000830152614e37816146c7565b9050919050565b60006020820190508181036000830152614e57816146ea565b9050919050565b60006020820190508181036000830152614e778161470d565b9050919050565b60006020820190508181036000830152614e9781614753565b9050919050565b60006020820190508181036000830152614eb781614776565b9050919050565b60006020820190508181036000830152614ed781614799565b9050919050565b60006020820190508181036000830152614ef7816147df565b9050919050565b60006020820190508181036000830152614f1781614802565b9050919050565b60006020820190508181036000830152614f3781614825565b9050919050565b60006020820190508181036000830152614f578161486b565b9050919050565b60006020820190508181036000830152614f778161488e565b9050919050565b60006020820190508181036000830152614f97816148d4565b9050919050565b6000602082019050614fb360008301846148f7565b92915050565b6000604082019050614fce60008301856148f7565b614fdb60208301846148f7565b9392505050565b6000614fec614ffd565b9050614ff882826152fa565b919050565b6000604051905090565b600067ffffffffffffffff82111561502257615021615415565b5b61502b82615458565b9050602081019050919050565b600067ffffffffffffffff82111561505357615052615415565b5b61505c82615458565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150c282615221565b91506150cd83615221565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561510257615101615359565b5b828201905092915050565b600061511882615221565b915061512383615221565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561515c5761515b615359565b5b828202905092915050565b600061517282615221565b915061517d83615221565b9250828210156151905761518f615359565b5b828203905092915050565b60006151a682615201565b9050919050565b60006151b882615201565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006152438261524a565b9050919050565b600061525582615201565b9050919050565b82818337600083830152505050565b60005b8381101561528957808201518184015260208101905061526e565b83811115615298576000848401525b50505050565b60006152a982615221565b915060008214156152bd576152bc615359565b5b600182039050919050565b600060028204905060018216806152e057607f821691505b602082108114156152f4576152f3615388565b5b50919050565b61530382615458565b810181811067ffffffffffffffff8211171561532257615321615415565b5b80604052505050565b60006153368261533d565b9050919050565b600061534882615469565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d41585f4c414e44535f52454143484544000000000000000000000000000000600082015250565b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f41554354494f4e5f414444524553535f4e4f545f534554000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f434f4f5244494e415445535f4558495354530000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f484153485f455849535453000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f5349474e4154555245000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4c494d49545f5245414348454400000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f2042616c616e636520746f2073656e640000000000000000000000000000600082015250565b50565b7f5041594d454e545f544f4f5f4c4f570000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4e4f545f535550504f5254454400000000000000000000000000000000000000600082015250565b7f494e56414c49445f524f4c450000000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615c578161519b565b8114615c6257600080fd5b50565b615c6e816151ad565b8114615c7957600080fd5b50565b615c85816151bf565b8114615c9057600080fd5b50565b615c9c816151cb565b8114615ca757600080fd5b50565b615cb3816151d5565b8114615cbe57600080fd5b50565b615cca81615221565b8114615cd557600080fd5b5056fe68747470733a2f2f6d61727367656e657369732d776562332e6865726f6b756170702e636f6d2f6d657461646174612f4d61727347656e657369732e6a736f6ea26469706673582212202181259db740f1613ecbaf4a9923151787950f96dd4bfa6982cf6c3d3a82e83764736f6c63430008050033000000000000000000000000b3449f7bc4a7041a7b5cf4f1d9c405d3b96608b4

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80638456cb5911610118578063c04bfb88116100a0578063df96ab441161006f578063df96ab44146107e3578063e8a3d4851461080c578063e985e9c514610837578063ef20adbe14610874578063fada3dee146108a45761020f565b8063c04bfb8814610703578063c87b56dd14610740578063ca15c8731461077d578063d547741f146107ba5761020f565b806395d89b41116100e757806395d89b4114610632578063a217fddf1461065d578063a22cb46514610688578063ac1a386a146106b1578063b88d4fde146106da5761020f565b80638456cb59146105785780639010d07c1461058f57806391d14854146105cc57806393ac3638146106095761020f565b80632f2ff15d1161019b57806342842e0e1161016a57806342842e0e1461046d5780634f6ccce7146104965780635c975abb146104d35780636352211e146104fe57806370a082311461053b5761020f565b80632f2ff15d146103c75780632f745c59146103f057806336568abe1461042d5780633f4ba83a146104565761020f565b80630ab8afac116101e25780630ab8afac146102e257806318160ddd1461030d57806323b872dd14610338578063248a9ca314610361578063272d47d31461039e5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061423f565b6108bb565b6040516102489190614acb565b60405180910390f35b34801561025d57600080fd5b506102666108cd565b6040516102739190614b7c565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190614299565b61095f565b6040516102b09190614a18565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613fe3565b6109e4565b005b3480156102ee57600080fd5b506102f7610afc565b6040516103049190614b61565b60405180910390f35b34801561031957600080fd5b50610322610b22565b60405161032f9190614f9e565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190613ecd565b610b2f565b005b34801561036d57600080fd5b5061038860048036038101906103839190614192565b610b8f565b6040516103959190614ae6565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906142c6565b610bae565b005b3480156103d357600080fd5b506103ee60048036038101906103e991906141bf565b610c6d565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613fe3565b610ca1565b6040516104249190614f9e565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f91906141bf565b610d46565b005b34801561046257600080fd5b5061046b610d7a565b005b34801561047957600080fd5b50610494600480360381019061048f9190613ecd565b610dd7565b005b3480156104a257600080fd5b506104bd60048036038101906104b89190614299565b610df7565b6040516104ca9190614f9e565b60405180910390f35b3480156104df57600080fd5b506104e8610e68565b6040516104f59190614acb565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190614299565b610e7f565b6040516105329190614a18565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613e33565b610f31565b60405161056f9190614f9e565b60405180910390f35b34801561058457600080fd5b5061058d610fe9565b005b34801561059b57600080fd5b506105b660048036038101906105b191906141ff565b611046565b6040516105c39190614a18565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee91906141bf565b611075565b6040516106009190614acb565b60405180910390f35b34801561061557600080fd5b50610630600480360381019061062b9190613e33565b6110df565b005b34801561063e57600080fd5b50610647611286565b6040516106549190614b7c565b60405180910390f35b34801561066957600080fd5b50610672611318565b60405161067f9190614ae6565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa9190613fa3565b61131f565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190613e60565b6114a0565b005b3480156106e657600080fd5b5061070160048036038101906106fc9190613f20565b611537565b005b34801561070f57600080fd5b5061072a60048036038101906107259190614299565b611599565b6040516107379190614a18565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190614299565b6115cc565b6040516107749190614b7c565b60405180910390f35b34801561078957600080fd5b506107a4600480360381019061079f9190614192565b6116cb565b6040516107b19190614f9e565b60405180910390f35b3480156107c657600080fd5b506107e160048036038101906107dc91906141bf565b6116ef565b005b3480156107ef57600080fd5b5061080a600480360381019061080591906142c6565b611723565b005b34801561081857600080fd5b506108216117e2565b60405161082e9190614b7c565b60405180910390f35b34801561084357600080fd5b5061085e60048036038101906108599190613e8d565b611802565b60405161086b9190614acb565b60405180910390f35b61088e60048036038101906108899190614050565b611896565b60405161089b9190614f9e565b60405180910390f35b3480156108b057600080fd5b506108b9611b9f565b005b60006108c682611d4b565b9050919050565b6060600280546108dc906152c8565b80601f0160208091040260200160405190810160405280929190818152602001828054610908906152c8565b80156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b5050505050905090565b600061096a82611dc5565b6109a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a090614e1e565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109ef82610e7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5790614e9e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a7f611e31565b73ffffffffffffffffffffffffffffffffffffffff161480610aae5750610aad81610aa8611e31565b611802565b5b610aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae490614d9e565b60405180910390fd5b610af78383611e39565b505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a80549050905090565b610b40610b3a611e31565b82611ef2565b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7690614efe565b60405180910390fd5b610b8a838383611fd0565b505050565b6000806000838152602001908152602001600020600101549050919050565b610bda601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836109e4565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663272d47d383836040518363ffffffff1660e01b8152600401610c37929190614fb9565b600060405180830381600087803b158015610c5157600080fd5b505af1158015610c65573d6000803e3d6000fd5b505050505050565b610c77828261222c565b610c9c8160016000858152602001908152602001600020611d1b90919063ffffffff16565b505050565b6000610cac83610f31565b8210610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614c3e565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d508282612255565b610d7581600160008581526020019081526020016000206122d890919063ffffffff16565b505050565b610d8e6000801b610d89611e31565b611075565b610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614f5e565b60405180910390fd5b610dd5612308565b565b610df283838360405180602001604052806000815250611537565b505050565b6000610e01610b22565b8210610e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3990614f1e565b60405180910390fd5b600a8281548110610e5657610e556153e6565b5b90600052602060002001549050919050565b6000600c60009054906101000a900460ff16905090565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90614dde565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990614dbe565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ffd6000801b610ff8611e31565b611075565b61103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390614f5e565b60405180910390fd5b6110446123aa565b565b600061106d826001600086815260200190815260200160002061244d90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110f36000801b6110ee611e31565b611075565b611132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112990614f5e565b60405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77fac8e4966e9c2ae151463907194fec3da37f4197fa797e33fb866aff060dcbea97f5a23eda13058d8963a7181770d6ab6c1c74b835e25f8dc388f28723e277fe9e4186040518263ffffffff1660e01b81526004016111b29190614b46565b60206040518083038186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112029190614023565b611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890614f3e565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b606060038054611295906152c8565b80601f01602080910402602001604051908101604052809291908181526020018280546112c1906152c8565b801561130e5780601f106112e35761010080835404028352916020019161130e565b820191906000526020600020905b8154815290600101906020018083116112f157829003601f168201915b5050505050905090565b6000801b81565b611327611e31565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c90614cfe565b60405180910390fd5b80600760006113a2611e31565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661144f611e31565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114949190614acb565b60405180910390a35050565b6114b46000801b6114af611e31565b611075565b6114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90614f5e565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611548611542611e31565b83611ef2565b611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e90614efe565b60405180910390fd5b61159384848484612467565b50505050565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606115d782611dc5565b611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160d90614e3e565b60405180910390fd5b6013828154811061162a576116296153e6565b5b90600052602060002090600302016002018054611646906152c8565b80601f0160208091040260200160405190810160405280929190818152602001828054611672906152c8565b80156116bf5780601f10611694576101008083540402835291602001916116bf565b820191906000526020600020905b8154815290600101906020018083116116a257829003601f168201915b50505050509050919050565b60006116e8600160008481526020019081526020016000206124c3565b9050919050565b6116f982826124d8565b61171e81600160008581526020019081526020016000206122d890919063ffffffff16565b505050565b61174f601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836109e4565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df96ab4483836040518363ffffffff1660e01b81526004016117ac929190614fb9565b600060405180830381600087803b1580156117c657600080fd5b505af11580156117da573d6000803e3d6000fd5b505050505050565b6060604051806060016040528060408152602001615cd960409139905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006001151589151514156119ca576118b96000801b6118b4611e31565b611075565b6118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90614f5e565b60405180910390fd5b600160158660405161190a919061492c565b908152602001604051809103902060009054906101000a900460ff1660ff16141561196a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196190614d3e565b60405180910390fd5b6101f461ffff1661197b600e612501565b106119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290614e7e565b60405180910390fd5b6119c5600e61250f565b611b5a565b6119d2612525565b341015611a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0b90614ede565b60405180910390fd5b6001601586604051611a26919061492c565b908152602001604051809103902060009054906101000a900460ff1660ff161415611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90614d3e565b60405180910390fd5b60008888308633604051602001611aa1959493929190614943565b6040516020818303038152906040528051906020012090506000611ac582896125ab565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4e90614d5e565b60405180910390fd5b50505b6000600115158a15151415611b7157829050611b7c565b611b79611e31565b90505b6000611b8c828b8b8a8a8a612620565b9050809250505098975050505050505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614f5e565b60405180910390fd5b60004711611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6990614ebe565b60405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611cba906149c9565b60006040518083038185875af1925050503d8060008114611cf7576040519150601f19603f3d011682016040523d82523d6000602084013e611cfc565b606091505b5050905080611d0a57600080fd5b50565b611d1782826128e8565b5050565b6000611d43836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6129c8565b905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dbe5750611dbd82612a38565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eac83610e7f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611efd82611dc5565b611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390614d1e565b60405180910390fd5b6000611f4783610e7f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fb657508373ffffffffffffffffffffffffffffffffffffffff16611f9e8461095f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fc75750611fc68185611802565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ff082610e7f565b73ffffffffffffffffffffffffffffffffffffffff1614612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614e5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ad90614cde565b60405180910390fd5b6120c1838383612b1a565b6120cc600082611e39565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211c9190615167565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217391906150b7565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61223582610b8f565b61224681612241611e31565b612cfa565b61225083836128e8565b505050565b61225d611e31565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146122ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c190614f7e565b60405180910390fd5b6122d48282612d97565b5050565b6000612300836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e78565b905092915050565b612310610e68565b61234f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234690614c1e565b60405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612393611e31565b6040516123a09190614a18565b60405180910390a1565b6123b2610e68565b156123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990614d7e565b60405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612436611e31565b6040516124439190614a18565b60405180910390a1565b600061245c8360000183612f84565b60001c905092915050565b612472848484611fd0565b61247e84848484612ff8565b6124bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b490614c5e565b60405180910390fd5b50505050565b60006124d18260000161318f565b9050919050565b6124e182610b8f565b6124f2816124ed611e31565b612cfa565b6124fc8383612d97565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600080612530610b22565b9050610bb8811161254c57670214e8348c4f00009150506125a8565b6113888111612566576702c68af0bb1400009150506125a8565b611f40811161258057670429d069189e00009150506125a8565b61232881101561259b5767058d15e1762800009150506125a8565b6706f05b59d3b200009150505b90565b6000806000806125ba856131a0565b809350819450829550505050600186848484604051600081526020016040526040516125e99493929190614b01565b6020604051602081039080840390855afa15801561260b573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600061271061ffff16612633600f612501565b10612673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266a90614b9e565b60405180910390fd5b6000868660405160200161268892919061499a565b6040516020818303038152906040529050600115156014826040516126ad919061492c565b908152602001604051809103902060009054906101000a900460ff161515141561270c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270390614cbe565b60405180910390fd5b6000612718600f612501565b9050600060405180606001604052808a815260200189815260200187815250905060138190806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000019080519060200190612781929190613c08565b50602082015181600101908051906020019061279e929190613c08565b5060408201518160020190805190602001906127bb929190613c08565b50505089600d600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061281a8a836131e3565b612824600f61250f565b6001601484604051612836919061492c565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160158860405161286d919061492c565b908152602001604051809103902060006101000a81548160ff021916908360ff1602179055507f11a4e42d870026c7dd7fa3309487ad232aea73f128ac553b8a7259b4b4c757f28a836128bf856115cc565b886040516128d09493929190614a7f565b60405180910390a18193505050509695505050505050565b6128f28282611075565b6129c457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612969611e31565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006129d483836133b1565b612a2d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612a32565b600090505b92915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b0357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b135750612b12826133d4565b5b9050919050565b612b2583838361344e565b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae90614c7e565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166348e05b54826040518263ffffffff1660e01b8152600401612c129190614f9e565b60206040518083038186803b158015612c2a57600080fd5b505afa158015612c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c629190614023565b15612cf557601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ac8e4966826040518263ffffffff1660e01b8152600401612cc29190614f9e565b600060405180830381600087803b158015612cdc57600080fd5b505af1158015612cf0573d6000803e3d6000fd5b505050505b505050565b612d048282611075565b612d9357612d298173ffffffffffffffffffffffffffffffffffffffff16601461345e565b612d378360001c602061345e565b604051602001612d489291906149de565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8a9190614b7c565b60405180910390fd5b5050565b612da18282611075565b15612e7457600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612e19611e31565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114612f78576000600182612eaa9190615167565b9050600060018660000180549050612ec29190615167565b90506000866000018281548110612edc57612edb6153e6565b5b9060005260206000200154905080876000018481548110612f0057612eff6153e6565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480612f3c57612f3b6153b7565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612f7e565b60009150505b92915050565b600081836000018054905011612fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc690614bbe565b60405180910390fd5b826000018281548110612fe557612fe46153e6565b5b9060005260206000200154905092915050565b60006130198473ffffffffffffffffffffffffffffffffffffffff1661369a565b15613182578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613042611e31565b8786866040518563ffffffff1660e01b81526004016130649493929190614a33565b602060405180830381600087803b15801561307e57600080fd5b505af19250505080156130af57506040513d601f19601f820116820180604052508101906130ac919061426c565b60015b613132573d80600081146130df576040519150601f19603f3d011682016040523d82523d6000602084013e6130e4565b606091505b5060008151141561312a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312190614c5e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613187565b600190505b949350505050565b600081600001805490509050919050565b600080600060418451146131b357600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324a90614dfe565b60405180910390fd5b61325c81611dc5565b1561329c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329390614c9e565b60405180910390fd5b6132a860008383612b1a565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132f891906150b7565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134475750613446826136ad565b5b9050919050565b613459838383613727565b505050565b606060006002836002613471919061510d565b61347b91906150b7565b67ffffffffffffffff81111561349457613493615415565b5b6040519080825280601f01601f1916602001820160405280156134c65781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134fe576134fd6153e6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613562576135616153e6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135a2919061510d565b6135ac91906150b7565b90505b600181111561364c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106135ee576135ed6153e6565b5b1a60f81b828281518110613605576136046153e6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136459061529e565b90506135af565b5060008414613690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368790614bde565b60405180910390fd5b8091505092915050565b600080823b905060008111915050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613720575061371f8261377f565b5b9050919050565b6137328383836137e9565b61373a610e68565b1561377a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377190614bfe565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137f48383836138fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138375761383281613902565b613876565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461387557613874838261394b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138b9576138b481613ab8565b6138f8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138f7576138f68282613b89565b5b5b505050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161395884610f31565b6139629190615167565b9050600060096000848152602001908152602001600020549050818114613a47576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050613acc9190615167565b90506000600b60008481526020019081526020016000205490506000600a8381548110613afc57613afb6153e6565b5b9060005260206000200154905080600a8381548110613b1e57613b1d6153e6565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480613b6d57613b6c6153b7565b5b6001900381819060005260206000200160009055905550505050565b6000613b9483610f31565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b828054613c14906152c8565b90600052602060002090601f016020900481019282613c365760008555613c7d565b82601f10613c4f57805160ff1916838001178555613c7d565b82800160010185558215613c7d579182015b82811115613c7c578251825591602001919060010190613c61565b5b509050613c8a9190613c8e565b5090565b5b80821115613ca7576000816000905550600101613c8f565b5090565b6000613cbe613cb984615007565b614fe2565b905082815260208101848484011115613cda57613cd9615449565b5b613ce584828561525c565b509392505050565b6000613d00613cfb84615038565b614fe2565b905082815260208101848484011115613d1c57613d1b615449565b5b613d2784828561525c565b509392505050565b600081359050613d3e81615c4e565b92915050565b600081359050613d5381615c65565b92915050565b600081359050613d6881615c7c565b92915050565b600081519050613d7d81615c7c565b92915050565b600081359050613d9281615c93565b92915050565b600081359050613da781615caa565b92915050565b600081519050613dbc81615caa565b92915050565b600082601f830112613dd757613dd6615444565b5b8135613de7848260208601613cab565b91505092915050565b600082601f830112613e0557613e04615444565b5b8135613e15848260208601613ced565b91505092915050565b600081359050613e2d81615cc1565b92915050565b600060208284031215613e4957613e48615453565b5b6000613e5784828501613d2f565b91505092915050565b600060208284031215613e7657613e75615453565b5b6000613e8484828501613d44565b91505092915050565b60008060408385031215613ea457613ea3615453565b5b6000613eb285828601613d2f565b9250506020613ec385828601613d2f565b9150509250929050565b600080600060608486031215613ee657613ee5615453565b5b6000613ef486828701613d2f565b9350506020613f0586828701613d2f565b9250506040613f1686828701613e1e565b9150509250925092565b60008060008060808587031215613f3a57613f39615453565b5b6000613f4887828801613d2f565b9450506020613f5987828801613d2f565b9350506040613f6a87828801613e1e565b925050606085013567ffffffffffffffff811115613f8b57613f8a61544e565b5b613f9787828801613dc2565b91505092959194509250565b60008060408385031215613fba57613fb9615453565b5b6000613fc885828601613d2f565b9250506020613fd985828601613d59565b9150509250929050565b60008060408385031215613ffa57613ff9615453565b5b600061400885828601613d2f565b925050602061401985828601613e1e565b9150509250929050565b60006020828403121561403957614038615453565b5b600061404784828501613d6e565b91505092915050565b600080600080600080600080610100898b03121561407157614070615453565b5b600061407f8b828c01613d59565b985050602089013567ffffffffffffffff8111156140a05761409f61544e565b5b6140ac8b828c01613df0565b975050604089013567ffffffffffffffff8111156140cd576140cc61544e565b5b6140d98b828c01613df0565b965050606089013567ffffffffffffffff8111156140fa576140f961544e565b5b6141068b828c01613dc2565b955050608089013567ffffffffffffffff8111156141275761412661544e565b5b6141338b828c01613df0565b94505060a089013567ffffffffffffffff8111156141545761415361544e565b5b6141608b828c01613df0565b93505060c06141718b828c01613e1e565b92505060e06141828b828c01613d2f565b9150509295985092959890939650565b6000602082840312156141a8576141a7615453565b5b60006141b684828501613d83565b91505092915050565b600080604083850312156141d6576141d5615453565b5b60006141e485828601613d83565b92505060206141f585828601613d2f565b9150509250929050565b6000806040838503121561421657614215615453565b5b600061422485828601613d83565b925050602061423585828601613e1e565b9150509250929050565b60006020828403121561425557614254615453565b5b600061426384828501613d98565b91505092915050565b60006020828403121561428257614281615453565b5b600061429084828501613dad565b91505092915050565b6000602082840312156142af576142ae615453565b5b60006142bd84828501613e1e565b91505092915050565b600080604083850312156142dd576142dc615453565b5b60006142eb85828601613e1e565b92505060206142fc85828601613e1e565b9150509250929050565b61430f8161519b565b82525050565b6143266143218261519b565b61532b565b82525050565b614335816151bf565b82525050565b614344816151cb565b82525050565b614353816151d5565b82525050565b600061436482615069565b61436e818561507f565b935061437e81856020860161526b565b61438781615458565b840191505092915050565b61439b81615238565b82525050565b60006143ac82615074565b6143b6818561509b565b93506143c681856020860161526b565b6143cf81615458565b840191505092915050565b60006143e582615074565b6143ef81856150ac565b93506143ff81856020860161526b565b80840191505092915050565b600061441860118361509b565b915061442382615476565b602082019050919050565b600061443b60228361509b565b91506144468261549f565b604082019050919050565b600061445e60208361509b565b9150614469826154ee565b602082019050919050565b6000614481602b8361509b565b915061448c82615517565b604082019050919050565b60006144a460148361509b565b91506144af82615566565b602082019050919050565b60006144c7602b8361509b565b91506144d28261558f565b604082019050919050565b60006144ea60328361509b565b91506144f5826155de565b604082019050919050565b600061450d60178361509b565b91506145188261562d565b602082019050919050565b6000614530601c8361509b565b915061453b82615656565b602082019050919050565b600061455360128361509b565b915061455e8261567f565b602082019050919050565b600061457660248361509b565b9150614581826156a8565b604082019050919050565b600061459960198361509b565b91506145a4826156f7565b602082019050919050565b60006145bc602c8361509b565b91506145c782615720565b604082019050919050565b60006145df600b8361509b565b91506145ea8261576f565b602082019050919050565b600061460260118361509b565b915061460d82615798565b602082019050919050565b600061462560108361509b565b9150614630826157c1565b602082019050919050565b600061464860388361509b565b9150614653826157ea565b604082019050919050565b600061466b602a8361509b565b915061467682615839565b604082019050919050565b600061468e60298361509b565b915061469982615888565b604082019050919050565b60006146b160208361509b565b91506146bc826158d7565b602082019050919050565b60006146d4602c8361509b565b91506146df82615900565b604082019050919050565b60006146f760118361509b565b91506147028261594f565b602082019050919050565b600061471a60298361509b565b915061472582615978565b604082019050919050565b600061473d6001836150ac565b9150614748826159c7565b600182019050919050565b6000614760600d8361509b565b915061476b826159f0565b602082019050919050565b600061478360218361509b565b915061478e82615a19565b604082019050919050565b60006147a660128361509b565b91506147b182615a68565b602082019050919050565b60006147c9600083615090565b91506147d482615a91565b600082019050919050565b60006147ec600f8361509b565b91506147f782615a94565b602082019050919050565b600061480f60318361509b565b915061481a82615abd565b604082019050919050565b6000614832602c8361509b565b915061483d82615b0c565b604082019050919050565b60006148556017836150ac565b915061486082615b5b565b601782019050919050565b6000614878600d8361509b565b915061488382615b84565b602082019050919050565b600061489b600c8361509b565b91506148a682615bad565b602082019050919050565b60006148be6011836150ac565b91506148c982615bd6565b601182019050919050565b60006148e1602f8361509b565b91506148ec82615bff565b604082019050919050565b61490081615221565b82525050565b61491761491282615221565b61534f565b82525050565b6149268161522b565b82525050565b600061493882846143da565b915081905092915050565b600061494f82886143da565b915061495b82876143da565b91506149678286614315565b6014820191506149778285614906565b6020820191506149878284614315565b6014820191508190509695505050505050565b60006149a682856143da565b91506149b182614730565b91506149bd82846143da565b91508190509392505050565b60006149d4826147bc565b9150819050919050565b60006149e982614848565b91506149f582856143da565b9150614a00826148b1565b9150614a0c82846143da565b91508190509392505050565b6000602082019050614a2d6000830184614306565b92915050565b6000608082019050614a486000830187614306565b614a556020830186614306565b614a6260408301856148f7565b8181036060830152614a748184614359565b905095945050505050565b6000608082019050614a946000830187614306565b614aa160208301866148f7565b8181036040830152614ab381856143a1565b9050614ac260608301846148f7565b95945050505050565b6000602082019050614ae0600083018461432c565b92915050565b6000602082019050614afb600083018461433b565b92915050565b6000608082019050614b16600083018761433b565b614b23602083018661491d565b614b30604083018561433b565b614b3d606083018461433b565b95945050505050565b6000602082019050614b5b600083018461434a565b92915050565b6000602082019050614b766000830184614392565b92915050565b60006020820190508181036000830152614b9681846143a1565b905092915050565b60006020820190508181036000830152614bb78161440b565b9050919050565b60006020820190508181036000830152614bd78161442e565b9050919050565b60006020820190508181036000830152614bf781614451565b9050919050565b60006020820190508181036000830152614c1781614474565b9050919050565b60006020820190508181036000830152614c3781614497565b9050919050565b60006020820190508181036000830152614c57816144ba565b9050919050565b60006020820190508181036000830152614c77816144dd565b9050919050565b60006020820190508181036000830152614c9781614500565b9050919050565b60006020820190508181036000830152614cb781614523565b9050919050565b60006020820190508181036000830152614cd781614546565b9050919050565b60006020820190508181036000830152614cf781614569565b9050919050565b60006020820190508181036000830152614d178161458c565b9050919050565b60006020820190508181036000830152614d37816145af565b9050919050565b60006020820190508181036000830152614d57816145d2565b9050919050565b60006020820190508181036000830152614d77816145f5565b9050919050565b60006020820190508181036000830152614d9781614618565b9050919050565b60006020820190508181036000830152614db78161463b565b9050919050565b60006020820190508181036000830152614dd78161465e565b9050919050565b60006020820190508181036000830152614df781614681565b9050919050565b60006020820190508181036000830152614e17816146a4565b9050919050565b60006020820190508181036000830152614e37816146c7565b9050919050565b60006020820190508181036000830152614e57816146ea565b9050919050565b60006020820190508181036000830152614e778161470d565b9050919050565b60006020820190508181036000830152614e9781614753565b9050919050565b60006020820190508181036000830152614eb781614776565b9050919050565b60006020820190508181036000830152614ed781614799565b9050919050565b60006020820190508181036000830152614ef7816147df565b9050919050565b60006020820190508181036000830152614f1781614802565b9050919050565b60006020820190508181036000830152614f3781614825565b9050919050565b60006020820190508181036000830152614f578161486b565b9050919050565b60006020820190508181036000830152614f778161488e565b9050919050565b60006020820190508181036000830152614f97816148d4565b9050919050565b6000602082019050614fb360008301846148f7565b92915050565b6000604082019050614fce60008301856148f7565b614fdb60208301846148f7565b9392505050565b6000614fec614ffd565b9050614ff882826152fa565b919050565b6000604051905090565b600067ffffffffffffffff82111561502257615021615415565b5b61502b82615458565b9050602081019050919050565b600067ffffffffffffffff82111561505357615052615415565b5b61505c82615458565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150c282615221565b91506150cd83615221565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561510257615101615359565b5b828201905092915050565b600061511882615221565b915061512383615221565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561515c5761515b615359565b5b828202905092915050565b600061517282615221565b915061517d83615221565b9250828210156151905761518f615359565b5b828203905092915050565b60006151a682615201565b9050919050565b60006151b882615201565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006152438261524a565b9050919050565b600061525582615201565b9050919050565b82818337600083830152505050565b60005b8381101561528957808201518184015260208101905061526e565b83811115615298576000848401525b50505050565b60006152a982615221565b915060008214156152bd576152bc615359565b5b600182039050919050565b600060028204905060018216806152e057607f821691505b602082108114156152f4576152f3615388565b5b50919050565b61530382615458565b810181811067ffffffffffffffff8211171561532257615321615415565b5b80604052505050565b60006153368261533d565b9050919050565b600061534882615469565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d41585f4c414e44535f52454143484544000000000000000000000000000000600082015250565b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f41554354494f4e5f414444524553535f4e4f545f534554000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f434f4f5244494e415445535f4558495354530000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f484153485f455849535453000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f5349474e4154555245000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4c494d49545f5245414348454400000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f2042616c616e636520746f2073656e640000000000000000000000000000600082015250565b50565b7f5041594d454e545f544f4f5f4c4f570000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4e4f545f535550504f5254454400000000000000000000000000000000000000600082015250565b7f494e56414c49445f524f4c450000000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615c578161519b565b8114615c6257600080fd5b50565b615c6e816151ad565b8114615c7957600080fd5b50565b615c85816151bf565b8114615c9057600080fd5b50565b615c9c816151cb565b8114615ca757600080fd5b50565b615cb3816151d5565b8114615cbe57600080fd5b50565b615cca81615221565b8114615cd557600080fd5b5056fe68747470733a2f2f6d61727367656e657369732d776562332e6865726f6b756170702e636f6d2f6d657461646174612f4d61727347656e657369732e6a736f6ea26469706673582212202181259db740f1613ecbaf4a9923151787950f96dd4bfa6982cf6c3d3a82e83764736f6c63430008050033

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

000000000000000000000000b3449f7bc4a7041a7b5cf4f1d9c405d3b96608b4

-----Decoded View---------------
Arg [0] : _walletAddress (address): 0xb3449f7bC4a7041a7b5CF4f1D9C405D3B96608B4

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b3449f7bc4a7041a7b5cf4f1d9c405d3b96608b4


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.