ETH Price: $3,367.64 (-2.22%)
Gas: 2 Gwei

Contract

0x1a20B565A68C00A7463F53948d938107b7c76958
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x4c783902ca2b17bfdc41520a367141462611467087db58b78d145984ff02a6ae Set Approval For...(pending)2024-06-23 3:49:045 days ago1719114544IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH(Pending)(Pending)
Set Approval For...201443542024-06-22 2:45:476 days ago1719024347IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000125272.70485204
Set Approval For...201255962024-06-19 11:50:119 days ago1718797811IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000199424.313659
Set Approval For...201091192024-06-17 4:27:2311 days ago1718598443IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000117722.54177058
Set Approval For...201021872024-06-16 5:13:3512 days ago1718514815IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000117242.53204234
Set Approval For...200666042024-06-11 5:49:5917 days ago1718084999IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.00021884.73290849
Set Approval For...200603142024-06-10 8:43:2318 days ago1718009003IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000110014.17798108
Set Approval For...200603112024-06-10 8:42:4718 days ago1718008967IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000197514.27236972
Set Approval For...200512092024-06-09 2:12:4719 days ago1717899167IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000222364.80117355
Set Approval For...200374842024-06-07 4:12:4721 days ago1717733567IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000404288.7448175
Set Approval For...200321162024-06-06 10:13:2322 days ago1717668803IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.0007530516.28904034
Safe Transfer Fr...200231532024-06-05 4:11:3523 days ago1717560695IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000692617.55780032
Safe Transfer Fr...200231502024-06-05 4:10:5923 days ago1717560659IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000590257.43932599
Safe Transfer Fr...200231452024-06-05 4:09:5923 days ago1717560599IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000567587.15351778
Safe Transfer Fr...200231352024-06-05 4:07:5923 days ago1717560479IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000702396.89047076
Set Approval For...200224042024-06-05 1:41:1123 days ago1717551671IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000356857.71896903
Set Approval For...199372122024-05-24 3:59:4735 days ago1716523187IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000263335.6871767
Set Approval For...199095542024-05-20 7:09:3539 days ago1716188975IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000137132.96622184
Set Approval For...199029762024-05-19 9:05:3540 days ago1716109535IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000074193.04053405
Set Approval For...198929152024-05-17 23:18:3541 days ago1715987915IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000074833.06659705
Set Approval For...198733992024-05-15 5:50:4744 days ago1715752247IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000173173.74587079
Set Approval For...198671392024-05-14 8:44:2345 days ago1715676263IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000289796.26839858
Set Approval For...198238792024-05-08 7:32:5951 days ago1715153579IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000204754.42092702
Set Approval For...198238312024-05-08 7:23:2351 days ago1715153003IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.00020314.38522296
Set Approval For...197720542024-05-01 1:39:1158 days ago1714527551IN
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
0 ETH0.000162346.65582416
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
146909182022-05-01 8:32:36789 days ago1651393956
NFTSTAR Fan Pass - Son Heung-Min: HM-SON Token
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTFactoryERC721

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-04
*/

// File: IAllowsProxy.sol


pragma solidity >=0.8.4;

interface IAllowsProxy {
    function isProxyActive() external view returns (bool);

    function proxyAddress() external view returns (address);

    function isApprovedForProxy(address _owner, address _operator)
        external
        view
        returns (bool);
}

// File: IFactoryMintable.sol


pragma solidity >=0.8.4;

interface IFactoryMintable {
    function factoryMint(uint256 _optionId, address _to) external;

    function factoryCanMint(uint256 _optionId) external returns (bool);
}

// File: INFT.sol


pragma solidity ^0.8.7;

interface INFT{

    function mintTo(address recipient) external returns (uint256);

    function remaining() external view returns (uint256);
}
// File: Initializable.sol


pragma solidity ^0.8.7;
/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/Initializable.sol
 */
contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}
// File: EIP712Base.sol


pragma solidity ^0.8.7;


/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol
 */
contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string public constant ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH =
        keccak256(
            bytes(
                "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
            )
        );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(string memory name) internal initializer {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: NativeMetaTransaction.sol



pragma solidity ^0.8.0;



contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH =
        keccak256(
            bytes(
                "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
            )
        );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransactionWithExternalNonce(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV,
        uint256 userNonce
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: userNonce,
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );
        require(userNonce == nonces[userAddress]);
        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = userNonce.add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

// File: ContextMixin.sol


pragma solidity ^0.8.7;
/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/ContextMixin.sol
 */
abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}
// File: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File: @openzeppelin/contracts/utils/Counters.sol


// 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: @openzeppelin/contracts/utils/Strings.sol


// 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: @openzeppelin/contracts/utils/Context.sol


// 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: FactoryMintable.sol


pragma solidity ^0.8.7;



abstract contract FactoryMintable is IFactoryMintable, Context {
    address public tokenFactory;

    error NotTokenFactory();
    error FactoryCannotMint();

    modifier onlyFactory() {
        if (_msgSender() != tokenFactory) {
            revert NotTokenFactory();
        }
        _;
    }

    modifier canMint(uint256 _optionId) {
        if (!factoryCanMint(_optionId)) {
            revert FactoryCannotMint();
        }
        _;
    }

    function factoryMint(uint256 _optionId, address _to)
        external
        virtual
        override;

    function factoryCanMint(uint256 _optionId)
        public
        view
        virtual
        override
        returns (bool);
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

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

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

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

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

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: AllowsConfigurableProxy.sol


pragma solidity >=0.8.4;



contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract AllowsConfigurableProxy is IAllowsProxy, Ownable {
    bool internal isProxyActive_;
    address internal proxyAddress_;

    constructor(address _proxyAddress, bool _isProxyActive) {
        proxyAddress_ = _proxyAddress;
        isProxyActive_ = _isProxyActive;
    }

    function setIsProxyActive(bool _isProxyActive) external onlyOwner {
        isProxyActive_ = _isProxyActive;
    }

    function setProxyAddress(address _proxyAddress) public onlyOwner {
        proxyAddress_ = _proxyAddress;
    }

    function proxyAddress() public view override returns (address) {
        return proxyAddress_;
    }

    function isProxyActive() public view override returns (bool) {
        return isProxyActive_;
    }

    function isApprovedForProxy(address owner, address _operator)
        public
        view
        override
        returns (bool)
    {
        if (isProxyActive_ && proxyAddress_ == _operator) {
            return true;
        }
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyAddress_);
        if (
            isProxyActive_ && address(proxyRegistry.proxies(owner)) == _operator
        ) {
            return true;
        }
        return false;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// 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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// 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: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @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: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol)

pragma solidity ^0.8.0;



/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



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

// File: NFTERC721.sol


pragma solidity ^0.8.7;











contract NFTERC721 is
    INFT,
    ERC721,
    ERC721Burnable,
    ERC721Pausable,
    ERC721Enumerable,
    AccessControl,
    Ownable,
    ContextMixin,
    NativeMetaTransaction
{
    // Create a new role identifier for the minter role
    bytes32 public constant MINER_ROLE = keccak256("MINER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    using Counters for Counters.Counter;
    Counters.Counter private currentTokenId;
    /// @dev Base token URI used as a prefix by tokenURI().
    string private baseTokenURI;
    string private collectionURI;
    uint256 public constant TOTAL_SUPPLY = 10800;

    constructor() ERC721("SONNY", "HM-SON") {
        _initializeEIP712("SONNY");
        baseTokenURI = "https://cdn.nftstar.com/hm-son/metadata/";
        collectionURI = "https://cdn.nftstar.com/hm-son/meta-son-heung-min.json";
        // Grant the contract deployer the default admin role: it will be able to grant and revoke any roles
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINER_ROLE, msg.sender);
        _setupRole(PAUSER_ROLE, msg.sender);
    }

    function totalSupply() public pure override returns (uint256) {
        return TOTAL_SUPPLY;
    }

    function remaining() public view override returns (uint256) {
        return TOTAL_SUPPLY - currentTokenId.current();
    }

    function mintTo(address recipient)
        public
        override
        onlyRole(MINER_ROLE)
        returns (uint256)
    {
        uint256 tokenId = currentTokenId.current();
        require(tokenId < TOTAL_SUPPLY, "Max supply reached");
        currentTokenId.increment();
        uint256 newItemId = currentTokenId.current();
        _safeMint(recipient, newItemId);
        return newItemId;
    }

    function ownerTokens(address owner) public view returns (uint256[] memory) {
        uint256 size = ERC721.balanceOf(owner);
        uint256[] memory items = new uint256[](size);
        for (uint256 i = 0; i < size; i++) {
            items[i] = tokenOfOwnerByIndex(owner, i);
        }
        return items;
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(
            hasRole(PAUSER_ROLE, msgSender()),
            "NFT: must have pauser role to pause"
        );
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(
            hasRole(PAUSER_ROLE, msgSender()),
            "NFT: must have pauser role to unpause"
        );
        _unpause();
    }

    function current() public view returns (uint256) {
        return currentTokenId.current();
    }

    function contractURI() public view returns (string memory) {
        return collectionURI;
    }

    function setContractURI(string memory _contractURI) public onlyOwner {
        collectionURI = _contractURI;
    }

    /// @dev Returns an URI for a given token ID
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    /// @dev Sets the base token URI prefix.
    function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function transferRoleAdmin(address newDefaultAdmin)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _setupRole(DEFAULT_ADMIN_ROLE, newDefaultAdmin);
    }

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override(ERC721, ERC721Pausable, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, amount);
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: NFTFactory.sol


pragma solidity ^0.8.7;







contract NFTFactory is
    IERC721,
    AllowsConfigurableProxy,
    Pausable,
    ReentrancyGuard
{
    using Strings for uint256;
    uint256 public NUM_OPTIONS;
    /// @notice Base URI for constructing tokenURI values for options.
    string public optionURI;
    /// @notice Contract that deployed this factory.
    FactoryMintable public token;

    constructor(
        string memory _baseOptionURI,
        address _owner,
        uint256 _numOptions,
        address _proxyAddress
    ) AllowsConfigurableProxy(_proxyAddress, true) {
        token = FactoryMintable(msg.sender);
        NUM_OPTIONS = _numOptions;
        optionURI = _baseOptionURI;
        transferOwnership(_owner);
        createOptionsAndEmitTransfers();
    }

    error NotOwnerOrProxy();
    error InvalidOptionId();

    modifier onlyOwnerOrProxy() {
        if (
            _msgSender() != owner() &&
            !isApprovedForProxy(owner(), _msgSender())
        ) {
            revert NotOwnerOrProxy();
        }
        _;
    }

    modifier checkValidOptionId(uint256 _optionId) {
        // options are 1-indexed so check should be inclusive
        if (_optionId > NUM_OPTIONS) {
            revert InvalidOptionId();
        }
        _;
    }

    modifier interactBurnInvalidOptionId(uint256 _optionId) {
        _;
        _burnInvalidOptions();
    }

    /// @notice Sets the nft address for FactoryMintable.
    function setNFT(address _token) external onlyOwner {
        token = FactoryMintable(_token);
    }

    /// @notice Sets the base URI for constructing tokenURI values for options.
    function setBaseOptionURI(string memory _baseOptionURI) public onlyOwner {
        optionURI = _baseOptionURI;
    }

    /**
    @notice Returns a URL specifying option metadata, conforming to standard
    ERC1155 metadata format.
     */
    function tokenURI(uint256 _optionId) external view returns (string memory) {
        return string(abi.encodePacked(optionURI, _optionId.toString()));
    }

    /**
    @dev Return true if operator is an approved proxy of Owner
     */
    function isApprovedForAll(address _owner, address _operator)
        public
        view
        override
        returns (bool)
    {
        return isApprovedForProxy(_owner, _operator);
    }

    ///@notice public facing method for _burnInvalidOptions in case state of tokenContract changes
    function burnInvalidOptions() public onlyOwner {
        _burnInvalidOptions();
    }

    ///@notice "burn" option by sending it to 0 address. This will hide all active listings. Called as part of interactBurnInvalidOptionIds
    function _burnInvalidOptions() internal {
        for (uint256 i = 1; i <= NUM_OPTIONS; ++i) {
            if (!token.factoryCanMint(i)) {
                emit Transfer(owner(), address(0), i);
            }
        }
    }

    /**
    @notice emit a transfer event for a "burn" option back to the owner if factoryCanMint the optionId
    @dev will re-validate listings on OpenSea frontend if an option becomes eligible to mint again
    eg, if max supply is increased
    */
    function restoreOption(uint256 _optionId) external onlyOwner {
        if (token.factoryCanMint(_optionId)) {
            emit Transfer(address(0), owner(), _optionId);
        }
    }

    /**
    @notice Emits standard ERC721.Transfer events for each option so NFT indexers pick them up.
    Does not need to fire on contract ownership transfer because once the tokens exist, the `ownerOf`
    check will always pass for contract owner.
     */
    function createOptionsAndEmitTransfers() internal {
        for (uint256 i = 1; i <= NUM_OPTIONS; i++) {
            emit Transfer(address(0), owner(), i);
        }
    }

    function approve(address operator, uint256) external override onlyOwner {
        setProxyAddress(operator);
    }

    function getApproved(uint256)
        external
        view
        override
        returns (address operator)
    {
        return proxyAddress();
    }

    function setApprovalForAll(address operator, bool)
        external
        override
        onlyOwner
    {
        setProxyAddress(operator);
    }

    function supportsFactoryInterface() public pure returns (bool) {
        return true;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC165).interfaceId;
    }

    function balanceOf(address _owner)
        external
        view
        override
        returns (uint256)
    {
        return _owner == owner() ? NUM_OPTIONS : 0;
    }

    /**
    @notice Returns owner if _optionId is valid so posted orders pass validation
     */
    function ownerOf(uint256 _optionId) public view override returns (address) {
        return token.factoryCanMint(_optionId) ? owner() : address(0);
    }

    function safeTransferFrom(
        address,
        address _to,
        uint256 _optionId
    )
        public
        override
        nonReentrant
        onlyOwnerOrProxy
        whenNotPaused
        interactBurnInvalidOptionId(_optionId)
    {
        token.factoryMint(_optionId, _to);
    }

    function safeTransferFrom(
        address,
        address _to,
        uint256 _optionId,
        bytes calldata
    ) external override {
        safeTransferFrom(_to, _to, _optionId);
    }

    /**
    @notice hack: transferFrom is called on sale , this method mints the real token
     */
    function transferFrom(
        address,
        address _to,
        uint256 _optionId
    )
        public
        override
        nonReentrant
        onlyOwnerOrProxy
        whenNotPaused
        interactBurnInvalidOptionId(_optionId)
    {
        token.factoryMint(_optionId, _to);
    }
}

// File: NFTFactoryERC721.sol


pragma solidity ^0.8.7;






contract NFTFactoryERC721 is
    NFTERC721,
    FactoryMintable,
    ReentrancyGuard,
    AllowsConfigurableProxy
{
    using Strings for uint256;
    uint256 public maxSupply;

    error NewMaxSupplyMustBeGreater();

    constructor(address _proxyAddress)
        AllowsConfigurableProxy(_proxyAddress, true)
    {
        maxSupply = totalSupply();
        tokenFactory = address(
            new NFTFactory(
                "https://cdn.nftstar.com/hm-son-mint/metadata/",
                owner(),
                5,
                _proxyAddress
            )
        );
        _setupRole(MINER_ROLE, tokenFactory);
        //emit Transfer(address(0), owner(), 0);
    }

    function factoryMint(uint256 _optionId, address _to)
        public
        override
        nonReentrant
        onlyFactory
        canMint(_optionId)
    {
        for (uint256 i; i < _optionId; ++i) {
            mintTo(_to);
        }
    }

    function factoryCanMint(uint256 _optionId)
        public
        view
        virtual
        override
        returns (bool)
    {
        if (_optionId == 0 || _optionId > maxSupply) {
            return false;
        }
        if (_optionId > (maxSupply - current())) {
            return false;
        }
        return true;
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        if (_maxSupply <= maxSupply) {
            revert NewMaxSupplyMustBeGreater();
        }
        maxSupply = _maxSupply;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FactoryCannotMint","type":"error"},{"inputs":[],"name":"NewMaxSupplyMustBeGreater","type":"error"},{"inputs":[],"name":"NotTokenFactory","type":"error"},{"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":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"current","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"},{"internalType":"uint256","name":"userNonce","type":"uint256"}],"name":"executeMetaTransactionWithExternalNonce","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_optionId","type":"uint256"}],"name":"factoryCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_optionId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"factoryMint","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":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isProxyActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintTo","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"ownerTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isProxyActive","type":"bool"}],"name":"setIsProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"setProxyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDefaultAdmin","type":"address"}],"name":"transferRoleAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600c805460ff60a01b191690553480156200001e57600080fd5b5060405162005582380380620055828339810160408190526200004191620005b3565b6040805180820182526005815264534f4e4e5960d81b602080830191825283518085019094526006845265242696a9a7a760d11b90840152815184936001939290916200009191600091620004ff565b508051620000a7906001906020840190620004ff565b50506006805460ff1916905550620000bf33620002e6565b604080518082019091526005815264534f4e4e5960d81b6020820152620000e69062000338565b604051806060016040528060288152602001620055246028913980516200011691601091602090910190620004ff565b506040518060600160405280603681526020016200554c6036913980516200014791601191602090910190620004ff565b5062000155600033620003a9565b620001817fa952726ef2588ad078edf35b066f7c7406e207cb0003bbaba8cb53eba9553e7233620003a9565b620001ad7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620003a9565b6001601355601480546001600160a81b0319166101006001600160a01b03949094169390930260ff191692909217901515179055620001eb612a3090565b601555600c546001600160a01b03166005826040516200020b906200058e565b6080808252602d908201527f68747470733a2f2f63646e2e6e6674737461722e636f6d2f686d2d736f6e2d6d60a08201526c696e742f6d657461646174612f60981b60c08201526001600160a01b0393841660208201526040810192909252909116606082015260e001604051809103906000f08015801562000292573d6000803e3d6000fd5b50601280546001600160a01b0319166001600160a01b03929092169182179055620002df907fa952726ef2588ad078edf35b066f7c7406e207cb0003bbaba8cb53eba9553e7290620003a9565b5062000622565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c54600160a01b900460ff1615620003885760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b6200039381620003b9565b50600c805460ff60a01b1916600160a01b179055565b620003b582826200045b565b5050565b6040518060800160405280604f8152602001620054d5604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600d55565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16620003b5576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004bb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200050d90620005e5565b90600052602060002090601f0160209004810192826200053157600085556200057c565b82601f106200054c57805160ff19168380011785556200057c565b828001600101855582156200057c579182015b828111156200057c5782518255916020019190600101906200055f565b506200058a9291506200059c565b5090565b6118b88062003c1d83390190565b5b808211156200058a57600081556001016200059d565b600060208284031215620005c657600080fd5b81516001600160a01b0381168114620005de57600080fd5b9392505050565b600181811c90821680620005fa57607f821691505b602082108114156200061c57634e487b7160e01b600052602260045260246000fd5b50919050565b6135eb80620006326000396000f3fe6080604052600436106103505760003560e01c80636a59e05d116101c6578063b83a3212116100f7578063d5abeb0111610095578063e77772fe1161006f578063e77772fe146109b8578063e8a3d485146109d8578063e985e9c5146109ed578063f2fde38b14610a3657600080fd5b8063d5abeb011461094e578063d69eef1414610964578063e63ab1e91461098457600080fd5b8063be07dace116100d1578063be07dace146108ce578063c7db576a146108ee578063c87b56dd1461090e578063d547741f1461092e57600080fd5b8063b83a321214610861578063b88d4fde14610881578063bba7723e146108a157600080fd5b8063902d55a51161016457806395d89b411161013e57806395d89b41146108025780639fa6a6e314610817578063a217fddf1461082c578063a22cb4651461084157600080fd5b8063902d55a5146107ac57806391d14854146107c2578063938e3d7b146107e257600080fd5b8063715018a6116101a0578063715018a614610744578063755edd17146107595780638456cb59146107795780638da5cb5b1461078e57600080fd5b80636a59e05d146106e45780636f8b44b01461070457806370a082311461072457600080fd5b80632f745c59116102a057806346a7dadc1161023e57806355234ec01161021857806355234ec0146106635780635c975abb146106785780636352211e146106905780636394f6e6146106b057600080fd5b806346a7dadc1461060b5780634f6ccce71461062b57806353fe7a331461064b57600080fd5b806336568abe1161027a57806336568abe146105965780633f4ba83a146105b657806342842e0e146105cb57806342966c68146105eb57600080fd5b80632f745c591461054357806330176e13146105635780633408e4701461058357600080fd5b806320379ee51161030d578063248a9ca3116102e7578063248a9ca3146104aa5780632d0335ab146104da5780632d062a85146105105780632f2ff15d1461052357600080fd5b806320379ee51461045257806323b872dd1461046757806323f5c02d1461048757600080fd5b806301ffc9a71461035557806306fdde031461038a578063081812fc146103ac578063095ea7b3146103e45780630f7e59701461040657806318160ddd14610433575b600080fd5b34801561036157600080fd5b5061037561037036600461306c565b610a56565b60405190151581526020015b60405180910390f35b34801561039657600080fd5b5061039f610a81565b60405161038191906132e5565b3480156103b857600080fd5b506103cc6103c736600461302e565b610b13565b6040516001600160a01b039091168152602001610381565b3480156103f057600080fd5b506104046103ff366004612fe7565b610bad565b005b34801561041257600080fd5b5061039f604051806040016040528060018152602001603160f81b81525081565b34801561043f57600080fd5b50612a305b604051908152602001610381565b34801561045e57600080fd5b50600d54610444565b34801561047357600080fd5b50610404610482366004612e7f565b610cc3565b34801561049357600080fd5b5060145461010090046001600160a01b03166103cc565b3480156104b657600080fd5b506104446104c536600461302e565b6000908152600b602052604090206001015490565b3480156104e657600080fd5b506104446104f5366004612e29565b6001600160a01b03166000908152600e602052604090205490565b61039f61051e366004612f61565b610cf5565b34801561052f57600080fd5b5061040461053e366004613047565b610edd565b34801561054f57600080fd5b5061044461055e366004612fe7565b610f02565b34801561056f57600080fd5b5061040461057e3660046130c3565b610f98565b34801561058f57600080fd5b5046610444565b3480156105a257600080fd5b506104046105b1366004613047565b610fd9565b3480156105c257600080fd5b50610404611053565b3480156105d757600080fd5b506104046105e6366004612e7f565b6110e3565b3480156105f757600080fd5b5061040461060636600461302e565b6110fe565b34801561061757600080fd5b50610404610626366004612e29565b611178565b34801561063757600080fd5b5061044461064636600461302e565b6111ca565b34801561065757600080fd5b5060145460ff16610375565b34801561066f57600080fd5b5061044461125d565b34801561068457600080fd5b5060065460ff16610375565b34801561069c57600080fd5b506103cc6106ab36600461302e565b611279565b3480156106bc57600080fd5b506104447fa952726ef2588ad078edf35b066f7c7406e207cb0003bbaba8cb53eba9553e7281565b3480156106f057600080fd5b506103756106ff366004612e46565b6112f0565b34801561071057600080fd5b5061040461071f36600461302e565b6113e2565b34801561073057600080fd5b5061044461073f366004612e29565b611433565b34801561075057600080fd5b506104046114ba565b34801561076557600080fd5b50610444610774366004612e29565b6114ee565b34801561078557600080fd5b5061040461159c565b34801561079a57600080fd5b50600c546001600160a01b03166103cc565b3480156107b857600080fd5b50610444612a3081565b3480156107ce57600080fd5b506103756107dd366004613047565b611628565b3480156107ee57600080fd5b506104046107fd3660046130c3565b611653565b34801561080e57600080fd5b5061039f611690565b34801561082357600080fd5b5061044461169f565b34801561083857600080fd5b50610444600081565b34801561084d57600080fd5b5061040461085c366004612f2c565b6116aa565b34801561086d57600080fd5b5061040461087c366004612e29565b6116b5565b34801561088d57600080fd5b5061040461089c366004612ec0565b6116cb565b3480156108ad57600080fd5b506108c16108bc366004612e29565b611703565b60405161038191906132a1565b3480156108da57600080fd5b506104046108e9366004613047565b6117a5565b3480156108fa57600080fd5b50610404610909366004613013565b611888565b34801561091a57600080fd5b5061039f61092936600461302e565b6118c5565b34801561093a57600080fd5b50610404610949366004613047565b6119a0565b34801561095a57600080fd5b5061044460155481565b34801561097057600080fd5b5061037561097f36600461302e565b6119c5565b34801561099057600080fd5b506104447f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b3480156109c457600080fd5b506012546103cc906001600160a01b031681565b3480156109e457600080fd5b5061039f611a0e565b3480156109f957600080fd5b50610375610a08366004612e46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a4257600080fd5b50610404610a51366004612e29565b611a1d565b60006001600160e01b0319821663207d93d760e01b1480610a7b5750610a7b82611ab5565b92915050565b606060008054610a9090613475565b80601f0160208091040260200160405190810160405280929190818152602001828054610abc90613475565b8015610b095780601f10610ade57610100808354040283529160200191610b09565b820191906000526020600020905b815481529060010190602001808311610aec57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610b915760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610bb882611279565b9050806001600160a01b0316836001600160a01b03161415610c265760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b88565b336001600160a01b0382161480610c425750610c428133610a08565b610cb45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b88565b610cbe8383611ada565b505050565b610cce335b82611b48565b610cea5760405162461bcd60e51b8152600401610b889061337f565b610cbe838383611c3f565b60408051606081810183528382526001600160a01b0389166020830152918101879052610d258882888888611de6565b610d7b5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610b88565b6001600160a01b0388166000908152600e60205260409020548314610d9f57600080fd5b610daa836001611ed6565b6001600160a01b0389166000908152600e60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610dfa908a9033908b9061322f565b60405180910390a1600080306001600160a01b0316898b604051602001610e22929190613154565b60408051601f1981840301815290829052610e3c91613138565b6000604051808303816000865af19150503d8060008114610e79576040519150601f19603f3d011682016040523d82523d6000602084013e610e7e565b606091505b509150915081610ed05760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610b88565b9998505050505050505050565b6000828152600b6020526040902060010154610ef881611ee2565b610cbe8383611eec565b6000610f0d83611433565b8210610f6f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610b88565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b600c546001600160a01b03163314610fc25760405162461bcd60e51b8152600401610b889061334a565b8051610fd5906010906020840190612ce5565b5050565b6001600160a01b03811633146110495760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610b88565b610fd58282611f72565b61107f7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107dd611fd9565b6110d95760405162461bcd60e51b815260206004820152602560248201527f4e46543a206d75737420686176652070617573657220726f6c6520746f20756e604482015264706175736560d81b6064820152608401610b88565b6110e1612036565b565b610cbe838383604051806020016040528060008152506116cb565b61110733610cc8565b61116c5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610b88565b611175816120c9565b50565b600c546001600160a01b031633146111a25760405162461bcd60e51b8152600401610b889061334a565b601480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006111d560095490565b82106112385760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b88565b6009828154811061124b5761124b61351b565b90600052602060002001549050919050565b6000611268600f5490565b61127490612a3061341b565b905090565b6000818152600260205260408120546001600160a01b031680610a7b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b88565b60145460009060ff16801561131757506014546001600160a01b0383811661010090920416145b1561132457506001610a7b565b6014546001600160a01b036101008204169060ff1680156113c9575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561138657600080fd5b505afa15801561139a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113be91906130a6565b6001600160a01b0316145b156113d8576001915050610a7b565b5060009392505050565b600c546001600160a01b0316331461140c5760405162461bcd60e51b8152600401610b889061334a565b601554811161142e5760405163547b3ab560e01b815260040160405180910390fd5b601555565b60006001600160a01b03821661149e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b88565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146114e45760405162461bcd60e51b8152600401610b889061334a565b6110e16000612170565b60007fa952726ef2588ad078edf35b066f7c7406e207cb0003bbaba8cb53eba9553e7261151a81611ee2565b6000611525600f5490565b9050612a30811061156d5760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610b88565b61157b600f80546001019055565b6000611586600f5490565b905061159285826121c2565b9250505b50919050565b6115c87f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107dd611fd9565b6116205760405162461bcd60e51b815260206004820152602360248201527f4e46543a206d75737420686176652070617573657220726f6c6520746f20706160448201526275736560e81b6064820152608401610b88565b6110e16121dc565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600c546001600160a01b0316331461167d5760405162461bcd60e51b8152600401610b889061334a565b8051610fd5906011906020840190612ce5565b606060018054610a9090613475565b6000611274600f5490565b610fd5338383612257565b60006116c081611ee2565b610fd5600083612326565b6116d53383611b48565b6116f15760405162461bcd60e51b8152600401610b889061337f565b6116fd84848484612330565b50505050565b6060600061171083611433565b905060008167ffffffffffffffff81111561172d5761172d613531565b604051908082528060200260200182016040528015611756578160200160208202803683370190505b50905060005b8281101561179d5761176e8582610f02565b8282815181106117805761178061351b565b602090810291909101015280611795816134aa565b91505061175c565b509392505050565b600260135414156117f85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b88565b60026013556012546001600160a01b0316336001600160a01b031614611831576040516308e5c1fd60e21b815260040160405180910390fd5b8161183b816119c5565b61185857604051633e24282f60e21b815260040160405180910390fd5b60005b8381101561187d5761186c836114ee565b50611876816134aa565b905061185b565b505060016013555050565b600c546001600160a01b031633146118b25760405162461bcd60e51b8152600401610b889061334a565b6014805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b03166119445760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b88565b600061194e612363565b9050600081511161196e5760405180602001604052806000815250611999565b8061197884612372565b60405160200161198992919061318b565b6040516020818303038152906040525b9392505050565b6000828152600b60205260409020600101546119bb81611ee2565b610cbe8383611f72565b60008115806119d5575060155482115b156119e257506000919050565b6119ea61169f565b6015546119f7919061341b565b821115611a0657506000919050565b506001919050565b606060118054610a9090613475565b600c546001600160a01b03163314611a475760405162461bcd60e51b8152600401610b889061334a565b6001600160a01b038116611aac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b88565b61117581612170565b60006001600160e01b03198216637965db0b60e01b1480610a7b5750610a7b82612470565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b0f82611279565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611bc15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b88565b6000611bcc83611279565b9050806001600160a01b0316846001600160a01b03161480611c1357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611c375750836001600160a01b0316611c2c84610b13565b6001600160a01b0316145b949350505050565b826001600160a01b0316611c5282611279565b6001600160a01b031614611cb65760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610b88565b6001600160a01b038216611d185760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b88565b611d23838383612495565b611d2e600082611ada565b6001600160a01b0383166000908152600360205260408120805460019290611d5790849061341b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d859084906133d0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b038616611e4c5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610b88565b6001611e5f611e5a876124a0565b61251d565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611ead573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061199982846133d0565b611175813361254d565b611ef68282611628565b610fd5576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f2e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611f7c8282611628565b15610fd5576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60003330141561203057600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506120339050565b50335b90565b60065460ff1661207f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610b88565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006120d482611279565b90506120e281600084612495565b6120ed600083611ada565b6001600160a01b038116600090815260036020526040812080546001929061211690849061341b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610fd58282604051806020016040528060008152506125b1565b60065460ff16156122225760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b88565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120ac3390565b816001600160a01b0316836001600160a01b031614156122b95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b88565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fd58282611eec565b61233b848484611c3f565b612347848484846125e4565b6116fd5760405162461bcd60e51b8152600401610b88906132f8565b606060108054610a9090613475565b6060816123965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156123c057806123aa816134aa565b91506123b99050600a836133e8565b915061239a565b60008167ffffffffffffffff8111156123db576123db613531565b6040519080825280601f01601f191660200182016040528015612405576020820181803683370190505b5090505b84156115925761241a60018361341b565b9150612427600a866134c5565b6124329060306133d0565b60f81b8183815181106124475761244761351b565b60200101906001600160f81b031916908160001a905350612469600a866133e8565b9450612409565b60006001600160e01b0319821663780e9d6360e01b1480610a7b5750610a7b826126f1565b610cbe838383612741565b60006040518060800160405280604381526020016135736043913980516020918201208351848301516040808701518051908601209051612500950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000612528600d5490565b60405161190160f01b6020820152602281019190915260428101839052606201612500565b6125578282611628565b610fd55761256f816001600160a01b03166014612804565b61257a836020612804565b60405160200161258b9291906131ba565b60408051601f198184030181529082905262461bcd60e51b8252610b88916004016132e5565b6125bb83836129a0565b6125c860008484846125e4565b610cbe5760405162461bcd60e51b8152600401610b88906132f8565b60006001600160a01b0384163b156126e657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612628903390899088908890600401613264565b602060405180830381600087803b15801561264257600080fd5b505af1925050508015612672575060408051601f3d908101601f1916820190925261266f91810190613089565b60015b6126cc573d8080156126a0576040519150601f19603f3d011682016040523d82523d6000602084013e6126a5565b606091505b5080516126c45760405162461bcd60e51b8152600401610b88906132f8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c37565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061272257506001600160e01b03198216635b5e139f60e01b145b80610a7b57506301ffc9a760e01b6001600160e01b0319831614610a7b565b61274c838383612aee565b6001600160a01b0383166127a7576127a281600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6127ca565b816001600160a01b0316836001600160a01b0316146127ca576127ca8382612b55565b6001600160a01b0382166127e157610cbe81612bf2565b826001600160a01b0316826001600160a01b031614610cbe57610cbe8282612ca1565b606060006128138360026133fc565b61281e9060026133d0565b67ffffffffffffffff81111561283657612836613531565b6040519080825280601f01601f191660200182016040528015612860576020820181803683370190505b509050600360fc1b8160008151811061287b5761287b61351b565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128aa576128aa61351b565b60200101906001600160f81b031916908160001a90535060006128ce8460026133fc565b6128d99060016133d0565b90505b6001811115612951576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061290d5761290d61351b565b1a60f81b8282815181106129235761292361351b565b60200101906001600160f81b031916908160001a90535060049490941c9361294a8161345e565b90506128dc565b5083156119995760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610b88565b6001600160a01b0382166129f65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b88565b6000818152600260205260409020546001600160a01b031615612a5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b88565b612a6760008383612495565b6001600160a01b0382166000908152600360205260408120805460019290612a909084906133d0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff1615610cbe5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610b88565b60006001612b6284611433565b612b6c919061341b565b600083815260086020526040902054909150808214612bbf576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090612c049060019061341b565b6000838152600a602052604081205460098054939450909284908110612c2c57612c2c61351b565b906000526020600020015490508060098381548110612c4d57612c4d61351b565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612c8557612c85613505565b6001900381819060005260206000200160009055905550505050565b6000612cac83611433565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b828054612cf190613475565b90600052602060002090601f016020900481019282612d135760008555612d59565b82601f10612d2c57805160ff1916838001178555612d59565b82800160010185558215612d59579182015b82811115612d59578251825591602001919060010190612d3e565b50612d65929150612d69565b5090565b5b80821115612d655760008155600101612d6a565b600067ffffffffffffffff80841115612d9957612d99613531565b604051601f8501601f19908116603f01168101908282118183101715612dc157612dc1613531565b81604052809350858152868686011115612dda57600080fd5b858560208301376000602087830101525050509392505050565b80358015158114612e0457600080fd5b919050565b600082601f830112612e1a57600080fd5b61199983833560208501612d7e565b600060208284031215612e3b57600080fd5b813561199981613547565b60008060408385031215612e5957600080fd5b8235612e6481613547565b91506020830135612e7481613547565b809150509250929050565b600080600060608486031215612e9457600080fd5b8335612e9f81613547565b92506020840135612eaf81613547565b929592945050506040919091013590565b60008060008060808587031215612ed657600080fd5b8435612ee181613547565b93506020850135612ef181613547565b925060408501359150606085013567ffffffffffffffff811115612f1457600080fd5b612f2087828801612e09565b91505092959194509250565b60008060408385031215612f3f57600080fd5b8235612f4a81613547565b9150612f5860208401612df4565b90509250929050565b60008060008060008060c08789031215612f7a57600080fd5b8635612f8581613547565b9550602087013567ffffffffffffffff811115612fa157600080fd5b612fad89828a01612e09565b9550506040870135935060608701359250608087013560ff81168114612fd257600080fd5b8092505060a087013590509295509295509295565b60008060408385031215612ffa57600080fd5b823561300581613547565b946020939093013593505050565b60006020828403121561302557600080fd5b61199982612df4565b60006020828403121561304057600080fd5b5035919050565b6000806040838503121561305a57600080fd5b823591506020830135612e7481613547565b60006020828403121561307e57600080fd5b81356119998161355c565b60006020828403121561309b57600080fd5b81516119998161355c565b6000602082840312156130b857600080fd5b815161199981613547565b6000602082840312156130d557600080fd5b813567ffffffffffffffff8111156130ec57600080fd5b8201601f810184136130fd57600080fd5b611c3784823560208401612d7e565b60008151808452613124816020860160208601613432565b601f01601f19169290920160200192915050565b6000825161314a818460208701613432565b9190910192915050565b60008351613166818460208801613432565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b6000835161319d818460208801613432565b8351908301906131b1818360208801613432565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516131f2816017850160208801613432565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613223816028840160208801613432565b01602801949350505050565b6001600160a01b0384811682528316602082015260606040820181905260009061325b9083018461310c565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906132979083018461310c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156132d9578351835292840192918401916001016132bd565b50909695505050505050565b602081526000611999602083018461310c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156133e3576133e36134d9565b500190565b6000826133f7576133f76134ef565b500490565b6000816000190483118215151615613416576134166134d9565b500290565b60008282101561342d5761342d6134d9565b500390565b60005b8381101561344d578181015183820152602001613435565b838111156116fd5750506000910152565b60008161346d5761346d6134d9565b506000190190565b600181811c9082168061348957607f821691505b6020821081141561159657634e487b7160e01b600052602260045260246000fd5b60006000198214156134be576134be6134d9565b5060010190565b6000826134d4576134d46134ef565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461117557600080fd5b6001600160e01b03198116811461117557600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220cc0315007e84dc5007b0a29199442bc7a5fdef6779a26002572594f405fcfbd364736f6c6343000807003360806040523480156200001157600080fd5b50604051620018b8380380620018b883398101604081905262000034916200032d565b8060016200004233620000cf565b6001805460008054931515600160a01b0260ff60a01b19909416939093179092556001600160a81b03199091166001600160a01b03909216919091178155600255600580546001600160a01b0319163317905560038290558351620000af9060049060208701906200026a565b50620000bb836200011f565b620000c5620001f4565b50505050620004b7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200017f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000176565b620001f181620000cf565b50565b60015b6003548111620001f15780620002156000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480620002618162000477565b915050620001f7565b82805462000278906200043a565b90600052602060002090601f0160209004810192826200029c5760008555620002e7565b82601f10620002b757805160ff1916838001178555620002e7565b82800160010185558215620002e7579182015b82811115620002e7578251825591602001919060010190620002ca565b50620002f5929150620002f9565b5090565b5b80821115620002f55760008155600101620002fa565b80516001600160a01b03811681146200032857600080fd5b919050565b600080600080608085870312156200034457600080fd5b84516001600160401b03808211156200035c57600080fd5b818701915087601f8301126200037157600080fd5b815181811115620003865762000386620004a1565b604051601f8201601f19908116603f01168101908382118183101715620003b157620003b1620004a1565b81604052828152602093508a84848701011115620003ce57600080fd5b600091505b82821015620003f25784820184015181830185015290830190620003d3565b82821115620004045760008484830101525b97506200041691505087820162000310565b94505050604085015191506200042f6060860162000310565b905092959194509250565b600181811c908216806200044f57607f821691505b602082108114156200047157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200049a57634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6113f180620004c76000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063c7db576a11610097578063eeee11bc11610071578063eeee11bc14610386578063f2fde38b14610399578063f56e9c66146103ac578063fc0c546a146103bf57600080fd5b8063c7db576a1461034d578063c87b56dd14610360578063e985e9c51461037357600080fd5b806397004ebe116100d357806397004ebe1461031d578063a22cb46514610325578063b88d4fde14610333578063c311c5231461034657600080fd5b806370a08231146102f1578063715018a6146103045780638da5cb5b1461030c57600080fd5b806342842e0e1161016657806353fe7a331161014057806353fe7a33146102a75780635c975abb146102b95780636352211e146102cb5780636a59e05d146102de57600080fd5b806342842e0e14610231578063443f54091461028157806346a7dadc1461029457600080fd5b806323b872dd116101a257806323b872dd1461023157806323f5c02d1461024457806325fb6762146102555780633db62e2c1461026a57600080fd5b806301ffc9a7146101c9578063081812fc146101f1578063095ea7b31461021c575b600080fd5b6101dc6101d7366004611027565b6103d2565b60405190151581526020015b60405180910390f35b6102046101ff36600461111f565b610409565b6040516001600160a01b0390911681526020016101e8565b61022f61022a366004610fc1565b61041d565b005b61022f61023f366004610eb3565b61045d565b6001546001600160a01b0316610204565b61025d6105ca565b6040516101e891906111fb565b61027360035481565b6040519081526020016101e8565b61022f61028f36600461106e565b610658565b61022f6102a2366004610e5d565b610695565b600054600160a01b900460ff166101dc565b600154600160a01b900460ff166101dc565b6102046102d936600461111f565b6106e1565b6101dc6102ec366004610e7a565b61077a565b6102736102ff366004610e5d565b610873565b61022f610898565b6000546001600160a01b0316610204565b61022f6108ce565b61022f61022a366004610f93565b61022f610341366004610ef4565b610900565b60016101dc565b61022f61035b366004610fed565b610912565b61025d61036e36600461111f565b61095a565b6101dc610381366004610e7a565b61098e565b61022f61039436600461111f565b6109a1565b61022f6103a7366004610e5d565b610aa3565b61022f6103ba366004610e5d565b610b3b565b600554610204906001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b148061040357506001600160e01b031982166301ffc9a760e01b145b92915050565b60006104036001546001600160a01b031690565b6000546001600160a01b031633146104505760405162461bcd60e51b81526004016104479061122e565b60405180910390fd5b61045982610695565b5050565b6002805414156104af5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610447565b600280556000546001600160a01b031633148015906104e657506104e46104de6000546001600160a01b031690565b3361077a565b155b1561050457604051630bcbaecb60e41b815260040160405180910390fd5b600154600160a01b900460ff16156105515760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610447565b600554604051635f03ed6760e11b8152600481018390526001600160a01b0384811660248301528392169063be07dace90604401600060405180830381600087803b15801561059f57600080fd5b505af11580156105b3573d6000803e3d6000fd5b505050506105bf610b87565b505060016002555050565b600480546105d7906112d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610603906112d6565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b505050505081565b6000546001600160a01b031633146106825760405162461bcd60e51b81526004016104479061122e565b8051610459906004906020840190610dc4565b6000546001600160a01b031633146106bf5760405162461bcd60e51b81526004016104479061122e565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6005546040516335a7bbc560e21b8152600481018390526000916001600160a01b03169063d69eef149060240160206040518083038186803b15801561072657600080fd5b505afa15801561073a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075e919061100a565b610769576000610403565b6000546001600160a01b0316610403565b60008054600160a01b900460ff1680156107a157506001546001600160a01b038381169116145b156107ae57506001610403565b6001546000546001600160a01b0390911690600160a01b900460ff16801561085a575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561081757600080fd5b505afa15801561082b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084f9190611051565b6001600160a01b0316145b15610869576001915050610403565b5060009392505050565b600080546001600160a01b03838116911614610890576000610403565b505060035490565b6000546001600160a01b031633146108c25760405162461bcd60e51b81526004016104479061122e565b6108cc6000610c6e565b565b6000546001600160a01b031633146108f85760405162461bcd60e51b81526004016104479061122e565b6108cc610b87565b61090b84858561045d565b5050505050565b6000546001600160a01b0316331461093c5760405162461bcd60e51b81526004016104479061122e565b60008054911515600160a01b0260ff60a01b19909216919091179055565b6060600461096783610cbe565b604051602001610978929190611154565b6040516020818303038152906040529050919050565b600061099a838361077a565b9392505050565b6000546001600160a01b031633146109cb5760405162461bcd60e51b81526004016104479061122e565b6005546040516335a7bbc560e21b8152600481018390526001600160a01b039091169063d69eef149060240160206040518083038186803b158015610a0f57600080fd5b505afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a47919061100a565b15610aa05780610a5f6000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b50565b6000546001600160a01b03163314610acd5760405162461bcd60e51b81526004016104479061122e565b6001600160a01b038116610b325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610447565b610aa081610c6e565b6000546001600160a01b03163314610b655760405162461bcd60e51b81526004016104479061122e565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60015b6003548111610aa0576005546040516335a7bbc560e21b8152600481018390526001600160a01b039091169063d69eef149060240160206040518083038186803b158015610bd757600080fd5b505afa158015610beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0f919061100a565b610c5e57806000610c286000546001600160a01b031690565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b610c6781611311565b9050610b8a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081610ce25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610d0c5780610cf681611311565b9150610d059050600a8361127b565b9150610ce6565b60008167ffffffffffffffff811115610d2757610d27611382565b6040519080825280601f01601f191660200182016040528015610d51576020820181803683370190505b5090505b8415610dbc57610d6660018361128f565b9150610d73600a8661132c565b610d7e906030611263565b60f81b818381518110610d9357610d9361136c565b60200101906001600160f81b031916908160001a905350610db5600a8661127b565b9450610d55565b949350505050565b828054610dd0906112d6565b90600052602060002090601f016020900481019282610df25760008555610e38565b82601f10610e0b57805160ff1916838001178555610e38565b82800160010185558215610e38579182015b82811115610e38578251825591602001919060010190610e1d565b50610e44929150610e48565b5090565b5b80821115610e445760008155600101610e49565b600060208284031215610e6f57600080fd5b813561099a81611398565b60008060408385031215610e8d57600080fd5b8235610e9881611398565b91506020830135610ea881611398565b809150509250929050565b600080600060608486031215610ec857600080fd5b8335610ed381611398565b92506020840135610ee381611398565b929592945050506040919091013590565b600080600080600060808688031215610f0c57600080fd5b8535610f1781611398565b94506020860135610f2781611398565b935060408601359250606086013567ffffffffffffffff80821115610f4b57600080fd5b818801915088601f830112610f5f57600080fd5b813581811115610f6e57600080fd5b896020828501011115610f8057600080fd5b9699959850939650602001949392505050565b60008060408385031215610fa657600080fd5b8235610fb181611398565b91506020830135610ea8816113ad565b60008060408385031215610fd457600080fd5b8235610fdf81611398565b946020939093013593505050565b600060208284031215610fff57600080fd5b813561099a816113ad565b60006020828403121561101c57600080fd5b815161099a816113ad565b60006020828403121561103957600080fd5b81356001600160e01b03198116811461099a57600080fd5b60006020828403121561106357600080fd5b815161099a81611398565b60006020828403121561108057600080fd5b813567ffffffffffffffff8082111561109857600080fd5b818401915084601f8301126110ac57600080fd5b8135818111156110be576110be611382565b604051601f8201601f19908116603f011681019083821181831017156110e6576110e6611382565b816040528281528760208487010111156110ff57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561113157600080fd5b5035919050565b6000815161114a8185602086016112a6565b9290920192915050565b600080845481600182811c91508083168061117057607f831692505b602080841082141561119057634e487b7160e01b86526022600452602486fd5b8180156111a457600181146111b5576111e2565b60ff198616895284890196506111e2565b60008b81526020902060005b868110156111da5781548b8201529085019083016111c1565b505084890196505b5050505050506111f28185611138565b95945050505050565b602081526000825180602084015261121a8160408501602087016112a6565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561127657611276611340565b500190565b60008261128a5761128a611356565b500490565b6000828210156112a1576112a1611340565b500390565b60005b838110156112c15781810151838201526020016112a9565b838111156112d0576000848401525b50505050565b600181811c908216806112ea57607f821691505b6020821081141561130b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561132557611325611340565b5060010190565b60008261133b5761133b611356565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610aa057600080fd5b8015158114610aa057600080fdfea26469706673582212204a7a6be11fbce8a1e18eb4e8648fb8fb62b83c0215894fc77752a95ffab2c6eb64736f6c63430008070033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f63646e2e6e6674737461722e636f6d2f686d2d736f6e2f6d657461646174612f68747470733a2f2f63646e2e6e6674737461722e636f6d2f686d2d736f6e2f6d6574612d736f6e2d6865756e672d6d696e2e6a736f6e00000000000000000000000058807bad0b376efc12f5ad86aac70e78ed67deae

Deployed Bytecode

0x6080604052600436106103505760003560e01c80636a59e05d116101c6578063b83a3212116100f7578063d5abeb0111610095578063e77772fe1161006f578063e77772fe146109b8578063e8a3d485146109d8578063e985e9c5146109ed578063f2fde38b14610a3657600080fd5b8063d5abeb011461094e578063d69eef1414610964578063e63ab1e91461098457600080fd5b8063be07dace116100d1578063be07dace146108ce578063c7db576a146108ee578063c87b56dd1461090e578063d547741f1461092e57600080fd5b8063b83a321214610861578063b88d4fde14610881578063bba7723e146108a157600080fd5b8063902d55a51161016457806395d89b411161013e57806395d89b41146108025780639fa6a6e314610817578063a217fddf1461082c578063a22cb4651461084157600080fd5b8063902d55a5146107ac57806391d14854146107c2578063938e3d7b146107e257600080fd5b8063715018a6116101a0578063715018a614610744578063755edd17146107595780638456cb59146107795780638da5cb5b1461078e57600080fd5b80636a59e05d146106e45780636f8b44b01461070457806370a082311461072457600080fd5b80632f745c59116102a057806346a7dadc1161023e57806355234ec01161021857806355234ec0146106635780635c975abb146106785780636352211e146106905780636394f6e6146106b057600080fd5b806346a7dadc1461060b5780634f6ccce71461062b57806353fe7a331461064b57600080fd5b806336568abe1161027a57806336568abe146105965780633f4ba83a146105b657806342842e0e146105cb57806342966c68146105eb57600080fd5b80632f745c591461054357806330176e13146105635780633408e4701461058357600080fd5b806320379ee51161030d578063248a9ca3116102e7578063248a9ca3146104aa5780632d0335ab146104da5780632d062a85146105105780632f2ff15d1461052357600080fd5b806320379ee51461045257806323b872dd1461046757806323f5c02d1461048757600080fd5b806301ffc9a71461035557806306fdde031461038a578063081812fc146103ac578063095ea7b3146103e45780630f7e59701461040657806318160ddd14610433575b600080fd5b34801561036157600080fd5b5061037561037036600461306c565b610a56565b60405190151581526020015b60405180910390f35b34801561039657600080fd5b5061039f610a81565b60405161038191906132e5565b3480156103b857600080fd5b506103cc6103c736600461302e565b610b13565b6040516001600160a01b039091168152602001610381565b3480156103f057600080fd5b506104046103ff366004612fe7565b610bad565b005b34801561041257600080fd5b5061039f604051806040016040528060018152602001603160f81b81525081565b34801561043f57600080fd5b50612a305b604051908152602001610381565b34801561045e57600080fd5b50600d54610444565b34801561047357600080fd5b50610404610482366004612e7f565b610cc3565b34801561049357600080fd5b5060145461010090046001600160a01b03166103cc565b3480156104b657600080fd5b506104446104c536600461302e565b6000908152600b602052604090206001015490565b3480156104e657600080fd5b506104446104f5366004612e29565b6001600160a01b03166000908152600e602052604090205490565b61039f61051e366004612f61565b610cf5565b34801561052f57600080fd5b5061040461053e366004613047565b610edd565b34801561054f57600080fd5b5061044461055e366004612fe7565b610f02565b34801561056f57600080fd5b5061040461057e3660046130c3565b610f98565b34801561058f57600080fd5b5046610444565b3480156105a257600080fd5b506104046105b1366004613047565b610fd9565b3480156105c257600080fd5b50610404611053565b3480156105d757600080fd5b506104046105e6366004612e7f565b6110e3565b3480156105f757600080fd5b5061040461060636600461302e565b6110fe565b34801561061757600080fd5b50610404610626366004612e29565b611178565b34801561063757600080fd5b5061044461064636600461302e565b6111ca565b34801561065757600080fd5b5060145460ff16610375565b34801561066f57600080fd5b5061044461125d565b34801561068457600080fd5b5060065460ff16610375565b34801561069c57600080fd5b506103cc6106ab36600461302e565b611279565b3480156106bc57600080fd5b506104447fa952726ef2588ad078edf35b066f7c7406e207cb0003bbaba8cb53eba9553e7281565b3480156106f057600080fd5b506103756106ff366004612e46565b6112f0565b34801561071057600080fd5b5061040461071f36600461302e565b6113e2565b34801561073057600080fd5b5061044461073f366004612e29565b611433565b34801561075057600080fd5b506104046114ba565b34801561076557600080fd5b50610444610774366004612e29565b6114ee565b34801561078557600080fd5b5061040461159c565b34801561079a57600080fd5b50600c546001600160a01b03166103cc565b3480156107b857600080fd5b50610444612a3081565b3480156107ce57600080fd5b506103756107dd366004613047565b611628565b3480156107ee57600080fd5b506104046107fd3660046130c3565b611653565b34801561080e57600080fd5b5061039f611690565b34801561082357600080fd5b5061044461169f565b34801561083857600080fd5b50610444600081565b34801561084d57600080fd5b5061040461085c366004612f2c565b6116aa565b34801561086d57600080fd5b5061040461087c366004612e29565b6116b5565b34801561088d57600080fd5b5061040461089c366004612ec0565b6116cb565b3480156108ad57600080fd5b506108c16108bc366004612e29565b611703565b60405161038191906132a1565b3480156108da57600080fd5b506104046108e9366004613047565b6117a5565b3480156108fa57600080fd5b50610404610909366004613013565b611888565b34801561091a57600080fd5b5061039f61092936600461302e565b6118c5565b34801561093a57600080fd5b50610404610949366004613047565b6119a0565b34801561095a57600080fd5b5061044460155481565b34801561097057600080fd5b5061037561097f36600461302e565b6119c5565b34801561099057600080fd5b506104447f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b3480156109c457600080fd5b506012546103cc906001600160a01b031681565b3480156109e457600080fd5b5061039f611a0e565b3480156109f957600080fd5b50610375610a08366004612e46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a4257600080fd5b50610404610a51366004612e29565b611a1d565b60006001600160e01b0319821663207d93d760e01b1480610a7b5750610a7b82611ab5565b92915050565b606060008054610a9090613475565b80601f0160208091040260200160405190810160405280929190818152602001828054610abc90613475565b8015610b095780601f10610ade57610100808354040283529160200191610b09565b820191906000526020600020905b815481529060010190602001808311610aec57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610b915760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610bb882611279565b9050806001600160a01b0316836001600160a01b03161415610c265760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b88565b336001600160a01b0382161480610c425750610c428133610a08565b610cb45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b88565b610cbe8383611ada565b505050565b610cce335b82611b48565b610cea5760405162461bcd60e51b8152600401610b889061337f565b610cbe838383611c3f565b60408051606081810183528382526001600160a01b0389166020830152918101879052610d258882888888611de6565b610d7b5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610b88565b6001600160a01b0388166000908152600e60205260409020548314610d9f57600080fd5b610daa836001611ed6565b6001600160a01b0389166000908152600e60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610dfa908a9033908b9061322f565b60405180910390a1600080306001600160a01b0316898b604051602001610e22929190613154565b60408051601f1981840301815290829052610e3c91613138565b6000604051808303816000865af19150503d8060008114610e79576040519150601f19603f3d011682016040523d82523d6000602084013e610e7e565b606091505b509150915081610ed05760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610b88565b9998505050505050505050565b6000828152600b6020526040902060010154610ef881611ee2565b610cbe8383611eec565b6000610f0d83611433565b8210610f6f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610b88565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b600c546001600160a01b03163314610fc25760405162461bcd60e51b8152600401610b889061334a565b8051610fd5906010906020840190612ce5565b5050565b6001600160a01b03811633146110495760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610b88565b610fd58282611f72565b61107f7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107dd611fd9565b6110d95760405162461bcd60e51b815260206004820152602560248201527f4e46543a206d75737420686176652070617573657220726f6c6520746f20756e604482015264706175736560d81b6064820152608401610b88565b6110e1612036565b565b610cbe838383604051806020016040528060008152506116cb565b61110733610cc8565b61116c5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610b88565b611175816120c9565b50565b600c546001600160a01b031633146111a25760405162461bcd60e51b8152600401610b889061334a565b601480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006111d560095490565b82106112385760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b88565b6009828154811061124b5761124b61351b565b90600052602060002001549050919050565b6000611268600f5490565b61127490612a3061341b565b905090565b6000818152600260205260408120546001600160a01b031680610a7b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b88565b60145460009060ff16801561131757506014546001600160a01b0383811661010090920416145b1561132457506001610a7b565b6014546001600160a01b036101008204169060ff1680156113c9575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561138657600080fd5b505afa15801561139a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113be91906130a6565b6001600160a01b0316145b156113d8576001915050610a7b565b5060009392505050565b600c546001600160a01b0316331461140c5760405162461bcd60e51b8152600401610b889061334a565b601554811161142e5760405163547b3ab560e01b815260040160405180910390fd5b601555565b60006001600160a01b03821661149e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b88565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146114e45760405162461bcd60e51b8152600401610b889061334a565b6110e16000612170565b60007fa952726ef2588ad078edf35b066f7c7406e207cb0003bbaba8cb53eba9553e7261151a81611ee2565b6000611525600f5490565b9050612a30811061156d5760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610b88565b61157b600f80546001019055565b6000611586600f5490565b905061159285826121c2565b9250505b50919050565b6115c87f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107dd611fd9565b6116205760405162461bcd60e51b815260206004820152602360248201527f4e46543a206d75737420686176652070617573657220726f6c6520746f20706160448201526275736560e81b6064820152608401610b88565b6110e16121dc565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600c546001600160a01b0316331461167d5760405162461bcd60e51b8152600401610b889061334a565b8051610fd5906011906020840190612ce5565b606060018054610a9090613475565b6000611274600f5490565b610fd5338383612257565b60006116c081611ee2565b610fd5600083612326565b6116d53383611b48565b6116f15760405162461bcd60e51b8152600401610b889061337f565b6116fd84848484612330565b50505050565b6060600061171083611433565b905060008167ffffffffffffffff81111561172d5761172d613531565b604051908082528060200260200182016040528015611756578160200160208202803683370190505b50905060005b8281101561179d5761176e8582610f02565b8282815181106117805761178061351b565b602090810291909101015280611795816134aa565b91505061175c565b509392505050565b600260135414156117f85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b88565b60026013556012546001600160a01b0316336001600160a01b031614611831576040516308e5c1fd60e21b815260040160405180910390fd5b8161183b816119c5565b61185857604051633e24282f60e21b815260040160405180910390fd5b60005b8381101561187d5761186c836114ee565b50611876816134aa565b905061185b565b505060016013555050565b600c546001600160a01b031633146118b25760405162461bcd60e51b8152600401610b889061334a565b6014805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b03166119445760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b88565b600061194e612363565b9050600081511161196e5760405180602001604052806000815250611999565b8061197884612372565b60405160200161198992919061318b565b6040516020818303038152906040525b9392505050565b6000828152600b60205260409020600101546119bb81611ee2565b610cbe8383611f72565b60008115806119d5575060155482115b156119e257506000919050565b6119ea61169f565b6015546119f7919061341b565b821115611a0657506000919050565b506001919050565b606060118054610a9090613475565b600c546001600160a01b03163314611a475760405162461bcd60e51b8152600401610b889061334a565b6001600160a01b038116611aac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b88565b61117581612170565b60006001600160e01b03198216637965db0b60e01b1480610a7b5750610a7b82612470565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b0f82611279565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611bc15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b88565b6000611bcc83611279565b9050806001600160a01b0316846001600160a01b03161480611c1357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611c375750836001600160a01b0316611c2c84610b13565b6001600160a01b0316145b949350505050565b826001600160a01b0316611c5282611279565b6001600160a01b031614611cb65760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610b88565b6001600160a01b038216611d185760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b88565b611d23838383612495565b611d2e600082611ada565b6001600160a01b0383166000908152600360205260408120805460019290611d5790849061341b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d859084906133d0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b038616611e4c5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610b88565b6001611e5f611e5a876124a0565b61251d565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611ead573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b600061199982846133d0565b611175813361254d565b611ef68282611628565b610fd5576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f2e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611f7c8282611628565b15610fd5576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60003330141561203057600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506120339050565b50335b90565b60065460ff1661207f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610b88565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006120d482611279565b90506120e281600084612495565b6120ed600083611ada565b6001600160a01b038116600090815260036020526040812080546001929061211690849061341b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610fd58282604051806020016040528060008152506125b1565b60065460ff16156122225760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b88565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120ac3390565b816001600160a01b0316836001600160a01b031614156122b95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b88565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fd58282611eec565b61233b848484611c3f565b612347848484846125e4565b6116fd5760405162461bcd60e51b8152600401610b88906132f8565b606060108054610a9090613475565b6060816123965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156123c057806123aa816134aa565b91506123b99050600a836133e8565b915061239a565b60008167ffffffffffffffff8111156123db576123db613531565b6040519080825280601f01601f191660200182016040528015612405576020820181803683370190505b5090505b84156115925761241a60018361341b565b9150612427600a866134c5565b6124329060306133d0565b60f81b8183815181106124475761244761351b565b60200101906001600160f81b031916908160001a905350612469600a866133e8565b9450612409565b60006001600160e01b0319821663780e9d6360e01b1480610a7b5750610a7b826126f1565b610cbe838383612741565b60006040518060800160405280604381526020016135736043913980516020918201208351848301516040808701518051908601209051612500950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000612528600d5490565b60405161190160f01b6020820152602281019190915260428101839052606201612500565b6125578282611628565b610fd55761256f816001600160a01b03166014612804565b61257a836020612804565b60405160200161258b9291906131ba565b60408051601f198184030181529082905262461bcd60e51b8252610b88916004016132e5565b6125bb83836129a0565b6125c860008484846125e4565b610cbe5760405162461bcd60e51b8152600401610b88906132f8565b60006001600160a01b0384163b156126e657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612628903390899088908890600401613264565b602060405180830381600087803b15801561264257600080fd5b505af1925050508015612672575060408051601f3d908101601f1916820190925261266f91810190613089565b60015b6126cc573d8080156126a0576040519150601f19603f3d011682016040523d82523d6000602084013e6126a5565b606091505b5080516126c45760405162461bcd60e51b8152600401610b88906132f8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c37565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061272257506001600160e01b03198216635b5e139f60e01b145b80610a7b57506301ffc9a760e01b6001600160e01b0319831614610a7b565b61274c838383612aee565b6001600160a01b0383166127a7576127a281600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6127ca565b816001600160a01b0316836001600160a01b0316146127ca576127ca8382612b55565b6001600160a01b0382166127e157610cbe81612bf2565b826001600160a01b0316826001600160a01b031614610cbe57610cbe8282612ca1565b606060006128138360026133fc565b61281e9060026133d0565b67ffffffffffffffff81111561283657612836613531565b6040519080825280601f01601f191660200182016040528015612860576020820181803683370190505b509050600360fc1b8160008151811061287b5761287b61351b565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128aa576128aa61351b565b60200101906001600160f81b031916908160001a90535060006128ce8460026133fc565b6128d99060016133d0565b90505b6001811115612951576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061290d5761290d61351b565b1a60f81b8282815181106129235761292361351b565b60200101906001600160f81b031916908160001a90535060049490941c9361294a8161345e565b90506128dc565b5083156119995760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610b88565b6001600160a01b0382166129f65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b88565b6000818152600260205260409020546001600160a01b031615612a5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b88565b612a6760008383612495565b6001600160a01b0382166000908152600360205260408120805460019290612a909084906133d0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff1615610cbe5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610b88565b60006001612b6284611433565b612b6c919061341b565b600083815260086020526040902054909150808214612bbf576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090612c049060019061341b565b6000838152600a602052604081205460098054939450909284908110612c2c57612c2c61351b565b906000526020600020015490508060098381548110612c4d57612c4d61351b565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612c8557612c85613505565b6001900381819060005260206000200160009055905550505050565b6000612cac83611433565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b828054612cf190613475565b90600052602060002090601f016020900481019282612d135760008555612d59565b82601f10612d2c57805160ff1916838001178555612d59565b82800160010185558215612d59579182015b82811115612d59578251825591602001919060010190612d3e565b50612d65929150612d69565b5090565b5b80821115612d655760008155600101612d6a565b600067ffffffffffffffff80841115612d9957612d99613531565b604051601f8501601f19908116603f01168101908282118183101715612dc157612dc1613531565b81604052809350858152868686011115612dda57600080fd5b858560208301376000602087830101525050509392505050565b80358015158114612e0457600080fd5b919050565b600082601f830112612e1a57600080fd5b61199983833560208501612d7e565b600060208284031215612e3b57600080fd5b813561199981613547565b60008060408385031215612e5957600080fd5b8235612e6481613547565b91506020830135612e7481613547565b809150509250929050565b600080600060608486031215612e9457600080fd5b8335612e9f81613547565b92506020840135612eaf81613547565b929592945050506040919091013590565b60008060008060808587031215612ed657600080fd5b8435612ee181613547565b93506020850135612ef181613547565b925060408501359150606085013567ffffffffffffffff811115612f1457600080fd5b612f2087828801612e09565b91505092959194509250565b60008060408385031215612f3f57600080fd5b8235612f4a81613547565b9150612f5860208401612df4565b90509250929050565b60008060008060008060c08789031215612f7a57600080fd5b8635612f8581613547565b9550602087013567ffffffffffffffff811115612fa157600080fd5b612fad89828a01612e09565b9550506040870135935060608701359250608087013560ff81168114612fd257600080fd5b8092505060a087013590509295509295509295565b60008060408385031215612ffa57600080fd5b823561300581613547565b946020939093013593505050565b60006020828403121561302557600080fd5b61199982612df4565b60006020828403121561304057600080fd5b5035919050565b6000806040838503121561305a57600080fd5b823591506020830135612e7481613547565b60006020828403121561307e57600080fd5b81356119998161355c565b60006020828403121561309b57600080fd5b81516119998161355c565b6000602082840312156130b857600080fd5b815161199981613547565b6000602082840312156130d557600080fd5b813567ffffffffffffffff8111156130ec57600080fd5b8201601f810184136130fd57600080fd5b611c3784823560208401612d7e565b60008151808452613124816020860160208601613432565b601f01601f19169290920160200192915050565b6000825161314a818460208701613432565b9190910192915050565b60008351613166818460208801613432565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b6000835161319d818460208801613432565b8351908301906131b1818360208801613432565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516131f2816017850160208801613432565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613223816028840160208801613432565b01602801949350505050565b6001600160a01b0384811682528316602082015260606040820181905260009061325b9083018461310c565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906132979083018461310c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156132d9578351835292840192918401916001016132bd565b50909695505050505050565b602081526000611999602083018461310c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156133e3576133e36134d9565b500190565b6000826133f7576133f76134ef565b500490565b6000816000190483118215151615613416576134166134d9565b500290565b60008282101561342d5761342d6134d9565b500390565b60005b8381101561344d578181015183820152602001613435565b838111156116fd5750506000910152565b60008161346d5761346d6134d9565b506000190190565b600181811c9082168061348957607f821691505b6020821081141561159657634e487b7160e01b600052602260045260246000fd5b60006000198214156134be576134be6134d9565b5060010190565b6000826134d4576134d46134ef565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461117557600080fd5b6001600160e01b03198116811461117557600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220cc0315007e84dc5007b0a29199442bc7a5fdef6779a26002572594f405fcfbd364736f6c63430008070033

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

00000000000000000000000058807bad0b376efc12f5ad86aac70e78ed67deae

-----Decoded View---------------
Arg [0] : _proxyAddress (address): 0x58807baD0B376efc12F5AD86aAc70E78ed67deaE

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000058807bad0b376efc12f5ad86aac70e78ed67deae


Deployed Bytecode Sourcemap

92382:1533:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82845:311;;;;;;;;;;-1:-1:-1;82845:311:0;;;;;:::i;:::-;;:::i;:::-;;;11290:14:1;;11283:22;11265:41;;11253:2;11238:18;82845:311:0;;;;;;;;57789:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;59349:221::-;;;;;;;;;;-1:-1:-1;59349:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9515:32:1;;;9497:51;;9485:2;9470:18;59349:221:0;9351:203:1;58872:411:0;;;;;;;;;;-1:-1:-1;58872:411:0;;;;;:::i;:::-;;:::i;:::-;;1464:43;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1464:43:0;;;;;80102:100;;;;;;;;;;-1:-1:-1;79590:5:0;80102:100;;;11463:25:1;;;11451:2;11436:18;80102:100:0;11317:177:1;2460:101:0;;;;;;;;;;-1:-1:-1;2538:15:0;;2460:101;;60099:339;;;;;;;;;;-1:-1:-1;60099:339:0;;;;;:::i;:::-;;:::i;28484:102::-;;;;;;;;;;-1:-1:-1;28565:13:0;;;;;-1:-1:-1;;;;;28565:13:0;28484:102;;45109:131;;;;;;;;;;-1:-1:-1;45109:131:0;;;;;:::i;:::-;45183:7;45210:12;;;:6;:12;;;;;:22;;;;45109:131;12977:107;;;;;;;;;;-1:-1:-1;12977:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;13064:12:0;13030:13;13064:12;;;:6;:12;;;;;;;12977:107;11325:1226;;;;;;:::i;:::-;;:::i;45502:147::-;;;;;;;;;;-1:-1:-1;45502:147:0;;;;;:::i;:::-;;:::i;71278:256::-;;;;;;;;;;-1:-1:-1;71278:256:0;;;;;:::i;:::-;;:::i;82468:118::-;;;;;;;;;;-1:-1:-1;82468:118:0;;;;;:::i;:::-;;:::i;2569:161::-;;;;;;;;;;-1:-1:-1;2683:9:0;2569:161;;46550:218;;;;;;;;;;-1:-1:-1;46550:218:0;;;;;:::i;:::-;;:::i;81712:194::-;;;;;;;;;;;;;:::i;60509:185::-;;;;;;;;;;-1:-1:-1;60509:185:0;;;;;:::i;:::-;;:::i;78614:245::-;;;;;;;;;;-1:-1:-1;78614:245:0;;;;;:::i;:::-;;:::i;28363:113::-;;;;;;;;;;-1:-1:-1;28363:113:0;;;;;:::i;:::-;;:::i;71800:233::-;;;;;;;;;;-1:-1:-1;71800:233:0;;;;;:::i;:::-;;:::i;28594:101::-;;;;;;;;;;-1:-1:-1;28673:14:0;;;;28594:101;;80210:125;;;;;;;;;;;;;:::i;23885:86::-;;;;;;;;;;-1:-1:-1;23956:7:0;;;;23885:86;;57483:239;;;;;;;;;;-1:-1:-1;57483:239:0;;;;;:::i;:::-;;:::i;79197:60::-;;;;;;;;;;;;79234:23;79197:60;;28703:483;;;;;;;;;;-1:-1:-1;28703:483:0;;;;;:::i;:::-;;:::i;93712:200::-;;;;;;;;;;-1:-1:-1;93712:200:0;;;;;:::i;:::-;;:::i;57213:208::-;;;;;;;;;;-1:-1:-1;57213:208:0;;;;;:::i;:::-;;:::i;26784:103::-;;;;;;;;;;;;;:::i;80343:417::-;;;;;;;;;;-1:-1:-1;80343:417:0;;;;;:::i;:::-;;:::i;81305:188::-;;;;;;;;;;;;;:::i;26133:87::-;;;;;;;;;;-1:-1:-1;26206:6:0;;-1:-1:-1;;;;;26206:6:0;26133:87;;79551:44;;;;;;;;;;;;79590:5;79551:44;;43569:147;;;;;;;;;;-1:-1:-1;43569:147:0;;;;;:::i;:::-;;:::i;82127:116::-;;;;;;;;;;-1:-1:-1;82127:116:0;;;;;:::i;:::-;;:::i;57958:104::-;;;;;;;;;;;;;:::i;81914:99::-;;;;;;;;;;;;;:::i;42674:49::-;;;;;;;;;;-1:-1:-1;42674:49:0;42719:4;42674:49;;59642:155;;;;;;;;;;-1:-1:-1;59642:155:0;;;;;:::i;:::-;;:::i;82594:179::-;;;;;;;;;;-1:-1:-1;82594:179:0;;;;;:::i;:::-;;:::i;60765:328::-;;;;;;;;;;-1:-1:-1;60765:328:0;;;;;:::i;:::-;;:::i;80768:322::-;;;;;;;;;;-1:-1:-1;80768:322:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;93090:255::-;;;;;;;;;;-1:-1:-1;93090:255:0;;;;;:::i;:::-;;:::i;28239:116::-;;;;;;;;;;-1:-1:-1;28239:116:0;;;;;:::i;:::-;;:::i;58133:334::-;;;;;;;;;;-1:-1:-1;58133:334:0;;;;;:::i;:::-;;:::i;45894:149::-;;;;;;;;;;-1:-1:-1;45894:149:0;;;;;:::i;:::-;;:::i;92540:24::-;;;;;;;;;;;;;;;;93353:351;;;;;;;;;;-1:-1:-1;93353:351:0;;;;;:::i;:::-;;:::i;79264:62::-;;;;;;;;;;;;79302:24;79264:62;;22095:27;;;;;;;;;;-1:-1:-1;22095:27:0;;;;-1:-1:-1;;;;;22095:27:0;;;82021:98;;;;;;;;;;;;;:::i;59868:164::-;;;;;;;;;;-1:-1:-1;59868:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;59989:25:0;;;59965:4;59989:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;59868:164;27042:201;;;;;;;;;;-1:-1:-1;27042:201:0;;;;;:::i;:::-;;:::i;82845:311::-;83016:4;-1:-1:-1;;;;;;83058:37:0;;-1:-1:-1;;;83058:37:0;;:90;;;83112:36;83136:11;83112:23;:36::i;:::-;83038:110;82845:311;-1:-1:-1;;82845:311:0:o;57789:100::-;57843:13;57876:5;57869:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57789:100;:::o;59349:221::-;59425:7;62692:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62692:16:0;59445:73;;;;-1:-1:-1;;;59445:73:0;;20386:2:1;59445:73:0;;;20368:21:1;20425:2;20405:18;;;20398:30;20464:34;20444:18;;;20437:62;-1:-1:-1;;;20515:18:1;;;20508:42;20567:19;;59445:73:0;;;;;;;;;-1:-1:-1;59538:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;59538:24:0;;59349:221::o;58872:411::-;58953:13;58969:23;58984:7;58969:14;:23::i;:::-;58953:39;;59017:5;-1:-1:-1;;;;;59011:11:0;:2;-1:-1:-1;;;;;59011:11:0;;;59003:57;;;;-1:-1:-1;;;59003:57:0;;22384:2:1;59003:57:0;;;22366:21:1;22423:2;22403:18;;;22396:30;22462:34;22442:18;;;22435:62;-1:-1:-1;;;22513:18:1;;;22506:31;22554:19;;59003:57:0;22182:397:1;59003:57:0;21826:10;-1:-1:-1;;;;;59095:21:0;;;;:62;;-1:-1:-1;59120:37:0;59137:5;21826:10;59868:164;:::i;59120:37::-;59073:168;;;;-1:-1:-1;;;59073:168:0;;18375:2:1;59073:168:0;;;18357:21:1;18414:2;18394:18;;;18387:30;18453:34;18433:18;;;18426:62;18524:26;18504:18;;;18497:54;18568:19;;59073:168:0;18173:420:1;59073:168:0;59254:21;59263:2;59267:7;59254:8;:21::i;:::-;58942:341;58872:411;;:::o;60099:339::-;60294:41;21826:10;60313:12;60327:7;60294:18;:41::i;:::-;60286:103;;;;-1:-1:-1;;;60286:103:0;;;;;;;:::i;:::-;60402:28;60412:4;60418:2;60422:7;60402:9;:28::i;11325:1226::-;11628:142;;;11571:12;11628:142;;;;;;;;-1:-1:-1;;;;;11628:142:0;;;;;;;;;;;;11805:45;11696:11;11628:142;11833:4;11839;11845;11805:6;:45::i;:::-;11783:128;;;;-1:-1:-1;;;11783:128:0;;21566:2:1;11783:128:0;;;21548:21:1;21605:2;21585:18;;;21578:30;21644:34;21624:18;;;21617:62;-1:-1:-1;;;21695:18:1;;;21688:31;21736:19;;11783:128:0;21364:397:1;11783:128:0;-1:-1:-1;;;;;11943:19:0;;;;;;:6;:19;;;;;;11930:32;;11922:41;;;;;;12050:16;:9;12064:1;12050:13;:16::i;:::-;-1:-1:-1;;;;;12028:19:0;;;;;;:6;:19;;;;;;;:38;;;;12084:126;;;;;12035:11;;12156:10;;12182:17;;12084:126;:::i;:::-;;;;;;;;12321:12;12335:23;12370:4;-1:-1:-1;;;;;12362:18:0;12412:17;12431:11;12395:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12395:48:0;;;;;;;;;;12362:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12320:134;;;;12473:7;12465:48;;;;-1:-1:-1;;;12465:48:0;;15332:2:1;12465:48:0;;;15314:21:1;15371:2;15351:18;;;15344:30;15410;15390:18;;;15383:58;15458:18;;12465:48:0;15130:352:1;12465:48:0;12533:10;11325:1226;-1:-1:-1;;;;;;;;;11325:1226:0:o;45502:147::-;45183:7;45210:12;;;:6;:12;;;;;:22;;;43165:16;43176:4;43165:10;:16::i;:::-;45616:25:::1;45627:4;45633:7;45616:10;:25::i;71278:256::-:0;71375:7;71411:23;71428:5;71411:16;:23::i;:::-;71403:5;:31;71395:87;;;;-1:-1:-1;;;71395:87:0;;14094:2:1;71395:87:0;;;14076:21:1;14133:2;14113:18;;;14106:30;14172:34;14152:18;;;14145:62;-1:-1:-1;;;14223:18:1;;;14216:41;14274:19;;71395:87:0;13892:407:1;71395:87:0;-1:-1:-1;;;;;;71500:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;71278:256::o;82468:118::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;82550:28;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;:::-;;82468:118:::0;:::o;46550:218::-;-1:-1:-1;;;;;46646:23:0;;21826:10;46646:23;46638:83;;;;-1:-1:-1;;;46638:83:0;;24741:2:1;46638:83:0;;;24723:21:1;24780:2;24760:18;;;24753:30;24819:34;24799:18;;;24792:62;-1:-1:-1;;;24870:18:1;;;24863:45;24925:19;;46638:83:0;24539:411:1;46638:83:0;46734:26;46746:4;46752:7;46734:11;:26::i;81712:194::-;81779:33;79302:24;81800:11;:9;:11::i;81779:33::-;81757:120;;;;-1:-1:-1;;;81757:120:0;;21160:2:1;81757:120:0;;;21142:21:1;21199:2;21179:18;;;21172:30;21238:34;21218:18;;;21211:62;-1:-1:-1;;;21289:18:1;;;21282:35;21334:19;;81757:120:0;20958:401:1;81757:120:0;81888:10;:8;:10::i;:::-;81712:194::o;60509:185::-;60647:39;60664:4;60670:2;60674:7;60647:39;;;;;;;;;;;;:16;:39::i;78614:245::-;78732:41;21826:10;78751:12;21746:98;78732:41;78724:102;;;;-1:-1:-1;;;78724:102:0;;24324:2:1;78724:102:0;;;24306:21:1;24363:2;24343:18;;;24336:30;24402:34;24382:18;;;24375:62;-1:-1:-1;;;24453:18:1;;;24446:46;24509:19;;78724:102:0;24122:412:1;78724:102:0;78837:14;78843:7;78837:5;:14::i;:::-;78614:245;:::o;28363:113::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;28439:13:::1;:29:::0;;-1:-1:-1;;;;;28439:29:0;;::::1;;;-1:-1:-1::0;;;;;;28439:29:0;;::::1;::::0;;;::::1;::::0;;28363:113::o;71800:233::-;71875:7;71911:30;71698:10;:17;;71610:113;71911:30;71903:5;:38;71895:95;;;;-1:-1:-1;;;71895:95:0;;23551:2:1;71895:95:0;;;23533:21:1;23590:2;23570:18;;;23563:30;23629:34;23609:18;;;23602:62;-1:-1:-1;;;23680:18:1;;;23673:42;23732:19;;71895:95:0;23349:408:1;71895:95:0;72008:10;72019:5;72008:17;;;;;;;;:::i;:::-;;;;;;;;;72001:24;;71800:233;;;:::o;80210:125::-;80261:7;80303:24;:14;18442;;18350:114;80303:24;80288:39;;79590:5;80288:39;:::i;:::-;80281:46;;80210:125;:::o;57483:239::-;57555:7;57591:16;;;:7;:16;;;;;;-1:-1:-1;;;;;57591:16:0;57626:19;57618:73;;;;-1:-1:-1;;;57618:73:0;;19211:2:1;57618:73:0;;;19193:21:1;19250:2;19230:18;;;19223:30;19289:34;19269:18;;;19262:62;-1:-1:-1;;;19340:18:1;;;19333:39;19389:19;;57618:73:0;19009:405:1;28703:483:0;28857:14;;28831:4;;28857:14;;:44;;;;-1:-1:-1;28875:13:0;;-1:-1:-1;;;;;28875:26:0;;;:13;;;;;:26;28857:44;28853:88;;;-1:-1:-1;28925:4:0;28918:11;;28853:88;28995:13;;-1:-1:-1;;;;;28995:13:0;;;;;29038:14;;:68;;;;-1:-1:-1;29064:28:0;;-1:-1:-1;;;29064:28:0;;-1:-1:-1;;;;;9515:32:1;;;29064:28:0;;;9497:51:1;29056:50:0;;;;29064:21;;;;;;9470:18:1;;29064:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;29056:50:0;;29038:68;29020:136;;;29140:4;29133:11;;;;;29020:136;-1:-1:-1;29173:5:0;;28703:483;-1:-1:-1;;;28703:483:0:o;93712:200::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;93800:9:::1;;93786:10;:23;93782:90;;93833:27;;-1:-1:-1::0;;;93833:27:0::1;;;;;;;;;;;93782:90;93882:9;:22:::0;93712:200::o;57213:208::-;57285:7;-1:-1:-1;;;;;57313:19:0;;57305:74;;;;-1:-1:-1;;;57305:74:0;;18800:2:1;57305:74:0;;;18782:21:1;18839:2;18819:18;;;18812:30;18878:34;18858:18;;;18851:62;-1:-1:-1;;;18929:18:1;;;18922:40;18979:19;;57305:74:0;18598:406:1;57305:74:0;-1:-1:-1;;;;;;57397:16:0;;;;;:9;:16;;;;;;;57213:208::o;26784:103::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;26849:30:::1;26876:1;26849:18;:30::i;80343:417::-:0;80460:7;79234:23;43165:16;43176:4;43165:10;:16::i;:::-;80485:15:::1;80503:24;:14;18442::::0;;18350:114;80503:24:::1;80485:42;;79590:5;80546:7;:22;80538:53;;;::::0;-1:-1:-1;;;80538:53:0;;23204:2:1;80538:53:0::1;::::0;::::1;23186:21:1::0;23243:2;23223:18;;;23216:30;-1:-1:-1;;;23262:18:1;;;23255:48;23320:18;;80538:53:0::1;23002:342:1::0;80538:53:0::1;80602:26;:14;18561:19:::0;;18579:1;18561:19;;;18472:127;80602:26:::1;80639:17;80659:24;:14;18442::::0;;18350:114;80659:24:::1;80639:44;;80694:31;80704:9;80715;80694;:31::i;:::-;80743:9:::0;-1:-1:-1;;43192:1:0::1;80343:417:::0;;;;:::o;81305:188::-;81370:33;79302:24;81391:11;:9;:11::i;81370:33::-;81348:118;;;;-1:-1:-1;;;81348:118:0;;19621:2:1;81348:118:0;;;19603:21:1;19660:2;19640:18;;;19633:30;19699:34;19679:18;;;19672:62;-1:-1:-1;;;19750:18:1;;;19743:33;19793:19;;81348:118:0;19419:399:1;81348:118:0;81477:8;:6;:8::i;43569:147::-;43655:4;43679:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;43679:29:0;;;;;;;;;;;;;;;43569:147::o;82127:116::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;82207:28;;::::1;::::0;:13:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;57958:104::-:0;58014:13;58047:7;58040:14;;;;;:::i;81914:99::-;81954:7;81981:24;:14;18442;;18350:114;59642:155;59737:52;21826:10;59770:8;59780;59737:18;:52::i;82594:179::-;42719:4;43165:16;42719:4;43165:10;:16::i;:::-;82718:47:::1;42719:4;82749:15:::0;82718:10:::1;:47::i;60765:328::-:0;60940:41;21826:10;60973:7;60940:18;:41::i;:::-;60932:103;;;;-1:-1:-1;;;60932:103:0;;;;;;;:::i;:::-;61046:39;61060:4;61066:2;61070:7;61079:5;61046:13;:39::i;:::-;60765:328;;;;:::o;80768:322::-;80825:16;80854:12;80869:23;80886:5;80869:16;:23::i;:::-;80854:38;;80903:22;80942:4;80928:19;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80928:19:0;;80903:44;;80963:9;80958:102;80982:4;80978:1;:8;80958:102;;;81019:29;81039:5;81046:1;81019:19;:29::i;:::-;81008:5;81014:1;81008:8;;;;;;;;:::i;:::-;;;;;;;;;;:40;80988:3;;;;:::i;:::-;;;;80958:102;;;-1:-1:-1;81077:5:0;80768:322;-1:-1:-1;;;80768:322:0:o;93090:255::-;85220:1;85818:7;;:19;;85810:63;;;;-1:-1:-1;;;85810:63:0;;23964:2:1;85810:63:0;;;23946:21:1;24003:2;23983:18;;;23976:30;24042:33;24022:18;;;24015:61;24093:18;;85810:63:0;23762:355:1;85810:63:0;85220:1;85951:7;:18;22249:12:::1;::::0;-1:-1:-1;;;;;22249:12:0::1;21826:10:::0;-1:-1:-1;;;;;22233:28:0::1;;22229:85;;22285:17;;-1:-1:-1::0;;;22285:17:0::1;;;;;;;;;;;22229:85;93237:9:::2;22393:25;22408:9;22393:14;:25::i;:::-;22388:85;;22442:19;;-1:-1:-1::0;;;22442:19:0::2;;;;;;;;;;;22388:85;93269:9:::3;93264:74;93284:9;93280:1;:13;93264:74;;;93315:11;93322:3;93315:6;:11::i;:::-;-1:-1:-1::0;93295:3:0::3;::::0;::::3;:::i;:::-;;;93264:74;;;-1:-1:-1::0;;85176:1:0;86130:7;:22;-1:-1:-1;;93090:255:0:o;28239:116::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;28316:14:::1;:31:::0;;-1:-1:-1;;28316:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;28239:116::o;58133:334::-;62668:4;62692:16;;;:7;:16;;;;;;58206:13;;-1:-1:-1;;;;;62692:16:0;58232:76;;;;-1:-1:-1;;;58232:76:0;;21968:2:1;58232:76:0;;;21950:21:1;22007:2;21987:18;;;21980:30;22046:34;22026:18;;;22019:62;-1:-1:-1;;;22097:18:1;;;22090:45;22152:19;;58232:76:0;21766:411:1;58232:76:0;58321:21;58345:10;:8;:10::i;:::-;58321:34;;58397:1;58379:7;58373:21;:25;:86;;;;;;;;;;;;;;;;;58425:7;58434:18;:7;:16;:18::i;:::-;58408:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58373:86;58366:93;58133:334;-1:-1:-1;;;58133:334:0:o;45894:149::-;45183:7;45210:12;;;:6;:12;;;;;:22;;;43165:16;43176:4;43165:10;:16::i;:::-;46009:26:::1;46021:4;46027:7;46009:11;:26::i;93353:351::-:0;93479:4;93505:14;;;:39;;;93535:9;;93523;:21;93505:39;93501:84;;;-1:-1:-1;93568:5:0;;93353:351;-1:-1:-1;93353:351:0:o;93501:84::-;93624:9;:7;:9::i;:::-;93612;;:21;;;;:::i;:::-;93599:9;:35;93595:80;;;-1:-1:-1;93658:5:0;;93353:351;-1:-1:-1;93353:351:0:o;93595:80::-;-1:-1:-1;93692:4:0;;93353:351;-1:-1:-1;93353:351:0:o;82021:98::-;82065:13;82098;82091:20;;;;;:::i;27042:201::-;26206:6;;-1:-1:-1;;;;;26206:6:0;21826:10;26353:23;26345:68;;;;-1:-1:-1;;;26345:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27131:22:0;::::1;27123:73;;;::::0;-1:-1:-1;;;27123:73:0;;14925:2:1;27123:73:0::1;::::0;::::1;14907:21:1::0;14964:2;14944:18;;;14937:30;15003:34;14983:18;;;14976:62;-1:-1:-1;;;15054:18:1;;;15047:36;15100:19;;27123:73:0::1;14723:402:1::0;27123:73:0::1;27207:28;27226:8;27207:18;:28::i;43273:204::-:0;43358:4;-1:-1:-1;;;;;;43382:47:0;;-1:-1:-1;;;43382:47:0;;:87;;;43433:36;43457:11;43433:23;:36::i;66749:174::-;66824:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;66824:29:0;-1:-1:-1;;;;;66824:29:0;;;;;;;;:24;;66878:23;66824:24;66878:14;:23::i;:::-;-1:-1:-1;;;;;66869:46:0;;;;;;;;;;;66749:174;;:::o;62897:348::-;62990:4;62692:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62692:16:0;63007:73;;;;-1:-1:-1;;;63007:73:0;;17211:2:1;63007:73:0;;;17193:21:1;17250:2;17230:18;;;17223:30;17289:34;17269:18;;;17262:62;-1:-1:-1;;;17340:18:1;;;17333:42;17392:19;;63007:73:0;17009:408:1;63007:73:0;63091:13;63107:23;63122:7;63107:14;:23::i;:::-;63091:39;;63160:5;-1:-1:-1;;;;;63149:16:0;:7;-1:-1:-1;;;;;63149:16:0;;:52;;;-1:-1:-1;;;;;;59989:25:0;;;59965:4;59989:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;63169:32;63149:87;;;;63229:7;-1:-1:-1;;;;;63205:31:0;:20;63217:7;63205:11;:20::i;:::-;-1:-1:-1;;;;;63205:31:0;;63149:87;63141:96;62897:348;-1:-1:-1;;;;62897:348:0:o;66006:625::-;66165:4;-1:-1:-1;;;;;66138:31:0;:23;66153:7;66138:14;:23::i;:::-;-1:-1:-1;;;;;66138:31:0;;66130:81;;;;-1:-1:-1;;;66130:81:0;;15689:2:1;66130:81:0;;;15671:21:1;15728:2;15708:18;;;15701:30;15767:34;15747:18;;;15740:62;-1:-1:-1;;;15818:18:1;;;15811:35;15863:19;;66130:81:0;15487:401:1;66130:81:0;-1:-1:-1;;;;;66230:16:0;;66222:65;;;;-1:-1:-1;;;66222:65:0;;16452:2:1;66222:65:0;;;16434:21:1;16491:2;16471:18;;;16464:30;16530:34;16510:18;;;16503:62;-1:-1:-1;;;16581:18:1;;;16574:34;16625:19;;66222:65:0;16250:400:1;66222:65:0;66300:39;66321:4;66327:2;66331:7;66300:20;:39::i;:::-;66404:29;66421:1;66425:7;66404:8;:29::i;:::-;-1:-1:-1;;;;;66446:15:0;;;;;;:9;:15;;;;;:20;;66465:1;;66446:15;:20;;66465:1;;66446:20;:::i;:::-;;;;-1:-1:-1;;;;;;;66477:13:0;;;;;;:9;:13;;;;;:18;;66494:1;;66477:13;:18;;66494:1;;66477:18;:::i;:::-;;;;-1:-1:-1;;66506:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;66506:21:0;-1:-1:-1;;;;;66506:21:0;;;;;;;;;66545:27;;66506:16;;66545:27;;;;;;;58942:341;58872:411;;:::o;13092:486::-;13270:4;-1:-1:-1;;;;;13295:20:0;;13287:70;;;;-1:-1:-1;;;13287:70:0;;17624:2:1;13287:70:0;;;17606:21:1;17663:2;17643:18;;;17636:30;17702:34;17682:18;;;17675:62;-1:-1:-1;;;17753:18:1;;;17746:35;17798:19;;13287:70:0;17422:401:1;13287:70:0;13411:159;13439:47;13458:27;13478:6;13458:19;:27::i;:::-;13439:18;:47::i;:::-;13411:159;;;;;;;;;;;;12148:25:1;;;;12221:4;12209:17;;12189:18;;;12182:45;12243:18;;;12236:34;;;12286:18;;;12279:34;;;12120:19;;13411:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13388:182:0;:6;-1:-1:-1;;;;;13388:182:0;;13368:202;;13092:486;;;;;;;:::o;6240:98::-;6298:7;6325:5;6329:1;6325;:5;:::i;44020:105::-;44087:30;44098:4;21826:10;44087;:30::i;48051:238::-;48135:22;48143:4;48149:7;48135;:22::i;:::-;48130:152;;48174:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48174:29:0;;;;;;;;;:36;;-1:-1:-1;;48174:36:0;48206:4;48174:36;;;48257:12;21826:10;;21746:98;48257:12;-1:-1:-1;;;;;48230:40:0;48248:7;-1:-1:-1;;;;;48230:40:0;48242:4;48230:40;;;;;;;;;;48051:238;;:::o;48421:239::-;48505:22;48513:4;48519:7;48505;:22::i;:::-;48501:152;;;48576:5;48544:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48544:29:0;;;;;;;;;;:37;;-1:-1:-1;;48544:37:0;;;48601:40;21826:10;;48544:12;;48601:40;;48576:5;48601:40;48421:239;;:::o;13782:650::-;13853:22;13897:10;13919:4;13897:27;13893:508;;;13941:18;13962:8;;13941:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;14001:8:0;14212:17;14206:24;-1:-1:-1;;;;;14180:134:0;;-1:-1:-1;13893:508:0;;-1:-1:-1;13893:508:0;;-1:-1:-1;14378:10:0;13893:508;13782:650;:::o;24944:120::-;23956:7;;;;24480:41;;;;-1:-1:-1;;;24480:41:0;;13745:2:1;24480:41:0;;;13727:21:1;13784:2;13764:18;;;13757:30;-1:-1:-1;;;13803:18:1;;;13796:50;13863:18;;24480:41:0;13543:344:1;24480:41:0;25003:7:::1;:15:::0;;-1:-1:-1;;25003:15:0::1;::::0;;25034:22:::1;21826:10:::0;25043:12:::1;25034:22;::::0;-1:-1:-1;;;;;9515:32:1;;;9497:51;;9485:2;9470:18;25034:22:0::1;;;;;;;24944:120::o:0;65249:420::-;65309:13;65325:23;65340:7;65325:14;:23::i;:::-;65309:39;;65361:48;65382:5;65397:1;65401:7;65361:20;:48::i;:::-;65450:29;65467:1;65471:7;65450:8;:29::i;:::-;-1:-1:-1;;;;;65492:16:0;;;;;;:9;:16;;;;;:21;;65512:1;;65492:16;:21;;65512:1;;65492:21;:::i;:::-;;;;-1:-1:-1;;65531:16:0;;;;:7;:16;;;;;;65524:23;;-1:-1:-1;;;;;;65524:23:0;;;65565:36;65539:7;;65531:16;-1:-1:-1;;;;;65565:36:0;;;;;65531:16;;65565:36;82550:28:::1;82468:118:::0;:::o;27403:191::-;27496:6;;;-1:-1:-1;;;;;27513:17:0;;;-1:-1:-1;;;;;;27513:17:0;;;;;;;27546:40;;27496:6;;;27513:17;27496:6;;27546:40;;27477:16;;27546:40;27466:128;27403:191;:::o;63587:110::-;63663:26;63673:2;63677:7;63663:26;;;;;;;;;;;;:9;:26::i;24685:118::-;23956:7;;;;24210:9;24202:38;;;;-1:-1:-1;;;24202:38:0;;18030:2:1;24202:38:0;;;18012:21:1;18069:2;18049:18;;;18042:30;-1:-1:-1;;;18088:18:1;;;18081:46;18144:18;;24202:38:0;17828:340:1;24202:38:0;24745:7:::1;:14:::0;;-1:-1:-1;;24745:14:0::1;24755:4;24745:14;::::0;;24775:20:::1;24782:12;21826:10:::0;;21746:98;67065:315;67220:8;-1:-1:-1;;;;;67211:17:0;:5;-1:-1:-1;;;;;67211:17:0;;;67203:55;;;;-1:-1:-1;;;67203:55:0;;16857:2:1;67203:55:0;;;16839:21:1;16896:2;16876:18;;;16869:30;16935:27;16915:18;;;16908:55;16980:18;;67203:55:0;16655:349:1;67203:55:0;-1:-1:-1;;;;;67269:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;67269:46:0;;;;;;;;;;67331:41;;11265::1;;;67331::0;;11238:18:1;67331:41:0;;;;;;;67065:315;;;:::o;47427:112::-;47506:25;47517:4;47523:7;47506:10;:25::i;61975:315::-;62132:28;62142:4;62148:2;62152:7;62132:9;:28::i;:::-;62179:48;62202:4;62208:2;62212:7;62221:5;62179:22;:48::i;:::-;62171:111;;;;-1:-1:-1;;;62171:111:0;;;;;;;:::i;82301:113::-;82361:13;82394:12;82387:19;;;;;:::i;19308:723::-;19364:13;19585:10;19581:53;;-1:-1:-1;;19612:10:0;;;;;;;;;;;;-1:-1:-1;;;19612:10:0;;;;;19308:723::o;19581:53::-;19659:5;19644:12;19700:78;19707:9;;19700:78;;19733:8;;;;:::i;:::-;;-1:-1:-1;19756:10:0;;-1:-1:-1;19764:2:0;19756:10;;:::i;:::-;;;19700:78;;;19788:19;19820:6;19810:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19810:17:0;;19788:39;;19838:154;19845:10;;19838:154;;19872:11;19882:1;19872:11;;:::i;:::-;;-1:-1:-1;19941:10:0;19949:2;19941:5;:10;:::i;:::-;19928:24;;:2;:24;:::i;:::-;19915:39;;19898:6;19905;19898:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19898:56:0;;;;;;;;-1:-1:-1;19969:11:0;19978:2;19969:11;;:::i;:::-;;;19838:154;;70970:224;71072:4;-1:-1:-1;;;;;;71096:50:0;;-1:-1:-1;;;71096:50:0;;:90;;;71150:36;71174:11;71150:23;:36::i;83164:237::-;83349:44;83376:4;83382:2;83386:6;83349:26;:44::i;12559:410::-;12669:7;10649:108;;;;;;;;;;;;;;;;;10625:143;;;;;;;12823:12;;12858:11;;;;12902:24;;;;;12892:35;;;;;;12742:204;;;;;11730:25:1;;;11786:2;11771:18;;11764:34;;;;-1:-1:-1;;;;;11834:32:1;11829:2;11814:18;;11807:60;11898:2;11883:18;;11876:34;11717:3;11702:19;;11499:417;12742:204:0;;;;;;;;;;;;;12714:247;;;;;;12694:267;;12559:410;;;:::o;3099:258::-;3198:7;3300:20;2538:15;;;2460:101;3300:20;3271:63;;-1:-1:-1;;;3271:63:0;;;8421:27:1;8464:11;;;8457:27;;;;8500:12;;;8493:28;;;8537:12;;3271:63:0;8163:392:1;44415:505:0;44504:22;44512:4;44518:7;44504;:22::i;:::-;44499:414;;44692:41;44720:7;-1:-1:-1;;;;;44692:41:0;44730:2;44692:19;:41::i;:::-;44806:38;44834:4;44841:2;44806:19;:38::i;:::-;44597:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;44597:270:0;;;;;;;;;;-1:-1:-1;;;44543:358:0;;;;;;;:::i;63924:321::-;64054:18;64060:2;64064:7;64054:5;:18::i;:::-;64105:54;64136:1;64140:2;64144:7;64153:5;64105:22;:54::i;:::-;64083:154;;;;-1:-1:-1;;;64083:154:0;;;;;;;:::i;67945:799::-;68100:4;-1:-1:-1;;;;;68121:13:0;;30721:19;:23;68117:620;;68157:72;;-1:-1:-1;;;68157:72:0;;-1:-1:-1;;;;;68157:36:0;;;;;:72;;21826:10;;68208:4;;68214:7;;68223:5;;68157:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68157:72:0;;;;;;;;-1:-1:-1;;68157:72:0;;;;;;;;;;;;:::i;:::-;;;68153:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68399:13:0;;68395:272;;68442:60;;-1:-1:-1;;;68442:60:0;;;;;;;:::i;68395:272::-;68617:6;68611:13;68602:6;68598:2;68594:15;68587:38;68153:529;-1:-1:-1;;;;;;68280:51:0;-1:-1:-1;;;68280:51:0;;-1:-1:-1;68273:58:0;;68117:620;-1:-1:-1;68721:4:0;67945:799;;;;;;:::o;56844:305::-;56946:4;-1:-1:-1;;;;;;56983:40:0;;-1:-1:-1;;;56983:40:0;;:105;;-1:-1:-1;;;;;;;57040:48:0;;-1:-1:-1;;;57040:48:0;56983:105;:158;;;-1:-1:-1;;;;;;;;;;40641:40:0;;;57105:36;40532:157;72646:589;72790:45;72817:4;72823:2;72827:7;72790:26;:45::i;:::-;-1:-1:-1;;;;;72852:18:0;;72848:187;;72887:40;72919:7;74062:10;:17;;74035:24;;;;:15;:24;;;;;:44;;;74090:24;;;;;;;;;;;;73958:164;72887:40;72848:187;;;72957:2;-1:-1:-1;;;;;72949:10:0;:4;-1:-1:-1;;;;;72949:10:0;;72945:90;;72976:47;73009:4;73015:7;72976:32;:47::i;:::-;-1:-1:-1;;;;;73049:16:0;;73045:183;;73082:45;73119:7;73082:36;:45::i;73045:183::-;73155:4;-1:-1:-1;;;;;73149:10:0;:2;-1:-1:-1;;;;;73149:10:0;;73145:83;;73176:40;73204:2;73208:7;73176:27;:40::i;20609:451::-;20684:13;20710:19;20742:10;20746:6;20742:1;:10;:::i;:::-;:14;;20755:1;20742:14;:::i;:::-;20732:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20732:25:0;;20710:47;;-1:-1:-1;;;20768:6:0;20775:1;20768:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20768:15:0;;;;;;;;;-1:-1:-1;;;20794:6:0;20801:1;20794:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20794:15:0;;;;;;;;-1:-1:-1;20825:9:0;20837:10;20841:6;20837:1;:10;:::i;:::-;:14;;20850:1;20837:14;:::i;:::-;20825:26;;20820:135;20857:1;20853;:5;20820:135;;;-1:-1:-1;;;20905:5:0;20913:3;20905:11;20892:25;;;;;;;:::i;:::-;;;;20880:6;20887:1;20880:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;20880:37:0;;;;;;;;-1:-1:-1;20942:1:0;20932:11;;;;;20860:3;;;:::i;:::-;;;20820:135;;;-1:-1:-1;20973:10:0;;20965:55;;;;-1:-1:-1;;;20965:55:0;;12972:2:1;20965:55:0;;;12954:21:1;;;12991:18;;;12984:30;13050:34;13030:18;;;13023:62;13102:18;;20965:55:0;12770:356:1;64581:439:0;-1:-1:-1;;;;;64661:16:0;;64653:61;;;;-1:-1:-1;;;64653:61:0;;20025:2:1;64653:61:0;;;20007:21:1;;;20044:18;;;20037:30;20103:34;20083:18;;;20076:62;20155:18;;64653:61:0;19823:356:1;64653:61:0;62668:4;62692:16;;;:7;:16;;;;;;-1:-1:-1;;;;;62692:16:0;:30;64725:58;;;;-1:-1:-1;;;64725:58:0;;16095:2:1;64725:58:0;;;16077:21:1;16134:2;16114:18;;;16107:30;16173;16153:18;;;16146:58;16221:18;;64725:58:0;15893:352:1;64725:58:0;64796:45;64825:1;64829:2;64833:7;64796:20;:45::i;:::-;-1:-1:-1;;;;;64854:13:0;;;;;;:9;:13;;;;;:18;;64871:1;;64854:13;:18;;64871:1;;64854:18;:::i;:::-;;;;-1:-1:-1;;64883:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;64883:21:0;-1:-1:-1;;;;;64883:21:0;;;;;;;;64922:33;;64883:16;;;64922:33;;64883:16;;64922:33;82550:28:::1;82468:118:::0;:::o;77796:275::-;23956:7;;;;78006:9;77998:65;;;;-1:-1:-1;;;77998:65:0;;13333:2:1;77998:65:0;;;13315:21:1;13372:2;13352:18;;;13345:30;13411:34;13391:18;;;13384:62;-1:-1:-1;;;13462:18:1;;;13455:41;13513:19;;77998:65:0;13131:407:1;74749:988:0;75015:22;75065:1;75040:22;75057:4;75040:16;:22::i;:::-;:26;;;;:::i;:::-;75077:18;75098:26;;;:17;:26;;;;;;75015:51;;-1:-1:-1;75231:28:0;;;75227:328;;-1:-1:-1;;;;;75298:18:0;;75276:19;75298:18;;;:12;:18;;;;;;;;:34;;;;;;;;;75349:30;;;;;;:44;;;75466:30;;:17;:30;;;;;:43;;;75227:328;-1:-1:-1;75651:26:0;;;;:17;:26;;;;;;;;75644:33;;;-1:-1:-1;;;;;75695:18:0;;;;;:12;:18;;;;;:34;;;;;;;75688:41;74749:988::o;76032:1079::-;76310:10;:17;76285:22;;76310:21;;76330:1;;76310:21;:::i;:::-;76342:18;76363:24;;;:15;:24;;;;;;76736:10;:26;;76285:46;;-1:-1:-1;76363:24:0;;76285:46;;76736:26;;;;;;:::i;:::-;;;;;;;;;76714:48;;76800:11;76775:10;76786;76775:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;76880:28;;;:15;:28;;;;;;;:41;;;77052:24;;;;;77045:31;77087:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;76103:1008;;;76032:1079;:::o;73536:221::-;73621:14;73638:20;73655:2;73638:16;:20::i;:::-;-1:-1:-1;;;;;73669:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;73714:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;73536:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:160::-;715:20;;771:13;;764:21;754:32;;744:60;;800:1;797;790:12;744:60;650:160;;;:::o;815:220::-;857:5;910:3;903:4;895:6;891:17;887:27;877:55;;928:1;925;918:12;877:55;950:79;1025:3;1016:6;1003:20;996:4;988:6;984:17;950:79;:::i;1040:247::-;1099:6;1152:2;1140:9;1131:7;1127:23;1123:32;1120:52;;;1168:1;1165;1158:12;1120:52;1207:9;1194:23;1226:31;1251:5;1226:31;:::i;1292:388::-;1360:6;1368;1421:2;1409:9;1400:7;1396:23;1392:32;1389:52;;;1437:1;1434;1427:12;1389:52;1476:9;1463:23;1495:31;1520:5;1495:31;:::i;:::-;1545:5;-1:-1:-1;1602:2:1;1587:18;;1574:32;1615:33;1574:32;1615:33;:::i;:::-;1667:7;1657:17;;;1292:388;;;;;:::o;1685:456::-;1762:6;1770;1778;1831:2;1819:9;1810:7;1806:23;1802:32;1799:52;;;1847:1;1844;1837:12;1799:52;1886:9;1873:23;1905:31;1930:5;1905:31;:::i;:::-;1955:5;-1:-1:-1;2012:2:1;1997:18;;1984:32;2025:33;1984:32;2025:33;:::i;:::-;1685:456;;2077:7;;-1:-1:-1;;;2131:2:1;2116:18;;;;2103:32;;1685:456::o;2146:665::-;2241:6;2249;2257;2265;2318:3;2306:9;2297:7;2293:23;2289:33;2286:53;;;2335:1;2332;2325:12;2286:53;2374:9;2361:23;2393:31;2418:5;2393:31;:::i;:::-;2443:5;-1:-1:-1;2500:2:1;2485:18;;2472:32;2513:33;2472:32;2513:33;:::i;:::-;2565:7;-1:-1:-1;2619:2:1;2604:18;;2591:32;;-1:-1:-1;2674:2:1;2659:18;;2646:32;2701:18;2690:30;;2687:50;;;2733:1;2730;2723:12;2687:50;2756:49;2797:7;2788:6;2777:9;2773:22;2756:49;:::i;:::-;2746:59;;;2146:665;;;;;;;:::o;2816:315::-;2881:6;2889;2942:2;2930:9;2921:7;2917:23;2913:32;2910:52;;;2958:1;2955;2948:12;2910:52;2997:9;2984:23;3016:31;3041:5;3016:31;:::i;:::-;3066:5;-1:-1:-1;3090:35:1;3121:2;3106:18;;3090:35;:::i;:::-;3080:45;;2816:315;;;;;:::o;3136:827::-;3247:6;3255;3263;3271;3279;3287;3340:3;3328:9;3319:7;3315:23;3311:33;3308:53;;;3357:1;3354;3347:12;3308:53;3396:9;3383:23;3415:31;3440:5;3415:31;:::i;:::-;3465:5;-1:-1:-1;3521:2:1;3506:18;;3493:32;3548:18;3537:30;;3534:50;;;3580:1;3577;3570:12;3534:50;3603:49;3644:7;3635:6;3624:9;3620:22;3603:49;:::i;:::-;3593:59;;;3699:2;3688:9;3684:18;3671:32;3661:42;;3750:2;3739:9;3735:18;3722:32;3712:42;;3806:3;3795:9;3791:19;3778:33;3855:4;3846:7;3842:18;3833:7;3830:31;3820:59;;3875:1;3872;3865:12;3820:59;3898:7;3888:17;;;3952:3;3941:9;3937:19;3924:33;3914:43;;3136:827;;;;;;;;:::o;3968:315::-;4036:6;4044;4097:2;4085:9;4076:7;4072:23;4068:32;4065:52;;;4113:1;4110;4103:12;4065:52;4152:9;4139:23;4171:31;4196:5;4171:31;:::i;:::-;4221:5;4273:2;4258:18;;;;4245:32;;-1:-1:-1;;;3968:315:1:o;4288:180::-;4344:6;4397:2;4385:9;4376:7;4372:23;4368:32;4365:52;;;4413:1;4410;4403:12;4365:52;4436:26;4452:9;4436:26;:::i;4473:180::-;4532:6;4585:2;4573:9;4564:7;4560:23;4556:32;4553:52;;;4601:1;4598;4591:12;4553:52;-1:-1:-1;4624:23:1;;4473:180;-1:-1:-1;4473:180:1:o;4658:315::-;4726:6;4734;4787:2;4775:9;4766:7;4762:23;4758:32;4755:52;;;4803:1;4800;4793:12;4755:52;4839:9;4826:23;4816:33;;4899:2;4888:9;4884:18;4871:32;4912:31;4937:5;4912:31;:::i;4978:245::-;5036:6;5089:2;5077:9;5068:7;5064:23;5060:32;5057:52;;;5105:1;5102;5095:12;5057:52;5144:9;5131:23;5163:30;5187:5;5163:30;:::i;5228:249::-;5297:6;5350:2;5338:9;5329:7;5325:23;5321:32;5318:52;;;5366:1;5363;5356:12;5318:52;5398:9;5392:16;5417:30;5441:5;5417:30;:::i;5482:280::-;5581:6;5634:2;5622:9;5613:7;5609:23;5605:32;5602:52;;;5650:1;5647;5640:12;5602:52;5682:9;5676:16;5701:31;5726:5;5701:31;:::i;5767:450::-;5836:6;5889:2;5877:9;5868:7;5864:23;5860:32;5857:52;;;5905:1;5902;5895:12;5857:52;5945:9;5932:23;5978:18;5970:6;5967:30;5964:50;;;6010:1;6007;6000:12;5964:50;6033:22;;6086:4;6078:13;;6074:27;-1:-1:-1;6064:55:1;;6115:1;6112;6105:12;6064:55;6138:73;6203:7;6198:2;6185:16;6180:2;6176;6172:11;6138:73;:::i;6727:257::-;6768:3;6806:5;6800:12;6833:6;6828:3;6821:19;6849:63;6905:6;6898:4;6893:3;6889:14;6882:4;6875:5;6871:16;6849:63;:::i;:::-;6966:2;6945:15;-1:-1:-1;;6941:29:1;6932:39;;;;6973:4;6928:50;;6727:257;-1:-1:-1;;6727:257:1:o;6989:274::-;7118:3;7156:6;7150:13;7172:53;7218:6;7213:3;7206:4;7198:6;7194:17;7172:53;:::i;:::-;7241:16;;;;;6989:274;-1:-1:-1;;6989:274:1:o;7268:415::-;7425:3;7463:6;7457:13;7479:53;7525:6;7520:3;7513:4;7505:6;7501:17;7479:53;:::i;:::-;7601:2;7597:15;;;;-1:-1:-1;;7593:53:1;7554:16;;;;7579:68;;;7674:2;7663:14;;7268:415;-1:-1:-1;;7268:415:1:o;7688:470::-;7867:3;7905:6;7899:13;7921:53;7967:6;7962:3;7955:4;7947:6;7943:17;7921:53;:::i;:::-;8037:13;;7996:16;;;;8059:57;8037:13;7996:16;8093:4;8081:17;;8059:57;:::i;:::-;8132:20;;7688:470;-1:-1:-1;;;;7688:470:1:o;8560:786::-;8971:25;8966:3;8959:38;8941:3;9026:6;9020:13;9042:62;9097:6;9092:2;9087:3;9083:12;9076:4;9068:6;9064:17;9042:62;:::i;:::-;-1:-1:-1;;;9163:2:1;9123:16;;;9155:11;;;9148:40;9213:13;;9235:63;9213:13;9284:2;9276:11;;9269:4;9257:17;;9235:63;:::i;:::-;9318:17;9337:2;9314:26;;8560:786;-1:-1:-1;;;;8560:786:1:o;9559:431::-;-1:-1:-1;;;;;9816:15:1;;;9798:34;;9868:15;;9863:2;9848:18;;9841:43;9920:2;9915;9900:18;;9893:30;;;9741:4;;9940:44;;9965:18;;9957:6;9940:44;:::i;:::-;9932:52;9559:431;-1:-1:-1;;;;;9559:431:1:o;9995:488::-;-1:-1:-1;;;;;10264:15:1;;;10246:34;;10316:15;;10311:2;10296:18;;10289:43;10363:2;10348:18;;10341:34;;;10411:3;10406:2;10391:18;;10384:31;;;10189:4;;10432:45;;10457:19;;10449:6;10432:45;:::i;:::-;10424:53;9995:488;-1:-1:-1;;;;;;9995:488:1:o;10488:632::-;10659:2;10711:21;;;10781:13;;10684:18;;;10803:22;;;10630:4;;10659:2;10882:15;;;;10856:2;10841:18;;;10630:4;10925:169;10939:6;10936:1;10933:13;10925:169;;;11000:13;;10988:26;;11069:15;;;;11034:12;;;;10961:1;10954:9;10925:169;;;-1:-1:-1;11111:3:1;;10488:632;-1:-1:-1;;;;;;10488:632:1:o;12324:217::-;12471:2;12460:9;12453:21;12434:4;12491:44;12531:2;12520:9;12516:18;12508:6;12491:44;:::i;14304:414::-;14506:2;14488:21;;;14545:2;14525:18;;;14518:30;14584:34;14579:2;14564:18;;14557:62;-1:-1:-1;;;14650:2:1;14635:18;;14628:48;14708:3;14693:19;;14304:414::o;20597:356::-;20799:2;20781:21;;;20818:18;;;20811:30;20877:34;20872:2;20857:18;;20850:62;20944:2;20929:18;;20597:356::o;22584:413::-;22786:2;22768:21;;;22825:2;22805:18;;;22798:30;22864:34;22859:2;22844:18;;22837:62;-1:-1:-1;;;22930:2:1;22915:18;;22908:47;22987:3;22972:19;;22584:413::o;25137:128::-;25177:3;25208:1;25204:6;25201:1;25198:13;25195:39;;;25214:18;;:::i;:::-;-1:-1:-1;25250:9:1;;25137:128::o;25270:120::-;25310:1;25336;25326:35;;25341:18;;:::i;:::-;-1:-1:-1;25375:9:1;;25270:120::o;25395:168::-;25435:7;25501:1;25497;25493:6;25489:14;25486:1;25483:21;25478:1;25471:9;25464:17;25460:45;25457:71;;;25508:18;;:::i;:::-;-1:-1:-1;25548:9:1;;25395:168::o;25568:125::-;25608:4;25636:1;25633;25630:8;25627:34;;;25641:18;;:::i;:::-;-1:-1:-1;25678:9:1;;25568:125::o;25698:258::-;25770:1;25780:113;25794:6;25791:1;25788:13;25780:113;;;25870:11;;;25864:18;25851:11;;;25844:39;25816:2;25809:10;25780:113;;;25911:6;25908:1;25905:13;25902:48;;;-1:-1:-1;;25946:1:1;25928:16;;25921:27;25698:258::o;25961:136::-;26000:3;26028:5;26018:39;;26037:18;;:::i;:::-;-1:-1:-1;;;26073:18:1;;25961:136::o;26102:380::-;26181:1;26177:12;;;;26224;;;26245:61;;26299:4;26291:6;26287:17;26277:27;;26245:61;26352:2;26344:6;26341:14;26321:18;26318:38;26315:161;;;26398:10;26393:3;26389:20;26386:1;26379:31;26433:4;26430:1;26423:15;26461:4;26458:1;26451:15;26487:135;26526:3;-1:-1:-1;;26547:17:1;;26544:43;;;26567:18;;:::i;:::-;-1:-1:-1;26614:1:1;26603:13;;26487:135::o;26627:112::-;26659:1;26685;26675:35;;26690:18;;:::i;:::-;-1:-1:-1;26724:9:1;;26627:112::o;26744:127::-;26805:10;26800:3;26796:20;26793:1;26786:31;26836:4;26833:1;26826:15;26860:4;26857:1;26850:15;26876:127;26937:10;26932:3;26928:20;26925:1;26918:31;26968:4;26965:1;26958:15;26992:4;26989:1;26982:15;27008:127;27069:10;27064:3;27060:20;27057:1;27050:31;27100:4;27097:1;27090:15;27124:4;27121:1;27114:15;27140:127;27201:10;27196:3;27192:20;27189:1;27182:31;27232:4;27229:1;27222:15;27256:4;27253:1;27246:15;27272:127;27333:10;27328:3;27324:20;27321:1;27314:31;27364:4;27361:1;27354:15;27388:4;27385:1;27378:15;27404:131;-1:-1:-1;;;;;27479:31:1;;27469:42;;27459:70;;27525:1;27522;27515:12;27540:131;-1:-1:-1;;;;;;27614:32:1;;27604:43;;27594:71;;27661:1;27658;27651:12

Swarm Source

ipfs://4a7a6be11fbce8a1e18eb4e8648fb8fb62b83c0215894fc77752a95ffab2c6eb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

NFTSTAR Fan Pass - Son Heung-Min, as the first-ever authentic NFT drop of Son Heung-Min, features Son’s signature camera gesture and his career story. The Fan Pass, in a form of PFP NFT, based on generative arts varies in colors and traits in a Pop Art style on the Ethereum blockchain.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.