ETH Price: $3,408.33 (-0.72%)

Contract

0x2be20E65BecFd7494Bf232b1859d556F8a5893fF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Set Approval For...198205192024-05-07 20:17:11203 days ago1715113031IN
0x2be20E65...F8a5893fF
0 ETH0.000260475.58003837
Transfer From185871132023-11-16 21:24:23376 days ago1700169863IN
0x2be20E65...F8a5893fF
0 ETH0.0027675532.57014885
Safe Transfer Fr...182156502023-09-25 22:01:47428 days ago1695679307IN
0x2be20E65...F8a5893fF
0 ETH0.0016161918.23175745
Set Approval For...180368342023-08-31 20:06:35453 days ago1693512395IN
0x2be20E65...F8a5893fF
0 ETH0.0012190226.12790609
Set Approval For...179904182023-08-25 8:08:23459 days ago1692950903IN
0x2be20E65...F8a5893fF
0 ETH0.0008906319.08929279
Set Approval For...172892192023-05-18 21:51:35558 days ago1684446695IN
0x2be20E65...F8a5893fF
0 ETH0.0021895646.92997176
Set Approval For...171049742023-04-22 22:51:59584 days ago1682203919IN
0x2be20E65...F8a5893fF
0 ETH0.0022259647.63654324
Set Approval For...167202822023-02-27 15:00:11638 days ago1677510011IN
0x2be20E65...F8a5893fF
0 ETH0.0011709225.09694724
Set Approval For...166799242023-02-21 22:43:59644 days ago1677019439IN
0x2be20E65...F8a5893fF
0 ETH0.0014312330.67643488
Set Approval For...166164952023-02-13 1:16:47653 days ago1676251007IN
0x2be20E65...F8a5893fF
0 ETH0.0004093216.48653885
Set Approval For...164959292023-01-27 5:00:35670 days ago1674795635IN
0x2be20E65...F8a5893fF
0 ETH0.0007029515.06679848
Safe Transfer Fr...163414072023-01-05 15:12:35691 days ago1672931555IN
0x2be20E65...F8a5893fF
0 ETH0.0020283322.34045902
Set Approval For...163413982023-01-05 15:10:47691 days ago1672931447IN
0x2be20E65...F8a5893fF
0 ETH0.0011821925.33856301
Transfer From163355742023-01-04 19:39:59692 days ago1672861199IN
0x2be20E65...F8a5893fF
0 ETH0.001855221.13659166
Set Approval For...162527862022-12-24 6:25:11703 days ago1671863111IN
0x2be20E65...F8a5893fF
0 ETH0.0005753612.30997948
Set Approval For...161938852022-12-16 1:10:23712 days ago1671153023IN
0x2be20E65...F8a5893fF
0 ETH0.000645413.83336529
Transfer From161937822022-12-16 0:49:47712 days ago1671151787IN
0x2be20E65...F8a5893fF
0 ETH0.0013192615.03267346
Transfer From161937822022-12-16 0:49:47712 days ago1671151787IN
0x2be20E65...F8a5893fF
0 ETH0.0013192615.03267346
Set Approval For...161567922022-12-10 20:48:11717 days ago1670705291IN
0x2be20E65...F8a5893fF
0 ETH0.0006083113.03827774
Set Approval For...161035922022-12-03 10:07:59724 days ago1670062079IN
0x2be20E65...F8a5893fF
0 ETH0.0005529711.85226685
Set Approval For...160300042022-11-23 3:25:59735 days ago1669173959IN
0x2be20E65...F8a5893fF
0 ETH0.0003070712.36824247
Set Approval For...159449952022-11-11 6:30:23746 days ago1668148223IN
0x2be20E65...F8a5893fF
0 ETH0.00071115.23927005
Set Approval For...159131912022-11-06 19:53:11751 days ago1667764391IN
0x2be20E65...F8a5893fF
0 ETH0.0003224112.98582345
Set Approval For...158748532022-11-01 11:22:59756 days ago1667301779IN
0x2be20E65...F8a5893fF
0 ETH0.000255310.28296084
Set Approval For...158529952022-10-29 10:03:23759 days ago1667037803IN
0x2be20E65...F8a5893fF
0 ETH0.000235219.47382244
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
141799242022-02-10 18:27:271020 days ago1644517647
0x2be20E65...F8a5893fF
61.55875 ETH
141799242022-02-10 18:27:271020 days ago1644517647
0x2be20E65...F8a5893fF
4.99125 ETH
141725742022-02-09 15:01:211021 days ago1644418881
0x2be20E65...F8a5893fF
0.3 ETH
141725742022-02-09 15:01:211021 days ago1644418881
0x2be20E65...F8a5893fF
0.3 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MetaColonialistsClub

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : MetaColonialistsClub.sol
pragma solidity ^0.8.4;

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

contract MetaColonialistsClub is ERC721Enumerable, Ownable {
    //  Accounts
    address private constant creator0Address =
        0xEf27AA93c2906472E880e99f65B408dFEE1124F3;
    address private constant creator1Address =
        0x43cc5BEA362cAffa79d56873Ba9EDb6c01dB5281;

    // Minting Variables
    uint256 public maxSupply = 8872;
    uint256 public mintPrice = 0.15 ether;
    uint256 public maxPurchase = 2;

    // Sale Status
    bool public presaleActive;
    bool public raffleSaleActive;
    bool public publicSaleActive;
    bool public locked;

    // Merkle Roots
    bytes32 private modRoot;
    bytes32 private ogWhitelistRoot;
    bytes32 private whitelistRoot;
    bytes32 private raffleRoot;

    mapping(address => uint256) private mintCounts;

    // Metadata
    string _baseTokenURI;

    // Events
    event PublicSaleActivation(bool isActive);
    event PresaleActivation(bool isActive);
    event RaffleSaleActivation(bool isActive);

    constructor() ERC721("Meta Colonialists Club", "MCC") {}

    // Merkle Proofs
    function setModRoot(bytes32 _root) external onlyOwner {
        modRoot = _root;
    }

    function setOGWhitelistRoot(bytes32 _root) external onlyOwner {
        ogWhitelistRoot = _root;
    }

    function setWhitelistRoot(bytes32 _root) external onlyOwner {
        whitelistRoot = _root;
    }

    function setRaffleRoot(bytes32 _root) external onlyOwner {
        raffleRoot = _root;
    }

    function _leaf(address _account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_account));
    }

    function isInTree(
        address _account,
        bytes32[] calldata _proof,
        bytes32 _root
    ) internal pure returns (bool) {
        return MerkleProof.verify(_proof, _root, _leaf(_account));
    }

    // Minting
    function ownerMint(address _to, uint256 _count) external onlyOwner {
        require(totalSupply() + _count <= 8888, "Exceeds max supply");

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            _safeMint(_to, mintIndex);
        }
    }

    function modMint(uint256 _count, bytes32[] calldata _proof) external {
        require(presaleActive, "Presale must be active");
        require(isInTree(msg.sender, _proof, modRoot), "Not on mod wl");
        require(
            balanceOf(msg.sender) + _count <= maxPurchase,
            "Exceeds the account's quota"
        );
        require(totalSupply() + _count <= maxSupply, "Exceeds max supply");
        require(
            mintCounts[msg.sender] + _count <= maxPurchase,
            "Exceeds the account's quota"
        );

        mintCounts[msg.sender] = mintCounts[msg.sender] + _count;

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
    }

    function ogPresaleMint(uint256 _count, bytes32[] calldata _proof)
        external
        payable
    {
        require(presaleActive, "Presale must be active");
        require(
            isInTree(msg.sender, _proof, ogWhitelistRoot),
            "Not on presale wl"
        );
        require(
            balanceOf(msg.sender) + _count <= 3,
            "Exceeds the account's quota"
        );
        require(totalSupply() + _count <= maxSupply, "Exceeds max supply");
        require(
            0.14 ether * _count <= msg.value,
            "Ether value sent is not correct"
        );
        require(
            mintCounts[msg.sender] + _count <= 3,
            "Exceeds the account's quota"
        );

        mintCounts[msg.sender] = mintCounts[msg.sender] + _count;

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
    }

    function presaleMint(uint256 _count, bytes32[] calldata _proof)
        external
        payable
    {
        require(presaleActive, "Presale must be active");
        require(
            isInTree(msg.sender, _proof, whitelistRoot),
            "Not on presale wl"
        );
        require(
            balanceOf(msg.sender) + _count <= maxPurchase,
            "Exceeds the account's quota"
        );
        require(totalSupply() + _count <= maxSupply, "Exceeds max supply");
        require(
            mintPrice * _count <= msg.value,
            "Ether value sent is not correct"
        );
        require(
            mintCounts[msg.sender] + _count <= maxPurchase,
            "Exceeds the account's quota"
        );

        mintCounts[msg.sender] = mintCounts[msg.sender] + _count;

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
    }

    function raffleMint(uint256 _count, bytes32[] calldata _proof)
        external
        payable
    {
        require(raffleSaleActive, "RaffleSale must be active");
        require(
            isInTree(msg.sender, _proof, raffleRoot),
            "Not on raffle wl"
        );
        require(
            balanceOf(msg.sender) + _count <= maxPurchase,
            "Exceeds the account's presale quota"
        );
        require(totalSupply() + _count <= maxSupply, "Exceeds max supply");
        require(
            mintPrice * _count <= msg.value,
            "Ether value sent is not correct"
        );
        require(
            mintCounts[msg.sender] + _count <= maxPurchase,
            "Exceeds the account's quota"
        );

        mintCounts[msg.sender] = mintCounts[msg.sender] + _count;

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
    }

    function mint(uint256 _count) external payable {
        require(publicSaleActive, "Sale must be active");
        require(_count <= maxPurchase, "Exceeds maximum purchase amount");
        require(
            balanceOf(msg.sender) + _count <= maxPurchase,
            "Exceeds the account's quota"
        );

        require(totalSupply() + _count <= maxSupply, "Exceeds max supply");
        require(
            mintPrice * _count <= msg.value,
            "Ether value sent is not correct"
        );
        require(
            mintCounts[msg.sender] + _count <= maxPurchase,
            "Exceeds the account's quota"
        );

        mintCounts[msg.sender] = mintCounts[msg.sender] + _count;

        for (uint256 i = 0; i < _count; i++) {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
    }

    // Configurations
    function lockMetadata() external onlyOwner {
        locked = true;
    }

    function togglePresaleStatus() external onlyOwner {
        presaleActive = !presaleActive;
        emit PresaleActivation(presaleActive);
    }

    function toggleRafflesaleStatus() external onlyOwner {
        raffleSaleActive = !raffleSaleActive;
        emit RaffleSaleActivation(raffleSaleActive);
    }

    function toggleSaleStatus() external onlyOwner {
        publicSaleActive = !publicSaleActive;
        emit PublicSaleActivation(publicSaleActive);
    }

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function setMaxPurchase(uint256 _maxPurchase) external onlyOwner {
        maxPurchase = _maxPurchase;
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Balance can't be zero");

        uint256 creator1Dividend = ((balance / 100) * 7) + (balance / 200);

        payable(creator1Address).transfer(creator1Dividend);
        payable(creator0Address).transfer(address(this).balance);
    }

    function getTotalSupply() external view returns (uint256) {
        return totalSupply();
    }

    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 setBaseURI(string memory baseURI) external onlyOwner {
        require(!locked, "Contract metadata methods are locked");
        _baseTokenURI = baseURI;
    }

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

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

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 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"PresaleActivation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"PublicSaleActivation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"RaffleSaleActivation","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"modMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"ogPresaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"raffleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"raffleSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPurchase","type":"uint256"}],"name":"setMaxPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setModRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setOGWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRaffleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRafflesaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526122a8600b55670214e8348c4f0000600c556002600d553480156200002857600080fd5b506040518060400160405280601681526020017f4d65746120436f6c6f6e69616c6973747320436c7562000000000000000000008152506040518060400160405280600381526020017f4d434300000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ad929190620001bd565b508060019080519060200190620000c6929190620001bd565b505050620000e9620000dd620000ef60201b60201c565b620000f760201b60201c565b620002d2565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cb906200026d565b90600052602060002090601f016020900481019282620001ef57600085556200023b565b82601f106200020a57805160ff19168380011785556200023b565b828001600101855582156200023b579182015b828111156200023a5782518255916020019190600101906200021d565b5b5090506200024a91906200024e565b5090565b5b80821115620002695760008160009055506001016200024f565b5090565b600060028204905060018216806200028657607f821691505b602082108114156200029d576200029c620002a3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615f1e80620002e26000396000f3fe60806040526004361061027d5760003560e01c80637890b2c91161014f578063c4e41b22116100c1578063e985e9c51161007a578063e985e9c51461090f578063f19019021461094c578063f2fde38b14610975578063f4a0a5281461099e578063f5aa406d146109c7578063f835b53f146109f05761027d565b8063c4e41b221461080a578063c87b56dd14610835578063ccf6239214610872578063cf3090121461089d578063d5abeb01146108c8578063e3e1e8ef146108f35761027d565b8063977b055b11610113578063977b055b1461072f578063989bdbb61461075a578063a0712d6814610771578063a22cb4651461078d578063b88d4fde146107b6578063bc8893b4146107df5761027d565b80637890b2c91461068f5780637bffb4ce146106ab578063853828b6146106c25780638da5cb5b146106d957806395d89b41146107045761027d565b8063438b6300116101f357806355f804b3116101ac57806355f804b3146105815780636352211e146105aa5780636817c76c146105e757806370a0823114610612578063711897421461064f578063715018a6146106785761027d565b8063438b6300146104615780634442c7ce1461049e57806346c8d2b4146104c7578063484b973c146104f05780634f6ccce71461051957806353135ca0146105565761027d565b80631804eb1e116102455780631804eb1e1461036757806318160ddd1461037e57806323b872dd146103a95780632d95c193146103d25780632f745c59146103fb57806342842e0e146104385761027d565b806301ffc9a714610282578063049c5c49146102bf57806306fdde03146102d6578063081812fc14610301578063095ea7b31461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190614661565b610a0c565b6040516102b69190614e29565b60405180910390f35b3480156102cb57600080fd5b506102d4610a86565b005b3480156102e257600080fd5b506102eb610b74565b6040516102f89190614e44565b60405180910390f35b34801561030d57600080fd5b50610328600480360381019061032391906146f4565b610c06565b6040516103359190614da0565b60405180910390f35b34801561034a57600080fd5b50610365600480360381019061036091906145fc565b610c8b565b005b34801561037357600080fd5b5061037c610da3565b005b34801561038a57600080fd5b50610393610e91565b6040516103a09190615246565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb91906144f6565b610e9e565b005b3480156103de57600080fd5b506103f960048036038101906103f49190614638565b610efe565b005b34801561040757600080fd5b50610422600480360381019061041d91906145fc565b610f84565b60405161042f9190615246565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a91906144f6565b611029565b005b34801561046d57600080fd5b5061048860048036038101906104839190614491565b611049565b6040516104959190614e07565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190614638565b611143565b005b3480156104d357600080fd5b506104ee60048036038101906104e9919061471d565b6111c9565b005b3480156104fc57600080fd5b50610517600480360381019061051291906145fc565b61146c565b005b34801561052557600080fd5b50610540600480360381019061053b91906146f4565b611579565b60405161054d9190615246565b60405180910390f35b34801561056257600080fd5b5061056b611610565b6040516105789190614e29565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a391906146b3565b611623565b005b3480156105b657600080fd5b506105d160048036038101906105cc91906146f4565b611709565b6040516105de9190614da0565b60405180910390f35b3480156105f357600080fd5b506105fc6117bb565b6040516106099190615246565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190614491565b6117c1565b6040516106469190615246565b60405180910390f35b34801561065b57600080fd5b50610676600480360381019061067191906146f4565b611879565b005b34801561068457600080fd5b5061068d6118ff565b005b6106a960048036038101906106a4919061471d565b611987565b005b3480156106b757600080fd5b506106c0611c7a565b005b3480156106ce57600080fd5b506106d7611d68565b005b3480156106e557600080fd5b506106ee611f1a565b6040516106fb9190614da0565b60405180910390f35b34801561071057600080fd5b50610719611f44565b6040516107269190614e44565b60405180910390f35b34801561073b57600080fd5b50610744611fd6565b6040516107519190615246565b60405180910390f35b34801561076657600080fd5b5061076f611fdc565b005b61078b600480360381019061078691906146f4565b612075565b005b34801561079957600080fd5b506107b460048036038101906107af91906145c0565b61235e565b005b3480156107c257600080fd5b506107dd60048036038101906107d89190614545565b612374565b005b3480156107eb57600080fd5b506107f46123d6565b6040516108019190614e29565b60405180910390f35b34801561081657600080fd5b5061081f6123e9565b60405161082c9190615246565b60405180910390f35b34801561084157600080fd5b5061085c600480360381019061085791906146f4565b6123f8565b6040516108699190614e44565b60405180910390f35b34801561087e57600080fd5b5061088761249f565b6040516108949190614e29565b60405180910390f35b3480156108a957600080fd5b506108b26124b2565b6040516108bf9190614e29565b60405180910390f35b3480156108d457600080fd5b506108dd6124c5565b6040516108ea9190615246565b60405180910390f35b61090d6004803603810190610908919061471d565b6124cb565b005b34801561091b57600080fd5b50610936600480360381019061093191906144ba565b6127be565b6040516109439190614e29565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190614638565b612852565b005b34801561098157600080fd5b5061099c60048036038101906109979190614491565b6128d8565b005b3480156109aa57600080fd5b506109c560048036038101906109c091906146f4565b6129d0565b005b3480156109d357600080fd5b506109ee60048036038101906109e99190614638565b612a56565b005b610a0a6004803603810190610a05919061471d565b612adc565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7f5750610a7e82612dd3565b5b9050919050565b610a8e612eb5565b73ffffffffffffffffffffffffffffffffffffffff16610aac611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af990615126565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff0219169083151502179055507f1c27adbe19c2f592844c4b67508b6e5dce275dc961a69a647af7c4d768de0f8e600e60029054906101000a900460ff16604051610b6a9190614e29565b60405180910390a1565b606060008054610b8390615539565b80601f0160208091040260200160405190810160405280929190818152602001828054610baf90615539565b8015610bfc5780601f10610bd157610100808354040283529160200191610bfc565b820191906000526020600020905b815481529060010190602001808311610bdf57829003601f168201915b5050505050905090565b6000610c1182612ebd565b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790615106565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c9682611709565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe906151e6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d26612eb5565b73ffffffffffffffffffffffffffffffffffffffff161480610d555750610d5481610d4f612eb5565b6127be565b5b610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b90615046565b60405180910390fd5b610d9e8383612f29565b505050565b610dab612eb5565b73ffffffffffffffffffffffffffffffffffffffff16610dc9611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690615126565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff0219169083151502179055507fe7e0cf23ac1be9cbb78cdfc04971631606c189beedaefc2024135beee1f7f136600e60019054906101000a900460ff16604051610e879190614e29565b60405180910390a1565b6000600880549050905090565b610eaf610ea9612eb5565b82612fe2565b610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee590615206565b60405180910390fd5b610ef98383836130c0565b505050565b610f06612eb5565b73ffffffffffffffffffffffffffffffffffffffff16610f24611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190615126565b60405180910390fd5b80600f8190555050565b6000610f8f836117c1565b8210610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc790614ee6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61104483838360405180602001604052806000815250612374565b505050565b60606000611056836117c1565b905060008167ffffffffffffffff81111561109a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110c85781602001602082028036833780820191505090505b50905060005b82811015611138576110e08582610f84565b828281518110611119577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806111309061559c565b9150506110ce565b508092505050919050565b61114b612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611169611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690615126565b60405180910390fd5b8060108190555050565b600e60009054906101000a900460ff16611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90615146565b60405180910390fd5b611226338383600f5461331c565b611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90614f66565b60405180910390fd5b600d5483611272336117c1565b61127c9190615364565b11156112bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b490615026565b60405180910390fd5b600b54836112c9610e91565b6112d39190615364565b1115611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906150a6565b60405180910390fd5b600d5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113629190615364565b11156113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139a90615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ee9190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015611466576000611446610e91565b9050611452338261337c565b50808061145e9061559c565b915050611434565b50505050565b611474612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611492611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146114e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114df90615126565b60405180910390fd5b6122b8816114f4610e91565b6114fe9190615364565b111561153f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611536906150a6565b60405180910390fd5b60005b81811015611574576000611554610e91565b9050611560848261337c565b50808061156c9061559c565b915050611542565b505050565b6000611583610e91565b82106115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90615226565b60405180910390fd5b600882815481106115fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600e60009054906101000a900460ff1681565b61162b612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611649611f1a565b73ffffffffffffffffffffffffffffffffffffffff161461169f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169690615126565b60405180910390fd5b600e60039054906101000a900460ff16156116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906151a6565b60405180910390fd5b8060149080519060200190611705929190614256565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990615086565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182990615066565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611881612eb5565b73ffffffffffffffffffffffffffffffffffffffff1661189f611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90615126565b60405180910390fd5b80600d8190555050565b611907612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611925611f1a565b73ffffffffffffffffffffffffffffffffffffffff161461197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290615126565b60405180910390fd5b611985600061339a565b565b600e60019054906101000a900460ff166119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd90614ec6565b60405180910390fd5b6119e433838360125461331c565b611a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1a90614f86565b60405180910390fd5b600d5483611a30336117c1565b611a3a9190615364565b1115611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a72906151c6565b60405180910390fd5b600b5483611a87610e91565b611a919190615364565b1115611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac9906150a6565b60405180910390fd5b3483600c54611ae191906153eb565b1115611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990614fe6565b60405180910390fd5b600d5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b709190615364565b1115611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bfc9190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015611c74576000611c54610e91565b9050611c60338261337c565b508080611c6c9061559c565b915050611c42565b50505050565b611c82612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611ca0611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614611cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ced90615126565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff0219169083151502179055507f42133c3a5199a92c96a540af6aee25899ebc1da7cc9ac9e3536653b61c3c60d7600e60009054906101000a900460ff16604051611d5e9190614e29565b60405180910390a1565b611d70612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611d8e611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614611de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddb90615126565b60405180910390fd5b600047905060008111611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2390614ea6565b60405180910390fd5b600060c882611e3b91906153ba565b6007606484611e4a91906153ba565b611e5491906153eb565b611e5e9190615364565b90507343cc5bea362caffa79d56873ba9edb6c01db528173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611eba573d6000803e3d6000fd5b5073ef27aa93c2906472e880e99f65b408dfee1124f373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611f15573d6000803e3d6000fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611f5390615539565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7f90615539565b8015611fcc5780601f10611fa157610100808354040283529160200191611fcc565b820191906000526020600020905b815481529060010190602001808311611faf57829003601f168201915b5050505050905090565b600d5481565b611fe4612eb5565b73ffffffffffffffffffffffffffffffffffffffff16612002611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90615126565b60405180910390fd5b6001600e60036101000a81548160ff021916908315150217905550565b600e60029054906101000a900460ff166120c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bb90614e86565b60405180910390fd5b600d54811115612109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210090614e66565b60405180910390fd5b600d5481612116336117c1565b6121209190615364565b1115612161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215890615026565b60405180910390fd5b600b548161216d610e91565b6121779190615364565b11156121b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121af906150a6565b60405180910390fd5b3481600c546121c791906153eb565b1115612208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ff90614fe6565b60405180910390fd5b600d5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122569190615364565b1115612297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228e90615026565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122e29190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8181101561235a57600061233a610e91565b9050612346338261337c565b5080806123529061559c565b915050612328565b5050565b612370612369612eb5565b8383613460565b5050565b61238561237f612eb5565b83612fe2565b6123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90615206565b60405180910390fd5b6123d0848484846135cd565b50505050565b600e60029054906101000a900460ff1681565b60006123f3610e91565b905090565b606061240382612ebd565b612442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243990615186565b60405180910390fd5b600061244c613629565b9050600081511161246c5760405180602001604052806000815250612497565b80612476846136bb565b604051602001612487929190614d7c565b6040516020818303038152906040525b915050919050565b600e60019054906101000a900460ff1681565b600e60039054906101000a900460ff1681565b600b5481565b600e60009054906101000a900460ff1661251a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251190615146565b60405180910390fd5b61252833838360115461331c565b612567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255e906150e6565b60405180910390fd5b600d5483612574336117c1565b61257e9190615364565b11156125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b690615026565b60405180910390fd5b600b54836125cb610e91565b6125d59190615364565b1115612616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d906150a6565b60405180910390fd5b3483600c5461262591906153eb565b1115612666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265d90614fe6565b60405180910390fd5b600d5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126b49190615364565b11156126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec90615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127409190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b838110156127b8576000612798610e91565b90506127a4338261337c565b5080806127b09061559c565b915050612786565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61285a612eb5565b73ffffffffffffffffffffffffffffffffffffffff16612878611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590615126565b60405180910390fd5b8060128190555050565b6128e0612eb5565b73ffffffffffffffffffffffffffffffffffffffff166128fe611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b90615126565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bb90614f26565b60405180910390fd5b6129cd8161339a565b50565b6129d8612eb5565b73ffffffffffffffffffffffffffffffffffffffff166129f6611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4390615126565b60405180910390fd5b80600c8190555050565b612a5e612eb5565b73ffffffffffffffffffffffffffffffffffffffff16612a7c611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac990615126565b60405180910390fd5b8060118190555050565b600e60009054906101000a900460ff16612b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2290615146565b60405180910390fd5b612b3933838360105461331c565b612b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6f906150e6565b60405180910390fd5b600383612b84336117c1565b612b8e9190615364565b1115612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690615026565b60405180910390fd5b600b5483612bdb610e91565b612be59190615364565b1115612c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1d906150a6565b60405180910390fd5b34836701f161421c8e0000612c3b91906153eb565b1115612c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7390614fe6565b60405180910390fd5b600383601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cc99190615364565b1115612d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0190615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d559190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015612dcd576000612dad610e91565b9050612db9338261337c565b508080612dc59061559c565b915050612d9b565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e9e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612eae5750612ead82613868565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612f9c83611709565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612fed82612ebd565b61302c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302390615006565b60405180910390fd5b600061303783611709565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130a657508373ffffffffffffffffffffffffffffffffffffffff1661308e84610c06565b73ffffffffffffffffffffffffffffffffffffffff16145b806130b757506130b681856127be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166130e082611709565b73ffffffffffffffffffffffffffffffffffffffff1614613136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312d90615166565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319d90614fa6565b60405180910390fd5b6131b18383836138d2565b6131bc600082612f29565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461320c9190615445565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132639190615364565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000613372848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508361336d886139e6565b613a16565b9050949350505050565b613396828260405180602001604052806000815250613a2d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c690614fc6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135c09190614e29565b60405180910390a3505050565b6135d88484846130c0565b6135e484848484613a88565b613623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361a90614f06565b60405180910390fd5b50505050565b60606014805461363890615539565b80601f016020809104026020016040519081016040528092919081815260200182805461366490615539565b80156136b15780601f10613686576101008083540402835291602001916136b1565b820191906000526020600020905b81548152906001019060200180831161369457829003601f168201915b5050505050905090565b60606000821415613703576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613863565b600082905060005b6000821461373557808061371e9061559c565b915050600a8261372e91906153ba565b915061370b565b60008167ffffffffffffffff811115613777577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137a95781602001600182028036833780820191505090505b5090505b6000851461385c576001826137c29190615445565b9150600a856137d19190615613565b60306137dd9190615364565b60f81b818381518110613819577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561385591906153ba565b94506137ad565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6138dd838383613c1f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139205761391b81613c24565b61395f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461395e5761395d8382613c6d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139a25761399d81613dda565b6139e1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139e0576139df8282613f1d565b5b5b505050565b6000816040516020016139f99190614d35565b604051602081830303815290604052805190602001209050919050565b600082613a238584613f9c565b1490509392505050565b613a378383614075565b613a446000848484613a88565b613a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7a90614f06565b60405180910390fd5b505050565b6000613aa98473ffffffffffffffffffffffffffffffffffffffff16614243565b15613c12578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ad2612eb5565b8786866040518563ffffffff1660e01b8152600401613af49493929190614dbb565b602060405180830381600087803b158015613b0e57600080fd5b505af1925050508015613b3f57506040513d601f19601f82011682018060405250810190613b3c919061468a565b60015b613bc2573d8060008114613b6f576040519150601f19603f3d011682016040523d82523d6000602084013e613b74565b606091505b50600081511415613bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb190614f06565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c17565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c7a846117c1565b613c849190615445565b9050600060076000848152602001908152602001600020549050818114613d69576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613dee9190615445565b9050600060096000848152602001908152602001600020549050600060088381548110613e44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f28836117c1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008082905060005b845181101561406a576000858281518110613fe9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161402a57828160405160200161400d929190614d50565b604051602081830303815290604052805190602001209250614056565b808360405160200161403d929190614d50565b6040516020818303038152906040528051906020012092505b5080806140629061559c565b915050613fa5565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140dc906150c6565b60405180910390fd5b6140ee81612ebd565b1561412e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161412590614f46565b60405180910390fd5b61413a600083836138d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461418a9190615364565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461426290615539565b90600052602060002090601f01602090048101928261428457600085556142cb565b82601f1061429d57805160ff19168380011785556142cb565b828001600101855582156142cb579182015b828111156142ca5782518255916020019190600101906142af565b5b5090506142d891906142dc565b5090565b5b808211156142f55760008160009055506001016142dd565b5090565b600061430c61430784615286565b615261565b90508281526020810184848401111561432457600080fd5b61432f8482856154f7565b509392505050565b600061434a614345846152b7565b615261565b90508281526020810184848401111561436257600080fd5b61436d8482856154f7565b509392505050565b60008135905061438481615e75565b92915050565b60008083601f84011261439c57600080fd5b8235905067ffffffffffffffff8111156143b557600080fd5b6020830191508360208202830111156143cd57600080fd5b9250929050565b6000813590506143e381615e8c565b92915050565b6000813590506143f881615ea3565b92915050565b60008135905061440d81615eba565b92915050565b60008151905061442281615eba565b92915050565b600082601f83011261443957600080fd5b81356144498482602086016142f9565b91505092915050565b600082601f83011261446357600080fd5b8135614473848260208601614337565b91505092915050565b60008135905061448b81615ed1565b92915050565b6000602082840312156144a357600080fd5b60006144b184828501614375565b91505092915050565b600080604083850312156144cd57600080fd5b60006144db85828601614375565b92505060206144ec85828601614375565b9150509250929050565b60008060006060848603121561450b57600080fd5b600061451986828701614375565b935050602061452a86828701614375565b925050604061453b8682870161447c565b9150509250925092565b6000806000806080858703121561455b57600080fd5b600061456987828801614375565b945050602061457a87828801614375565b935050604061458b8782880161447c565b925050606085013567ffffffffffffffff8111156145a857600080fd5b6145b487828801614428565b91505092959194509250565b600080604083850312156145d357600080fd5b60006145e185828601614375565b92505060206145f2858286016143d4565b9150509250929050565b6000806040838503121561460f57600080fd5b600061461d85828601614375565b925050602061462e8582860161447c565b9150509250929050565b60006020828403121561464a57600080fd5b6000614658848285016143e9565b91505092915050565b60006020828403121561467357600080fd5b6000614681848285016143fe565b91505092915050565b60006020828403121561469c57600080fd5b60006146aa84828501614413565b91505092915050565b6000602082840312156146c557600080fd5b600082013567ffffffffffffffff8111156146df57600080fd5b6146eb84828501614452565b91505092915050565b60006020828403121561470657600080fd5b60006147148482850161447c565b91505092915050565b60008060006040848603121561473257600080fd5b60006147408682870161447c565b935050602084013567ffffffffffffffff81111561475d57600080fd5b6147698682870161438a565b92509250509250925092565b60006147818383614d17565b60208301905092915050565b61479681615479565b82525050565b6147ad6147a882615479565b6155e5565b82525050565b60006147be826152f8565b6147c88185615326565b93506147d3836152e8565b8060005b838110156148045781516147eb8882614775565b97506147f683615319565b9250506001810190506147d7565b5085935050505092915050565b61481a8161548b565b82525050565b61483161482c82615497565b6155f7565b82525050565b600061484282615303565b61484c8185615337565b935061485c818560208601615506565b61486581615700565b840191505092915050565b600061487b8261530e565b6148858185615348565b9350614895818560208601615506565b61489e81615700565b840191505092915050565b60006148b48261530e565b6148be8185615359565b93506148ce818560208601615506565b80840191505092915050565b60006148e7601f83615348565b91506148f28261571e565b602082019050919050565b600061490a601383615348565b915061491582615747565b602082019050919050565b600061492d601583615348565b915061493882615770565b602082019050919050565b6000614950601983615348565b915061495b82615799565b602082019050919050565b6000614973602b83615348565b915061497e826157c2565b604082019050919050565b6000614996603283615348565b91506149a182615811565b604082019050919050565b60006149b9602683615348565b91506149c482615860565b604082019050919050565b60006149dc601c83615348565b91506149e7826158af565b602082019050919050565b60006149ff600d83615348565b9150614a0a826158d8565b602082019050919050565b6000614a22601083615348565b9150614a2d82615901565b602082019050919050565b6000614a45602483615348565b9150614a508261592a565b604082019050919050565b6000614a68601983615348565b9150614a7382615979565b602082019050919050565b6000614a8b601f83615348565b9150614a96826159a2565b602082019050919050565b6000614aae602c83615348565b9150614ab9826159cb565b604082019050919050565b6000614ad1601b83615348565b9150614adc82615a1a565b602082019050919050565b6000614af4603883615348565b9150614aff82615a43565b604082019050919050565b6000614b17602a83615348565b9150614b2282615a92565b604082019050919050565b6000614b3a602983615348565b9150614b4582615ae1565b604082019050919050565b6000614b5d601283615348565b9150614b6882615b30565b602082019050919050565b6000614b80602083615348565b9150614b8b82615b59565b602082019050919050565b6000614ba3601183615348565b9150614bae82615b82565b602082019050919050565b6000614bc6602c83615348565b9150614bd182615bab565b604082019050919050565b6000614be9602083615348565b9150614bf482615bfa565b602082019050919050565b6000614c0c601683615348565b9150614c1782615c23565b602082019050919050565b6000614c2f602983615348565b9150614c3a82615c4c565b604082019050919050565b6000614c52602f83615348565b9150614c5d82615c9b565b604082019050919050565b6000614c75602483615348565b9150614c8082615cea565b604082019050919050565b6000614c98602383615348565b9150614ca382615d39565b604082019050919050565b6000614cbb602183615348565b9150614cc682615d88565b604082019050919050565b6000614cde603183615348565b9150614ce982615dd7565b604082019050919050565b6000614d01602c83615348565b9150614d0c82615e26565b604082019050919050565b614d20816154ed565b82525050565b614d2f816154ed565b82525050565b6000614d41828461479c565b60148201915081905092915050565b6000614d5c8285614820565b602082019150614d6c8284614820565b6020820191508190509392505050565b6000614d8882856148a9565b9150614d9482846148a9565b91508190509392505050565b6000602082019050614db5600083018461478d565b92915050565b6000608082019050614dd0600083018761478d565b614ddd602083018661478d565b614dea6040830185614d26565b8181036060830152614dfc8184614837565b905095945050505050565b60006020820190508181036000830152614e2181846147b3565b905092915050565b6000602082019050614e3e6000830184614811565b92915050565b60006020820190508181036000830152614e5e8184614870565b905092915050565b60006020820190508181036000830152614e7f816148da565b9050919050565b60006020820190508181036000830152614e9f816148fd565b9050919050565b60006020820190508181036000830152614ebf81614920565b9050919050565b60006020820190508181036000830152614edf81614943565b9050919050565b60006020820190508181036000830152614eff81614966565b9050919050565b60006020820190508181036000830152614f1f81614989565b9050919050565b60006020820190508181036000830152614f3f816149ac565b9050919050565b60006020820190508181036000830152614f5f816149cf565b9050919050565b60006020820190508181036000830152614f7f816149f2565b9050919050565b60006020820190508181036000830152614f9f81614a15565b9050919050565b60006020820190508181036000830152614fbf81614a38565b9050919050565b60006020820190508181036000830152614fdf81614a5b565b9050919050565b60006020820190508181036000830152614fff81614a7e565b9050919050565b6000602082019050818103600083015261501f81614aa1565b9050919050565b6000602082019050818103600083015261503f81614ac4565b9050919050565b6000602082019050818103600083015261505f81614ae7565b9050919050565b6000602082019050818103600083015261507f81614b0a565b9050919050565b6000602082019050818103600083015261509f81614b2d565b9050919050565b600060208201905081810360008301526150bf81614b50565b9050919050565b600060208201905081810360008301526150df81614b73565b9050919050565b600060208201905081810360008301526150ff81614b96565b9050919050565b6000602082019050818103600083015261511f81614bb9565b9050919050565b6000602082019050818103600083015261513f81614bdc565b9050919050565b6000602082019050818103600083015261515f81614bff565b9050919050565b6000602082019050818103600083015261517f81614c22565b9050919050565b6000602082019050818103600083015261519f81614c45565b9050919050565b600060208201905081810360008301526151bf81614c68565b9050919050565b600060208201905081810360008301526151df81614c8b565b9050919050565b600060208201905081810360008301526151ff81614cae565b9050919050565b6000602082019050818103600083015261521f81614cd1565b9050919050565b6000602082019050818103600083015261523f81614cf4565b9050919050565b600060208201905061525b6000830184614d26565b92915050565b600061526b61527c565b9050615277828261556b565b919050565b6000604051905090565b600067ffffffffffffffff8211156152a1576152a06156d1565b5b6152aa82615700565b9050602081019050919050565b600067ffffffffffffffff8211156152d2576152d16156d1565b5b6152db82615700565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061536f826154ed565b915061537a836154ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153af576153ae615644565b5b828201905092915050565b60006153c5826154ed565b91506153d0836154ed565b9250826153e0576153df615673565b5b828204905092915050565b60006153f6826154ed565b9150615401836154ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561543a57615439615644565b5b828202905092915050565b6000615450826154ed565b915061545b836154ed565b92508282101561546e5761546d615644565b5b828203905092915050565b6000615484826154cd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615524578082015181840152602081019050615509565b83811115615533576000848401525b50505050565b6000600282049050600182168061555157607f821691505b60208210811415615565576155646156a2565b5b50919050565b61557482615700565b810181811067ffffffffffffffff82111715615593576155926156d1565b5b80604052505050565b60006155a7826154ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155da576155d9615644565b5b600182019050919050565b60006155f082615601565b9050919050565b6000819050919050565b600061560c82615711565b9050919050565b600061561e826154ed565b9150615629836154ed565b92508261563957615638615673565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206d6178696d756d20707572636861736520616d6f756e7400600082015250565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f42616c616e63652063616e2774206265207a65726f0000000000000000000000600082015250565b7f526166666c6553616c65206d7573742062652061637469766500000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74206f6e206d6f6420776c00000000000000000000000000000000000000600082015250565b7f4e6f74206f6e20726166666c6520776c00000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4578636565647320746865206163636f756e7427732071756f74610000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f74206f6e2070726573616c6520776c000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f436f6e7472616374206d65746164617461206d6574686f647320617265206c6f60008201527f636b656400000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746865206163636f756e7427732070726573616c6520717560008201527f6f74610000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b615e7e81615479565b8114615e8957600080fd5b50565b615e958161548b565b8114615ea057600080fd5b50565b615eac81615497565b8114615eb757600080fd5b50565b615ec3816154a1565b8114615ece57600080fd5b50565b615eda816154ed565b8114615ee557600080fd5b5056fea2646970667358221220833c81af71744166d6773ec274301b7597512eb044bc812205c2eb5404b79e5864736f6c63430008040033

Deployed Bytecode

0x60806040526004361061027d5760003560e01c80637890b2c91161014f578063c4e41b22116100c1578063e985e9c51161007a578063e985e9c51461090f578063f19019021461094c578063f2fde38b14610975578063f4a0a5281461099e578063f5aa406d146109c7578063f835b53f146109f05761027d565b8063c4e41b221461080a578063c87b56dd14610835578063ccf6239214610872578063cf3090121461089d578063d5abeb01146108c8578063e3e1e8ef146108f35761027d565b8063977b055b11610113578063977b055b1461072f578063989bdbb61461075a578063a0712d6814610771578063a22cb4651461078d578063b88d4fde146107b6578063bc8893b4146107df5761027d565b80637890b2c91461068f5780637bffb4ce146106ab578063853828b6146106c25780638da5cb5b146106d957806395d89b41146107045761027d565b8063438b6300116101f357806355f804b3116101ac57806355f804b3146105815780636352211e146105aa5780636817c76c146105e757806370a0823114610612578063711897421461064f578063715018a6146106785761027d565b8063438b6300146104615780634442c7ce1461049e57806346c8d2b4146104c7578063484b973c146104f05780634f6ccce71461051957806353135ca0146105565761027d565b80631804eb1e116102455780631804eb1e1461036757806318160ddd1461037e57806323b872dd146103a95780632d95c193146103d25780632f745c59146103fb57806342842e0e146104385761027d565b806301ffc9a714610282578063049c5c49146102bf57806306fdde03146102d6578063081812fc14610301578063095ea7b31461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190614661565b610a0c565b6040516102b69190614e29565b60405180910390f35b3480156102cb57600080fd5b506102d4610a86565b005b3480156102e257600080fd5b506102eb610b74565b6040516102f89190614e44565b60405180910390f35b34801561030d57600080fd5b50610328600480360381019061032391906146f4565b610c06565b6040516103359190614da0565b60405180910390f35b34801561034a57600080fd5b50610365600480360381019061036091906145fc565b610c8b565b005b34801561037357600080fd5b5061037c610da3565b005b34801561038a57600080fd5b50610393610e91565b6040516103a09190615246565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb91906144f6565b610e9e565b005b3480156103de57600080fd5b506103f960048036038101906103f49190614638565b610efe565b005b34801561040757600080fd5b50610422600480360381019061041d91906145fc565b610f84565b60405161042f9190615246565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a91906144f6565b611029565b005b34801561046d57600080fd5b5061048860048036038101906104839190614491565b611049565b6040516104959190614e07565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190614638565b611143565b005b3480156104d357600080fd5b506104ee60048036038101906104e9919061471d565b6111c9565b005b3480156104fc57600080fd5b50610517600480360381019061051291906145fc565b61146c565b005b34801561052557600080fd5b50610540600480360381019061053b91906146f4565b611579565b60405161054d9190615246565b60405180910390f35b34801561056257600080fd5b5061056b611610565b6040516105789190614e29565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a391906146b3565b611623565b005b3480156105b657600080fd5b506105d160048036038101906105cc91906146f4565b611709565b6040516105de9190614da0565b60405180910390f35b3480156105f357600080fd5b506105fc6117bb565b6040516106099190615246565b60405180910390f35b34801561061e57600080fd5b5061063960048036038101906106349190614491565b6117c1565b6040516106469190615246565b60405180910390f35b34801561065b57600080fd5b50610676600480360381019061067191906146f4565b611879565b005b34801561068457600080fd5b5061068d6118ff565b005b6106a960048036038101906106a4919061471d565b611987565b005b3480156106b757600080fd5b506106c0611c7a565b005b3480156106ce57600080fd5b506106d7611d68565b005b3480156106e557600080fd5b506106ee611f1a565b6040516106fb9190614da0565b60405180910390f35b34801561071057600080fd5b50610719611f44565b6040516107269190614e44565b60405180910390f35b34801561073b57600080fd5b50610744611fd6565b6040516107519190615246565b60405180910390f35b34801561076657600080fd5b5061076f611fdc565b005b61078b600480360381019061078691906146f4565b612075565b005b34801561079957600080fd5b506107b460048036038101906107af91906145c0565b61235e565b005b3480156107c257600080fd5b506107dd60048036038101906107d89190614545565b612374565b005b3480156107eb57600080fd5b506107f46123d6565b6040516108019190614e29565b60405180910390f35b34801561081657600080fd5b5061081f6123e9565b60405161082c9190615246565b60405180910390f35b34801561084157600080fd5b5061085c600480360381019061085791906146f4565b6123f8565b6040516108699190614e44565b60405180910390f35b34801561087e57600080fd5b5061088761249f565b6040516108949190614e29565b60405180910390f35b3480156108a957600080fd5b506108b26124b2565b6040516108bf9190614e29565b60405180910390f35b3480156108d457600080fd5b506108dd6124c5565b6040516108ea9190615246565b60405180910390f35b61090d6004803603810190610908919061471d565b6124cb565b005b34801561091b57600080fd5b50610936600480360381019061093191906144ba565b6127be565b6040516109439190614e29565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190614638565b612852565b005b34801561098157600080fd5b5061099c60048036038101906109979190614491565b6128d8565b005b3480156109aa57600080fd5b506109c560048036038101906109c091906146f4565b6129d0565b005b3480156109d357600080fd5b506109ee60048036038101906109e99190614638565b612a56565b005b610a0a6004803603810190610a05919061471d565b612adc565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7f5750610a7e82612dd3565b5b9050919050565b610a8e612eb5565b73ffffffffffffffffffffffffffffffffffffffff16610aac611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614610b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af990615126565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff0219169083151502179055507f1c27adbe19c2f592844c4b67508b6e5dce275dc961a69a647af7c4d768de0f8e600e60029054906101000a900460ff16604051610b6a9190614e29565b60405180910390a1565b606060008054610b8390615539565b80601f0160208091040260200160405190810160405280929190818152602001828054610baf90615539565b8015610bfc5780601f10610bd157610100808354040283529160200191610bfc565b820191906000526020600020905b815481529060010190602001808311610bdf57829003601f168201915b5050505050905090565b6000610c1182612ebd565b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790615106565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c9682611709565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe906151e6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d26612eb5565b73ffffffffffffffffffffffffffffffffffffffff161480610d555750610d5481610d4f612eb5565b6127be565b5b610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b90615046565b60405180910390fd5b610d9e8383612f29565b505050565b610dab612eb5565b73ffffffffffffffffffffffffffffffffffffffff16610dc9611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1690615126565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff0219169083151502179055507fe7e0cf23ac1be9cbb78cdfc04971631606c189beedaefc2024135beee1f7f136600e60019054906101000a900460ff16604051610e879190614e29565b60405180910390a1565b6000600880549050905090565b610eaf610ea9612eb5565b82612fe2565b610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee590615206565b60405180910390fd5b610ef98383836130c0565b505050565b610f06612eb5565b73ffffffffffffffffffffffffffffffffffffffff16610f24611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190615126565b60405180910390fd5b80600f8190555050565b6000610f8f836117c1565b8210610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc790614ee6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61104483838360405180602001604052806000815250612374565b505050565b60606000611056836117c1565b905060008167ffffffffffffffff81111561109a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110c85781602001602082028036833780820191505090505b50905060005b82811015611138576110e08582610f84565b828281518110611119577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806111309061559c565b9150506110ce565b508092505050919050565b61114b612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611169611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690615126565b60405180910390fd5b8060108190555050565b600e60009054906101000a900460ff16611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90615146565b60405180910390fd5b611226338383600f5461331c565b611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90614f66565b60405180910390fd5b600d5483611272336117c1565b61127c9190615364565b11156112bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b490615026565b60405180910390fd5b600b54836112c9610e91565b6112d39190615364565b1115611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906150a6565b60405180910390fd5b600d5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113629190615364565b11156113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139a90615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ee9190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015611466576000611446610e91565b9050611452338261337c565b50808061145e9061559c565b915050611434565b50505050565b611474612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611492611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146114e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114df90615126565b60405180910390fd5b6122b8816114f4610e91565b6114fe9190615364565b111561153f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611536906150a6565b60405180910390fd5b60005b81811015611574576000611554610e91565b9050611560848261337c565b50808061156c9061559c565b915050611542565b505050565b6000611583610e91565b82106115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90615226565b60405180910390fd5b600882815481106115fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600e60009054906101000a900460ff1681565b61162b612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611649611f1a565b73ffffffffffffffffffffffffffffffffffffffff161461169f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169690615126565b60405180910390fd5b600e60039054906101000a900460ff16156116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906151a6565b60405180910390fd5b8060149080519060200190611705929190614256565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990615086565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182990615066565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611881612eb5565b73ffffffffffffffffffffffffffffffffffffffff1661189f611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90615126565b60405180910390fd5b80600d8190555050565b611907612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611925611f1a565b73ffffffffffffffffffffffffffffffffffffffff161461197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290615126565b60405180910390fd5b611985600061339a565b565b600e60019054906101000a900460ff166119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd90614ec6565b60405180910390fd5b6119e433838360125461331c565b611a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1a90614f86565b60405180910390fd5b600d5483611a30336117c1565b611a3a9190615364565b1115611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a72906151c6565b60405180910390fd5b600b5483611a87610e91565b611a919190615364565b1115611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac9906150a6565b60405180910390fd5b3483600c54611ae191906153eb565b1115611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990614fe6565b60405180910390fd5b600d5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b709190615364565b1115611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bfc9190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015611c74576000611c54610e91565b9050611c60338261337c565b508080611c6c9061559c565b915050611c42565b50505050565b611c82612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611ca0611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614611cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ced90615126565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff0219169083151502179055507f42133c3a5199a92c96a540af6aee25899ebc1da7cc9ac9e3536653b61c3c60d7600e60009054906101000a900460ff16604051611d5e9190614e29565b60405180910390a1565b611d70612eb5565b73ffffffffffffffffffffffffffffffffffffffff16611d8e611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614611de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddb90615126565b60405180910390fd5b600047905060008111611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2390614ea6565b60405180910390fd5b600060c882611e3b91906153ba565b6007606484611e4a91906153ba565b611e5491906153eb565b611e5e9190615364565b90507343cc5bea362caffa79d56873ba9edb6c01db528173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611eba573d6000803e3d6000fd5b5073ef27aa93c2906472e880e99f65b408dfee1124f373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611f15573d6000803e3d6000fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611f5390615539565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7f90615539565b8015611fcc5780601f10611fa157610100808354040283529160200191611fcc565b820191906000526020600020905b815481529060010190602001808311611faf57829003601f168201915b5050505050905090565b600d5481565b611fe4612eb5565b73ffffffffffffffffffffffffffffffffffffffff16612002611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90615126565b60405180910390fd5b6001600e60036101000a81548160ff021916908315150217905550565b600e60029054906101000a900460ff166120c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bb90614e86565b60405180910390fd5b600d54811115612109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210090614e66565b60405180910390fd5b600d5481612116336117c1565b6121209190615364565b1115612161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215890615026565b60405180910390fd5b600b548161216d610e91565b6121779190615364565b11156121b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121af906150a6565b60405180910390fd5b3481600c546121c791906153eb565b1115612208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ff90614fe6565b60405180910390fd5b600d5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122569190615364565b1115612297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228e90615026565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122e29190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8181101561235a57600061233a610e91565b9050612346338261337c565b5080806123529061559c565b915050612328565b5050565b612370612369612eb5565b8383613460565b5050565b61238561237f612eb5565b83612fe2565b6123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90615206565b60405180910390fd5b6123d0848484846135cd565b50505050565b600e60029054906101000a900460ff1681565b60006123f3610e91565b905090565b606061240382612ebd565b612442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243990615186565b60405180910390fd5b600061244c613629565b9050600081511161246c5760405180602001604052806000815250612497565b80612476846136bb565b604051602001612487929190614d7c565b6040516020818303038152906040525b915050919050565b600e60019054906101000a900460ff1681565b600e60039054906101000a900460ff1681565b600b5481565b600e60009054906101000a900460ff1661251a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251190615146565b60405180910390fd5b61252833838360115461331c565b612567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255e906150e6565b60405180910390fd5b600d5483612574336117c1565b61257e9190615364565b11156125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b690615026565b60405180910390fd5b600b54836125cb610e91565b6125d59190615364565b1115612616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d906150a6565b60405180910390fd5b3483600c5461262591906153eb565b1115612666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265d90614fe6565b60405180910390fd5b600d5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126b49190615364565b11156126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec90615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127409190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b838110156127b8576000612798610e91565b90506127a4338261337c565b5080806127b09061559c565b915050612786565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61285a612eb5565b73ffffffffffffffffffffffffffffffffffffffff16612878611f1a565b73ffffffffffffffffffffffffffffffffffffffff16146128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590615126565b60405180910390fd5b8060128190555050565b6128e0612eb5565b73ffffffffffffffffffffffffffffffffffffffff166128fe611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b90615126565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bb90614f26565b60405180910390fd5b6129cd8161339a565b50565b6129d8612eb5565b73ffffffffffffffffffffffffffffffffffffffff166129f6611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4390615126565b60405180910390fd5b80600c8190555050565b612a5e612eb5565b73ffffffffffffffffffffffffffffffffffffffff16612a7c611f1a565b73ffffffffffffffffffffffffffffffffffffffff1614612ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac990615126565b60405180910390fd5b8060118190555050565b600e60009054906101000a900460ff16612b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2290615146565b60405180910390fd5b612b3933838360105461331c565b612b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6f906150e6565b60405180910390fd5b600383612b84336117c1565b612b8e9190615364565b1115612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690615026565b60405180910390fd5b600b5483612bdb610e91565b612be59190615364565b1115612c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1d906150a6565b60405180910390fd5b34836701f161421c8e0000612c3b91906153eb565b1115612c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7390614fe6565b60405180910390fd5b600383601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cc99190615364565b1115612d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0190615026565b60405180910390fd5b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d559190615364565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b83811015612dcd576000612dad610e91565b9050612db9338261337c565b508080612dc59061559c565b915050612d9b565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e9e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612eae5750612ead82613868565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612f9c83611709565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612fed82612ebd565b61302c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302390615006565b60405180910390fd5b600061303783611709565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130a657508373ffffffffffffffffffffffffffffffffffffffff1661308e84610c06565b73ffffffffffffffffffffffffffffffffffffffff16145b806130b757506130b681856127be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166130e082611709565b73ffffffffffffffffffffffffffffffffffffffff1614613136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312d90615166565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319d90614fa6565b60405180910390fd5b6131b18383836138d2565b6131bc600082612f29565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461320c9190615445565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132639190615364565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000613372848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508361336d886139e6565b613a16565b9050949350505050565b613396828260405180602001604052806000815250613a2d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c690614fc6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135c09190614e29565b60405180910390a3505050565b6135d88484846130c0565b6135e484848484613a88565b613623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361a90614f06565b60405180910390fd5b50505050565b60606014805461363890615539565b80601f016020809104026020016040519081016040528092919081815260200182805461366490615539565b80156136b15780601f10613686576101008083540402835291602001916136b1565b820191906000526020600020905b81548152906001019060200180831161369457829003601f168201915b5050505050905090565b60606000821415613703576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613863565b600082905060005b6000821461373557808061371e9061559c565b915050600a8261372e91906153ba565b915061370b565b60008167ffffffffffffffff811115613777577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156137a95781602001600182028036833780820191505090505b5090505b6000851461385c576001826137c29190615445565b9150600a856137d19190615613565b60306137dd9190615364565b60f81b818381518110613819577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561385591906153ba565b94506137ad565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6138dd838383613c1f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139205761391b81613c24565b61395f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461395e5761395d8382613c6d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139a25761399d81613dda565b6139e1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139e0576139df8282613f1d565b5b5b505050565b6000816040516020016139f99190614d35565b604051602081830303815290604052805190602001209050919050565b600082613a238584613f9c565b1490509392505050565b613a378383614075565b613a446000848484613a88565b613a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7a90614f06565b60405180910390fd5b505050565b6000613aa98473ffffffffffffffffffffffffffffffffffffffff16614243565b15613c12578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ad2612eb5565b8786866040518563ffffffff1660e01b8152600401613af49493929190614dbb565b602060405180830381600087803b158015613b0e57600080fd5b505af1925050508015613b3f57506040513d601f19601f82011682018060405250810190613b3c919061468a565b60015b613bc2573d8060008114613b6f576040519150601f19603f3d011682016040523d82523d6000602084013e613b74565b606091505b50600081511415613bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb190614f06565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c17565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c7a846117c1565b613c849190615445565b9050600060076000848152602001908152602001600020549050818114613d69576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613dee9190615445565b9050600060096000848152602001908152602001600020549050600060088381548110613e44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f28836117c1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008082905060005b845181101561406a576000858281518110613fe9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161402a57828160405160200161400d929190614d50565b604051602081830303815290604052805190602001209250614056565b808360405160200161403d929190614d50565b6040516020818303038152906040528051906020012092505b5080806140629061559c565b915050613fa5565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156140e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140dc906150c6565b60405180910390fd5b6140ee81612ebd565b1561412e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161412590614f46565b60405180910390fd5b61413a600083836138d2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461418a9190615364565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461426290615539565b90600052602060002090601f01602090048101928261428457600085556142cb565b82601f1061429d57805160ff19168380011785556142cb565b828001600101855582156142cb579182015b828111156142ca5782518255916020019190600101906142af565b5b5090506142d891906142dc565b5090565b5b808211156142f55760008160009055506001016142dd565b5090565b600061430c61430784615286565b615261565b90508281526020810184848401111561432457600080fd5b61432f8482856154f7565b509392505050565b600061434a614345846152b7565b615261565b90508281526020810184848401111561436257600080fd5b61436d8482856154f7565b509392505050565b60008135905061438481615e75565b92915050565b60008083601f84011261439c57600080fd5b8235905067ffffffffffffffff8111156143b557600080fd5b6020830191508360208202830111156143cd57600080fd5b9250929050565b6000813590506143e381615e8c565b92915050565b6000813590506143f881615ea3565b92915050565b60008135905061440d81615eba565b92915050565b60008151905061442281615eba565b92915050565b600082601f83011261443957600080fd5b81356144498482602086016142f9565b91505092915050565b600082601f83011261446357600080fd5b8135614473848260208601614337565b91505092915050565b60008135905061448b81615ed1565b92915050565b6000602082840312156144a357600080fd5b60006144b184828501614375565b91505092915050565b600080604083850312156144cd57600080fd5b60006144db85828601614375565b92505060206144ec85828601614375565b9150509250929050565b60008060006060848603121561450b57600080fd5b600061451986828701614375565b935050602061452a86828701614375565b925050604061453b8682870161447c565b9150509250925092565b6000806000806080858703121561455b57600080fd5b600061456987828801614375565b945050602061457a87828801614375565b935050604061458b8782880161447c565b925050606085013567ffffffffffffffff8111156145a857600080fd5b6145b487828801614428565b91505092959194509250565b600080604083850312156145d357600080fd5b60006145e185828601614375565b92505060206145f2858286016143d4565b9150509250929050565b6000806040838503121561460f57600080fd5b600061461d85828601614375565b925050602061462e8582860161447c565b9150509250929050565b60006020828403121561464a57600080fd5b6000614658848285016143e9565b91505092915050565b60006020828403121561467357600080fd5b6000614681848285016143fe565b91505092915050565b60006020828403121561469c57600080fd5b60006146aa84828501614413565b91505092915050565b6000602082840312156146c557600080fd5b600082013567ffffffffffffffff8111156146df57600080fd5b6146eb84828501614452565b91505092915050565b60006020828403121561470657600080fd5b60006147148482850161447c565b91505092915050565b60008060006040848603121561473257600080fd5b60006147408682870161447c565b935050602084013567ffffffffffffffff81111561475d57600080fd5b6147698682870161438a565b92509250509250925092565b60006147818383614d17565b60208301905092915050565b61479681615479565b82525050565b6147ad6147a882615479565b6155e5565b82525050565b60006147be826152f8565b6147c88185615326565b93506147d3836152e8565b8060005b838110156148045781516147eb8882614775565b97506147f683615319565b9250506001810190506147d7565b5085935050505092915050565b61481a8161548b565b82525050565b61483161482c82615497565b6155f7565b82525050565b600061484282615303565b61484c8185615337565b935061485c818560208601615506565b61486581615700565b840191505092915050565b600061487b8261530e565b6148858185615348565b9350614895818560208601615506565b61489e81615700565b840191505092915050565b60006148b48261530e565b6148be8185615359565b93506148ce818560208601615506565b80840191505092915050565b60006148e7601f83615348565b91506148f28261571e565b602082019050919050565b600061490a601383615348565b915061491582615747565b602082019050919050565b600061492d601583615348565b915061493882615770565b602082019050919050565b6000614950601983615348565b915061495b82615799565b602082019050919050565b6000614973602b83615348565b915061497e826157c2565b604082019050919050565b6000614996603283615348565b91506149a182615811565b604082019050919050565b60006149b9602683615348565b91506149c482615860565b604082019050919050565b60006149dc601c83615348565b91506149e7826158af565b602082019050919050565b60006149ff600d83615348565b9150614a0a826158d8565b602082019050919050565b6000614a22601083615348565b9150614a2d82615901565b602082019050919050565b6000614a45602483615348565b9150614a508261592a565b604082019050919050565b6000614a68601983615348565b9150614a7382615979565b602082019050919050565b6000614a8b601f83615348565b9150614a96826159a2565b602082019050919050565b6000614aae602c83615348565b9150614ab9826159cb565b604082019050919050565b6000614ad1601b83615348565b9150614adc82615a1a565b602082019050919050565b6000614af4603883615348565b9150614aff82615a43565b604082019050919050565b6000614b17602a83615348565b9150614b2282615a92565b604082019050919050565b6000614b3a602983615348565b9150614b4582615ae1565b604082019050919050565b6000614b5d601283615348565b9150614b6882615b30565b602082019050919050565b6000614b80602083615348565b9150614b8b82615b59565b602082019050919050565b6000614ba3601183615348565b9150614bae82615b82565b602082019050919050565b6000614bc6602c83615348565b9150614bd182615bab565b604082019050919050565b6000614be9602083615348565b9150614bf482615bfa565b602082019050919050565b6000614c0c601683615348565b9150614c1782615c23565b602082019050919050565b6000614c2f602983615348565b9150614c3a82615c4c565b604082019050919050565b6000614c52602f83615348565b9150614c5d82615c9b565b604082019050919050565b6000614c75602483615348565b9150614c8082615cea565b604082019050919050565b6000614c98602383615348565b9150614ca382615d39565b604082019050919050565b6000614cbb602183615348565b9150614cc682615d88565b604082019050919050565b6000614cde603183615348565b9150614ce982615dd7565b604082019050919050565b6000614d01602c83615348565b9150614d0c82615e26565b604082019050919050565b614d20816154ed565b82525050565b614d2f816154ed565b82525050565b6000614d41828461479c565b60148201915081905092915050565b6000614d5c8285614820565b602082019150614d6c8284614820565b6020820191508190509392505050565b6000614d8882856148a9565b9150614d9482846148a9565b91508190509392505050565b6000602082019050614db5600083018461478d565b92915050565b6000608082019050614dd0600083018761478d565b614ddd602083018661478d565b614dea6040830185614d26565b8181036060830152614dfc8184614837565b905095945050505050565b60006020820190508181036000830152614e2181846147b3565b905092915050565b6000602082019050614e3e6000830184614811565b92915050565b60006020820190508181036000830152614e5e8184614870565b905092915050565b60006020820190508181036000830152614e7f816148da565b9050919050565b60006020820190508181036000830152614e9f816148fd565b9050919050565b60006020820190508181036000830152614ebf81614920565b9050919050565b60006020820190508181036000830152614edf81614943565b9050919050565b60006020820190508181036000830152614eff81614966565b9050919050565b60006020820190508181036000830152614f1f81614989565b9050919050565b60006020820190508181036000830152614f3f816149ac565b9050919050565b60006020820190508181036000830152614f5f816149cf565b9050919050565b60006020820190508181036000830152614f7f816149f2565b9050919050565b60006020820190508181036000830152614f9f81614a15565b9050919050565b60006020820190508181036000830152614fbf81614a38565b9050919050565b60006020820190508181036000830152614fdf81614a5b565b9050919050565b60006020820190508181036000830152614fff81614a7e565b9050919050565b6000602082019050818103600083015261501f81614aa1565b9050919050565b6000602082019050818103600083015261503f81614ac4565b9050919050565b6000602082019050818103600083015261505f81614ae7565b9050919050565b6000602082019050818103600083015261507f81614b0a565b9050919050565b6000602082019050818103600083015261509f81614b2d565b9050919050565b600060208201905081810360008301526150bf81614b50565b9050919050565b600060208201905081810360008301526150df81614b73565b9050919050565b600060208201905081810360008301526150ff81614b96565b9050919050565b6000602082019050818103600083015261511f81614bb9565b9050919050565b6000602082019050818103600083015261513f81614bdc565b9050919050565b6000602082019050818103600083015261515f81614bff565b9050919050565b6000602082019050818103600083015261517f81614c22565b9050919050565b6000602082019050818103600083015261519f81614c45565b9050919050565b600060208201905081810360008301526151bf81614c68565b9050919050565b600060208201905081810360008301526151df81614c8b565b9050919050565b600060208201905081810360008301526151ff81614cae565b9050919050565b6000602082019050818103600083015261521f81614cd1565b9050919050565b6000602082019050818103600083015261523f81614cf4565b9050919050565b600060208201905061525b6000830184614d26565b92915050565b600061526b61527c565b9050615277828261556b565b919050565b6000604051905090565b600067ffffffffffffffff8211156152a1576152a06156d1565b5b6152aa82615700565b9050602081019050919050565b600067ffffffffffffffff8211156152d2576152d16156d1565b5b6152db82615700565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061536f826154ed565b915061537a836154ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153af576153ae615644565b5b828201905092915050565b60006153c5826154ed565b91506153d0836154ed565b9250826153e0576153df615673565b5b828204905092915050565b60006153f6826154ed565b9150615401836154ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561543a57615439615644565b5b828202905092915050565b6000615450826154ed565b915061545b836154ed565b92508282101561546e5761546d615644565b5b828203905092915050565b6000615484826154cd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615524578082015181840152602081019050615509565b83811115615533576000848401525b50505050565b6000600282049050600182168061555157607f821691505b60208210811415615565576155646156a2565b5b50919050565b61557482615700565b810181811067ffffffffffffffff82111715615593576155926156d1565b5b80604052505050565b60006155a7826154ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155da576155d9615644565b5b600182019050919050565b60006155f082615601565b9050919050565b6000819050919050565b600061560c82615711565b9050919050565b600061561e826154ed565b9150615629836154ed565b92508261563957615638615673565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206d6178696d756d20707572636861736520616d6f756e7400600082015250565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f42616c616e63652063616e2774206265207a65726f0000000000000000000000600082015250565b7f526166666c6553616c65206d7573742062652061637469766500000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74206f6e206d6f6420776c00000000000000000000000000000000000000600082015250565b7f4e6f74206f6e20726166666c6520776c00000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4578636565647320746865206163636f756e7427732071756f74610000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f74206f6e2070726573616c6520776c000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f436f6e7472616374206d65746164617461206d6574686f647320617265206c6f60008201527f636b656400000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746865206163636f756e7427732070726573616c6520717560008201527f6f74610000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b615e7e81615479565b8114615e8957600080fd5b50565b615e958161548b565b8114615ea057600080fd5b50565b615eac81615497565b8114615eb757600080fd5b50565b615ec3816154a1565b8114615ece57600080fd5b50565b615eda816154ed565b8114615ee557600080fd5b5056fea2646970667358221220833c81af71744166d6773ec274301b7597512eb044bc812205c2eb5404b79e5864736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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