ETH Price: $2,428.36 (-2.46%)

Sybil Samurai (Sybil Samurai)
 

Overview

TokenID

3830

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

An army of Samurai living on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SybilSamurai

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : SybilSamurai.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

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

contract SybilSamurai is ERC721Enumerable, Ownable {
    
    uint256 public maxSamuraiMintValue = 1000001;
    uint256 public totalSamuraiValueMinted;
    uint256 public teamMintedCount;

    mapping(uint256 => uint256) public tierValueUSD;
    mapping(uint256 => uint256) public tokenIdToTier;
    mapping(uint256 => uint256) public tierToEthValue;
    mapping(address => bool) public hasWhitelistedMinted;

    uint256 public ethPrice;

    bool public whitelistMintOpen; 
    bool public publicMintOpen;

    string public baseURI;
    bytes32 public root;

    constructor() ERC721("Sybil Samurai", "Sybil Samurai") {
        tierValueUSD[1] = 50;
        tierValueUSD[2] = 300;
        tierValueUSD[3] = 1500;

        whitelistMintOpen = false;
        publicMintOpen = false;

        baseURI = "ipfs://bafybeifnek24coy5xj5qabdwh24dlp5omq34nzgvazkfyxgnqms4eidsiq/";
    }

    function setRoot(bytes32 newRoot) public onlyOwner {
        root = newRoot;
    }

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        baseURI = newBaseURI;
    }

    function setEthPrice(uint256 newPrice) external onlyOwner {
        ethPrice = newPrice;
        updateTierEthPrices();
    }

    function updateTierEthPrices() private {
        for(uint8 i = 1; i <= 3; i++) {
            tierToEthValue[i] = tierValueUSD[i] * 1 ether / ethPrice;
        }
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "Token does not exist.");
        uint256 tier = tokenIdToTier[tokenId];
        return string(abi.encodePacked(baseURI, Strings.toString(tier), ".json"));
    }

    function isValid(bytes32[] memory proof, bytes32 leaf) private view returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    function setWhitelistMintAllowed(bool status) external onlyOwner {
        require(ethPrice > 0, "Set ETH Price");
        whitelistMintOpen = status;
    }

    function setPublicMintAllowed(bool status) external onlyOwner {
        require(ethPrice > 0, "Set ETH Price");
        publicMintOpen = status;
    }

    function publicMintSamurai(uint256 quantity, uint8 tier) external payable {
        require(msg.sender == tx.origin, "No smart contract bots, cheeky Samurai");
        uint256 mintValueInEth = tierToEthValue[tier] * quantity;
        uint256 mintValueInUSD = tierValueUSD[tier] * quantity;

        require(publicMintOpen, "Public mint not open");
        require(quantity > 0 && quantity < 11, "Quantity must be between 1 and 10 (inclusive)");
        require(msg.value >= mintValueInEth, "Incorrect ether sent");
        require(maxSamuraiMintValue > totalSamuraiValueMinted + mintValueInUSD, "Mint HC reached");
        require(tier > 0 && tier < 4, "Invalid Tier");

        mintTier(quantity, tier);
        totalSamuraiValueMinted += mintValueInUSD;

        if (msg.value > mintValueInEth) {
         payable(msg.sender).transfer(msg.value - mintValueInEth);
        }
    }

    function mintWLSamurai(bytes32[] memory proof) external payable {
        require(msg.sender == tx.origin, "No smart contract bots, cheeky Samurai");
        uint256 mintValue = tierToEthValue[2];
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        require(whitelistMintOpen, "WL not open yet Samurai");
        require(isValid(proof, leaf), "Not a WL address");
        require(msg.value >= mintValue, "Incorrect ether sent");
        require(!hasWhitelistedMinted[msg.sender], "Already minted an NFT");

        mintTier(1, 2);

        totalSamuraiValueMinted += 300;
        hasWhitelistedMinted[msg.sender] = true;

        if (msg.value > mintValue) {
         payable(msg.sender).transfer(msg.value - mintValue);
        }
    }

    function mintTeam(uint256 quantity, uint8 tier) external onlyOwner {
        require(teamMintedCount + quantity <= 200, "Team mint limit exceeded");
        mintTier(quantity, tier);
        teamMintedCount += quantity;
    }

    function mintTier(uint256 quantity, uint8 tier) private {
        uint256 totalSupply = _owners.length;
        for (uint256 i; i < quantity; i++) {
         _mint(_msgSender(), totalSupply + i, tier);
        }
    }

    function _mint(address to, uint256 tokenId, uint256 tier) internal virtual {
        super._mint(to, tokenId);
        tokenIdToTier[tokenId] = tier;
    }

    function withdraw(address payable safeAddress) external onlyOwner {
        (bool success, ) = safeAddress.call{value: address(this).balance}("");
        require(success, "Withdrawal failed");
    }

    function withdrawERC20(address tokenAddress, address to, uint256 amount) external onlyOwner {
        IERC20 token = IERC20(tokenAddress);
        require(token.transfer(to, amount), "Transfer failed");
    }

    function withdrawERC721(address tokenAddress, address to, uint256 tokenId) external onlyOwner {
        IERC721 token = IERC721(tokenAddress);
        token.safeTransferFrom(address(this), to, tokenId);
    }
}

File 2 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 3 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 4 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 6 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/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 but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @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-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length;
    }

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

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

        uint count;
        for(uint i; i < _owners.length; i++){
            if(owner == _owners[i]){
                if(count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

File 7 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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);

    /**
     * @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 8 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;
    
    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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 (uint) 
    {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count;
        for( uint i; i < _owners.length; ++i ){
          if( owner == _owners[i] )
            ++count;
        }
        return count;
    }

    /**
     * @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 {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

        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);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 9 of 16 : 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);
}

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

pragma solidity ^0.8.0;

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

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

File 11 of 16 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 14 of 16 : 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 15 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

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":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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasWhitelistedMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSamuraiMintValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint8","name":"tier","type":"uint8"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintWLSamurai","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint8","name":"tier","type":"uint8"}],"name":"publicMintSamurai","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setEthPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPublicMintAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setWhitelistMintAllowed","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":"teamMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tierToEthValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tierValueUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToTier","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":"tokenId","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":"totalSamuraiValueMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"whitelistMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"safeAddress","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawERC721","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052620f42416006553480156200001857600080fd5b506040518060400160405280600d81526020017f537962696c2053616d75726169000000000000000000000000000000000000008152506040518060400160405280600d81526020017f537962696c2053616d75726169000000000000000000000000000000000000008152508160009081620000969190620004ca565b508060019081620000a89190620004ca565b505050620000cb620000bf6200018260201b60201c565b6200018a60201b60201c565b603260096000600181526020019081526020016000208190555061012c6009600060028152602001908152602001600020819055506105dc6009600060038152602001908152602001600020819055506000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506040518060800160405280604381526020016200540260439139600f90816200017b9190620004ca565b50620005b1565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002d257607f821691505b602082108103620002e857620002e76200028a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000313565b6200035e868362000313565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003ab620003a56200039f8462000376565b62000380565b62000376565b9050919050565b6000819050919050565b620003c7836200038a565b620003df620003d682620003b2565b84845462000320565b825550505050565b600090565b620003f6620003e7565b62000403818484620003bc565b505050565b5b818110156200042b576200041f600082620003ec565b60018101905062000409565b5050565b601f8211156200047a576200044481620002ee565b6200044f8462000303565b810160208510156200045f578190505b620004776200046e8562000303565b83018262000408565b50505b505050565b600082821c905092915050565b60006200049f600019846008026200047f565b1980831691505092915050565b6000620004ba83836200048c565b9150826002028217905092915050565b620004d58262000250565b67ffffffffffffffff811115620004f157620004f06200025b565b5b620004fd8254620002b9565b6200050a8282856200042f565b600060209050601f8311600181146200054257600084156200052d578287015190505b620005398582620004ac565b865550620005a9565b601f1984166200055286620002ee565b60005b828110156200057c5784890151825560018201915060208501945060208101905062000555565b868310156200059c578489015162000598601f8916826200048c565b8355505b6001600288020188555050505b505050505050565b614e4180620005c16000396000f3fe6080604052600436106102505760003560e01c806352436f20116101395780639eab1b7a116100b6578063dab5f3401161007a578063dab5f340146108ea578063e985e9c514610913578063ebf0c71714610950578063f2fde38b1461097b578063f49c72da146109a4578063ff186b2e146109c057610250565b80639eab1b7a14610805578063a22cb46514610830578063b88d4fde14610859578063bcc9ca5b14610882578063c87b56dd146108ad57610250565b8063715018a6116100fd578063715018a614610744578063784a4d731461075b578063791c7ab5146107865780638da5cb5b146107af57806395d89b41146107da57610250565b806352436f201461064b57806355f804b3146106765780636352211e1461069f5780636c0360eb146106dc57806370a082311461070757610250565b806323b872dd116101d257806344004cc11161019657806344004cc11461052b57806349c8987d146105545780634c9b5007146105915780634d40ba04146105bc5780634f6ccce7146105e557806351cff8d91461062257610250565b806323b872dd1461045757806326a72814146104805780632f745c591461049c5780634025feb2146104d957806342842e0e1461050257610250565b8063081812fc11610219578063081812fc1461034c578063095ea7b31461038957806318160ddd146103b25780631a47ad6b146103dd5780631a9355401461041a57610250565b80629f9262146102555780630143e9d01461027e57806301ffc9a7146102a75780630431a325146102e457806306fdde0314610321575b600080fd5b34801561026157600080fd5b5061027c60048036038101906102779190612d95565b6109eb565b005b34801561028a57600080fd5b506102a560048036038101906102a09190612dfa565b610a05565b005b3480156102b357600080fd5b506102ce60048036038101906102c99190612e7f565b610a6f565b6040516102db9190612ebb565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190612d95565b610ae9565b6040516103189190612ee5565b60405180910390f35b34801561032d57600080fd5b50610336610b01565b6040516103439190612f90565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190612d95565b610b93565b6040516103809190612ff3565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab919061303a565b610c18565b005b3480156103be57600080fd5b506103c7610d2f565b6040516103d49190612ee5565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff9190612d95565b610d3c565b6040516104119190612ee5565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190612d95565b610d54565b60405161044e9190612ee5565b60405180910390f35b34801561046357600080fd5b5061047e6004803603810190610479919061307a565b610d6c565b005b61049a60048036038101906104959190613106565b610dcc565b005b3480156104a857600080fd5b506104c360048036038101906104be919061303a565b611091565b6040516104d09190612ee5565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb919061307a565b6111d4565b005b34801561050e57600080fd5b506105296004803603810190610524919061307a565b611256565b005b34801561053757600080fd5b50610552600480360381019061054d919061307a565b611276565b005b34801561056057600080fd5b5061057b60048036038101906105769190613146565b611346565b6040516105889190612ebb565b60405180910390f35b34801561059d57600080fd5b506105a6611366565b6040516105b39190612ee5565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de9190612dfa565b61136c565b005b3480156105f157600080fd5b5061060c60048036038101906106079190612d95565b6113d6565b6040516106199190612ee5565b60405180910390f35b34801561062e57600080fd5b50610649600480360381019061064491906131b1565b611427565b005b34801561065757600080fd5b506106606114df565b60405161066d9190612ebb565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190613313565b6114f2565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190612d95565b61150d565b6040516106d39190612ff3565b60405180910390f35b3480156106e857600080fd5b506106f16115c9565b6040516106fe9190612f90565b60405180910390f35b34801561071357600080fd5b5061072e60048036038101906107299190613146565b611657565b60405161073b9190612ee5565b60405180910390f35b34801561075057600080fd5b50610759611771565b005b34801561076757600080fd5b50610770611785565b60405161077d9190612ee5565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190613106565b61178b565b005b3480156107bb57600080fd5b506107c461180b565b6040516107d19190612ff3565b60405180910390f35b3480156107e657600080fd5b506107ef611835565b6040516107fc9190612f90565b60405180910390f35b34801561081157600080fd5b5061081a6118c7565b6040516108279190612ee5565b60405180910390f35b34801561083c57600080fd5b506108576004803603810190610852919061335c565b6118cd565b005b34801561086557600080fd5b50610880600480360381019061087b919061343d565b611a4d565b005b34801561088e57600080fd5b50610897611aaf565b6040516108a49190612ebb565b60405180910390f35b3480156108b957600080fd5b506108d460048036038101906108cf9190612d95565b611ac2565b6040516108e19190612f90565b60405180910390f35b3480156108f657600080fd5b50610911600480360381019061090c91906134f6565b611b57565b005b34801561091f57600080fd5b5061093a60048036038101906109359190613523565b611b69565b6040516109479190612ebb565b60405180910390f35b34801561095c57600080fd5b50610965611bfd565b6040516109729190613572565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d9190613146565b611c03565b005b6109be60048036038101906109b99190613655565b611c86565b005b3480156109cc57600080fd5b506109d5611f7f565b6040516109e29190612ee5565b60405180910390f35b6109f3611f85565b80600d81905550610a02612003565b50565b610a0d611f85565b6000600d5411610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a49906136ea565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae25750610ae18261207c565b5b9050919050565b600a6020528060005260406000206000915090505481565b606060008054610b1090613739565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3c90613739565b8015610b895780601f10610b5e57610100808354040283529160200191610b89565b820191906000526020600020905b815481529060010190602001808311610b6c57829003601f168201915b5050505050905090565b6000610b9e8261215e565b610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd4906137dc565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c238261150d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8a9061386e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb26121e6565b73ffffffffffffffffffffffffffffffffffffffff161480610ce15750610ce081610cdb6121e6565b611b69565b5b610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790613900565b60405180910390fd5b610d2a83836121ee565b505050565b6000600280549050905090565b600b6020528060005260406000206000915090505481565b60096020528060005260406000206000915090505481565b610d7d610d776121e6565b826122a7565b610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db390613992565b60405180910390fd5b610dc7838383612385565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190613a24565b60405180910390fd5b600082600b60008460ff16815260200190815260200160002054610e5e9190613a73565b9050600083600960008560ff16815260200190815260200160002054610e849190613a73565b9050600e60019054906101000a900460ff16610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90613b01565b60405180910390fd5b600084118015610ee55750600b84105b610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90613b93565b60405180910390fd5b81341015610f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5e90613bff565b60405180910390fd5b80600754610f759190613c1f565b60065411610fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faf90613c9f565b60405180910390fd5b60008360ff16118015610fce575060048360ff16105b61100d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100490613d0b565b60405180910390fd5b611017848461253d565b80600760008282546110299190613c1f565b925050819055508134111561108b573373ffffffffffffffffffffffffffffffffffffffff166108fc833461105e9190613d2b565b9081150290604051600060405180830381858888f19350505050158015611089573d6000803e3d6000fd5b505b50505050565b600061109c83611657565b82106110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490613dd1565b60405180910390fd5b6000805b600280549050811015611192576002818154811061110257611101613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361117f578382036111705780925050506111ce565b818061117b90613e20565b9250505b808061118a90613e20565b9150506110e1565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c590613dd1565b60405180910390fd5b92915050565b6111dc611f85565b60008390508073ffffffffffffffffffffffffffffffffffffffff166342842e0e3085856040518463ffffffff1660e01b815260040161121e93929190613e68565b600060405180830381600087803b15801561123857600080fd5b505af115801561124c573d6000803e3d6000fd5b5050505050505050565b61127183838360405180602001604052806000815250611a4d565b505050565b61127e611f85565b60008390508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b81526004016112be929190613e9f565b6020604051808303816000875af11580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190613edd565b611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790613f56565b60405180910390fd5b50505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b60085481565b611374611f85565b6000600d54116113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b0906136ea565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6000600280549050821061141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690613fe8565b60405180910390fd5b819050919050565b61142f611f85565b60008173ffffffffffffffffffffffffffffffffffffffff164760405161145590614039565b60006040518083038185875af1925050503d8060008114611492576040519150601f19603f3d011682016040523d82523d6000602084013e611497565b606091505b50509050806114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d29061409a565b60405180910390fd5b5050565b600e60009054906101000a900460ff1681565b6114fa611f85565b80600f90816115099190614266565b5050565b6000806002838154811061152457611523613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b7906143aa565b60405180910390fd5b80915050919050565b600f80546115d690613739565b80601f016020809104026020016040519081016040528092919081815260200182805461160290613739565b801561164f5780601f106116245761010080835404028352916020019161164f565b820191906000526020600020905b81548152906001019060200180831161163257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be9061443c565b60405180910390fd5b6000805b60028054905081101561176757600281815481106116ec576116eb613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611756578161175390613e20565b91505b8061176090613e20565b90506116cb565b5080915050919050565b611779611f85565b611783600061258b565b565b60065481565b611793611f85565b60c8826008546117a39190613c1f565b11156117e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117db906144a8565b60405180910390fd5b6117ee828261253d565b81600860008282546118009190613c1f565b925050819055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461184490613739565b80601f016020809104026020016040519081016040528092919081815260200182805461187090613739565b80156118bd5780601f10611892576101008083540402835291602001916118bd565b820191906000526020600020905b8154815290600101906020018083116118a057829003601f168201915b5050505050905090565b60075481565b6118d56121e6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193990614514565b60405180910390fd5b806004600061194f6121e6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119fc6121e6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a419190612ebb565b60405180910390a35050565b611a5e611a586121e6565b836122a7565b611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9490613992565b60405180910390fd5b611aa984848484612651565b50505050565b600e60019054906101000a900460ff1681565b6060611acd8261215e565b611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390614580565b60405180910390fd5b6000600a6000848152602001908152602001600020549050600f611b2f826126ad565b604051602001611b409291906146ab565b604051602081830303815290604052915050919050565b611b5f611f85565b8060108190555050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b611c0b611f85565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c719061474c565b60405180910390fd5b611c838161258b565b50565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613a24565b60405180910390fd5b6000600b600060028152602001908152602001600020549050600033604051602001611d2091906147b4565b604051602081830303815290604052805190602001209050600e60009054906101000a900460ff16611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e9061481b565b60405180910390fd5b611d91838261277b565b611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790614887565b60405180910390fd5b81341015611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90613bff565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e97906148f3565b60405180910390fd5b611eac6001600261253d565b61012c60076000828254611ec09190613c1f565b925050819055506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081341115611f7a573373ffffffffffffffffffffffffffffffffffffffff166108fc8334611f4d9190613d2b565b9081150290604051600060405180830381858888f19350505050158015611f78573d6000803e3d6000fd5b505b505050565b600d5481565b611f8d6121e6565b73ffffffffffffffffffffffffffffffffffffffff16611fab61180b565b73ffffffffffffffffffffffffffffffffffffffff1614612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff89061495f565b60405180910390fd5b565b6000600190505b60038160ff161161207957600d54670de0b6b3a7640000600960008460ff168152602001908152602001600020546120429190613a73565b61204c91906149ae565b600b60008360ff168152602001908152602001600020819055508080612071906149df565b91505061200a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612157575061215682612792565b5b9050919050565b6000600280549050821080156121df5750600073ffffffffffffffffffffffffffffffffffffffff166002838154811061219b5761219a613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122618361150d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122b28261215e565b6122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890614a7a565b60405180910390fd5b60006122fc8361150d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061236b57508373ffffffffffffffffffffffffffffffffffffffff1661235384610b93565b73ffffffffffffffffffffffffffffffffffffffff16145b8061237c575061237b8185611b69565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123a58261150d565b73ffffffffffffffffffffffffffffffffffffffff16146123fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f290614b0c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361246a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246190614b9e565b60405180910390fd5b6124758383836127fc565b6124806000826121ee565b816002828154811061249557612494613df1565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600280549050905060005b838110156125855761257261255d6121e6565b82846125699190613c1f565b8560ff16612801565b808061257d90613e20565b91505061254a565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61265c848484612385565b61266884848484612828565b6126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e90614c30565b60405180910390fd5b50505050565b6060600060016126bc846129af565b01905060008167ffffffffffffffff8111156126db576126da6131e8565b5b6040519080825280601f01601f19166020018201604052801561270d5781602001600182028036833780820191505090505b509050600082602001820190505b600115612770578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816127645761276361497f565b5b0494506000850361271b575b819350505050919050565b600061278a8360105484612b02565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b61280b8383612b19565b80600a600084815260200190815260200160002081905550505050565b60006128498473ffffffffffffffffffffffffffffffffffffffff16612ca0565b156129a2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128726121e6565b8786866040518563ffffffff1660e01b81526004016128949493929190614ca5565b6020604051808303816000875af19250505080156128d057506040513d601f19601f820116820180604052508101906128cd9190614d06565b60015b612952573d8060008114612900576040519150601f19603f3d011682016040523d82523d6000602084013e612905565b606091505b50600081510361294a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294190614c30565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129a7565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a0d577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a0357612a0261497f565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612a4a576d04ee2d6d415b85acef81000000008381612a4057612a3f61497f565b5b0492506020810190505b662386f26fc100008310612a7957662386f26fc100008381612a6f57612a6e61497f565b5b0492506010810190505b6305f5e1008310612aa2576305f5e1008381612a9857612a9761497f565b5b0492506008810190505b6127108310612ac7576127108381612abd57612abc61497f565b5b0492506004810190505b60648310612aea5760648381612ae057612adf61497f565b5b0492506002810190505b600a8310612af9576001810190505b80915050919050565b600082612b0f8584612cb3565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7f90614d7f565b60405180910390fd5b612b918161215e565b15612bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc890614deb565b60405180910390fd5b612bdd600083836127fc565b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60008082905060005b8451811015612cfe57612ce982868381518110612cdc57612cdb613df1565b5b6020026020010151612d09565b91508080612cf690613e20565b915050612cbc565b508091505092915050565b6000818310612d2157612d1c8284612d34565b612d2c565b612d2b8383612d34565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612d7281612d5f565b8114612d7d57600080fd5b50565b600081359050612d8f81612d69565b92915050565b600060208284031215612dab57612daa612d55565b5b6000612db984828501612d80565b91505092915050565b60008115159050919050565b612dd781612dc2565b8114612de257600080fd5b50565b600081359050612df481612dce565b92915050565b600060208284031215612e1057612e0f612d55565b5b6000612e1e84828501612de5565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e5c81612e27565b8114612e6757600080fd5b50565b600081359050612e7981612e53565b92915050565b600060208284031215612e9557612e94612d55565b5b6000612ea384828501612e6a565b91505092915050565b612eb581612dc2565b82525050565b6000602082019050612ed06000830184612eac565b92915050565b612edf81612d5f565b82525050565b6000602082019050612efa6000830184612ed6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f3a578082015181840152602081019050612f1f565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f6282612f00565b612f6c8185612f0b565b9350612f7c818560208601612f1c565b612f8581612f46565b840191505092915050565b60006020820190508181036000830152612faa8184612f57565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fdd82612fb2565b9050919050565b612fed81612fd2565b82525050565b60006020820190506130086000830184612fe4565b92915050565b61301781612fd2565b811461302257600080fd5b50565b6000813590506130348161300e565b92915050565b6000806040838503121561305157613050612d55565b5b600061305f85828601613025565b925050602061307085828601612d80565b9150509250929050565b60008060006060848603121561309357613092612d55565b5b60006130a186828701613025565b93505060206130b286828701613025565b92505060406130c386828701612d80565b9150509250925092565b600060ff82169050919050565b6130e3816130cd565b81146130ee57600080fd5b50565b600081359050613100816130da565b92915050565b6000806040838503121561311d5761311c612d55565b5b600061312b85828601612d80565b925050602061313c858286016130f1565b9150509250929050565b60006020828403121561315c5761315b612d55565b5b600061316a84828501613025565b91505092915050565b600061317e82612fb2565b9050919050565b61318e81613173565b811461319957600080fd5b50565b6000813590506131ab81613185565b92915050565b6000602082840312156131c7576131c6612d55565b5b60006131d58482850161319c565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61322082612f46565b810181811067ffffffffffffffff8211171561323f5761323e6131e8565b5b80604052505050565b6000613252612d4b565b905061325e8282613217565b919050565b600067ffffffffffffffff82111561327e5761327d6131e8565b5b61328782612f46565b9050602081019050919050565b82818337600083830152505050565b60006132b66132b184613263565b613248565b9050828152602081018484840111156132d2576132d16131e3565b5b6132dd848285613294565b509392505050565b600082601f8301126132fa576132f96131de565b5b813561330a8482602086016132a3565b91505092915050565b60006020828403121561332957613328612d55565b5b600082013567ffffffffffffffff81111561334757613346612d5a565b5b613353848285016132e5565b91505092915050565b6000806040838503121561337357613372612d55565b5b600061338185828601613025565b925050602061339285828601612de5565b9150509250929050565b600067ffffffffffffffff8211156133b7576133b66131e8565b5b6133c082612f46565b9050602081019050919050565b60006133e06133db8461339c565b613248565b9050828152602081018484840111156133fc576133fb6131e3565b5b613407848285613294565b509392505050565b600082601f830112613424576134236131de565b5b81356134348482602086016133cd565b91505092915050565b6000806000806080858703121561345757613456612d55565b5b600061346587828801613025565b945050602061347687828801613025565b935050604061348787828801612d80565b925050606085013567ffffffffffffffff8111156134a8576134a7612d5a565b5b6134b48782880161340f565b91505092959194509250565b6000819050919050565b6134d3816134c0565b81146134de57600080fd5b50565b6000813590506134f0816134ca565b92915050565b60006020828403121561350c5761350b612d55565b5b600061351a848285016134e1565b91505092915050565b6000806040838503121561353a57613539612d55565b5b600061354885828601613025565b925050602061355985828601613025565b9150509250929050565b61356c816134c0565b82525050565b60006020820190506135876000830184613563565b92915050565b600067ffffffffffffffff8211156135a8576135a76131e8565b5b602082029050602081019050919050565b600080fd5b60006135d16135cc8461358d565b613248565b905080838252602082019050602084028301858111156135f4576135f36135b9565b5b835b8181101561361d578061360988826134e1565b8452602084019350506020810190506135f6565b5050509392505050565b600082601f83011261363c5761363b6131de565b5b813561364c8482602086016135be565b91505092915050565b60006020828403121561366b5761366a612d55565b5b600082013567ffffffffffffffff81111561368957613688612d5a565b5b61369584828501613627565b91505092915050565b7f5365742045544820507269636500000000000000000000000000000000000000600082015250565b60006136d4600d83612f0b565b91506136df8261369e565b602082019050919050565b60006020820190508181036000830152613703816136c7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061375157607f821691505b6020821081036137645761376361370a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006137c6602c83612f0b565b91506137d18261376a565b604082019050919050565b600060208201905081810360008301526137f5816137b9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613858602183612f0b565b9150613863826137fc565b604082019050919050565b600060208201905081810360008301526138878161384b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006138ea603883612f0b565b91506138f58261388e565b604082019050919050565b60006020820190508181036000830152613919816138dd565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061397c603183612f0b565b915061398782613920565b604082019050919050565b600060208201905081810360008301526139ab8161396f565b9050919050565b7f4e6f20736d61727420636f6e747261637420626f74732c20636865656b79205360008201527f616d757261690000000000000000000000000000000000000000000000000000602082015250565b6000613a0e602683612f0b565b9150613a19826139b2565b604082019050919050565b60006020820190508181036000830152613a3d81613a01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a7e82612d5f565b9150613a8983612d5f565b9250828202613a9781612d5f565b91508282048414831517613aae57613aad613a44565b5b5092915050565b7f5075626c6963206d696e74206e6f74206f70656e000000000000000000000000600082015250565b6000613aeb601483612f0b565b9150613af682613ab5565b602082019050919050565b60006020820190508181036000830152613b1a81613ade565b9050919050565b7f5175616e74697479206d757374206265206265747765656e203120616e64203160008201527f302028696e636c75736976652900000000000000000000000000000000000000602082015250565b6000613b7d602d83612f0b565b9150613b8882613b21565b604082019050919050565b60006020820190508181036000830152613bac81613b70565b9050919050565b7f496e636f72726563742065746865722073656e74000000000000000000000000600082015250565b6000613be9601483612f0b565b9150613bf482613bb3565b602082019050919050565b60006020820190508181036000830152613c1881613bdc565b9050919050565b6000613c2a82612d5f565b9150613c3583612d5f565b9250828201905080821115613c4d57613c4c613a44565b5b92915050565b7f4d696e7420484320726561636865640000000000000000000000000000000000600082015250565b6000613c89600f83612f0b565b9150613c9482613c53565b602082019050919050565b60006020820190508181036000830152613cb881613c7c565b9050919050565b7f496e76616c696420546965720000000000000000000000000000000000000000600082015250565b6000613cf5600c83612f0b565b9150613d0082613cbf565b602082019050919050565b60006020820190508181036000830152613d2481613ce8565b9050919050565b6000613d3682612d5f565b9150613d4183612d5f565b9250828203905081811115613d5957613d58613a44565b5b92915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613dbb602b83612f0b565b9150613dc682613d5f565b604082019050919050565b60006020820190508181036000830152613dea81613dae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613e2b82612d5f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e5d57613e5c613a44565b5b600182019050919050565b6000606082019050613e7d6000830186612fe4565b613e8a6020830185612fe4565b613e976040830184612ed6565b949350505050565b6000604082019050613eb46000830185612fe4565b613ec16020830184612ed6565b9392505050565b600081519050613ed781612dce565b92915050565b600060208284031215613ef357613ef2612d55565b5b6000613f0184828501613ec8565b91505092915050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000613f40600f83612f0b565b9150613f4b82613f0a565b602082019050919050565b60006020820190508181036000830152613f6f81613f33565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613fd2602c83612f0b565b9150613fdd82613f76565b604082019050919050565b6000602082019050818103600083015261400181613fc5565b9050919050565b600081905092915050565b50565b6000614023600083614008565b915061402e82614013565b600082019050919050565b600061404482614016565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b6000614084601183612f0b565b915061408f8261404e565b602082019050919050565b600060208201905081810360008301526140b381614077565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261411c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826140df565b61412686836140df565b95508019841693508086168417925050509392505050565b6000819050919050565b600061416361415e61415984612d5f565b61413e565b612d5f565b9050919050565b6000819050919050565b61417d83614148565b6141916141898261416a565b8484546140ec565b825550505050565b600090565b6141a6614199565b6141b1818484614174565b505050565b5b818110156141d5576141ca60008261419e565b6001810190506141b7565b5050565b601f82111561421a576141eb816140ba565b6141f4846140cf565b81016020851015614203578190505b61421761420f856140cf565b8301826141b6565b50505b505050565b600082821c905092915050565b600061423d6000198460080261421f565b1980831691505092915050565b6000614256838361422c565b9150826002028217905092915050565b61426f82612f00565b67ffffffffffffffff811115614288576142876131e8565b5b6142928254613739565b61429d8282856141d9565b600060209050601f8311600181146142d057600084156142be578287015190505b6142c8858261424a565b865550614330565b601f1984166142de866140ba565b60005b82811015614306578489015182556001820191506020850194506020810190506142e1565b86831015614323578489015161431f601f89168261422c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614394602983612f0b565b915061439f82614338565b604082019050919050565b600060208201905081810360008301526143c381614387565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614426602a83612f0b565b9150614431826143ca565b604082019050919050565b6000602082019050818103600083015261445581614419565b9050919050565b7f5465616d206d696e74206c696d69742065786365656465640000000000000000600082015250565b6000614492601883612f0b565b915061449d8261445c565b602082019050919050565b600060208201905081810360008301526144c181614485565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006144fe601983612f0b565b9150614509826144c8565b602082019050919050565b6000602082019050818103600083015261452d816144f1565b9050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b600061456a601583612f0b565b915061457582614534565b602082019050919050565b600060208201905081810360008301526145998161455d565b9050919050565b600081905092915050565b600081546145b881613739565b6145c281866145a0565b945060018216600081146145dd57600181146145f257614625565b60ff1983168652811515820286019350614625565b6145fb856140ba565b60005b8381101561461d578154818901526001820191506020810190506145fe565b838801955050505b50505092915050565b600061463982612f00565b61464381856145a0565b9350614653818560208601612f1c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146956005836145a0565b91506146a08261465f565b600582019050919050565b60006146b782856145ab565b91506146c3828461462e565b91506146ce82614688565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614736602683612f0b565b9150614741826146da565b604082019050919050565b6000602082019050818103600083015261476581614729565b9050919050565b60008160601b9050919050565b60006147848261476c565b9050919050565b600061479682614779565b9050919050565b6147ae6147a982612fd2565b61478b565b82525050565b60006147c0828461479d565b60148201915081905092915050565b7f574c206e6f74206f70656e207965742053616d75726169000000000000000000600082015250565b6000614805601783612f0b565b9150614810826147cf565b602082019050919050565b60006020820190508181036000830152614834816147f8565b9050919050565b7f4e6f74206120574c206164647265737300000000000000000000000000000000600082015250565b6000614871601083612f0b565b915061487c8261483b565b602082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b7f416c7265616479206d696e74656420616e204e46540000000000000000000000600082015250565b60006148dd601583612f0b565b91506148e8826148a7565b602082019050919050565b6000602082019050818103600083015261490c816148d0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614949602083612f0b565b915061495482614913565b602082019050919050565b600060208201905081810360008301526149788161493c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149b982612d5f565b91506149c483612d5f565b9250826149d4576149d361497f565b5b828204905092915050565b60006149ea826130cd565b915060ff82036149fd576149fc613a44565b5b600182019050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a64602c83612f0b565b9150614a6f82614a08565b604082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614af6602983612f0b565b9150614b0182614a9a565b604082019050919050565b60006020820190508181036000830152614b2581614ae9565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b88602483612f0b565b9150614b9382614b2c565b604082019050919050565b60006020820190508181036000830152614bb781614b7b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614c1a603283612f0b565b9150614c2582614bbe565b604082019050919050565b60006020820190508181036000830152614c4981614c0d565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c7782614c50565b614c818185614c5b565b9350614c91818560208601612f1c565b614c9a81612f46565b840191505092915050565b6000608082019050614cba6000830187612fe4565b614cc76020830186612fe4565b614cd46040830185612ed6565b8181036060830152614ce68184614c6c565b905095945050505050565b600081519050614d0081612e53565b92915050565b600060208284031215614d1c57614d1b612d55565b5b6000614d2a84828501614cf1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d69602083612f0b565b9150614d7482614d33565b602082019050919050565b60006020820190508181036000830152614d9881614d5c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614dd5601c83612f0b565b9150614de082614d9f565b602082019050919050565b60006020820190508181036000830152614e0481614dc8565b905091905056fea2646970667358221220660998241f430fbdea7a59a94f2eb2d3c8540fb80e8206aaca4fceb73f04e9b264736f6c63430008120033697066733a2f2f62616679626569666e656b3234636f7935786a357161626477683234646c70356f6d7133346e7a6776617a6b667978676e716d73346569647369712f

Deployed Bytecode

0x6080604052600436106102505760003560e01c806352436f20116101395780639eab1b7a116100b6578063dab5f3401161007a578063dab5f340146108ea578063e985e9c514610913578063ebf0c71714610950578063f2fde38b1461097b578063f49c72da146109a4578063ff186b2e146109c057610250565b80639eab1b7a14610805578063a22cb46514610830578063b88d4fde14610859578063bcc9ca5b14610882578063c87b56dd146108ad57610250565b8063715018a6116100fd578063715018a614610744578063784a4d731461075b578063791c7ab5146107865780638da5cb5b146107af57806395d89b41146107da57610250565b806352436f201461064b57806355f804b3146106765780636352211e1461069f5780636c0360eb146106dc57806370a082311461070757610250565b806323b872dd116101d257806344004cc11161019657806344004cc11461052b57806349c8987d146105545780634c9b5007146105915780634d40ba04146105bc5780634f6ccce7146105e557806351cff8d91461062257610250565b806323b872dd1461045757806326a72814146104805780632f745c591461049c5780634025feb2146104d957806342842e0e1461050257610250565b8063081812fc11610219578063081812fc1461034c578063095ea7b31461038957806318160ddd146103b25780631a47ad6b146103dd5780631a9355401461041a57610250565b80629f9262146102555780630143e9d01461027e57806301ffc9a7146102a75780630431a325146102e457806306fdde0314610321575b600080fd5b34801561026157600080fd5b5061027c60048036038101906102779190612d95565b6109eb565b005b34801561028a57600080fd5b506102a560048036038101906102a09190612dfa565b610a05565b005b3480156102b357600080fd5b506102ce60048036038101906102c99190612e7f565b610a6f565b6040516102db9190612ebb565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190612d95565b610ae9565b6040516103189190612ee5565b60405180910390f35b34801561032d57600080fd5b50610336610b01565b6040516103439190612f90565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190612d95565b610b93565b6040516103809190612ff3565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab919061303a565b610c18565b005b3480156103be57600080fd5b506103c7610d2f565b6040516103d49190612ee5565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff9190612d95565b610d3c565b6040516104119190612ee5565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190612d95565b610d54565b60405161044e9190612ee5565b60405180910390f35b34801561046357600080fd5b5061047e6004803603810190610479919061307a565b610d6c565b005b61049a60048036038101906104959190613106565b610dcc565b005b3480156104a857600080fd5b506104c360048036038101906104be919061303a565b611091565b6040516104d09190612ee5565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb919061307a565b6111d4565b005b34801561050e57600080fd5b506105296004803603810190610524919061307a565b611256565b005b34801561053757600080fd5b50610552600480360381019061054d919061307a565b611276565b005b34801561056057600080fd5b5061057b60048036038101906105769190613146565b611346565b6040516105889190612ebb565b60405180910390f35b34801561059d57600080fd5b506105a6611366565b6040516105b39190612ee5565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de9190612dfa565b61136c565b005b3480156105f157600080fd5b5061060c60048036038101906106079190612d95565b6113d6565b6040516106199190612ee5565b60405180910390f35b34801561062e57600080fd5b50610649600480360381019061064491906131b1565b611427565b005b34801561065757600080fd5b506106606114df565b60405161066d9190612ebb565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190613313565b6114f2565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190612d95565b61150d565b6040516106d39190612ff3565b60405180910390f35b3480156106e857600080fd5b506106f16115c9565b6040516106fe9190612f90565b60405180910390f35b34801561071357600080fd5b5061072e60048036038101906107299190613146565b611657565b60405161073b9190612ee5565b60405180910390f35b34801561075057600080fd5b50610759611771565b005b34801561076757600080fd5b50610770611785565b60405161077d9190612ee5565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190613106565b61178b565b005b3480156107bb57600080fd5b506107c461180b565b6040516107d19190612ff3565b60405180910390f35b3480156107e657600080fd5b506107ef611835565b6040516107fc9190612f90565b60405180910390f35b34801561081157600080fd5b5061081a6118c7565b6040516108279190612ee5565b60405180910390f35b34801561083c57600080fd5b506108576004803603810190610852919061335c565b6118cd565b005b34801561086557600080fd5b50610880600480360381019061087b919061343d565b611a4d565b005b34801561088e57600080fd5b50610897611aaf565b6040516108a49190612ebb565b60405180910390f35b3480156108b957600080fd5b506108d460048036038101906108cf9190612d95565b611ac2565b6040516108e19190612f90565b60405180910390f35b3480156108f657600080fd5b50610911600480360381019061090c91906134f6565b611b57565b005b34801561091f57600080fd5b5061093a60048036038101906109359190613523565b611b69565b6040516109479190612ebb565b60405180910390f35b34801561095c57600080fd5b50610965611bfd565b6040516109729190613572565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d9190613146565b611c03565b005b6109be60048036038101906109b99190613655565b611c86565b005b3480156109cc57600080fd5b506109d5611f7f565b6040516109e29190612ee5565b60405180910390f35b6109f3611f85565b80600d81905550610a02612003565b50565b610a0d611f85565b6000600d5411610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a49906136ea565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae25750610ae18261207c565b5b9050919050565b600a6020528060005260406000206000915090505481565b606060008054610b1090613739565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3c90613739565b8015610b895780601f10610b5e57610100808354040283529160200191610b89565b820191906000526020600020905b815481529060010190602001808311610b6c57829003601f168201915b5050505050905090565b6000610b9e8261215e565b610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd4906137dc565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c238261150d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8a9061386e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb26121e6565b73ffffffffffffffffffffffffffffffffffffffff161480610ce15750610ce081610cdb6121e6565b611b69565b5b610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790613900565b60405180910390fd5b610d2a83836121ee565b505050565b6000600280549050905090565b600b6020528060005260406000206000915090505481565b60096020528060005260406000206000915090505481565b610d7d610d776121e6565b826122a7565b610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db390613992565b60405180910390fd5b610dc7838383612385565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190613a24565b60405180910390fd5b600082600b60008460ff16815260200190815260200160002054610e5e9190613a73565b9050600083600960008560ff16815260200190815260200160002054610e849190613a73565b9050600e60019054906101000a900460ff16610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90613b01565b60405180910390fd5b600084118015610ee55750600b84105b610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90613b93565b60405180910390fd5b81341015610f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5e90613bff565b60405180910390fd5b80600754610f759190613c1f565b60065411610fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faf90613c9f565b60405180910390fd5b60008360ff16118015610fce575060048360ff16105b61100d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100490613d0b565b60405180910390fd5b611017848461253d565b80600760008282546110299190613c1f565b925050819055508134111561108b573373ffffffffffffffffffffffffffffffffffffffff166108fc833461105e9190613d2b565b9081150290604051600060405180830381858888f19350505050158015611089573d6000803e3d6000fd5b505b50505050565b600061109c83611657565b82106110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490613dd1565b60405180910390fd5b6000805b600280549050811015611192576002818154811061110257611101613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361117f578382036111705780925050506111ce565b818061117b90613e20565b9250505b808061118a90613e20565b9150506110e1565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c590613dd1565b60405180910390fd5b92915050565b6111dc611f85565b60008390508073ffffffffffffffffffffffffffffffffffffffff166342842e0e3085856040518463ffffffff1660e01b815260040161121e93929190613e68565b600060405180830381600087803b15801561123857600080fd5b505af115801561124c573d6000803e3d6000fd5b5050505050505050565b61127183838360405180602001604052806000815250611a4d565b505050565b61127e611f85565b60008390508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b81526004016112be929190613e9f565b6020604051808303816000875af11580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190613edd565b611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790613f56565b60405180910390fd5b50505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b60085481565b611374611f85565b6000600d54116113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b0906136ea565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6000600280549050821061141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690613fe8565b60405180910390fd5b819050919050565b61142f611f85565b60008173ffffffffffffffffffffffffffffffffffffffff164760405161145590614039565b60006040518083038185875af1925050503d8060008114611492576040519150601f19603f3d011682016040523d82523d6000602084013e611497565b606091505b50509050806114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d29061409a565b60405180910390fd5b5050565b600e60009054906101000a900460ff1681565b6114fa611f85565b80600f90816115099190614266565b5050565b6000806002838154811061152457611523613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b7906143aa565b60405180910390fd5b80915050919050565b600f80546115d690613739565b80601f016020809104026020016040519081016040528092919081815260200182805461160290613739565b801561164f5780601f106116245761010080835404028352916020019161164f565b820191906000526020600020905b81548152906001019060200180831161163257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be9061443c565b60405180910390fd5b6000805b60028054905081101561176757600281815481106116ec576116eb613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611756578161175390613e20565b91505b8061176090613e20565b90506116cb565b5080915050919050565b611779611f85565b611783600061258b565b565b60065481565b611793611f85565b60c8826008546117a39190613c1f565b11156117e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117db906144a8565b60405180910390fd5b6117ee828261253d565b81600860008282546118009190613c1f565b925050819055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461184490613739565b80601f016020809104026020016040519081016040528092919081815260200182805461187090613739565b80156118bd5780601f10611892576101008083540402835291602001916118bd565b820191906000526020600020905b8154815290600101906020018083116118a057829003601f168201915b5050505050905090565b60075481565b6118d56121e6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193990614514565b60405180910390fd5b806004600061194f6121e6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119fc6121e6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a419190612ebb565b60405180910390a35050565b611a5e611a586121e6565b836122a7565b611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9490613992565b60405180910390fd5b611aa984848484612651565b50505050565b600e60019054906101000a900460ff1681565b6060611acd8261215e565b611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390614580565b60405180910390fd5b6000600a6000848152602001908152602001600020549050600f611b2f826126ad565b604051602001611b409291906146ab565b604051602081830303815290604052915050919050565b611b5f611f85565b8060108190555050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b611c0b611f85565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c719061474c565b60405180910390fd5b611c838161258b565b50565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613a24565b60405180910390fd5b6000600b600060028152602001908152602001600020549050600033604051602001611d2091906147b4565b604051602081830303815290604052805190602001209050600e60009054906101000a900460ff16611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e9061481b565b60405180910390fd5b611d91838261277b565b611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790614887565b60405180910390fd5b81341015611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90613bff565b60405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e97906148f3565b60405180910390fd5b611eac6001600261253d565b61012c60076000828254611ec09190613c1f565b925050819055506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081341115611f7a573373ffffffffffffffffffffffffffffffffffffffff166108fc8334611f4d9190613d2b565b9081150290604051600060405180830381858888f19350505050158015611f78573d6000803e3d6000fd5b505b505050565b600d5481565b611f8d6121e6565b73ffffffffffffffffffffffffffffffffffffffff16611fab61180b565b73ffffffffffffffffffffffffffffffffffffffff1614612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff89061495f565b60405180910390fd5b565b6000600190505b60038160ff161161207957600d54670de0b6b3a7640000600960008460ff168152602001908152602001600020546120429190613a73565b61204c91906149ae565b600b60008360ff168152602001908152602001600020819055508080612071906149df565b91505061200a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061214757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612157575061215682612792565b5b9050919050565b6000600280549050821080156121df5750600073ffffffffffffffffffffffffffffffffffffffff166002838154811061219b5761219a613df1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122618361150d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122b28261215e565b6122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890614a7a565b60405180910390fd5b60006122fc8361150d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061236b57508373ffffffffffffffffffffffffffffffffffffffff1661235384610b93565b73ffffffffffffffffffffffffffffffffffffffff16145b8061237c575061237b8185611b69565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123a58261150d565b73ffffffffffffffffffffffffffffffffffffffff16146123fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f290614b0c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361246a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246190614b9e565b60405180910390fd5b6124758383836127fc565b6124806000826121ee565b816002828154811061249557612494613df1565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600280549050905060005b838110156125855761257261255d6121e6565b82846125699190613c1f565b8560ff16612801565b808061257d90613e20565b91505061254a565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61265c848484612385565b61266884848484612828565b6126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e90614c30565b60405180910390fd5b50505050565b6060600060016126bc846129af565b01905060008167ffffffffffffffff8111156126db576126da6131e8565b5b6040519080825280601f01601f19166020018201604052801561270d5781602001600182028036833780820191505090505b509050600082602001820190505b600115612770578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816127645761276361497f565b5b0494506000850361271b575b819350505050919050565b600061278a8360105484612b02565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b61280b8383612b19565b80600a600084815260200190815260200160002081905550505050565b60006128498473ffffffffffffffffffffffffffffffffffffffff16612ca0565b156129a2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128726121e6565b8786866040518563ffffffff1660e01b81526004016128949493929190614ca5565b6020604051808303816000875af19250505080156128d057506040513d601f19601f820116820180604052508101906128cd9190614d06565b60015b612952573d8060008114612900576040519150601f19603f3d011682016040523d82523d6000602084013e612905565b606091505b50600081510361294a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294190614c30565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129a7565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a0d577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612a0357612a0261497f565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612a4a576d04ee2d6d415b85acef81000000008381612a4057612a3f61497f565b5b0492506020810190505b662386f26fc100008310612a7957662386f26fc100008381612a6f57612a6e61497f565b5b0492506010810190505b6305f5e1008310612aa2576305f5e1008381612a9857612a9761497f565b5b0492506008810190505b6127108310612ac7576127108381612abd57612abc61497f565b5b0492506004810190505b60648310612aea5760648381612ae057612adf61497f565b5b0492506002810190505b600a8310612af9576001810190505b80915050919050565b600082612b0f8584612cb3565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7f90614d7f565b60405180910390fd5b612b918161215e565b15612bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc890614deb565b60405180910390fd5b612bdd600083836127fc565b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60008082905060005b8451811015612cfe57612ce982868381518110612cdc57612cdb613df1565b5b6020026020010151612d09565b91508080612cf690613e20565b915050612cbc565b508091505092915050565b6000818310612d2157612d1c8284612d34565b612d2c565b612d2b8383612d34565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612d7281612d5f565b8114612d7d57600080fd5b50565b600081359050612d8f81612d69565b92915050565b600060208284031215612dab57612daa612d55565b5b6000612db984828501612d80565b91505092915050565b60008115159050919050565b612dd781612dc2565b8114612de257600080fd5b50565b600081359050612df481612dce565b92915050565b600060208284031215612e1057612e0f612d55565b5b6000612e1e84828501612de5565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e5c81612e27565b8114612e6757600080fd5b50565b600081359050612e7981612e53565b92915050565b600060208284031215612e9557612e94612d55565b5b6000612ea384828501612e6a565b91505092915050565b612eb581612dc2565b82525050565b6000602082019050612ed06000830184612eac565b92915050565b612edf81612d5f565b82525050565b6000602082019050612efa6000830184612ed6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f3a578082015181840152602081019050612f1f565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f6282612f00565b612f6c8185612f0b565b9350612f7c818560208601612f1c565b612f8581612f46565b840191505092915050565b60006020820190508181036000830152612faa8184612f57565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fdd82612fb2565b9050919050565b612fed81612fd2565b82525050565b60006020820190506130086000830184612fe4565b92915050565b61301781612fd2565b811461302257600080fd5b50565b6000813590506130348161300e565b92915050565b6000806040838503121561305157613050612d55565b5b600061305f85828601613025565b925050602061307085828601612d80565b9150509250929050565b60008060006060848603121561309357613092612d55565b5b60006130a186828701613025565b93505060206130b286828701613025565b92505060406130c386828701612d80565b9150509250925092565b600060ff82169050919050565b6130e3816130cd565b81146130ee57600080fd5b50565b600081359050613100816130da565b92915050565b6000806040838503121561311d5761311c612d55565b5b600061312b85828601612d80565b925050602061313c858286016130f1565b9150509250929050565b60006020828403121561315c5761315b612d55565b5b600061316a84828501613025565b91505092915050565b600061317e82612fb2565b9050919050565b61318e81613173565b811461319957600080fd5b50565b6000813590506131ab81613185565b92915050565b6000602082840312156131c7576131c6612d55565b5b60006131d58482850161319c565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61322082612f46565b810181811067ffffffffffffffff8211171561323f5761323e6131e8565b5b80604052505050565b6000613252612d4b565b905061325e8282613217565b919050565b600067ffffffffffffffff82111561327e5761327d6131e8565b5b61328782612f46565b9050602081019050919050565b82818337600083830152505050565b60006132b66132b184613263565b613248565b9050828152602081018484840111156132d2576132d16131e3565b5b6132dd848285613294565b509392505050565b600082601f8301126132fa576132f96131de565b5b813561330a8482602086016132a3565b91505092915050565b60006020828403121561332957613328612d55565b5b600082013567ffffffffffffffff81111561334757613346612d5a565b5b613353848285016132e5565b91505092915050565b6000806040838503121561337357613372612d55565b5b600061338185828601613025565b925050602061339285828601612de5565b9150509250929050565b600067ffffffffffffffff8211156133b7576133b66131e8565b5b6133c082612f46565b9050602081019050919050565b60006133e06133db8461339c565b613248565b9050828152602081018484840111156133fc576133fb6131e3565b5b613407848285613294565b509392505050565b600082601f830112613424576134236131de565b5b81356134348482602086016133cd565b91505092915050565b6000806000806080858703121561345757613456612d55565b5b600061346587828801613025565b945050602061347687828801613025565b935050604061348787828801612d80565b925050606085013567ffffffffffffffff8111156134a8576134a7612d5a565b5b6134b48782880161340f565b91505092959194509250565b6000819050919050565b6134d3816134c0565b81146134de57600080fd5b50565b6000813590506134f0816134ca565b92915050565b60006020828403121561350c5761350b612d55565b5b600061351a848285016134e1565b91505092915050565b6000806040838503121561353a57613539612d55565b5b600061354885828601613025565b925050602061355985828601613025565b9150509250929050565b61356c816134c0565b82525050565b60006020820190506135876000830184613563565b92915050565b600067ffffffffffffffff8211156135a8576135a76131e8565b5b602082029050602081019050919050565b600080fd5b60006135d16135cc8461358d565b613248565b905080838252602082019050602084028301858111156135f4576135f36135b9565b5b835b8181101561361d578061360988826134e1565b8452602084019350506020810190506135f6565b5050509392505050565b600082601f83011261363c5761363b6131de565b5b813561364c8482602086016135be565b91505092915050565b60006020828403121561366b5761366a612d55565b5b600082013567ffffffffffffffff81111561368957613688612d5a565b5b61369584828501613627565b91505092915050565b7f5365742045544820507269636500000000000000000000000000000000000000600082015250565b60006136d4600d83612f0b565b91506136df8261369e565b602082019050919050565b60006020820190508181036000830152613703816136c7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061375157607f821691505b6020821081036137645761376361370a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006137c6602c83612f0b565b91506137d18261376a565b604082019050919050565b600060208201905081810360008301526137f5816137b9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613858602183612f0b565b9150613863826137fc565b604082019050919050565b600060208201905081810360008301526138878161384b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006138ea603883612f0b565b91506138f58261388e565b604082019050919050565b60006020820190508181036000830152613919816138dd565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061397c603183612f0b565b915061398782613920565b604082019050919050565b600060208201905081810360008301526139ab8161396f565b9050919050565b7f4e6f20736d61727420636f6e747261637420626f74732c20636865656b79205360008201527f616d757261690000000000000000000000000000000000000000000000000000602082015250565b6000613a0e602683612f0b565b9150613a19826139b2565b604082019050919050565b60006020820190508181036000830152613a3d81613a01565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a7e82612d5f565b9150613a8983612d5f565b9250828202613a9781612d5f565b91508282048414831517613aae57613aad613a44565b5b5092915050565b7f5075626c6963206d696e74206e6f74206f70656e000000000000000000000000600082015250565b6000613aeb601483612f0b565b9150613af682613ab5565b602082019050919050565b60006020820190508181036000830152613b1a81613ade565b9050919050565b7f5175616e74697479206d757374206265206265747765656e203120616e64203160008201527f302028696e636c75736976652900000000000000000000000000000000000000602082015250565b6000613b7d602d83612f0b565b9150613b8882613b21565b604082019050919050565b60006020820190508181036000830152613bac81613b70565b9050919050565b7f496e636f72726563742065746865722073656e74000000000000000000000000600082015250565b6000613be9601483612f0b565b9150613bf482613bb3565b602082019050919050565b60006020820190508181036000830152613c1881613bdc565b9050919050565b6000613c2a82612d5f565b9150613c3583612d5f565b9250828201905080821115613c4d57613c4c613a44565b5b92915050565b7f4d696e7420484320726561636865640000000000000000000000000000000000600082015250565b6000613c89600f83612f0b565b9150613c9482613c53565b602082019050919050565b60006020820190508181036000830152613cb881613c7c565b9050919050565b7f496e76616c696420546965720000000000000000000000000000000000000000600082015250565b6000613cf5600c83612f0b565b9150613d0082613cbf565b602082019050919050565b60006020820190508181036000830152613d2481613ce8565b9050919050565b6000613d3682612d5f565b9150613d4183612d5f565b9250828203905081811115613d5957613d58613a44565b5b92915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613dbb602b83612f0b565b9150613dc682613d5f565b604082019050919050565b60006020820190508181036000830152613dea81613dae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613e2b82612d5f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e5d57613e5c613a44565b5b600182019050919050565b6000606082019050613e7d6000830186612fe4565b613e8a6020830185612fe4565b613e976040830184612ed6565b949350505050565b6000604082019050613eb46000830185612fe4565b613ec16020830184612ed6565b9392505050565b600081519050613ed781612dce565b92915050565b600060208284031215613ef357613ef2612d55565b5b6000613f0184828501613ec8565b91505092915050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000613f40600f83612f0b565b9150613f4b82613f0a565b602082019050919050565b60006020820190508181036000830152613f6f81613f33565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613fd2602c83612f0b565b9150613fdd82613f76565b604082019050919050565b6000602082019050818103600083015261400181613fc5565b9050919050565b600081905092915050565b50565b6000614023600083614008565b915061402e82614013565b600082019050919050565b600061404482614016565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b6000614084601183612f0b565b915061408f8261404e565b602082019050919050565b600060208201905081810360008301526140b381614077565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261411c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826140df565b61412686836140df565b95508019841693508086168417925050509392505050565b6000819050919050565b600061416361415e61415984612d5f565b61413e565b612d5f565b9050919050565b6000819050919050565b61417d83614148565b6141916141898261416a565b8484546140ec565b825550505050565b600090565b6141a6614199565b6141b1818484614174565b505050565b5b818110156141d5576141ca60008261419e565b6001810190506141b7565b5050565b601f82111561421a576141eb816140ba565b6141f4846140cf565b81016020851015614203578190505b61421761420f856140cf565b8301826141b6565b50505b505050565b600082821c905092915050565b600061423d6000198460080261421f565b1980831691505092915050565b6000614256838361422c565b9150826002028217905092915050565b61426f82612f00565b67ffffffffffffffff811115614288576142876131e8565b5b6142928254613739565b61429d8282856141d9565b600060209050601f8311600181146142d057600084156142be578287015190505b6142c8858261424a565b865550614330565b601f1984166142de866140ba565b60005b82811015614306578489015182556001820191506020850194506020810190506142e1565b86831015614323578489015161431f601f89168261422c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614394602983612f0b565b915061439f82614338565b604082019050919050565b600060208201905081810360008301526143c381614387565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614426602a83612f0b565b9150614431826143ca565b604082019050919050565b6000602082019050818103600083015261445581614419565b9050919050565b7f5465616d206d696e74206c696d69742065786365656465640000000000000000600082015250565b6000614492601883612f0b565b915061449d8261445c565b602082019050919050565b600060208201905081810360008301526144c181614485565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006144fe601983612f0b565b9150614509826144c8565b602082019050919050565b6000602082019050818103600083015261452d816144f1565b9050919050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b600061456a601583612f0b565b915061457582614534565b602082019050919050565b600060208201905081810360008301526145998161455d565b9050919050565b600081905092915050565b600081546145b881613739565b6145c281866145a0565b945060018216600081146145dd57600181146145f257614625565b60ff1983168652811515820286019350614625565b6145fb856140ba565b60005b8381101561461d578154818901526001820191506020810190506145fe565b838801955050505b50505092915050565b600061463982612f00565b61464381856145a0565b9350614653818560208601612f1c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146956005836145a0565b91506146a08261465f565b600582019050919050565b60006146b782856145ab565b91506146c3828461462e565b91506146ce82614688565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614736602683612f0b565b9150614741826146da565b604082019050919050565b6000602082019050818103600083015261476581614729565b9050919050565b60008160601b9050919050565b60006147848261476c565b9050919050565b600061479682614779565b9050919050565b6147ae6147a982612fd2565b61478b565b82525050565b60006147c0828461479d565b60148201915081905092915050565b7f574c206e6f74206f70656e207965742053616d75726169000000000000000000600082015250565b6000614805601783612f0b565b9150614810826147cf565b602082019050919050565b60006020820190508181036000830152614834816147f8565b9050919050565b7f4e6f74206120574c206164647265737300000000000000000000000000000000600082015250565b6000614871601083612f0b565b915061487c8261483b565b602082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b7f416c7265616479206d696e74656420616e204e46540000000000000000000000600082015250565b60006148dd601583612f0b565b91506148e8826148a7565b602082019050919050565b6000602082019050818103600083015261490c816148d0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614949602083612f0b565b915061495482614913565b602082019050919050565b600060208201905081810360008301526149788161493c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149b982612d5f565b91506149c483612d5f565b9250826149d4576149d361497f565b5b828204905092915050565b60006149ea826130cd565b915060ff82036149fd576149fc613a44565b5b600182019050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a64602c83612f0b565b9150614a6f82614a08565b604082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614af6602983612f0b565b9150614b0182614a9a565b604082019050919050565b60006020820190508181036000830152614b2581614ae9565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b88602483612f0b565b9150614b9382614b2c565b604082019050919050565b60006020820190508181036000830152614bb781614b7b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614c1a603283612f0b565b9150614c2582614bbe565b604082019050919050565b60006020820190508181036000830152614c4981614c0d565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c7782614c50565b614c818185614c5b565b9350614c91818560208601612f1c565b614c9a81612f46565b840191505092915050565b6000608082019050614cba6000830187612fe4565b614cc76020830186612fe4565b614cd46040830185612ed6565b8181036060830152614ce68184614c6c565b905095945050505050565b600081519050614d0081612e53565b92915050565b600060208284031215614d1c57614d1b612d55565b5b6000614d2a84828501614cf1565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d69602083612f0b565b9150614d7482614d33565b602082019050919050565b60006020820190508181036000830152614d9881614d5c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614dd5601c83612f0b565b9150614de082614d9f565b602082019050919050565b60006020820190508181036000830152614e0481614dc8565b905091905056fea2646970667358221220660998241f430fbdea7a59a94f2eb2d3c8540fb80e8206aaca4fceb73f04e9b264736f6c63430008120033

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

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