ETH Price: $3,402.08 (-1.24%)
Gas: 3 Gwei

Token

Mutant Kongz Lab (MKL)
 

Overview

Max Total Supply

5,000 MKL

Holders

1,168

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
tryptomine.eth
Balance
1 MKL
0x2213E06519E54F23749bE0D80284dD86B6Bc3375
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:
MutantKongzLab

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

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

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

contract MutantKongzLab is ERC721, Ownable { 

    using ECDSA for bytes32; 
    
    string internal baseTokenURI = 'https://us-central1-mutant-kongz.cloudfunctions.net/api/asset/';

    uint public price = 0.08 ether;

    uint public maxSupply = 9999;
    uint public totalSupply = 0;

    uint public referralBonus = 0.005 ether;

    uint public maxTx = 5;
    uint public maxAssetsPresale = 3;

    bool public mintOpen = false;
    bool public presaleOpen = false;
    
    mapping(address => uint) private presaleMints;
    
    event TransferFailed(address to, uint amount);

    address private _signer = 0x0EeCf11819a8929513d6DDFD50219CaACfbc494D;
    
    constructor() ERC721("Mutant Kongz Lab", "MKL") {}

    function toggleMint() external onlyOwner {
        mintOpen = !mintOpen;
    }

    function setSigner(address newSigner) public onlyOwner {
        _signer = newSigner;
    }

    function togglePresale() external onlyOwner {
        presaleOpen = !presaleOpen;
    }
    
    function setPrice(uint newPrice) external onlyOwner {
        price = newPrice;
    }
    
    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }
    
    function setMaxSupply(uint newSupply) external onlyOwner {
        maxSupply = newSupply;
    }
    
    function setMaxTx(uint newMax) external onlyOwner {
        maxTx = newMax;
    }

    function setMaxAssetsPresale(uint newMax) external onlyOwner {
        maxAssetsPresale = newMax;
    }

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

    function giveaway(address to, uint qty) external onlyOwner {
        _mintTo(to, qty);
    }

    function buyPresale(uint qty, address referral, bytes calldata signature_) external payable {
        _buyPresale(qty, referral, signature_);
    }

    function buyPresale(uint qty, bytes calldata signature_) external payable {
        _buyPresale(qty, address(0), signature_);
    }

    function _buyPresale(uint qty, address referral, bytes calldata signature_) internal {
        require(presaleOpen, "presale closed");
        require(isInWhitelist(signature_), "address not in whitelist");
        require(presaleMints[_msgSender()] + qty <= maxAssetsPresale, "max presale mints reached");
        presaleMints[_msgSender()] += qty;
        _buy(qty, referral);
    }

    function buy(uint qty) external payable {
        require(mintOpen, "store closed");
        _buy(qty, address(0));
    }
    
    function buy(uint qty, address referral) external payable {
        require(mintOpen, "store closed");
        _buy(qty, referral);
    }

    function _buy(uint qty, address referral) internal {
        require(qty <= maxTx && qty > 0, "TRANSACTION: qty of mints not alowed");
        require(msg.value >= price * qty, "PAYMENT: invalid value");
        require(qty + totalSupply <= maxSupply, "Sold out");
        if(referral != _msgSender() && referral != address(0)){
            (bool success, ) = payable(referral).call{value:referralBonus * qty}("");
            if(!success){
                emit TransferFailed(referral, referralBonus * qty);
            }
        }
        _mintTo(_msgSender(), qty);
    }

    function _mintTo(address to, uint qty) internal {
        require(qty + totalSupply <= maxSupply, "SUPPLY: Value exceeds totalSupply");
        for(uint i = 0; i < qty; i++){
            totalSupply++;
            _safeMint(to, totalSupply);
        }
    }

    function isInWhitelist(bytes calldata signature_) private view returns (bool) {
        return ECDSA.recover(ECDSA.toEthSignedMessageHash(abi.encodePacked(_msgSender())), signature_) == _signer;
    }
    
    function withdraw() external onlyOwner {
        payable(_msgSender()).transfer(address(this).balance);
    }
    
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 12 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferFailed","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"address","name":"referral","type":"address"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"buyPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"address","name":"referral","type":"address"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"buyPresale","outputs":[],"stateMutability":"payable","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":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAssetsPresale","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":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxAssetsPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060600160405280603e815260200162004f9e603e913960079080519060200190620000359291906200028f565b5067011c37937e08000060085561270f6009556000600a556611c37937e08000600b556005600c556003600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff021916908315150217905550730eecf11819a8929513d6ddfd50219caacfbc494d601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000fa57600080fd5b506040518060400160405280601081526020017f4d7574616e74204b6f6e677a204c6162000000000000000000000000000000008152506040518060400160405280600381526020017f4d4b4c000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200017f9291906200028f565b508060019080519060200190620001989291906200028f565b505050620001bb620001af620001c160201b60201c565b620001c960201b60201c565b620003a4565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029d906200033f565b90600052602060002090601f016020900481019282620002c157600085556200030d565b82601f10620002dc57805160ff19168380011785556200030d565b828001600101855582156200030d579182015b828111156200030c578251825591602001919060010190620002ef565b5b5090506200031c919062000320565b5090565b5b808211156200033b57600081600090555060010162000321565b5090565b600060028204905060018216806200035857607f821691505b602082108114156200036f576200036e62000375565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614bea80620003b46000396000f3fe6080604052600436106102255760003560e01c80637437681e11610123578063bc337182116100ab578063d3dd5fe01161006f578063d3dd5fe01461078e578063d5abeb01146107a5578063d96a094a146107d0578063e985e9c5146107ec578063f2fde38b1461082957610225565b8063bc337182146106b6578063bee6348a146106df578063c87b56dd1461070a578063ce7842f514610747578063cf0cd7531461077257610225565b806395d89b41116100f257806395d89b41146105e5578063a035b1fe14610610578063a22cb4651461063b578063b019ab0114610664578063b88d4fde1461068d57610225565b80637437681e1461054a5780637deb6025146105755780638da5cb5b1461059157806391b7f5ed146105bc57610225565b806330176e13116101b15780636c19e783116101755780636c19e783146104885780636f8b44b0146104b157806370a08231146104da578063715018a614610517578063732ba81f1461052e57610225565b806330176e13146103cb57806334393743146103f45780633ccfd60b1461040b57806342842e0e146104225780636352211e1461044b57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806312f3422c1461032157806318160ddd1461034c57806323b872dd1461037757806324bbd049146103a057610225565b806301ffc9a71461022a578063050225ea1461026757806306fdde0314610290578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061330b565b610852565b60405161025e9190613b56565b60405180910390f35b34801561027357600080fd5b5061028e600480360381019061028991906132cb565b610934565b005b34801561029c57600080fd5b506102a56109be565b6040516102b29190613bb6565b60405180910390f35b3480156102c757600080fd5b506102e260048036038101906102dd91906133b2565b610a50565b6040516102ef9190613ac6565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a91906132cb565b610ad5565b005b34801561032d57600080fd5b50610336610bed565b6040516103439190613f58565b60405180910390f35b34801561035857600080fd5b50610361610bf3565b60405161036e9190613f58565b60405180910390f35b34801561038357600080fd5b5061039e600480360381019061039991906131b5565b610bf9565b005b3480156103ac57600080fd5b506103b5610c59565b6040516103c29190613b56565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613365565b610c6c565b005b34801561040057600080fd5b50610409610cfe565b005b34801561041757600080fd5b50610420610da6565b005b34801561042e57600080fd5b50610449600480360381019061044491906131b5565b610e72565b005b34801561045757600080fd5b50610472600480360381019061046d91906133b2565b610e92565b60405161047f9190613ac6565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa9190613148565b610f44565b005b3480156104bd57600080fd5b506104d860048036038101906104d391906133b2565b611004565b005b3480156104e657600080fd5b5061050160048036038101906104fc9190613148565b61108a565b60405161050e9190613f58565b60405180910390f35b34801561052357600080fd5b5061052c611142565b005b61054860048036038101906105439190613493565b6111ca565b005b34801561055657600080fd5b5061055f6111dc565b60405161056c9190613f58565b60405180910390f35b61058f600480360381019061058a91906133df565b6111e2565b005b34801561059d57600080fd5b506105a661123f565b6040516105b39190613ac6565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de91906133b2565b611269565b005b3480156105f157600080fd5b506105fa6112ef565b6040516106079190613bb6565b60405180910390f35b34801561061c57600080fd5b50610625611381565b6040516106329190613f58565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d919061328b565b611387565b005b34801561067057600080fd5b5061068b600480360381019061068691906133b2565b61139d565b005b34801561069957600080fd5b506106b460048036038101906106af9190613208565b611423565b005b3480156106c257600080fd5b506106dd60048036038101906106d891906133b2565b611485565b005b3480156106eb57600080fd5b506106f461150b565b6040516107019190613b56565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906133b2565b61151e565b60405161073e9190613bb6565b60405180910390f35b34801561075357600080fd5b5061075c6115c5565b6040516107699190613f58565b60405180910390f35b61078c6004803603810190610787919061341f565b6115cb565b005b34801561079a57600080fd5b506107a36115dd565b005b3480156107b157600080fd5b506107ba611685565b6040516107c79190613f58565b60405180910390f35b6107ea60048036038101906107e591906133b2565b61168b565b005b3480156107f857600080fd5b50610813600480360381019061080e9190613175565b6116e8565b6040516108209190613b56565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190613148565b61177c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092d575061092c82611874565b5b9050919050565b61093c6118de565b73ffffffffffffffffffffffffffffffffffffffff1661095a61123f565b73ffffffffffffffffffffffffffffffffffffffff16146109b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a790613e78565b60405180910390fd5b6109ba82826118e6565b5050565b6060600080546109cd906141f9565b80601f01602080910402602001604051908101604052809291908181526020018280546109f9906141f9565b8015610a465780601f10610a1b57610100808354040283529160200191610a46565b820191906000526020600020905b815481529060010190602001808311610a2957829003601f168201915b5050505050905090565b6000610a5b8261197f565b610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9190613e58565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae082610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4890613ed8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b706118de565b73ffffffffffffffffffffffffffffffffffffffff161480610b9f5750610b9e81610b996118de565b6116e8565b5b610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd590613d98565b60405180910390fd5b610be883836119eb565b505050565b600d5481565b600a5481565b610c0a610c046118de565b82611aa4565b610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090613f18565b60405180910390fd5b610c54838383611b82565b505050565b600e60009054906101000a900460ff1681565b610c746118de565b73ffffffffffffffffffffffffffffffffffffffff16610c9261123f565b73ffffffffffffffffffffffffffffffffffffffff1614610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90613e78565b60405180910390fd5b818160079190610cf9929190612f20565b505050565b610d066118de565b73ffffffffffffffffffffffffffffffffffffffff16610d2461123f565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190613e78565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b610dae6118de565b73ffffffffffffffffffffffffffffffffffffffff16610dcc61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1990613e78565b60405180910390fd5b610e2a6118de565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e6f573d6000803e3d6000fd5b50565b610e8d83838360405180602001604052806000815250611423565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290613dd8565b60405180910390fd5b80915050919050565b610f4c6118de565b73ffffffffffffffffffffffffffffffffffffffff16610f6a61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790613e78565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61100c6118de565b73ffffffffffffffffffffffffffffffffffffffff1661102a61123f565b73ffffffffffffffffffffffffffffffffffffffff1614611080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107790613e78565b60405180910390fd5b8060098190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290613db8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61114a6118de565b73ffffffffffffffffffffffffffffffffffffffff1661116861123f565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590613e78565b60405180910390fd5b6111c86000611dde565b565b6111d78360008484611ea4565b505050565b600c5481565b600e60009054906101000a900460ff16611231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122890613d78565b60405180910390fd5b61123b828261203f565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112716118de565b73ffffffffffffffffffffffffffffffffffffffff1661128f61123f565b73ffffffffffffffffffffffffffffffffffffffff16146112e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90613e78565b60405180910390fd5b8060088190555050565b6060600180546112fe906141f9565b80601f016020809104026020016040519081016040528092919081815260200182805461132a906141f9565b80156113775780601f1061134c57610100808354040283529160200191611377565b820191906000526020600020905b81548152906001019060200180831161135a57829003601f168201915b5050505050905090565b60085481565b6113996113926118de565b8383612283565b5050565b6113a56118de565b73ffffffffffffffffffffffffffffffffffffffff166113c361123f565b73ffffffffffffffffffffffffffffffffffffffff1614611419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141090613e78565b60405180910390fd5b80600d8190555050565b61143461142e6118de565b83611aa4565b611473576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146a90613f18565b60405180910390fd5b61147f848484846123f0565b50505050565b61148d6118de565b73ffffffffffffffffffffffffffffffffffffffff166114ab61123f565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890613e78565b60405180910390fd5b80600c8190555050565b600e60019054906101000a900460ff1681565b60606115298261197f565b611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f90613eb8565b60405180910390fd5b600061157261244c565b9050600081511161159257604051806020016040528060008152506115bd565b8061159c846124de565b6040516020016115ad929190613a5e565b6040516020818303038152906040525b915050919050565b600b5481565b6115d784848484611ea4565b50505050565b6115e56118de565b73ffffffffffffffffffffffffffffffffffffffff1661160361123f565b73ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165090613e78565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b60095481565b600e60009054906101000a900460ff166116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190613d78565b60405180910390fd5b6116e581600061203f565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117846118de565b73ffffffffffffffffffffffffffffffffffffffff166117a261123f565b73ffffffffffffffffffffffffffffffffffffffff16146117f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ef90613e78565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90613c58565b60405180910390fd5b61187181611dde565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600954600a54826118f79190614017565b1115611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f90613ef8565b60405180910390fd5b60005b8181101561197a57600a60008154809291906119569061425c565b919050555061196783600a5461263f565b80806119729061425c565b91505061193b565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a5e83610e92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611aaf8261197f565b611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613d58565b60405180910390fd5b6000611af983610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b6857508373ffffffffffffffffffffffffffffffffffffffff16611b5084610a50565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b795750611b7881856116e8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ba282610e92565b73ffffffffffffffffffffffffffffffffffffffff1614611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef90613e98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f90613cf8565b60405180910390fd5b611c7383838361265d565b611c7e6000826119eb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cce91906140f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d259190614017565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600e60019054906101000a900460ff16611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea90613c98565b60405180910390fd5b611efd8282612662565b611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390613e38565b60405180910390fd5b600d5484600f6000611f4c6118de565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f919190614017565b1115611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc990613bf8565b60405180910390fd5b83600f6000611fdf6118de565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120289190614017565b92505081905550612039848461203f565b50505050565b600c5482111580156120515750600082115b612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790613cb8565b60405180910390fd5b8160085461209e919061409e565b3410156120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d790613cd8565b60405180910390fd5b600954600a54836120f19190614017565b1115612132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212990613f38565b60405180910390fd5b61213a6118de565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156121a25750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b1561226e5760008173ffffffffffffffffffffffffffffffffffffffff1683600b546121ce919061409e565b6040516121da90613ab1565b60006040518083038185875af1925050503d8060008114612217576040519150601f19603f3d011682016040523d82523d6000602084013e61221c565b606091505b505090508061226c577f1c43b9761b3fba5321ca8212bfc231945f668ccc0c446f333999eea9ce8fda818284600b54612255919061409e565b604051612263929190613b2d565b60405180910390a15b505b61227f6122796118de565b836118e6565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e990613d18565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123e39190613b56565b60405180910390a3505050565b6123fb848484611b82565b61240784848484612738565b612446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243d90613c38565b60405180910390fd5b50505050565b60606007805461245b906141f9565b80601f0160208091040260200160405190810160405280929190818152602001828054612487906141f9565b80156124d45780601f106124a9576101008083540402835291602001916124d4565b820191906000526020600020905b8154815290600101906020018083116124b757829003601f168201915b5050505050905090565b60606000821415612526576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061263a565b600082905060005b600082146125585780806125419061425c565b915050600a82612551919061406d565b915061252e565b60008167ffffffffffffffff811115612574576125736143e5565b5b6040519080825280601f01601f1916602001820160405280156125a65781602001600182028036833780820191505090505b5090505b60008514612633576001826125bf91906140f8565b9150600a856125ce91906142c9565b60306125da9190614017565b60f81b8183815181106125f0576125ef6143b6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561262c919061406d565b94506125aa565b8093505050505b919050565b6126598282604051806020016040528060008152506128cf565b5050565b505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127196126cf6126ab6118de565b6040516020016126bb9190613a43565b60405160208183030381529060405261292a565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612965565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60006127598473ffffffffffffffffffffffffffffffffffffffff1661298c565b156128c2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127826118de565b8786866040518563ffffffff1660e01b81526004016127a49493929190613ae1565b602060405180830381600087803b1580156127be57600080fd5b505af19250505080156127ef57506040513d601f19601f820116820180604052508101906127ec9190613338565b60015b612872573d806000811461281f576040519150601f19603f3d011682016040523d82523d6000602084013e612824565b606091505b5060008151141561286a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286190613c38565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128c7565b600190505b949350505050565b6128d9838361299f565b6128e66000848484612738565b612925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291c90613c38565b60405180910390fd5b505050565b600061293682516124de565b82604051602001612948929190613a82565b604051602081830303815290604052805190602001209050919050565b60008060006129748585612b6d565b9150915061298181612bf0565b819250505092915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0690613e18565b60405180910390fd5b612a188161197f565b15612a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4f90613c78565b60405180910390fd5b612a646000838361265d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ab49190614017565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080604183511415612baf5760008060006020860151925060408601519150606086015160001a9050612ba387828585612dc5565b94509450505050612be9565b604083511415612be0576000806020850151915060408501519050612bd5868383612ed2565b935093505050612be9565b60006002915091505b9250929050565b60006004811115612c0457612c03614358565b5b816004811115612c1757612c16614358565b5b1415612c2257612dc2565b60016004811115612c3657612c35614358565b5b816004811115612c4957612c48614358565b5b1415612c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8190613bd8565b60405180910390fd5b60026004811115612c9e57612c9d614358565b5b816004811115612cb157612cb0614358565b5b1415612cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce990613c18565b60405180910390fd5b60036004811115612d0657612d05614358565b5b816004811115612d1957612d18614358565b5b1415612d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5190613d38565b60405180910390fd5b600480811115612d6d57612d6c614358565b5b816004811115612d8057612d7f614358565b5b1415612dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db890613df8565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e00576000600391509150612ec9565b601b8560ff1614158015612e185750601c8560ff1614155b15612e2a576000600491509150612ec9565b600060018787878760405160008152602001604052604051612e4f9493929190613b71565b6020604051602081039080840390855afa158015612e71573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ec057600060019250925050612ec9565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612f1287828885612dc5565b935093505050935093915050565b828054612f2c906141f9565b90600052602060002090601f016020900481019282612f4e5760008555612f95565b82601f10612f6757803560ff1916838001178555612f95565b82800160010185558215612f95579182015b82811115612f94578235825591602001919060010190612f79565b5b509050612fa29190612fa6565b5090565b5b80821115612fbf576000816000905550600101612fa7565b5090565b6000612fd6612fd184613f98565b613f73565b905082815260208101848484011115612ff257612ff1614423565b5b612ffd8482856141b7565b509392505050565b60008135905061301481614b58565b92915050565b60008135905061302981614b6f565b92915050565b60008135905061303e81614b86565b92915050565b60008151905061305381614b86565b92915050565b60008083601f84011261306f5761306e614419565b5b8235905067ffffffffffffffff81111561308c5761308b614414565b5b6020830191508360018202830111156130a8576130a761441e565b5b9250929050565b600082601f8301126130c4576130c3614419565b5b81356130d4848260208601612fc3565b91505092915050565b60008083601f8401126130f3576130f2614419565b5b8235905067ffffffffffffffff8111156131105761310f614414565b5b60208301915083600182028301111561312c5761312b61441e565b5b9250929050565b60008135905061314281614b9d565b92915050565b60006020828403121561315e5761315d61442d565b5b600061316c84828501613005565b91505092915050565b6000806040838503121561318c5761318b61442d565b5b600061319a85828601613005565b92505060206131ab85828601613005565b9150509250929050565b6000806000606084860312156131ce576131cd61442d565b5b60006131dc86828701613005565b93505060206131ed86828701613005565b92505060406131fe86828701613133565b9150509250925092565b600080600080608085870312156132225761322161442d565b5b600061323087828801613005565b945050602061324187828801613005565b935050604061325287828801613133565b925050606085013567ffffffffffffffff81111561327357613272614428565b5b61327f878288016130af565b91505092959194509250565b600080604083850312156132a2576132a161442d565b5b60006132b085828601613005565b92505060206132c18582860161301a565b9150509250929050565b600080604083850312156132e2576132e161442d565b5b60006132f085828601613005565b925050602061330185828601613133565b9150509250929050565b6000602082840312156133215761332061442d565b5b600061332f8482850161302f565b91505092915050565b60006020828403121561334e5761334d61442d565b5b600061335c84828501613044565b91505092915050565b6000806020838503121561337c5761337b61442d565b5b600083013567ffffffffffffffff81111561339a57613399614428565b5b6133a6858286016130dd565b92509250509250929050565b6000602082840312156133c8576133c761442d565b5b60006133d684828501613133565b91505092915050565b600080604083850312156133f6576133f561442d565b5b600061340485828601613133565b925050602061341585828601613005565b9150509250929050565b600080600080606085870312156134395761343861442d565b5b600061344787828801613133565b945050602061345887828801613005565b935050604085013567ffffffffffffffff81111561347957613478614428565b5b61348587828801613059565b925092505092959194509250565b6000806000604084860312156134ac576134ab61442d565b5b60006134ba86828701613133565b935050602084013567ffffffffffffffff8111156134db576134da614428565b5b6134e786828701613059565b92509250509250925092565b6134fc8161412c565b82525050565b61351361350e8261412c565b6142a5565b82525050565b6135228161413e565b82525050565b6135318161414a565b82525050565b600061354282613fc9565b61354c8185613fdf565b935061355c8185602086016141c6565b61356581614432565b840191505092915050565b600061357b82613fc9565b6135858185613ff0565b93506135958185602086016141c6565b80840191505092915050565b60006135ac82613fd4565b6135b68185613ffb565b93506135c68185602086016141c6565b6135cf81614432565b840191505092915050565b60006135e582613fd4565b6135ef818561400c565b93506135ff8185602086016141c6565b80840191505092915050565b6000613618601883613ffb565b915061362382614450565b602082019050919050565b600061363b601983613ffb565b915061364682614479565b602082019050919050565b600061365e601f83613ffb565b9150613669826144a2565b602082019050919050565b6000613681603283613ffb565b915061368c826144cb565b604082019050919050565b60006136a4602683613ffb565b91506136af8261451a565b604082019050919050565b60006136c7601c83613ffb565b91506136d282614569565b602082019050919050565b60006136ea600e83613ffb565b91506136f582614592565b602082019050919050565b600061370d602483613ffb565b9150613718826145bb565b604082019050919050565b6000613730601683613ffb565b915061373b8261460a565b602082019050919050565b6000613753602483613ffb565b915061375e82614633565b604082019050919050565b6000613776601983613ffb565b915061378182614682565b602082019050919050565b6000613799602283613ffb565b91506137a4826146ab565b604082019050919050565b60006137bc602c83613ffb565b91506137c7826146fa565b604082019050919050565b60006137df600c83613ffb565b91506137ea82614749565b602082019050919050565b6000613802603883613ffb565b915061380d82614772565b604082019050919050565b6000613825602a83613ffb565b9150613830826147c1565b604082019050919050565b6000613848602983613ffb565b915061385382614810565b604082019050919050565b600061386b602283613ffb565b91506138768261485f565b604082019050919050565b600061388e602083613ffb565b9150613899826148ae565b602082019050919050565b60006138b1601883613ffb565b91506138bc826148d7565b602082019050919050565b60006138d4602c83613ffb565b91506138df82614900565b604082019050919050565b60006138f7602083613ffb565b91506139028261494f565b602082019050919050565b600061391a601a8361400c565b915061392582614978565b601a82019050919050565b600061393d602983613ffb565b9150613948826149a1565b604082019050919050565b6000613960602f83613ffb565b915061396b826149f0565b604082019050919050565b6000613983602183613ffb565b915061398e82614a3f565b604082019050919050565b60006139a6602183613ffb565b91506139b182614a8e565b604082019050919050565b60006139c9600083613ff0565b91506139d482614add565b600082019050919050565b60006139ec603183613ffb565b91506139f782614ae0565b604082019050919050565b6000613a0f600883613ffb565b9150613a1a82614b2f565b602082019050919050565b613a2e816141a0565b82525050565b613a3d816141aa565b82525050565b6000613a4f8284613502565b60148201915081905092915050565b6000613a6a82856135da565b9150613a7682846135da565b91508190509392505050565b6000613a8d8261390d565b9150613a9982856135da565b9150613aa58284613570565b91508190509392505050565b6000613abc826139bc565b9150819050919050565b6000602082019050613adb60008301846134f3565b92915050565b6000608082019050613af660008301876134f3565b613b0360208301866134f3565b613b106040830185613a25565b8181036060830152613b228184613537565b905095945050505050565b6000604082019050613b4260008301856134f3565b613b4f6020830184613a25565b9392505050565b6000602082019050613b6b6000830184613519565b92915050565b6000608082019050613b866000830187613528565b613b936020830186613a34565b613ba06040830185613528565b613bad6060830184613528565b95945050505050565b60006020820190508181036000830152613bd081846135a1565b905092915050565b60006020820190508181036000830152613bf18161360b565b9050919050565b60006020820190508181036000830152613c118161362e565b9050919050565b60006020820190508181036000830152613c3181613651565b9050919050565b60006020820190508181036000830152613c5181613674565b9050919050565b60006020820190508181036000830152613c7181613697565b9050919050565b60006020820190508181036000830152613c91816136ba565b9050919050565b60006020820190508181036000830152613cb1816136dd565b9050919050565b60006020820190508181036000830152613cd181613700565b9050919050565b60006020820190508181036000830152613cf181613723565b9050919050565b60006020820190508181036000830152613d1181613746565b9050919050565b60006020820190508181036000830152613d3181613769565b9050919050565b60006020820190508181036000830152613d518161378c565b9050919050565b60006020820190508181036000830152613d71816137af565b9050919050565b60006020820190508181036000830152613d91816137d2565b9050919050565b60006020820190508181036000830152613db1816137f5565b9050919050565b60006020820190508181036000830152613dd181613818565b9050919050565b60006020820190508181036000830152613df18161383b565b9050919050565b60006020820190508181036000830152613e118161385e565b9050919050565b60006020820190508181036000830152613e3181613881565b9050919050565b60006020820190508181036000830152613e51816138a4565b9050919050565b60006020820190508181036000830152613e71816138c7565b9050919050565b60006020820190508181036000830152613e91816138ea565b9050919050565b60006020820190508181036000830152613eb181613930565b9050919050565b60006020820190508181036000830152613ed181613953565b9050919050565b60006020820190508181036000830152613ef181613976565b9050919050565b60006020820190508181036000830152613f1181613999565b9050919050565b60006020820190508181036000830152613f31816139df565b9050919050565b60006020820190508181036000830152613f5181613a02565b9050919050565b6000602082019050613f6d6000830184613a25565b92915050565b6000613f7d613f8e565b9050613f89828261422b565b919050565b6000604051905090565b600067ffffffffffffffff821115613fb357613fb26143e5565b5b613fbc82614432565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614022826141a0565b915061402d836141a0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614062576140616142fa565b5b828201905092915050565b6000614078826141a0565b9150614083836141a0565b92508261409357614092614329565b5b828204905092915050565b60006140a9826141a0565b91506140b4836141a0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140ed576140ec6142fa565b5b828202905092915050565b6000614103826141a0565b915061410e836141a0565b925082821015614121576141206142fa565b5b828203905092915050565b600061413782614180565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156141e45780820151818401526020810190506141c9565b838111156141f3576000848401525b50505050565b6000600282049050600182168061421157607f821691505b6020821081141561422557614224614387565b5b50919050565b61423482614432565b810181811067ffffffffffffffff82111715614253576142526143e5565b5b80604052505050565b6000614267826141a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561429a576142996142fa565b5b600182019050919050565b60006142b0826142b7565b9050919050565b60006142c282614443565b9050919050565b60006142d4826141a0565b91506142df836141a0565b9250826142ef576142ee614329565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f6d61782070726573616c65206d696e7473207265616368656400000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f70726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f73746f726520636c6f7365640000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f61646472657373206e6f7420696e2077686974656c6973740000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b614b618161412c565b8114614b6c57600080fd5b50565b614b788161413e565b8114614b8357600080fd5b50565b614b8f81614154565b8114614b9a57600080fd5b50565b614ba6816141a0565b8114614bb157600080fd5b5056fea2646970667358221220541c7aea7a7e2f270cccd8c282e8eef21dc316be73bba8921fcf640c9261764f64736f6c6343000806003368747470733a2f2f75732d63656e7472616c312d6d7574616e742d6b6f6e677a2e636c6f756466756e6374696f6e732e6e65742f6170692f61737365742f

Deployed Bytecode

0x6080604052600436106102255760003560e01c80637437681e11610123578063bc337182116100ab578063d3dd5fe01161006f578063d3dd5fe01461078e578063d5abeb01146107a5578063d96a094a146107d0578063e985e9c5146107ec578063f2fde38b1461082957610225565b8063bc337182146106b6578063bee6348a146106df578063c87b56dd1461070a578063ce7842f514610747578063cf0cd7531461077257610225565b806395d89b41116100f257806395d89b41146105e5578063a035b1fe14610610578063a22cb4651461063b578063b019ab0114610664578063b88d4fde1461068d57610225565b80637437681e1461054a5780637deb6025146105755780638da5cb5b1461059157806391b7f5ed146105bc57610225565b806330176e13116101b15780636c19e783116101755780636c19e783146104885780636f8b44b0146104b157806370a08231146104da578063715018a614610517578063732ba81f1461052e57610225565b806330176e13146103cb57806334393743146103f45780633ccfd60b1461040b57806342842e0e146104225780636352211e1461044b57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806312f3422c1461032157806318160ddd1461034c57806323b872dd1461037757806324bbd049146103a057610225565b806301ffc9a71461022a578063050225ea1461026757806306fdde0314610290578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061330b565b610852565b60405161025e9190613b56565b60405180910390f35b34801561027357600080fd5b5061028e600480360381019061028991906132cb565b610934565b005b34801561029c57600080fd5b506102a56109be565b6040516102b29190613bb6565b60405180910390f35b3480156102c757600080fd5b506102e260048036038101906102dd91906133b2565b610a50565b6040516102ef9190613ac6565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a91906132cb565b610ad5565b005b34801561032d57600080fd5b50610336610bed565b6040516103439190613f58565b60405180910390f35b34801561035857600080fd5b50610361610bf3565b60405161036e9190613f58565b60405180910390f35b34801561038357600080fd5b5061039e600480360381019061039991906131b5565b610bf9565b005b3480156103ac57600080fd5b506103b5610c59565b6040516103c29190613b56565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613365565b610c6c565b005b34801561040057600080fd5b50610409610cfe565b005b34801561041757600080fd5b50610420610da6565b005b34801561042e57600080fd5b50610449600480360381019061044491906131b5565b610e72565b005b34801561045757600080fd5b50610472600480360381019061046d91906133b2565b610e92565b60405161047f9190613ac6565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa9190613148565b610f44565b005b3480156104bd57600080fd5b506104d860048036038101906104d391906133b2565b611004565b005b3480156104e657600080fd5b5061050160048036038101906104fc9190613148565b61108a565b60405161050e9190613f58565b60405180910390f35b34801561052357600080fd5b5061052c611142565b005b61054860048036038101906105439190613493565b6111ca565b005b34801561055657600080fd5b5061055f6111dc565b60405161056c9190613f58565b60405180910390f35b61058f600480360381019061058a91906133df565b6111e2565b005b34801561059d57600080fd5b506105a661123f565b6040516105b39190613ac6565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de91906133b2565b611269565b005b3480156105f157600080fd5b506105fa6112ef565b6040516106079190613bb6565b60405180910390f35b34801561061c57600080fd5b50610625611381565b6040516106329190613f58565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d919061328b565b611387565b005b34801561067057600080fd5b5061068b600480360381019061068691906133b2565b61139d565b005b34801561069957600080fd5b506106b460048036038101906106af9190613208565b611423565b005b3480156106c257600080fd5b506106dd60048036038101906106d891906133b2565b611485565b005b3480156106eb57600080fd5b506106f461150b565b6040516107019190613b56565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906133b2565b61151e565b60405161073e9190613bb6565b60405180910390f35b34801561075357600080fd5b5061075c6115c5565b6040516107699190613f58565b60405180910390f35b61078c6004803603810190610787919061341f565b6115cb565b005b34801561079a57600080fd5b506107a36115dd565b005b3480156107b157600080fd5b506107ba611685565b6040516107c79190613f58565b60405180910390f35b6107ea60048036038101906107e591906133b2565b61168b565b005b3480156107f857600080fd5b50610813600480360381019061080e9190613175565b6116e8565b6040516108209190613b56565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190613148565b61177c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092d575061092c82611874565b5b9050919050565b61093c6118de565b73ffffffffffffffffffffffffffffffffffffffff1661095a61123f565b73ffffffffffffffffffffffffffffffffffffffff16146109b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a790613e78565b60405180910390fd5b6109ba82826118e6565b5050565b6060600080546109cd906141f9565b80601f01602080910402602001604051908101604052809291908181526020018280546109f9906141f9565b8015610a465780601f10610a1b57610100808354040283529160200191610a46565b820191906000526020600020905b815481529060010190602001808311610a2957829003601f168201915b5050505050905090565b6000610a5b8261197f565b610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9190613e58565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae082610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4890613ed8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b706118de565b73ffffffffffffffffffffffffffffffffffffffff161480610b9f5750610b9e81610b996118de565b6116e8565b5b610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd590613d98565b60405180910390fd5b610be883836119eb565b505050565b600d5481565b600a5481565b610c0a610c046118de565b82611aa4565b610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090613f18565b60405180910390fd5b610c54838383611b82565b505050565b600e60009054906101000a900460ff1681565b610c746118de565b73ffffffffffffffffffffffffffffffffffffffff16610c9261123f565b73ffffffffffffffffffffffffffffffffffffffff1614610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90613e78565b60405180910390fd5b818160079190610cf9929190612f20565b505050565b610d066118de565b73ffffffffffffffffffffffffffffffffffffffff16610d2461123f565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190613e78565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b610dae6118de565b73ffffffffffffffffffffffffffffffffffffffff16610dcc61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1990613e78565b60405180910390fd5b610e2a6118de565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e6f573d6000803e3d6000fd5b50565b610e8d83838360405180602001604052806000815250611423565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290613dd8565b60405180910390fd5b80915050919050565b610f4c6118de565b73ffffffffffffffffffffffffffffffffffffffff16610f6a61123f565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790613e78565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61100c6118de565b73ffffffffffffffffffffffffffffffffffffffff1661102a61123f565b73ffffffffffffffffffffffffffffffffffffffff1614611080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107790613e78565b60405180910390fd5b8060098190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290613db8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61114a6118de565b73ffffffffffffffffffffffffffffffffffffffff1661116861123f565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590613e78565b60405180910390fd5b6111c86000611dde565b565b6111d78360008484611ea4565b505050565b600c5481565b600e60009054906101000a900460ff16611231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122890613d78565b60405180910390fd5b61123b828261203f565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112716118de565b73ffffffffffffffffffffffffffffffffffffffff1661128f61123f565b73ffffffffffffffffffffffffffffffffffffffff16146112e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90613e78565b60405180910390fd5b8060088190555050565b6060600180546112fe906141f9565b80601f016020809104026020016040519081016040528092919081815260200182805461132a906141f9565b80156113775780601f1061134c57610100808354040283529160200191611377565b820191906000526020600020905b81548152906001019060200180831161135a57829003601f168201915b5050505050905090565b60085481565b6113996113926118de565b8383612283565b5050565b6113a56118de565b73ffffffffffffffffffffffffffffffffffffffff166113c361123f565b73ffffffffffffffffffffffffffffffffffffffff1614611419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141090613e78565b60405180910390fd5b80600d8190555050565b61143461142e6118de565b83611aa4565b611473576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146a90613f18565b60405180910390fd5b61147f848484846123f0565b50505050565b61148d6118de565b73ffffffffffffffffffffffffffffffffffffffff166114ab61123f565b73ffffffffffffffffffffffffffffffffffffffff1614611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890613e78565b60405180910390fd5b80600c8190555050565b600e60019054906101000a900460ff1681565b60606115298261197f565b611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f90613eb8565b60405180910390fd5b600061157261244c565b9050600081511161159257604051806020016040528060008152506115bd565b8061159c846124de565b6040516020016115ad929190613a5e565b6040516020818303038152906040525b915050919050565b600b5481565b6115d784848484611ea4565b50505050565b6115e56118de565b73ffffffffffffffffffffffffffffffffffffffff1661160361123f565b73ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165090613e78565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b60095481565b600e60009054906101000a900460ff166116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190613d78565b60405180910390fd5b6116e581600061203f565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117846118de565b73ffffffffffffffffffffffffffffffffffffffff166117a261123f565b73ffffffffffffffffffffffffffffffffffffffff16146117f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ef90613e78565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90613c58565b60405180910390fd5b61187181611dde565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600954600a54826118f79190614017565b1115611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f90613ef8565b60405180910390fd5b60005b8181101561197a57600a60008154809291906119569061425c565b919050555061196783600a5461263f565b80806119729061425c565b91505061193b565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a5e83610e92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611aaf8261197f565b611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613d58565b60405180910390fd5b6000611af983610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b6857508373ffffffffffffffffffffffffffffffffffffffff16611b5084610a50565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b795750611b7881856116e8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ba282610e92565b73ffffffffffffffffffffffffffffffffffffffff1614611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef90613e98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f90613cf8565b60405180910390fd5b611c7383838361265d565b611c7e6000826119eb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cce91906140f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d259190614017565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600e60019054906101000a900460ff16611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea90613c98565b60405180910390fd5b611efd8282612662565b611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390613e38565b60405180910390fd5b600d5484600f6000611f4c6118de565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f919190614017565b1115611fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc990613bf8565b60405180910390fd5b83600f6000611fdf6118de565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120289190614017565b92505081905550612039848461203f565b50505050565b600c5482111580156120515750600082115b612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790613cb8565b60405180910390fd5b8160085461209e919061409e565b3410156120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d790613cd8565b60405180910390fd5b600954600a54836120f19190614017565b1115612132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212990613f38565b60405180910390fd5b61213a6118de565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156121a25750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b1561226e5760008173ffffffffffffffffffffffffffffffffffffffff1683600b546121ce919061409e565b6040516121da90613ab1565b60006040518083038185875af1925050503d8060008114612217576040519150601f19603f3d011682016040523d82523d6000602084013e61221c565b606091505b505090508061226c577f1c43b9761b3fba5321ca8212bfc231945f668ccc0c446f333999eea9ce8fda818284600b54612255919061409e565b604051612263929190613b2d565b60405180910390a15b505b61227f6122796118de565b836118e6565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e990613d18565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123e39190613b56565b60405180910390a3505050565b6123fb848484611b82565b61240784848484612738565b612446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243d90613c38565b60405180910390fd5b50505050565b60606007805461245b906141f9565b80601f0160208091040260200160405190810160405280929190818152602001828054612487906141f9565b80156124d45780601f106124a9576101008083540402835291602001916124d4565b820191906000526020600020905b8154815290600101906020018083116124b757829003601f168201915b5050505050905090565b60606000821415612526576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061263a565b600082905060005b600082146125585780806125419061425c565b915050600a82612551919061406d565b915061252e565b60008167ffffffffffffffff811115612574576125736143e5565b5b6040519080825280601f01601f1916602001820160405280156125a65781602001600182028036833780820191505090505b5090505b60008514612633576001826125bf91906140f8565b9150600a856125ce91906142c9565b60306125da9190614017565b60f81b8183815181106125f0576125ef6143b6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561262c919061406d565b94506125aa565b8093505050505b919050565b6126598282604051806020016040528060008152506128cf565b5050565b505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127196126cf6126ab6118de565b6040516020016126bb9190613a43565b60405160208183030381529060405261292a565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612965565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60006127598473ffffffffffffffffffffffffffffffffffffffff1661298c565b156128c2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127826118de565b8786866040518563ffffffff1660e01b81526004016127a49493929190613ae1565b602060405180830381600087803b1580156127be57600080fd5b505af19250505080156127ef57506040513d601f19601f820116820180604052508101906127ec9190613338565b60015b612872573d806000811461281f576040519150601f19603f3d011682016040523d82523d6000602084013e612824565b606091505b5060008151141561286a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286190613c38565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128c7565b600190505b949350505050565b6128d9838361299f565b6128e66000848484612738565b612925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291c90613c38565b60405180910390fd5b505050565b600061293682516124de565b82604051602001612948929190613a82565b604051602081830303815290604052805190602001209050919050565b60008060006129748585612b6d565b9150915061298181612bf0565b819250505092915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0690613e18565b60405180910390fd5b612a188161197f565b15612a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4f90613c78565b60405180910390fd5b612a646000838361265d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ab49190614017565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080604183511415612baf5760008060006020860151925060408601519150606086015160001a9050612ba387828585612dc5565b94509450505050612be9565b604083511415612be0576000806020850151915060408501519050612bd5868383612ed2565b935093505050612be9565b60006002915091505b9250929050565b60006004811115612c0457612c03614358565b5b816004811115612c1757612c16614358565b5b1415612c2257612dc2565b60016004811115612c3657612c35614358565b5b816004811115612c4957612c48614358565b5b1415612c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8190613bd8565b60405180910390fd5b60026004811115612c9e57612c9d614358565b5b816004811115612cb157612cb0614358565b5b1415612cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce990613c18565b60405180910390fd5b60036004811115612d0657612d05614358565b5b816004811115612d1957612d18614358565b5b1415612d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5190613d38565b60405180910390fd5b600480811115612d6d57612d6c614358565b5b816004811115612d8057612d7f614358565b5b1415612dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db890613df8565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e00576000600391509150612ec9565b601b8560ff1614158015612e185750601c8560ff1614155b15612e2a576000600491509150612ec9565b600060018787878760405160008152602001604052604051612e4f9493929190613b71565b6020604051602081039080840390855afa158015612e71573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ec057600060019250925050612ec9565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612f1287828885612dc5565b935093505050935093915050565b828054612f2c906141f9565b90600052602060002090601f016020900481019282612f4e5760008555612f95565b82601f10612f6757803560ff1916838001178555612f95565b82800160010185558215612f95579182015b82811115612f94578235825591602001919060010190612f79565b5b509050612fa29190612fa6565b5090565b5b80821115612fbf576000816000905550600101612fa7565b5090565b6000612fd6612fd184613f98565b613f73565b905082815260208101848484011115612ff257612ff1614423565b5b612ffd8482856141b7565b509392505050565b60008135905061301481614b58565b92915050565b60008135905061302981614b6f565b92915050565b60008135905061303e81614b86565b92915050565b60008151905061305381614b86565b92915050565b60008083601f84011261306f5761306e614419565b5b8235905067ffffffffffffffff81111561308c5761308b614414565b5b6020830191508360018202830111156130a8576130a761441e565b5b9250929050565b600082601f8301126130c4576130c3614419565b5b81356130d4848260208601612fc3565b91505092915050565b60008083601f8401126130f3576130f2614419565b5b8235905067ffffffffffffffff8111156131105761310f614414565b5b60208301915083600182028301111561312c5761312b61441e565b5b9250929050565b60008135905061314281614b9d565b92915050565b60006020828403121561315e5761315d61442d565b5b600061316c84828501613005565b91505092915050565b6000806040838503121561318c5761318b61442d565b5b600061319a85828601613005565b92505060206131ab85828601613005565b9150509250929050565b6000806000606084860312156131ce576131cd61442d565b5b60006131dc86828701613005565b93505060206131ed86828701613005565b92505060406131fe86828701613133565b9150509250925092565b600080600080608085870312156132225761322161442d565b5b600061323087828801613005565b945050602061324187828801613005565b935050604061325287828801613133565b925050606085013567ffffffffffffffff81111561327357613272614428565b5b61327f878288016130af565b91505092959194509250565b600080604083850312156132a2576132a161442d565b5b60006132b085828601613005565b92505060206132c18582860161301a565b9150509250929050565b600080604083850312156132e2576132e161442d565b5b60006132f085828601613005565b925050602061330185828601613133565b9150509250929050565b6000602082840312156133215761332061442d565b5b600061332f8482850161302f565b91505092915050565b60006020828403121561334e5761334d61442d565b5b600061335c84828501613044565b91505092915050565b6000806020838503121561337c5761337b61442d565b5b600083013567ffffffffffffffff81111561339a57613399614428565b5b6133a6858286016130dd565b92509250509250929050565b6000602082840312156133c8576133c761442d565b5b60006133d684828501613133565b91505092915050565b600080604083850312156133f6576133f561442d565b5b600061340485828601613133565b925050602061341585828601613005565b9150509250929050565b600080600080606085870312156134395761343861442d565b5b600061344787828801613133565b945050602061345887828801613005565b935050604085013567ffffffffffffffff81111561347957613478614428565b5b61348587828801613059565b925092505092959194509250565b6000806000604084860312156134ac576134ab61442d565b5b60006134ba86828701613133565b935050602084013567ffffffffffffffff8111156134db576134da614428565b5b6134e786828701613059565b92509250509250925092565b6134fc8161412c565b82525050565b61351361350e8261412c565b6142a5565b82525050565b6135228161413e565b82525050565b6135318161414a565b82525050565b600061354282613fc9565b61354c8185613fdf565b935061355c8185602086016141c6565b61356581614432565b840191505092915050565b600061357b82613fc9565b6135858185613ff0565b93506135958185602086016141c6565b80840191505092915050565b60006135ac82613fd4565b6135b68185613ffb565b93506135c68185602086016141c6565b6135cf81614432565b840191505092915050565b60006135e582613fd4565b6135ef818561400c565b93506135ff8185602086016141c6565b80840191505092915050565b6000613618601883613ffb565b915061362382614450565b602082019050919050565b600061363b601983613ffb565b915061364682614479565b602082019050919050565b600061365e601f83613ffb565b9150613669826144a2565b602082019050919050565b6000613681603283613ffb565b915061368c826144cb565b604082019050919050565b60006136a4602683613ffb565b91506136af8261451a565b604082019050919050565b60006136c7601c83613ffb565b91506136d282614569565b602082019050919050565b60006136ea600e83613ffb565b91506136f582614592565b602082019050919050565b600061370d602483613ffb565b9150613718826145bb565b604082019050919050565b6000613730601683613ffb565b915061373b8261460a565b602082019050919050565b6000613753602483613ffb565b915061375e82614633565b604082019050919050565b6000613776601983613ffb565b915061378182614682565b602082019050919050565b6000613799602283613ffb565b91506137a4826146ab565b604082019050919050565b60006137bc602c83613ffb565b91506137c7826146fa565b604082019050919050565b60006137df600c83613ffb565b91506137ea82614749565b602082019050919050565b6000613802603883613ffb565b915061380d82614772565b604082019050919050565b6000613825602a83613ffb565b9150613830826147c1565b604082019050919050565b6000613848602983613ffb565b915061385382614810565b604082019050919050565b600061386b602283613ffb565b91506138768261485f565b604082019050919050565b600061388e602083613ffb565b9150613899826148ae565b602082019050919050565b60006138b1601883613ffb565b91506138bc826148d7565b602082019050919050565b60006138d4602c83613ffb565b91506138df82614900565b604082019050919050565b60006138f7602083613ffb565b91506139028261494f565b602082019050919050565b600061391a601a8361400c565b915061392582614978565b601a82019050919050565b600061393d602983613ffb565b9150613948826149a1565b604082019050919050565b6000613960602f83613ffb565b915061396b826149f0565b604082019050919050565b6000613983602183613ffb565b915061398e82614a3f565b604082019050919050565b60006139a6602183613ffb565b91506139b182614a8e565b604082019050919050565b60006139c9600083613ff0565b91506139d482614add565b600082019050919050565b60006139ec603183613ffb565b91506139f782614ae0565b604082019050919050565b6000613a0f600883613ffb565b9150613a1a82614b2f565b602082019050919050565b613a2e816141a0565b82525050565b613a3d816141aa565b82525050565b6000613a4f8284613502565b60148201915081905092915050565b6000613a6a82856135da565b9150613a7682846135da565b91508190509392505050565b6000613a8d8261390d565b9150613a9982856135da565b9150613aa58284613570565b91508190509392505050565b6000613abc826139bc565b9150819050919050565b6000602082019050613adb60008301846134f3565b92915050565b6000608082019050613af660008301876134f3565b613b0360208301866134f3565b613b106040830185613a25565b8181036060830152613b228184613537565b905095945050505050565b6000604082019050613b4260008301856134f3565b613b4f6020830184613a25565b9392505050565b6000602082019050613b6b6000830184613519565b92915050565b6000608082019050613b866000830187613528565b613b936020830186613a34565b613ba06040830185613528565b613bad6060830184613528565b95945050505050565b60006020820190508181036000830152613bd081846135a1565b905092915050565b60006020820190508181036000830152613bf18161360b565b9050919050565b60006020820190508181036000830152613c118161362e565b9050919050565b60006020820190508181036000830152613c3181613651565b9050919050565b60006020820190508181036000830152613c5181613674565b9050919050565b60006020820190508181036000830152613c7181613697565b9050919050565b60006020820190508181036000830152613c91816136ba565b9050919050565b60006020820190508181036000830152613cb1816136dd565b9050919050565b60006020820190508181036000830152613cd181613700565b9050919050565b60006020820190508181036000830152613cf181613723565b9050919050565b60006020820190508181036000830152613d1181613746565b9050919050565b60006020820190508181036000830152613d3181613769565b9050919050565b60006020820190508181036000830152613d518161378c565b9050919050565b60006020820190508181036000830152613d71816137af565b9050919050565b60006020820190508181036000830152613d91816137d2565b9050919050565b60006020820190508181036000830152613db1816137f5565b9050919050565b60006020820190508181036000830152613dd181613818565b9050919050565b60006020820190508181036000830152613df18161383b565b9050919050565b60006020820190508181036000830152613e118161385e565b9050919050565b60006020820190508181036000830152613e3181613881565b9050919050565b60006020820190508181036000830152613e51816138a4565b9050919050565b60006020820190508181036000830152613e71816138c7565b9050919050565b60006020820190508181036000830152613e91816138ea565b9050919050565b60006020820190508181036000830152613eb181613930565b9050919050565b60006020820190508181036000830152613ed181613953565b9050919050565b60006020820190508181036000830152613ef181613976565b9050919050565b60006020820190508181036000830152613f1181613999565b9050919050565b60006020820190508181036000830152613f31816139df565b9050919050565b60006020820190508181036000830152613f5181613a02565b9050919050565b6000602082019050613f6d6000830184613a25565b92915050565b6000613f7d613f8e565b9050613f89828261422b565b919050565b6000604051905090565b600067ffffffffffffffff821115613fb357613fb26143e5565b5b613fbc82614432565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614022826141a0565b915061402d836141a0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614062576140616142fa565b5b828201905092915050565b6000614078826141a0565b9150614083836141a0565b92508261409357614092614329565b5b828204905092915050565b60006140a9826141a0565b91506140b4836141a0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140ed576140ec6142fa565b5b828202905092915050565b6000614103826141a0565b915061410e836141a0565b925082821015614121576141206142fa565b5b828203905092915050565b600061413782614180565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156141e45780820151818401526020810190506141c9565b838111156141f3576000848401525b50505050565b6000600282049050600182168061421157607f821691505b6020821081141561422557614224614387565b5b50919050565b61423482614432565b810181811067ffffffffffffffff82111715614253576142526143e5565b5b80604052505050565b6000614267826141a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561429a576142996142fa565b5b600182019050919050565b60006142b0826142b7565b9050919050565b60006142c282614443565b9050919050565b60006142d4826141a0565b91506142df836141a0565b9250826142ef576142ee614329565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f6d61782070726573616c65206d696e7473207265616368656400000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f70726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b7f5452414e53414354494f4e3a20717479206f66206d696e7473206e6f7420616c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f5041594d454e543a20696e76616c69642076616c756500000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f73746f726520636c6f7365640000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f61646472657373206e6f7420696e2077686974656c6973740000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b614b618161412c565b8114614b6c57600080fd5b50565b614b788161413e565b8114614b8357600080fd5b50565b614b8f81614154565b8114614b9a57600080fd5b50565b614ba6816141a0565b8114614bb157600080fd5b5056fea2646970667358221220541c7aea7a7e2f270cccd8c282e8eef21dc316be73bba8921fcf640c9261764f64736f6c63430008060033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.