ETH Price: $2,099.31 (+3.18%)

Contract

0xe7Fdaa4f319D4b1de23cD1b8eA0d6E8e69bf68c9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...232301442025-08-27 4:43:11216 days ago1756269791IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000033350.71369665
Set Approval For...212163942024-11-18 18:27:59498 days ago1731954479IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0011387224.32487953
Set Approval For...202513382024-07-07 1:24:59632 days ago1720315499IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.00004461.79118989
Set Approval For...184215482023-10-24 17:16:59889 days ago1698167819IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0008792332.77169554
Set Approval For...184215482023-10-24 17:16:59889 days ago1698167819IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0015313832.77169554
Set Approval For...169461422023-03-31 8:57:231096 days ago1680253043IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0011206623.98216878
Set Approval For...164118112023-01-15 11:09:231171 days ago1673780963IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0007201615.41154436
Set Approval For...159613592022-11-13 13:20:351234 days ago1668345635IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0006845214.64877501
Safe Transfer Fr...158382942022-10-27 8:43:111251 days ago1666860191IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0012905914.68265097
Set Approval For...157676392022-10-17 11:51:111261 days ago1666007471IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0006111613.07893442
Set Approval For...156975092022-10-07 16:49:231271 days ago1665161363IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0008838318.9141342
Set Approval For...156072152022-09-25 1:51:351283 days ago1664070695IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000276575.90809704
Set Approval For...156072132022-09-25 1:51:111283 days ago1664070671IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000266675.70679814
Set Approval For...156072102022-09-25 1:50:351283 days ago1664070635IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000245075.23660189
Set Approval For...155724252022-09-20 4:50:231288 days ago1663649423IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000099113.98050389
Set Approval For...155589672022-09-18 7:32:591290 days ago1663486379IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000093622
Set Approval For...154464572022-08-31 11:43:571308 days ago1661946237IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0005532311.83918337
Set Approval For...154432712022-08-30 23:38:151308 days ago1661902695IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0005634612.05804155
Set Approval For...153889132022-08-22 7:14:251317 days ago1661152465IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000247825.30340534
Set Approval For...153733182022-08-19 20:07:291320 days ago1660939649IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0008990619.239897
Set Approval For...153641582022-08-18 9:19:281321 days ago1660814368IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000282676.04921796
Set Approval For...153545122022-08-16 20:36:131323 days ago1660682173IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0005236711.2066532
Set Approval For...153203542022-08-11 11:07:031328 days ago1660216023IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.000461649.87915877
Set Approval For...153190872022-08-11 6:14:561328 days ago1660198496IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0006662714.25824254
Set Approval For...152744222022-08-04 6:58:481335 days ago1659596328IN
0xe7Fdaa4f...e69bf68c9
0 ETH0.0008666218.54567659
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-141838632022-02-11 9:11:491509 days ago1644570709
0xe7Fdaa4f...e69bf68c9
0.0075 ETH
-141838632022-02-11 9:11:491509 days ago1644570709
0xe7Fdaa4f...e69bf68c9
0.2925 ETH
-139962432022-01-13 9:02:201538 days ago1642064540
0xe7Fdaa4f...e69bf68c9
0.0075 ETH
-139962432022-01-13 9:02:201538 days ago1642064540
0xe7Fdaa4f...e69bf68c9
0.2925 ETH
-138297122021-12-18 14:41:101564 days ago1639838470
0xe7Fdaa4f...e69bf68c9
0.045 ETH
-138297122021-12-18 14:41:101564 days ago1639838470
0xe7Fdaa4f...e69bf68c9
1.755 ETH
-138289642021-12-18 11:51:171564 days ago1639828277
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138285242021-12-18 10:10:011564 days ago1639822201
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138274702021-12-18 6:25:491564 days ago1639808749
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138265042021-12-18 2:51:061564 days ago1639795866
0xe7Fdaa4f...e69bf68c9
0.2 ETH
-138264872021-12-18 2:47:001564 days ago1639795620
0xe7Fdaa4f...e69bf68c9
0.2 ETH
-138264822021-12-18 2:46:001564 days ago1639795560
0xe7Fdaa4f...e69bf68c9
0.2 ETH
-138248172021-12-17 20:39:241565 days ago1639773564
0xe7Fdaa4f...e69bf68c9
0.1 ETH
-138242792021-12-17 18:40:501565 days ago1639766450
0xe7Fdaa4f...e69bf68c9
0.2 ETH
-138230802021-12-17 14:12:321565 days ago1639750352
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138225412021-12-17 12:05:411565 days ago1639742741
0xe7Fdaa4f...e69bf68c9
0.055 ETH
-138225412021-12-17 12:05:411565 days ago1639742741
0xe7Fdaa4f...e69bf68c9
2.145 ETH
-138220802021-12-17 10:18:501565 days ago1639736330
0xe7Fdaa4f...e69bf68c9
0.1 ETH
-138218302021-12-17 9:21:081565 days ago1639732868
0xe7Fdaa4f...e69bf68c9
0.1 ETH
-138214862021-12-17 8:03:111565 days ago1639728191
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138213522021-12-17 7:31:521565 days ago1639726312
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138212602021-12-17 7:13:191565 days ago1639725199
0xe7Fdaa4f...e69bf68c9
0.15 ETH
-138207372021-12-17 5:28:361565 days ago1639718916
0xe7Fdaa4f...e69bf68c9
0.1 ETH
-138205162021-12-17 4:35:151565 days ago1639715715
0xe7Fdaa4f...e69bf68c9
0.2 ETH
-138198202021-12-17 2:00:021565 days ago1639706402
0xe7Fdaa4f...e69bf68c9
0.2 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CypherPunkNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/utils/Address.sol";
import "../AvatarNFTv2.sol";

contract CypherPunkNFT is AvatarNFTv2 {

    uint256 public constant DEVELOPER_FEE = 250; // of 10,000 = 2.5%

    constructor() AvatarNFTv2(
        0.2 ether,
        3000,
        0, // reserved
        3, // max per tx
        "https://metadata.buildship.dev/api/token/cypherpunk/",
        "CypherPunk: Rebels", "CYPHER"
    ) {}

    function withdraw() public override onlyOwner {
        require(beneficiary != address(0), "Beneficiary not set");

        uint256 balance = address(this).balance;
        uint256 amount = balance * (10000 - DEVELOPER_FEE) / 10000;

        address payable dev = DEVELOPER_ADDRESS();

        Address.sendValue(beneficiary, amount);
        Address.sendValue(dev, balance - amount);
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface INFTExtension is IERC165 {
}

interface INFTURIExtension is INFTExtension {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

interface IMetaverseNFT {
    function isExtensionAllowed(address extension) external view returns (bool);
    function mintExternal(uint256 nTokens, address to, bytes32 data) external payable;
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

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

import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "./factory/extensions/INFTExtension.sol";
import "./factory/extensions/IMetaverseNFT.sol";

// Want to launch your own collection ? Check out https://buildship.dev

/** 
    * @title AvatarNFTv2
    * @dev Upgrade for AvatarNFT, featuring extensions
    * @dev Other features include: optional freeze, royalty on-chain, setBeneficiary
 */
contract AvatarNFTv2 is ERC721, ERC721Enumerable, IMetaverseNFT, Ownable {

    uint256 public price;
    uint256 public reserved;

    uint256 public MAX_SUPPLY;
    uint256 public MAX_TOKENS_PER_MINT;

    uint256 public startingIndex;

    // ** Address for withdrawing money, separate from owner
    address payable beneficiary;

    bool public saleStarted;
    bool public isFrozen;

    string public PROVENANCE_HASH = "";
    string public baseURI;

    mapping (address => bool) public isExtensionAllowed;

    event ExtensionAdded(address indexed extensionAddress);
    event ExtensionRevoked(address indexed extensionAddress);

    constructor(
        uint256 _startPrice, uint256 _maxSupply,
        uint256 _nReserved,
        uint256 _maxTokensPerMint,
        string memory _uri,
        string memory _name, string memory _symbol
    ) ERC721(_name, _symbol) {
        price = _startPrice;
        reserved = _nReserved;
        MAX_SUPPLY = _maxSupply;
        MAX_TOKENS_PER_MINT = _maxTokensPerMint;
        baseURI = _uri;
    }

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

    function contractURI() public view returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string calldata uri) public onlyOwner {
        baseURI = uri;
    }

    function setBeneficiary(address payable _beneficiary) public virtual onlyOwner {
        beneficiary = _beneficiary;
    }

    // Freeze forever, unreversible
    function freeze() public onlyOwner {
        isFrozen = true;
    }

    modifier whenNotFrozen() {
        require(!isFrozen, "Minting is frozen");
        _;
    }

    function addExtension(address _extension) public onlyOwner whenNotFrozen {
        require(_extension != address(this), "Cannot add self as extension");

        require(ERC165Checker.supportsInterface(_extension, type(INFTExtension).interfaceId), "Not conforms to extension");

        isExtensionAllowed[_extension] = true;

        emit ExtensionAdded(_extension);
    }

    function revokeExtension(address _extension) public onlyOwner {
        isExtensionAllowed[_extension] = false;

        emit ExtensionRevoked(_extension);
    }

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

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

    modifier whenSaleStarted() {
        require(saleStarted, "Sale not started");
        _;
    }

    modifier onlyExtension() {
        require(isExtensionAllowed[msg.sender], "Extension should be added to contract before minting");
        _;
    }

    function mintExternal(uint256 _nbTokens, address to, bytes32) public payable virtual onlyExtension {
        uint256 supply = totalSupply();

        require(supply + _nbTokens <= MAX_SUPPLY - reserved, "Not enough Tokens left.");

        for (uint256 i; i < _nbTokens; i++) {
            _safeMint(to, supply + i);
        }
    }

    function mint(uint256 _nbTokens) whenSaleStarted public payable virtual {
        uint256 supply = totalSupply();
        require(_nbTokens <= MAX_TOKENS_PER_MINT, "You cannot mint more than MAX_TOKENS_PER_MINT tokens at once!");
        require(supply + _nbTokens <= MAX_SUPPLY - reserved, "Not enough Tokens left.");
        require(_nbTokens * price <= msg.value, "Inconsistent amount sent!");

        for (uint256 i; i < _nbTokens; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function flipSaleStarted() external onlyOwner {
        require(beneficiary != address(0), "Beneficiary not set");

        saleStarted = !saleStarted;

        if (saleStarted && startingIndex == 0) {
            setStartingIndex();
        }
    }

    // Make it possible to change the price: just in case
    function setPrice(uint256 _newPrice) external virtual onlyOwner {
        price = _newPrice;
    }

    function getPrice() public view virtual returns (uint256){
        return price;
    }

    function getReservedLeft() public view virtual returns (uint256) {
        return reserved;
    }

    // This should be set before sales open.
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        PROVENANCE_HASH = provenanceHash;
    }

    // Helper to list all the tokens of a wallet
    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

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

    function claimReserved(uint256 _number, address _receiver) external onlyOwner virtual {
        require(_number <= reserved, "That would exceed the max reserved.");

        uint256 _tokenId = totalSupply();
        for (uint256 i; i < _number; i++) {
            _safeMint(_receiver, _tokenId + i);
        }

        reserved = reserved - _number;
    }

    function setStartingIndex() public virtual {
        require(startingIndex == 0, "Starting index is already set");

        // BlockHash only works for the most 256 recent blocks.
        uint256 _block_shift = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp)));
        _block_shift =  1 + (_block_shift % 255);

        // This shouldn't happen, but just in case the blockchain gets a reboot?
        if (block.number < _block_shift) {
            _block_shift = 1;
        }

        uint256 _block_ref = block.number - _block_shift;
        startingIndex = uint(blockhash(_block_ref)) % MAX_SUPPLY;

        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex + 1;
        }
    }

    function withdraw() public virtual onlyOwner {
        require(beneficiary != address(0), "Beneficiary not set");

        uint256 _balance = address(this).balance;

        require(payable(beneficiary).send(_balance));
    }

    function DEVELOPER() public pure returns (string memory _url) {
        _url = "https://buildship.dev";
    }

    function DEVELOPER_ADDRESS() public pure returns (address payable _dev) {
        _dev = payable(0x704C043CeB93bD6cBE570C6A2708c3E1C0310587);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Library used to query support of an interface declared via {IERC165}.
 *
 * Note that these functions return the actual result of the query: they do not
 * `revert` if an interface is not supported. It is up to the caller to decide
 * what to do in these cases.
 */
library ERC165Checker {
    // As per the EIP-165 spec, no interface should ever match 0xffffffff
    bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

    /**
     * @dev Returns true if `account` supports the {IERC165} interface,
     */
    function supportsERC165(address account) internal view returns (bool) {
        // Any contract that implements ERC165 must explicitly indicate support of
        // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid
        return
            _supportsERC165Interface(account, type(IERC165).interfaceId) &&
            !_supportsERC165Interface(account, _INTERFACE_ID_INVALID);
    }

    /**
     * @dev Returns true if `account` supports the interface defined by
     * `interfaceId`. Support for {IERC165} itself is queried automatically.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {
        // query support of both ERC165 as per the spec and support of _interfaceId
        return supportsERC165(account) && _supportsERC165Interface(account, interfaceId);
    }

    /**
     * @dev Returns a boolean array where each value corresponds to the
     * interfaces passed in and whether they're supported or not. This allows
     * you to batch check interfaces for a contract where your expectation
     * is that some interfaces may not be supported.
     *
     * See {IERC165-supportsInterface}.
     *
     * _Available since v3.4._
     */
    function getSupportedInterfaces(address account, bytes4[] memory interfaceIds)
        internal
        view
        returns (bool[] memory)
    {
        // an array of booleans corresponding to interfaceIds and whether they're supported or not
        bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);

        // query support of ERC165 itself
        if (supportsERC165(account)) {
            // query support of each interface in interfaceIds
            for (uint256 i = 0; i < interfaceIds.length; i++) {
                interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]);
            }
        }

        return interfaceIdsSupported;
    }

    /**
     * @dev Returns true if `account` supports all the interfaces defined in
     * `interfaceIds`. Support for {IERC165} itself is queried automatically.
     *
     * Batch-querying can lead to gas savings by skipping repeated checks for
     * {IERC165} support.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
        // query support of ERC165 itself
        if (!supportsERC165(account)) {
            return false;
        }

        // query support of each interface in _interfaceIds
        for (uint256 i = 0; i < interfaceIds.length; i++) {
            if (!_supportsERC165Interface(account, interfaceIds[i])) {
                return false;
            }
        }

        // all interfaces supported
        return true;
    }

    /**
     * @notice Query if a contract implements an interface, does not check ERC165 support
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Assumes that account contains a contract that supports ERC165, otherwise
     * the behavior of this method is undefined. This precondition can be checked
     * with {supportsERC165}.
     * Interface identification is specified in ERC-165.
     */
    function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) {
        bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId);
        (bool success, bytes memory result) = account.staticcall{gas: 30000}(encodedParams);
        if (result.length < 32) return false;
        return success && abi.decode(result, (bool));
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"extensionAddress","type":"address"}],"name":"ExtensionAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"extensionAddress","type":"address"}],"name":"ExtensionRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEVELOPER","outputs":[{"internalType":"string","name":"_url","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"DEVELOPER_ADDRESS","outputs":[{"internalType":"address payable","name":"_dev","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"DEVELOPER_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_extension","type":"address"}],"name":"addExtension","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReservedLeft","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":[{"internalType":"address","name":"","type":"address"}],"name":"isExtensionAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nbTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nbTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"mintExternal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_extension","type":"address"}],"name":"revokeExtension","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":"saleStarted","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":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250601190805190602001906200002b92919062000236565b503480156200003957600080fd5b506702c68af0bb140000610bb86000600360405180606001604052806034815260200162005e0d603491396040518060400160405280601281526020017f43797068657250756e6b3a20526562656c7300000000000000000000000000008152506040518060400160405280600681526020017f435950484552000000000000000000000000000000000000000000000000000081525081818160009080519060200190620000ea92919062000236565b5080600190805190602001906200010392919062000236565b505050620001266200011a6200016860201b60201c565b6200017060201b60201c565b86600b8190555084600c8190555085600d8190555083600e8190555082601290805190602001906200015a92919062000236565b50505050505050506200034b565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002449062000315565b90600052602060002090601f016020900481019282620002685760008555620002b4565b82601f106200028357805160ff1916838001178555620002b4565b82800160010185558215620002b4579182015b82811115620002b357825182559160200191906001019062000296565b5b509050620002c39190620002c7565b5090565b5b80821115620002e2576000816000905550600101620002c8565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200032e57607f821691505b60208210811415620003455762000344620002e6565b5b50919050565b615ab2806200035b6000396000f3fe6080604052600436106102ae5760003560e01c806363c5c59911610175578063a769310a116100dc578063daa023aa11610095578063e98665501161006f578063e986655014610a70578063f2fde38b14610a87578063fe60d12c14610ab0578063ff1b655614610adb576102ae565b8063daa023aa146109dd578063e8a3d48514610a08578063e985e9c514610a33576102ae565b8063a769310a146108cf578063b0e1d7f3146108f8578063b88d4fde14610921578063c87b56dd1461094a578063cb774d4714610987578063d56b7546146109b2576102ae565b806391b7f5ed1161012e57806391b7f5ed146107e057806395d89b411461080957806398d5fdca14610834578063a035b1fe1461085f578063a0712d681461088a578063a22cb465146108a6576102ae565b806363c5c599146106e25780636c0360eb1461071f57806370a082311461074a578063715018a614610787578063899d7b381461079e5780638da5cb5b146107b5576102ae565b806333eeb147116102195780634690521b116101d25780634690521b146105e15780634f6ccce7146105fd57806355f804b31461063a5780635c474f9e1461066357806362a5af3b1461068e5780636352211e146106a5576102ae565b806333eeb147146104e35780633c934ab31461050e5780633ccfd60b1461053957806342842e0e14610550578063438b630014610579578063454e66c8146105b6576102ae565b806318160ddd1161026b57806318160ddd146103d35780631c31f710146103fe57806323b872dd146104275780632f745c591461045057806332cb6b0c1461048d5780633377cd66146104b8576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b3146103585780631096952314610381578063170ff3e1146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613c5a565b610b06565b6040516102e79190613ca2565b60405180910390f35b3480156102fc57600080fd5b50610305610b18565b6040516103129190613d56565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613dae565b610baa565b60405161034f9190613e1c565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613e63565b610c2f565b005b34801561038d57600080fd5b506103a860048036038101906103a39190613fd8565b610d47565b005b3480156103b657600080fd5b506103d160048036038101906103cc9190614021565b610ddd565b005b3480156103df57600080fd5b506103e8611000565b6040516103f5919061405d565b60405180910390f35b34801561040a57600080fd5b50610425600480360381019061042091906140b6565b61100d565b005b34801561043357600080fd5b5061044e600480360381019061044991906140e3565b6110cd565b005b34801561045c57600080fd5b5061047760048036038101906104729190613e63565b61112d565b604051610484919061405d565b60405180910390f35b34801561049957600080fd5b506104a26111d2565b6040516104af919061405d565b60405180910390f35b3480156104c457600080fd5b506104cd6111d8565b6040516104da919061405d565b60405180910390f35b3480156104ef57600080fd5b506104f86111de565b6040516105059190613ca2565b60405180910390f35b34801561051a57600080fd5b506105236111f1565b6040516105309190613d56565b60405180910390f35b34801561054557600080fd5b5061054e61122e565b005b34801561055c57600080fd5b50610577600480360381019061057291906140e3565b6113be565b005b34801561058557600080fd5b506105a0600480360381019061059b9190614021565b6113de565b6040516105ad91906141f4565b60405180910390f35b3480156105c257600080fd5b506105cb61148c565b6040516105d89190614225565b60405180910390f35b6105fb60048036038101906105f69190614276565b6114a8565b005b34801561060957600080fd5b50610624600480360381019061061f9190613dae565b6115d7565b604051610631919061405d565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190614329565b611648565b005b34801561066f57600080fd5b506106786116da565b6040516106859190613ca2565b60405180910390f35b34801561069a57600080fd5b506106a36116ed565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613dae565b611786565b6040516106d99190613e1c565b60405180910390f35b3480156106ee57600080fd5b5061070960048036038101906107049190614021565b611838565b6040516107169190613ca2565b60405180910390f35b34801561072b57600080fd5b50610734611858565b6040516107419190613d56565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190614021565b6118e6565b60405161077e919061405d565b60405180910390f35b34801561079357600080fd5b5061079c61199e565b005b3480156107aa57600080fd5b506107b3611a26565b005b3480156107c157600080fd5b506107ca611b8c565b6040516107d79190613e1c565b60405180910390f35b3480156107ec57600080fd5b5061080760048036038101906108029190613dae565b611bb6565b005b34801561081557600080fd5b5061081e611c3c565b60405161082b9190613d56565b60405180910390f35b34801561084057600080fd5b50610849611cce565b604051610856919061405d565b60405180910390f35b34801561086b57600080fd5b50610874611cd8565b604051610881919061405d565b60405180910390f35b6108a4600480360381019061089f9190613dae565b611cde565b005b3480156108b257600080fd5b506108cd60048036038101906108c891906143a2565b611e63565b005b3480156108db57600080fd5b506108f660048036038101906108f19190614021565b611fe4565b005b34801561090457600080fd5b5061091f600480360381019061091a91906143e2565b6120fe565b005b34801561092d57600080fd5b50610948600480360381019061094391906144c3565b612218565b005b34801561095657600080fd5b50610971600480360381019061096c9190613dae565b61227a565b60405161097e9190613d56565b60405180910390f35b34801561099357600080fd5b5061099c612321565b6040516109a9919061405d565b60405180910390f35b3480156109be57600080fd5b506109c7612327565b6040516109d4919061405d565b60405180910390f35b3480156109e957600080fd5b506109f261232c565b6040516109ff919061405d565b60405180910390f35b348015610a1457600080fd5b50610a1d612336565b604051610a2a9190613d56565b60405180910390f35b348015610a3f57600080fd5b50610a5a6004803603810190610a559190614546565b6123c8565b604051610a679190613ca2565b60405180910390f35b348015610a7c57600080fd5b50610a8561245c565b005b348015610a9357600080fd5b50610aae6004803603810190610aa99190614021565b612546565b005b348015610abc57600080fd5b50610ac561263e565b604051610ad2919061405d565b60405180910390f35b348015610ae757600080fd5b50610af0612644565b604051610afd9190613d56565b60405180910390f35b6000610b11826126d2565b9050919050565b606060008054610b27906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b53906145b5565b8015610ba05780601f10610b7557610100808354040283529160200191610ba0565b820191906000526020600020905b815481529060010190602001808311610b8357829003601f168201915b5050505050905090565b6000610bb58261274c565b610bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610beb90614659565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3a82611786565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca2906146eb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cca6127b8565b73ffffffffffffffffffffffffffffffffffffffff161480610cf95750610cf881610cf36127b8565b6123c8565b5b610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f9061477d565b60405180910390fd5b610d4283836127c0565b505050565b610d4f6127b8565b73ffffffffffffffffffffffffffffffffffffffff16610d6d611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba906147e9565b60405180910390fd5b8060119080519060200190610dd9929190613ac5565b5050565b610de56127b8565b73ffffffffffffffffffffffffffffffffffffffff16610e03611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e50906147e9565b60405180910390fd5b601060159054906101000a900460ff1615610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea090614855565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0f906148c1565b60405180910390fd5b610f23816000612879565b610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f599061492d565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f99c6112dbaef85e57ac8ca86dd23e3c785162b58a6e810e5d5e7455b568d66b160405160405180910390a250565b6000600880549050905090565b6110156127b8565b73ffffffffffffffffffffffffffffffffffffffff16611033611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611089576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611080906147e9565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110de6110d86127b8565b8261289e565b61111d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611114906149bf565b60405180910390fd5b61112883838361297c565b505050565b6000611138836118e6565b8210611179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117090614a51565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d5481565b600e5481565b601060159054906101000a900460ff1681565b60606040518060400160405280601581526020017f68747470733a2f2f6275696c64736869702e6465760000000000000000000000815250905090565b6112366127b8565b73ffffffffffffffffffffffffffffffffffffffff16611254611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a1906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390614abd565b60405180910390fd5b6000479050600061271060fa6127106113559190614b0c565b836113609190614b40565b61136a9190614bc9565b9050600061137661148c565b90506113a4601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612bd8565b6113b98183856113b49190614b0c565b612bd8565b505050565b6113d983838360405180602001604052806000815250612218565b505050565b606060006113eb836118e6565b905060008167ffffffffffffffff81111561140957611408613ead565b5b6040519080825280602002602001820160405280156114375781602001602082028036833780820191505090505b50905060005b828110156114815761144f858261112d565b82828151811061146257611461614bfa565b5b602002602001018181525050808061147990614c29565b91505061143d565b508092505050919050565b600073704c043ceb93bd6cbe570c6a2708c3e1c0310587905090565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152b90614ce4565b60405180910390fd5b600061153e611000565b9050600c54600d546115509190614b0c565b848261155c9190614d04565b111561159d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159490614da6565b60405180910390fd5b60005b848110156115d0576115bd8482846115b89190614d04565b612ccc565b80806115c890614c29565b9150506115a0565b5050505050565b60006115e1611000565b8210611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990614e38565b60405180910390fd5b6008828154811061163657611635614bfa565b5b90600052602060002001549050919050565b6116506127b8565b73ffffffffffffffffffffffffffffffffffffffff1661166e611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb906147e9565b60405180910390fd5b8181601291906116d5929190613b4b565b505050565b601060149054906101000a900460ff1681565b6116f56127b8565b73ffffffffffffffffffffffffffffffffffffffff16611713611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611760906147e9565b60405180910390fd5b6001601060156101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561182f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182690614eca565b60405180910390fd5b80915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b60128054611865906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611891906145b5565b80156118de5780601f106118b3576101008083540402835291602001916118de565b820191906000526020600020905b8154815290600101906020018083116118c157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e90614f5c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119a66127b8565b73ffffffffffffffffffffffffffffffffffffffff166119c4611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a11906147e9565b60405180910390fd5b611a246000612cea565b565b611a2e6127b8565b73ffffffffffffffffffffffffffffffffffffffff16611a4c611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a99906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2b90614abd565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550601060149054906101000a900460ff168015611b7c57506000600f54145b15611b8a57611b8961245c565b5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bbe6127b8565b73ffffffffffffffffffffffffffffffffffffffff16611bdc611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c29906147e9565b60405180910390fd5b80600b8190555050565b606060018054611c4b906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611c77906145b5565b8015611cc45780601f10611c9957610100808354040283529160200191611cc4565b820191906000526020600020905b815481529060010190602001808311611ca757829003601f168201915b5050505050905090565b6000600b54905090565b600b5481565b601060149054906101000a900460ff16611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490614fc8565b60405180910390fd5b6000611d37611000565b9050600e54821115611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d759061505a565b60405180910390fd5b600c54600d54611d8e9190614b0c565b8282611d9a9190614d04565b1115611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd290614da6565b60405180910390fd5b34600b5483611dea9190614b40565b1115611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e22906150c6565b60405180910390fd5b60005b82811015611e5e57611e4b338284611e469190614d04565b612ccc565b8080611e5690614c29565b915050611e2e565b505050565b611e6b6127b8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed090615132565b60405180910390fd5b8060056000611ee66127b8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f936127b8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fd89190613ca2565b60405180910390a35050565b611fec6127b8565b73ffffffffffffffffffffffffffffffffffffffff1661200a611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614612060576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612057906147e9565b60405180910390fd5b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fe056b30f86b962fc88925cb7559e4364707cab11d2c52e090e6c0db62eb9113560405160405180910390a250565b6121066127b8565b73ffffffffffffffffffffffffffffffffffffffff16612124611b8c565b73ffffffffffffffffffffffffffffffffffffffff161461217a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612171906147e9565b60405180910390fd5b600c548211156121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906151c4565b60405180910390fd5b60006121c9611000565b905060005b838110156121fe576121eb8382846121e69190614d04565b612ccc565b80806121f690614c29565b9150506121ce565b5082600c5461220d9190614b0c565b600c81905550505050565b6122296122236127b8565b8361289e565b612268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225f906149bf565b60405180910390fd5b61227484848484612db0565b50505050565b60606122858261274c565b6122c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bb90615256565b60405180910390fd5b60006122ce612e0c565b905060008151116122ee5760405180602001604052806000815250612319565b806122f884612e9e565b6040516020016123099291906152b2565b6040516020818303038152906040525b915050919050565b600f5481565b60fa81565b6000600c54905090565b606060128054612345906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054612371906145b5565b80156123be5780601f10612393576101008083540402835291602001916123be565b820191906000526020600020905b8154815290600101906020018083116123a157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600f54146124a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249890615322565b60405180910390fd5b600044426040516020016124b6929190615363565b6040516020818303038152906040528051906020012060001c905060ff816124de919061538f565b60016124ea9190614d04565b9050804310156124f957600190505b600081436125079190614b0c565b9050600d54814060001c61251b919061538f565b600f819055506000600f541415612542576001600f5461253b9190614d04565b600f819055505b5050565b61254e6127b8565b73ffffffffffffffffffffffffffffffffffffffff1661256c611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146125c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b9906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990615432565b60405180910390fd5b61263b81612cea565b50565b600c5481565b60118054612651906145b5565b80601f016020809104026020016040519081016040528092919081815260200182805461267d906145b5565b80156126ca5780601f1061269f576101008083540402835291602001916126ca565b820191906000526020600020905b8154815290600101906020018083116126ad57829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612745575061274482612fff565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661283383611786565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612884836130e1565b80156128965750612895838361312e565b5b905092915050565b60006128a98261274c565b6128e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128df906154c4565b60405180910390fd5b60006128f383611786565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296257508373ffffffffffffffffffffffffffffffffffffffff1661294a84610baa565b73ffffffffffffffffffffffffffffffffffffffff16145b80612973575061297281856123c8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661299c82611786565b73ffffffffffffffffffffffffffffffffffffffff16146129f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e990615556565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a59906155e8565b60405180910390fd5b612a6d838383613259565b612a786000826127c0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac89190614b0c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b1f9190614d04565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1290615654565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c41906156a5565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5050905080612cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbe9061572c565b60405180910390fd5b505050565b612ce6828260405180602001604052806000815250613269565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612dbb84848461297c565b612dc7848484846132c4565b612e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfd906157be565b60405180910390fd5b50505050565b606060128054612e1b906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054612e47906145b5565b8015612e945780601f10612e6957610100808354040283529160200191612e94565b820191906000526020600020905b815481529060010190602001808311612e7757829003601f168201915b5050505050905090565b60606000821415612ee6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ffa565b600082905060005b60008214612f18578080612f0190614c29565b915050600a82612f119190614bc9565b9150612eee565b60008167ffffffffffffffff811115612f3457612f33613ead565b5b6040519080825280601f01601f191660200182016040528015612f665781602001600182028036833780820191505090505b5090505b60008514612ff357600182612f7f9190614b0c565b9150600a85612f8e919061538f565b6030612f9a9190614d04565b60f81b818381518110612fb057612faf614bfa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fec9190614bc9565b9450612f6a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130ca57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130da57506130d98261345b565b5b9050919050565b600061310d827f01ffc9a70000000000000000000000000000000000000000000000000000000061312e565b801561312757506131258263ffffffff60e01b61312e565b155b9050919050565b6000806301ffc9a760e01b8360405160240161314a91906157ed565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506000808573ffffffffffffffffffffffffffffffffffffffff16617530846040516131d49190615844565b6000604051808303818686fa925050503d8060008114613210576040519150601f19603f3d011682016040523d82523d6000602084013e613215565b606091505b50915091506020815110156132305760009350505050613253565b81801561324d57508080602001905181019061324c9190615870565b5b93505050505b92915050565b6132648383836134c5565b505050565b61327383836135d9565b61328060008484846132c4565b6132bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b6906157be565b60405180910390fd5b505050565b60006132e58473ffffffffffffffffffffffffffffffffffffffff166137a7565b1561344e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261330e6127b8565b8786866040518563ffffffff1660e01b815260040161333094939291906158e7565b602060405180830381600087803b15801561334a57600080fd5b505af192505050801561337b57506040513d601f19601f820116820180604052508101906133789190615948565b60015b6133fe573d80600081146133ab576040519150601f19603f3d011682016040523d82523d6000602084013e6133b0565b606091505b506000815114156133f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ed906157be565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613453565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134d08383836137ba565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135135761350e816137bf565b613552565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613551576135508382613808565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135955761359081613975565b6135d4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135d3576135d28282613a46565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613640906159c1565b60405180910390fd5b6136528161274c565b15613692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368990615a2d565b60405180910390fd5b61369e60008383613259565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136ee9190614d04565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613815846118e6565b61381f9190614b0c565b9050600060076000848152602001908152602001600020549050818114613904576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139899190614b0c565b90506000600960008481526020019081526020016000205490506000600883815481106139b9576139b8614bfa565b5b9060005260206000200154905080600883815481106139db576139da614bfa565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a2a57613a29615a4d565b5b6001900381819060005260206000200160009055905550505050565b6000613a51836118e6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613ad1906145b5565b90600052602060002090601f016020900481019282613af35760008555613b3a565b82601f10613b0c57805160ff1916838001178555613b3a565b82800160010185558215613b3a579182015b82811115613b39578251825591602001919060010190613b1e565b5b509050613b479190613bd1565b5090565b828054613b57906145b5565b90600052602060002090601f016020900481019282613b795760008555613bc0565b82601f10613b9257803560ff1916838001178555613bc0565b82800160010185558215613bc0579182015b82811115613bbf578235825591602001919060010190613ba4565b5b509050613bcd9190613bd1565b5090565b5b80821115613bea576000816000905550600101613bd2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c3781613c02565b8114613c4257600080fd5b50565b600081359050613c5481613c2e565b92915050565b600060208284031215613c7057613c6f613bf8565b5b6000613c7e84828501613c45565b91505092915050565b60008115159050919050565b613c9c81613c87565b82525050565b6000602082019050613cb76000830184613c93565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cf7578082015181840152602081019050613cdc565b83811115613d06576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d2882613cbd565b613d328185613cc8565b9350613d42818560208601613cd9565b613d4b81613d0c565b840191505092915050565b60006020820190508181036000830152613d708184613d1d565b905092915050565b6000819050919050565b613d8b81613d78565b8114613d9657600080fd5b50565b600081359050613da881613d82565b92915050565b600060208284031215613dc457613dc3613bf8565b5b6000613dd284828501613d99565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e0682613ddb565b9050919050565b613e1681613dfb565b82525050565b6000602082019050613e316000830184613e0d565b92915050565b613e4081613dfb565b8114613e4b57600080fd5b50565b600081359050613e5d81613e37565b92915050565b60008060408385031215613e7a57613e79613bf8565b5b6000613e8885828601613e4e565b9250506020613e9985828601613d99565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ee582613d0c565b810181811067ffffffffffffffff82111715613f0457613f03613ead565b5b80604052505050565b6000613f17613bee565b9050613f238282613edc565b919050565b600067ffffffffffffffff821115613f4357613f42613ead565b5b613f4c82613d0c565b9050602081019050919050565b82818337600083830152505050565b6000613f7b613f7684613f28565b613f0d565b905082815260208101848484011115613f9757613f96613ea8565b5b613fa2848285613f59565b509392505050565b600082601f830112613fbf57613fbe613ea3565b5b8135613fcf848260208601613f68565b91505092915050565b600060208284031215613fee57613fed613bf8565b5b600082013567ffffffffffffffff81111561400c5761400b613bfd565b5b61401884828501613faa565b91505092915050565b60006020828403121561403757614036613bf8565b5b600061404584828501613e4e565b91505092915050565b61405781613d78565b82525050565b6000602082019050614072600083018461404e565b92915050565b600061408382613ddb565b9050919050565b61409381614078565b811461409e57600080fd5b50565b6000813590506140b08161408a565b92915050565b6000602082840312156140cc576140cb613bf8565b5b60006140da848285016140a1565b91505092915050565b6000806000606084860312156140fc576140fb613bf8565b5b600061410a86828701613e4e565b935050602061411b86828701613e4e565b925050604061412c86828701613d99565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61416b81613d78565b82525050565b600061417d8383614162565b60208301905092915050565b6000602082019050919050565b60006141a182614136565b6141ab8185614141565b93506141b683614152565b8060005b838110156141e75781516141ce8882614171565b97506141d983614189565b9250506001810190506141ba565b5085935050505092915050565b6000602082019050818103600083015261420e8184614196565b905092915050565b61421f81614078565b82525050565b600060208201905061423a6000830184614216565b92915050565b6000819050919050565b61425381614240565b811461425e57600080fd5b50565b6000813590506142708161424a565b92915050565b60008060006060848603121561428f5761428e613bf8565b5b600061429d86828701613d99565b93505060206142ae86828701613e4e565b92505060406142bf86828701614261565b9150509250925092565b600080fd5b600080fd5b60008083601f8401126142e9576142e8613ea3565b5b8235905067ffffffffffffffff811115614306576143056142c9565b5b602083019150836001820283011115614322576143216142ce565b5b9250929050565b600080602083850312156143405761433f613bf8565b5b600083013567ffffffffffffffff81111561435e5761435d613bfd565b5b61436a858286016142d3565b92509250509250929050565b61437f81613c87565b811461438a57600080fd5b50565b60008135905061439c81614376565b92915050565b600080604083850312156143b9576143b8613bf8565b5b60006143c785828601613e4e565b92505060206143d88582860161438d565b9150509250929050565b600080604083850312156143f9576143f8613bf8565b5b600061440785828601613d99565b925050602061441885828601613e4e565b9150509250929050565b600067ffffffffffffffff82111561443d5761443c613ead565b5b61444682613d0c565b9050602081019050919050565b600061446661446184614422565b613f0d565b90508281526020810184848401111561448257614481613ea8565b5b61448d848285613f59565b509392505050565b600082601f8301126144aa576144a9613ea3565b5b81356144ba848260208601614453565b91505092915050565b600080600080608085870312156144dd576144dc613bf8565b5b60006144eb87828801613e4e565b94505060206144fc87828801613e4e565b935050604061450d87828801613d99565b925050606085013567ffffffffffffffff81111561452e5761452d613bfd565b5b61453a87828801614495565b91505092959194509250565b6000806040838503121561455d5761455c613bf8565b5b600061456b85828601613e4e565b925050602061457c85828601613e4e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145cd57607f821691505b602082108114156145e1576145e0614586565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614643602c83613cc8565b915061464e826145e7565b604082019050919050565b6000602082019050818103600083015261467281614636565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146d5602183613cc8565b91506146e082614679565b604082019050919050565b60006020820190508181036000830152614704816146c8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614767603883613cc8565b91506147728261470b565b604082019050919050565b600060208201905081810360008301526147968161475a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147d3602083613cc8565b91506147de8261479d565b602082019050919050565b60006020820190508181036000830152614802816147c6565b9050919050565b7f4d696e74696e672069732066726f7a656e000000000000000000000000000000600082015250565b600061483f601183613cc8565b915061484a82614809565b602082019050919050565b6000602082019050818103600083015261486e81614832565b9050919050565b7f43616e6e6f74206164642073656c6620617320657874656e73696f6e00000000600082015250565b60006148ab601c83613cc8565b91506148b682614875565b602082019050919050565b600060208201905081810360008301526148da8161489e565b9050919050565b7f4e6f7420636f6e666f726d7320746f20657874656e73696f6e00000000000000600082015250565b6000614917601983613cc8565b9150614922826148e1565b602082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149a9603183613cc8565b91506149b48261494d565b604082019050919050565b600060208201905081810360008301526149d88161499c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a3b602b83613cc8565b9150614a46826149df565b604082019050919050565b60006020820190508181036000830152614a6a81614a2e565b9050919050565b7f42656e6566696369617279206e6f742073657400000000000000000000000000600082015250565b6000614aa7601383613cc8565b9150614ab282614a71565b602082019050919050565b60006020820190508181036000830152614ad681614a9a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b1782613d78565b9150614b2283613d78565b925082821015614b3557614b34614add565b5b828203905092915050565b6000614b4b82613d78565b9150614b5683613d78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b8f57614b8e614add565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bd482613d78565b9150614bdf83613d78565b925082614bef57614bee614b9a565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614c3482613d78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c6757614c66614add565b5b600182019050919050565b7f457874656e73696f6e2073686f756c6420626520616464656420746f20636f6e60008201527f7472616374206265666f7265206d696e74696e67000000000000000000000000602082015250565b6000614cce603483613cc8565b9150614cd982614c72565b604082019050919050565b60006020820190508181036000830152614cfd81614cc1565b9050919050565b6000614d0f82613d78565b9150614d1a83613d78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d4f57614d4e614add565b5b828201905092915050565b7f4e6f7420656e6f75676820546f6b656e73206c6566742e000000000000000000600082015250565b6000614d90601783613cc8565b9150614d9b82614d5a565b602082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e22602c83613cc8565b9150614e2d82614dc6565b604082019050919050565b60006020820190508181036000830152614e5181614e15565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614eb4602983613cc8565b9150614ebf82614e58565b604082019050919050565b60006020820190508181036000830152614ee381614ea7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614f46602a83613cc8565b9150614f5182614eea565b604082019050919050565b60006020820190508181036000830152614f7581614f39565b9050919050565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b6000614fb2601083613cc8565b9150614fbd82614f7c565b602082019050919050565b60006020820190508181036000830152614fe181614fa5565b9050919050565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e204d41585f544f60008201527f4b454e535f5045525f4d494e5420746f6b656e73206174206f6e636521000000602082015250565b6000615044603d83613cc8565b915061504f82614fe8565b604082019050919050565b6000602082019050818103600083015261507381615037565b9050919050565b7f496e636f6e73697374656e7420616d6f756e742073656e742100000000000000600082015250565b60006150b0601983613cc8565b91506150bb8261507a565b602082019050919050565b600060208201905081810360008301526150df816150a3565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061511c601983613cc8565b9150615127826150e6565b602082019050919050565b6000602082019050818103600083015261514b8161510f565b9050919050565b7f5468617420776f756c642065786365656420746865206d61782072657365727660008201527f65642e0000000000000000000000000000000000000000000000000000000000602082015250565b60006151ae602383613cc8565b91506151b982615152565b604082019050919050565b600060208201905081810360008301526151dd816151a1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615240602f83613cc8565b915061524b826151e4565b604082019050919050565b6000602082019050818103600083015261526f81615233565b9050919050565b600081905092915050565b600061528c82613cbd565b6152968185615276565b93506152a6818560208601613cd9565b80840191505092915050565b60006152be8285615281565b91506152ca8284615281565b91508190509392505050565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b600061530c601d83613cc8565b9150615317826152d6565b602082019050919050565b6000602082019050818103600083015261533b816152ff565b9050919050565b6000819050919050565b61535d61535882613d78565b615342565b82525050565b600061536f828561534c565b60208201915061537f828461534c565b6020820191508190509392505050565b600061539a82613d78565b91506153a583613d78565b9250826153b5576153b4614b9a565b5b828206905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061541c602683613cc8565b9150615427826153c0565b604082019050919050565b6000602082019050818103600083015261544b8161540f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006154ae602c83613cc8565b91506154b982615452565b604082019050919050565b600060208201905081810360008301526154dd816154a1565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615540602983613cc8565b915061554b826154e4565b604082019050919050565b6000602082019050818103600083015261556f81615533565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006155d2602483613cc8565b91506155dd82615576565b604082019050919050565b60006020820190508181036000830152615601816155c5565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061563e601d83613cc8565b915061564982615608565b602082019050919050565b6000602082019050818103600083015261566d81615631565b9050919050565b600081905092915050565b50565b600061568f600083615674565b915061569a8261567f565b600082019050919050565b60006156b082615682565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615716603a83613cc8565b9150615721826156ba565b604082019050919050565b6000602082019050818103600083015261574581615709565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006157a8603283613cc8565b91506157b38261574c565b604082019050919050565b600060208201905081810360008301526157d78161579b565b9050919050565b6157e781613c02565b82525050565b600060208201905061580260008301846157de565b92915050565b600081519050919050565b600061581e82615808565b6158288185615674565b9350615838818560208601613cd9565b80840191505092915050565b60006158508284615813565b915081905092915050565b60008151905061586a81614376565b92915050565b60006020828403121561588657615885613bf8565b5b60006158948482850161585b565b91505092915050565b600082825260208201905092915050565b60006158b982615808565b6158c3818561589d565b93506158d3818560208601613cd9565b6158dc81613d0c565b840191505092915050565b60006080820190506158fc6000830187613e0d565b6159096020830186613e0d565b615916604083018561404e565b818103606083015261592881846158ae565b905095945050505050565b60008151905061594281613c2e565b92915050565b60006020828403121561595e5761595d613bf8565b5b600061596c84828501615933565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006159ab602083613cc8565b91506159b682615975565b602082019050919050565b600060208201905081810360008301526159da8161599e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615a17601c83613cc8565b9150615a22826159e1565b602082019050919050565b60006020820190508181036000830152615a4681615a0a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204874a90c544a658b63853b1b08ce550ad2406e495443e194fea354a8e192237664736f6c6343000809003368747470733a2f2f6d657461646174612e6275696c64736869702e6465762f6170692f746f6b656e2f63797068657270756e6b2f

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c806363c5c59911610175578063a769310a116100dc578063daa023aa11610095578063e98665501161006f578063e986655014610a70578063f2fde38b14610a87578063fe60d12c14610ab0578063ff1b655614610adb576102ae565b8063daa023aa146109dd578063e8a3d48514610a08578063e985e9c514610a33576102ae565b8063a769310a146108cf578063b0e1d7f3146108f8578063b88d4fde14610921578063c87b56dd1461094a578063cb774d4714610987578063d56b7546146109b2576102ae565b806391b7f5ed1161012e57806391b7f5ed146107e057806395d89b411461080957806398d5fdca14610834578063a035b1fe1461085f578063a0712d681461088a578063a22cb465146108a6576102ae565b806363c5c599146106e25780636c0360eb1461071f57806370a082311461074a578063715018a614610787578063899d7b381461079e5780638da5cb5b146107b5576102ae565b806333eeb147116102195780634690521b116101d25780634690521b146105e15780634f6ccce7146105fd57806355f804b31461063a5780635c474f9e1461066357806362a5af3b1461068e5780636352211e146106a5576102ae565b806333eeb147146104e35780633c934ab31461050e5780633ccfd60b1461053957806342842e0e14610550578063438b630014610579578063454e66c8146105b6576102ae565b806318160ddd1161026b57806318160ddd146103d35780631c31f710146103fe57806323b872dd146104275780632f745c591461045057806332cb6b0c1461048d5780633377cd66146104b8576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b3146103585780631096952314610381578063170ff3e1146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190613c5a565b610b06565b6040516102e79190613ca2565b60405180910390f35b3480156102fc57600080fd5b50610305610b18565b6040516103129190613d56565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613dae565b610baa565b60405161034f9190613e1c565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613e63565b610c2f565b005b34801561038d57600080fd5b506103a860048036038101906103a39190613fd8565b610d47565b005b3480156103b657600080fd5b506103d160048036038101906103cc9190614021565b610ddd565b005b3480156103df57600080fd5b506103e8611000565b6040516103f5919061405d565b60405180910390f35b34801561040a57600080fd5b50610425600480360381019061042091906140b6565b61100d565b005b34801561043357600080fd5b5061044e600480360381019061044991906140e3565b6110cd565b005b34801561045c57600080fd5b5061047760048036038101906104729190613e63565b61112d565b604051610484919061405d565b60405180910390f35b34801561049957600080fd5b506104a26111d2565b6040516104af919061405d565b60405180910390f35b3480156104c457600080fd5b506104cd6111d8565b6040516104da919061405d565b60405180910390f35b3480156104ef57600080fd5b506104f86111de565b6040516105059190613ca2565b60405180910390f35b34801561051a57600080fd5b506105236111f1565b6040516105309190613d56565b60405180910390f35b34801561054557600080fd5b5061054e61122e565b005b34801561055c57600080fd5b50610577600480360381019061057291906140e3565b6113be565b005b34801561058557600080fd5b506105a0600480360381019061059b9190614021565b6113de565b6040516105ad91906141f4565b60405180910390f35b3480156105c257600080fd5b506105cb61148c565b6040516105d89190614225565b60405180910390f35b6105fb60048036038101906105f69190614276565b6114a8565b005b34801561060957600080fd5b50610624600480360381019061061f9190613dae565b6115d7565b604051610631919061405d565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190614329565b611648565b005b34801561066f57600080fd5b506106786116da565b6040516106859190613ca2565b60405180910390f35b34801561069a57600080fd5b506106a36116ed565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613dae565b611786565b6040516106d99190613e1c565b60405180910390f35b3480156106ee57600080fd5b5061070960048036038101906107049190614021565b611838565b6040516107169190613ca2565b60405180910390f35b34801561072b57600080fd5b50610734611858565b6040516107419190613d56565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190614021565b6118e6565b60405161077e919061405d565b60405180910390f35b34801561079357600080fd5b5061079c61199e565b005b3480156107aa57600080fd5b506107b3611a26565b005b3480156107c157600080fd5b506107ca611b8c565b6040516107d79190613e1c565b60405180910390f35b3480156107ec57600080fd5b5061080760048036038101906108029190613dae565b611bb6565b005b34801561081557600080fd5b5061081e611c3c565b60405161082b9190613d56565b60405180910390f35b34801561084057600080fd5b50610849611cce565b604051610856919061405d565b60405180910390f35b34801561086b57600080fd5b50610874611cd8565b604051610881919061405d565b60405180910390f35b6108a4600480360381019061089f9190613dae565b611cde565b005b3480156108b257600080fd5b506108cd60048036038101906108c891906143a2565b611e63565b005b3480156108db57600080fd5b506108f660048036038101906108f19190614021565b611fe4565b005b34801561090457600080fd5b5061091f600480360381019061091a91906143e2565b6120fe565b005b34801561092d57600080fd5b50610948600480360381019061094391906144c3565b612218565b005b34801561095657600080fd5b50610971600480360381019061096c9190613dae565b61227a565b60405161097e9190613d56565b60405180910390f35b34801561099357600080fd5b5061099c612321565b6040516109a9919061405d565b60405180910390f35b3480156109be57600080fd5b506109c7612327565b6040516109d4919061405d565b60405180910390f35b3480156109e957600080fd5b506109f261232c565b6040516109ff919061405d565b60405180910390f35b348015610a1457600080fd5b50610a1d612336565b604051610a2a9190613d56565b60405180910390f35b348015610a3f57600080fd5b50610a5a6004803603810190610a559190614546565b6123c8565b604051610a679190613ca2565b60405180910390f35b348015610a7c57600080fd5b50610a8561245c565b005b348015610a9357600080fd5b50610aae6004803603810190610aa99190614021565b612546565b005b348015610abc57600080fd5b50610ac561263e565b604051610ad2919061405d565b60405180910390f35b348015610ae757600080fd5b50610af0612644565b604051610afd9190613d56565b60405180910390f35b6000610b11826126d2565b9050919050565b606060008054610b27906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b53906145b5565b8015610ba05780601f10610b7557610100808354040283529160200191610ba0565b820191906000526020600020905b815481529060010190602001808311610b8357829003601f168201915b5050505050905090565b6000610bb58261274c565b610bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610beb90614659565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3a82611786565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca2906146eb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cca6127b8565b73ffffffffffffffffffffffffffffffffffffffff161480610cf95750610cf881610cf36127b8565b6123c8565b5b610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f9061477d565b60405180910390fd5b610d4283836127c0565b505050565b610d4f6127b8565b73ffffffffffffffffffffffffffffffffffffffff16610d6d611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba906147e9565b60405180910390fd5b8060119080519060200190610dd9929190613ac5565b5050565b610de56127b8565b73ffffffffffffffffffffffffffffffffffffffff16610e03611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e50906147e9565b60405180910390fd5b601060159054906101000a900460ff1615610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea090614855565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0f906148c1565b60405180910390fd5b610f23816000612879565b610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f599061492d565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f99c6112dbaef85e57ac8ca86dd23e3c785162b58a6e810e5d5e7455b568d66b160405160405180910390a250565b6000600880549050905090565b6110156127b8565b73ffffffffffffffffffffffffffffffffffffffff16611033611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611089576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611080906147e9565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110de6110d86127b8565b8261289e565b61111d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611114906149bf565b60405180910390fd5b61112883838361297c565b505050565b6000611138836118e6565b8210611179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117090614a51565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d5481565b600e5481565b601060159054906101000a900460ff1681565b60606040518060400160405280601581526020017f68747470733a2f2f6275696c64736869702e6465760000000000000000000000815250905090565b6112366127b8565b73ffffffffffffffffffffffffffffffffffffffff16611254611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a1906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390614abd565b60405180910390fd5b6000479050600061271060fa6127106113559190614b0c565b836113609190614b40565b61136a9190614bc9565b9050600061137661148c565b90506113a4601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612bd8565b6113b98183856113b49190614b0c565b612bd8565b505050565b6113d983838360405180602001604052806000815250612218565b505050565b606060006113eb836118e6565b905060008167ffffffffffffffff81111561140957611408613ead565b5b6040519080825280602002602001820160405280156114375781602001602082028036833780820191505090505b50905060005b828110156114815761144f858261112d565b82828151811061146257611461614bfa565b5b602002602001018181525050808061147990614c29565b91505061143d565b508092505050919050565b600073704c043ceb93bd6cbe570c6a2708c3e1c0310587905090565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611534576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152b90614ce4565b60405180910390fd5b600061153e611000565b9050600c54600d546115509190614b0c565b848261155c9190614d04565b111561159d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159490614da6565b60405180910390fd5b60005b848110156115d0576115bd8482846115b89190614d04565b612ccc565b80806115c890614c29565b9150506115a0565b5050505050565b60006115e1611000565b8210611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990614e38565b60405180910390fd5b6008828154811061163657611635614bfa565b5b90600052602060002001549050919050565b6116506127b8565b73ffffffffffffffffffffffffffffffffffffffff1661166e611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb906147e9565b60405180910390fd5b8181601291906116d5929190613b4b565b505050565b601060149054906101000a900460ff1681565b6116f56127b8565b73ffffffffffffffffffffffffffffffffffffffff16611713611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611760906147e9565b60405180910390fd5b6001601060156101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561182f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182690614eca565b60405180910390fd5b80915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b60128054611865906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611891906145b5565b80156118de5780601f106118b3576101008083540402835291602001916118de565b820191906000526020600020905b8154815290600101906020018083116118c157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e90614f5c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119a66127b8565b73ffffffffffffffffffffffffffffffffffffffff166119c4611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a11906147e9565b60405180910390fd5b611a246000612cea565b565b611a2e6127b8565b73ffffffffffffffffffffffffffffffffffffffff16611a4c611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a99906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2b90614abd565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550601060149054906101000a900460ff168015611b7c57506000600f54145b15611b8a57611b8961245c565b5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bbe6127b8565b73ffffffffffffffffffffffffffffffffffffffff16611bdc611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c29906147e9565b60405180910390fd5b80600b8190555050565b606060018054611c4b906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054611c77906145b5565b8015611cc45780601f10611c9957610100808354040283529160200191611cc4565b820191906000526020600020905b815481529060010190602001808311611ca757829003601f168201915b5050505050905090565b6000600b54905090565b600b5481565b601060149054906101000a900460ff16611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2490614fc8565b60405180910390fd5b6000611d37611000565b9050600e54821115611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d759061505a565b60405180910390fd5b600c54600d54611d8e9190614b0c565b8282611d9a9190614d04565b1115611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd290614da6565b60405180910390fd5b34600b5483611dea9190614b40565b1115611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e22906150c6565b60405180910390fd5b60005b82811015611e5e57611e4b338284611e469190614d04565b612ccc565b8080611e5690614c29565b915050611e2e565b505050565b611e6b6127b8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed090615132565b60405180910390fd5b8060056000611ee66127b8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f936127b8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fd89190613ca2565b60405180910390a35050565b611fec6127b8565b73ffffffffffffffffffffffffffffffffffffffff1661200a611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614612060576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612057906147e9565b60405180910390fd5b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fe056b30f86b962fc88925cb7559e4364707cab11d2c52e090e6c0db62eb9113560405160405180910390a250565b6121066127b8565b73ffffffffffffffffffffffffffffffffffffffff16612124611b8c565b73ffffffffffffffffffffffffffffffffffffffff161461217a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612171906147e9565b60405180910390fd5b600c548211156121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906151c4565b60405180910390fd5b60006121c9611000565b905060005b838110156121fe576121eb8382846121e69190614d04565b612ccc565b80806121f690614c29565b9150506121ce565b5082600c5461220d9190614b0c565b600c81905550505050565b6122296122236127b8565b8361289e565b612268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225f906149bf565b60405180910390fd5b61227484848484612db0565b50505050565b60606122858261274c565b6122c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bb90615256565b60405180910390fd5b60006122ce612e0c565b905060008151116122ee5760405180602001604052806000815250612319565b806122f884612e9e565b6040516020016123099291906152b2565b6040516020818303038152906040525b915050919050565b600f5481565b60fa81565b6000600c54905090565b606060128054612345906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054612371906145b5565b80156123be5780601f10612393576101008083540402835291602001916123be565b820191906000526020600020905b8154815290600101906020018083116123a157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600f54146124a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249890615322565b60405180910390fd5b600044426040516020016124b6929190615363565b6040516020818303038152906040528051906020012060001c905060ff816124de919061538f565b60016124ea9190614d04565b9050804310156124f957600190505b600081436125079190614b0c565b9050600d54814060001c61251b919061538f565b600f819055506000600f541415612542576001600f5461253b9190614d04565b600f819055505b5050565b61254e6127b8565b73ffffffffffffffffffffffffffffffffffffffff1661256c611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146125c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b9906147e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990615432565b60405180910390fd5b61263b81612cea565b50565b600c5481565b60118054612651906145b5565b80601f016020809104026020016040519081016040528092919081815260200182805461267d906145b5565b80156126ca5780601f1061269f576101008083540402835291602001916126ca565b820191906000526020600020905b8154815290600101906020018083116126ad57829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612745575061274482612fff565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661283383611786565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612884836130e1565b80156128965750612895838361312e565b5b905092915050565b60006128a98261274c565b6128e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128df906154c4565b60405180910390fd5b60006128f383611786565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296257508373ffffffffffffffffffffffffffffffffffffffff1661294a84610baa565b73ffffffffffffffffffffffffffffffffffffffff16145b80612973575061297281856123c8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661299c82611786565b73ffffffffffffffffffffffffffffffffffffffff16146129f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e990615556565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a59906155e8565b60405180910390fd5b612a6d838383613259565b612a786000826127c0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac89190614b0c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b1f9190614d04565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1290615654565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c41906156a5565b60006040518083038185875af1925050503d8060008114612c7e576040519150601f19603f3d011682016040523d82523d6000602084013e612c83565b606091505b5050905080612cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cbe9061572c565b60405180910390fd5b505050565b612ce6828260405180602001604052806000815250613269565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612dbb84848461297c565b612dc7848484846132c4565b612e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfd906157be565b60405180910390fd5b50505050565b606060128054612e1b906145b5565b80601f0160208091040260200160405190810160405280929190818152602001828054612e47906145b5565b8015612e945780601f10612e6957610100808354040283529160200191612e94565b820191906000526020600020905b815481529060010190602001808311612e7757829003601f168201915b5050505050905090565b60606000821415612ee6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ffa565b600082905060005b60008214612f18578080612f0190614c29565b915050600a82612f119190614bc9565b9150612eee565b60008167ffffffffffffffff811115612f3457612f33613ead565b5b6040519080825280601f01601f191660200182016040528015612f665781602001600182028036833780820191505090505b5090505b60008514612ff357600182612f7f9190614b0c565b9150600a85612f8e919061538f565b6030612f9a9190614d04565b60f81b818381518110612fb057612faf614bfa565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fec9190614bc9565b9450612f6a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130ca57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130da57506130d98261345b565b5b9050919050565b600061310d827f01ffc9a70000000000000000000000000000000000000000000000000000000061312e565b801561312757506131258263ffffffff60e01b61312e565b155b9050919050565b6000806301ffc9a760e01b8360405160240161314a91906157ed565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506000808573ffffffffffffffffffffffffffffffffffffffff16617530846040516131d49190615844565b6000604051808303818686fa925050503d8060008114613210576040519150601f19603f3d011682016040523d82523d6000602084013e613215565b606091505b50915091506020815110156132305760009350505050613253565b81801561324d57508080602001905181019061324c9190615870565b5b93505050505b92915050565b6132648383836134c5565b505050565b61327383836135d9565b61328060008484846132c4565b6132bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b6906157be565b60405180910390fd5b505050565b60006132e58473ffffffffffffffffffffffffffffffffffffffff166137a7565b1561344e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261330e6127b8565b8786866040518563ffffffff1660e01b815260040161333094939291906158e7565b602060405180830381600087803b15801561334a57600080fd5b505af192505050801561337b57506040513d601f19601f820116820180604052508101906133789190615948565b60015b6133fe573d80600081146133ab576040519150601f19603f3d011682016040523d82523d6000602084013e6133b0565b606091505b506000815114156133f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ed906157be565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613453565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134d08383836137ba565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135135761350e816137bf565b613552565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613551576135508382613808565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135955761359081613975565b6135d4565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135d3576135d28282613a46565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613640906159c1565b60405180910390fd5b6136528161274c565b15613692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368990615a2d565b60405180910390fd5b61369e60008383613259565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136ee9190614d04565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613815846118e6565b61381f9190614b0c565b9050600060076000848152602001908152602001600020549050818114613904576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139899190614b0c565b90506000600960008481526020019081526020016000205490506000600883815481106139b9576139b8614bfa565b5b9060005260206000200154905080600883815481106139db576139da614bfa565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a2a57613a29615a4d565b5b6001900381819060005260206000200160009055905550505050565b6000613a51836118e6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613ad1906145b5565b90600052602060002090601f016020900481019282613af35760008555613b3a565b82601f10613b0c57805160ff1916838001178555613b3a565b82800160010185558215613b3a579182015b82811115613b39578251825591602001919060010190613b1e565b5b509050613b479190613bd1565b5090565b828054613b57906145b5565b90600052602060002090601f016020900481019282613b795760008555613bc0565b82601f10613b9257803560ff1916838001178555613bc0565b82800160010185558215613bc0579182015b82811115613bbf578235825591602001919060010190613ba4565b5b509050613bcd9190613bd1565b5090565b5b80821115613bea576000816000905550600101613bd2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c3781613c02565b8114613c4257600080fd5b50565b600081359050613c5481613c2e565b92915050565b600060208284031215613c7057613c6f613bf8565b5b6000613c7e84828501613c45565b91505092915050565b60008115159050919050565b613c9c81613c87565b82525050565b6000602082019050613cb76000830184613c93565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cf7578082015181840152602081019050613cdc565b83811115613d06576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d2882613cbd565b613d328185613cc8565b9350613d42818560208601613cd9565b613d4b81613d0c565b840191505092915050565b60006020820190508181036000830152613d708184613d1d565b905092915050565b6000819050919050565b613d8b81613d78565b8114613d9657600080fd5b50565b600081359050613da881613d82565b92915050565b600060208284031215613dc457613dc3613bf8565b5b6000613dd284828501613d99565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e0682613ddb565b9050919050565b613e1681613dfb565b82525050565b6000602082019050613e316000830184613e0d565b92915050565b613e4081613dfb565b8114613e4b57600080fd5b50565b600081359050613e5d81613e37565b92915050565b60008060408385031215613e7a57613e79613bf8565b5b6000613e8885828601613e4e565b9250506020613e9985828601613d99565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ee582613d0c565b810181811067ffffffffffffffff82111715613f0457613f03613ead565b5b80604052505050565b6000613f17613bee565b9050613f238282613edc565b919050565b600067ffffffffffffffff821115613f4357613f42613ead565b5b613f4c82613d0c565b9050602081019050919050565b82818337600083830152505050565b6000613f7b613f7684613f28565b613f0d565b905082815260208101848484011115613f9757613f96613ea8565b5b613fa2848285613f59565b509392505050565b600082601f830112613fbf57613fbe613ea3565b5b8135613fcf848260208601613f68565b91505092915050565b600060208284031215613fee57613fed613bf8565b5b600082013567ffffffffffffffff81111561400c5761400b613bfd565b5b61401884828501613faa565b91505092915050565b60006020828403121561403757614036613bf8565b5b600061404584828501613e4e565b91505092915050565b61405781613d78565b82525050565b6000602082019050614072600083018461404e565b92915050565b600061408382613ddb565b9050919050565b61409381614078565b811461409e57600080fd5b50565b6000813590506140b08161408a565b92915050565b6000602082840312156140cc576140cb613bf8565b5b60006140da848285016140a1565b91505092915050565b6000806000606084860312156140fc576140fb613bf8565b5b600061410a86828701613e4e565b935050602061411b86828701613e4e565b925050604061412c86828701613d99565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61416b81613d78565b82525050565b600061417d8383614162565b60208301905092915050565b6000602082019050919050565b60006141a182614136565b6141ab8185614141565b93506141b683614152565b8060005b838110156141e75781516141ce8882614171565b97506141d983614189565b9250506001810190506141ba565b5085935050505092915050565b6000602082019050818103600083015261420e8184614196565b905092915050565b61421f81614078565b82525050565b600060208201905061423a6000830184614216565b92915050565b6000819050919050565b61425381614240565b811461425e57600080fd5b50565b6000813590506142708161424a565b92915050565b60008060006060848603121561428f5761428e613bf8565b5b600061429d86828701613d99565b93505060206142ae86828701613e4e565b92505060406142bf86828701614261565b9150509250925092565b600080fd5b600080fd5b60008083601f8401126142e9576142e8613ea3565b5b8235905067ffffffffffffffff811115614306576143056142c9565b5b602083019150836001820283011115614322576143216142ce565b5b9250929050565b600080602083850312156143405761433f613bf8565b5b600083013567ffffffffffffffff81111561435e5761435d613bfd565b5b61436a858286016142d3565b92509250509250929050565b61437f81613c87565b811461438a57600080fd5b50565b60008135905061439c81614376565b92915050565b600080604083850312156143b9576143b8613bf8565b5b60006143c785828601613e4e565b92505060206143d88582860161438d565b9150509250929050565b600080604083850312156143f9576143f8613bf8565b5b600061440785828601613d99565b925050602061441885828601613e4e565b9150509250929050565b600067ffffffffffffffff82111561443d5761443c613ead565b5b61444682613d0c565b9050602081019050919050565b600061446661446184614422565b613f0d565b90508281526020810184848401111561448257614481613ea8565b5b61448d848285613f59565b509392505050565b600082601f8301126144aa576144a9613ea3565b5b81356144ba848260208601614453565b91505092915050565b600080600080608085870312156144dd576144dc613bf8565b5b60006144eb87828801613e4e565b94505060206144fc87828801613e4e565b935050604061450d87828801613d99565b925050606085013567ffffffffffffffff81111561452e5761452d613bfd565b5b61453a87828801614495565b91505092959194509250565b6000806040838503121561455d5761455c613bf8565b5b600061456b85828601613e4e565b925050602061457c85828601613e4e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145cd57607f821691505b602082108114156145e1576145e0614586565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614643602c83613cc8565b915061464e826145e7565b604082019050919050565b6000602082019050818103600083015261467281614636565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146d5602183613cc8565b91506146e082614679565b604082019050919050565b60006020820190508181036000830152614704816146c8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614767603883613cc8565b91506147728261470b565b604082019050919050565b600060208201905081810360008301526147968161475a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147d3602083613cc8565b91506147de8261479d565b602082019050919050565b60006020820190508181036000830152614802816147c6565b9050919050565b7f4d696e74696e672069732066726f7a656e000000000000000000000000000000600082015250565b600061483f601183613cc8565b915061484a82614809565b602082019050919050565b6000602082019050818103600083015261486e81614832565b9050919050565b7f43616e6e6f74206164642073656c6620617320657874656e73696f6e00000000600082015250565b60006148ab601c83613cc8565b91506148b682614875565b602082019050919050565b600060208201905081810360008301526148da8161489e565b9050919050565b7f4e6f7420636f6e666f726d7320746f20657874656e73696f6e00000000000000600082015250565b6000614917601983613cc8565b9150614922826148e1565b602082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149a9603183613cc8565b91506149b48261494d565b604082019050919050565b600060208201905081810360008301526149d88161499c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a3b602b83613cc8565b9150614a46826149df565b604082019050919050565b60006020820190508181036000830152614a6a81614a2e565b9050919050565b7f42656e6566696369617279206e6f742073657400000000000000000000000000600082015250565b6000614aa7601383613cc8565b9150614ab282614a71565b602082019050919050565b60006020820190508181036000830152614ad681614a9a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b1782613d78565b9150614b2283613d78565b925082821015614b3557614b34614add565b5b828203905092915050565b6000614b4b82613d78565b9150614b5683613d78565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614b8f57614b8e614add565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614bd482613d78565b9150614bdf83613d78565b925082614bef57614bee614b9a565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614c3482613d78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c6757614c66614add565b5b600182019050919050565b7f457874656e73696f6e2073686f756c6420626520616464656420746f20636f6e60008201527f7472616374206265666f7265206d696e74696e67000000000000000000000000602082015250565b6000614cce603483613cc8565b9150614cd982614c72565b604082019050919050565b60006020820190508181036000830152614cfd81614cc1565b9050919050565b6000614d0f82613d78565b9150614d1a83613d78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d4f57614d4e614add565b5b828201905092915050565b7f4e6f7420656e6f75676820546f6b656e73206c6566742e000000000000000000600082015250565b6000614d90601783613cc8565b9150614d9b82614d5a565b602082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e22602c83613cc8565b9150614e2d82614dc6565b604082019050919050565b60006020820190508181036000830152614e5181614e15565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614eb4602983613cc8565b9150614ebf82614e58565b604082019050919050565b60006020820190508181036000830152614ee381614ea7565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614f46602a83613cc8565b9150614f5182614eea565b604082019050919050565b60006020820190508181036000830152614f7581614f39565b9050919050565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b6000614fb2601083613cc8565b9150614fbd82614f7c565b602082019050919050565b60006020820190508181036000830152614fe181614fa5565b9050919050565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e204d41585f544f60008201527f4b454e535f5045525f4d494e5420746f6b656e73206174206f6e636521000000602082015250565b6000615044603d83613cc8565b915061504f82614fe8565b604082019050919050565b6000602082019050818103600083015261507381615037565b9050919050565b7f496e636f6e73697374656e7420616d6f756e742073656e742100000000000000600082015250565b60006150b0601983613cc8565b91506150bb8261507a565b602082019050919050565b600060208201905081810360008301526150df816150a3565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061511c601983613cc8565b9150615127826150e6565b602082019050919050565b6000602082019050818103600083015261514b8161510f565b9050919050565b7f5468617420776f756c642065786365656420746865206d61782072657365727660008201527f65642e0000000000000000000000000000000000000000000000000000000000602082015250565b60006151ae602383613cc8565b91506151b982615152565b604082019050919050565b600060208201905081810360008301526151dd816151a1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615240602f83613cc8565b915061524b826151e4565b604082019050919050565b6000602082019050818103600083015261526f81615233565b9050919050565b600081905092915050565b600061528c82613cbd565b6152968185615276565b93506152a6818560208601613cd9565b80840191505092915050565b60006152be8285615281565b91506152ca8284615281565b91508190509392505050565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b600061530c601d83613cc8565b9150615317826152d6565b602082019050919050565b6000602082019050818103600083015261533b816152ff565b9050919050565b6000819050919050565b61535d61535882613d78565b615342565b82525050565b600061536f828561534c565b60208201915061537f828461534c565b6020820191508190509392505050565b600061539a82613d78565b91506153a583613d78565b9250826153b5576153b4614b9a565b5b828206905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061541c602683613cc8565b9150615427826153c0565b604082019050919050565b6000602082019050818103600083015261544b8161540f565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006154ae602c83613cc8565b91506154b982615452565b604082019050919050565b600060208201905081810360008301526154dd816154a1565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615540602983613cc8565b915061554b826154e4565b604082019050919050565b6000602082019050818103600083015261556f81615533565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006155d2602483613cc8565b91506155dd82615576565b604082019050919050565b60006020820190508181036000830152615601816155c5565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061563e601d83613cc8565b915061564982615608565b602082019050919050565b6000602082019050818103600083015261566d81615631565b9050919050565b600081905092915050565b50565b600061568f600083615674565b915061569a8261567f565b600082019050919050565b60006156b082615682565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615716603a83613cc8565b9150615721826156ba565b604082019050919050565b6000602082019050818103600083015261574581615709565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006157a8603283613cc8565b91506157b38261574c565b604082019050919050565b600060208201905081810360008301526157d78161579b565b9050919050565b6157e781613c02565b82525050565b600060208201905061580260008301846157de565b92915050565b600081519050919050565b600061581e82615808565b6158288185615674565b9350615838818560208601613cd9565b80840191505092915050565b60006158508284615813565b915081905092915050565b60008151905061586a81614376565b92915050565b60006020828403121561588657615885613bf8565b5b60006158948482850161585b565b91505092915050565b600082825260208201905092915050565b60006158b982615808565b6158c3818561589d565b93506158d3818560208601613cd9565b6158dc81613d0c565b840191505092915050565b60006080820190506158fc6000830187613e0d565b6159096020830186613e0d565b615916604083018561404e565b818103606083015261592881846158ae565b905095945050505050565b60008151905061594281613c2e565b92915050565b60006020828403121561595e5761595d613bf8565b5b600061596c84828501615933565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006159ab602083613cc8565b91506159b682615975565b602082019050919050565b600060208201905081810360008301526159da8161599e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615a17601c83613cc8565b9150615a22826159e1565b602082019050919050565b60006020820190508181036000830152615a4681615a0a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204874a90c544a658b63853b1b08ce550ad2406e495443e194fea354a8e192237664736f6c63430008090033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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