ETH Price: $2,288.58 (-0.32%)

Contract

0xF8dB73CD12D8066e43680598e9864BBb8Ce7cAF7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...202828222024-07-11 10:59:3558 days ago1720695575IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000199354.26926159
Set Approval For...194949822024-03-23 4:40:59169 days ago1711168859IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0004085916.48620891
Set Approval For...194949822024-03-23 4:40:59169 days ago1711168859IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000407216.48620891
Set Approval For...192663432024-02-20 3:49:23201 days ago1708400963IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0011604624.89636045
Set Approval For...170597322023-04-16 13:26:47510 days ago1681651607IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0010851623.28075869
Set Approval For...168121282023-03-12 13:05:35545 days ago1678626335IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0004956718.50636008
Set Approval For...168121282023-03-12 13:05:35545 days ago1678626335IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0004586618.50636008
Set Approval For...159863672022-11-17 1:10:11661 days ago1668647411IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0007371515.81471511
Set Approval For...159807182022-11-16 6:12:47662 days ago1668579167IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0007513516.11944136
Set Approval For...158013162022-10-22 4:40:35687 days ago1666413635IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0008386117.99144157
Set Approval For...157329892022-10-12 15:41:47696 days ago1665589307IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0008860419.00902733
Safe Transfer Fr...156966662022-10-07 13:57:11701 days ago1665151031IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0011662410.68401862
Set Base Token U...156951512022-10-07 8:52:11701 days ago1665132731IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000164155.10668449
Set Approval For...156499992022-10-01 1:21:35708 days ago1664587295IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000413688.87506364
Set Approval For...155123182022-09-11 2:27:45728 days ago1662863265IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000355897.63532004
Set Approval For...153349482022-08-13 18:12:44756 days ago1660414364IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0002649510.69045986
Set Approval For...153348252022-08-13 17:49:29756 days ago1660412969IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000433959.29312197
Set Approval For...153006442022-08-08 9:05:00761 days ago1659949500IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0005108610.9599769
Set Approval For...152365922022-07-29 9:36:37771 days ago1659087397IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0004766710.22652443
Set Approval For...152359222022-07-29 7:03:45772 days ago1659078225IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0006620214.20286971
Set Approval For...151997982022-07-23 15:42:58777 days ago1658590978IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0005553711.91483813
Set Approval For...151969082022-07-23 4:55:53778 days ago1658552153IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.00039788.53432509
Set Approval For...151943722022-07-22 19:40:26778 days ago1658518826IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.0007581216.26460361
Set Approval For...151591012022-07-17 8:27:00783 days ago1658046420IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000238979.67506824
Transfer From151400272022-07-14 9:46:12786 days ago1657791972IN
0xF8dB73CD...b8Ce7cAF7
0 ETH0.000764127.18947998
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZeroXZeroFactory

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : ZeroXZeroFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; 

contract ZeroXZeroFactory is ERC721, ERC721URIStorage, Ownable { 
    
    bool public presaleActive = true;
    bool public saleActive = false;
    bool public claimActive = true;

    string internal baseTokenURI = "https://0x0.gg/0x0AVA/nullbaysea/ADay/metadata/";

    uint public presalePrice = 0 ether;
    uint public price = 0 ether;
    uint public mintSupply = 366;
    uint public claimSupply = 0;
    uint public nonce = 0;
    uint public maxTx = 2;
    address public signerAddress = 0x82078e077526409D7057d533bD9eb722ea8Da2F2;
    
    mapping(address => uint[]) private ownership;
    mapping(address => uint) public holders;
    mapping(address => mapping(uint => uint)) internal blockMints;
    mapping(bytes => bool) public _ticketUsed;
    
    event Mint(address owner, uint qty);
    event Withdraw(uint amount);
    
    struct Holders {
        address wallet;
        uint qty;
    }
    
    modifier onlyHolders() {
        require(holders[_msgSender()] > 0, "ONLY HOLDERS");
        _;
    }
///////////
    constructor() ERC721("NULLBAYSEA", "NULLBAYSEA") {}

    function safeMint(address to, uint256 tokenId) public onlyOwner {
        _safeMint(to, tokenId);
    }

    // The following functions are overrides required by Solidity.

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }
///////////////    
    
    function setPresalePrice(uint newPrice) external onlyOwner {
        presalePrice = newPrice;
    }
    
    function setPrice(uint newPrice) external onlyOwner {
        price = newPrice;
    }
    
    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }

    function setTokenURI(uint256 tokenId, string calldata _tokenURI) external onlyOwner {
        _setTokenURI(tokenId, _tokenURI);
    }
    function setMintSupply(uint newSupply) external onlyOwner {
        mintSupply = newSupply;
    }

    function setClaimSupply(uint newSupply) external onlyOwner {
        claimSupply = newSupply;
    }
    
    function setMaxTx(uint newMax) external onlyOwner {
        maxTx = newMax;
    }

    function setPresaleActive(bool val) public onlyOwner {
        presaleActive = val;
    }
    
    function setSaleActive(bool val) public onlyOwner {
        saleActive = val;
    }

    function setClaimActive(bool val) public onlyOwner {
        claimActive = val;
    }
    
    function getTokenIdsByOwner(address _owner) public view returns(uint[] memory) {
        return ownership[_owner];
    }

    function _baseURI() internal override view returns (string memory) {
        return baseTokenURI;
    }
/////////////// Presale
    function presale(
        bytes memory _ticket,
        bytes memory _signature,
        uint qty
    ) public payable {
        require(!_ticketUsed[_ticket], "ticket has already been used");

        require(
            isAuthorized(
                msg.sender,
                _ticket,
                _signature,
                signerAddress
            ),
            "WL authorization failed"
        );
        require(presaleActive, 'presale is not active');
        require(qty <= maxTx || qty < 1, "TX: qty of mints not allowed");
        require(msg.value == presalePrice * qty, "PAYMENT: invalid value");
        require(mintSupply >= qty, "Sold out");
        mintSupply -= qty;
        _create(_msgSender(), qty);
        emit Mint(_msgSender(), qty);
        _ticketUsed[_ticket] = true;
    }
    using ECDSA for bytes32;
    function isAuthorized(
        address sender, 
        bytes memory ticket, 
        bytes memory signature,
        address _signerAddress 
    ) private pure returns (bool) {
        bytes32 hash = keccak256(abi.encodePacked(ticket, sender));
        bytes32 ethSignedHash = hash.toEthSignedMessageHash();
        return _signerAddress == ethSignedHash.recover(signature);
    }
/////////////// Public Sale        
    function buy(uint qty) external payable {
        require(saleActive, 'Sale is not active');
        require(qty <= maxTx || qty < 1, "TX: qty of mints not allowed");
        require(msg.value >= price * qty, "PAYMENT: invalid value");
        require(mintSupply >= qty, "Sold out");
        mintSupply -= qty;
        _create(_msgSender(), qty);
        emit Mint(_msgSender(), qty);
    }
    
    function addHolders(address[] calldata holders_, uint[] calldata qty) external onlyOwner {
        for(uint i=0; i< holders_.length; i++){
            holders[holders_[i]] = qty[i];
        }
    }
    
    function claim() external onlyHolders {
        require(claimActive, 'Claim is not active');
        uint qty = holders[_msgSender()];
        require(claimSupply >= qty, "Claim over");
        holders[_msgSender()] = 0;
        claimSupply -= qty;
        _create(_msgSender(), qty);
    }
    
    function giveaway(address to, uint qty, bool fromHolders) external onlyOwner {
        if(fromHolders){
             require(claimSupply >= qty, "Claim over");
             claimSupply -= qty;
        }
        _create(to,qty);
        
    }
    
    function _create(address to, uint qty) internal {
        for(uint i = 0; i < qty; i++){
            nonce++;
            _safeMint(to, nonce);
        }
    }

    function withdrawTeam() external onlyOwner {
        uint balance = address(this).balance;
        payable(0x84FEf9a9D40C27bc6C269EC9227B5451F495EF34).transfer((balance * 70 )/100);
        payable(0x9612460DC35a7261c6FdB193A722cFb2dA2E5b3c).transfer((balance * 30 )/100);
    }
    
    function withdraw() external onlyOwner {
        payable(_msgSender()).transfer(address(this).balance);
    }
    
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        if(from != address(0)){
            uint[] memory tokens = ownership[from];
            for(uint i=0;i<tokens.length;i++){
                if(tokens[i] == tokenId){
                    delete ownership[from][i];
                    break;
                }
            }
        }
        if(to != address(0)){
            ownership[to].push(tokenId);
        }
    }
    
}

File 2 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 3 of 13 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 4 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"Mint","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"_ticketUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"holders_","type":"address[]"},{"internalType":"uint256[]","name":"qty","type":"uint256[]"}],"name":"addHolders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokenIdsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bool","name":"fromHolders","type":"bool"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holders","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":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes","name":"_ticket","type":"bytes"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setClaimActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setClaimSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTeam","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600760146101000a81548160ff0219169083151502179055506000600760156101000a81548160ff0219169083151502179055506001600760166101000a81548160ff0219169083151502179055506040518060600160405280602f8152602001620060c4602f913960089080519060200190620000869291906200029d565b5060006009556000600a5561016e600b556000600c556000600d556002600e557382078e077526409d7057d533bd9eb722ea8da2f2600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200010857600080fd5b506040518060400160405280600a81526020017f4e554c4c424159534541000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f4e554c4c4241595345410000000000000000000000000000000000000000000081525081600090805190602001906200018d9291906200029d565b508060019080519060200190620001a69291906200029d565b505050620001c9620001bd620001cf60201b60201c565b620001d760201b60201c565b620003b2565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ab906200037c565b90600052602060002090601f016020900481019282620002cf57600085556200031b565b82601f10620002ea57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031a578251825591602001919060010190620002fd565b5b5090506200032a91906200032e565b5090565b5b80821115620003495760008160009055506001016200032f565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039557607f821691505b60208210811415620003ac57620003ab6200034d565b5b50919050565b615d0280620003c26000396000f3fe6080604052600436106102875760003560e01c806368428a1b1161015a578063a1448194116100c1578063bc3371821161007a578063bc3371821461096c578063c87b56dd14610995578063d4a6a2fd146109d2578063d96a094a146109fd578063e985e9c514610a19578063f2fde38b14610a5657610287565b8063a144819414610886578063a22cb465146108af578063ac568e84146108d8578063affed0e014610901578063b88d4fde1461092c578063bb51f32d1461095557610287565b80637d4437c0116101135780637d4437c01461078a578063841718a6146107b35780638da5cb5b146107dc57806391b7f5ed1461080757806395d89b4114610830578063a035b1fe1461085b57610287565b806368428a1b1461067a5780636970bb0a146106a557806370a08231146106e2578063715018a61461071f57806373417b09146107365780637437681e1461075f57610287565b806323b872dd116101fe57806342842e0e116101b757806342842e0e1461058b5780634e71d92d146105b457806353135ca0146105cb5780635b7633d0146105f65780636352211e14610621578063652567671461065e57610287565b806323b872dd146104a75780632a3e67fc146104d057806330176e13146104f95780633549345e146105225780633ccfd60b1461054b5780633f8121a21461056257610287565b8063081812fc11610250578063081812fc14610387578063095ea7b3146103c45780630ad29ec3146103ed578063162094c41461041857806318a5bbdc1461044157806322e8d8cd1461047e57610287565b80620e7fa81461028c57806301ffc9a7146102b7578063045b7dca146102f457806306fdde031461031f5780630801dded1461034a575b600080fd5b34801561029857600080fd5b506102a1610a7f565b6040516102ae9190613cec565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d99190613d73565b610a85565b6040516102eb9190613dbb565b60405180910390f35b34801561030057600080fd5b50610309610b67565b6040516103169190613cec565b60405180910390f35b34801561032b57600080fd5b50610334610b6d565b6040516103419190613e6f565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190613fc6565b610bff565b60405161037e9190613dbb565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a9919061403b565b610c35565b6040516103bb91906140a9565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e691906140f0565b610cba565b005b3480156103f957600080fd5b50610402610dd2565b60405161040f9190613cec565b60405180910390f35b34801561042457600080fd5b5061043f600480360381019061043a9190614190565b610dd8565b005b34801561044d57600080fd5b50610468600480360381019061046391906141f0565b610ea7565b6040516104759190613cec565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a0919061403b565b610ebf565b005b3480156104b357600080fd5b506104ce60048036038101906104c9919061421d565b610f45565b005b3480156104dc57600080fd5b506104f760048036038101906104f2919061429c565b610fa5565b005b34801561050557600080fd5b50610520600480360381019061051b91906142ef565b611095565b005b34801561052e57600080fd5b506105496004803603810190610544919061403b565b611127565b005b34801561055757600080fd5b506105606111ad565b005b34801561056e57600080fd5b506105896004803603810190610584919061433c565b611279565b005b34801561059757600080fd5b506105b260048036038101906105ad919061421d565b611312565b005b3480156105c057600080fd5b506105c9611332565b005b3480156105d757600080fd5b506105e0611513565b6040516105ed9190613dbb565b60405180910390f35b34801561060257600080fd5b5061060b611526565b60405161061891906140a9565b60405180910390f35b34801561062d57600080fd5b506106486004803603810190610643919061403b565b61154c565b60405161065591906140a9565b60405180910390f35b61067860048036038101906106739190614369565b6115fe565b005b34801561068657600080fd5b5061068f6118b0565b60405161069c9190613dbb565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906141f0565b6118c3565b6040516106d991906144b2565b60405180910390f35b3480156106ee57600080fd5b50610709600480360381019061070491906141f0565b61195a565b6040516107169190613cec565b60405180910390f35b34801561072b57600080fd5b50610734611a12565b005b34801561074257600080fd5b5061075d6004803603810190610758919061433c565b611a9a565b005b34801561076b57600080fd5b50610774611b33565b6040516107819190613cec565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac9190614580565b611b39565b005b3480156107bf57600080fd5b506107da60048036038101906107d5919061433c565b611c61565b005b3480156107e857600080fd5b506107f1611cfa565b6040516107fe91906140a9565b60405180910390f35b34801561081357600080fd5b5061082e6004803603810190610829919061403b565b611d24565b005b34801561083c57600080fd5b50610845611daa565b6040516108529190613e6f565b60405180910390f35b34801561086757600080fd5b50610870611e3c565b60405161087d9190613cec565b60405180910390f35b34801561089257600080fd5b506108ad60048036038101906108a891906140f0565b611e42565b005b3480156108bb57600080fd5b506108d660048036038101906108d19190614601565b611ecc565b005b3480156108e457600080fd5b506108ff60048036038101906108fa919061403b565b611ee2565b005b34801561090d57600080fd5b50610916611f68565b6040516109239190613cec565b60405180910390f35b34801561093857600080fd5b50610953600480360381019061094e9190614641565b611f6e565b005b34801561096157600080fd5b5061096a611fd0565b005b34801561097857600080fd5b50610993600480360381019061098e919061403b565b61213a565b005b3480156109a157600080fd5b506109bc60048036038101906109b7919061403b565b6121c0565b6040516109c99190613e6f565b60405180910390f35b3480156109de57600080fd5b506109e76121d2565b6040516109f49190613dbb565b60405180910390f35b610a176004803603810190610a12919061403b565b6121e5565b005b348015610a2557600080fd5b50610a406004803603810190610a3b91906146c4565b612386565b604051610a4d9190613dbb565b60405180910390f35b348015610a6257600080fd5b50610a7d6004803603810190610a7891906141f0565b61241a565b005b60095481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b605750610b5f82612512565b5b9050919050565b600b5481565b606060008054610b7c90614733565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba890614733565b8015610bf55780601f10610bca57610100808354040283529160200191610bf5565b820191906000526020600020905b815481529060010190602001808311610bd857829003601f168201915b5050505050905090565b6013818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000610c408261257c565b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c76906147d7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc58261154c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90614869565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d556125e8565b73ffffffffffffffffffffffffffffffffffffffff161480610d845750610d8381610d7e6125e8565b612386565b5b610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba906148fb565b60405180910390fd5b610dcd83836125f0565b505050565b600c5481565b610de06125e8565b73ffffffffffffffffffffffffffffffffffffffff16610dfe611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614610e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4b90614967565b60405180910390fd5b610ea28383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506126a9565b505050565b60116020528060005260406000206000915090505481565b610ec76125e8565b73ffffffffffffffffffffffffffffffffffffffff16610ee5611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290614967565b60405180910390fd5b80600c8190555050565b610f56610f506125e8565b8261271d565b610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906149f9565b60405180910390fd5b610fa08383836127fb565b505050565b610fad6125e8565b73ffffffffffffffffffffffffffffffffffffffff16610fcb611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614967565b60405180910390fd5b80156110865781600c54101561106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106390614a65565b60405180910390fd5b81600c600082825461107e9190614ab4565b925050819055505b6110908383612a57565b505050565b61109d6125e8565b73ffffffffffffffffffffffffffffffffffffffff166110bb611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110890614967565b60405180910390fd5b818160089190611122929190613baa565b505050565b61112f6125e8565b73ffffffffffffffffffffffffffffffffffffffff1661114d611cfa565b73ffffffffffffffffffffffffffffffffffffffff16146111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a90614967565b60405180910390fd5b8060098190555050565b6111b56125e8565b73ffffffffffffffffffffffffffffffffffffffff166111d3611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090614967565b60405180910390fd5b6112316125e8565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611276573d6000803e3d6000fd5b50565b6112816125e8565b73ffffffffffffffffffffffffffffffffffffffff1661129f611cfa565b73ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90614967565b60405180910390fd5b80600760146101000a81548160ff02191690831515021790555050565b61132d83838360405180602001604052806000815250611f6e565b505050565b6000601160006113406125e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290614b34565b60405180910390fd5b600760169054906101000a900460ff1661140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190614ba0565b60405180910390fd5b6000601160006114186125e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080600c54101561149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190614a65565b60405180910390fd5b6000601160006114a86125e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c60008282546114f89190614ab4565b9250508190555061151061150a6125e8565b82612a57565b50565b600760149054906101000a900460ff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90614c32565b60405180910390fd5b80915050919050565b60138360405161160e9190614c99565b908152602001604051809103902060009054906101000a900460ff161561166a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166190614cfc565b60405180910390fd5b611698338484600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a9e565b6116d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ce90614d68565b60405180910390fd5b600760149054906101000a900460ff16611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90614dd4565b60405180910390fd5b600e54811115806117375750600181105b611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90614e40565b60405180910390fd5b806009546117849190614e60565b34146117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc90614f06565b60405180910390fd5b80600b54101561180a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180190614f72565b60405180910390fd5b80600b600082825461181c9190614ab4565b9250508190555061183461182e6125e8565b82612a57565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561185d6125e8565b8260405161186c929190614f92565b60405180910390a160016013846040516118869190614c99565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b600760159054906101000a900460ff1681565b6060601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561194e57602002820191906000526020600020905b81548152602001906001019080831161193a575b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c29061502d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a1a6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611a38611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8590614967565b60405180910390fd5b611a986000612b26565b565b611aa26125e8565b73ffffffffffffffffffffffffffffffffffffffff16611ac0611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90614967565b60405180910390fd5b80600760166101000a81548160ff02191690831515021790555050565b600e5481565b611b416125e8565b73ffffffffffffffffffffffffffffffffffffffff16611b5f611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90614967565b60405180910390fd5b60005b84849050811015611c5a57828282818110611bd657611bd561504d565b5b9050602002013560116000878785818110611bf457611bf361504d565b5b9050602002016020810190611c0991906141f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611c529061507c565b915050611bb8565b5050505050565b611c696125e8565b73ffffffffffffffffffffffffffffffffffffffff16611c87611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490614967565b60405180910390fd5b80600760156101000a81548160ff02191690831515021790555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d2c6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611d4a611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9790614967565b60405180910390fd5b80600a8190555050565b606060018054611db990614733565b80601f0160208091040260200160405190810160405280929190818152602001828054611de590614733565b8015611e325780601f10611e0757610100808354040283529160200191611e32565b820191906000526020600020905b815481529060010190602001808311611e1557829003601f168201915b5050505050905090565b600a5481565b611e4a6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611e68611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590614967565b60405180910390fd5b611ec88282612bec565b5050565b611ede611ed76125e8565b8383612c0a565b5050565b611eea6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611f08611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5590614967565b60405180910390fd5b80600b8190555050565b600d5481565b611f7f611f796125e8565b8361271d565b611fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb5906149f9565b60405180910390fd5b611fca84848484612d77565b50505050565b611fd86125e8565b73ffffffffffffffffffffffffffffffffffffffff16611ff6611cfa565b73ffffffffffffffffffffffffffffffffffffffff161461204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614967565b60405180910390fd5b60004790507384fef9a9d40c27bc6c269ec9227b5451f495ef3473ffffffffffffffffffffffffffffffffffffffff166108fc606460468461208e9190614e60565b61209891906150f4565b9081150290604051600060405180830381858888f193505050501580156120c3573d6000803e3d6000fd5b50739612460dc35a7261c6fdb193a722cfb2da2e5b3c73ffffffffffffffffffffffffffffffffffffffff166108fc6064601e846121019190614e60565b61210b91906150f4565b9081150290604051600060405180830381858888f19350505050158015612136573d6000803e3d6000fd5b5050565b6121426125e8565b73ffffffffffffffffffffffffffffffffffffffff16612160611cfa565b73ffffffffffffffffffffffffffffffffffffffff16146121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad90614967565b60405180910390fd5b80600e8190555050565b60606121cb82612dd3565b9050919050565b600760169054906101000a900460ff1681565b600760159054906101000a900460ff16612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b90615171565b60405180910390fd5b600e54811115806122455750600181105b612284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b90614e40565b60405180910390fd5b80600a546122929190614e60565b3410156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb90614f06565b60405180910390fd5b80600b541015612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090614f72565b60405180910390fd5b80600b600082825461232b9190614ab4565b9250508190555061234361233d6125e8565b82612a57565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561236c6125e8565b8260405161237b929190614f92565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124226125e8565b73ffffffffffffffffffffffffffffffffffffffff16612440611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248d90614967565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fd90615203565b60405180910390fd5b61250f81612b26565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126638361154c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6126b28261257c565b6126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e890615295565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612718929190613c30565b505050565b60006127288261257c565b612767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275e90615327565b60405180910390fd5b60006127728361154c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e157508373ffffffffffffffffffffffffffffffffffffffff166127c984610c35565b73ffffffffffffffffffffffffffffffffffffffff16145b806127f257506127f18185612386565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661281b8261154c565b73ffffffffffffffffffffffffffffffffffffffff1614612871576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612868906153b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d89061544b565b60405180910390fd5b6128ec838383612f25565b6128f76000826125f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129479190614ab4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299e919061546b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60005b81811015612a9957600d6000815480929190612a759061507c565b9190505550612a8683600d54612bec565b8080612a919061507c565b915050612a5a565b505050565b6000808486604051602001612ab4929190615509565b6040516020818303038152906040528051906020012090506000612ad782613133565b9050612aec858261316390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161492505050949350505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c0682826040518060200160405280600081525061318a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c709061557d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d6a9190613dbb565b60405180910390a3505050565b612d828484846127fb565b612d8e848484846131e5565b612dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc49061560f565b60405180910390fd5b50505050565b6060612dde8261257c565b612e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e14906156a1565b60405180910390fd5b6000600660008481526020019081526020016000208054612e3d90614733565b80601f0160208091040260200160405190810160405280929190818152602001828054612e6990614733565b8015612eb65780601f10612e8b57610100808354040283529160200191612eb6565b820191906000526020600020905b815481529060010190602001808311612e9957829003601f168201915b505050505090506000612ec761337c565b9050600081511415612edd578192505050612f20565b600082511115612f12578082604051602001612efa9291906156fd565b60405160208183030381529060405292505050612f20565b612f1b8461340e565b925050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613093576000601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612fe457602002820191906000526020600020905b815481526020019060010190808311612fd0575b5050505050905060005b8151811015613090578282828151811061300b5761300a61504d565b5b6020026020010151141561307d57601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020818154811061306a5761306961504d565b5b9060005260206000200160009055613090565b80806130889061507c565b915050612fee565b50505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461312e57601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000816040516020016131469190615798565b604051602081830303815290604052805190602001209050919050565b600080600061317285856134b5565b9150915061317f81613538565b819250505092915050565b613194838361370d565b6131a160008484846131e5565b6131e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d79061560f565b60405180910390fd5b505050565b60006132068473ffffffffffffffffffffffffffffffffffffffff166138db565b1561336f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261322f6125e8565b8786866040518563ffffffff1660e01b81526004016132519493929190615808565b602060405180830381600087803b15801561326b57600080fd5b505af192505050801561329c57506040513d601f19601f820116820180604052508101906132999190615869565b60015b61331f573d80600081146132cc576040519150601f19603f3d011682016040523d82523d6000602084013e6132d1565b606091505b50600081511415613317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330e9061560f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613374565b600190505b949350505050565b60606008805461338b90614733565b80601f01602080910402602001604051908101604052809291908181526020018280546133b790614733565b80156134045780601f106133d957610100808354040283529160200191613404565b820191906000526020600020905b8154815290600101906020018083116133e757829003601f168201915b5050505050905090565b60606134198261257c565b613458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344f90615908565b60405180910390fd5b600061346261337c565b9050600081511161348257604051806020016040528060008152506134ad565b8061348c846138ee565b60405160200161349d9291906156fd565b6040516020818303038152906040525b915050919050565b6000806041835114156134f75760008060006020860151925060408601519150606086015160001a90506134eb87828585613a4f565b94509450505050613531565b60408351141561352857600080602085015191506040850151905061351d868383613b5c565b935093505050613531565b60006002915091505b9250929050565b6000600481111561354c5761354b615928565b5b81600481111561355f5761355e615928565b5b141561356a5761370a565b6001600481111561357e5761357d615928565b5b81600481111561359157613590615928565b5b14156135d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c9906159a3565b60405180910390fd5b600260048111156135e6576135e5615928565b5b8160048111156135f9576135f8615928565b5b141561363a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363190615a0f565b60405180910390fd5b6003600481111561364e5761364d615928565b5b81600481111561366157613660615928565b5b14156136a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369990615aa1565b60405180910390fd5b6004808111156136b5576136b4615928565b5b8160048111156136c8576136c7615928565b5b1415613709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370090615b33565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561377d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377490615b9f565b60405180910390fd5b6137868161257c565b156137c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137bd90615c0b565b60405180910390fd5b6137d260008383612f25565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613822919061546b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415613936576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a4a565b600082905060005b600082146139685780806139519061507c565b915050600a8261396191906150f4565b915061393e565b60008167ffffffffffffffff81111561398457613983613e9b565b5b6040519080825280601f01601f1916602001820160405280156139b65781602001600182028036833780820191505090505b5090505b60008514613a43576001826139cf9190614ab4565b9150600a856139de9190615c2b565b60306139ea919061546b565b60f81b818381518110613a00576139ff61504d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a3c91906150f4565b94506139ba565b8093505050505b919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613a8a576000600391509150613b53565b601b8560ff1614158015613aa25750601c8560ff1614155b15613ab4576000600491509150613b53565b600060018787878760405160008152602001604052604051613ad99493929190615c87565b6020604051602081039080840390855afa158015613afb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613b4a57600060019250925050613b53565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613b9c87828885613a4f565b935093505050935093915050565b828054613bb690614733565b90600052602060002090601f016020900481019282613bd85760008555613c1f565b82601f10613bf157803560ff1916838001178555613c1f565b82800160010185558215613c1f579182015b82811115613c1e578235825591602001919060010190613c03565b5b509050613c2c9190613cb6565b5090565b828054613c3c90614733565b90600052602060002090601f016020900481019282613c5e5760008555613ca5565b82601f10613c7757805160ff1916838001178555613ca5565b82800160010185558215613ca5579182015b82811115613ca4578251825591602001919060010190613c89565b5b509050613cb29190613cb6565b5090565b5b80821115613ccf576000816000905550600101613cb7565b5090565b6000819050919050565b613ce681613cd3565b82525050565b6000602082019050613d016000830184613cdd565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d5081613d1b565b8114613d5b57600080fd5b50565b600081359050613d6d81613d47565b92915050565b600060208284031215613d8957613d88613d11565b5b6000613d9784828501613d5e565b91505092915050565b60008115159050919050565b613db581613da0565b82525050565b6000602082019050613dd06000830184613dac565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613e10578082015181840152602081019050613df5565b83811115613e1f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613e4182613dd6565b613e4b8185613de1565b9350613e5b818560208601613df2565b613e6481613e25565b840191505092915050565b60006020820190508181036000830152613e898184613e36565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ed382613e25565b810181811067ffffffffffffffff82111715613ef257613ef1613e9b565b5b80604052505050565b6000613f05613d07565b9050613f118282613eca565b919050565b600067ffffffffffffffff821115613f3157613f30613e9b565b5b613f3a82613e25565b9050602081019050919050565b82818337600083830152505050565b6000613f69613f6484613f16565b613efb565b905082815260208101848484011115613f8557613f84613e96565b5b613f90848285613f47565b509392505050565b600082601f830112613fad57613fac613e91565b5b8135613fbd848260208601613f56565b91505092915050565b600060208284031215613fdc57613fdb613d11565b5b600082013567ffffffffffffffff811115613ffa57613ff9613d16565b5b61400684828501613f98565b91505092915050565b61401881613cd3565b811461402357600080fd5b50565b6000813590506140358161400f565b92915050565b60006020828403121561405157614050613d11565b5b600061405f84828501614026565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061409382614068565b9050919050565b6140a381614088565b82525050565b60006020820190506140be600083018461409a565b92915050565b6140cd81614088565b81146140d857600080fd5b50565b6000813590506140ea816140c4565b92915050565b6000806040838503121561410757614106613d11565b5b6000614115858286016140db565b925050602061412685828601614026565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126141505761414f613e91565b5b8235905067ffffffffffffffff81111561416d5761416c614130565b5b60208301915083600182028301111561418957614188614135565b5b9250929050565b6000806000604084860312156141a9576141a8613d11565b5b60006141b786828701614026565b935050602084013567ffffffffffffffff8111156141d8576141d7613d16565b5b6141e48682870161413a565b92509250509250925092565b60006020828403121561420657614205613d11565b5b6000614214848285016140db565b91505092915050565b60008060006060848603121561423657614235613d11565b5b6000614244868287016140db565b9350506020614255868287016140db565b925050604061426686828701614026565b9150509250925092565b61427981613da0565b811461428457600080fd5b50565b60008135905061429681614270565b92915050565b6000806000606084860312156142b5576142b4613d11565b5b60006142c3868287016140db565b93505060206142d486828701614026565b92505060406142e586828701614287565b9150509250925092565b6000806020838503121561430657614305613d11565b5b600083013567ffffffffffffffff81111561432457614323613d16565b5b6143308582860161413a565b92509250509250929050565b60006020828403121561435257614351613d11565b5b600061436084828501614287565b91505092915050565b60008060006060848603121561438257614381613d11565b5b600084013567ffffffffffffffff8111156143a05761439f613d16565b5b6143ac86828701613f98565b935050602084013567ffffffffffffffff8111156143cd576143cc613d16565b5b6143d986828701613f98565b92505060406143ea86828701614026565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61442981613cd3565b82525050565b600061443b8383614420565b60208301905092915050565b6000602082019050919050565b600061445f826143f4565b61446981856143ff565b935061447483614410565b8060005b838110156144a557815161448c888261442f565b975061449783614447565b925050600181019050614478565b5085935050505092915050565b600060208201905081810360008301526144cc8184614454565b905092915050565b60008083601f8401126144ea576144e9613e91565b5b8235905067ffffffffffffffff81111561450757614506614130565b5b60208301915083602082028301111561452357614522614135565b5b9250929050565b60008083601f8401126145405761453f613e91565b5b8235905067ffffffffffffffff81111561455d5761455c614130565b5b60208301915083602082028301111561457957614578614135565b5b9250929050565b6000806000806040858703121561459a57614599613d11565b5b600085013567ffffffffffffffff8111156145b8576145b7613d16565b5b6145c4878288016144d4565b9450945050602085013567ffffffffffffffff8111156145e7576145e6613d16565b5b6145f38782880161452a565b925092505092959194509250565b6000806040838503121561461857614617613d11565b5b6000614626858286016140db565b925050602061463785828601614287565b9150509250929050565b6000806000806080858703121561465b5761465a613d11565b5b6000614669878288016140db565b945050602061467a878288016140db565b935050604061468b87828801614026565b925050606085013567ffffffffffffffff8111156146ac576146ab613d16565b5b6146b887828801613f98565b91505092959194509250565b600080604083850312156146db576146da613d11565b5b60006146e9858286016140db565b92505060206146fa858286016140db565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061474b57607f821691505b6020821081141561475f5761475e614704565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006147c1602c83613de1565b91506147cc82614765565b604082019050919050565b600060208201905081810360008301526147f0816147b4565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614853602183613de1565b915061485e826147f7565b604082019050919050565b6000602082019050818103600083015261488281614846565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006148e5603883613de1565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614951602083613de1565b915061495c8261491b565b602082019050919050565b6000602082019050818103600083015261498081614944565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149e3603183613de1565b91506149ee82614987565b604082019050919050565b60006020820190508181036000830152614a12816149d6565b9050919050565b7f436c61696d206f76657200000000000000000000000000000000000000000000600082015250565b6000614a4f600a83613de1565b9150614a5a82614a19565b602082019050919050565b60006020820190508181036000830152614a7e81614a42565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614abf82613cd3565b9150614aca83613cd3565b925082821015614add57614adc614a85565b5b828203905092915050565b7f4f4e4c5920484f4c444552530000000000000000000000000000000000000000600082015250565b6000614b1e600c83613de1565b9150614b2982614ae8565b602082019050919050565b60006020820190508181036000830152614b4d81614b11565b9050919050565b7f436c61696d206973206e6f742061637469766500000000000000000000000000600082015250565b6000614b8a601383613de1565b9150614b9582614b54565b602082019050919050565b60006020820190508181036000830152614bb981614b7d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614c1c602983613de1565b9150614c2782614bc0565b604082019050919050565b60006020820190508181036000830152614c4b81614c0f565b9050919050565b600081519050919050565b600081905092915050565b6000614c7382614c52565b614c7d8185614c5d565b9350614c8d818560208601613df2565b80840191505092915050565b6000614ca58284614c68565b915081905092915050565b7f7469636b65742068617320616c7265616479206265656e207573656400000000600082015250565b6000614ce6601c83613de1565b9150614cf182614cb0565b602082019050919050565b60006020820190508181036000830152614d1581614cd9565b9050919050565b7f574c20617574686f72697a6174696f6e206661696c6564000000000000000000600082015250565b6000614d52601783613de1565b9150614d5d82614d1c565b602082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f70726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b6000614dbe601583613de1565b9150614dc982614d88565b602082019050919050565b60006020820190508181036000830152614ded81614db1565b9050919050565b7f54583a20717479206f66206d696e7473206e6f7420616c6c6f77656400000000600082015250565b6000614e2a601c83613de1565b9150614e3582614df4565b602082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b6000614e6b82613cd3565b9150614e7683613cd3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614eaf57614eae614a85565b5b828202905092915050565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b6000614ef0601683613de1565b9150614efb82614eba565b602082019050919050565b60006020820190508181036000830152614f1f81614ee3565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000614f5c600883613de1565b9150614f6782614f26565b602082019050919050565b60006020820190508181036000830152614f8b81614f4f565b9050919050565b6000604082019050614fa7600083018561409a565b614fb46020830184613cdd565b9392505050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615017602a83613de1565b915061502282614fbb565b604082019050919050565b600060208201905081810360008301526150468161500a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061508782613cd3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150ba576150b9614a85565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006150ff82613cd3565b915061510a83613cd3565b92508261511a576151196150c5565b5b828204905092915050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061515b601283613de1565b915061516682615125565b602082019050919050565b6000602082019050818103600083015261518a8161514e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151ed602683613de1565b91506151f882615191565b604082019050919050565b6000602082019050818103600083015261521c816151e0565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061527f602e83613de1565b915061528a82615223565b604082019050919050565b600060208201905081810360008301526152ae81615272565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615311602c83613de1565b915061531c826152b5565b604082019050919050565b6000602082019050818103600083015261534081615304565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006153a3602983613de1565b91506153ae82615347565b604082019050919050565b600060208201905081810360008301526153d281615396565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615435602483613de1565b9150615440826153d9565b604082019050919050565b6000602082019050818103600083015261546481615428565b9050919050565b600061547682613cd3565b915061548183613cd3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154b6576154b5614a85565b5b828201905092915050565b60008160601b9050919050565b60006154d9826154c1565b9050919050565b60006154eb826154ce565b9050919050565b6155036154fe82614088565b6154e0565b82525050565b60006155158285614c68565b915061552182846154f2565b6014820191508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615567601983613de1565b915061557282615531565b602082019050919050565b600060208201905081810360008301526155968161555a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006155f9603283613de1565b91506156048261559d565b604082019050919050565b60006020820190508181036000830152615628816155ec565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061568b603183613de1565b91506156968261562f565b604082019050919050565b600060208201905081810360008301526156ba8161567e565b9050919050565b600081905092915050565b60006156d782613dd6565b6156e181856156c1565b93506156f1818560208601613df2565b80840191505092915050565b600061570982856156cc565b915061571582846156cc565b91508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615757601c836156c1565b915061576282615721565b601c82019050919050565b6000819050919050565b6000819050919050565b61579261578d8261576d565b615777565b82525050565b60006157a38261574a565b91506157af8284615781565b60208201915081905092915050565b600082825260208201905092915050565b60006157da82614c52565b6157e481856157be565b93506157f4818560208601613df2565b6157fd81613e25565b840191505092915050565b600060808201905061581d600083018761409a565b61582a602083018661409a565b6158376040830185613cdd565b818103606083015261584981846157cf565b905095945050505050565b60008151905061586381613d47565b92915050565b60006020828403121561587f5761587e613d11565b5b600061588d84828501615854565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006158f2602f83613de1565b91506158fd82615896565b604082019050919050565b60006020820190508181036000830152615921816158e5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061598d601883613de1565b915061599882615957565b602082019050919050565b600060208201905081810360008301526159bc81615980565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006159f9601f83613de1565b9150615a04826159c3565b602082019050919050565b60006020820190508181036000830152615a28816159ec565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a8b602283613de1565b9150615a9682615a2f565b604082019050919050565b60006020820190508181036000830152615aba81615a7e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b1d602283613de1565b9150615b2882615ac1565b604082019050919050565b60006020820190508181036000830152615b4c81615b10565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615b89602083613de1565b9150615b9482615b53565b602082019050919050565b60006020820190508181036000830152615bb881615b7c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615bf5601c83613de1565b9150615c0082615bbf565b602082019050919050565b60006020820190508181036000830152615c2481615be8565b9050919050565b6000615c3682613cd3565b9150615c4183613cd3565b925082615c5157615c506150c5565b5b828206905092915050565b615c658161576d565b82525050565b600060ff82169050919050565b615c8181615c6b565b82525050565b6000608082019050615c9c6000830187615c5c565b615ca96020830186615c78565b615cb66040830185615c5c565b615cc36060830184615c5c565b9594505050505056fea2646970667358221220ccdd2a1539bf8ae9312007d26351b8d028551eeefceba829f2302582924ba18064736f6c6343000809003368747470733a2f2f3078302e67672f3078304156412f6e756c6c6261797365612f414461792f6d657461646174612f

Deployed Bytecode

0x6080604052600436106102875760003560e01c806368428a1b1161015a578063a1448194116100c1578063bc3371821161007a578063bc3371821461096c578063c87b56dd14610995578063d4a6a2fd146109d2578063d96a094a146109fd578063e985e9c514610a19578063f2fde38b14610a5657610287565b8063a144819414610886578063a22cb465146108af578063ac568e84146108d8578063affed0e014610901578063b88d4fde1461092c578063bb51f32d1461095557610287565b80637d4437c0116101135780637d4437c01461078a578063841718a6146107b35780638da5cb5b146107dc57806391b7f5ed1461080757806395d89b4114610830578063a035b1fe1461085b57610287565b806368428a1b1461067a5780636970bb0a146106a557806370a08231146106e2578063715018a61461071f57806373417b09146107365780637437681e1461075f57610287565b806323b872dd116101fe57806342842e0e116101b757806342842e0e1461058b5780634e71d92d146105b457806353135ca0146105cb5780635b7633d0146105f65780636352211e14610621578063652567671461065e57610287565b806323b872dd146104a75780632a3e67fc146104d057806330176e13146104f95780633549345e146105225780633ccfd60b1461054b5780633f8121a21461056257610287565b8063081812fc11610250578063081812fc14610387578063095ea7b3146103c45780630ad29ec3146103ed578063162094c41461041857806318a5bbdc1461044157806322e8d8cd1461047e57610287565b80620e7fa81461028c57806301ffc9a7146102b7578063045b7dca146102f457806306fdde031461031f5780630801dded1461034a575b600080fd5b34801561029857600080fd5b506102a1610a7f565b6040516102ae9190613cec565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d99190613d73565b610a85565b6040516102eb9190613dbb565b60405180910390f35b34801561030057600080fd5b50610309610b67565b6040516103169190613cec565b60405180910390f35b34801561032b57600080fd5b50610334610b6d565b6040516103419190613e6f565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190613fc6565b610bff565b60405161037e9190613dbb565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a9919061403b565b610c35565b6040516103bb91906140a9565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e691906140f0565b610cba565b005b3480156103f957600080fd5b50610402610dd2565b60405161040f9190613cec565b60405180910390f35b34801561042457600080fd5b5061043f600480360381019061043a9190614190565b610dd8565b005b34801561044d57600080fd5b50610468600480360381019061046391906141f0565b610ea7565b6040516104759190613cec565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a0919061403b565b610ebf565b005b3480156104b357600080fd5b506104ce60048036038101906104c9919061421d565b610f45565b005b3480156104dc57600080fd5b506104f760048036038101906104f2919061429c565b610fa5565b005b34801561050557600080fd5b50610520600480360381019061051b91906142ef565b611095565b005b34801561052e57600080fd5b506105496004803603810190610544919061403b565b611127565b005b34801561055757600080fd5b506105606111ad565b005b34801561056e57600080fd5b506105896004803603810190610584919061433c565b611279565b005b34801561059757600080fd5b506105b260048036038101906105ad919061421d565b611312565b005b3480156105c057600080fd5b506105c9611332565b005b3480156105d757600080fd5b506105e0611513565b6040516105ed9190613dbb565b60405180910390f35b34801561060257600080fd5b5061060b611526565b60405161061891906140a9565b60405180910390f35b34801561062d57600080fd5b506106486004803603810190610643919061403b565b61154c565b60405161065591906140a9565b60405180910390f35b61067860048036038101906106739190614369565b6115fe565b005b34801561068657600080fd5b5061068f6118b0565b60405161069c9190613dbb565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906141f0565b6118c3565b6040516106d991906144b2565b60405180910390f35b3480156106ee57600080fd5b50610709600480360381019061070491906141f0565b61195a565b6040516107169190613cec565b60405180910390f35b34801561072b57600080fd5b50610734611a12565b005b34801561074257600080fd5b5061075d6004803603810190610758919061433c565b611a9a565b005b34801561076b57600080fd5b50610774611b33565b6040516107819190613cec565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac9190614580565b611b39565b005b3480156107bf57600080fd5b506107da60048036038101906107d5919061433c565b611c61565b005b3480156107e857600080fd5b506107f1611cfa565b6040516107fe91906140a9565b60405180910390f35b34801561081357600080fd5b5061082e6004803603810190610829919061403b565b611d24565b005b34801561083c57600080fd5b50610845611daa565b6040516108529190613e6f565b60405180910390f35b34801561086757600080fd5b50610870611e3c565b60405161087d9190613cec565b60405180910390f35b34801561089257600080fd5b506108ad60048036038101906108a891906140f0565b611e42565b005b3480156108bb57600080fd5b506108d660048036038101906108d19190614601565b611ecc565b005b3480156108e457600080fd5b506108ff60048036038101906108fa919061403b565b611ee2565b005b34801561090d57600080fd5b50610916611f68565b6040516109239190613cec565b60405180910390f35b34801561093857600080fd5b50610953600480360381019061094e9190614641565b611f6e565b005b34801561096157600080fd5b5061096a611fd0565b005b34801561097857600080fd5b50610993600480360381019061098e919061403b565b61213a565b005b3480156109a157600080fd5b506109bc60048036038101906109b7919061403b565b6121c0565b6040516109c99190613e6f565b60405180910390f35b3480156109de57600080fd5b506109e76121d2565b6040516109f49190613dbb565b60405180910390f35b610a176004803603810190610a12919061403b565b6121e5565b005b348015610a2557600080fd5b50610a406004803603810190610a3b91906146c4565b612386565b604051610a4d9190613dbb565b60405180910390f35b348015610a6257600080fd5b50610a7d6004803603810190610a7891906141f0565b61241a565b005b60095481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b605750610b5f82612512565b5b9050919050565b600b5481565b606060008054610b7c90614733565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba890614733565b8015610bf55780601f10610bca57610100808354040283529160200191610bf5565b820191906000526020600020905b815481529060010190602001808311610bd857829003601f168201915b5050505050905090565b6013818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000610c408261257c565b610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c76906147d7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc58261154c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d90614869565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d556125e8565b73ffffffffffffffffffffffffffffffffffffffff161480610d845750610d8381610d7e6125e8565b612386565b5b610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba906148fb565b60405180910390fd5b610dcd83836125f0565b505050565b600c5481565b610de06125e8565b73ffffffffffffffffffffffffffffffffffffffff16610dfe611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614610e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4b90614967565b60405180910390fd5b610ea28383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506126a9565b505050565b60116020528060005260406000206000915090505481565b610ec76125e8565b73ffffffffffffffffffffffffffffffffffffffff16610ee5611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290614967565b60405180910390fd5b80600c8190555050565b610f56610f506125e8565b8261271d565b610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906149f9565b60405180910390fd5b610fa08383836127fb565b505050565b610fad6125e8565b73ffffffffffffffffffffffffffffffffffffffff16610fcb611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614967565b60405180910390fd5b80156110865781600c54101561106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106390614a65565b60405180910390fd5b81600c600082825461107e9190614ab4565b925050819055505b6110908383612a57565b505050565b61109d6125e8565b73ffffffffffffffffffffffffffffffffffffffff166110bb611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110890614967565b60405180910390fd5b818160089190611122929190613baa565b505050565b61112f6125e8565b73ffffffffffffffffffffffffffffffffffffffff1661114d611cfa565b73ffffffffffffffffffffffffffffffffffffffff16146111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a90614967565b60405180910390fd5b8060098190555050565b6111b56125e8565b73ffffffffffffffffffffffffffffffffffffffff166111d3611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611229576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122090614967565b60405180910390fd5b6112316125e8565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611276573d6000803e3d6000fd5b50565b6112816125e8565b73ffffffffffffffffffffffffffffffffffffffff1661129f611cfa565b73ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90614967565b60405180910390fd5b80600760146101000a81548160ff02191690831515021790555050565b61132d83838360405180602001604052806000815250611f6e565b505050565b6000601160006113406125e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290614b34565b60405180910390fd5b600760169054906101000a900460ff1661140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190614ba0565b60405180910390fd5b6000601160006114186125e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080600c54101561149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190614a65565b60405180910390fd5b6000601160006114a86125e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c60008282546114f89190614ab4565b9250508190555061151061150a6125e8565b82612a57565b50565b600760149054906101000a900460ff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90614c32565b60405180910390fd5b80915050919050565b60138360405161160e9190614c99565b908152602001604051809103902060009054906101000a900460ff161561166a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166190614cfc565b60405180910390fd5b611698338484600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a9e565b6116d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ce90614d68565b60405180910390fd5b600760149054906101000a900460ff16611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90614dd4565b60405180910390fd5b600e54811115806117375750600181105b611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90614e40565b60405180910390fd5b806009546117849190614e60565b34146117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc90614f06565b60405180910390fd5b80600b54101561180a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180190614f72565b60405180910390fd5b80600b600082825461181c9190614ab4565b9250508190555061183461182e6125e8565b82612a57565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561185d6125e8565b8260405161186c929190614f92565b60405180910390a160016013846040516118869190614c99565b908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b600760159054906101000a900460ff1681565b6060601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561194e57602002820191906000526020600020905b81548152602001906001019080831161193a575b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c29061502d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a1a6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611a38611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8590614967565b60405180910390fd5b611a986000612b26565b565b611aa26125e8565b73ffffffffffffffffffffffffffffffffffffffff16611ac0611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90614967565b60405180910390fd5b80600760166101000a81548160ff02191690831515021790555050565b600e5481565b611b416125e8565b73ffffffffffffffffffffffffffffffffffffffff16611b5f611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90614967565b60405180910390fd5b60005b84849050811015611c5a57828282818110611bd657611bd561504d565b5b9050602002013560116000878785818110611bf457611bf361504d565b5b9050602002016020810190611c0991906141f0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611c529061507c565b915050611bb8565b5050505050565b611c696125e8565b73ffffffffffffffffffffffffffffffffffffffff16611c87611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490614967565b60405180910390fd5b80600760156101000a81548160ff02191690831515021790555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d2c6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611d4a611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9790614967565b60405180910390fd5b80600a8190555050565b606060018054611db990614733565b80601f0160208091040260200160405190810160405280929190818152602001828054611de590614733565b8015611e325780601f10611e0757610100808354040283529160200191611e32565b820191906000526020600020905b815481529060010190602001808311611e1557829003601f168201915b5050505050905090565b600a5481565b611e4a6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611e68611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590614967565b60405180910390fd5b611ec88282612bec565b5050565b611ede611ed76125e8565b8383612c0a565b5050565b611eea6125e8565b73ffffffffffffffffffffffffffffffffffffffff16611f08611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5590614967565b60405180910390fd5b80600b8190555050565b600d5481565b611f7f611f796125e8565b8361271d565b611fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb5906149f9565b60405180910390fd5b611fca84848484612d77565b50505050565b611fd86125e8565b73ffffffffffffffffffffffffffffffffffffffff16611ff6611cfa565b73ffffffffffffffffffffffffffffffffffffffff161461204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614967565b60405180910390fd5b60004790507384fef9a9d40c27bc6c269ec9227b5451f495ef3473ffffffffffffffffffffffffffffffffffffffff166108fc606460468461208e9190614e60565b61209891906150f4565b9081150290604051600060405180830381858888f193505050501580156120c3573d6000803e3d6000fd5b50739612460dc35a7261c6fdb193a722cfb2da2e5b3c73ffffffffffffffffffffffffffffffffffffffff166108fc6064601e846121019190614e60565b61210b91906150f4565b9081150290604051600060405180830381858888f19350505050158015612136573d6000803e3d6000fd5b5050565b6121426125e8565b73ffffffffffffffffffffffffffffffffffffffff16612160611cfa565b73ffffffffffffffffffffffffffffffffffffffff16146121b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ad90614967565b60405180910390fd5b80600e8190555050565b60606121cb82612dd3565b9050919050565b600760169054906101000a900460ff1681565b600760159054906101000a900460ff16612234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222b90615171565b60405180910390fd5b600e54811115806122455750600181105b612284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b90614e40565b60405180910390fd5b80600a546122929190614e60565b3410156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb90614f06565b60405180910390fd5b80600b541015612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090614f72565b60405180910390fd5b80600b600082825461232b9190614ab4565b9250508190555061234361233d6125e8565b82612a57565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688561236c6125e8565b8260405161237b929190614f92565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124226125e8565b73ffffffffffffffffffffffffffffffffffffffff16612440611cfa565b73ffffffffffffffffffffffffffffffffffffffff1614612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248d90614967565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fd90615203565b60405180910390fd5b61250f81612b26565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126638361154c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6126b28261257c565b6126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e890615295565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612718929190613c30565b505050565b60006127288261257c565b612767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275e90615327565b60405180910390fd5b60006127728361154c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e157508373ffffffffffffffffffffffffffffffffffffffff166127c984610c35565b73ffffffffffffffffffffffffffffffffffffffff16145b806127f257506127f18185612386565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661281b8261154c565b73ffffffffffffffffffffffffffffffffffffffff1614612871576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612868906153b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d89061544b565b60405180910390fd5b6128ec838383612f25565b6128f76000826125f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129479190614ab4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299e919061546b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60005b81811015612a9957600d6000815480929190612a759061507c565b9190505550612a8683600d54612bec565b8080612a919061507c565b915050612a5a565b505050565b6000808486604051602001612ab4929190615509565b6040516020818303038152906040528051906020012090506000612ad782613133565b9050612aec858261316390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161492505050949350505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c0682826040518060200160405280600081525061318a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c709061557d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d6a9190613dbb565b60405180910390a3505050565b612d828484846127fb565b612d8e848484846131e5565b612dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc49061560f565b60405180910390fd5b50505050565b6060612dde8261257c565b612e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e14906156a1565b60405180910390fd5b6000600660008481526020019081526020016000208054612e3d90614733565b80601f0160208091040260200160405190810160405280929190818152602001828054612e6990614733565b8015612eb65780601f10612e8b57610100808354040283529160200191612eb6565b820191906000526020600020905b815481529060010190602001808311612e9957829003601f168201915b505050505090506000612ec761337c565b9050600081511415612edd578192505050612f20565b600082511115612f12578082604051602001612efa9291906156fd565b60405160208183030381529060405292505050612f20565b612f1b8461340e565b925050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613093576000601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612fe457602002820191906000526020600020905b815481526020019060010190808311612fd0575b5050505050905060005b8151811015613090578282828151811061300b5761300a61504d565b5b6020026020010151141561307d57601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020818154811061306a5761306961504d565b5b9060005260206000200160009055613090565b80806130889061507c565b915050612fee565b50505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461312e57601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000816040516020016131469190615798565b604051602081830303815290604052805190602001209050919050565b600080600061317285856134b5565b9150915061317f81613538565b819250505092915050565b613194838361370d565b6131a160008484846131e5565b6131e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d79061560f565b60405180910390fd5b505050565b60006132068473ffffffffffffffffffffffffffffffffffffffff166138db565b1561336f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261322f6125e8565b8786866040518563ffffffff1660e01b81526004016132519493929190615808565b602060405180830381600087803b15801561326b57600080fd5b505af192505050801561329c57506040513d601f19601f820116820180604052508101906132999190615869565b60015b61331f573d80600081146132cc576040519150601f19603f3d011682016040523d82523d6000602084013e6132d1565b606091505b50600081511415613317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330e9061560f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613374565b600190505b949350505050565b60606008805461338b90614733565b80601f01602080910402602001604051908101604052809291908181526020018280546133b790614733565b80156134045780601f106133d957610100808354040283529160200191613404565b820191906000526020600020905b8154815290600101906020018083116133e757829003601f168201915b5050505050905090565b60606134198261257c565b613458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344f90615908565b60405180910390fd5b600061346261337c565b9050600081511161348257604051806020016040528060008152506134ad565b8061348c846138ee565b60405160200161349d9291906156fd565b6040516020818303038152906040525b915050919050565b6000806041835114156134f75760008060006020860151925060408601519150606086015160001a90506134eb87828585613a4f565b94509450505050613531565b60408351141561352857600080602085015191506040850151905061351d868383613b5c565b935093505050613531565b60006002915091505b9250929050565b6000600481111561354c5761354b615928565b5b81600481111561355f5761355e615928565b5b141561356a5761370a565b6001600481111561357e5761357d615928565b5b81600481111561359157613590615928565b5b14156135d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c9906159a3565b60405180910390fd5b600260048111156135e6576135e5615928565b5b8160048111156135f9576135f8615928565b5b141561363a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363190615a0f565b60405180910390fd5b6003600481111561364e5761364d615928565b5b81600481111561366157613660615928565b5b14156136a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369990615aa1565b60405180910390fd5b6004808111156136b5576136b4615928565b5b8160048111156136c8576136c7615928565b5b1415613709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370090615b33565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561377d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377490615b9f565b60405180910390fd5b6137868161257c565b156137c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137bd90615c0b565b60405180910390fd5b6137d260008383612f25565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613822919061546b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415613936576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a4a565b600082905060005b600082146139685780806139519061507c565b915050600a8261396191906150f4565b915061393e565b60008167ffffffffffffffff81111561398457613983613e9b565b5b6040519080825280601f01601f1916602001820160405280156139b65781602001600182028036833780820191505090505b5090505b60008514613a43576001826139cf9190614ab4565b9150600a856139de9190615c2b565b60306139ea919061546b565b60f81b818381518110613a00576139ff61504d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a3c91906150f4565b94506139ba565b8093505050505b919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613a8a576000600391509150613b53565b601b8560ff1614158015613aa25750601c8560ff1614155b15613ab4576000600491509150613b53565b600060018787878760405160008152602001604052604051613ad99493929190615c87565b6020604051602081039080840390855afa158015613afb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613b4a57600060019250925050613b53565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613b9c87828885613a4f565b935093505050935093915050565b828054613bb690614733565b90600052602060002090601f016020900481019282613bd85760008555613c1f565b82601f10613bf157803560ff1916838001178555613c1f565b82800160010185558215613c1f579182015b82811115613c1e578235825591602001919060010190613c03565b5b509050613c2c9190613cb6565b5090565b828054613c3c90614733565b90600052602060002090601f016020900481019282613c5e5760008555613ca5565b82601f10613c7757805160ff1916838001178555613ca5565b82800160010185558215613ca5579182015b82811115613ca4578251825591602001919060010190613c89565b5b509050613cb29190613cb6565b5090565b5b80821115613ccf576000816000905550600101613cb7565b5090565b6000819050919050565b613ce681613cd3565b82525050565b6000602082019050613d016000830184613cdd565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d5081613d1b565b8114613d5b57600080fd5b50565b600081359050613d6d81613d47565b92915050565b600060208284031215613d8957613d88613d11565b5b6000613d9784828501613d5e565b91505092915050565b60008115159050919050565b613db581613da0565b82525050565b6000602082019050613dd06000830184613dac565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613e10578082015181840152602081019050613df5565b83811115613e1f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613e4182613dd6565b613e4b8185613de1565b9350613e5b818560208601613df2565b613e6481613e25565b840191505092915050565b60006020820190508181036000830152613e898184613e36565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ed382613e25565b810181811067ffffffffffffffff82111715613ef257613ef1613e9b565b5b80604052505050565b6000613f05613d07565b9050613f118282613eca565b919050565b600067ffffffffffffffff821115613f3157613f30613e9b565b5b613f3a82613e25565b9050602081019050919050565b82818337600083830152505050565b6000613f69613f6484613f16565b613efb565b905082815260208101848484011115613f8557613f84613e96565b5b613f90848285613f47565b509392505050565b600082601f830112613fad57613fac613e91565b5b8135613fbd848260208601613f56565b91505092915050565b600060208284031215613fdc57613fdb613d11565b5b600082013567ffffffffffffffff811115613ffa57613ff9613d16565b5b61400684828501613f98565b91505092915050565b61401881613cd3565b811461402357600080fd5b50565b6000813590506140358161400f565b92915050565b60006020828403121561405157614050613d11565b5b600061405f84828501614026565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061409382614068565b9050919050565b6140a381614088565b82525050565b60006020820190506140be600083018461409a565b92915050565b6140cd81614088565b81146140d857600080fd5b50565b6000813590506140ea816140c4565b92915050565b6000806040838503121561410757614106613d11565b5b6000614115858286016140db565b925050602061412685828601614026565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126141505761414f613e91565b5b8235905067ffffffffffffffff81111561416d5761416c614130565b5b60208301915083600182028301111561418957614188614135565b5b9250929050565b6000806000604084860312156141a9576141a8613d11565b5b60006141b786828701614026565b935050602084013567ffffffffffffffff8111156141d8576141d7613d16565b5b6141e48682870161413a565b92509250509250925092565b60006020828403121561420657614205613d11565b5b6000614214848285016140db565b91505092915050565b60008060006060848603121561423657614235613d11565b5b6000614244868287016140db565b9350506020614255868287016140db565b925050604061426686828701614026565b9150509250925092565b61427981613da0565b811461428457600080fd5b50565b60008135905061429681614270565b92915050565b6000806000606084860312156142b5576142b4613d11565b5b60006142c3868287016140db565b93505060206142d486828701614026565b92505060406142e586828701614287565b9150509250925092565b6000806020838503121561430657614305613d11565b5b600083013567ffffffffffffffff81111561432457614323613d16565b5b6143308582860161413a565b92509250509250929050565b60006020828403121561435257614351613d11565b5b600061436084828501614287565b91505092915050565b60008060006060848603121561438257614381613d11565b5b600084013567ffffffffffffffff8111156143a05761439f613d16565b5b6143ac86828701613f98565b935050602084013567ffffffffffffffff8111156143cd576143cc613d16565b5b6143d986828701613f98565b92505060406143ea86828701614026565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61442981613cd3565b82525050565b600061443b8383614420565b60208301905092915050565b6000602082019050919050565b600061445f826143f4565b61446981856143ff565b935061447483614410565b8060005b838110156144a557815161448c888261442f565b975061449783614447565b925050600181019050614478565b5085935050505092915050565b600060208201905081810360008301526144cc8184614454565b905092915050565b60008083601f8401126144ea576144e9613e91565b5b8235905067ffffffffffffffff81111561450757614506614130565b5b60208301915083602082028301111561452357614522614135565b5b9250929050565b60008083601f8401126145405761453f613e91565b5b8235905067ffffffffffffffff81111561455d5761455c614130565b5b60208301915083602082028301111561457957614578614135565b5b9250929050565b6000806000806040858703121561459a57614599613d11565b5b600085013567ffffffffffffffff8111156145b8576145b7613d16565b5b6145c4878288016144d4565b9450945050602085013567ffffffffffffffff8111156145e7576145e6613d16565b5b6145f38782880161452a565b925092505092959194509250565b6000806040838503121561461857614617613d11565b5b6000614626858286016140db565b925050602061463785828601614287565b9150509250929050565b6000806000806080858703121561465b5761465a613d11565b5b6000614669878288016140db565b945050602061467a878288016140db565b935050604061468b87828801614026565b925050606085013567ffffffffffffffff8111156146ac576146ab613d16565b5b6146b887828801613f98565b91505092959194509250565b600080604083850312156146db576146da613d11565b5b60006146e9858286016140db565b92505060206146fa858286016140db565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061474b57607f821691505b6020821081141561475f5761475e614704565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006147c1602c83613de1565b91506147cc82614765565b604082019050919050565b600060208201905081810360008301526147f0816147b4565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614853602183613de1565b915061485e826147f7565b604082019050919050565b6000602082019050818103600083015261488281614846565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006148e5603883613de1565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614951602083613de1565b915061495c8261491b565b602082019050919050565b6000602082019050818103600083015261498081614944565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149e3603183613de1565b91506149ee82614987565b604082019050919050565b60006020820190508181036000830152614a12816149d6565b9050919050565b7f436c61696d206f76657200000000000000000000000000000000000000000000600082015250565b6000614a4f600a83613de1565b9150614a5a82614a19565b602082019050919050565b60006020820190508181036000830152614a7e81614a42565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614abf82613cd3565b9150614aca83613cd3565b925082821015614add57614adc614a85565b5b828203905092915050565b7f4f4e4c5920484f4c444552530000000000000000000000000000000000000000600082015250565b6000614b1e600c83613de1565b9150614b2982614ae8565b602082019050919050565b60006020820190508181036000830152614b4d81614b11565b9050919050565b7f436c61696d206973206e6f742061637469766500000000000000000000000000600082015250565b6000614b8a601383613de1565b9150614b9582614b54565b602082019050919050565b60006020820190508181036000830152614bb981614b7d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614c1c602983613de1565b9150614c2782614bc0565b604082019050919050565b60006020820190508181036000830152614c4b81614c0f565b9050919050565b600081519050919050565b600081905092915050565b6000614c7382614c52565b614c7d8185614c5d565b9350614c8d818560208601613df2565b80840191505092915050565b6000614ca58284614c68565b915081905092915050565b7f7469636b65742068617320616c7265616479206265656e207573656400000000600082015250565b6000614ce6601c83613de1565b9150614cf182614cb0565b602082019050919050565b60006020820190508181036000830152614d1581614cd9565b9050919050565b7f574c20617574686f72697a6174696f6e206661696c6564000000000000000000600082015250565b6000614d52601783613de1565b9150614d5d82614d1c565b602082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f70726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b6000614dbe601583613de1565b9150614dc982614d88565b602082019050919050565b60006020820190508181036000830152614ded81614db1565b9050919050565b7f54583a20717479206f66206d696e7473206e6f7420616c6c6f77656400000000600082015250565b6000614e2a601c83613de1565b9150614e3582614df4565b602082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b6000614e6b82613cd3565b9150614e7683613cd3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614eaf57614eae614a85565b5b828202905092915050565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b6000614ef0601683613de1565b9150614efb82614eba565b602082019050919050565b60006020820190508181036000830152614f1f81614ee3565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000614f5c600883613de1565b9150614f6782614f26565b602082019050919050565b60006020820190508181036000830152614f8b81614f4f565b9050919050565b6000604082019050614fa7600083018561409a565b614fb46020830184613cdd565b9392505050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615017602a83613de1565b915061502282614fbb565b604082019050919050565b600060208201905081810360008301526150468161500a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061508782613cd3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150ba576150b9614a85565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006150ff82613cd3565b915061510a83613cd3565b92508261511a576151196150c5565b5b828204905092915050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061515b601283613de1565b915061516682615125565b602082019050919050565b6000602082019050818103600083015261518a8161514e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151ed602683613de1565b91506151f882615191565b604082019050919050565b6000602082019050818103600083015261521c816151e0565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061527f602e83613de1565b915061528a82615223565b604082019050919050565b600060208201905081810360008301526152ae81615272565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615311602c83613de1565b915061531c826152b5565b604082019050919050565b6000602082019050818103600083015261534081615304565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006153a3602983613de1565b91506153ae82615347565b604082019050919050565b600060208201905081810360008301526153d281615396565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615435602483613de1565b9150615440826153d9565b604082019050919050565b6000602082019050818103600083015261546481615428565b9050919050565b600061547682613cd3565b915061548183613cd3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154b6576154b5614a85565b5b828201905092915050565b60008160601b9050919050565b60006154d9826154c1565b9050919050565b60006154eb826154ce565b9050919050565b6155036154fe82614088565b6154e0565b82525050565b60006155158285614c68565b915061552182846154f2565b6014820191508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615567601983613de1565b915061557282615531565b602082019050919050565b600060208201905081810360008301526155968161555a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006155f9603283613de1565b91506156048261559d565b604082019050919050565b60006020820190508181036000830152615628816155ec565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061568b603183613de1565b91506156968261562f565b604082019050919050565b600060208201905081810360008301526156ba8161567e565b9050919050565b600081905092915050565b60006156d782613dd6565b6156e181856156c1565b93506156f1818560208601613df2565b80840191505092915050565b600061570982856156cc565b915061571582846156cc565b91508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615757601c836156c1565b915061576282615721565b601c82019050919050565b6000819050919050565b6000819050919050565b61579261578d8261576d565b615777565b82525050565b60006157a38261574a565b91506157af8284615781565b60208201915081905092915050565b600082825260208201905092915050565b60006157da82614c52565b6157e481856157be565b93506157f4818560208601613df2565b6157fd81613e25565b840191505092915050565b600060808201905061581d600083018761409a565b61582a602083018661409a565b6158376040830185613cdd565b818103606083015261584981846157cf565b905095945050505050565b60008151905061586381613d47565b92915050565b60006020828403121561587f5761587e613d11565b5b600061588d84828501615854565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006158f2602f83613de1565b91506158fd82615896565b604082019050919050565b60006020820190508181036000830152615921816158e5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061598d601883613de1565b915061599882615957565b602082019050919050565b600060208201905081810360008301526159bc81615980565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006159f9601f83613de1565b9150615a04826159c3565b602082019050919050565b60006020820190508181036000830152615a28816159ec565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a8b602283613de1565b9150615a9682615a2f565b604082019050919050565b60006020820190508181036000830152615aba81615a7e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b1d602283613de1565b9150615b2882615ac1565b604082019050919050565b60006020820190508181036000830152615b4c81615b10565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615b89602083613de1565b9150615b9482615b53565b602082019050919050565b60006020820190508181036000830152615bb881615b7c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615bf5601c83613de1565b9150615c0082615bbf565b602082019050919050565b60006020820190508181036000830152615c2481615be8565b9050919050565b6000615c3682613cd3565b9150615c4183613cd3565b925082615c5157615c506150c5565b5b828206905092915050565b615c658161576d565b82525050565b600060ff82169050919050565b615c8181615c6b565b82525050565b6000608082019050615c9c6000830187615c5c565b615ca96020830186615c78565b615cb66040830185615c5c565b615cc36060830184615c5c565b9594505050505056fea2646970667358221220ccdd2a1539bf8ae9312007d26351b8d028551eeefceba829f2302582924ba18064736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.