ETH Price: $3,327.55 (-3.87%)

Token

Pyxis (PYX)
 

Overview

Max Total Supply

0 PYX

Holders

3,115

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 PYX
0x7d1b83338a5af6f7689bb585d900b6debe071cc5
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:
Pyxis

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Pyxis.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

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

contract Pyxis is ERC721, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private tokenId;

    bool public paused = true;
    address private _couponOwner;
    string private constant NAME = "Pyxis";
    string private constant SYMBOL = "PYX";
    string private _baseUri = "";

    event BaseUri(string _from, string _to);
    event MintPaused(bool _value);
    event CouponOwner(address _from, address _to);

    mapping(address => uint256) private whitelistClaimed;

    struct Coupon {
        bytes32 r;
        bytes32 s;
        uint8 v;
    }

    constructor() ERC721(NAME, SYMBOL) {
        _couponOwner = owner();
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        emit BaseUri(_baseUri, baseURI);
        _baseUri = baseURI;
    }

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

    function setMintPaused(bool status) public onlyOwner returns (bool) {
        emit MintPaused(status);
        paused = status;
        return true;
    }

    function setCouponOwner(address newOwner) public onlyOwner returns (bool) {
        require(newOwner != address(0), "CouponOwner: new owner is the zero address");
        emit CouponOwner(_couponOwner, newOwner);
        _couponOwner = newOwner;
        return true;
    }

    function isValidUser(Coupon memory coupon)
        public
        view
        returns (bool)
    {
        return _isValidCoupon(msg.sender, coupon);
    }

    function getToken(address _sender) public view returns (uint256) {
        return whitelistClaimed[_sender];
    }

    function transferPyxis(
        address to
    ) public onlyOwner returns (uint256) {
        return _mintAction(to);
    }

    function mintPyxis(Coupon memory coupon)
        public
        returns (uint256)
    {
        require(_isValidCoupon(msg.sender, coupon), "Non whitelisted user");

        return _mintAction(msg.sender);
    }

    function _mintAction(address to) private returns (uint256) {
        require(paused == false, "Mint paused");

        // Existing Pyxis check
        require(whitelistClaimed[to] < 1, "User has Pyxis already");

        tokenId.increment();
        uint256 id = tokenId.current();
        whitelistClaimed[to] = id;
        _safeMint(to, id);
        return id;
    }

    function burnPyxis(address userAddress) public onlyOwner {
        uint256 _tokenId = whitelistClaimed[userAddress];
        super._burn(_tokenId);
    }

    function _isValidCoupon(
        address to,
        Coupon memory coupon
    ) private view returns (bool) {
        bytes32 digest = keccak256(abi.encode(to));
        
        address signer = ECDSA.recover(digest, coupon.v, coupon.r, coupon.s);
        return (signer == _couponOwner);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual override {
        revert("Token is non-transferable");
        // super.safeTransferFrom(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes memory _data
    ) public virtual override {
        revert("Token is non-transferable");
        // super.safeTransferFrom(from, to, id, _data);
    }

    function approve(address to, uint256 id) public virtual override {
        revert("Token is non-transferable");
        // super.approve(to, id);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual override {
        revert("Token is non-transferable");
        // super.transferFrom(from, to, id);
    }
    /** end: Pyxis none transferable **/
}

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 (last updated v4.5.0) (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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 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 10 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 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": "london",
  "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":false,"internalType":"string","name":"_from","type":"string"},{"indexed":false,"internalType":"string","name":"_to","type":"string"}],"name":"BaseUri","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"}],"name":"CouponOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"MintPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"address","name":"userAddress","type":"address"}],"name":"burnPyxis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"}],"name":"getToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct Pyxis.Coupon","name":"coupon","type":"tuple"}],"name":"isValidUser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct Pyxis.Coupon","name":"coupon","type":"tuple"}],"name":"mintPyxis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setCouponOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferPyxis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60806040526001600860006101000a81548160ff02191690831515021790555060405180602001604052806000815250600990805190602001906200004692919062000263565b503480156200005457600080fd5b506040518060400160405280600581526020017f50797869730000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f50595800000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d992919062000263565b508060019080519060200190620000f292919062000263565b50505062000115620001096200016b60201b60201c565b6200017360201b60201c565b620001256200023960201b60201c565b600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000377565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002719062000342565b90600052602060002090601f016020900481019282620002955760008555620002e1565b82601f10620002b057805160ff1916838001178555620002e1565b82800160010185558215620002e1579182015b82811115620002e0578251825591602001919060010190620002c3565b5b509050620002f09190620002f4565b5090565b5b808211156200030f576000816000905550600101620002f5565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200035b57607f821691505b60208210810362000371576200037062000313565b5b50919050565b61393f80620003876000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063b693550111610097578063ca4576b711610071578063ca4576b71461046e578063d8cb3a381461049e578063e985e9c5146104ce578063f2fde38b146104fe57610173565b8063b6935501146103f2578063b88d4fde14610422578063c87b56dd1461043e57610173565b8063715018a6146103305780638da5cb5b1461033a5780639308ff1c1461035857806395d89b4114610388578063a0188d94146103a6578063a22cb465146103d657610173565b806342842e0e1161013057806342842e0e1461024a57806355f804b31461026657806359770438146102825780635c975abb146102b25780636352211e146102d057806370a082311461030057610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f657806323b872dd146102125780633225c8371461022e575b600080fd5b610192600480360381019061018d9190612351565b61051a565b60405161019f9190612399565b60405180910390f35b6101b06105fc565b6040516101bd919061244d565b60405180910390f35b6101e060048036038101906101db91906124a5565b61068e565b6040516101ed9190612513565b60405180910390f35b610210600480360381019061020b919061255a565b610713565b005b61022c6004803603810190610227919061259a565b61074e565b005b610248600480360381019061024391906125ed565b610789565b005b610264600480360381019061025f919061259a565b610856565b005b610280600480360381019061027b919061274f565b610891565b005b61029c600480360381019061029791906125ed565b610961565b6040516102a991906127a7565b60405180910390f35b6102ba6109aa565b6040516102c79190612399565b60405180910390f35b6102ea60048036038101906102e591906124a5565b6109bd565b6040516102f79190612513565b60405180910390f35b61031a600480360381019061031591906125ed565b610a6e565b60405161032791906127a7565b60405180910390f35b610338610b25565b005b610342610bad565b60405161034f9190612513565b60405180910390f35b610372600480360381019061036d919061289a565b610bd7565b60405161037f9190612399565b60405180910390f35b610390610bea565b60405161039d919061244d565b60405180910390f35b6103c060048036038101906103bb919061289a565b610c7c565b6040516103cd91906127a7565b60405180910390f35b6103f060048036038101906103eb91906128f3565b610cd7565b005b61040c60048036038101906104079190612933565b610ced565b6040516104199190612399565b60405180910390f35b61043c60048036038101906104379190612a01565b610dc5565b005b610458600480360381019061045391906124a5565b610e00565b604051610465919061244d565b60405180910390f35b610488600480360381019061048391906125ed565b610ea7565b6040516104959190612399565b60405180910390f35b6104b860048036038101906104b391906125ed565b611039565b6040516104c591906127a7565b60405180910390f35b6104e860048036038101906104e39190612a84565b6110c7565b6040516104f59190612399565b60405180910390f35b610518600480360381019061051391906125ed565b61115b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105f557506105f482611252565b5b9050919050565b60606000805461060b90612af3565b80601f016020809104026020016040519081016040528092919081815260200182805461063790612af3565b80156106845780601f1061065957610100808354040283529160200191610684565b820191906000526020600020905b81548152906001019060200180831161066757829003601f168201915b5050505050905090565b6000610699826112bc565b6106d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cf90612b96565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074590612c02565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078090612c02565b60405180910390fd5b610791611328565b73ffffffffffffffffffffffffffffffffffffffff166107af610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fc90612c6e565b60405180910390fd5b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061085281611330565b5050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088890612c02565b60405180910390fd5b610899611328565b73ffffffffffffffffffffffffffffffffffffffff166108b7610bad565b73ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090490612c6e565b60405180910390fd5b7f9e30389099fbd0cfa7f14f27328e45e857b8d582d70741dde100593ab60d3cc760098260405161093f929190612d23565b60405180910390a1806009908051906020019061095d929190612242565b5050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90612dcc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590612e5e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b2d611328565b73ffffffffffffffffffffffffffffffffffffffff16610b4b610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890612c6e565b60405180910390fd5b610bab600061144d565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610be33383611513565b9050919050565b606060018054610bf990612af3565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2590612af3565b8015610c725780601f10610c4757610100808354040283529160200191610c72565b820191906000526020600020905b815481529060010190602001808311610c5557829003601f168201915b5050505050905090565b6000610c883383611513565b610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe90612eca565b60405180910390fd5b610cd0336115b6565b9050919050565b610ce9610ce2611328565b83836116fe565b5050565b6000610cf7611328565b73ffffffffffffffffffffffffffffffffffffffff16610d15610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6290612c6e565b60405180910390fd5b7f6c5077b147ba33efb2320134a1363ca18ccbacd3e2eb73438a3d23b2d7b180ba82604051610d9a9190612399565b60405180910390a181600860006101000a81548160ff02191690831515021790555060019050919050565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790612c02565b60405180910390fd5b6060610e0b826112bc565b610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4190612f5c565b60405180910390fd5b6000610e5461186a565b90506000815111610e745760405180602001604052806000815250610e9f565b80610e7e846118fc565b604051602001610e8f929190612fb8565b6040516020818303038152906040525b915050919050565b6000610eb1611328565b73ffffffffffffffffffffffffffffffffffffffff16610ecf610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c90612c6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b9061304e565b60405180910390fd5b7fe7dbf36ea4198bf264daf2c03611076c4731aa0feef5677c3085b3c262abf82e600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051610fe792919061306e565b60405180910390a181600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6000611043611328565b73ffffffffffffffffffffffffffffffffffffffff16611061610bad565b73ffffffffffffffffffffffffffffffffffffffff16146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90612c6e565b60405180910390fd5b6110c0826115b6565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611163611328565b73ffffffffffffffffffffffffffffffffffffffff16611181610bad565b73ffffffffffffffffffffffffffffffffffffffff16146111d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ce90612c6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d90613109565b60405180910390fd5b61124f8161144d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b600061133b826109bd565b905061134981600084611a5c565b611354600083611a61565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113a49190613158565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461144981600084611b1a565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080836040516020016115279190612513565b604051602081830303815290604052805190602001209050600061155982856040015186600001518760200151611b1f565b9050600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149250505092915050565b6000801515600860009054906101000a900460ff1615151461160d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611604906131d8565b60405180910390fd5b6001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061168f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168690613244565b60405180910390fd5b6116996007611b4a565b60006116a56007611b60565b905080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116f58382611b6e565b80915050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361176c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611763906132b0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161185d9190612399565b60405180910390a3505050565b60606009805461187990612af3565b80601f01602080910402602001604051908101604052809291908181526020018280546118a590612af3565b80156118f25780601f106118c7576101008083540402835291602001916118f2565b820191906000526020600020905b8154815290600101906020018083116118d557829003601f168201915b5050505050905090565b606060008203611943576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611a57565b600082905060005b6000821461197557808061195e906132d0565b915050600a8261196e9190613347565b915061194b565b60008167ffffffffffffffff81111561199157611990612624565b5b6040519080825280601f01601f1916602001820160405280156119c35781602001600182028036833780820191505090505b5090505b60008514611a50576001826119dc9190613158565b9150600a856119eb9190613378565b60306119f791906133a9565b60f81b818381518110611a0d57611a0c6133ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611a499190613347565b94506119c7565b8093505050505b919050565b505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ad4836109bd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b505050565b6000806000611b3087878787611b8c565b91509150611b3d81611c98565b8192505050949350505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611b88828260405180602001604052806000815250611e64565b5050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611bc7576000600391509150611c8f565b601b8560ff1614158015611bdf5750601c8560ff1614155b15611bf1576000600491509150611c8f565b600060018787878760405160008152602001604052604051611c16949392919061344c565b6020604051602081039080840390855afa158015611c38573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c8657600060019250925050611c8f565b80600092509250505b94509492505050565b60006004811115611cac57611cab613491565b5b816004811115611cbf57611cbe613491565b5b0315611e615760016004811115611cd957611cd8613491565b5b816004811115611cec57611ceb613491565b5b03611d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d239061350c565b60405180910390fd5b60026004811115611d4057611d3f613491565b5b816004811115611d5357611d52613491565b5b03611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a90613578565b60405180910390fd5b60036004811115611da757611da6613491565b5b816004811115611dba57611db9613491565b5b03611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df19061360a565b60405180910390fd5b600480811115611e0d57611e0c613491565b5b816004811115611e2057611e1f613491565b5b03611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e579061369c565b60405180910390fd5b5b50565b611e6e8383611ebf565b611e7b6000848484612098565b611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb19061372e565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f259061379a565b60405180910390fd5b611f37816112bc565b15611f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6e90613806565b60405180910390fd5b611f8360008383611a5c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd391906133a9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461209460008383611b1a565b5050565b60006120b98473ffffffffffffffffffffffffffffffffffffffff1661221f565b15612212578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120e2611328565b8786866040518563ffffffff1660e01b8152600401612104949392919061387b565b6020604051808303816000875af192505050801561214057506040513d601f19601f8201168201806040525081019061213d91906138dc565b60015b6121c2573d8060008114612170576040519150601f19603f3d011682016040523d82523d6000602084013e612175565b606091505b5060008151036121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b19061372e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612217565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461224e90612af3565b90600052602060002090601f01602090048101928261227057600085556122b7565b82601f1061228957805160ff19168380011785556122b7565b828001600101855582156122b7579182015b828111156122b657825182559160200191906001019061229b565b5b5090506122c491906122c8565b5090565b5b808211156122e15760008160009055506001016122c9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61232e816122f9565b811461233957600080fd5b50565b60008135905061234b81612325565b92915050565b600060208284031215612367576123666122ef565b5b60006123758482850161233c565b91505092915050565b60008115159050919050565b6123938161237e565b82525050565b60006020820190506123ae600083018461238a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123ee5780820151818401526020810190506123d3565b838111156123fd576000848401525b50505050565b6000601f19601f8301169050919050565b600061241f826123b4565b61242981856123bf565b93506124398185602086016123d0565b61244281612403565b840191505092915050565b600060208201905081810360008301526124678184612414565b905092915050565b6000819050919050565b6124828161246f565b811461248d57600080fd5b50565b60008135905061249f81612479565b92915050565b6000602082840312156124bb576124ba6122ef565b5b60006124c984828501612490565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124fd826124d2565b9050919050565b61250d816124f2565b82525050565b60006020820190506125286000830184612504565b92915050565b612537816124f2565b811461254257600080fd5b50565b6000813590506125548161252e565b92915050565b60008060408385031215612571576125706122ef565b5b600061257f85828601612545565b925050602061259085828601612490565b9150509250929050565b6000806000606084860312156125b3576125b26122ef565b5b60006125c186828701612545565b93505060206125d286828701612545565b92505060406125e386828701612490565b9150509250925092565b600060208284031215612603576126026122ef565b5b600061261184828501612545565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61265c82612403565b810181811067ffffffffffffffff8211171561267b5761267a612624565b5b80604052505050565b600061268e6122e5565b905061269a8282612653565b919050565b600067ffffffffffffffff8211156126ba576126b9612624565b5b6126c382612403565b9050602081019050919050565b82818337600083830152505050565b60006126f26126ed8461269f565b612684565b90508281526020810184848401111561270e5761270d61261f565b5b6127198482856126d0565b509392505050565b600082601f8301126127365761273561261a565b5b81356127468482602086016126df565b91505092915050565b600060208284031215612765576127646122ef565b5b600082013567ffffffffffffffff811115612783576127826122f4565b5b61278f84828501612721565b91505092915050565b6127a18161246f565b82525050565b60006020820190506127bc6000830184612798565b92915050565b600080fd5b6000819050919050565b6127da816127c7565b81146127e557600080fd5b50565b6000813590506127f7816127d1565b92915050565b600060ff82169050919050565b612813816127fd565b811461281e57600080fd5b50565b6000813590506128308161280a565b92915050565b60006060828403121561284c5761284b6127c2565b5b6128566060612684565b90506000612866848285016127e8565b600083015250602061287a848285016127e8565b602083015250604061288e84828501612821565b60408301525092915050565b6000606082840312156128b0576128af6122ef565b5b60006128be84828501612836565b91505092915050565b6128d08161237e565b81146128db57600080fd5b50565b6000813590506128ed816128c7565b92915050565b6000806040838503121561290a576129096122ef565b5b600061291885828601612545565b9250506020612929858286016128de565b9150509250929050565b600060208284031215612949576129486122ef565b5b6000612957848285016128de565b91505092915050565b600067ffffffffffffffff82111561297b5761297a612624565b5b61298482612403565b9050602081019050919050565b60006129a461299f84612960565b612684565b9050828152602081018484840111156129c0576129bf61261f565b5b6129cb8482856126d0565b509392505050565b600082601f8301126129e8576129e761261a565b5b81356129f8848260208601612991565b91505092915050565b60008060008060808587031215612a1b57612a1a6122ef565b5b6000612a2987828801612545565b9450506020612a3a87828801612545565b9350506040612a4b87828801612490565b925050606085013567ffffffffffffffff811115612a6c57612a6b6122f4565b5b612a78878288016129d3565b91505092959194509250565b60008060408385031215612a9b57612a9a6122ef565b5b6000612aa985828601612545565b9250506020612aba85828601612545565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612b0b57607f821691505b602082108103612b1e57612b1d612ac4565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612b80602c836123bf565b9150612b8b82612b24565b604082019050919050565b60006020820190508181036000830152612baf81612b73565b9050919050565b7f546f6b656e206973206e6f6e2d7472616e7366657261626c6500000000000000600082015250565b6000612bec6019836123bf565b9150612bf782612bb6565b602082019050919050565b60006020820190508181036000830152612c1b81612bdf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c586020836123bf565b9150612c6382612c22565b602082019050919050565b60006020820190508181036000830152612c8781612c4b565b9050919050565b60008190508160005260206000209050919050565b60008154612cb081612af3565b612cba81866123bf565b94506001821660008114612cd55760018114612ce757612d1a565b60ff1983168652602086019350612d1a565b612cf085612c8e565b60005b83811015612d1257815481890152600182019150602081019050612cf3565b808801955050505b50505092915050565b60006040820190508181036000830152612d3d8185612ca3565b90508181036020830152612d518184612414565b90509392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612db66029836123bf565b9150612dc182612d5a565b604082019050919050565b60006020820190508181036000830152612de581612da9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612e48602a836123bf565b9150612e5382612dec565b604082019050919050565b60006020820190508181036000830152612e7781612e3b565b9050919050565b7f4e6f6e2077686974656c69737465642075736572000000000000000000000000600082015250565b6000612eb46014836123bf565b9150612ebf82612e7e565b602082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612f46602f836123bf565b9150612f5182612eea565b604082019050919050565b60006020820190508181036000830152612f7581612f39565b9050919050565b600081905092915050565b6000612f92826123b4565b612f9c8185612f7c565b9350612fac8185602086016123d0565b80840191505092915050565b6000612fc48285612f87565b9150612fd08284612f87565b91508190509392505050565b7f436f75706f6e4f776e65723a206e6577206f776e657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613038602a836123bf565b915061304382612fdc565b604082019050919050565b600060208201905081810360008301526130678161302b565b9050919050565b60006040820190506130836000830185612504565b6130906020830184612504565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130f36026836123bf565b91506130fe82613097565b604082019050919050565b60006020820190508181036000830152613122816130e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131638261246f565b915061316e8361246f565b92508282101561318157613180613129565b5b828203905092915050565b7f4d696e7420706175736564000000000000000000000000000000000000000000600082015250565b60006131c2600b836123bf565b91506131cd8261318c565b602082019050919050565b600060208201905081810360008301526131f1816131b5565b9050919050565b7f557365722068617320507978697320616c726561647900000000000000000000600082015250565b600061322e6016836123bf565b9150613239826131f8565b602082019050919050565b6000602082019050818103600083015261325d81613221565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061329a6019836123bf565b91506132a582613264565b602082019050919050565b600060208201905081810360008301526132c98161328d565b9050919050565b60006132db8261246f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361330d5761330c613129565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006133528261246f565b915061335d8361246f565b92508261336d5761336c613318565b5b828204905092915050565b60006133838261246f565b915061338e8361246f565b92508261339e5761339d613318565b5b828206905092915050565b60006133b48261246f565b91506133bf8361246f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133f4576133f3613129565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b613437816127c7565b82525050565b613446816127fd565b82525050565b6000608082019050613461600083018761342e565b61346e602083018661343d565b61347b604083018561342e565b613488606083018461342e565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006134f66018836123bf565b9150613501826134c0565b602082019050919050565b60006020820190508181036000830152613525816134e9565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613562601f836123bf565b915061356d8261352c565b602082019050919050565b6000602082019050818103600083015261359181613555565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006135f46022836123bf565b91506135ff82613598565b604082019050919050565b60006020820190508181036000830152613623816135e7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006136866022836123bf565b91506136918261362a565b604082019050919050565b600060208201905081810360008301526136b581613679565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006137186032836123bf565b9150613723826136bc565b604082019050919050565b600060208201905081810360008301526137478161370b565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006137846020836123bf565b915061378f8261374e565b602082019050919050565b600060208201905081810360008301526137b381613777565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006137f0601c836123bf565b91506137fb826137ba565b602082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061384d82613826565b6138578185613831565b93506138678185602086016123d0565b61387081612403565b840191505092915050565b60006080820190506138906000830187612504565b61389d6020830186612504565b6138aa6040830185612798565b81810360608301526138bc8184613842565b905095945050505050565b6000815190506138d681612325565b92915050565b6000602082840312156138f2576138f16122ef565b5b6000613900848285016138c7565b9150509291505056fea2646970667358221220ba8e79049e65370aa7d629290f4cdd398a22e27c775699a147ae37f4f983848664736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063b693550111610097578063ca4576b711610071578063ca4576b71461046e578063d8cb3a381461049e578063e985e9c5146104ce578063f2fde38b146104fe57610173565b8063b6935501146103f2578063b88d4fde14610422578063c87b56dd1461043e57610173565b8063715018a6146103305780638da5cb5b1461033a5780639308ff1c1461035857806395d89b4114610388578063a0188d94146103a6578063a22cb465146103d657610173565b806342842e0e1161013057806342842e0e1461024a57806355f804b31461026657806359770438146102825780635c975abb146102b25780636352211e146102d057806370a082311461030057610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f657806323b872dd146102125780633225c8371461022e575b600080fd5b610192600480360381019061018d9190612351565b61051a565b60405161019f9190612399565b60405180910390f35b6101b06105fc565b6040516101bd919061244d565b60405180910390f35b6101e060048036038101906101db91906124a5565b61068e565b6040516101ed9190612513565b60405180910390f35b610210600480360381019061020b919061255a565b610713565b005b61022c6004803603810190610227919061259a565b61074e565b005b610248600480360381019061024391906125ed565b610789565b005b610264600480360381019061025f919061259a565b610856565b005b610280600480360381019061027b919061274f565b610891565b005b61029c600480360381019061029791906125ed565b610961565b6040516102a991906127a7565b60405180910390f35b6102ba6109aa565b6040516102c79190612399565b60405180910390f35b6102ea60048036038101906102e591906124a5565b6109bd565b6040516102f79190612513565b60405180910390f35b61031a600480360381019061031591906125ed565b610a6e565b60405161032791906127a7565b60405180910390f35b610338610b25565b005b610342610bad565b60405161034f9190612513565b60405180910390f35b610372600480360381019061036d919061289a565b610bd7565b60405161037f9190612399565b60405180910390f35b610390610bea565b60405161039d919061244d565b60405180910390f35b6103c060048036038101906103bb919061289a565b610c7c565b6040516103cd91906127a7565b60405180910390f35b6103f060048036038101906103eb91906128f3565b610cd7565b005b61040c60048036038101906104079190612933565b610ced565b6040516104199190612399565b60405180910390f35b61043c60048036038101906104379190612a01565b610dc5565b005b610458600480360381019061045391906124a5565b610e00565b604051610465919061244d565b60405180910390f35b610488600480360381019061048391906125ed565b610ea7565b6040516104959190612399565b60405180910390f35b6104b860048036038101906104b391906125ed565b611039565b6040516104c591906127a7565b60405180910390f35b6104e860048036038101906104e39190612a84565b6110c7565b6040516104f59190612399565b60405180910390f35b610518600480360381019061051391906125ed565b61115b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105f557506105f482611252565b5b9050919050565b60606000805461060b90612af3565b80601f016020809104026020016040519081016040528092919081815260200182805461063790612af3565b80156106845780601f1061065957610100808354040283529160200191610684565b820191906000526020600020905b81548152906001019060200180831161066757829003601f168201915b5050505050905090565b6000610699826112bc565b6106d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cf90612b96565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074590612c02565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078090612c02565b60405180910390fd5b610791611328565b73ffffffffffffffffffffffffffffffffffffffff166107af610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fc90612c6e565b60405180910390fd5b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905061085281611330565b5050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088890612c02565b60405180910390fd5b610899611328565b73ffffffffffffffffffffffffffffffffffffffff166108b7610bad565b73ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090490612c6e565b60405180910390fd5b7f9e30389099fbd0cfa7f14f27328e45e857b8d582d70741dde100593ab60d3cc760098260405161093f929190612d23565b60405180910390a1806009908051906020019061095d929190612242565b5050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90612dcc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590612e5e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b2d611328565b73ffffffffffffffffffffffffffffffffffffffff16610b4b610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9890612c6e565b60405180910390fd5b610bab600061144d565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610be33383611513565b9050919050565b606060018054610bf990612af3565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2590612af3565b8015610c725780601f10610c4757610100808354040283529160200191610c72565b820191906000526020600020905b815481529060010190602001808311610c5557829003601f168201915b5050505050905090565b6000610c883383611513565b610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe90612eca565b60405180910390fd5b610cd0336115b6565b9050919050565b610ce9610ce2611328565b83836116fe565b5050565b6000610cf7611328565b73ffffffffffffffffffffffffffffffffffffffff16610d15610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6290612c6e565b60405180910390fd5b7f6c5077b147ba33efb2320134a1363ca18ccbacd3e2eb73438a3d23b2d7b180ba82604051610d9a9190612399565b60405180910390a181600860006101000a81548160ff02191690831515021790555060019050919050565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790612c02565b60405180910390fd5b6060610e0b826112bc565b610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4190612f5c565b60405180910390fd5b6000610e5461186a565b90506000815111610e745760405180602001604052806000815250610e9f565b80610e7e846118fc565b604051602001610e8f929190612fb8565b6040516020818303038152906040525b915050919050565b6000610eb1611328565b73ffffffffffffffffffffffffffffffffffffffff16610ecf610bad565b73ffffffffffffffffffffffffffffffffffffffff1614610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c90612c6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b9061304e565b60405180910390fd5b7fe7dbf36ea4198bf264daf2c03611076c4731aa0feef5677c3085b3c262abf82e600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051610fe792919061306e565b60405180910390a181600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6000611043611328565b73ffffffffffffffffffffffffffffffffffffffff16611061610bad565b73ffffffffffffffffffffffffffffffffffffffff16146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90612c6e565b60405180910390fd5b6110c0826115b6565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611163611328565b73ffffffffffffffffffffffffffffffffffffffff16611181610bad565b73ffffffffffffffffffffffffffffffffffffffff16146111d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ce90612c6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d90613109565b60405180910390fd5b61124f8161144d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b600061133b826109bd565b905061134981600084611a5c565b611354600083611a61565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113a49190613158565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461144981600084611b1a565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080836040516020016115279190612513565b604051602081830303815290604052805190602001209050600061155982856040015186600001518760200151611b1f565b9050600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149250505092915050565b6000801515600860009054906101000a900460ff1615151461160d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611604906131d8565b60405180910390fd5b6001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061168f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168690613244565b60405180910390fd5b6116996007611b4a565b60006116a56007611b60565b905080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116f58382611b6e565b80915050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361176c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611763906132b0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161185d9190612399565b60405180910390a3505050565b60606009805461187990612af3565b80601f01602080910402602001604051908101604052809291908181526020018280546118a590612af3565b80156118f25780601f106118c7576101008083540402835291602001916118f2565b820191906000526020600020905b8154815290600101906020018083116118d557829003601f168201915b5050505050905090565b606060008203611943576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611a57565b600082905060005b6000821461197557808061195e906132d0565b915050600a8261196e9190613347565b915061194b565b60008167ffffffffffffffff81111561199157611990612624565b5b6040519080825280601f01601f1916602001820160405280156119c35781602001600182028036833780820191505090505b5090505b60008514611a50576001826119dc9190613158565b9150600a856119eb9190613378565b60306119f791906133a9565b60f81b818381518110611a0d57611a0c6133ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611a499190613347565b94506119c7565b8093505050505b919050565b505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ad4836109bd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b505050565b6000806000611b3087878787611b8c565b91509150611b3d81611c98565b8192505050949350505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611b88828260405180602001604052806000815250611e64565b5050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611bc7576000600391509150611c8f565b601b8560ff1614158015611bdf5750601c8560ff1614155b15611bf1576000600491509150611c8f565b600060018787878760405160008152602001604052604051611c16949392919061344c565b6020604051602081039080840390855afa158015611c38573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c8657600060019250925050611c8f565b80600092509250505b94509492505050565b60006004811115611cac57611cab613491565b5b816004811115611cbf57611cbe613491565b5b0315611e615760016004811115611cd957611cd8613491565b5b816004811115611cec57611ceb613491565b5b03611d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d239061350c565b60405180910390fd5b60026004811115611d4057611d3f613491565b5b816004811115611d5357611d52613491565b5b03611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a90613578565b60405180910390fd5b60036004811115611da757611da6613491565b5b816004811115611dba57611db9613491565b5b03611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df19061360a565b60405180910390fd5b600480811115611e0d57611e0c613491565b5b816004811115611e2057611e1f613491565b5b03611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e579061369c565b60405180910390fd5b5b50565b611e6e8383611ebf565b611e7b6000848484612098565b611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb19061372e565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f259061379a565b60405180910390fd5b611f37816112bc565b15611f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6e90613806565b60405180910390fd5b611f8360008383611a5c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd391906133a9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461209460008383611b1a565b5050565b60006120b98473ffffffffffffffffffffffffffffffffffffffff1661221f565b15612212578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120e2611328565b8786866040518563ffffffff1660e01b8152600401612104949392919061387b565b6020604051808303816000875af192505050801561214057506040513d601f19601f8201168201806040525081019061213d91906138dc565b60015b6121c2573d8060008114612170576040519150601f19603f3d011682016040523d82523d6000602084013e612175565b606091505b5060008151036121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b19061372e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612217565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461224e90612af3565b90600052602060002090601f01602090048101928261227057600085556122b7565b82601f1061228957805160ff19168380011785556122b7565b828001600101855582156122b7579182015b828111156122b657825182559160200191906001019061229b565b5b5090506122c491906122c8565b5090565b5b808211156122e15760008160009055506001016122c9565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61232e816122f9565b811461233957600080fd5b50565b60008135905061234b81612325565b92915050565b600060208284031215612367576123666122ef565b5b60006123758482850161233c565b91505092915050565b60008115159050919050565b6123938161237e565b82525050565b60006020820190506123ae600083018461238a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123ee5780820151818401526020810190506123d3565b838111156123fd576000848401525b50505050565b6000601f19601f8301169050919050565b600061241f826123b4565b61242981856123bf565b93506124398185602086016123d0565b61244281612403565b840191505092915050565b600060208201905081810360008301526124678184612414565b905092915050565b6000819050919050565b6124828161246f565b811461248d57600080fd5b50565b60008135905061249f81612479565b92915050565b6000602082840312156124bb576124ba6122ef565b5b60006124c984828501612490565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124fd826124d2565b9050919050565b61250d816124f2565b82525050565b60006020820190506125286000830184612504565b92915050565b612537816124f2565b811461254257600080fd5b50565b6000813590506125548161252e565b92915050565b60008060408385031215612571576125706122ef565b5b600061257f85828601612545565b925050602061259085828601612490565b9150509250929050565b6000806000606084860312156125b3576125b26122ef565b5b60006125c186828701612545565b93505060206125d286828701612545565b92505060406125e386828701612490565b9150509250925092565b600060208284031215612603576126026122ef565b5b600061261184828501612545565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61265c82612403565b810181811067ffffffffffffffff8211171561267b5761267a612624565b5b80604052505050565b600061268e6122e5565b905061269a8282612653565b919050565b600067ffffffffffffffff8211156126ba576126b9612624565b5b6126c382612403565b9050602081019050919050565b82818337600083830152505050565b60006126f26126ed8461269f565b612684565b90508281526020810184848401111561270e5761270d61261f565b5b6127198482856126d0565b509392505050565b600082601f8301126127365761273561261a565b5b81356127468482602086016126df565b91505092915050565b600060208284031215612765576127646122ef565b5b600082013567ffffffffffffffff811115612783576127826122f4565b5b61278f84828501612721565b91505092915050565b6127a18161246f565b82525050565b60006020820190506127bc6000830184612798565b92915050565b600080fd5b6000819050919050565b6127da816127c7565b81146127e557600080fd5b50565b6000813590506127f7816127d1565b92915050565b600060ff82169050919050565b612813816127fd565b811461281e57600080fd5b50565b6000813590506128308161280a565b92915050565b60006060828403121561284c5761284b6127c2565b5b6128566060612684565b90506000612866848285016127e8565b600083015250602061287a848285016127e8565b602083015250604061288e84828501612821565b60408301525092915050565b6000606082840312156128b0576128af6122ef565b5b60006128be84828501612836565b91505092915050565b6128d08161237e565b81146128db57600080fd5b50565b6000813590506128ed816128c7565b92915050565b6000806040838503121561290a576129096122ef565b5b600061291885828601612545565b9250506020612929858286016128de565b9150509250929050565b600060208284031215612949576129486122ef565b5b6000612957848285016128de565b91505092915050565b600067ffffffffffffffff82111561297b5761297a612624565b5b61298482612403565b9050602081019050919050565b60006129a461299f84612960565b612684565b9050828152602081018484840111156129c0576129bf61261f565b5b6129cb8482856126d0565b509392505050565b600082601f8301126129e8576129e761261a565b5b81356129f8848260208601612991565b91505092915050565b60008060008060808587031215612a1b57612a1a6122ef565b5b6000612a2987828801612545565b9450506020612a3a87828801612545565b9350506040612a4b87828801612490565b925050606085013567ffffffffffffffff811115612a6c57612a6b6122f4565b5b612a78878288016129d3565b91505092959194509250565b60008060408385031215612a9b57612a9a6122ef565b5b6000612aa985828601612545565b9250506020612aba85828601612545565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612b0b57607f821691505b602082108103612b1e57612b1d612ac4565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612b80602c836123bf565b9150612b8b82612b24565b604082019050919050565b60006020820190508181036000830152612baf81612b73565b9050919050565b7f546f6b656e206973206e6f6e2d7472616e7366657261626c6500000000000000600082015250565b6000612bec6019836123bf565b9150612bf782612bb6565b602082019050919050565b60006020820190508181036000830152612c1b81612bdf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c586020836123bf565b9150612c6382612c22565b602082019050919050565b60006020820190508181036000830152612c8781612c4b565b9050919050565b60008190508160005260206000209050919050565b60008154612cb081612af3565b612cba81866123bf565b94506001821660008114612cd55760018114612ce757612d1a565b60ff1983168652602086019350612d1a565b612cf085612c8e565b60005b83811015612d1257815481890152600182019150602081019050612cf3565b808801955050505b50505092915050565b60006040820190508181036000830152612d3d8185612ca3565b90508181036020830152612d518184612414565b90509392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000612db66029836123bf565b9150612dc182612d5a565b604082019050919050565b60006020820190508181036000830152612de581612da9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000612e48602a836123bf565b9150612e5382612dec565b604082019050919050565b60006020820190508181036000830152612e7781612e3b565b9050919050565b7f4e6f6e2077686974656c69737465642075736572000000000000000000000000600082015250565b6000612eb46014836123bf565b9150612ebf82612e7e565b602082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612f46602f836123bf565b9150612f5182612eea565b604082019050919050565b60006020820190508181036000830152612f7581612f39565b9050919050565b600081905092915050565b6000612f92826123b4565b612f9c8185612f7c565b9350612fac8185602086016123d0565b80840191505092915050565b6000612fc48285612f87565b9150612fd08284612f87565b91508190509392505050565b7f436f75706f6e4f776e65723a206e6577206f776e657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613038602a836123bf565b915061304382612fdc565b604082019050919050565b600060208201905081810360008301526130678161302b565b9050919050565b60006040820190506130836000830185612504565b6130906020830184612504565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130f36026836123bf565b91506130fe82613097565b604082019050919050565b60006020820190508181036000830152613122816130e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131638261246f565b915061316e8361246f565b92508282101561318157613180613129565b5b828203905092915050565b7f4d696e7420706175736564000000000000000000000000000000000000000000600082015250565b60006131c2600b836123bf565b91506131cd8261318c565b602082019050919050565b600060208201905081810360008301526131f1816131b5565b9050919050565b7f557365722068617320507978697320616c726561647900000000000000000000600082015250565b600061322e6016836123bf565b9150613239826131f8565b602082019050919050565b6000602082019050818103600083015261325d81613221565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061329a6019836123bf565b91506132a582613264565b602082019050919050565b600060208201905081810360008301526132c98161328d565b9050919050565b60006132db8261246f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361330d5761330c613129565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006133528261246f565b915061335d8361246f565b92508261336d5761336c613318565b5b828204905092915050565b60006133838261246f565b915061338e8361246f565b92508261339e5761339d613318565b5b828206905092915050565b60006133b48261246f565b91506133bf8361246f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133f4576133f3613129565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b613437816127c7565b82525050565b613446816127fd565b82525050565b6000608082019050613461600083018761342e565b61346e602083018661343d565b61347b604083018561342e565b613488606083018461342e565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006134f66018836123bf565b9150613501826134c0565b602082019050919050565b60006020820190508181036000830152613525816134e9565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613562601f836123bf565b915061356d8261352c565b602082019050919050565b6000602082019050818103600083015261359181613555565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006135f46022836123bf565b91506135ff82613598565b604082019050919050565b60006020820190508181036000830152613623816135e7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006136866022836123bf565b91506136918261362a565b604082019050919050565b600060208201905081810360008301526136b581613679565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006137186032836123bf565b9150613723826136bc565b604082019050919050565b600060208201905081810360008301526137478161370b565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006137846020836123bf565b915061378f8261374e565b602082019050919050565b600060208201905081810360008301526137b381613777565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006137f0601c836123bf565b91506137fb826137ba565b602082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061384d82613826565b6138578185613831565b93506138678185602086016123d0565b61387081612403565b840191505092915050565b60006080820190506138906000830187612504565b61389d6020830186612504565b6138aa6040830185612798565b81810360608301526138bc8184613842565b905095945050505050565b6000815190506138d681612325565b92915050565b6000602082840312156138f2576138f16122ef565b5b6000613900848285016138c7565b9150509291505056fea2646970667358221220ba8e79049e65370aa7d629290f4cdd398a22e27c775699a147ae37f4f983848664736f6c634300080d0033

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.