ETH Price: $3,570.17 (+2.35%)
Gas: 35 Gwei

Contract

0x050dc61dFB867E0fE3Cf2948362b6c0F3fAF790b
 

Overview

ETH Balance

0.00000000018900002 ETH

Eth Value

Less Than $0.01 (@ $3,570.17/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...195091062024-03-25 4:22:473 days ago1711340567IN
PixelMap: WPXM Token
0 ETH0.0006011612.88909542
Set Approval For...194906252024-03-22 14:01:116 days ago1711116071IN
PixelMap: WPXM Token
0 ETH0.0017544637.61634517
Transfer From194588662024-03-18 2:59:3510 days ago1710730775IN
PixelMap: WPXM Token
0 ETH0.0013414122.83993919
Set Approval For...194550412024-03-17 14:05:2311 days ago1710684323IN
PixelMap: WPXM Token
0 ETH0.0014622131.33435121
Set Approval For...193493952024-03-02 18:52:3526 days ago1709405555IN
PixelMap: WPXM Token
0 ETH0.0021985247.13718119
Set Approval For...193271672024-02-28 16:18:3529 days ago1709137115IN
PixelMap: WPXM Token
0 ETH0.0037779281
Safe Transfer Fr...193260912024-02-28 12:41:4729 days ago1709124107IN
PixelMap: WPXM Token
0 ETH0.0032527152.74129163
Safe Transfer Fr...193162452024-02-27 3:36:3530 days ago1709004995IN
PixelMap: WPXM Token
0 ETH0.0031915751.73995897
Safe Transfer Fr...193024952024-02-25 5:25:1132 days ago1708838711IN
PixelMap: WPXM Token
0 ETH0.0014747523.90781837
Set Approval For...192656152024-02-20 1:23:1137 days ago1708392191IN
PixelMap: WPXM Token
0 ETH0.0008454334.07240122
Set Approval For...192623192024-02-19 14:17:2338 days ago1708352243IN
PixelMap: WPXM Token
0 ETH0.0015264332.72735207
Set Approval For...192537252024-02-18 9:13:1139 days ago1708247591IN
PixelMap: WPXM Token
0 ETH0.0011139323.88315512
Set Approval For...192528942024-02-18 6:24:3539 days ago1708237475IN
PixelMap: WPXM Token
0 ETH0.000738315.82953574
Safe Transfer Fr...192528722024-02-18 6:19:5939 days ago1708237199IN
PixelMap: WPXM Token
0 ETH0.000929715.08746161
Set Approval For...192367242024-02-15 23:53:5941 days ago1708041239IN
PixelMap: WPXM Token
0 ETH0.0013023227.92239324
Safe Transfer Fr...192263922024-02-14 13:05:2343 days ago1707915923IN
PixelMap: WPXM Token
0 ETH0.0017385427.88624767
Set Approval For...192127842024-02-12 15:17:2345 days ago1707751043IN
PixelMap: WPXM Token
0 ETH0.0015116532.41043371
Set Approval For...192110362024-02-12 9:25:1145 days ago1707729911IN
PixelMap: WPXM Token
0 ETH0.0009892221.20924491
Transfer From192103502024-02-12 7:06:4745 days ago1707721607IN
PixelMap: WPXM Token
0 ETH0.001216220.70813733
Set Approval For...192031402024-02-11 6:47:1146 days ago1707634031IN
PixelMap: WPXM Token
0 ETH0.0010446822.39850866
Set Approval For...192031382024-02-11 6:46:4746 days ago1707634007IN
PixelMap: WPXM Token
0 ETH0.0009624820.59891287
Set Approval For...191642252024-02-05 19:45:2351 days ago1707162323IN
PixelMap: WPXM Token
0 ETH0.0012669127.16315399
Set Approval For...191507472024-02-03 22:17:5953 days ago1706998679IN
PixelMap: WPXM Token
0 ETH0.0007368515.77012161
Set Approval For...191506042024-02-03 21:48:4753 days ago1706996927IN
PixelMap: WPXM Token
0 ETH0.0007055715.10053034
Set Approval For...191392812024-02-02 7:38:2355 days ago1706859503IN
PixelMap: WPXM Token
0 ETH0.0010205921.881895
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
169541502023-04-01 11:58:11362 days ago1680350291
PixelMap: WPXM Token
0.7 ETH
169541462023-04-01 11:57:23362 days ago1680350243
PixelMap: WPXM Token
0.7 ETH
162998062022-12-30 19:55:35453 days ago1672430135
PixelMap: WPXM Token
0.9 ETH
162997772022-12-30 19:49:47453 days ago1672429787
PixelMap: WPXM Token
0.9 ETH
162455002022-12-23 6:03:35461 days ago1671775415
PixelMap: WPXM Token
1.5 ETH
162454892022-12-23 6:01:23461 days ago1671775283
PixelMap: WPXM Token
1.5 ETH
162454772022-12-23 5:58:59461 days ago1671775139
PixelMap: WPXM Token
1.5 ETH
157641012022-10-16 23:57:35528 days ago1665964655
PixelMap: WPXM Token
2 ETH
157639562022-10-16 23:28:35528 days ago1665962915
PixelMap: WPXM Token
2 ETH
151084422022-07-09 12:49:51628 days ago1657370991
PixelMap: WPXM Token
2 ETH
151084372022-07-09 12:48:52628 days ago1657370932
PixelMap: WPXM Token
2 ETH
151084002022-07-09 12:40:09628 days ago1657370409
PixelMap: WPXM Token
2 ETH
151083872022-07-09 12:37:55628 days ago1657370275
PixelMap: WPXM Token
2 ETH
151083872022-07-09 12:37:55628 days ago1657370275
PixelMap: WPXM Token
2 ETH
151083682022-07-09 12:33:45628 days ago1657370025
PixelMap: WPXM Token
2 ETH
151083272022-07-09 12:24:40628 days ago1657369480
PixelMap: WPXM Token
2 ETH
151083252022-07-09 12:24:20628 days ago1657369460
PixelMap: WPXM Token
2 ETH
151083002022-07-09 12:19:36628 days ago1657369176
PixelMap: WPXM Token
2 ETH
151082752022-07-09 12:15:17628 days ago1657368917
PixelMap: WPXM Token
2 ETH
151082472022-07-09 12:08:03628 days ago1657368483
PixelMap: WPXM Token
2 ETH
148796212022-05-31 15:58:10667 days ago1654012690
PixelMap: WPXM Token
1 ETH
148216932022-05-22 5:43:36676 days ago1653198216
PixelMap: WPXM Token
1 ETH
148216922022-05-22 5:43:22676 days ago1653198202
PixelMap: WPXM Token
1 ETH
148216922022-05-22 5:43:22676 days ago1653198202
PixelMap: WPXM Token
1 ETH
148216902022-05-22 5:42:50676 days ago1653198170
PixelMap: WPXM Token
1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PixelMapWrapper

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 1000 runs

Other Settings:
default evmVersion
File 1 of 12 : pixelmapwrapper.sol
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface PixelMap {

    event TileUpdated(uint location);
   
    function getTile(uint location) external view returns (address, string memory, string memory, uint);
    function buyTile(uint location) external payable;
   
    // setTile does not set Owner!
    function setTile(uint location, string memory image, string memory url, uint price) external payable;
}

contract PixelMapWrapper is Ownable, ERC721 {

    receive() external payable
    {
        // Only accept from pixelmap contract
        require(_msgSender() == _pixelmapAddress, "PixelMapWrapper: Sender isn't pixelmap contract");
    }
    
    event Wrapped(address indexed owner, uint indexed _locationID);
    event Unwrapped(address indexed owner, uint indexed _locationID);

    address public _pixelmapAddress;
    PixelMap public _pixelmap;
   
    // BaseTokenURI + BaseContractURI
    string public _baseTokenURI;
    string public _baseContractURI;
    string private _baseTokenExtension;

    constructor() payable ERC721("Wrapped PixelMap", "WPXM") {
		_pixelmapAddress = 0x015A06a433353f8db634dF4eDdF0C109882A15AB;
		_pixelmap = PixelMap(_pixelmapAddress);
		_baseTokenExtension = '';
    }
    
     struct saleStorage {
        address seller;
        uint amount;
     }

    mapping (uint => saleStorage) public pendingLocationSales;
		
    /**
     * Wrapping is only possible when there is already a listing, you are buying your own listing and therefore getting your eth back in your wallet.
     * Only Owner can do a mint of a wrapper, or 0x0 (unowned tiles)
     */
    function wrap(uint _locationID) external payable {
        require(!_exists(_locationID), "PixelMapWrapper: You cannot mint the same locationID");
        require(getwithdrawableETHforLocation(_locationID) == 0, "PixelMapWrapper: There is still ETH to be withdrawn");
       
        // get Tile from contract
        (address _owner,,,uint _price) = _pixelmap.getTile(_locationID);
        // check owner
        require(_owner == _msgSender() || _owner == address(0), "PixelMapWrapper: You are not the owner or it");
        require(_price == msg.value, "PixelMapWrapper: Price not identical");

        // Buy Offering with this contract
        _pixelmap.buyTile{value: msg.value}(_locationID);
		
        // Check Tile if correct transfered
        (address _newowner,,, uint _newprice) = _pixelmap.getTile(_locationID);
        require(_newprice == 0 && _newowner == address(this), "PixelMapWrapper: Price or Owner not Updated");
       
	    // Mint ERC721 NFT
        _mint(msg.sender, _locationID);
        emit Wrapped(msg.sender, _locationID);
    }
    
    /**
     * Unwrapping would only be possible to set it for Sale, making an array for balances to withdraw funds from wrapper contract
     **/
    function unwrap(uint _locationID, uint _salePrice) external {     
        require(_exists(_locationID), "PixelMapWrapper: operator query for nonexistent token");
       
        // Unwrapping = selling from this contract to owner (msg.sender)
        // Check if Owner
        address owner = ERC721.ownerOf(_locationID);
        require(owner == _msgSender(), "PixelMapWrapper: You are not the owner");
               
        // Set Tile to Sale via contract
        (address _owner, string memory _image, string memory _url,) = _pixelmap.getTile(_locationID);
        
        // Check if Tile is owned by this contract
        require(_owner == address(this), "PixelMapWrapper: Tile Owner is not this contract");
        
        // Create Offering for _salePrice, if price is set
        // set URL to msgSender, used in fallback function to attribute incoming eth
        _pixelmap.setTile(_locationID, _image, _url, _salePrice);
        
        // burn ERC721
        _burn(_locationID);
        require(!_exists(_locationID), "PixelMapWrapper: ERC721 Location has not been burned");
        
        // Add after burn into sale struct, it will get overwritten if you don't withdraw your eth with withdrawETH after a successfull sale
        pendingLocationSales[_locationID] = saleStorage({
            seller: _msgSender(),
            amount: uint(_salePrice)
        });
       
        emit Unwrapped(msg.sender, _locationID);
    }
   
    function setTileData(uint _locationID, string memory _image, string memory _url) external {
        require(_exists(_locationID), "PixelMapWrapper: Location has not been wrapped");
        // Check if Owner
        address owner = ERC721.ownerOf(_locationID);
        require(owner == _msgSender(), "PixelMapWrapper: You are not the owner");
        // set 0 as price
        require(setTileDataUnderlying(_locationID,_image,_url),"PixelMapWrapper: Couldn't set Tile Data");
    }
    
    function setTileDataUnderlying(uint _locationID, string memory _image, string memory _url) internal returns (bool){
        (address _owner,,,) = _pixelmap.getTile(_locationID);
        // Check if Tile is owned by this contract
        require(_owner == address(this), "PixelMapWrapper: Tile Owner is not this contract");
        // Update Tile Data, don't set it for sale, hardcode it
        _pixelmap.setTile(_locationID, _image, _url, 0);
        return true;
    }
    
    function withdrawETH(uint _locationID) external {
        saleStorage storage pendingSale = pendingLocationSales[_locationID];
        uint amount = pendingLocationSales[_locationID].amount;
        // Check for msg Sender == seller
        require(pendingSale.seller == _msgSender(),"PixelMapWrapper: you are not the receiver of this eth");
        
        // Check if Tile is sold (owner of Tile is *not* this contract)
        (address _owner,,,) = _pixelmap.getTile(_locationID);
        require(_owner != address(this), "PixelMapWrapper: Tile Owner is this contract, not successfull re-sell");
        
        // Set Withdrawable Funds to 0 against reentrancy
        pendingLocationSales[_locationID].seller = address(0);
        pendingLocationSales[_locationID].amount = 0;
        
        // Send eth
        payable(_msgSender()).transfer(amount);
    }
    
    function getwithdrawableETHforLocation(uint _locationID) public view returns(uint) {
        saleStorage storage pendingSale = pendingLocationSales[_locationID];
        
        // Check if Tile is sold (owner of Tile is *not* this contract)
        (address _owner,,,) = _pixelmap.getTile(_locationID);
        if (_owner == address(this)) {
            return 0;
        } else {
            return pendingSale.amount;
        }
    }
  
    /**
     * @dev sets the extension for tokens (.json) as example
     */
    function setTokenExtension(string memory extension) public onlyOwner {
        _baseTokenExtension = extension;
    }    
  
    /**
     * @dev Returns a URI for a given token ID's metadata
     */
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId), _baseTokenExtension));
    }

    function setBaseTokenURI(string memory __baseTokenURI) public onlyOwner {
        _baseTokenURI = __baseTokenURI;
    }
        
    /**
     * @dev Returns a URI for a given token ID's metadata
     */
    function contractURI() public view returns (string memory) {
        return string(abi.encodePacked(_baseContractURI));
    }

    function setBasecontractURI(string memory __baseContractURI) public onlyOwner {
        _baseContractURI = __baseContractURI;
    }
}

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

pragma solidity ^0.8.0;

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

File 3 of 12 : 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 4 of 12 : 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 5 of 12 : 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 6 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 10 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 11 of 12 : 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 12 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"_locationID","type":"uint256"}],"name":"Unwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"_locationID","type":"uint256"}],"name":"Wrapped","type":"event"},{"inputs":[],"name":"_baseContractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_pixelmap","outputs":[{"internalType":"contract PixelMap","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_pixelmapAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_locationID","type":"uint256"}],"name":"getwithdrawableETHforLocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pendingLocationSales","outputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseContractURI","type":"string"}],"name":"setBasecontractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_locationID","type":"uint256"},{"internalType":"string","name":"_image","type":"string"},{"internalType":"string","name":"_url","type":"string"}],"name":"setTileData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension","type":"string"}],"name":"setTokenExtension","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_locationID","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_locationID","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_locationID","type":"uint256"}],"name":"wrap","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040518060400160405280601081526020017f5772617070656420506978656c4d6170000000000000000000000000000000008152506040518060400160405280600481526020017f5750584d000000000000000000000000000000000000000000000000000000008152506200009062000084620001aa60201b60201c565b620001b260201b60201c565b8160019080519060200190620000a892919062000276565b508060029080519060200190620000c192919062000276565b50505073015a06a433353f8db634df4eddf0c109882a15ab600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180602001604052806000815250600b9080519060200190620001a392919062000276565b506200038b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002849062000326565b90600052602060002090601f016020900481019282620002a85760008555620002f4565b82601f10620002c357805160ff1916838001178555620002f4565b82800160010185558215620002f4579182015b82811115620002f3578251825591602001919060010190620002d6565b5b50905062000303919062000307565b5090565b5b808211156200032257600081600090555060010162000308565b5090565b600060028204905060018216806200033f57607f821691505b602082108114156200035657620003556200035c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614d11806200039b6000396000f3fe6080604052600436106101d15760003560e01c806370a08231116100f7578063c87b56dd11610095578063e985e9c511610064578063e985e9c514610729578063ea598cb014610766578063f14210a614610782578063f2fde38b146107ab5761026f565b8063c87b56dd1461066b578063cfc86f7b146106a8578063d04877fa146106d3578063e8a3d485146106fe5761026f565b806395d89b41116100d157806395d89b41146105c3578063a22cb465146105ee578063a515caaa14610617578063b88d4fde146106425761026f565b806370a0823114610544578063715018a6146105815780638da5cb5b146105985761026f565b8063268b19301161016f5780635c242f951161013e5780635c242f95146104755780635f3d784d146104b35780636352211e146104de5780636e2866711461051b5761026f565b8063268b1930146103bd57806330176e13146103fa578063345dadeb1461042357806342842e0e1461044c5761026f565b8063095ea7b3116101ab578063095ea7b314610319578063147c07181461034257806315ae07381461036b57806323b872dd146103945761026f565b806301ffc9a71461027457806306fdde03146102b1578063081812fc146102dc5761026f565b3661026f57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166102176107d4565b73ffffffffffffffffffffffffffffffffffffffff161461026d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026490614735565b60405180910390fd5b005b600080fd5b34801561028057600080fd5b5061029b600480360381019061029691906134e5565b6107dc565b6040516102a891906143bd565b60405180910390f35b3480156102bd57600080fd5b506102c66108be565b6040516102d391906143f3565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613578565b610950565b604051610310919061432d565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b91906134a9565b6109d5565b005b34801561034e57600080fd5b5061036960048036038101906103649190613537565b610aed565b005b34801561037757600080fd5b50610392600480360381019061038d9190613537565b610b83565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613310565b610c19565b005b3480156103c957600080fd5b506103e460048036038101906103df9190613578565b610c79565b6040516103f191906147b5565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c9190613537565b610d96565b005b34801561042f57600080fd5b5061044a600480360381019061044591906135a1565b610e2c565b005b34801561045857600080fd5b50610473600480360381019061046e9190613310565b610f46565b005b34801561048157600080fd5b5061049c60048036038101906104979190613578565b610f66565b6040516104aa929190614394565b60405180910390f35b3480156104bf57600080fd5b506104c8610faa565b6040516104d5919061432d565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190613578565b610fd0565b604051610512919061432d565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613620565b611082565b005b34801561055057600080fd5b5061056b600480360381019061056691906132ab565b611440565b60405161057891906147b5565b60405180910390f35b34801561058d57600080fd5b506105966114f8565b005b3480156105a457600080fd5b506105ad611580565b6040516105ba919061432d565b60405180910390f35b3480156105cf57600080fd5b506105d86115a9565b6040516105e591906143f3565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906133da565b61163b565b005b34801561062357600080fd5b5061062c6117bc565b60405161063991906143f3565b60405180910390f35b34801561064e57600080fd5b506106696004803603810190610664919061335f565b61184a565b005b34801561067757600080fd5b50610692600480360381019061068d9190613578565b6118ac565b60405161069f91906143f3565b60405180910390f35b3480156106b457600080fd5b506106bd6118e3565b6040516106ca91906143f3565b60405180910390f35b3480156106df57600080fd5b506106e8611971565b6040516106f591906143d8565b60405180910390f35b34801561070a57600080fd5b50610713611997565b60405161072091906143f3565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b91906132d4565b6119bf565b60405161075d91906143bd565b60405180910390f35b610780600480360381019061077b9190613578565b611a53565b005b34801561078e57600080fd5b506107a960048036038101906107a49190613578565b611ea4565b005b3480156107b757600080fd5b506107d260048036038101906107cd91906132ab565b61215b565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b757506108b682612253565b5b9050919050565b6060600180546108cd90614b06565b80601f01602080910402602001604051908101604052809291908181526020018280546108f990614b06565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b5050505050905090565b600061095b826122bd565b61099a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610991906145d5565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e082610fd0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890614635565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a706107d4565b73ffffffffffffffffffffffffffffffffffffffff161480610a9f5750610a9e81610a996107d4565b6119bf565b5b610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590614515565b60405180910390fd5b610ae88383612329565b505050565b610af56107d4565b73ffffffffffffffffffffffffffffffffffffffff16610b13611580565b73ffffffffffffffffffffffffffffffffffffffff1614610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b60906145f5565b60405180910390fd5b80600b9080519060200190610b7f92919061303d565b5050565b610b8b6107d4565b73ffffffffffffffffffffffffffffffffffffffff16610ba9611580565b73ffffffffffffffffffffffffffffffffffffffff1614610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf6906145f5565b60405180910390fd5b80600a9080519060200190610c1592919061303d565b5050565b610c2a610c246107d4565b826123e2565b610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6090614655565b60405180910390fd5b610c748383836124c0565b505050565b600080600c600084815260200190815260200160002090506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114856040518263ffffffff1660e01b8152600401610cee91906147b5565b60006040518083038186803b158015610d0657600080fd5b505afa158015610d1a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610d439190613416565b50505090503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d8757600092505050610d91565b8160010154925050505b919050565b610d9e6107d4565b73ffffffffffffffffffffffffffffffffffffffff16610dbc611580565b73ffffffffffffffffffffffffffffffffffffffff1614610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e09906145f5565b60405180910390fd5b8060099080519060200190610e2892919061303d565b5050565b610e35836122bd565b610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b906146f5565b60405180910390fd5b6000610e7f84610fd0565b9050610e896107d4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90614715565b60405180910390fd5b610f0184848461271c565b610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f37906144d5565b60405180910390fd5b50505050565b610f618383836040518060200160405280600081525061184a565b505050565b600c6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090614555565b60405180910390fd5b80915050919050565b61108b826122bd565b6110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c1906146d5565b60405180910390fd5b60006110d583610fd0565b90506110df6107d4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390614715565b60405180910390fd5b6000806000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114876040518263ffffffff1660e01b81526004016111ac91906147b5565b60006040518083038186803b1580156111c457600080fd5b505afa1580156111d8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112019190613416565b509250925092503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90614575565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663678d9758878484896040518563ffffffff1660e01b81526004016112d79493929190614823565b600060405180830381600087803b1580156112f157600080fd5b505af1158015611305573d6000803e3d6000fd5b50505050611312866128e2565b61131b866122bd565b1561135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290614755565b60405180910390fd5b604051806040016040528061136e6107d4565b73ffffffffffffffffffffffffffffffffffffffff16815260200186815250600c600088815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050853373ffffffffffffffffffffffffffffffffffffffff167f95ae649bfaaef9def56a52f4fb2d9e8fa5496bb7082930e442c74cc76b03dcb360405160405180910390a3505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a890614535565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115006107d4565b73ffffffffffffffffffffffffffffffffffffffff1661151e611580565b73ffffffffffffffffffffffffffffffffffffffff1614611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b906145f5565b60405180910390fd5b61157e60006129f3565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115b890614b06565b80601f01602080910402602001604051908101604052809291908181526020018280546115e490614b06565b80156116315780601f1061160657610100808354040283529160200191611631565b820191906000526020600020905b81548152906001019060200180831161161457829003601f168201915b5050505050905090565b6116436107d4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906144b5565b60405180910390fd5b80600660006116be6107d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661176b6107d4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117b091906143bd565b60405180910390a35050565b600a80546117c990614b06565b80601f01602080910402602001604051908101604052809291908181526020018280546117f590614b06565b80156118425780601f1061181757610100808354040283529160200191611842565b820191906000526020600020905b81548152906001019060200180831161182557829003601f168201915b505050505081565b61185b6118556107d4565b836123e2565b61189a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189190614655565b60405180910390fd5b6118a684848484612ab7565b50505050565b606060096118b983612b13565b600b6040516020016118cd939291906142fc565b6040516020818303038152906040529050919050565b600980546118f090614b06565b80601f016020809104026020016040519081016040528092919081815260200182805461191c90614b06565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b505050505081565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600a6040516020016119ab91906142e5565b604051602081830303815290604052905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a5c816122bd565b15611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390614775565b60405180910390fd5b6000611aa782610c79565b14611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade906145b5565b60405180910390fd5b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114846040518263ffffffff1660e01b8152600401611b4591906147b5565b60006040518083038186803b158015611b5d57600080fd5b505afa158015611b71573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611b9a9190613416565b935050509150611ba86107d4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480611c0d5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4390614795565b60405180910390fd5b348114611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c85906146b5565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663329ce29e34856040518363ffffffff1660e01b8152600401611cea91906147b5565b6000604051808303818588803b158015611d0357600080fd5b505af1158015611d17573d6000803e3d6000fd5b5050505050600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114866040518263ffffffff1660e01b8152600401611d7a91906147b5565b60006040518083038186803b158015611d9257600080fd5b505afa158015611da6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611dcf9190613416565b935050509150600081148015611e1057503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4690614455565b60405180910390fd5b611e593386612cc0565b843373ffffffffffffffffffffffffffffffffffffffff167f4700c1726b4198077cd40320a32c45265a1910521eb0ef713dd1d8412413d7fc60405160405180910390a35050505050565b6000600c600083815260200190815260200160002090506000600c6000848152602001908152602001600020600101549050611ede6107d4565b73ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6690614675565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114856040518263ffffffff1660e01b8152600401611fcc91906147b5565b60006040518083038186803b158015611fe457600080fd5b505afa158015611ff8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120219190613416565b50505090503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614695565b60405180910390fd5b6000600c600086815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600c60008681526020019081526020016000206001018190555061210f6107d4565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612154573d6000803e3d6000fd5b5050505050565b6121636107d4565b73ffffffffffffffffffffffffffffffffffffffff16612181611580565b73ffffffffffffffffffffffffffffffffffffffff16146121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce906145f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90614435565b60405180910390fd5b612250816129f3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661239c83610fd0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123ed826122bd565b61242c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612423906144f5565b60405180910390fd5b600061243783610fd0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124a657508373ffffffffffffffffffffffffffffffffffffffff1661248e84610950565b73ffffffffffffffffffffffffffffffffffffffff16145b806124b757506124b681856119bf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124e082610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90614615565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259d90614495565b60405180910390fd5b6125b1838383612e8e565b6125bc600082612329565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260c91906149e6565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612663919061495f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114866040518263ffffffff1660e01b815260040161277a91906147b5565b60006040518083038186803b15801561279257600080fd5b505afa1580156127a6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127cf9190613416565b50505090503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283990614575565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663678d975886868660006040518563ffffffff1660e01b81526004016128a494939291906147d0565b600060405180830381600087803b1580156128be57600080fd5b505af11580156128d2573d6000803e3d6000fd5b5050505060019150509392505050565b60006128ed82610fd0565b90506128fb81600084612e8e565b612906600083612329565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461295691906149e6565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ac28484846124c0565b612ace84848484612e93565b612b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0490614415565b60405180910390fd5b50505050565b60606000821415612b5b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cbb565b600082905060005b60008214612b8d578080612b7690614b38565b915050600a82612b8691906149b5565b9150612b63565b60008167ffffffffffffffff811115612bcf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c015781602001600182028036833780820191505090505b5090505b60008514612cb457600182612c1a91906149e6565b9150600a85612c299190614b81565b6030612c35919061495f565b60f81b818381518110612c71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cad91906149b5565b9450612c05565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2790614595565b60405180910390fd5b612d39816122bd565b15612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7090614475565b60405180910390fd5b612d8560008383612e8e565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd5919061495f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6000612eb48473ffffffffffffffffffffffffffffffffffffffff1661302a565b1561301d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612edd6107d4565b8786866040518563ffffffff1660e01b8152600401612eff9493929190614348565b602060405180830381600087803b158015612f1957600080fd5b505af1925050508015612f4a57506040513d601f19601f82011682018060405250810190612f47919061350e565b60015b612fcd573d8060008114612f7a576040519150601f19603f3d011682016040523d82523d6000602084013e612f7f565b606091505b50600081511415612fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbc90614415565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613022565b600190505b949350505050565b600080823b905060008111915050919050565b82805461304990614b06565b90600052602060002090601f01602090048101928261306b57600085556130b2565b82601f1061308457805160ff19168380011785556130b2565b828001600101855582156130b2579182015b828111156130b1578251825591602001919060010190613096565b5b5090506130bf91906130c3565b5090565b5b808211156130dc5760008160009055506001016130c4565b5090565b60006130f36130ee846148a7565b614876565b90508281526020810184848401111561310b57600080fd5b613116848285614ac4565b509392505050565b600061313161312c846148d7565b614876565b90508281526020810184848401111561314957600080fd5b613154848285614ac4565b509392505050565b600061316f61316a846148d7565b614876565b90508281526020810184848401111561318757600080fd5b613192848285614ad3565b509392505050565b6000813590506131a981614c7f565b92915050565b6000815190506131be81614c7f565b92915050565b6000813590506131d381614c96565b92915050565b6000813590506131e881614cad565b92915050565b6000815190506131fd81614cad565b92915050565b600082601f83011261321457600080fd5b81356132248482602086016130e0565b91505092915050565b600082601f83011261323e57600080fd5b813561324e84826020860161311e565b91505092915050565b600082601f83011261326857600080fd5b815161327884826020860161315c565b91505092915050565b60008135905061329081614cc4565b92915050565b6000815190506132a581614cc4565b92915050565b6000602082840312156132bd57600080fd5b60006132cb8482850161319a565b91505092915050565b600080604083850312156132e757600080fd5b60006132f58582860161319a565b92505060206133068582860161319a565b9150509250929050565b60008060006060848603121561332557600080fd5b60006133338682870161319a565b93505060206133448682870161319a565b925050604061335586828701613281565b9150509250925092565b6000806000806080858703121561337557600080fd5b60006133838782880161319a565b94505060206133948782880161319a565b93505060406133a587828801613281565b925050606085013567ffffffffffffffff8111156133c257600080fd5b6133ce87828801613203565b91505092959194509250565b600080604083850312156133ed57600080fd5b60006133fb8582860161319a565b925050602061340c858286016131c4565b9150509250929050565b6000806000806080858703121561342c57600080fd5b600061343a878288016131af565b945050602085015167ffffffffffffffff81111561345757600080fd5b61346387828801613257565b935050604085015167ffffffffffffffff81111561348057600080fd5b61348c87828801613257565b925050606061349d87828801613296565b91505092959194509250565b600080604083850312156134bc57600080fd5b60006134ca8582860161319a565b92505060206134db85828601613281565b9150509250929050565b6000602082840312156134f757600080fd5b6000613505848285016131d9565b91505092915050565b60006020828403121561352057600080fd5b600061352e848285016131ee565b91505092915050565b60006020828403121561354957600080fd5b600082013567ffffffffffffffff81111561356357600080fd5b61356f8482850161322d565b91505092915050565b60006020828403121561358a57600080fd5b600061359884828501613281565b91505092915050565b6000806000606084860312156135b657600080fd5b60006135c486828701613281565b935050602084013567ffffffffffffffff8111156135e157600080fd5b6135ed8682870161322d565b925050604084013567ffffffffffffffff81111561360a57600080fd5b6136168682870161322d565b9150509250925092565b6000806040838503121561363357600080fd5b600061364185828601613281565b925050602061365285828601613281565b9150509250929050565b61366581614a1a565b82525050565b61367481614a2c565b82525050565b60006136858261491c565b61368f8185614932565b935061369f818560208601614ad3565b6136a881614c6e565b840191505092915050565b6136bc81614a8e565b82525050565b6136cb81614ab2565b82525050565b60006136dc82614927565b6136e68185614943565b93506136f6818560208601614ad3565b6136ff81614c6e565b840191505092915050565b600061371582614927565b61371f8185614954565b935061372f818560208601614ad3565b80840191505092915050565b6000815461374881614b06565b6137528186614954565b9450600182166000811461376d576001811461377e576137b1565b60ff198316865281860193506137b1565b61378785614907565b60005b838110156137a95781548189015260018201915060208101905061378a565b838801955050505b50505092915050565b60006137c7603283614943565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061382d602683614943565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613893602b83614943565b91507f506978656c4d6170577261707065723a205072696365206f72204f776e65722060008301527f6e6f7420557064617465640000000000000000000000000000000000000000006020830152604082019050919050565b60006138f9601c83614943565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613939602483614943565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061399f601983614943565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006139df602783614943565b91507f506978656c4d6170577261707065723a20436f756c646e27742073657420546960008301527f6c652044617461000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a45602c83614943565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613aab603883614943565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613b11602a83614943565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b77602983614943565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bdd603083614943565b91507f506978656c4d6170577261707065723a2054696c65204f776e6572206973206e60008301527f6f74207468697320636f6e7472616374000000000000000000000000000000006020830152604082019050919050565b6000613c43602083614943565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613c83603383614943565b91507f506978656c4d6170577261707065723a205468657265206973207374696c6c2060008301527f45544820746f2062652077697468647261776e000000000000000000000000006020830152604082019050919050565b6000613ce9602c83614943565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d4f602083614943565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613d8f602983614943565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613df5602183614943565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e5b603183614943565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ec1603583614943565b91507f506978656c4d6170577261707065723a20796f7520617265206e6f742074686560008301527f207265636569766572206f6620746869732065746800000000000000000000006020830152604082019050919050565b6000613f27604583614943565b91507f506978656c4d6170577261707065723a2054696c65204f776e6572206973207460008301527f68697320636f6e74726163742c206e6f74207375636365737366756c6c20726560208301527f2d73656c6c0000000000000000000000000000000000000000000000000000006040830152606082019050919050565b6000613fb3602483614943565b91507f506978656c4d6170577261707065723a205072696365206e6f74206964656e7460008301527f6963616c000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614019603583614943565b91507f506978656c4d6170577261707065723a206f70657261746f722071756572792060008301527f666f72206e6f6e6578697374656e7420746f6b656e00000000000000000000006020830152604082019050919050565b600061407f602e83614943565b91507f506978656c4d6170577261707065723a204c6f636174696f6e20686173206e6f60008301527f74206265656e20777261707065640000000000000000000000000000000000006020830152604082019050919050565b60006140e5602683614943565b91507f506978656c4d6170577261707065723a20596f7520617265206e6f742074686560008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061414b602f83614943565b91507f506978656c4d6170577261707065723a2053656e6465722069736e277420706960008301527f78656c6d617020636f6e747261637400000000000000000000000000000000006020830152604082019050919050565b60006141b1603483614943565b91507f506978656c4d6170577261707065723a20455243373231204c6f636174696f6e60008301527f20686173206e6f74206265656e206275726e65640000000000000000000000006020830152604082019050919050565b6000614217603483614943565b91507f506978656c4d6170577261707065723a20596f752063616e6e6f74206d696e7460008301527f207468652073616d65206c6f636174696f6e49440000000000000000000000006020830152604082019050919050565b600061427d602c83614943565b91507f506978656c4d6170577261707065723a20596f7520617265206e6f742074686560008301527f206f776e6572206f7220697400000000000000000000000000000000000000006020830152604082019050919050565b6142df81614a84565b82525050565b60006142f1828461373b565b915081905092915050565b6000614308828661373b565b9150614314828561370a565b9150614320828461373b565b9150819050949350505050565b6000602082019050614342600083018461365c565b92915050565b600060808201905061435d600083018761365c565b61436a602083018661365c565b61437760408301856142d6565b8181036060830152614389818461367a565b905095945050505050565b60006040820190506143a9600083018561365c565b6143b660208301846142d6565b9392505050565b60006020820190506143d2600083018461366b565b92915050565b60006020820190506143ed60008301846136b3565b92915050565b6000602082019050818103600083015261440d81846136d1565b905092915050565b6000602082019050818103600083015261442e816137ba565b9050919050565b6000602082019050818103600083015261444e81613820565b9050919050565b6000602082019050818103600083015261446e81613886565b9050919050565b6000602082019050818103600083015261448e816138ec565b9050919050565b600060208201905081810360008301526144ae8161392c565b9050919050565b600060208201905081810360008301526144ce81613992565b9050919050565b600060208201905081810360008301526144ee816139d2565b9050919050565b6000602082019050818103600083015261450e81613a38565b9050919050565b6000602082019050818103600083015261452e81613a9e565b9050919050565b6000602082019050818103600083015261454e81613b04565b9050919050565b6000602082019050818103600083015261456e81613b6a565b9050919050565b6000602082019050818103600083015261458e81613bd0565b9050919050565b600060208201905081810360008301526145ae81613c36565b9050919050565b600060208201905081810360008301526145ce81613c76565b9050919050565b600060208201905081810360008301526145ee81613cdc565b9050919050565b6000602082019050818103600083015261460e81613d42565b9050919050565b6000602082019050818103600083015261462e81613d82565b9050919050565b6000602082019050818103600083015261464e81613de8565b9050919050565b6000602082019050818103600083015261466e81613e4e565b9050919050565b6000602082019050818103600083015261468e81613eb4565b9050919050565b600060208201905081810360008301526146ae81613f1a565b9050919050565b600060208201905081810360008301526146ce81613fa6565b9050919050565b600060208201905081810360008301526146ee8161400c565b9050919050565b6000602082019050818103600083015261470e81614072565b9050919050565b6000602082019050818103600083015261472e816140d8565b9050919050565b6000602082019050818103600083015261474e8161413e565b9050919050565b6000602082019050818103600083015261476e816141a4565b9050919050565b6000602082019050818103600083015261478e8161420a565b9050919050565b600060208201905081810360008301526147ae81614270565b9050919050565b60006020820190506147ca60008301846142d6565b92915050565b60006080820190506147e560008301876142d6565b81810360208301526147f781866136d1565b9050818103604083015261480b81856136d1565b905061481a60608301846136c2565b95945050505050565b600060808201905061483860008301876142d6565b818103602083015261484a81866136d1565b9050818103604083015261485e81856136d1565b905061486d60608301846142d6565b95945050505050565b6000604051905081810181811067ffffffffffffffff8211171561489d5761489c614c3f565b5b8060405250919050565b600067ffffffffffffffff8211156148c2576148c1614c3f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148f2576148f1614c3f565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061496a82614a84565b915061497583614a84565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149aa576149a9614bb2565b5b828201905092915050565b60006149c082614a84565b91506149cb83614a84565b9250826149db576149da614be1565b5b828204905092915050565b60006149f182614a84565b91506149fc83614a84565b925082821015614a0f57614a0e614bb2565b5b828203905092915050565b6000614a2582614a64565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614a9982614aa0565b9050919050565b6000614aab82614a64565b9050919050565b6000614abd82614a84565b9050919050565b82818337600083830152505050565b60005b83811015614af1578082015181840152602081019050614ad6565b83811115614b00576000848401525b50505050565b60006002820490506001821680614b1e57607f821691505b60208210811415614b3257614b31614c10565b5b50919050565b6000614b4382614a84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b7657614b75614bb2565b5b600182019050919050565b6000614b8c82614a84565b9150614b9783614a84565b925082614ba757614ba6614be1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614c8881614a1a565b8114614c9357600080fd5b50565b614c9f81614a2c565b8114614caa57600080fd5b50565b614cb681614a38565b8114614cc157600080fd5b50565b614ccd81614a84565b8114614cd857600080fd5b5056fea2646970667358221220f660242ee808c7df4156ade858b554118003975113ed41fb2a7093b5f666539c64736f6c63430008000033

Deployed Bytecode

0x6080604052600436106101d15760003560e01c806370a08231116100f7578063c87b56dd11610095578063e985e9c511610064578063e985e9c514610729578063ea598cb014610766578063f14210a614610782578063f2fde38b146107ab5761026f565b8063c87b56dd1461066b578063cfc86f7b146106a8578063d04877fa146106d3578063e8a3d485146106fe5761026f565b806395d89b41116100d157806395d89b41146105c3578063a22cb465146105ee578063a515caaa14610617578063b88d4fde146106425761026f565b806370a0823114610544578063715018a6146105815780638da5cb5b146105985761026f565b8063268b19301161016f5780635c242f951161013e5780635c242f95146104755780635f3d784d146104b35780636352211e146104de5780636e2866711461051b5761026f565b8063268b1930146103bd57806330176e13146103fa578063345dadeb1461042357806342842e0e1461044c5761026f565b8063095ea7b3116101ab578063095ea7b314610319578063147c07181461034257806315ae07381461036b57806323b872dd146103945761026f565b806301ffc9a71461027457806306fdde03146102b1578063081812fc146102dc5761026f565b3661026f57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166102176107d4565b73ffffffffffffffffffffffffffffffffffffffff161461026d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026490614735565b60405180910390fd5b005b600080fd5b34801561028057600080fd5b5061029b600480360381019061029691906134e5565b6107dc565b6040516102a891906143bd565b60405180910390f35b3480156102bd57600080fd5b506102c66108be565b6040516102d391906143f3565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613578565b610950565b604051610310919061432d565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b91906134a9565b6109d5565b005b34801561034e57600080fd5b5061036960048036038101906103649190613537565b610aed565b005b34801561037757600080fd5b50610392600480360381019061038d9190613537565b610b83565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613310565b610c19565b005b3480156103c957600080fd5b506103e460048036038101906103df9190613578565b610c79565b6040516103f191906147b5565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c9190613537565b610d96565b005b34801561042f57600080fd5b5061044a600480360381019061044591906135a1565b610e2c565b005b34801561045857600080fd5b50610473600480360381019061046e9190613310565b610f46565b005b34801561048157600080fd5b5061049c60048036038101906104979190613578565b610f66565b6040516104aa929190614394565b60405180910390f35b3480156104bf57600080fd5b506104c8610faa565b6040516104d5919061432d565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190613578565b610fd0565b604051610512919061432d565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613620565b611082565b005b34801561055057600080fd5b5061056b600480360381019061056691906132ab565b611440565b60405161057891906147b5565b60405180910390f35b34801561058d57600080fd5b506105966114f8565b005b3480156105a457600080fd5b506105ad611580565b6040516105ba919061432d565b60405180910390f35b3480156105cf57600080fd5b506105d86115a9565b6040516105e591906143f3565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906133da565b61163b565b005b34801561062357600080fd5b5061062c6117bc565b60405161063991906143f3565b60405180910390f35b34801561064e57600080fd5b506106696004803603810190610664919061335f565b61184a565b005b34801561067757600080fd5b50610692600480360381019061068d9190613578565b6118ac565b60405161069f91906143f3565b60405180910390f35b3480156106b457600080fd5b506106bd6118e3565b6040516106ca91906143f3565b60405180910390f35b3480156106df57600080fd5b506106e8611971565b6040516106f591906143d8565b60405180910390f35b34801561070a57600080fd5b50610713611997565b60405161072091906143f3565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b91906132d4565b6119bf565b60405161075d91906143bd565b60405180910390f35b610780600480360381019061077b9190613578565b611a53565b005b34801561078e57600080fd5b506107a960048036038101906107a49190613578565b611ea4565b005b3480156107b757600080fd5b506107d260048036038101906107cd91906132ab565b61215b565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b757506108b682612253565b5b9050919050565b6060600180546108cd90614b06565b80601f01602080910402602001604051908101604052809291908181526020018280546108f990614b06565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b5050505050905090565b600061095b826122bd565b61099a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610991906145d5565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109e082610fd0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890614635565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a706107d4565b73ffffffffffffffffffffffffffffffffffffffff161480610a9f5750610a9e81610a996107d4565b6119bf565b5b610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590614515565b60405180910390fd5b610ae88383612329565b505050565b610af56107d4565b73ffffffffffffffffffffffffffffffffffffffff16610b13611580565b73ffffffffffffffffffffffffffffffffffffffff1614610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b60906145f5565b60405180910390fd5b80600b9080519060200190610b7f92919061303d565b5050565b610b8b6107d4565b73ffffffffffffffffffffffffffffffffffffffff16610ba9611580565b73ffffffffffffffffffffffffffffffffffffffff1614610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf6906145f5565b60405180910390fd5b80600a9080519060200190610c1592919061303d565b5050565b610c2a610c246107d4565b826123e2565b610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6090614655565b60405180910390fd5b610c748383836124c0565b505050565b600080600c600084815260200190815260200160002090506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114856040518263ffffffff1660e01b8152600401610cee91906147b5565b60006040518083038186803b158015610d0657600080fd5b505afa158015610d1a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610d439190613416565b50505090503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d8757600092505050610d91565b8160010154925050505b919050565b610d9e6107d4565b73ffffffffffffffffffffffffffffffffffffffff16610dbc611580565b73ffffffffffffffffffffffffffffffffffffffff1614610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e09906145f5565b60405180910390fd5b8060099080519060200190610e2892919061303d565b5050565b610e35836122bd565b610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b906146f5565b60405180910390fd5b6000610e7f84610fd0565b9050610e896107d4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90614715565b60405180910390fd5b610f0184848461271c565b610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f37906144d5565b60405180910390fd5b50505050565b610f618383836040518060200160405280600081525061184a565b505050565b600c6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090614555565b60405180910390fd5b80915050919050565b61108b826122bd565b6110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c1906146d5565b60405180910390fd5b60006110d583610fd0565b90506110df6107d4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390614715565b60405180910390fd5b6000806000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114876040518263ffffffff1660e01b81526004016111ac91906147b5565b60006040518083038186803b1580156111c457600080fd5b505afa1580156111d8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112019190613416565b509250925092503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90614575565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663678d9758878484896040518563ffffffff1660e01b81526004016112d79493929190614823565b600060405180830381600087803b1580156112f157600080fd5b505af1158015611305573d6000803e3d6000fd5b50505050611312866128e2565b61131b866122bd565b1561135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290614755565b60405180910390fd5b604051806040016040528061136e6107d4565b73ffffffffffffffffffffffffffffffffffffffff16815260200186815250600c600088815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155905050853373ffffffffffffffffffffffffffffffffffffffff167f95ae649bfaaef9def56a52f4fb2d9e8fa5496bb7082930e442c74cc76b03dcb360405160405180910390a3505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a890614535565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115006107d4565b73ffffffffffffffffffffffffffffffffffffffff1661151e611580565b73ffffffffffffffffffffffffffffffffffffffff1614611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b906145f5565b60405180910390fd5b61157e60006129f3565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115b890614b06565b80601f01602080910402602001604051908101604052809291908181526020018280546115e490614b06565b80156116315780601f1061160657610100808354040283529160200191611631565b820191906000526020600020905b81548152906001019060200180831161161457829003601f168201915b5050505050905090565b6116436107d4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906144b5565b60405180910390fd5b80600660006116be6107d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661176b6107d4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117b091906143bd565b60405180910390a35050565b600a80546117c990614b06565b80601f01602080910402602001604051908101604052809291908181526020018280546117f590614b06565b80156118425780601f1061181757610100808354040283529160200191611842565b820191906000526020600020905b81548152906001019060200180831161182557829003601f168201915b505050505081565b61185b6118556107d4565b836123e2565b61189a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189190614655565b60405180910390fd5b6118a684848484612ab7565b50505050565b606060096118b983612b13565b600b6040516020016118cd939291906142fc565b6040516020818303038152906040529050919050565b600980546118f090614b06565b80601f016020809104026020016040519081016040528092919081815260200182805461191c90614b06565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b505050505081565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600a6040516020016119ab91906142e5565b604051602081830303815290604052905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a5c816122bd565b15611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390614775565b60405180910390fd5b6000611aa782610c79565b14611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade906145b5565b60405180910390fd5b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114846040518263ffffffff1660e01b8152600401611b4591906147b5565b60006040518083038186803b158015611b5d57600080fd5b505afa158015611b71573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611b9a9190613416565b935050509150611ba86107d4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161480611c0d5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4390614795565b60405180910390fd5b348114611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c85906146b5565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663329ce29e34856040518363ffffffff1660e01b8152600401611cea91906147b5565b6000604051808303818588803b158015611d0357600080fd5b505af1158015611d17573d6000803e3d6000fd5b5050505050600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114866040518263ffffffff1660e01b8152600401611d7a91906147b5565b60006040518083038186803b158015611d9257600080fd5b505afa158015611da6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611dcf9190613416565b935050509150600081148015611e1057503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4690614455565b60405180910390fd5b611e593386612cc0565b843373ffffffffffffffffffffffffffffffffffffffff167f4700c1726b4198077cd40320a32c45265a1910521eb0ef713dd1d8412413d7fc60405160405180910390a35050505050565b6000600c600083815260200190815260200160002090506000600c6000848152602001908152602001600020600101549050611ede6107d4565b73ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6690614675565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114856040518263ffffffff1660e01b8152600401611fcc91906147b5565b60006040518083038186803b158015611fe457600080fd5b505afa158015611ff8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120219190613416565b50505090503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614695565b60405180910390fd5b6000600c600086815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600c60008681526020019081526020016000206001018190555061210f6107d4565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612154573d6000803e3d6000fd5b5050505050565b6121636107d4565b73ffffffffffffffffffffffffffffffffffffffff16612181611580565b73ffffffffffffffffffffffffffffffffffffffff16146121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce906145f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90614435565b60405180910390fd5b612250816129f3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661239c83610fd0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123ed826122bd565b61242c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612423906144f5565b60405180910390fd5b600061243783610fd0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124a657508373ffffffffffffffffffffffffffffffffffffffff1661248e84610950565b73ffffffffffffffffffffffffffffffffffffffff16145b806124b757506124b681856119bf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124e082610fd0565b73ffffffffffffffffffffffffffffffffffffffff1614612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90614615565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259d90614495565b60405180910390fd5b6125b1838383612e8e565b6125bc600082612329565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260c91906149e6565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612663919061495f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a97cc114866040518263ffffffff1660e01b815260040161277a91906147b5565b60006040518083038186803b15801561279257600080fd5b505afa1580156127a6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127cf9190613416565b50505090503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283990614575565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663678d975886868660006040518563ffffffff1660e01b81526004016128a494939291906147d0565b600060405180830381600087803b1580156128be57600080fd5b505af11580156128d2573d6000803e3d6000fd5b5050505060019150509392505050565b60006128ed82610fd0565b90506128fb81600084612e8e565b612906600083612329565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461295691906149e6565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ac28484846124c0565b612ace84848484612e93565b612b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0490614415565b60405180910390fd5b50505050565b60606000821415612b5b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cbb565b600082905060005b60008214612b8d578080612b7690614b38565b915050600a82612b8691906149b5565b9150612b63565b60008167ffffffffffffffff811115612bcf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c015781602001600182028036833780820191505090505b5090505b60008514612cb457600182612c1a91906149e6565b9150600a85612c299190614b81565b6030612c35919061495f565b60f81b818381518110612c71577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cad91906149b5565b9450612c05565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2790614595565b60405180910390fd5b612d39816122bd565b15612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7090614475565b60405180910390fd5b612d8560008383612e8e565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd5919061495f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6000612eb48473ffffffffffffffffffffffffffffffffffffffff1661302a565b1561301d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612edd6107d4565b8786866040518563ffffffff1660e01b8152600401612eff9493929190614348565b602060405180830381600087803b158015612f1957600080fd5b505af1925050508015612f4a57506040513d601f19601f82011682018060405250810190612f47919061350e565b60015b612fcd573d8060008114612f7a576040519150601f19603f3d011682016040523d82523d6000602084013e612f7f565b606091505b50600081511415612fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbc90614415565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613022565b600190505b949350505050565b600080823b905060008111915050919050565b82805461304990614b06565b90600052602060002090601f01602090048101928261306b57600085556130b2565b82601f1061308457805160ff19168380011785556130b2565b828001600101855582156130b2579182015b828111156130b1578251825591602001919060010190613096565b5b5090506130bf91906130c3565b5090565b5b808211156130dc5760008160009055506001016130c4565b5090565b60006130f36130ee846148a7565b614876565b90508281526020810184848401111561310b57600080fd5b613116848285614ac4565b509392505050565b600061313161312c846148d7565b614876565b90508281526020810184848401111561314957600080fd5b613154848285614ac4565b509392505050565b600061316f61316a846148d7565b614876565b90508281526020810184848401111561318757600080fd5b613192848285614ad3565b509392505050565b6000813590506131a981614c7f565b92915050565b6000815190506131be81614c7f565b92915050565b6000813590506131d381614c96565b92915050565b6000813590506131e881614cad565b92915050565b6000815190506131fd81614cad565b92915050565b600082601f83011261321457600080fd5b81356132248482602086016130e0565b91505092915050565b600082601f83011261323e57600080fd5b813561324e84826020860161311e565b91505092915050565b600082601f83011261326857600080fd5b815161327884826020860161315c565b91505092915050565b60008135905061329081614cc4565b92915050565b6000815190506132a581614cc4565b92915050565b6000602082840312156132bd57600080fd5b60006132cb8482850161319a565b91505092915050565b600080604083850312156132e757600080fd5b60006132f58582860161319a565b92505060206133068582860161319a565b9150509250929050565b60008060006060848603121561332557600080fd5b60006133338682870161319a565b93505060206133448682870161319a565b925050604061335586828701613281565b9150509250925092565b6000806000806080858703121561337557600080fd5b60006133838782880161319a565b94505060206133948782880161319a565b93505060406133a587828801613281565b925050606085013567ffffffffffffffff8111156133c257600080fd5b6133ce87828801613203565b91505092959194509250565b600080604083850312156133ed57600080fd5b60006133fb8582860161319a565b925050602061340c858286016131c4565b9150509250929050565b6000806000806080858703121561342c57600080fd5b600061343a878288016131af565b945050602085015167ffffffffffffffff81111561345757600080fd5b61346387828801613257565b935050604085015167ffffffffffffffff81111561348057600080fd5b61348c87828801613257565b925050606061349d87828801613296565b91505092959194509250565b600080604083850312156134bc57600080fd5b60006134ca8582860161319a565b92505060206134db85828601613281565b9150509250929050565b6000602082840312156134f757600080fd5b6000613505848285016131d9565b91505092915050565b60006020828403121561352057600080fd5b600061352e848285016131ee565b91505092915050565b60006020828403121561354957600080fd5b600082013567ffffffffffffffff81111561356357600080fd5b61356f8482850161322d565b91505092915050565b60006020828403121561358a57600080fd5b600061359884828501613281565b91505092915050565b6000806000606084860312156135b657600080fd5b60006135c486828701613281565b935050602084013567ffffffffffffffff8111156135e157600080fd5b6135ed8682870161322d565b925050604084013567ffffffffffffffff81111561360a57600080fd5b6136168682870161322d565b9150509250925092565b6000806040838503121561363357600080fd5b600061364185828601613281565b925050602061365285828601613281565b9150509250929050565b61366581614a1a565b82525050565b61367481614a2c565b82525050565b60006136858261491c565b61368f8185614932565b935061369f818560208601614ad3565b6136a881614c6e565b840191505092915050565b6136bc81614a8e565b82525050565b6136cb81614ab2565b82525050565b60006136dc82614927565b6136e68185614943565b93506136f6818560208601614ad3565b6136ff81614c6e565b840191505092915050565b600061371582614927565b61371f8185614954565b935061372f818560208601614ad3565b80840191505092915050565b6000815461374881614b06565b6137528186614954565b9450600182166000811461376d576001811461377e576137b1565b60ff198316865281860193506137b1565b61378785614907565b60005b838110156137a95781548189015260018201915060208101905061378a565b838801955050505b50505092915050565b60006137c7603283614943565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061382d602683614943565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613893602b83614943565b91507f506978656c4d6170577261707065723a205072696365206f72204f776e65722060008301527f6e6f7420557064617465640000000000000000000000000000000000000000006020830152604082019050919050565b60006138f9601c83614943565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613939602483614943565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061399f601983614943565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006139df602783614943565b91507f506978656c4d6170577261707065723a20436f756c646e27742073657420546960008301527f6c652044617461000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a45602c83614943565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613aab603883614943565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613b11602a83614943565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b77602983614943565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bdd603083614943565b91507f506978656c4d6170577261707065723a2054696c65204f776e6572206973206e60008301527f6f74207468697320636f6e7472616374000000000000000000000000000000006020830152604082019050919050565b6000613c43602083614943565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613c83603383614943565b91507f506978656c4d6170577261707065723a205468657265206973207374696c6c2060008301527f45544820746f2062652077697468647261776e000000000000000000000000006020830152604082019050919050565b6000613ce9602c83614943565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d4f602083614943565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613d8f602983614943565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613df5602183614943565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e5b603183614943565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ec1603583614943565b91507f506978656c4d6170577261707065723a20796f7520617265206e6f742074686560008301527f207265636569766572206f6620746869732065746800000000000000000000006020830152604082019050919050565b6000613f27604583614943565b91507f506978656c4d6170577261707065723a2054696c65204f776e6572206973207460008301527f68697320636f6e74726163742c206e6f74207375636365737366756c6c20726560208301527f2d73656c6c0000000000000000000000000000000000000000000000000000006040830152606082019050919050565b6000613fb3602483614943565b91507f506978656c4d6170577261707065723a205072696365206e6f74206964656e7460008301527f6963616c000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614019603583614943565b91507f506978656c4d6170577261707065723a206f70657261746f722071756572792060008301527f666f72206e6f6e6578697374656e7420746f6b656e00000000000000000000006020830152604082019050919050565b600061407f602e83614943565b91507f506978656c4d6170577261707065723a204c6f636174696f6e20686173206e6f60008301527f74206265656e20777261707065640000000000000000000000000000000000006020830152604082019050919050565b60006140e5602683614943565b91507f506978656c4d6170577261707065723a20596f7520617265206e6f742074686560008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061414b602f83614943565b91507f506978656c4d6170577261707065723a2053656e6465722069736e277420706960008301527f78656c6d617020636f6e747261637400000000000000000000000000000000006020830152604082019050919050565b60006141b1603483614943565b91507f506978656c4d6170577261707065723a20455243373231204c6f636174696f6e60008301527f20686173206e6f74206265656e206275726e65640000000000000000000000006020830152604082019050919050565b6000614217603483614943565b91507f506978656c4d6170577261707065723a20596f752063616e6e6f74206d696e7460008301527f207468652073616d65206c6f636174696f6e49440000000000000000000000006020830152604082019050919050565b600061427d602c83614943565b91507f506978656c4d6170577261707065723a20596f7520617265206e6f742074686560008301527f206f776e6572206f7220697400000000000000000000000000000000000000006020830152604082019050919050565b6142df81614a84565b82525050565b60006142f1828461373b565b915081905092915050565b6000614308828661373b565b9150614314828561370a565b9150614320828461373b565b9150819050949350505050565b6000602082019050614342600083018461365c565b92915050565b600060808201905061435d600083018761365c565b61436a602083018661365c565b61437760408301856142d6565b8181036060830152614389818461367a565b905095945050505050565b60006040820190506143a9600083018561365c565b6143b660208301846142d6565b9392505050565b60006020820190506143d2600083018461366b565b92915050565b60006020820190506143ed60008301846136b3565b92915050565b6000602082019050818103600083015261440d81846136d1565b905092915050565b6000602082019050818103600083015261442e816137ba565b9050919050565b6000602082019050818103600083015261444e81613820565b9050919050565b6000602082019050818103600083015261446e81613886565b9050919050565b6000602082019050818103600083015261448e816138ec565b9050919050565b600060208201905081810360008301526144ae8161392c565b9050919050565b600060208201905081810360008301526144ce81613992565b9050919050565b600060208201905081810360008301526144ee816139d2565b9050919050565b6000602082019050818103600083015261450e81613a38565b9050919050565b6000602082019050818103600083015261452e81613a9e565b9050919050565b6000602082019050818103600083015261454e81613b04565b9050919050565b6000602082019050818103600083015261456e81613b6a565b9050919050565b6000602082019050818103600083015261458e81613bd0565b9050919050565b600060208201905081810360008301526145ae81613c36565b9050919050565b600060208201905081810360008301526145ce81613c76565b9050919050565b600060208201905081810360008301526145ee81613cdc565b9050919050565b6000602082019050818103600083015261460e81613d42565b9050919050565b6000602082019050818103600083015261462e81613d82565b9050919050565b6000602082019050818103600083015261464e81613de8565b9050919050565b6000602082019050818103600083015261466e81613e4e565b9050919050565b6000602082019050818103600083015261468e81613eb4565b9050919050565b600060208201905081810360008301526146ae81613f1a565b9050919050565b600060208201905081810360008301526146ce81613fa6565b9050919050565b600060208201905081810360008301526146ee8161400c565b9050919050565b6000602082019050818103600083015261470e81614072565b9050919050565b6000602082019050818103600083015261472e816140d8565b9050919050565b6000602082019050818103600083015261474e8161413e565b9050919050565b6000602082019050818103600083015261476e816141a4565b9050919050565b6000602082019050818103600083015261478e8161420a565b9050919050565b600060208201905081810360008301526147ae81614270565b9050919050565b60006020820190506147ca60008301846142d6565b92915050565b60006080820190506147e560008301876142d6565b81810360208301526147f781866136d1565b9050818103604083015261480b81856136d1565b905061481a60608301846136c2565b95945050505050565b600060808201905061483860008301876142d6565b818103602083015261484a81866136d1565b9050818103604083015261485e81856136d1565b905061486d60608301846142d6565b95945050505050565b6000604051905081810181811067ffffffffffffffff8211171561489d5761489c614c3f565b5b8060405250919050565b600067ffffffffffffffff8211156148c2576148c1614c3f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148f2576148f1614c3f565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061496a82614a84565b915061497583614a84565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149aa576149a9614bb2565b5b828201905092915050565b60006149c082614a84565b91506149cb83614a84565b9250826149db576149da614be1565b5b828204905092915050565b60006149f182614a84565b91506149fc83614a84565b925082821015614a0f57614a0e614bb2565b5b828203905092915050565b6000614a2582614a64565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614a9982614aa0565b9050919050565b6000614aab82614a64565b9050919050565b6000614abd82614a84565b9050919050565b82818337600083830152505050565b60005b83811015614af1578082015181840152602081019050614ad6565b83811115614b00576000848401525b50505050565b60006002820490506001821680614b1e57607f821691505b60208210811415614b3257614b31614c10565b5b50919050565b6000614b4382614a84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b7657614b75614bb2565b5b600182019050919050565b6000614b8c82614a84565b9150614b9783614a84565b925082614ba757614ba6614be1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614c8881614a1a565b8114614c9357600080fd5b50565b614c9f81614a2c565b8114614caa57600080fd5b50565b614cb681614a38565b8114614cc157600080fd5b50565b614ccd81614a84565b8114614cd857600080fd5b5056fea2646970667358221220f660242ee808c7df4156ade858b554118003975113ed41fb2a7093b5f666539c64736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Recently rediscovered NFT project that launched on Ethereum on November 17, 2016. PixelMap is the first NFT to store image data directly on the Ethereum blockchain.

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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