ETH Price: $3,088.81 (-0.48%)

Blind Angels (BANGL)
 

Overview

TokenID

813

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BlindAngels

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

/**
 * @dev These functions deal with verification of Merkle trees (hash trees),
 */
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) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(
                    abi.encodePacked(computedHash, proofElement)
                );
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(
                    abi.encodePacked(proofElement, computedHash)
                );
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

// Allows anyone to claim a token if they exist in a merkle root.
interface IMerkleDistributor {
    // Returns the address of the token distributed by this contract.
    //function token() external view returns (address);
    // Returns the merkle root of the merkle tree containing account balances available to claim.
    function merkleRoot() external view returns (bytes32);

    // Returns true if the claim function is frozen
    function frozen() external view returns (bool);

    // Freezes the claim function and allow the merkleRoot to be changed.
    function freeze() external;

    // Unfreezes the claim function.
    function unfreeze() external;

    // Update the merkle root and increment the week.
    function updateWhitelist(bytes32 newMerkleRoot) external;

    // This event is triggered whenever the merkle root gets updated.
    event whitelistUpdated(bytes32 indexed merkleRoot);
}

contract BlindAngels is
    ERC721,
    ERC721Enumerable,
    Pausable,
    Ownable,
    ERC721Burnable,
    IMerkleDistributor
{
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private _tokenIdCounter;

    bytes32 public override merkleRoot;

    uint256 public cost = 0.41 ether;
    uint256 public maxSupply = 30000;
    uint256 public maxMintAmount = 120;
    mapping(address => uint256) public addressMintedBalance;
    uint256 public nftPerAddressLimit = 30000;
    bool public onlyWhitelisted;
    bool public override frozen;

    string public baseURI;
    string public baseExtension = ".json";
    string public notRevealedUri;
    bool public revealed;


    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        string memory _initNotRevealedUri
    ) ERC721(_name, _symbol) {
        frozen = true;
        revealed = false;
        onlyWhitelisted = true;
        setBaseURI(_initBaseURI);
        setNotRevealedURI(_initNotRevealedUri);
        _tokenIdCounter.increment();
    }

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

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function mint(bytes32[] calldata merkleProof, uint256 _mintAmount)
        public
        payable
        whenNotPaused
    {

        require(!frozen, "NFT: Contract is frozen.");
        uint256 supply = totalSupply();
        require(_mintAmount > 0, "need to mint at least 1 NFT");
        require(
            _mintAmount <= maxMintAmount,
            "max mint amount per session exceeded"
        );
        require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded");

        if (msg.sender != owner()) {
            if (onlyWhitelisted == true) {
                // Verify the merkle proof.
                bytes32 node = keccak256(abi.encodePacked(msg.sender));
                require(
                    MerkleProof.verify(merkleProof, merkleRoot, node),
                    "Whitelist: Invalid proof."
                );

                uint256 ownerMintedCount = addressMintedBalance[msg.sender];
                require(
                    ownerMintedCount + _mintAmount <= nftPerAddressLimit,
                    "max NFT per address exceeded"
                );
            }
            require(msg.value >= cost * _mintAmount, "insufficient funds");
        }

        for (uint256 i = 1; i <= _mintAmount; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            _tokenIdCounter.increment();
            addressMintedBalance[msg.sender]++;
            _safeMint(msg.sender, tokenId);
        }
    }

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

    // The following functions are overrides required by Solidity.

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

    function updateWhitelist(bytes32 _merkleRoot) public override onlyOwner {
        require(frozen, "NFT: Contract not frozen.");

        // Set the new merkle root
        merkleRoot = _merkleRoot;

        emit whitelistUpdated(merkleRoot);
    }

    function isWhitelisted(bytes32[] calldata merkleProof)
        public
        view
        returns (bool)
    {
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        return MerkleProof.verify(merkleProof, merkleRoot, node);
    }

    function freeze() public override onlyOwner {
        frozen = true;
    }

    function unfreeze() public override onlyOwner {
        frozen = false;
    }

    function setOnlyWhitelisted(bool _state) public onlyOwner {
        onlyWhitelisted = _state;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        if (revealed == false) {
            return notRevealedUri;
        }

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

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

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

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    //only owner
    function reveal() public onlyOwner {
        revealed = true;
    }

    function withdrawSome(uint256 _amount, address _payoutAddress) public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0 && _amount <= balance);
        _widthdraw(_payoutAddress, _amount);
    }

    function withdrawAll(address _payoutAddress) public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);
        _widthdraw(_payoutAddress, address(this).balance);
    }

    function _widthdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed.");
    }

    function setNftPerAddressLimit(uint256 _limit) public onlyOwner {
        nftPerAddressLimit = _limit;
    }

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }
}

File 2 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 3 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 4 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 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 9 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 10 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 12 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 13 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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 14 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(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 from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 15 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"whitelistUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unfreeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutAddress","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_payoutAddress","type":"address"}],"name":"withdrawSome","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526705b09cd3e5e90000600d55617530600e556078600f556175306011556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601490805190602001906200006e9291906200040b565b503480156200007c57600080fd5b50604051620062cd380380620062cd8339818101604052810190620000a291906200052d565b83838160009080519060200190620000bc9291906200040b565b508060019080519060200190620000d59291906200040b565b5050506000600a60006101000a81548160ff0219169083151502179055506200011362000107620001a760201b60201c565b620001af60201b60201c565b6001601260016101000a81548160ff0219169083151502179055506000601660006101000a81548160ff0219169083151502179055506001601260006101000a81548160ff02191690831515021790555062000175826200027560201b60201c565b62000186816200032060201b60201c565b6200019d600b620003cb60201b620025821760201c565b50505050620007f0565b600033905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000285620001a760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002ab620003e160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000304576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002fb9062000624565b60405180910390fd5b80601390805190602001906200031c9291906200040b565b5050565b62000330620001a760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000356620003e160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a69062000624565b60405180910390fd5b8060159080519060200190620003c79291906200040b565b5050565b6001816000016000828254019250508190555050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200041990620006ec565b90600052602060002090601f0160209004810192826200043d576000855562000489565b82601f106200045857805160ff191683800117855562000489565b8280016001018555821562000489579182015b82811115620004885782518255916020019190600101906200046b565b5b5090506200049891906200049c565b5090565b5b80821115620004b75760008160009055506001016200049d565b5090565b6000620004d2620004cc846200066f565b62000646565b905082815260208101848484011115620004eb57600080fd5b620004f8848285620006b6565b509392505050565b600082601f8301126200051257600080fd5b815162000524848260208601620004bb565b91505092915050565b600080600080608085870312156200054457600080fd5b600085015167ffffffffffffffff8111156200055f57600080fd5b6200056d8782880162000500565b945050602085015167ffffffffffffffff8111156200058b57600080fd5b620005998782880162000500565b935050604085015167ffffffffffffffff811115620005b757600080fd5b620005c58782880162000500565b925050606085015167ffffffffffffffff811115620005e357600080fd5b620005f18782880162000500565b91505092959194509250565b60006200060c602083620006a5565b91506200061982620007c7565b602082019050919050565b600060208201905081810360008301526200063f81620005fd565b9050919050565b60006200065262000665565b905062000660828262000722565b919050565b6000604051905090565b600067ffffffffffffffff8211156200068d576200068c62000787565b5b6200069882620007b6565b9050602081019050919050565b600082825260208201905092915050565b60005b83811015620006d6578082015181840152602081019050620006b9565b83811115620006e6576000848401525b50505050565b600060028204905060018216806200070557607f821691505b602082108114156200071c576200071b62000758565b5b50919050565b6200072d82620007b6565b810181811067ffffffffffffffff821117156200074f576200074e62000787565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b615acd80620008006000396000f3fe6080604052600436106102c95760003560e01c80635c975abb11610175578063a22cb465116100dc578063d0eb26b011610095578063e985e9c51161006f578063e985e9c514610a87578063f2c4ce1e14610ac4578063f2fde38b14610aed578063fa09e63014610b16576102c9565b8063d0eb26b014610a0a578063d5abeb0114610a33578063da3ef23f14610a5e576102c9565b8063a22cb4651461090e578063a475b5dd14610937578063b88d4fde1461094e578063ba7d2c7614610977578063c6682862146109a2578063c87b56dd146109cd576102c9565b8063715018a61161012e578063715018a6146108365780637f00c7a61461084d5780638456cb59146108765780638da5cb5b1461088d57806395d89b41146108b85780639c70b512146108e3576102c9565b80635c975abb1461073857806362a5af3b146107635780636352211e1461077a5780636a28f000146107b75780636c0360eb146107ce57806370a08231146107f9576102c9565b8063239c70ae1161023457806342842e0e116101ed57806345de0d9b116101c757806345de0d9b1461068b5780634f6ccce7146106a757806351830227146106e457806355f804b31461070f576102c9565b806342842e0e1461061057806342966c681461063957806344a0d68a14610662576102c9565b8063239c70ae1461051457806323b872dd1461053f5780632eb4a7ab146105685780632f745c59146105935780633c952764146105d05780633f4ba83a146105f9576102c9565b8063095ea7b311610286578063095ea7b31461040657806313faede61461042f5780631592dbba1461045a57806318160ddd1461048357806318cae269146104ae5780632152cb02146104eb576102c9565b806301ffc9a7146102ce578063054f7d9c1461030b578063069824fb1461033657806306fdde0314610373578063081812fc1461039e578063081c8c44146103db575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190614267565b610b3f565b6040516103029190614a1c565b60405180910390f35b34801561031757600080fd5b50610320610b51565b60405161032d9190614a1c565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190614178565b610b64565b60405161036a9190614a1c565b60405180910390f35b34801561037f57600080fd5b50610388610be7565b6040516103959190614a52565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906142fa565b610c79565b6040516103d291906149b5565b60405180910390f35b3480156103e757600080fd5b506103f0610cfe565b6040516103fd9190614a52565b60405180910390f35b34801561041257600080fd5b5061042d6004803603810190610428919061413c565b610d8c565b005b34801561043b57600080fd5b50610444610ea4565b6040516104519190614e34565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190614323565b610eaa565b005b34801561048f57600080fd5b50610498610f53565b6040516104a59190614e34565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613fd1565b610f60565b6040516104e29190614e34565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d919061423e565b610f78565b005b34801561052057600080fd5b5061052961107c565b6040516105369190614e34565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190614036565b611082565b005b34801561057457600080fd5b5061057d6110e2565b60405161058a9190614a37565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b5919061413c565b6110e8565b6040516105c79190614e34565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190614215565b61118d565b005b34801561060557600080fd5b5061060e611226565b005b34801561061c57600080fd5b5061063760048036038101906106329190614036565b6112ac565b005b34801561064557600080fd5b50610660600480360381019061065b91906142fa565b6112cc565b005b34801561066e57600080fd5b50610689600480360381019061068491906142fa565b611328565b005b6106a560048036038101906106a091906141bd565b6113ae565b005b3480156106b357600080fd5b506106ce60048036038101906106c991906142fa565b6117c0565b6040516106db9190614e34565b60405180910390f35b3480156106f057600080fd5b506106f9611857565b6040516107069190614a1c565b60405180910390f35b34801561071b57600080fd5b50610736600480360381019061073191906142b9565b61186a565b005b34801561074457600080fd5b5061074d611900565b60405161075a9190614a1c565b60405180910390f35b34801561076f57600080fd5b50610778611917565b005b34801561078657600080fd5b506107a1600480360381019061079c91906142fa565b6119b0565b6040516107ae91906149b5565b60405180910390f35b3480156107c357600080fd5b506107cc611a62565b005b3480156107da57600080fd5b506107e3611afb565b6040516107f09190614a52565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613fd1565b611b89565b60405161082d9190614e34565b60405180910390f35b34801561084257600080fd5b5061084b611c41565b005b34801561085957600080fd5b50610874600480360381019061086f91906142fa565b611cc9565b005b34801561088257600080fd5b5061088b611d4f565b005b34801561089957600080fd5b506108a2611dd5565b6040516108af91906149b5565b60405180910390f35b3480156108c457600080fd5b506108cd611dff565b6040516108da9190614a52565b60405180910390f35b3480156108ef57600080fd5b506108f8611e91565b6040516109059190614a1c565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190614100565b611ea4565b005b34801561094357600080fd5b5061094c611eba565b005b34801561095a57600080fd5b5061097560048036038101906109709190614085565b611f53565b005b34801561098357600080fd5b5061098c611fb5565b6040516109999190614e34565b60405180910390f35b3480156109ae57600080fd5b506109b7611fbb565b6040516109c49190614a52565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef91906142fa565b612049565b604051610a019190614a52565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c91906142fa565b6121a2565b005b348015610a3f57600080fd5b50610a48612228565b604051610a559190614e34565b60405180910390f35b348015610a6a57600080fd5b50610a856004803603810190610a8091906142b9565b61222e565b005b348015610a9357600080fd5b50610aae6004803603810190610aa99190613ffa565b6122c4565b604051610abb9190614a1c565b60405180910390f35b348015610ad057600080fd5b50610aeb6004803603810190610ae691906142b9565b612358565b005b348015610af957600080fd5b50610b146004803603810190610b0f9190613fd1565b6123ee565b005b348015610b2257600080fd5b50610b3d6004803603810190610b389190613fd1565b6124e6565b005b6000610b4a82612598565b9050919050565b601260019054906101000a900460ff1681565b60008033604051602001610b789190614928565b604051602081830303815290604052805190602001209050610bde848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612612565b91505092915050565b606060008054610bf69061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c229061510e565b8015610c6f5780601f10610c4457610100808354040283529160200191610c6f565b820191906000526020600020905b815481529060010190602001808311610c5257829003601f168201915b5050505050905090565b6000610c84826126ee565b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90614cb4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60158054610d0b9061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d379061510e565b8015610d845780601f10610d5957610100808354040283529160200191610d84565b820191906000526020600020905b815481529060010190602001808311610d6757829003601f168201915b505050505081565b6000610d97826119b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dff90614d14565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e2761275a565b73ffffffffffffffffffffffffffffffffffffffff161480610e565750610e5581610e5061275a565b6122c4565b5b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614bd4565b60405180910390fd5b610e9f8383612762565b505050565b600d5481565b610eb261275a565b73ffffffffffffffffffffffffffffffffffffffff16610ed0611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90614cd4565b60405180910390fd5b6000479050600081118015610f3b5750808311155b610f4457600080fd5b610f4e828461281b565b505050565b6000600880549050905090565b60106020528060005260406000206000915090505481565b610f8061275a565b73ffffffffffffffffffffffffffffffffffffffff16610f9e611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90614cd4565b60405180910390fd5b601260019054906101000a900460ff16611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614e14565b60405180910390fd5b80600c81905550600c547f9440d8d39d4b05c5952b80835740b633d3ada0f77c5b09cd18d6373aa997774960405160405180910390a250565b600f5481565b61109361108d61275a565b826128cc565b6110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990614d74565b60405180910390fd5b6110dd8383836129aa565b505050565b600c5481565b60006110f383611b89565b8210611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90614a94565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61119561275a565b73ffffffffffffffffffffffffffffffffffffffff166111b3611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120090614cd4565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b61122e61275a565b73ffffffffffffffffffffffffffffffffffffffff1661124c611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614cd4565b60405180910390fd5b6112aa612c11565b565b6112c783838360405180602001604052806000815250611f53565b505050565b6112dd6112d761275a565b826128cc565b61131c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131390614db4565b60405180910390fd5b61132581612cb3565b50565b61133061275a565b73ffffffffffffffffffffffffffffffffffffffff1661134e611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90614cd4565b60405180910390fd5b80600d8190555050565b6113b6611900565b156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90614bb4565b60405180910390fd5b601260019054906101000a900460ff1615611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d90614dd4565b60405180910390fd5b6000611450610f53565b905060008211611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90614df4565b60405180910390fd5b600f548211156114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190614c54565b60405180910390fd5b600e5482826114e99190614f39565b111561152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190614c34565b60405180910390fd5b611532611dd5565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117205760011515601260009054906101000a900460ff16151514156116cf576000336040516020016115939190614928565b6040516020818303038152906040528051906020012090506115f9858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612612565b611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90614c94565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601154848261168b9190614f39565b11156116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390614b34565b60405180910390fd5b50505b81600d546116dd9190614fc0565b34101561171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690614d34565b60405180910390fd5b5b6000600190505b8281116117b957600061173a600b612dd0565b9050611746600b612582565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061179690615171565b91905055506117a53382612dde565b5080806117b190615171565b915050611727565b5050505050565b60006117ca610f53565b821061180b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180290614d94565b60405180910390fd5b60088281548110611845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601660009054906101000a900460ff1681565b61187261275a565b73ffffffffffffffffffffffffffffffffffffffff16611890611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd90614cd4565b60405180910390fd5b80601390805190602001906118fc929190613d96565b5050565b6000600a60009054906101000a900460ff16905090565b61191f61275a565b73ffffffffffffffffffffffffffffffffffffffff1661193d611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198a90614cd4565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5090614c14565b60405180910390fd5b80915050919050565b611a6a61275a565b73ffffffffffffffffffffffffffffffffffffffff16611a88611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590614cd4565b60405180910390fd5b6000601260016101000a81548160ff021916908315150217905550565b60138054611b089061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054611b349061510e565b8015611b815780601f10611b5657610100808354040283529160200191611b81565b820191906000526020600020905b815481529060010190602001808311611b6457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf190614bf4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c4961275a565b73ffffffffffffffffffffffffffffffffffffffff16611c67611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614cd4565b60405180910390fd5b611cc76000612dfc565b565b611cd161275a565b73ffffffffffffffffffffffffffffffffffffffff16611cef611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c90614cd4565b60405180910390fd5b80600f8190555050565b611d5761275a565b73ffffffffffffffffffffffffffffffffffffffff16611d75611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290614cd4565b60405180910390fd5b611dd3612ec2565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e0e9061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3a9061510e565b8015611e875780601f10611e5c57610100808354040283529160200191611e87565b820191906000526020600020905b815481529060010190602001808311611e6a57829003601f168201915b5050505050905090565b601260009054906101000a900460ff1681565b611eb6611eaf61275a565b8383612f65565b5050565b611ec261275a565b73ffffffffffffffffffffffffffffffffffffffff16611ee0611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2d90614cd4565b60405180910390fd5b6001601660006101000a81548160ff021916908315150217905550565b611f64611f5e61275a565b836128cc565b611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90614d74565b60405180910390fd5b611faf848484846130d2565b50505050565b60115481565b60148054611fc89061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054611ff49061510e565b80156120415780601f1061201657610100808354040283529160200191612041565b820191906000526020600020905b81548152906001019060200180831161202457829003601f168201915b505050505081565b6060612054826126ee565b612093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208a90614cf4565b60405180910390fd5b60001515601660009054906101000a900460ff161515141561214157601580546120bc9061510e565b80601f01602080910402602001604051908101604052809291908181526020018280546120e89061510e565b80156121355780601f1061210a57610100808354040283529160200191612135565b820191906000526020600020905b81548152906001019060200180831161211857829003601f168201915b5050505050905061219d565b600061214b61312e565b9050600081511161216b5760405180602001604052806000815250612199565b80612175846131c0565b60146040516020016121899392919061496f565b6040516020818303038152906040525b9150505b919050565b6121aa61275a565b73ffffffffffffffffffffffffffffffffffffffff166121c8611dd5565b73ffffffffffffffffffffffffffffffffffffffff161461221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221590614cd4565b60405180910390fd5b8060118190555050565b600e5481565b61223661275a565b73ffffffffffffffffffffffffffffffffffffffff16612254611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190614cd4565b60405180910390fd5b80601490805190602001906122c0929190613d96565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61236061275a565b73ffffffffffffffffffffffffffffffffffffffff1661237e611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cb90614cd4565b60405180910390fd5b80601590805190602001906123ea929190613d96565b5050565b6123f661275a565b73ffffffffffffffffffffffffffffffffffffffff16612414611dd5565b73ffffffffffffffffffffffffffffffffffffffff161461246a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246190614cd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d190614ad4565b60405180910390fd5b6124e381612dfc565b50565b6124ee61275a565b73ffffffffffffffffffffffffffffffffffffffff1661250c611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614612562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255990614cd4565b60405180910390fd5b60004790506000811161257457600080fd5b61257e824761281b565b5050565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061260b575061260a8261336d565b5b9050919050565b60008082905060005b85518110156126e057600086828151811061265f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116126a0578281604051602001612683929190614943565b6040516020818303038152906040528051906020012092506126cc565b80836040516020016126b3929190614943565b6040516020818303038152906040528051906020012092505b5080806126d890615171565b91505061261b565b508381149150509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127d5836119b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612841906149a0565b60006040518083038185875af1925050503d806000811461287e576040519150601f19603f3d011682016040523d82523d6000602084013e612883565b606091505b50509050806128c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128be90614d54565b60405180910390fd5b505050565b60006128d7826126ee565b612916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290d90614b94565b60405180910390fd5b6000612921836119b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612963575061296281856122c4565b5b806129a157508373ffffffffffffffffffffffffffffffffffffffff1661298984610c79565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129ca826119b0565b73ffffffffffffffffffffffffffffffffffffffff1614612a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1790614af4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8790614b54565b60405180910390fd5b612a9b83838361344f565b612aa6600082612762565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612af6919061501a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4d9190614f39565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c0c8383836134a7565b505050565b612c19611900565b612c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4f90614a74565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612c9c61275a565b604051612ca991906149b5565b60405180910390a1565b6000612cbe826119b0565b9050612ccc8160008461344f565b612cd7600083612762565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d27919061501a565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612dcc816000846134a7565b5050565b600081600001549050919050565b612df88282604051806020016040528060008152506134ac565b5050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612eca611900565b15612f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0190614bb4565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612f4e61275a565b604051612f5b91906149b5565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcb90614b74565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130c59190614a1c565b60405180910390a3505050565b6130dd8484846129aa565b6130e984848484613507565b613128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311f90614ab4565b60405180910390fd5b50505050565b60606013805461313d9061510e565b80601f01602080910402602001604051908101604052809291908181526020018280546131699061510e565b80156131b65780601f1061318b576101008083540402835291602001916131b6565b820191906000526020600020905b81548152906001019060200180831161319957829003601f168201915b5050505050905090565b60606000821415613208576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613368565b600082905060005b6000821461323a57808061322390615171565b915050600a826132339190614f8f565b9150613210565b60008167ffffffffffffffff81111561327c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132ae5781602001600182028036833780820191505090505b5090505b60008514613361576001826132c7919061501a565b9150600a856132d691906151e8565b60306132e29190614f39565b60f81b81838151811061331e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561335a9190614f8f565b94506132b2565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061343857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061344857506134478261369e565b5b9050919050565b613457611900565b15613497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348e90614bb4565b60405180910390fd5b6134a2838383613708565b505050565b505050565b6134b6838361381c565b6134c36000848484613507565b613502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f990614ab4565b60405180910390fd5b505050565b60006135288473ffffffffffffffffffffffffffffffffffffffff166139f6565b15613691578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261355161275a565b8786866040518563ffffffff1660e01b815260040161357394939291906149d0565b602060405180830381600087803b15801561358d57600080fd5b505af19250505080156135be57506040513d601f19601f820116820180604052508101906135bb9190614290565b60015b613641573d80600081146135ee576040519150601f19603f3d011682016040523d82523d6000602084013e6135f3565b606091505b50600081511415613639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363090614ab4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613696565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613713838383613a19565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137565761375181613a1e565b613795565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613794576137938382613a67565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137d8576137d381613bd4565b613817565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613816576138158282613d17565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561388c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388390614c74565b60405180910390fd5b613895816126ee565b156138d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138cc90614b14565b60405180910390fd5b6138e16000838361344f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139319190614f39565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139f2600083836134a7565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a7484611b89565b613a7e919061501a565b9050600060076000848152602001908152602001600020549050818114613b63576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613be8919061501a565b9050600060096000848152602001908152602001600020549050600060088381548110613c3e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d2283611b89565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613da29061510e565b90600052602060002090601f016020900481019282613dc45760008555613e0b565b82601f10613ddd57805160ff1916838001178555613e0b565b82800160010185558215613e0b579182015b82811115613e0a578251825591602001919060010190613def565b5b509050613e189190613e1c565b5090565b5b80821115613e35576000816000905550600101613e1d565b5090565b6000613e4c613e4784614e74565b614e4f565b905082815260208101848484011115613e6457600080fd5b613e6f8482856150cc565b509392505050565b6000613e8a613e8584614ea5565b614e4f565b905082815260208101848484011115613ea257600080fd5b613ead8482856150cc565b509392505050565b600081359050613ec481615a24565b92915050565b60008083601f840112613edc57600080fd5b8235905067ffffffffffffffff811115613ef557600080fd5b602083019150836020820283011115613f0d57600080fd5b9250929050565b600081359050613f2381615a3b565b92915050565b600081359050613f3881615a52565b92915050565b600081359050613f4d81615a69565b92915050565b600081519050613f6281615a69565b92915050565b600082601f830112613f7957600080fd5b8135613f89848260208601613e39565b91505092915050565b600082601f830112613fa357600080fd5b8135613fb3848260208601613e77565b91505092915050565b600081359050613fcb81615a80565b92915050565b600060208284031215613fe357600080fd5b6000613ff184828501613eb5565b91505092915050565b6000806040838503121561400d57600080fd5b600061401b85828601613eb5565b925050602061402c85828601613eb5565b9150509250929050565b60008060006060848603121561404b57600080fd5b600061405986828701613eb5565b935050602061406a86828701613eb5565b925050604061407b86828701613fbc565b9150509250925092565b6000806000806080858703121561409b57600080fd5b60006140a987828801613eb5565b94505060206140ba87828801613eb5565b93505060406140cb87828801613fbc565b925050606085013567ffffffffffffffff8111156140e857600080fd5b6140f487828801613f68565b91505092959194509250565b6000806040838503121561411357600080fd5b600061412185828601613eb5565b925050602061413285828601613f14565b9150509250929050565b6000806040838503121561414f57600080fd5b600061415d85828601613eb5565b925050602061416e85828601613fbc565b9150509250929050565b6000806020838503121561418b57600080fd5b600083013567ffffffffffffffff8111156141a557600080fd5b6141b185828601613eca565b92509250509250929050565b6000806000604084860312156141d257600080fd5b600084013567ffffffffffffffff8111156141ec57600080fd5b6141f886828701613eca565b9350935050602061420b86828701613fbc565b9150509250925092565b60006020828403121561422757600080fd5b600061423584828501613f14565b91505092915050565b60006020828403121561425057600080fd5b600061425e84828501613f29565b91505092915050565b60006020828403121561427957600080fd5b600061428784828501613f3e565b91505092915050565b6000602082840312156142a257600080fd5b60006142b084828501613f53565b91505092915050565b6000602082840312156142cb57600080fd5b600082013567ffffffffffffffff8111156142e557600080fd5b6142f184828501613f92565b91505092915050565b60006020828403121561430c57600080fd5b600061431a84828501613fbc565b91505092915050565b6000806040838503121561433657600080fd5b600061434485828601613fbc565b925050602061435585828601613eb5565b9150509250929050565b6143688161504e565b82525050565b61437f61437a8261504e565b6151ba565b82525050565b61438e81615060565b82525050565b61439d8161506c565b82525050565b6143b46143af8261506c565b6151cc565b82525050565b60006143c582614eeb565b6143cf8185614f01565b93506143df8185602086016150db565b6143e8816152d5565b840191505092915050565b60006143fe82614ef6565b6144088185614f1d565b93506144188185602086016150db565b614421816152d5565b840191505092915050565b600061443782614ef6565b6144418185614f2e565b93506144518185602086016150db565b80840191505092915050565b6000815461446a8161510e565b6144748186614f2e565b9450600182166000811461448f57600181146144a0576144d3565b60ff198316865281860193506144d3565b6144a985614ed6565b60005b838110156144cb578154818901526001820191506020810190506144ac565b838801955050505b50505092915050565b60006144e9601483614f1d565b91506144f4826152f3565b602082019050919050565b600061450c602b83614f1d565b91506145178261531c565b604082019050919050565b600061452f603283614f1d565b915061453a8261536b565b604082019050919050565b6000614552602683614f1d565b915061455d826153ba565b604082019050919050565b6000614575602583614f1d565b915061458082615409565b604082019050919050565b6000614598601c83614f1d565b91506145a382615458565b602082019050919050565b60006145bb601c83614f1d565b91506145c682615481565b602082019050919050565b60006145de602483614f1d565b91506145e9826154aa565b604082019050919050565b6000614601601983614f1d565b915061460c826154f9565b602082019050919050565b6000614624602c83614f1d565b915061462f82615522565b604082019050919050565b6000614647601083614f1d565b915061465282615571565b602082019050919050565b600061466a603883614f1d565b91506146758261559a565b604082019050919050565b600061468d602a83614f1d565b9150614698826155e9565b604082019050919050565b60006146b0602983614f1d565b91506146bb82615638565b604082019050919050565b60006146d3601683614f1d565b91506146de82615687565b602082019050919050565b60006146f6602483614f1d565b9150614701826156b0565b604082019050919050565b6000614719602083614f1d565b9150614724826156ff565b602082019050919050565b600061473c601983614f1d565b915061474782615728565b602082019050919050565b600061475f602c83614f1d565b915061476a82615751565b604082019050919050565b6000614782602083614f1d565b915061478d826157a0565b602082019050919050565b60006147a5602f83614f1d565b91506147b0826157c9565b604082019050919050565b60006147c8602183614f1d565b91506147d382615818565b604082019050919050565b60006147eb600083614f12565b91506147f682615867565b600082019050919050565b600061480e601283614f1d565b91506148198261586a565b602082019050919050565b6000614831601083614f1d565b915061483c82615893565b602082019050919050565b6000614854603183614f1d565b915061485f826158bc565b604082019050919050565b6000614877602c83614f1d565b91506148828261590b565b604082019050919050565b600061489a603083614f1d565b91506148a58261595a565b604082019050919050565b60006148bd601883614f1d565b91506148c8826159a9565b602082019050919050565b60006148e0601b83614f1d565b91506148eb826159d2565b602082019050919050565b6000614903601983614f1d565b915061490e826159fb565b602082019050919050565b614922816150c2565b82525050565b6000614934828461436e565b60148201915081905092915050565b600061494f82856143a3565b60208201915061495f82846143a3565b6020820191508190509392505050565b600061497b828661442c565b9150614987828561442c565b9150614993828461445d565b9150819050949350505050565b60006149ab826147de565b9150819050919050565b60006020820190506149ca600083018461435f565b92915050565b60006080820190506149e5600083018761435f565b6149f2602083018661435f565b6149ff6040830185614919565b8181036060830152614a1181846143ba565b905095945050505050565b6000602082019050614a316000830184614385565b92915050565b6000602082019050614a4c6000830184614394565b92915050565b60006020820190508181036000830152614a6c81846143f3565b905092915050565b60006020820190508181036000830152614a8d816144dc565b9050919050565b60006020820190508181036000830152614aad816144ff565b9050919050565b60006020820190508181036000830152614acd81614522565b9050919050565b60006020820190508181036000830152614aed81614545565b9050919050565b60006020820190508181036000830152614b0d81614568565b9050919050565b60006020820190508181036000830152614b2d8161458b565b9050919050565b60006020820190508181036000830152614b4d816145ae565b9050919050565b60006020820190508181036000830152614b6d816145d1565b9050919050565b60006020820190508181036000830152614b8d816145f4565b9050919050565b60006020820190508181036000830152614bad81614617565b9050919050565b60006020820190508181036000830152614bcd8161463a565b9050919050565b60006020820190508181036000830152614bed8161465d565b9050919050565b60006020820190508181036000830152614c0d81614680565b9050919050565b60006020820190508181036000830152614c2d816146a3565b9050919050565b60006020820190508181036000830152614c4d816146c6565b9050919050565b60006020820190508181036000830152614c6d816146e9565b9050919050565b60006020820190508181036000830152614c8d8161470c565b9050919050565b60006020820190508181036000830152614cad8161472f565b9050919050565b60006020820190508181036000830152614ccd81614752565b9050919050565b60006020820190508181036000830152614ced81614775565b9050919050565b60006020820190508181036000830152614d0d81614798565b9050919050565b60006020820190508181036000830152614d2d816147bb565b9050919050565b60006020820190508181036000830152614d4d81614801565b9050919050565b60006020820190508181036000830152614d6d81614824565b9050919050565b60006020820190508181036000830152614d8d81614847565b9050919050565b60006020820190508181036000830152614dad8161486a565b9050919050565b60006020820190508181036000830152614dcd8161488d565b9050919050565b60006020820190508181036000830152614ded816148b0565b9050919050565b60006020820190508181036000830152614e0d816148d3565b9050919050565b60006020820190508181036000830152614e2d816148f6565b9050919050565b6000602082019050614e496000830184614919565b92915050565b6000614e59614e6a565b9050614e658282615140565b919050565b6000604051905090565b600067ffffffffffffffff821115614e8f57614e8e6152a6565b5b614e98826152d5565b9050602081019050919050565b600067ffffffffffffffff821115614ec057614ebf6152a6565b5b614ec9826152d5565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f44826150c2565b9150614f4f836150c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8457614f83615219565b5b828201905092915050565b6000614f9a826150c2565b9150614fa5836150c2565b925082614fb557614fb4615248565b5b828204905092915050565b6000614fcb826150c2565b9150614fd6836150c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561500f5761500e615219565b5b828202905092915050565b6000615025826150c2565b9150615030836150c2565b92508282101561504357615042615219565b5b828203905092915050565b6000615059826150a2565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150f95780820151818401526020810190506150de565b83811115615108576000848401525b50505050565b6000600282049050600182168061512657607f821691505b6020821081141561513a57615139615277565b5b50919050565b615149826152d5565b810181811067ffffffffffffffff82111715615168576151676152a6565b5b80604052505050565b600061517c826150c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151af576151ae615219565b5b600182019050919050565b60006151c5826151d6565b9050919050565b6000819050919050565b60006151e1826152e6565b9050919050565b60006151f3826150c2565b91506151fe836150c2565b92508261520e5761520d615248565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f57686974656c6973743a20496e76616c69642070726f6f662e00000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4e46543a20436f6e74726163742069732066726f7a656e2e0000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b7f4e46543a20436f6e7472616374206e6f742066726f7a656e2e00000000000000600082015250565b615a2d8161504e565b8114615a3857600080fd5b50565b615a4481615060565b8114615a4f57600080fd5b50565b615a5b8161506c565b8114615a6657600080fd5b50565b615a7281615076565b8114615a7d57600080fd5b50565b615a89816150c2565b8114615a9457600080fd5b5056fea2646970667358221220b7c6aab25092d9ae869a7aece2d63f0a2703680d59a211fbd451ddf2630a17d964736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000c426c696e6420416e67656c730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542414e474c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013697066733a2f2f6e6f7472657665616c65642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5364476b39666e53794a487876717941786e68674e566938477969395937316a73584570444d646537686b562f00000000000000000000

Deployed Bytecode

0x6080604052600436106102c95760003560e01c80635c975abb11610175578063a22cb465116100dc578063d0eb26b011610095578063e985e9c51161006f578063e985e9c514610a87578063f2c4ce1e14610ac4578063f2fde38b14610aed578063fa09e63014610b16576102c9565b8063d0eb26b014610a0a578063d5abeb0114610a33578063da3ef23f14610a5e576102c9565b8063a22cb4651461090e578063a475b5dd14610937578063b88d4fde1461094e578063ba7d2c7614610977578063c6682862146109a2578063c87b56dd146109cd576102c9565b8063715018a61161012e578063715018a6146108365780637f00c7a61461084d5780638456cb59146108765780638da5cb5b1461088d57806395d89b41146108b85780639c70b512146108e3576102c9565b80635c975abb1461073857806362a5af3b146107635780636352211e1461077a5780636a28f000146107b75780636c0360eb146107ce57806370a08231146107f9576102c9565b8063239c70ae1161023457806342842e0e116101ed57806345de0d9b116101c757806345de0d9b1461068b5780634f6ccce7146106a757806351830227146106e457806355f804b31461070f576102c9565b806342842e0e1461061057806342966c681461063957806344a0d68a14610662576102c9565b8063239c70ae1461051457806323b872dd1461053f5780632eb4a7ab146105685780632f745c59146105935780633c952764146105d05780633f4ba83a146105f9576102c9565b8063095ea7b311610286578063095ea7b31461040657806313faede61461042f5780631592dbba1461045a57806318160ddd1461048357806318cae269146104ae5780632152cb02146104eb576102c9565b806301ffc9a7146102ce578063054f7d9c1461030b578063069824fb1461033657806306fdde0314610373578063081812fc1461039e578063081c8c44146103db575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190614267565b610b3f565b6040516103029190614a1c565b60405180910390f35b34801561031757600080fd5b50610320610b51565b60405161032d9190614a1c565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190614178565b610b64565b60405161036a9190614a1c565b60405180910390f35b34801561037f57600080fd5b50610388610be7565b6040516103959190614a52565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906142fa565b610c79565b6040516103d291906149b5565b60405180910390f35b3480156103e757600080fd5b506103f0610cfe565b6040516103fd9190614a52565b60405180910390f35b34801561041257600080fd5b5061042d6004803603810190610428919061413c565b610d8c565b005b34801561043b57600080fd5b50610444610ea4565b6040516104519190614e34565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190614323565b610eaa565b005b34801561048f57600080fd5b50610498610f53565b6040516104a59190614e34565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613fd1565b610f60565b6040516104e29190614e34565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d919061423e565b610f78565b005b34801561052057600080fd5b5061052961107c565b6040516105369190614e34565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190614036565b611082565b005b34801561057457600080fd5b5061057d6110e2565b60405161058a9190614a37565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b5919061413c565b6110e8565b6040516105c79190614e34565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190614215565b61118d565b005b34801561060557600080fd5b5061060e611226565b005b34801561061c57600080fd5b5061063760048036038101906106329190614036565b6112ac565b005b34801561064557600080fd5b50610660600480360381019061065b91906142fa565b6112cc565b005b34801561066e57600080fd5b50610689600480360381019061068491906142fa565b611328565b005b6106a560048036038101906106a091906141bd565b6113ae565b005b3480156106b357600080fd5b506106ce60048036038101906106c991906142fa565b6117c0565b6040516106db9190614e34565b60405180910390f35b3480156106f057600080fd5b506106f9611857565b6040516107069190614a1c565b60405180910390f35b34801561071b57600080fd5b50610736600480360381019061073191906142b9565b61186a565b005b34801561074457600080fd5b5061074d611900565b60405161075a9190614a1c565b60405180910390f35b34801561076f57600080fd5b50610778611917565b005b34801561078657600080fd5b506107a1600480360381019061079c91906142fa565b6119b0565b6040516107ae91906149b5565b60405180910390f35b3480156107c357600080fd5b506107cc611a62565b005b3480156107da57600080fd5b506107e3611afb565b6040516107f09190614a52565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613fd1565b611b89565b60405161082d9190614e34565b60405180910390f35b34801561084257600080fd5b5061084b611c41565b005b34801561085957600080fd5b50610874600480360381019061086f91906142fa565b611cc9565b005b34801561088257600080fd5b5061088b611d4f565b005b34801561089957600080fd5b506108a2611dd5565b6040516108af91906149b5565b60405180910390f35b3480156108c457600080fd5b506108cd611dff565b6040516108da9190614a52565b60405180910390f35b3480156108ef57600080fd5b506108f8611e91565b6040516109059190614a1c565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190614100565b611ea4565b005b34801561094357600080fd5b5061094c611eba565b005b34801561095a57600080fd5b5061097560048036038101906109709190614085565b611f53565b005b34801561098357600080fd5b5061098c611fb5565b6040516109999190614e34565b60405180910390f35b3480156109ae57600080fd5b506109b7611fbb565b6040516109c49190614a52565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef91906142fa565b612049565b604051610a019190614a52565b60405180910390f35b348015610a1657600080fd5b50610a316004803603810190610a2c91906142fa565b6121a2565b005b348015610a3f57600080fd5b50610a48612228565b604051610a559190614e34565b60405180910390f35b348015610a6a57600080fd5b50610a856004803603810190610a8091906142b9565b61222e565b005b348015610a9357600080fd5b50610aae6004803603810190610aa99190613ffa565b6122c4565b604051610abb9190614a1c565b60405180910390f35b348015610ad057600080fd5b50610aeb6004803603810190610ae691906142b9565b612358565b005b348015610af957600080fd5b50610b146004803603810190610b0f9190613fd1565b6123ee565b005b348015610b2257600080fd5b50610b3d6004803603810190610b389190613fd1565b6124e6565b005b6000610b4a82612598565b9050919050565b601260019054906101000a900460ff1681565b60008033604051602001610b789190614928565b604051602081830303815290604052805190602001209050610bde848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612612565b91505092915050565b606060008054610bf69061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c229061510e565b8015610c6f5780601f10610c4457610100808354040283529160200191610c6f565b820191906000526020600020905b815481529060010190602001808311610c5257829003601f168201915b5050505050905090565b6000610c84826126ee565b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90614cb4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60158054610d0b9061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d379061510e565b8015610d845780601f10610d5957610100808354040283529160200191610d84565b820191906000526020600020905b815481529060010190602001808311610d6757829003601f168201915b505050505081565b6000610d97826119b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dff90614d14565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e2761275a565b73ffffffffffffffffffffffffffffffffffffffff161480610e565750610e5581610e5061275a565b6122c4565b5b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614bd4565b60405180910390fd5b610e9f8383612762565b505050565b600d5481565b610eb261275a565b73ffffffffffffffffffffffffffffffffffffffff16610ed0611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90614cd4565b60405180910390fd5b6000479050600081118015610f3b5750808311155b610f4457600080fd5b610f4e828461281b565b505050565b6000600880549050905090565b60106020528060005260406000206000915090505481565b610f8061275a565b73ffffffffffffffffffffffffffffffffffffffff16610f9e611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90614cd4565b60405180910390fd5b601260019054906101000a900460ff16611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90614e14565b60405180910390fd5b80600c81905550600c547f9440d8d39d4b05c5952b80835740b633d3ada0f77c5b09cd18d6373aa997774960405160405180910390a250565b600f5481565b61109361108d61275a565b826128cc565b6110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990614d74565b60405180910390fd5b6110dd8383836129aa565b505050565b600c5481565b60006110f383611b89565b8210611134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112b90614a94565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61119561275a565b73ffffffffffffffffffffffffffffffffffffffff166111b3611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120090614cd4565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b61122e61275a565b73ffffffffffffffffffffffffffffffffffffffff1661124c611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614cd4565b60405180910390fd5b6112aa612c11565b565b6112c783838360405180602001604052806000815250611f53565b505050565b6112dd6112d761275a565b826128cc565b61131c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131390614db4565b60405180910390fd5b61132581612cb3565b50565b61133061275a565b73ffffffffffffffffffffffffffffffffffffffff1661134e611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90614cd4565b60405180910390fd5b80600d8190555050565b6113b6611900565b156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90614bb4565b60405180910390fd5b601260019054906101000a900460ff1615611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d90614dd4565b60405180910390fd5b6000611450610f53565b905060008211611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90614df4565b60405180910390fd5b600f548211156114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190614c54565b60405180910390fd5b600e5482826114e99190614f39565b111561152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190614c34565b60405180910390fd5b611532611dd5565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117205760011515601260009054906101000a900460ff16151514156116cf576000336040516020016115939190614928565b6040516020818303038152906040528051906020012090506115f9858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612612565b611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90614c94565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601154848261168b9190614f39565b11156116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390614b34565b60405180910390fd5b50505b81600d546116dd9190614fc0565b34101561171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690614d34565b60405180910390fd5b5b6000600190505b8281116117b957600061173a600b612dd0565b9050611746600b612582565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061179690615171565b91905055506117a53382612dde565b5080806117b190615171565b915050611727565b5050505050565b60006117ca610f53565b821061180b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180290614d94565b60405180910390fd5b60088281548110611845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601660009054906101000a900460ff1681565b61187261275a565b73ffffffffffffffffffffffffffffffffffffffff16611890611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd90614cd4565b60405180910390fd5b80601390805190602001906118fc929190613d96565b5050565b6000600a60009054906101000a900460ff16905090565b61191f61275a565b73ffffffffffffffffffffffffffffffffffffffff1661193d611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198a90614cd4565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5090614c14565b60405180910390fd5b80915050919050565b611a6a61275a565b73ffffffffffffffffffffffffffffffffffffffff16611a88611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590614cd4565b60405180910390fd5b6000601260016101000a81548160ff021916908315150217905550565b60138054611b089061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054611b349061510e565b8015611b815780601f10611b5657610100808354040283529160200191611b81565b820191906000526020600020905b815481529060010190602001808311611b6457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf190614bf4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c4961275a565b73ffffffffffffffffffffffffffffffffffffffff16611c67611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614cd4565b60405180910390fd5b611cc76000612dfc565b565b611cd161275a565b73ffffffffffffffffffffffffffffffffffffffff16611cef611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c90614cd4565b60405180910390fd5b80600f8190555050565b611d5761275a565b73ffffffffffffffffffffffffffffffffffffffff16611d75611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290614cd4565b60405180910390fd5b611dd3612ec2565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e0e9061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3a9061510e565b8015611e875780601f10611e5c57610100808354040283529160200191611e87565b820191906000526020600020905b815481529060010190602001808311611e6a57829003601f168201915b5050505050905090565b601260009054906101000a900460ff1681565b611eb6611eaf61275a565b8383612f65565b5050565b611ec261275a565b73ffffffffffffffffffffffffffffffffffffffff16611ee0611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2d90614cd4565b60405180910390fd5b6001601660006101000a81548160ff021916908315150217905550565b611f64611f5e61275a565b836128cc565b611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90614d74565b60405180910390fd5b611faf848484846130d2565b50505050565b60115481565b60148054611fc89061510e565b80601f0160208091040260200160405190810160405280929190818152602001828054611ff49061510e565b80156120415780601f1061201657610100808354040283529160200191612041565b820191906000526020600020905b81548152906001019060200180831161202457829003601f168201915b505050505081565b6060612054826126ee565b612093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208a90614cf4565b60405180910390fd5b60001515601660009054906101000a900460ff161515141561214157601580546120bc9061510e565b80601f01602080910402602001604051908101604052809291908181526020018280546120e89061510e565b80156121355780601f1061210a57610100808354040283529160200191612135565b820191906000526020600020905b81548152906001019060200180831161211857829003601f168201915b5050505050905061219d565b600061214b61312e565b9050600081511161216b5760405180602001604052806000815250612199565b80612175846131c0565b60146040516020016121899392919061496f565b6040516020818303038152906040525b9150505b919050565b6121aa61275a565b73ffffffffffffffffffffffffffffffffffffffff166121c8611dd5565b73ffffffffffffffffffffffffffffffffffffffff161461221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221590614cd4565b60405180910390fd5b8060118190555050565b600e5481565b61223661275a565b73ffffffffffffffffffffffffffffffffffffffff16612254611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190614cd4565b60405180910390fd5b80601490805190602001906122c0929190613d96565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61236061275a565b73ffffffffffffffffffffffffffffffffffffffff1661237e611dd5565b73ffffffffffffffffffffffffffffffffffffffff16146123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cb90614cd4565b60405180910390fd5b80601590805190602001906123ea929190613d96565b5050565b6123f661275a565b73ffffffffffffffffffffffffffffffffffffffff16612414611dd5565b73ffffffffffffffffffffffffffffffffffffffff161461246a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246190614cd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d190614ad4565b60405180910390fd5b6124e381612dfc565b50565b6124ee61275a565b73ffffffffffffffffffffffffffffffffffffffff1661250c611dd5565b73ffffffffffffffffffffffffffffffffffffffff1614612562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255990614cd4565b60405180910390fd5b60004790506000811161257457600080fd5b61257e824761281b565b5050565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061260b575061260a8261336d565b5b9050919050565b60008082905060005b85518110156126e057600086828151811061265f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116126a0578281604051602001612683929190614943565b6040516020818303038152906040528051906020012092506126cc565b80836040516020016126b3929190614943565b6040516020818303038152906040528051906020012092505b5080806126d890615171565b91505061261b565b508381149150509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127d5836119b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612841906149a0565b60006040518083038185875af1925050503d806000811461287e576040519150601f19603f3d011682016040523d82523d6000602084013e612883565b606091505b50509050806128c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128be90614d54565b60405180910390fd5b505050565b60006128d7826126ee565b612916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290d90614b94565b60405180910390fd5b6000612921836119b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612963575061296281856122c4565b5b806129a157508373ffffffffffffffffffffffffffffffffffffffff1661298984610c79565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129ca826119b0565b73ffffffffffffffffffffffffffffffffffffffff1614612a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1790614af4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8790614b54565b60405180910390fd5b612a9b83838361344f565b612aa6600082612762565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612af6919061501a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4d9190614f39565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c0c8383836134a7565b505050565b612c19611900565b612c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4f90614a74565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612c9c61275a565b604051612ca991906149b5565b60405180910390a1565b6000612cbe826119b0565b9050612ccc8160008461344f565b612cd7600083612762565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d27919061501a565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612dcc816000846134a7565b5050565b600081600001549050919050565b612df88282604051806020016040528060008152506134ac565b5050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612eca611900565b15612f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0190614bb4565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612f4e61275a565b604051612f5b91906149b5565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcb90614b74565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130c59190614a1c565b60405180910390a3505050565b6130dd8484846129aa565b6130e984848484613507565b613128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311f90614ab4565b60405180910390fd5b50505050565b60606013805461313d9061510e565b80601f01602080910402602001604051908101604052809291908181526020018280546131699061510e565b80156131b65780601f1061318b576101008083540402835291602001916131b6565b820191906000526020600020905b81548152906001019060200180831161319957829003601f168201915b5050505050905090565b60606000821415613208576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613368565b600082905060005b6000821461323a57808061322390615171565b915050600a826132339190614f8f565b9150613210565b60008167ffffffffffffffff81111561327c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132ae5781602001600182028036833780820191505090505b5090505b60008514613361576001826132c7919061501a565b9150600a856132d691906151e8565b60306132e29190614f39565b60f81b81838151811061331e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561335a9190614f8f565b94506132b2565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061343857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061344857506134478261369e565b5b9050919050565b613457611900565b15613497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348e90614bb4565b60405180910390fd5b6134a2838383613708565b505050565b505050565b6134b6838361381c565b6134c36000848484613507565b613502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f990614ab4565b60405180910390fd5b505050565b60006135288473ffffffffffffffffffffffffffffffffffffffff166139f6565b15613691578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261355161275a565b8786866040518563ffffffff1660e01b815260040161357394939291906149d0565b602060405180830381600087803b15801561358d57600080fd5b505af19250505080156135be57506040513d601f19601f820116820180604052508101906135bb9190614290565b60015b613641573d80600081146135ee576040519150601f19603f3d011682016040523d82523d6000602084013e6135f3565b606091505b50600081511415613639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363090614ab4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613696565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613713838383613a19565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137565761375181613a1e565b613795565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613794576137938382613a67565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137d8576137d381613bd4565b613817565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613816576138158282613d17565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561388c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388390614c74565b60405180910390fd5b613895816126ee565b156138d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138cc90614b14565b60405180910390fd5b6138e16000838361344f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139319190614f39565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139f2600083836134a7565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a7484611b89565b613a7e919061501a565b9050600060076000848152602001908152602001600020549050818114613b63576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613be8919061501a565b9050600060096000848152602001908152602001600020549050600060088381548110613c3e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d2283611b89565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613da29061510e565b90600052602060002090601f016020900481019282613dc45760008555613e0b565b82601f10613ddd57805160ff1916838001178555613e0b565b82800160010185558215613e0b579182015b82811115613e0a578251825591602001919060010190613def565b5b509050613e189190613e1c565b5090565b5b80821115613e35576000816000905550600101613e1d565b5090565b6000613e4c613e4784614e74565b614e4f565b905082815260208101848484011115613e6457600080fd5b613e6f8482856150cc565b509392505050565b6000613e8a613e8584614ea5565b614e4f565b905082815260208101848484011115613ea257600080fd5b613ead8482856150cc565b509392505050565b600081359050613ec481615a24565b92915050565b60008083601f840112613edc57600080fd5b8235905067ffffffffffffffff811115613ef557600080fd5b602083019150836020820283011115613f0d57600080fd5b9250929050565b600081359050613f2381615a3b565b92915050565b600081359050613f3881615a52565b92915050565b600081359050613f4d81615a69565b92915050565b600081519050613f6281615a69565b92915050565b600082601f830112613f7957600080fd5b8135613f89848260208601613e39565b91505092915050565b600082601f830112613fa357600080fd5b8135613fb3848260208601613e77565b91505092915050565b600081359050613fcb81615a80565b92915050565b600060208284031215613fe357600080fd5b6000613ff184828501613eb5565b91505092915050565b6000806040838503121561400d57600080fd5b600061401b85828601613eb5565b925050602061402c85828601613eb5565b9150509250929050565b60008060006060848603121561404b57600080fd5b600061405986828701613eb5565b935050602061406a86828701613eb5565b925050604061407b86828701613fbc565b9150509250925092565b6000806000806080858703121561409b57600080fd5b60006140a987828801613eb5565b94505060206140ba87828801613eb5565b93505060406140cb87828801613fbc565b925050606085013567ffffffffffffffff8111156140e857600080fd5b6140f487828801613f68565b91505092959194509250565b6000806040838503121561411357600080fd5b600061412185828601613eb5565b925050602061413285828601613f14565b9150509250929050565b6000806040838503121561414f57600080fd5b600061415d85828601613eb5565b925050602061416e85828601613fbc565b9150509250929050565b6000806020838503121561418b57600080fd5b600083013567ffffffffffffffff8111156141a557600080fd5b6141b185828601613eca565b92509250509250929050565b6000806000604084860312156141d257600080fd5b600084013567ffffffffffffffff8111156141ec57600080fd5b6141f886828701613eca565b9350935050602061420b86828701613fbc565b9150509250925092565b60006020828403121561422757600080fd5b600061423584828501613f14565b91505092915050565b60006020828403121561425057600080fd5b600061425e84828501613f29565b91505092915050565b60006020828403121561427957600080fd5b600061428784828501613f3e565b91505092915050565b6000602082840312156142a257600080fd5b60006142b084828501613f53565b91505092915050565b6000602082840312156142cb57600080fd5b600082013567ffffffffffffffff8111156142e557600080fd5b6142f184828501613f92565b91505092915050565b60006020828403121561430c57600080fd5b600061431a84828501613fbc565b91505092915050565b6000806040838503121561433657600080fd5b600061434485828601613fbc565b925050602061435585828601613eb5565b9150509250929050565b6143688161504e565b82525050565b61437f61437a8261504e565b6151ba565b82525050565b61438e81615060565b82525050565b61439d8161506c565b82525050565b6143b46143af8261506c565b6151cc565b82525050565b60006143c582614eeb565b6143cf8185614f01565b93506143df8185602086016150db565b6143e8816152d5565b840191505092915050565b60006143fe82614ef6565b6144088185614f1d565b93506144188185602086016150db565b614421816152d5565b840191505092915050565b600061443782614ef6565b6144418185614f2e565b93506144518185602086016150db565b80840191505092915050565b6000815461446a8161510e565b6144748186614f2e565b9450600182166000811461448f57600181146144a0576144d3565b60ff198316865281860193506144d3565b6144a985614ed6565b60005b838110156144cb578154818901526001820191506020810190506144ac565b838801955050505b50505092915050565b60006144e9601483614f1d565b91506144f4826152f3565b602082019050919050565b600061450c602b83614f1d565b91506145178261531c565b604082019050919050565b600061452f603283614f1d565b915061453a8261536b565b604082019050919050565b6000614552602683614f1d565b915061455d826153ba565b604082019050919050565b6000614575602583614f1d565b915061458082615409565b604082019050919050565b6000614598601c83614f1d565b91506145a382615458565b602082019050919050565b60006145bb601c83614f1d565b91506145c682615481565b602082019050919050565b60006145de602483614f1d565b91506145e9826154aa565b604082019050919050565b6000614601601983614f1d565b915061460c826154f9565b602082019050919050565b6000614624602c83614f1d565b915061462f82615522565b604082019050919050565b6000614647601083614f1d565b915061465282615571565b602082019050919050565b600061466a603883614f1d565b91506146758261559a565b604082019050919050565b600061468d602a83614f1d565b9150614698826155e9565b604082019050919050565b60006146b0602983614f1d565b91506146bb82615638565b604082019050919050565b60006146d3601683614f1d565b91506146de82615687565b602082019050919050565b60006146f6602483614f1d565b9150614701826156b0565b604082019050919050565b6000614719602083614f1d565b9150614724826156ff565b602082019050919050565b600061473c601983614f1d565b915061474782615728565b602082019050919050565b600061475f602c83614f1d565b915061476a82615751565b604082019050919050565b6000614782602083614f1d565b915061478d826157a0565b602082019050919050565b60006147a5602f83614f1d565b91506147b0826157c9565b604082019050919050565b60006147c8602183614f1d565b91506147d382615818565b604082019050919050565b60006147eb600083614f12565b91506147f682615867565b600082019050919050565b600061480e601283614f1d565b91506148198261586a565b602082019050919050565b6000614831601083614f1d565b915061483c82615893565b602082019050919050565b6000614854603183614f1d565b915061485f826158bc565b604082019050919050565b6000614877602c83614f1d565b91506148828261590b565b604082019050919050565b600061489a603083614f1d565b91506148a58261595a565b604082019050919050565b60006148bd601883614f1d565b91506148c8826159a9565b602082019050919050565b60006148e0601b83614f1d565b91506148eb826159d2565b602082019050919050565b6000614903601983614f1d565b915061490e826159fb565b602082019050919050565b614922816150c2565b82525050565b6000614934828461436e565b60148201915081905092915050565b600061494f82856143a3565b60208201915061495f82846143a3565b6020820191508190509392505050565b600061497b828661442c565b9150614987828561442c565b9150614993828461445d565b9150819050949350505050565b60006149ab826147de565b9150819050919050565b60006020820190506149ca600083018461435f565b92915050565b60006080820190506149e5600083018761435f565b6149f2602083018661435f565b6149ff6040830185614919565b8181036060830152614a1181846143ba565b905095945050505050565b6000602082019050614a316000830184614385565b92915050565b6000602082019050614a4c6000830184614394565b92915050565b60006020820190508181036000830152614a6c81846143f3565b905092915050565b60006020820190508181036000830152614a8d816144dc565b9050919050565b60006020820190508181036000830152614aad816144ff565b9050919050565b60006020820190508181036000830152614acd81614522565b9050919050565b60006020820190508181036000830152614aed81614545565b9050919050565b60006020820190508181036000830152614b0d81614568565b9050919050565b60006020820190508181036000830152614b2d8161458b565b9050919050565b60006020820190508181036000830152614b4d816145ae565b9050919050565b60006020820190508181036000830152614b6d816145d1565b9050919050565b60006020820190508181036000830152614b8d816145f4565b9050919050565b60006020820190508181036000830152614bad81614617565b9050919050565b60006020820190508181036000830152614bcd8161463a565b9050919050565b60006020820190508181036000830152614bed8161465d565b9050919050565b60006020820190508181036000830152614c0d81614680565b9050919050565b60006020820190508181036000830152614c2d816146a3565b9050919050565b60006020820190508181036000830152614c4d816146c6565b9050919050565b60006020820190508181036000830152614c6d816146e9565b9050919050565b60006020820190508181036000830152614c8d8161470c565b9050919050565b60006020820190508181036000830152614cad8161472f565b9050919050565b60006020820190508181036000830152614ccd81614752565b9050919050565b60006020820190508181036000830152614ced81614775565b9050919050565b60006020820190508181036000830152614d0d81614798565b9050919050565b60006020820190508181036000830152614d2d816147bb565b9050919050565b60006020820190508181036000830152614d4d81614801565b9050919050565b60006020820190508181036000830152614d6d81614824565b9050919050565b60006020820190508181036000830152614d8d81614847565b9050919050565b60006020820190508181036000830152614dad8161486a565b9050919050565b60006020820190508181036000830152614dcd8161488d565b9050919050565b60006020820190508181036000830152614ded816148b0565b9050919050565b60006020820190508181036000830152614e0d816148d3565b9050919050565b60006020820190508181036000830152614e2d816148f6565b9050919050565b6000602082019050614e496000830184614919565b92915050565b6000614e59614e6a565b9050614e658282615140565b919050565b6000604051905090565b600067ffffffffffffffff821115614e8f57614e8e6152a6565b5b614e98826152d5565b9050602081019050919050565b600067ffffffffffffffff821115614ec057614ebf6152a6565b5b614ec9826152d5565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f44826150c2565b9150614f4f836150c2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8457614f83615219565b5b828201905092915050565b6000614f9a826150c2565b9150614fa5836150c2565b925082614fb557614fb4615248565b5b828204905092915050565b6000614fcb826150c2565b9150614fd6836150c2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561500f5761500e615219565b5b828202905092915050565b6000615025826150c2565b9150615030836150c2565b92508282101561504357615042615219565b5b828203905092915050565b6000615059826150a2565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150f95780820151818401526020810190506150de565b83811115615108576000848401525b50505050565b6000600282049050600182168061512657607f821691505b6020821081141561513a57615139615277565b5b50919050565b615149826152d5565b810181811067ffffffffffffffff82111715615168576151676152a6565b5b80604052505050565b600061517c826150c2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151af576151ae615219565b5b600182019050919050565b60006151c5826151d6565b9050919050565b6000819050919050565b60006151e1826152e6565b9050919050565b60006151f3826150c2565b91506151fe836150c2565b92508261520e5761520d615248565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f57686974656c6973743a20496e76616c69642070726f6f662e00000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4e46543a20436f6e74726163742069732066726f7a656e2e0000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b7f4e46543a20436f6e7472616374206e6f742066726f7a656e2e00000000000000600082015250565b615a2d8161504e565b8114615a3857600080fd5b50565b615a4481615060565b8114615a4f57600080fd5b50565b615a5b8161506c565b8114615a6657600080fd5b50565b615a7281615076565b8114615a7d57600080fd5b50565b615a89816150c2565b8114615a9457600080fd5b5056fea2646970667358221220b7c6aab25092d9ae869a7aece2d63f0a2703680d59a211fbd451ddf2630a17d964736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000c426c696e6420416e67656c730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542414e474c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013697066733a2f2f6e6f7472657665616c65642f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5364476b39666e53794a487876717941786e68674e566938477969395937316a73584570444d646537686b562f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Blind Angels
Arg [1] : _symbol (string): BANGL
Arg [2] : _initBaseURI (string): ipfs://notrevealed/
Arg [3] : _initNotRevealedUri (string): ipfs://QmSdGk9fnSyJHxvqyAxnhgNVi8Gyi9Y71jsXEpDMde7hkV/

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 426c696e6420416e67656c730000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 42414e474c000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [9] : 697066733a2f2f6e6f7472657665616c65642f00000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [11] : 697066733a2f2f516d5364476b39666e53794a487876717941786e68674e5669
Arg [12] : 38477969395937316a73584570444d646537686b562f00000000000000000000


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.