ETH Price: $2,533.54 (-3.97%)

Token

We All Survived Death (WASD)
 

Overview

Max Total Supply

10,000 WASD

Holders

2,490

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WASD
0x7570Cc0adc7F8b49945432B39aa4E03F0458F8B6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

We All Survived Death is a collection of 10,000 unique survivors inspired by games and NFT culture.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WeAllSurvivedDeath

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-18
*/

/* SPDX-License-Identifier: MIT */

// Sources flattened with hardhat v2.9.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// 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 @openzeppelin/contracts/access/[email protected]

// 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 @openzeppelin/contracts/security/[email protected]

// 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/utils/[email protected]

// 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/cryptography/[email protected]

// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

// 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/access/[email protected]

// 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/introspection/[email protected]

// 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/[email protected]

// 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/[email protected]

// OpenZeppelin Contracts (last updated v4.5.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, _msgSender());
        _;
    }

    /**
     * @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 `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/[email protected]

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// 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/utils/[email protected]

// 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/[email protected]

// OpenZeppelin Contracts (last updated v4.5.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 overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _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/[email protected]

// 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 @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// 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/utils/math/[email protected]

// OpenZeppelin Contracts v4.4.1 (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 substraction 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 contracts/common/meta-transactions/ContentMixin.sol


pragma solidity ^0.8.15;

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 contracts/common/meta-transactions/Initializable.sol


pragma solidity ^0.8.15;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}


// File contracts/common/meta-transactions/EIP712Base.sol


pragma solidity ^0.8.15;

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 contracts 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 contracts/common/meta-transactions/NativeMetaTransaction.sol


pragma solidity ^0.8.15;


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 executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].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 contracts/tokens/ERC721/ERC721Tradable.sol


pragma solidity ^0.8.15;






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;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721Tradable is
    ERC721,
    ContextMixin,
    NativeMetaTransaction,
    Ownable
{
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    /**
     * We rely on the OZ Counter util to keep track of the next available ID.
     * We track the nextTokenId instead of the currentTokenId to save users on gas costs.
     * Read more about it here: https://shiny.mirror.xyz/OUampBbIz9ebEicfGnQf5At_ReMHlZy0tB4glb9xQ0E
     */
    Counters.Counter private _nextTokenId;
    address proxyRegistryAddress;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        // nextTokenId is initialized to 1, since starting at 0 leads to higher gas cost for the first minter
        _nextTokenId.increment();
        _initializeEIP712(_name);
    }

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function mintTo(address _to) public virtual onlyOwner {
        uint256 currentTokenId = _nextTokenId.current();
        _nextTokenId.increment();
        _safeMint(_to, currentTokenId);
    }

    /**
        @dev Returns the total tokens minted so far.
        1 is always subtracted from the Counter since it tracks the next available tokenId.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _nextTokenId.current() - 1;
    }

    function baseTokenURI() public view virtual returns (string memory);

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId))
            );
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        view
        virtual
        override
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}


// File contracts/tokens/ERC721/WeAllSurvivedDeath.sol


pragma solidity ^0.8.15;





contract WeAllSurvivedDeath is
    AccessControl,
    ERC721Burnable,
    ERC721Tradable,
    IERC721Enumerable
{
    using Strings for uint256;
    using Counters for Counters.Counter;

    struct TokenInfo {
        uint256 tokenId;
        string tokenURI;
    }

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    Counters.Counter private _currentId;
    string private _baseTokenURI;

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

    // Mapping from an owner address and the token index to the token ID
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

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

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

    constructor(
        string memory name_,
        string memory symbol_,
        string memory baseTokenURI_,
        address proxyRegistryAddress
    ) ERC721Tradable(name_, symbol_, proxyRegistryAddress) {
        _baseTokenURI = baseTokenURI_;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _currentId.increment();
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override(IERC721, ERC721, ERC721Tradable)
        returns (bool)
    {
        return ERC721Tradable.isApprovedForAll(owner, operator);
    }

    function baseTokenURI() public view override returns (string memory) {
        return _baseTokenURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721Tradable)
        returns (string memory)
    {
        require(_exists(tokenId), "WeAllSurvivedDeath: token does not exist");
        return
            string(
                abi.encodePacked(
                    _baseTokenURI,
                    Strings.toString(tokenId),
                    ".json"
                )
            );
    }

    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        returns (uint256)
    {
        require(
            index < ERC721.balanceOf(owner),
            "WeAllSurvivedDeath: owner index out of bounds"
        );
        return _ownedTokens[owner][index];
    }

    function totalSupply()
        public
        view
        virtual
        override(ERC721Tradable, IERC721Enumerable)
        returns (uint256)
    {
        return _allTokens.length;
    }

    function tokenByIndex(uint256 index) public view virtual returns (uint256) {
        require(
            index < totalSupply(),
            "WeAllSurvivedDeath: global index out of bounds"
        );
        return _allTokens[index];
    }

    function getOwnedTokens(
        address user,
        uint256 fromIndex,
        uint256 toIndex
    ) external view returns (TokenInfo[] memory) {
        if (balanceOf(user) == 0) return new TokenInfo[](0);
        uint256 lastIndex = toIndex;
        if (lastIndex >= balanceOf(user)) lastIndex = balanceOf(user) - 1;
        require(
            fromIndex <= lastIndex,
            "WeAllSurvivedDeath: invalid query range"
        );
        uint256 numNFTs = lastIndex - fromIndex + 1;
        TokenInfo[] memory ownedTokens = new TokenInfo[](numNFTs);
        for (uint256 i = fromIndex; i <= lastIndex; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(user, i);
            ownedTokens[i - fromIndex] = TokenInfo(tokenId, tokenURI(tokenId));
        }
        return ownedTokens;
    }

    function setBaseTokenURI(string memory baseTokenURI_) external {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
            "WeAllSurvivedDeath: caller is not admin"
        );
        _baseTokenURI = baseTokenURI_;
    }

    function mintTo(address to) public override {
        require(
            hasRole(MINTER_ROLE, _msgSender()),
            "WeAllSurvivedDeath: must have minter role to mint"
        );
        uint256 currentTokenId = _currentId.current();
        _currentId.increment();
        _safeMint(to, currentTokenId);
    }

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721) {
        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);
    }

    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    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];
    }

    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();
    }

    function _msgSender()
        internal
        view
        override(Context, ERC721Tradable)
        returns (address)
    {
        return ERC721Tradable._msgSender();
    }
}


// File contracts/WASDMinting.sol


pragma solidity ^0.8.15;




contract WASDMinting is Ownable, Pausable {
    using ECDSA for bytes32;

    struct MintingRole {
        uint256 roleId;
        string roleName;
        uint256 mintLimit; // the maximum number of times each participant of this role can mint
    }

    struct PhaseInfo {
        string metadata; // the general information of this phase
        uint256 duration; // the duration of this phase in seconds
        uint256 mintLimit; // the maximum number of times each participant can mint at this phase
    }

    struct ParticipantInfo {
        uint256 roleId;
        uint256 mintCount;
    }

    WeAllSurvivedDeath public WASD;
    uint256 public wasdLimit;
    uint256 public totalMintCount;
    uint256 public startingTime;
    uint256 private _deployedTime;
    PhaseInfo[] private _phaseInfos;
    MintingRole[] private _mintingRoles;
    mapping(uint256 => mapping(uint256 => bool)) private _rolePermission; // (phase ID + role ID) => permission
    mapping(address => ParticipantInfo) private _participantInfos;
    mapping(uint256 => uint256[]) private _allowedInPhases; // role ID => [phase IDs]
    mapping(uint256 => uint256) private _availableSlotsForRole; // the maximum number of participants who can have this role
    mapping(address => bool) private _operators;

    event MintingRoleCreated(
        uint256 roleId,
        string roleName,
        uint256 mintLimit
    );

    constructor(
        address wasdNFT,
        uint256 wasdLimit_,
        uint256 startingTime_,
        string[] memory metadatas,
        uint256[] memory durations,
        uint256[] memory mintLimits
    ) Ownable() {
        _operators[msg.sender] = true;
        WASD = WeAllSurvivedDeath(wasdNFT);
        wasdLimit = wasdLimit_;
        startingTime = startingTime_;
        _deployedTime = block.timestamp;
        _availableSlotsForRole[0] = type(uint256).max;
        _mintingRoles.push(MintingRole(0, "Community", 1));
        require(
            metadatas.length == durations.length,
            "WASDMinting: lengths mismatch"
        );
        require(
            metadatas.length == mintLimits.length,
            "WASDMinting: lengths mismatch"
        );
        _phaseInfos.push(PhaseInfo("", startingTime_ - block.timestamp, 0));
        for (uint256 i = 0; i < metadatas.length; i++) {
            require(durations[i] >= 5 minutes, "WASDMinting: phase too short");
            require(
                mintLimits[i] > 0,
                "WASDMinting: mint limit must be greater than zero"
            );
            _phaseInfos.push(
                PhaseInfo(metadatas[i], durations[i], mintLimits[i])
            );
        }
    }

    modifier onlyOperators() {
        require(_operators[msg.sender], "WASDMinting: caller is not operator");
        _;
    }

    function getPhaseInfo() external view returns (PhaseInfo[] memory) {
        uint256 numPhases = _phaseInfos.length - 1;
        PhaseInfo[] memory phases = new PhaseInfo[](numPhases);
        for (uint256 i = 0; i < numPhases; i++) phases[i] = _phaseInfos[i + 1];
        return phases;
    }

    function getCurrentPhase() public view returns (uint256) {
        uint256 elapsedTime = block.timestamp - _deployedTime;
        for (uint256 phase = 0; phase < _phaseInfos.length; phase++)
            if (elapsedTime >= _phaseInfos[phase].duration)
                elapsedTime -= _phaseInfos[phase].duration;
            else return phase;
        return _phaseInfos.length;
    }

    function getRoles() external view returns (MintingRole[] memory) {
        return _mintingRoles;
    }

    function getParticipantInfo(address participant)
        public
        view
        returns (
            uint256 roleId,
            string memory roleName,
            uint256 mintLimit,
            uint256 mintCount,
            uint256 availableMintCount,
            uint256[] memory allowedInPhases
        )
    {
        require(
            getCurrentPhase() < _phaseInfos.length,
            "WASDMinting: minting time is over"
        );
        roleId = _participantInfos[participant].roleId;
        roleName = _mintingRoles[roleId].roleName;
        mintLimit = _mintingRoles[roleId].mintLimit;
        mintCount = _participantInfos[participant].mintCount;
        allowedInPhases = _allowedInPhases[roleId];
        if (!_rolePermission[getCurrentPhase()][roleId]) availableMintCount = 0;
        else {
            require(
                _participantInfos[participant].mintCount <=
                    _mintingRoles[roleId].mintLimit,
                "WASDMinting: mint count exceeds limit"
            );
            availableMintCount =
                _mintingRoles[roleId].mintLimit -
                _participantInfos[participant].mintCount;
            if (availableMintCount > _phaseInfos[getCurrentPhase()].mintLimit)
                availableMintCount = _phaseInfos[getCurrentPhase()].mintLimit;
        }
    }

    function setOperators(address[] memory operators, bool[] memory isOperators)
        external
        onlyOwner
    {
        require(
            operators.length == isOperators.length,
            "WASDMinting: lengths mismatch"
        );
        for (uint256 i = 0; i < operators.length; i++)
            _operators[operators[i]] = isOperators[i];
    }

    function createMintingRoles(
        string[] memory roleNames,
        uint256[] memory mintLimits,
        uint256[] memory roleLimits
    ) external onlyOperators {
        require(
            roleNames.length == mintLimits.length,
            "WASDMinting: lengths mismatch"
        );
        require(
            roleNames.length == roleLimits.length,
            "WASDMinting: lengths mismatch"
        );
        for (uint256 i = 0; i < roleNames.length; i++) {
            require(
                mintLimits[i] > 0,
                "WASDMinting: mint limit must be greater than zero"
            );
            require(
                roleLimits[i] > 0,
                "WASDMinting: role limit must be greater than zero"
            );
            uint256 roleId = _mintingRoles.length;
            _availableSlotsForRole[roleId] = roleLimits[i];
            _mintingRoles.push(
                MintingRole(roleId, roleNames[i], mintLimits[i])
            );
            emit MintingRoleCreated(roleId, roleNames[i], mintLimits[i]);
        }
    }

    function addRolesToPhases(
        uint256[] memory phaseIds,
        uint256[][] memory roleIds
    ) external onlyOperators {
        require(
            phaseIds.length == roleIds.length,
            "WASDMinting: lengths mismatch"
        );
        for (uint256 i = 0; i < phaseIds.length; i++) {
            require(
                phaseIds[i] < _phaseInfos.length,
                "WASDMinting: invalid phase ID"
            );
            for (uint256 j = 0; j < roleIds[i].length; j++) {
                require(
                    roleIds[i][j] < _mintingRoles.length,
                    "WASDMinting: invalid role ID"
                );
                _rolePermission[phaseIds[i]][roleIds[i][j]] = true;
                _allowedInPhases[roleIds[i][j]].push(phaseIds[i]);
            }
        }
    }

    function mintWASD(
        uint256 roleId,
        bytes calldata signature,
        uint256 quantity
    ) external whenNotPaused {
        // Validate basic information
        require(
            getCurrentPhase() < _phaseInfos.length,
            "WASDMinting: minting time is over"
        );
        require(
            _participantInfos[msg.sender].roleId == 0,
            "WASDMinting: participant already granted minting role"
        );
        require(
            _participantInfos[msg.sender].mintCount == 0,
            "WASDMinting: not the first mint"
        );
        require(roleId < _mintingRoles.length, "WASDMinting: invalid role ID");
        require(
            _availableSlotsForRole[roleId] > 0,
            "WASDMinting: role limit reached"
        );

        // Validate operator's signature
        bytes32 hash = keccak256(abi.encodePacked(msg.sender, roleId));
        bytes32 messageHash = hash.toEthSignedMessageHash();
        address signer = messageHash.recover(signature);
        require(_operators[signer], "WASDMinting: invalid signer");

        // Validate mint count
        require(
            totalMintCount + quantity <= wasdLimit,
            "WASDMinting: total mint limit reached"
        );
        uint256 availableMintCount = 0;
        if (_rolePermission[getCurrentPhase()][roleId]) {
            availableMintCount = _mintingRoles[roleId].mintLimit;
            if (availableMintCount > _phaseInfos[getCurrentPhase()].mintLimit)
                availableMintCount = _phaseInfos[getCurrentPhase()].mintLimit;
        }
        require(
            quantity <= availableMintCount,
            "WASDMinting: personal mint limit at this phase reached"
        );

        // Grant role and mint WASDs
        _availableSlotsForRole[roleId]--;
        _participantInfos[msg.sender].roleId = roleId;
        _participantInfos[msg.sender].mintCount = quantity;
        totalMintCount += quantity;
        for (uint256 i = 0; i < quantity; i++) WASD.mintTo(msg.sender);
    }

    function mintWASD(uint256 quantity) external whenNotPaused {
        require(
            _participantInfos[msg.sender].mintCount > 0,
            "WASDMinting: first mint - undetected role"
        );
        (, , , , uint256 availableMintCount, ) = getParticipantInfo(msg.sender);
        require(
            quantity <= availableMintCount,
            "WASDMinting: personal mint limit at this phase reached"
        );
        require(
            totalMintCount + quantity <= wasdLimit,
            "WASDMinting: total mint limit reached"
        );
        _participantInfos[msg.sender].mintCount += quantity;
        totalMintCount += quantity;
        for (uint256 i = 0; i < quantity; i++) WASD.mintTo(msg.sender);
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseTokenURI_","type":"string"},{"internalType":"address","name":"proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"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":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"},{"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":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","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":"address","name":"user","type":"address"},{"internalType":"uint256","name":"fromIndex","type":"uint256"},{"internalType":"uint256","name":"toIndex","type":"uint256"}],"name":"getOwnedTokens","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"internalType":"struct WeAllSurvivedDeath.TokenInfo[]","name":"","type":"tuple[]"}],"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":"to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805460ff191690553480156200001b57600080fd5b50604051620036bd380380620036bd8339810160408190526200003e916200046e565b83838282826001620000518382620005b0565b506002620000608282620005b0565b5050506200007d62000077620000fd60201b60201c565b62000119565b600c80546001600160a01b0319166001600160a01b038316179055620000b0600b6200016b602090811b620014d417901c565b620000bb8362000174565b50600e9150620000ce90508382620005b0565b50620000dc600033620001d8565b620000f3600d6200016b60201b620014d41760201c565b505050506200067c565b600062000114620001e860201b620014dd1760201c565b905090565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b60075460ff1615620001bd5760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b620001c881620001ff565b506007805460ff19166001179055565b620001e48282620002a1565b5050565b6000620001146200034360201b620014ec1760201c565b6040518060800160405280604f81526020016200366e604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600855565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001e4576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002ff620000fd565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60003033036200039b57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506200039e9050565b50335b90565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003c957600080fd5b81516001600160401b0380821115620003e657620003e6620003a1565b604051601f8301601f19908116603f01168101908282118183101715620004115762000411620003a1565b816040528381526020925086838588010111156200042e57600080fd5b600091505b8382101562000452578582018301518183018401529082019062000433565b83821115620004645760008385830101525b9695505050505050565b600080600080608085870312156200048557600080fd5b84516001600160401b03808211156200049d57600080fd5b620004ab88838901620003b7565b95506020870151915080821115620004c257600080fd5b620004d088838901620003b7565b94506040870151915080821115620004e757600080fd5b50620004f687828801620003b7565b606087015190935090506001600160a01b03811681146200051657600080fd5b939692955090935050565b600181811c908216806200053657607f821691505b6020821081036200055757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005ab57600081815260208120601f850160051c81016020861015620005865750805b601f850160051c820191505b81811015620005a75782815560010162000592565b5050505b505050565b81516001600160401b03811115620005cc57620005cc620003a1565b620005e481620005dd845462000521565b846200055d565b602080601f8311600181146200061c5760008415620006035750858301515b600019600386901b1c1916600185901b178555620005a7565b600085815260208120601f198616915b828110156200064d578886015182559484019460019091019084016200062c565b50858210156200066c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612fe2806200068c6000396000f3fe60806040526004361061020f5760003560e01c806342966c6811610118578063a217fddf116100a0578063d53913931161006f578063d53913931461061c578063d547741f14610650578063d547cfb714610670578063e985e9c514610685578063f2fde38b146106a557600080fd5b8063a217fddf146105a7578063a22cb465146105bc578063b88d4fde146105dc578063c87b56dd146105fc57600080fd5b8063715018a6116100e7578063715018a61461051f578063755edd17146105345780638da5cb5b1461055457806391d148541461057257806395d89b411461059257600080fd5b806342966c681461049f5780634f6ccce7146104bf5780636352211e146104df57806370a08231146104ff57600080fd5b806323b872dd1161019b5780632f745c591161016a5780632f745c591461040c57806330176e131461042c5780633408e4701461044c57806336568abe1461045f57806342842e0e1461047f57600080fd5b806323b872dd14610366578063248a9ca3146103865780632d0335ab146103b65780632f2ff15d146103ec57600080fd5b8063095ea7b3116101e2578063095ea7b3146102d05780630c53c51c146102f25780630f7e59701461030557806318160ddd1461033257806320379ee51461035157600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063082a6569146102a3575b600080fd5b34801561022057600080fd5b5061023461022f36600461261c565b6106c5565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106ff565b6040516102409190612691565b34801561027757600080fd5b5061028b6102863660046126a4565b610791565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046126d2565b61082b565b6040516102409190612707565b3480156102dc57600080fd5b506102f06102eb36600461277b565b610a02565b005b61025e610300366004612853565b610b29565b34801561031157600080fd5b5061025e604051806040016040528060018152602001603160f81b81525081565b34801561033e57600080fd5b50600f545b604051908152602001610240565b34801561035d57600080fd5b50600854610343565b34801561037257600080fd5b506102f06103813660046128d1565b610d13565b34801561039257600080fd5b506103436103a13660046126a4565b60009081526020819052604090206001015490565b3480156103c257600080fd5b506103436103d1366004612912565b6001600160a01b031660009081526009602052604090205490565b3480156103f857600080fd5b506102f061040736600461292f565b610d4b565b34801561041857600080fd5b5061034361042736600461277b565b610d78565b34801561043857600080fd5b506102f061044736600461295f565b610e10565b34801561045857600080fd5b5046610343565b34801561046b57600080fd5b506102f061047a36600461292f565b610e87565b34801561048b57600080fd5b506102f061049a3660046128d1565b610f11565b3480156104ab57600080fd5b506102f06104ba3660046126a4565b610f2c565b3480156104cb57600080fd5b506103436104da3660046126a4565b610fa8565b3480156104eb57600080fd5b5061028b6104fa3660046126a4565b61103d565b34801561050b57600080fd5b5061034361051a366004612912565b6110b4565b34801561052b57600080fd5b506102f061113b565b34801561054057600080fd5b506102f061054f366004612912565b6111c0565b34801561056057600080fd5b50600a546001600160a01b031661028b565b34801561057e57600080fd5b5061023461058d36600461292f565b611277565b34801561059e57600080fd5b5061025e6112a0565b3480156105b357600080fd5b50610343600081565b3480156105c857600080fd5b506102f06105d73660046129a8565b6112af565b3480156105e857600080fd5b506102f06105f73660046129db565b6112c1565b34801561060857600080fd5b5061025e6106173660046126a4565b611300565b34801561062857600080fd5b506103437f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561065c57600080fd5b506102f061066b36600461292f565b6113aa565b34801561067c57600080fd5b5061025e6113d2565b34801561069157600080fd5b506102346106a0366004612a47565b6113e1565b3480156106b157600080fd5b506102f06106c0366004612912565b6113ed565b60006001600160e01b0319821663780e9d6360e01b14806106ea57506106ea82611548565b806106f957506106f98261157d565b92915050565b60606001805461070e90612a75565b80601f016020809104026020016040519081016040528092919081815260200182805461073a90612a75565b80156107875780601f1061075c57610100808354040283529160200191610787565b820191906000526020600020905b81548152906001019060200180831161076a57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b031661080f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6060610836846110b4565b60000361088357604080516000808252602082019092529061087b565b6040805180820190915260008152606060208201528152602001906001900390816108535790505b5090506109fb565b8161088d856110b4565b81106108ab57600161089e866110b4565b6108a89190612ac5565b90505b8084111561090b5760405162461bcd60e51b815260206004820152602760248201527f5765416c6c537572766976656444656174683a20696e76616c69642071756572604482015266792072616e676560c81b6064820152608401610806565b60006109178583612ac5565b610922906001612adc565b905060008167ffffffffffffffff81111561093f5761093f6127a7565b60405190808252806020026020018201604052801561098557816020015b60408051808201909152600081526060602082015281526020019060019003908161095d5790505b509050855b8381116109f557600061099d8983610d78565b905060405180604001604052808281526020016109b983611300565b9052836109c68a85612ac5565b815181106109d6576109d6612af4565b60200260200101819052505080806109ed90612b0a565b91505061098a565b50925050505b9392505050565b6000610a0d8261103d565b9050806001600160a01b0316836001600160a01b031603610a7a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610806565b806001600160a01b0316610a8c6115bd565b6001600160a01b03161480610aa85750610aa8816106a06115bd565b610b1a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610806565b610b2483836115c7565b505050565b60408051606081810183526001600160a01b03881660008181526009602090815290859020548452830152918101869052610b678782878787611635565b610bbd5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610806565b6001600160a01b038716600090815260096020526040902054610be1906001611725565b6001600160a01b0388166000908152600960205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610c3190899033908a90612b23565b60405180910390a1600080306001600160a01b0316888a604051602001610c59929190612b58565b60408051601f1981840301815290829052610c7391612b8f565b6000604051808303816000865af19150503d8060008114610cb0576040519150601f19603f3d011682016040523d82523d6000602084013e610cb5565b606091505b509150915081610d075760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610806565b98975050505050505050565b610d24610d1e6115bd565b82611731565b610d405760405162461bcd60e51b815260040161080690612bab565b610b24838383611808565b600082815260208190526040902060010154610d6e81610d696115bd565b6119af565b610b248383611a13565b6000610d83836110b4565b8210610de75760405162461bcd60e51b815260206004820152602d60248201527f5765416c6c537572766976656444656174683a206f776e657220696e6465782060448201526c6f7574206f6620626f756e647360981b6064820152608401610806565b506001600160a01b03919091166000908152601060209081526040808320938352929052205490565b610e1b600033611277565b610e775760405162461bcd60e51b815260206004820152602760248201527f5765416c6c537572766976656444656174683a2063616c6c6572206973206e6f6044820152663a1030b236b4b760c91b6064820152608401610806565b600e610e838282612c4a565b5050565b610e8f6115bd565b6001600160a01b0316816001600160a01b031614610f075760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610806565b610e838282611a98565b610b24838383604051806020016040528060008152506112c1565b610f37610d1e6115bd565b610f9c5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610806565b610fa581611b1b565b50565b6000610fb3600f5490565b82106110185760405162461bcd60e51b815260206004820152602e60248201527f5765416c6c537572766976656444656174683a20676c6f62616c20696e64657860448201526d206f7574206f6620626f756e647360901b6064820152608401610806565b600f828154811061102b5761102b612af4565b90600052602060002001549050919050565b6000818152600360205260408120546001600160a01b0316806106f95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610806565b60006001600160a01b03821661111f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610806565b506001600160a01b031660009081526004602052604090205490565b6111436115bd565b6001600160a01b031661115e600a546001600160a01b031690565b6001600160a01b0316146111b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b6111be6000611bc2565b565b6111ec7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661058d6115bd565b6112525760405162461bcd60e51b815260206004820152603160248201527f5765416c6c537572766976656444656174683a206d7573742068617665206d696044820152701b9d195c881c9bdb19481d1bc81b5a5b9d607a1b6064820152608401610806565b600061125d600d5490565b905061126d600d80546001019055565b610e838282611c14565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606002805461070e90612a75565b610e836112ba6115bd565b8383611c2e565b6112d26112cc6115bd565b83611731565b6112ee5760405162461bcd60e51b815260040161080690612bab565b6112fa84848484611cfc565b50505050565b6000818152600360205260409020546060906001600160a01b03166113785760405162461bcd60e51b815260206004820152602860248201527f5765416c6c537572766976656444656174683a20746f6b656e20646f6573206e6044820152671bdd08195e1a5cdd60c21b6064820152608401610806565b600e61138383611d2f565b604051602001611394929190612d0a565b6040516020818303038152906040529050919050565b6000828152602081905260409020600101546113c881610d696115bd565b610b248383611a98565b6060600e805461070e90612a75565b60006109fb8383611e30565b6113f56115bd565b6001600160a01b0316611410600a546001600160a01b031690565b6001600160a01b0316146114665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b6001600160a01b0381166114cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610806565b610fa581611bc2565b80546001019055565b60006114e76114ec565b905090565b600030330361154257600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506115459050565b50335b90565b60006001600160e01b03198216637965db0b60e01b14806106f957506301ffc9a760e01b6001600160e01b03198316146106f9565b60006001600160e01b031982166380ac58cd60e01b14806115ae57506001600160e01b03198216635b5e139f60e01b145b806106f957506106f982611548565b60006114e76114dd565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115fc8261103d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661169b5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610806565b60016116ae6116a987611eec565b611f69565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156116fc573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006109fb8284612adc565b6000818152600360205260408120546001600160a01b03166117aa5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610806565b60006117b58361103d565b9050806001600160a01b0316846001600160a01b031614806117f05750836001600160a01b03166117e584610791565b6001600160a01b0316145b80611800575061180081856113e1565b949350505050565b826001600160a01b031661181b8261103d565b6001600160a01b03161461187f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610806565b6001600160a01b0382166118e15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610806565b6118ec838383611f99565b6118f76000826115c7565b6001600160a01b0383166000908152600460205260408120805460019290611920908490612ac5565b90915550506001600160a01b038216600090815260046020526040812080546001929061194e908490612adc565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6119b98282611277565b610e83576119d1816001600160a01b03166014612051565b6119dc836020612051565b6040516020016119ed929190612da1565b60408051601f198184030181529082905262461bcd60e51b825261080691600401612691565b611a1d8282611277565b610e83576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611a546115bd565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611aa28282611277565b15610e83576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055611ad76115bd565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000611b268261103d565b9050611b3481600084611f99565b611b3f6000836115c7565b6001600160a01b0381166000908152600460205260408120805460019290611b68908490612ac5565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e838282604051806020016040528060008152506121ed565b816001600160a01b0316836001600160a01b031603611c8f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610806565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611d07848484611808565b611d1384848484612220565b6112fa5760405162461bcd60e51b815260040161080690612e16565b606081600003611d565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d805780611d6a81612b0a565b9150611d799050600a83612e7e565b9150611d5a565b60008167ffffffffffffffff811115611d9b57611d9b6127a7565b6040519080825280601f01601f191660200182016040528015611dc5576020820181803683370190505b5090505b841561180057611dda600183612ac5565b9150611de7600a86612e92565b611df2906030612adc565b60f81b818381518110611e0757611e07612af4565b60200101906001600160f81b031916908160001a905350611e29600a86612e7e565b9450611dc9565b600c5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190612ea6565b6001600160a01b031603611ebe5760019150506106f9565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff16611800565b6000604051806080016040528060438152602001612f6a6043913980516020918201208351848301516040808701518051908601209051611f4c950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000611f7460085490565b60405161190160f01b6020820152602281019190915260428101839052606201611f4c565b6001600160a01b038316611ff457611fef81600f80546000838152601260205260408120829055600182018355919091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020155565b612017565b816001600160a01b0316836001600160a01b031614612017576120178382612328565b6001600160a01b03821661202e57610b24816123c5565b826001600160a01b0316826001600160a01b031614610b2457610b248282612474565b60606000612060836002612ec3565b61206b906002612adc565b67ffffffffffffffff811115612083576120836127a7565b6040519080825280601f01601f1916602001820160405280156120ad576020820181803683370190505b509050600360fc1b816000815181106120c8576120c8612af4565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106120f7576120f7612af4565b60200101906001600160f81b031916908160001a905350600061211b846002612ec3565b612126906001612adc565b90505b600181111561219e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061215a5761215a612af4565b1a60f81b82828151811061217057612170612af4565b60200101906001600160f81b031916908160001a90535060049490941c9361219781612ee2565b9050612129565b5083156109fb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610806565b6121f783836124b8565b6122046000848484612220565b610b245760405162461bcd60e51b815260040161080690612e16565b60006001600160a01b0384163b1561231d57836001600160a01b031663150b7a026122496115bd565b8786866040518563ffffffff1660e01b815260040161226b9493929190612ef9565b6020604051808303816000875af19250505080156122a6575060408051601f3d908101601f191682019092526122a391810190612f36565b60015b612303573d8080156122d4576040519150601f19603f3d011682016040523d82523d6000602084013e6122d9565b606091505b5080516000036122fb5760405162461bcd60e51b815260040161080690612e16565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611800565b506001949350505050565b60006001612335846110b4565b61233f9190612ac5565b600083815260116020526040902054909150808214612392576001600160a01b03841660009081526010602090815260408083208584528252808320548484528184208190558352601190915290208190555b5060009182526011602090815260408084208490556001600160a01b039094168352601081528383209183525290812055565b600f546000906123d790600190612ac5565b600083815260126020526040812054600f80549394509092849081106123ff576123ff612af4565b9060005260206000200154905080600f838154811061242057612420612af4565b600091825260208083209091019290925582815260129091526040808220849055858252812055600f80548061245857612458612f53565b6001900381819060005260206000200160009055905550505050565b600061247f836110b4565b6001600160a01b039093166000908152601060209081526040808320868452825280832085905593825260119052919091209190915550565b6001600160a01b03821661250e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610806565b6000818152600360205260409020546001600160a01b0316156125735760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610806565b61257f60008383611f99565b6001600160a01b03821660009081526004602052604081208054600192906125a8908490612adc565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610fa557600080fd5b60006020828403121561262e57600080fd5b81356109fb81612606565b60005b8381101561265457818101518382015260200161263c565b838111156112fa5750506000910152565b6000815180845261267d816020860160208601612639565b601f01601f19169290920160200192915050565b6020815260006109fb6020830184612665565b6000602082840312156126b657600080fd5b5035919050565b6001600160a01b0381168114610fa557600080fd5b6000806000606084860312156126e757600080fd5b83356126f2816126bd565b95602085013595506040909401359392505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561276d57888303603f1901855281518051845287015187840187905261275a87850182612665565b958801959350509086019060010161272e565b509098975050505050505050565b6000806040838503121561278e57600080fd5b8235612799816126bd565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156127d8576127d86127a7565b604051601f8501601f19908116603f01168101908282118183101715612800576128006127a7565b8160405280935085815286868601111561281957600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261284457600080fd5b6109fb838335602085016127bd565b600080600080600060a0868803121561286b57600080fd5b8535612876816126bd565b9450602086013567ffffffffffffffff81111561289257600080fd5b61289e88828901612833565b9450506040860135925060608601359150608086013560ff811681146128c357600080fd5b809150509295509295909350565b6000806000606084860312156128e657600080fd5b83356128f1816126bd565b92506020840135612901816126bd565b929592945050506040919091013590565b60006020828403121561292457600080fd5b81356109fb816126bd565b6000806040838503121561294257600080fd5b823591506020830135612954816126bd565b809150509250929050565b60006020828403121561297157600080fd5b813567ffffffffffffffff81111561298857600080fd5b8201601f8101841361299957600080fd5b611800848235602084016127bd565b600080604083850312156129bb57600080fd5b82356129c6816126bd565b91506020830135801515811461295457600080fd5b600080600080608085870312156129f157600080fd5b84356129fc816126bd565b93506020850135612a0c816126bd565b925060408501359150606085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612833565b91505092959194509250565b60008060408385031215612a5a57600080fd5b8235612a65816126bd565b91506020830135612954816126bd565b600181811c90821680612a8957607f821691505b602082108103612aa957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612ad757612ad7612aaf565b500390565b60008219821115612aef57612aef612aaf565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201612b1c57612b1c612aaf565b5060010190565b6001600160a01b03848116825283166020820152606060408201819052600090612b4f90830184612665565b95945050505050565b60008351612b6a818460208801612639565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251612ba1818460208701612639565b9190910192915050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b601f821115610b2457600081815260208120601f850160051c81016020861015612c235750805b601f850160051c820191505b81811015612c4257828155600101612c2f565b505050505050565b815167ffffffffffffffff811115612c6457612c646127a7565b612c7881612c728454612a75565b84612bfc565b602080601f831160018114612cad5760008415612c955750858301515b600019600386901b1c1916600185901b178555612c42565b600085815260208120601f198616915b82811015612cdc57888601518255948401946001909101908401612cbd565b5085821015612cfa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612d1881612a75565b60018281168015612d305760018114612d4557612d74565b60ff1984168752821515830287019450612d74565b8860005260208060002060005b85811015612d6b5781548a820152908401908201612d52565b50505082870194505b505050508351612d88818360208801612639565b64173539b7b760d91b9101908152600501949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612dd9816017850160208801612639565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612e0a816028840160208801612639565b01602801949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612e8d57612e8d612e68565b500490565b600082612ea157612ea1612e68565b500690565b600060208284031215612eb857600080fd5b81516109fb816126bd565b6000816000190483118215151615612edd57612edd612aaf565b500290565b600081612ef157612ef1612aaf565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f2c90830184612665565b9695505050505050565b600060208284031215612f4857600080fd5b81516109fb81612606565b634e487b7160e01b600052603160045260246000fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212205f9d2185e757d7b3810e5d6e5ba2774b08578c87f73be10e445960b0eb36a8de64736f6c634300080f0033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000015576520416c6c205375727669766564204465617468000000000000000000000000000000000000000000000000000000000000000000000000000000000000045741534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f776173646e66742e636f6d2f736565642f00000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806342966c6811610118578063a217fddf116100a0578063d53913931161006f578063d53913931461061c578063d547741f14610650578063d547cfb714610670578063e985e9c514610685578063f2fde38b146106a557600080fd5b8063a217fddf146105a7578063a22cb465146105bc578063b88d4fde146105dc578063c87b56dd146105fc57600080fd5b8063715018a6116100e7578063715018a61461051f578063755edd17146105345780638da5cb5b1461055457806391d148541461057257806395d89b411461059257600080fd5b806342966c681461049f5780634f6ccce7146104bf5780636352211e146104df57806370a08231146104ff57600080fd5b806323b872dd1161019b5780632f745c591161016a5780632f745c591461040c57806330176e131461042c5780633408e4701461044c57806336568abe1461045f57806342842e0e1461047f57600080fd5b806323b872dd14610366578063248a9ca3146103865780632d0335ab146103b65780632f2ff15d146103ec57600080fd5b8063095ea7b3116101e2578063095ea7b3146102d05780630c53c51c146102f25780630f7e59701461030557806318160ddd1461033257806320379ee51461035157600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063082a6569146102a3575b600080fd5b34801561022057600080fd5b5061023461022f36600461261c565b6106c5565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106ff565b6040516102409190612691565b34801561027757600080fd5b5061028b6102863660046126a4565b610791565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046126d2565b61082b565b6040516102409190612707565b3480156102dc57600080fd5b506102f06102eb36600461277b565b610a02565b005b61025e610300366004612853565b610b29565b34801561031157600080fd5b5061025e604051806040016040528060018152602001603160f81b81525081565b34801561033e57600080fd5b50600f545b604051908152602001610240565b34801561035d57600080fd5b50600854610343565b34801561037257600080fd5b506102f06103813660046128d1565b610d13565b34801561039257600080fd5b506103436103a13660046126a4565b60009081526020819052604090206001015490565b3480156103c257600080fd5b506103436103d1366004612912565b6001600160a01b031660009081526009602052604090205490565b3480156103f857600080fd5b506102f061040736600461292f565b610d4b565b34801561041857600080fd5b5061034361042736600461277b565b610d78565b34801561043857600080fd5b506102f061044736600461295f565b610e10565b34801561045857600080fd5b5046610343565b34801561046b57600080fd5b506102f061047a36600461292f565b610e87565b34801561048b57600080fd5b506102f061049a3660046128d1565b610f11565b3480156104ab57600080fd5b506102f06104ba3660046126a4565b610f2c565b3480156104cb57600080fd5b506103436104da3660046126a4565b610fa8565b3480156104eb57600080fd5b5061028b6104fa3660046126a4565b61103d565b34801561050b57600080fd5b5061034361051a366004612912565b6110b4565b34801561052b57600080fd5b506102f061113b565b34801561054057600080fd5b506102f061054f366004612912565b6111c0565b34801561056057600080fd5b50600a546001600160a01b031661028b565b34801561057e57600080fd5b5061023461058d36600461292f565b611277565b34801561059e57600080fd5b5061025e6112a0565b3480156105b357600080fd5b50610343600081565b3480156105c857600080fd5b506102f06105d73660046129a8565b6112af565b3480156105e857600080fd5b506102f06105f73660046129db565b6112c1565b34801561060857600080fd5b5061025e6106173660046126a4565b611300565b34801561062857600080fd5b506103437f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561065c57600080fd5b506102f061066b36600461292f565b6113aa565b34801561067c57600080fd5b5061025e6113d2565b34801561069157600080fd5b506102346106a0366004612a47565b6113e1565b3480156106b157600080fd5b506102f06106c0366004612912565b6113ed565b60006001600160e01b0319821663780e9d6360e01b14806106ea57506106ea82611548565b806106f957506106f98261157d565b92915050565b60606001805461070e90612a75565b80601f016020809104026020016040519081016040528092919081815260200182805461073a90612a75565b80156107875780601f1061075c57610100808354040283529160200191610787565b820191906000526020600020905b81548152906001019060200180831161076a57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b031661080f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6060610836846110b4565b60000361088357604080516000808252602082019092529061087b565b6040805180820190915260008152606060208201528152602001906001900390816108535790505b5090506109fb565b8161088d856110b4565b81106108ab57600161089e866110b4565b6108a89190612ac5565b90505b8084111561090b5760405162461bcd60e51b815260206004820152602760248201527f5765416c6c537572766976656444656174683a20696e76616c69642071756572604482015266792072616e676560c81b6064820152608401610806565b60006109178583612ac5565b610922906001612adc565b905060008167ffffffffffffffff81111561093f5761093f6127a7565b60405190808252806020026020018201604052801561098557816020015b60408051808201909152600081526060602082015281526020019060019003908161095d5790505b509050855b8381116109f557600061099d8983610d78565b905060405180604001604052808281526020016109b983611300565b9052836109c68a85612ac5565b815181106109d6576109d6612af4565b60200260200101819052505080806109ed90612b0a565b91505061098a565b50925050505b9392505050565b6000610a0d8261103d565b9050806001600160a01b0316836001600160a01b031603610a7a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610806565b806001600160a01b0316610a8c6115bd565b6001600160a01b03161480610aa85750610aa8816106a06115bd565b610b1a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610806565b610b2483836115c7565b505050565b60408051606081810183526001600160a01b03881660008181526009602090815290859020548452830152918101869052610b678782878787611635565b610bbd5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610806565b6001600160a01b038716600090815260096020526040902054610be1906001611725565b6001600160a01b0388166000908152600960205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610c3190899033908a90612b23565b60405180910390a1600080306001600160a01b0316888a604051602001610c59929190612b58565b60408051601f1981840301815290829052610c7391612b8f565b6000604051808303816000865af19150503d8060008114610cb0576040519150601f19603f3d011682016040523d82523d6000602084013e610cb5565b606091505b509150915081610d075760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610806565b98975050505050505050565b610d24610d1e6115bd565b82611731565b610d405760405162461bcd60e51b815260040161080690612bab565b610b24838383611808565b600082815260208190526040902060010154610d6e81610d696115bd565b6119af565b610b248383611a13565b6000610d83836110b4565b8210610de75760405162461bcd60e51b815260206004820152602d60248201527f5765416c6c537572766976656444656174683a206f776e657220696e6465782060448201526c6f7574206f6620626f756e647360981b6064820152608401610806565b506001600160a01b03919091166000908152601060209081526040808320938352929052205490565b610e1b600033611277565b610e775760405162461bcd60e51b815260206004820152602760248201527f5765416c6c537572766976656444656174683a2063616c6c6572206973206e6f6044820152663a1030b236b4b760c91b6064820152608401610806565b600e610e838282612c4a565b5050565b610e8f6115bd565b6001600160a01b0316816001600160a01b031614610f075760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610806565b610e838282611a98565b610b24838383604051806020016040528060008152506112c1565b610f37610d1e6115bd565b610f9c5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610806565b610fa581611b1b565b50565b6000610fb3600f5490565b82106110185760405162461bcd60e51b815260206004820152602e60248201527f5765416c6c537572766976656444656174683a20676c6f62616c20696e64657860448201526d206f7574206f6620626f756e647360901b6064820152608401610806565b600f828154811061102b5761102b612af4565b90600052602060002001549050919050565b6000818152600360205260408120546001600160a01b0316806106f95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610806565b60006001600160a01b03821661111f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610806565b506001600160a01b031660009081526004602052604090205490565b6111436115bd565b6001600160a01b031661115e600a546001600160a01b031690565b6001600160a01b0316146111b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b6111be6000611bc2565b565b6111ec7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661058d6115bd565b6112525760405162461bcd60e51b815260206004820152603160248201527f5765416c6c537572766976656444656174683a206d7573742068617665206d696044820152701b9d195c881c9bdb19481d1bc81b5a5b9d607a1b6064820152608401610806565b600061125d600d5490565b905061126d600d80546001019055565b610e838282611c14565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606002805461070e90612a75565b610e836112ba6115bd565b8383611c2e565b6112d26112cc6115bd565b83611731565b6112ee5760405162461bcd60e51b815260040161080690612bab565b6112fa84848484611cfc565b50505050565b6000818152600360205260409020546060906001600160a01b03166113785760405162461bcd60e51b815260206004820152602860248201527f5765416c6c537572766976656444656174683a20746f6b656e20646f6573206e6044820152671bdd08195e1a5cdd60c21b6064820152608401610806565b600e61138383611d2f565b604051602001611394929190612d0a565b6040516020818303038152906040529050919050565b6000828152602081905260409020600101546113c881610d696115bd565b610b248383611a98565b6060600e805461070e90612a75565b60006109fb8383611e30565b6113f56115bd565b6001600160a01b0316611410600a546001600160a01b031690565b6001600160a01b0316146114665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b6001600160a01b0381166114cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610806565b610fa581611bc2565b80546001019055565b60006114e76114ec565b905090565b600030330361154257600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506115459050565b50335b90565b60006001600160e01b03198216637965db0b60e01b14806106f957506301ffc9a760e01b6001600160e01b03198316146106f9565b60006001600160e01b031982166380ac58cd60e01b14806115ae57506001600160e01b03198216635b5e139f60e01b145b806106f957506106f982611548565b60006114e76114dd565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115fc8261103d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661169b5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610806565b60016116ae6116a987611eec565b611f69565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156116fc573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006109fb8284612adc565b6000818152600360205260408120546001600160a01b03166117aa5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610806565b60006117b58361103d565b9050806001600160a01b0316846001600160a01b031614806117f05750836001600160a01b03166117e584610791565b6001600160a01b0316145b80611800575061180081856113e1565b949350505050565b826001600160a01b031661181b8261103d565b6001600160a01b03161461187f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610806565b6001600160a01b0382166118e15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610806565b6118ec838383611f99565b6118f76000826115c7565b6001600160a01b0383166000908152600460205260408120805460019290611920908490612ac5565b90915550506001600160a01b038216600090815260046020526040812080546001929061194e908490612adc565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6119b98282611277565b610e83576119d1816001600160a01b03166014612051565b6119dc836020612051565b6040516020016119ed929190612da1565b60408051601f198184030181529082905262461bcd60e51b825261080691600401612691565b611a1d8282611277565b610e83576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611a546115bd565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611aa28282611277565b15610e83576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055611ad76115bd565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000611b268261103d565b9050611b3481600084611f99565b611b3f6000836115c7565b6001600160a01b0381166000908152600460205260408120805460019290611b68908490612ac5565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e838282604051806020016040528060008152506121ed565b816001600160a01b0316836001600160a01b031603611c8f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610806565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611d07848484611808565b611d1384848484612220565b6112fa5760405162461bcd60e51b815260040161080690612e16565b606081600003611d565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d805780611d6a81612b0a565b9150611d799050600a83612e7e565b9150611d5a565b60008167ffffffffffffffff811115611d9b57611d9b6127a7565b6040519080825280601f01601f191660200182016040528015611dc5576020820181803683370190505b5090505b841561180057611dda600183612ac5565b9150611de7600a86612e92565b611df2906030612adc565b60f81b818381518110611e0757611e07612af4565b60200101906001600160f81b031916908160001a905350611e29600a86612e7e565b9450611dc9565b600c5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190612ea6565b6001600160a01b031603611ebe5760019150506106f9565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff16611800565b6000604051806080016040528060438152602001612f6a6043913980516020918201208351848301516040808701518051908601209051611f4c950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000611f7460085490565b60405161190160f01b6020820152602281019190915260428101839052606201611f4c565b6001600160a01b038316611ff457611fef81600f80546000838152601260205260408120829055600182018355919091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020155565b612017565b816001600160a01b0316836001600160a01b031614612017576120178382612328565b6001600160a01b03821661202e57610b24816123c5565b826001600160a01b0316826001600160a01b031614610b2457610b248282612474565b60606000612060836002612ec3565b61206b906002612adc565b67ffffffffffffffff811115612083576120836127a7565b6040519080825280601f01601f1916602001820160405280156120ad576020820181803683370190505b509050600360fc1b816000815181106120c8576120c8612af4565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106120f7576120f7612af4565b60200101906001600160f81b031916908160001a905350600061211b846002612ec3565b612126906001612adc565b90505b600181111561219e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061215a5761215a612af4565b1a60f81b82828151811061217057612170612af4565b60200101906001600160f81b031916908160001a90535060049490941c9361219781612ee2565b9050612129565b5083156109fb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610806565b6121f783836124b8565b6122046000848484612220565b610b245760405162461bcd60e51b815260040161080690612e16565b60006001600160a01b0384163b1561231d57836001600160a01b031663150b7a026122496115bd565b8786866040518563ffffffff1660e01b815260040161226b9493929190612ef9565b6020604051808303816000875af19250505080156122a6575060408051601f3d908101601f191682019092526122a391810190612f36565b60015b612303573d8080156122d4576040519150601f19603f3d011682016040523d82523d6000602084013e6122d9565b606091505b5080516000036122fb5760405162461bcd60e51b815260040161080690612e16565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611800565b506001949350505050565b60006001612335846110b4565b61233f9190612ac5565b600083815260116020526040902054909150808214612392576001600160a01b03841660009081526010602090815260408083208584528252808320548484528184208190558352601190915290208190555b5060009182526011602090815260408084208490556001600160a01b039094168352601081528383209183525290812055565b600f546000906123d790600190612ac5565b600083815260126020526040812054600f80549394509092849081106123ff576123ff612af4565b9060005260206000200154905080600f838154811061242057612420612af4565b600091825260208083209091019290925582815260129091526040808220849055858252812055600f80548061245857612458612f53565b6001900381819060005260206000200160009055905550505050565b600061247f836110b4565b6001600160a01b039093166000908152601060209081526040808320868452825280832085905593825260119052919091209190915550565b6001600160a01b03821661250e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610806565b6000818152600360205260409020546001600160a01b0316156125735760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610806565b61257f60008383611f99565b6001600160a01b03821660009081526004602052604081208054600192906125a8908490612adc565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610fa557600080fd5b60006020828403121561262e57600080fd5b81356109fb81612606565b60005b8381101561265457818101518382015260200161263c565b838111156112fa5750506000910152565b6000815180845261267d816020860160208601612639565b601f01601f19169290920160200192915050565b6020815260006109fb6020830184612665565b6000602082840312156126b657600080fd5b5035919050565b6001600160a01b0381168114610fa557600080fd5b6000806000606084860312156126e757600080fd5b83356126f2816126bd565b95602085013595506040909401359392505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561276d57888303603f1901855281518051845287015187840187905261275a87850182612665565b958801959350509086019060010161272e565b509098975050505050505050565b6000806040838503121561278e57600080fd5b8235612799816126bd565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156127d8576127d86127a7565b604051601f8501601f19908116603f01168101908282118183101715612800576128006127a7565b8160405280935085815286868601111561281957600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261284457600080fd5b6109fb838335602085016127bd565b600080600080600060a0868803121561286b57600080fd5b8535612876816126bd565b9450602086013567ffffffffffffffff81111561289257600080fd5b61289e88828901612833565b9450506040860135925060608601359150608086013560ff811681146128c357600080fd5b809150509295509295909350565b6000806000606084860312156128e657600080fd5b83356128f1816126bd565b92506020840135612901816126bd565b929592945050506040919091013590565b60006020828403121561292457600080fd5b81356109fb816126bd565b6000806040838503121561294257600080fd5b823591506020830135612954816126bd565b809150509250929050565b60006020828403121561297157600080fd5b813567ffffffffffffffff81111561298857600080fd5b8201601f8101841361299957600080fd5b611800848235602084016127bd565b600080604083850312156129bb57600080fd5b82356129c6816126bd565b91506020830135801515811461295457600080fd5b600080600080608085870312156129f157600080fd5b84356129fc816126bd565b93506020850135612a0c816126bd565b925060408501359150606085013567ffffffffffffffff811115612a2f57600080fd5b612a3b87828801612833565b91505092959194509250565b60008060408385031215612a5a57600080fd5b8235612a65816126bd565b91506020830135612954816126bd565b600181811c90821680612a8957607f821691505b602082108103612aa957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612ad757612ad7612aaf565b500390565b60008219821115612aef57612aef612aaf565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201612b1c57612b1c612aaf565b5060010190565b6001600160a01b03848116825283166020820152606060408201819052600090612b4f90830184612665565b95945050505050565b60008351612b6a818460208801612639565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008251612ba1818460208701612639565b9190910192915050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b601f821115610b2457600081815260208120601f850160051c81016020861015612c235750805b601f850160051c820191505b81811015612c4257828155600101612c2f565b505050505050565b815167ffffffffffffffff811115612c6457612c646127a7565b612c7881612c728454612a75565b84612bfc565b602080601f831160018114612cad5760008415612c955750858301515b600019600386901b1c1916600185901b178555612c42565b600085815260208120601f198616915b82811015612cdc57888601518255948401946001909101908401612cbd565b5085821015612cfa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612d1881612a75565b60018281168015612d305760018114612d4557612d74565b60ff1984168752821515830287019450612d74565b8860005260208060002060005b85811015612d6b5781548a820152908401908201612d52565b50505082870194505b505050508351612d88818360208801612639565b64173539b7b760d91b9101908152600501949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612dd9816017850160208801612639565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612e0a816028840160208801612639565b01602801949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612e8d57612e8d612e68565b500490565b600082612ea157612ea1612e68565b500690565b600060208284031215612eb857600080fd5b81516109fb816126bd565b6000816000190483118215151615612edd57612edd612aaf565b500290565b600081612ef157612ef1612aaf565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f2c90830184612665565b9695505050505050565b600060208284031215612f4857600080fd5b81516109fb81612606565b634e487b7160e01b600052603160045260246000fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212205f9d2185e757d7b3810e5d6e5ba2774b08578c87f73be10e445960b0eb36a8de64736f6c634300080f0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000015576520416c6c205375727669766564204465617468000000000000000000000000000000000000000000000000000000000000000000000000000000000000045741534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f776173646e66742e636f6d2f736565642f00000000000000

-----Decoded View---------------
Arg [0] : name_ (string): We All Survived Death
Arg [1] : symbol_ (string): WASD
Arg [2] : baseTokenURI_ (string): https://wasdnft.com/seed/
Arg [3] : proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [5] : 576520416c6c2053757276697665642044656174680000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5741534400000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [9] : 68747470733a2f2f776173646e66742e636f6d2f736565642f00000000000000


Deployed Bytecode Sourcemap

80055:7910:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84380:377;;;;;;;;;;-1:-1:-1;84380:377:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;84380:377:0;;;;;;;;49162:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;50721:221::-;;;;;;;;;;-1:-1:-1;50721:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;50721:221:0;1528:203:1;82960:821:0;;;;;;;;;;-1:-1:-1;82960:821:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50244:411::-;;;;;;;;;;-1:-1:-1;50244:411:0;;;;;:::i;:::-;;:::i;:::-;;74402:1151;;;;;;:::i;:::-;;:::i;71550:43::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71550:43:0;;;;;82500:198;;;;;;;;;;-1:-1:-1;82673:10:0;:17;82500:198;;;5741:25:1;;;5729:2;5714:18;82500:198:0;5595:177:1;72545:101:0;;;;;;;;;;-1:-1:-1;72623:15:0;;72545:101;;51471:339;;;;;;;;;;-1:-1:-1;51471:339:0;;;;;:::i;:::-;;:::i;28019:131::-;;;;;;;;;;-1:-1:-1;28019:131:0;;;;;:::i;:::-;28093:7;28120:12;;;;;;;;;;:22;;;;28019:131;75979:107;;;;;;;;;;-1:-1:-1;75979:107:0;;;;;:::i;:::-;-1:-1:-1;;;;;76066:12:0;76032:13;76066:12;;;:6;:12;;;;;;;75979:107;28412:147;;;;;;;;;;-1:-1:-1;28412:147:0;;;;;:::i;:::-;;:::i;82165:327::-;;;;;;;;;;-1:-1:-1;82165:327:0;;;;;:::i;:::-;;:::i;83789:250::-;;;;;;;;;;-1:-1:-1;83789:250:0;;;;;:::i;:::-;;:::i;72654:161::-;;;;;;;;;;-1:-1:-1;72768:9:0;72654:161;;29460:218;;;;;;;;;;-1:-1:-1;29460:218:0;;;;;:::i;:::-;;:::i;51881:185::-;;;;;;;;;;-1:-1:-1;51881:185:0;;;;;:::i;:::-;;:::i;61871:245::-;;;;;;;;;;-1:-1:-1;61871:245:0;;;;;:::i;:::-;;:::i;82706:246::-;;;;;;;;;;-1:-1:-1;82706:246:0;;;;;:::i;:::-;;:::i;48856:239::-;;;;;;;;;;-1:-1:-1;48856:239:0;;;;;:::i;:::-;;:::i;48586:208::-;;;;;;;;;;-1:-1:-1;48586:208:0;;;;;:::i;:::-;;:::i;2716:103::-;;;;;;;;;;;;;:::i;84047:325::-;;;;;;;;;;-1:-1:-1;84047:325:0;;;;;:::i;:::-;;:::i;2065:87::-;;;;;;;;;;-1:-1:-1;2138:6:0;;-1:-1:-1;;;;;2138:6:0;2065:87;;26888:147;;;;;;;;;;-1:-1:-1;26888:147:0;;;;;:::i;:::-;;:::i;49331:104::-;;;;;;;;;;;;;:::i;25979:49::-;;;;;;;;;;-1:-1:-1;25979:49:0;26024:4;25979:49;;51014:155;;;;;;;;;;-1:-1:-1;51014:155:0;;;;;:::i;:::-;;:::i;52137:328::-;;;;;;;;;;-1:-1:-1;52137:328:0;;;;;:::i;:::-;;:::i;81704:453::-;;;;;;;;;;-1:-1:-1;81704:453:0;;;;;:::i;:::-;;:::i;80340:62::-;;;;;;;;;;;;80378:24;80340:62;;28804:149;;;;;;;;;;-1:-1:-1;28804:149:0;;;;;:::i;:::-;;:::i;81588:108::-;;;;;;;;;;;;;:::i;81337:243::-;;;;;;;;;;-1:-1:-1;81337:243:0;;;;;:::i;:::-;;:::i;2974:201::-;;;;;;;;;;-1:-1:-1;2974:201:0;;;;;:::i;:::-;;:::i;84380:377::-;84542:4;-1:-1:-1;;;;;;84584:50:0;;-1:-1:-1;;;84584:50:0;;:111;;;84651:44;84683:11;84651:31;:44::i;:::-;84584:165;;;;84712:37;84737:11;84712:24;:37::i;:::-;84564:185;84380:377;-1:-1:-1;;84380:377:0:o;49162:100::-;49216:13;49249:5;49242:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49162:100;:::o;50721:221::-;50797:7;54064:16;;;:7;:16;;;;;;-1:-1:-1;;;;;54064:16:0;50817:73;;;;-1:-1:-1;;;50817:73:0;;9703:2:1;50817:73:0;;;9685:21:1;9742:2;9722:18;;;9715:30;9781:34;9761:18;;;9754:62;-1:-1:-1;;;9832:18:1;;;9825:42;9884:19;;50817:73:0;;;;;;;;;-1:-1:-1;50910:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;50910:24:0;;50721:221::o;82960:821::-;83091:18;83126:15;83136:4;83126:9;:15::i;:::-;83145:1;83126:20;83122:51;;83155:18;;;83171:1;83155:18;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;83155:18:0;;;;;;;;;;;;;;;;83148:25;;;;83122:51;83204:7;83239:15;83249:4;83239:9;:15::i;:::-;83226:9;:28;83222:65;;83286:1;83268:15;83278:4;83268:9;:15::i;:::-;:19;;;;:::i;:::-;83256:31;;83222:65;83333:9;83320;:22;;83298:111;;;;-1:-1:-1;;;83298:111:0;;10378:2:1;83298:111:0;;;10360:21:1;10417:2;10397:18;;;10390:30;10456:34;10436:18;;;10429:62;-1:-1:-1;;;10507:18:1;;;10500:37;10554:19;;83298:111:0;10176:403:1;83298:111:0;83420:15;83438:21;83450:9;83438;:21;:::i;:::-;:25;;83462:1;83438:25;:::i;:::-;83420:43;;83474:30;83523:7;83507:24;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;83507:24:0;;;;;;;;;;;;;;;-1:-1:-1;83474:57:0;-1:-1:-1;83559:9:0;83542:203;83575:9;83570:1;:14;83542:203;;83606:15;83624:28;83644:4;83650:1;83624:19;:28::i;:::-;83606:46;;83696:37;;;;;;;;83706:7;83696:37;;;;83715:17;83724:7;83715:8;:17::i;:::-;83696:37;;83667:11;83679:13;83683:9;83679:1;:13;:::i;:::-;83667:26;;;;;;;;:::i;:::-;;;;;;:66;;;;83591:154;83586:3;;;;;:::i;:::-;;;;83542:203;;;-1:-1:-1;83762:11:0;-1:-1:-1;;;82960:821:0;;;;;;:::o;50244:411::-;50325:13;50341:23;50356:7;50341:14;:23::i;:::-;50325:39;;50389:5;-1:-1:-1;;;;;50383:11:0;:2;-1:-1:-1;;;;;50383:11:0;;50375:57;;;;-1:-1:-1;;;50375:57:0;;11191:2:1;50375:57:0;;;11173:21:1;11230:2;11210:18;;;11203:30;11269:34;11249:18;;;11242:62;-1:-1:-1;;;11320:18:1;;;11313:31;11361:19;;50375:57:0;10989:397:1;50375:57:0;50483:5;-1:-1:-1;;;;;50467:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;50467:21:0;;:62;;;;50492:37;50509:5;50516:12;:10;:12::i;50492:37::-;50445:168;;;;-1:-1:-1;;;50445:168:0;;11593:2:1;50445:168:0;;;11575:21:1;11632:2;11612:18;;;11605:30;11671:34;11651:18;;;11644:62;11742:26;11722:18;;;11715:54;11786:19;;50445:168:0;11391:420:1;50445:168:0;50626:21;50635:2;50639:7;50626:8;:21::i;:::-;50314:341;50244:411;;:::o;74402:1151::-;74660:152;;;74603:12;74660:152;;;;;-1:-1:-1;;;;;74698:19:0;;74628:29;74698:19;;;:6;:19;;;;;;;;;74660:152;;;;;;;;;;;74847:45;74705:11;74660:152;74875:4;74881;74887;74847:6;:45::i;:::-;74825:128;;;;-1:-1:-1;;;74825:128:0;;12018:2:1;74825:128:0;;;12000:21:1;12057:2;12037:18;;;12030:30;12096:34;12076:18;;;12069:62;-1:-1:-1;;;12147:18:1;;;12140:31;12188:19;;74825:128:0;11816:397:1;74825:128:0;-1:-1:-1;;;;;75042:19:0;;;;;;:6;:19;;;;;;:26;;75066:1;75042:23;:26::i;:::-;-1:-1:-1;;;;;75020:19:0;;;;;;:6;:19;;;;;;;:48;;;;75086:126;;;;;75027:11;;75158:10;;75184:17;;75086:126;:::i;:::-;;;;;;;;75323:12;75337:23;75372:4;-1:-1:-1;;;;;75364:18:0;75414:17;75433:11;75397:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;75397:48:0;;;;;;;;;;75364:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75322:134;;;;75475:7;75467:48;;;;-1:-1:-1;;;75467:48:0;;13556:2:1;75467:48:0;;;13538:21:1;13595:2;13575:18;;;13568:30;13634;13614:18;;;13607:58;13682:18;;75467:48:0;13354:352:1;75467:48:0;75535:10;74402:1151;-1:-1:-1;;;;;;;;74402:1151:0:o;51471:339::-;51666:41;51685:12;:10;:12::i;:::-;51699:7;51666:18;:41::i;:::-;51658:103;;;;-1:-1:-1;;;51658:103:0;;;;;;;:::i;:::-;51774:28;51784:4;51790:2;51794:7;51774:9;:28::i;28412:147::-;28093:7;28120:12;;;;;;;;;;:22;;;26470:30;26481:4;26487:12;:10;:12::i;:::-;26470:10;:30::i;:::-;28526:25:::1;28537:4;28543:7;28526:10;:25::i;82165:327::-:0;82289:7;82344:23;82361:5;82344:16;:23::i;:::-;82336:5;:31;82314:126;;;;-1:-1:-1;;;82314:126:0;;14331:2:1;82314:126:0;;;14313:21:1;14370:2;14350:18;;;14343:30;14409:34;14389:18;;;14382:62;-1:-1:-1;;;14460:18:1;;;14453:43;14513:19;;82314:126:0;14129:409:1;82314:126:0;-1:-1:-1;;;;;;82458:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;82165:327::o;83789:250::-;83885:39;26024:4;83913:10;83885:7;:39::i;:::-;83863:128;;;;-1:-1:-1;;;83863:128:0;;14745:2:1;83863:128:0;;;14727:21:1;14784:2;14764:18;;;14757:30;14823:34;14803:18;;;14796:62;-1:-1:-1;;;14874:18:1;;;14867:37;14921:19;;83863:128:0;14543:403:1;83863:128:0;84002:13;:29;84018:13;84002;:29;:::i;:::-;;83789:250;:::o;29460:218::-;29567:12;:10;:12::i;:::-;-1:-1:-1;;;;;29556:23:0;:7;-1:-1:-1;;;;;29556:23:0;;29548:83;;;;-1:-1:-1;;;29548:83:0;;17357:2:1;29548:83:0;;;17339:21:1;17396:2;17376:18;;;17369:30;17435:34;17415:18;;;17408:62;-1:-1:-1;;;17486:18:1;;;17479:45;17541:19;;29548:83:0;17155:411:1;29548:83:0;29644:26;29656:4;29662:7;29644:11;:26::i;51881:185::-;52019:39;52036:4;52042:2;52046:7;52019:39;;;;;;;;;;;;:16;:39::i;61871:245::-;61989:41;62008:12;:10;:12::i;61989:41::-;61981:102;;;;-1:-1:-1;;;61981:102:0;;17773:2:1;61981:102:0;;;17755:21:1;17812:2;17792:18;;;17785:30;17851:34;17831:18;;;17824:62;-1:-1:-1;;;17902:18:1;;;17895:46;17958:19;;61981:102:0;17571:412:1;61981:102:0;62094:14;62100:7;62094:5;:14::i;:::-;61871:245;:::o;82706:246::-;82772:7;82822:13;82673:10;:17;;82500:198;82822:13;82814:5;:21;82792:117;;;;-1:-1:-1;;;82792:117:0;;18190:2:1;82792:117:0;;;18172:21:1;18229:2;18209:18;;;18202:30;18268:34;18248:18;;;18241:62;-1:-1:-1;;;18319:18:1;;;18312:44;18373:19;;82792:117:0;17988:410:1;82792:117:0;82927:10;82938:5;82927:17;;;;;;;;:::i;:::-;;;;;;;;;82920:24;;82706:246;;;:::o;48856:239::-;48928:7;48964:16;;;:7;:16;;;;;;-1:-1:-1;;;;;48964:16:0;;48991:73;;;;-1:-1:-1;;;48991:73:0;;18605:2:1;48991:73:0;;;18587:21:1;18644:2;18624:18;;;18617:30;18683:34;18663:18;;;18656:62;-1:-1:-1;;;18734:18:1;;;18727:39;18783:19;;48991:73:0;18403:405:1;48586:208:0;48658:7;-1:-1:-1;;;;;48686:19:0;;48678:74;;;;-1:-1:-1;;;48678:74:0;;19015:2:1;48678:74:0;;;18997:21:1;19054:2;19034:18;;;19027:30;19093:34;19073:18;;;19066:62;-1:-1:-1;;;19144:18:1;;;19137:40;19194:19;;48678:74:0;18813:406:1;48678:74:0;-1:-1:-1;;;;;;48770:16:0;;;;;:9;:16;;;;;;;48586:208::o;2716:103::-;2296:12;:10;:12::i;:::-;-1:-1:-1;;;;;2285:23:0;:7;2138:6;;-1:-1:-1;;;;;2138:6:0;;2065:87;2285:7;-1:-1:-1;;;;;2285:23:0;;2277:68;;;;-1:-1:-1;;;2277:68:0;;19426:2:1;2277:68:0;;;19408:21:1;;;19445:18;;;19438:30;19504:34;19484:18;;;19477:62;19556:18;;2277:68:0;19224:356:1;2277:68:0;2781:30:::1;2808:1;2781:18;:30::i;:::-;2716:103::o:0;84047:325::-;84124:34;80378:24;84145:12;:10;:12::i;84124:34::-;84102:133;;;;-1:-1:-1;;;84102:133:0;;19787:2:1;84102:133:0;;;19769:21:1;19826:2;19806:18;;;19799:30;19865:34;19845:18;;;19838:62;-1:-1:-1;;;19916:18:1;;;19909:47;19973:19;;84102:133:0;19585:413:1;84102:133:0;84246:22;84271:20;:10;18493:14;;18401:114;84271:20;84246:45;;84302:22;:10;18612:19;;18630:1;18612:19;;;18523:127;84302:22;84335:29;84345:2;84349:14;84335:9;:29::i;26888:147::-;26974:4;26998:12;;;;;;;;;;;-1:-1:-1;;;;;26998:29:0;;;;;;;;;;;;;;;26888:147::o;49331:104::-;49387:13;49420:7;49413:14;;;;;:::i;51014:155::-;51109:52;51128:12;:10;:12::i;:::-;51142:8;51152;51109:18;:52::i;52137:328::-;52312:41;52331:12;:10;:12::i;:::-;52345:7;52312:18;:41::i;:::-;52304:103;;;;-1:-1:-1;;;52304:103:0;;;;;;;:::i;:::-;52418:39;52432:4;52438:2;52442:7;52451:5;52418:13;:39::i;:::-;52137:328;;;;:::o;81704:453::-;54040:4;54064:16;;;:7;:16;;;;;;81829:13;;-1:-1:-1;;;;;54064:16:0;81860:69;;;;-1:-1:-1;;;81860:69:0;;20205:2:1;81860:69:0;;;20187:21:1;20244:2;20224:18;;;20217:30;20283:34;20263:18;;;20256:62;-1:-1:-1;;;20334:18:1;;;20327:38;20382:19;;81860:69:0;20003:404:1;81860:69:0;82024:13;82060:25;82077:7;82060:16;:25::i;:::-;81985:149;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81940:209;;81704:453;;;:::o;28804:149::-;28093:7;28120:12;;;;;;;;;;:22;;;26470:30;26481:4;26487:12;:10;:12::i;26470:30::-;28919:26:::1;28931:4;28937:7;28919:11;:26::i;81588:108::-:0;81642:13;81675;81668:20;;;;;:::i;81337:243::-;81495:4;81524:48;81556:5;81563:8;81524:31;:48::i;2974:201::-;2296:12;:10;:12::i;:::-;-1:-1:-1;;;;;2285:23:0;:7;2138:6;;-1:-1:-1;;;;;2138:6:0;;2065:87;2285:7;-1:-1:-1;;;;;2285:23:0;;2277:68;;;;-1:-1:-1;;;2277:68:0;;19426:2:1;2277:68:0;;;19408:21:1;;;19445:18;;;19438:30;19504:34;19484:18;;;19477:62;19556:18;;2277:68:0;19224:356:1;2277:68:0;-1:-1:-1;;;;;3063:22:0;::::1;3055:73;;;::::0;-1:-1:-1;;;3055:73:0;;21793:2:1;3055:73:0::1;::::0;::::1;21775:21:1::0;21832:2;21812:18;;;21805:30;21871:34;21851:18;;;21844:62;-1:-1:-1;;;21922:18:1;;;21915:36;21968:19;;3055:73:0::1;21591:402:1::0;3055:73:0::1;3139:28;3158:8;3139:18;:28::i;18523:127::-:0;18612:19;;18630:1;18612:19;;;18523:127::o;79772:178::-;79879:14;79918:24;:22;:24::i;:::-;79911:31;;79772:178;:::o;70373:618::-;70417:22;70478:4;70456:10;:27;70452:508;;70500:18;70521:8;;70500:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;70560:8:0;70771:17;70765:24;-1:-1:-1;;;;;70739:134:0;;-1:-1:-1;70452:508:0;;-1:-1:-1;70452:508:0;;-1:-1:-1;70937:10:0;70452:508;70373:618;:::o;26592:204::-;26677:4;-1:-1:-1;;;;;;26701:47:0;;-1:-1:-1;;;26701:47:0;;:87;;-1:-1:-1;;;;;;;;;;23942:40:0;;;26752:36;23833:157;48217:305;48319:4;-1:-1:-1;;;;;;48356:40:0;;-1:-1:-1;;;48356:40:0;;:105;;-1:-1:-1;;;;;;;48413:48:0;;-1:-1:-1;;;48413:48:0;48356:105;:158;;;;48478:36;48502:11;48478:23;:36::i;87780:182::-;87895:7;87927:27;:25;:27::i;58121:174::-;58196:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;58196:29:0;-1:-1:-1;;;;;58196:29:0;;;;;;;;:24;;58250:23;58196:24;58250:14;:23::i;:::-;-1:-1:-1;;;;;58241:46:0;;;;;;;;;;;58121:174;;:::o;76094:486::-;76272:4;-1:-1:-1;;;;;76297:20:0;;76289:70;;;;-1:-1:-1;;;76289:70:0;;22200:2:1;76289:70:0;;;22182:21:1;22239:2;22219:18;;;22212:30;22278:34;22258:18;;;22251:62;-1:-1:-1;;;22329:18:1;;;22322:35;22374:19;;76289:70:0;21998:401:1;76289:70:0;76413:159;76441:47;76460:27;76480:6;76460:19;:27::i;:::-;76441:18;:47::i;:::-;76413:159;;;;;;;;;;;;22631:25:1;;;;22704:4;22692:17;;22672:18;;;22665:45;22726:18;;;22719:34;;;22769:18;;;22762:34;;;22603:19;;76413:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76390:182:0;:6;-1:-1:-1;;;;;76390:182:0;;76370:202;;76094:486;;;;;;;:::o;66075:98::-;66133:7;66160:5;66164:1;66160;:5;:::i;54269:348::-;54362:4;54064:16;;;:7;:16;;;;;;-1:-1:-1;;;;;54064:16:0;54379:73;;;;-1:-1:-1;;;54379:73:0;;23009:2:1;54379:73:0;;;22991:21:1;23048:2;23028:18;;;23021:30;23087:34;23067:18;;;23060:62;-1:-1:-1;;;23138:18:1;;;23131:42;23190:19;;54379:73:0;22807:408:1;54379:73:0;54463:13;54479:23;54494:7;54479:14;:23::i;:::-;54463:39;;54532:5;-1:-1:-1;;;;;54521:16:0;:7;-1:-1:-1;;;;;54521:16:0;;:51;;;;54565:7;-1:-1:-1;;;;;54541:31:0;:20;54553:7;54541:11;:20::i;:::-;-1:-1:-1;;;;;54541:31:0;;54521:51;:87;;;;54576:32;54593:5;54600:7;54576:16;:32::i;:::-;54513:96;54269:348;-1:-1:-1;;;;54269:348:0:o;57378:625::-;57537:4;-1:-1:-1;;;;;57510:31:0;:23;57525:7;57510:14;:23::i;:::-;-1:-1:-1;;;;;57510:31:0;;57502:81;;;;-1:-1:-1;;;57502:81:0;;23422:2:1;57502:81:0;;;23404:21:1;23461:2;23441:18;;;23434:30;23500:34;23480:18;;;23473:62;-1:-1:-1;;;23551:18:1;;;23544:35;23596:19;;57502:81:0;23220:401:1;57502:81:0;-1:-1:-1;;;;;57602:16:0;;57594:65;;;;-1:-1:-1;;;57594:65:0;;23828:2:1;57594:65:0;;;23810:21:1;23867:2;23847:18;;;23840:30;23906:34;23886:18;;;23879:62;-1:-1:-1;;;23957:18:1;;;23950:34;24001:19;;57594:65:0;23626:400:1;57594:65:0;57672:39;57693:4;57699:2;57703:7;57672:20;:39::i;:::-;57776:29;57793:1;57797:7;57776:8;:29::i;:::-;-1:-1:-1;;;;;57818:15:0;;;;;;:9;:15;;;;;:20;;57837:1;;57818:15;:20;;57837:1;;57818:20;:::i;:::-;;;;-1:-1:-1;;;;;;;57849:13:0;;;;;;:9;:13;;;;;:18;;57866:1;;57849:13;:18;;57866:1;;57849:18;:::i;:::-;;;;-1:-1:-1;;57878:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;57878:21:0;-1:-1:-1;;;;;57878:21:0;;;;;;;;;57917:27;;57878:16;;57917:27;;;;;;;50314:341;50244:411;;:::o;27325:505::-;27414:22;27422:4;27428:7;27414;:22::i;:::-;27409:414;;27602:41;27630:7;-1:-1:-1;;;;;27602:41:0;27640:2;27602:19;:41::i;:::-;27716:38;27744:4;27751:2;27716:19;:38::i;:::-;27507:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27507:270:0;;;;;;;;;;-1:-1:-1;;;27453:358:0;;;;;;;:::i;30961:238::-;31045:22;31053:4;31059:7;31045;:22::i;:::-;31040:152;;31084:6;:12;;;;;;;;;;;-1:-1:-1;;;;;31084:29:0;;;;;;;;;:36;;-1:-1:-1;;31084:36:0;31116:4;31084:36;;;31167:12;:10;:12::i;:::-;-1:-1:-1;;;;;31140:40:0;31158:7;-1:-1:-1;;;;;31140:40:0;31152:4;31140:40;;;;;;;;;;30961:238;;:::o;31331:239::-;31415:22;31423:4;31429:7;31415;:22::i;:::-;31411:152;;;31486:5;31454:12;;;;;;;;;;;-1:-1:-1;;;;;31454:29:0;;;;;;;;;:37;;-1:-1:-1;;31454:37:0;;;31538:12;:10;:12::i;:::-;-1:-1:-1;;;;;31511:40:0;31529:7;-1:-1:-1;;;;;31511:40:0;31523:4;31511:40;;;;;;;;;;31331:239;;:::o;56621:420::-;56681:13;56697:23;56712:7;56697:14;:23::i;:::-;56681:39;;56733:48;56754:5;56769:1;56773:7;56733:20;:48::i;:::-;56822:29;56839:1;56843:7;56822:8;:29::i;:::-;-1:-1:-1;;;;;56864:16:0;;;;;;:9;:16;;;;;:21;;56884:1;;56864:16;:21;;56884:1;;56864:21;:::i;:::-;;;;-1:-1:-1;;56903:16:0;;;;:7;:16;;;;;;56896:23;;-1:-1:-1;;;;;;56896:23:0;;;56937:36;56911:7;;56903:16;-1:-1:-1;;;;;56937:36:0;;;;;56903:16;;56937:36;84002:29;83789:250;:::o;3335:191::-;3428:6;;;-1:-1:-1;;;;;3445:17:0;;;-1:-1:-1;;;;;;3445:17:0;;;;;;;3478:40;;3428:6;;;3445:17;3428:6;;3478:40;;3409:16;;3478:40;3398:128;3335:191;:::o;54959:110::-;55035:26;55045:2;55049:7;55035:26;;;;;;;;;;;;:9;:26::i;58437:315::-;58592:8;-1:-1:-1;;;;;58583:17:0;:5;-1:-1:-1;;;;;58583:17:0;;58575:55;;;;-1:-1:-1;;;58575:55:0;;25024:2:1;58575:55:0;;;25006:21:1;25063:2;25043:18;;;25036:30;25102:27;25082:18;;;25075:55;25147:18;;58575:55:0;24822:349:1;58575:55:0;-1:-1:-1;;;;;58641:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;58641:46:0;;;;;;;;;;58703:41;;540::1;;;58703::0;;513:18:1;58703:41:0;;;;;;;58437:315;;;:::o;53347:::-;53504:28;53514:4;53520:2;53524:7;53504:9;:28::i;:::-;53551:48;53574:4;53580:2;53584:7;53593:5;53551:22;:48::i;:::-;53543:111;;;;-1:-1:-1;;;53543:111:0;;;;;;;:::i;6226:723::-;6282:13;6503:5;6512:1;6503:10;6499:53;;-1:-1:-1;;6530:10:0;;;;;;;;;;;;-1:-1:-1;;;6530:10:0;;;;;6226:723::o;6499:53::-;6577:5;6562:12;6618:78;6625:9;;6618:78;;6651:8;;;;:::i;:::-;;-1:-1:-1;6674:10:0;;-1:-1:-1;6682:2:0;6674:10;;:::i;:::-;;;6618:78;;;6706:19;6738:6;6728:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6728:17:0;;6706:39;;6756:154;6763:10;;6756:154;;6790:11;6800:1;6790:11;;:::i;:::-;;-1:-1:-1;6859:10:0;6867:2;6859:5;:10;:::i;:::-;6846:24;;:2;:24;:::i;:::-;6833:39;;6816:6;6823;6816:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;6816:56:0;;;;;;;;-1:-1:-1;6887:11:0;6896:2;6887:11;;:::i;:::-;;;6756:154;;79166:462;79437:20;;79481:28;;-1:-1:-1;;;79481:28:0;;-1:-1:-1;;;;;1692:32:1;;;79481:28:0;;;1674:51:1;79308:4:0;;79437:20;;;79473:49;;;;79437:20;;79481:21;;1647:18:1;;79481:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;79473:49:0;;79469:93;;79546:4;79539:11;;;;;79469:93;-1:-1:-1;;;;;51361:25:0;;;51337:4;51361:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;79581:39;51240:164;75561:410;75671:7;73726:108;;;;;;;;;;;;;;;;;73702:143;;;;;;;75825:12;;75860:11;;;;75904:24;;;;;75894:35;;;;;;75744:204;;;;;26485:25:1;;;26541:2;26526:18;;26519:34;;;;-1:-1:-1;;;;;26589:32:1;26584:2;26569:18;;26562:60;26653:2;26638:18;;26631:34;26472:3;26457:19;;26254:417;75744:204:0;;;;;;;;;;;;;75716:247;;;;;;75696:267;;75561:410;;;:::o;73184:258::-;73283:7;73385:20;72623:15;;;72545:101;73385:20;73356:63;;-1:-1:-1;;;73356:63:0;;;26934:27:1;26977:11;;;26970:27;;;;27013:12;;;27006:28;;;27050:12;;73356:63:0;26676:392:1;84765:509:0;-1:-1:-1;;;;;84977:18:0;;84973:143;;84997:40;85029:7;85615:10;:17;;85588:24;;;;:15;:24;;;;;:44;;;85643:24;;;;;;;;;;;;85511:164;84997:40;84973:143;;;85065:2;-1:-1:-1;;;;;85057:10:0;:4;-1:-1:-1;;;;;85057:10:0;;85053:63;;85069:47;85102:4;85108:7;85069:32;:47::i;:::-;-1:-1:-1;;;;;85131:16:0;;85127:139;;85149:45;85186:7;85149:36;:45::i;85127:139::-;85220:4;-1:-1:-1;;;;;85214:10:0;:2;-1:-1:-1;;;;;85214:10:0;;85210:56;;85226:40;85254:2;85258:7;85226:27;:40::i;7527:451::-;7602:13;7628:19;7660:10;7664:6;7660:1;:10;:::i;:::-;:14;;7673:1;7660:14;:::i;:::-;7650:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7650:25:0;;7628:47;;-1:-1:-1;;;7686:6:0;7693:1;7686:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;7686:15:0;;;;;;;;;-1:-1:-1;;;7712:6:0;7719:1;7712:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;7712:15:0;;;;;;;;-1:-1:-1;7743:9:0;7755:10;7759:6;7755:1;:10;:::i;:::-;:14;;7768:1;7755:14;:::i;:::-;7743:26;;7738:135;7775:1;7771;:5;7738:135;;;-1:-1:-1;;;7823:5:0;7831:3;7823:11;7810:25;;;;;;;:::i;:::-;;;;7798:6;7805:1;7798:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;7798:37:0;;;;;;;;-1:-1:-1;7860:1:0;7850:11;;;;;7778:3;;;:::i;:::-;;;7738:135;;;-1:-1:-1;7891:10:0;;7883:55;;;;-1:-1:-1;;;7883:55:0;;27589:2:1;7883:55:0;;;27571:21:1;;;27608:18;;;27601:30;27667:34;27647:18;;;27640:62;27719:18;;7883:55:0;27387:356:1;55296:321:0;55426:18;55432:2;55436:7;55426:5;:18::i;:::-;55477:54;55508:1;55512:2;55516:7;55525:5;55477:22;:54::i;:::-;55455:154;;;;-1:-1:-1;;;55455:154:0;;;;;;;:::i;59317:799::-;59472:4;-1:-1:-1;;;;;59493:13:0;;39831:19;:23;59489:620;;59545:2;-1:-1:-1;;;;;59529:36:0;;59566:12;:10;:12::i;:::-;59580:4;59586:7;59595:5;59529:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59529:72:0;;;;;;;;-1:-1:-1;;59529:72:0;;;;;;;;;;;;:::i;:::-;;;59525:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59771:6;:13;59788:1;59771:18;59767:272;;59814:60;;-1:-1:-1;;;59814:60:0;;;;;;;:::i;59767:272::-;59989:6;59983:13;59974:6;59970:2;59966:15;59959:38;59525:529;-1:-1:-1;;;;;;59652:51:0;-1:-1:-1;;;59652:51:0;;-1:-1:-1;59645:58:0;;59489:620;-1:-1:-1;60093:4:0;59317:799;;;;;;:::o;85683:1002::-;85963:22;86013:1;85988:22;86005:4;85988:16;:22::i;:::-;:26;;;;:::i;:::-;86025:18;86046:26;;;:17;:26;;;;;;85963:51;;-1:-1:-1;86179:28:0;;;86175:328;;-1:-1:-1;;;;;86246:18:0;;86224:19;86246:18;;;:12;:18;;;;;;;;:34;;;;;;;;;86297:30;;;;;;:44;;;86414:30;;:17;:30;;;;;:43;;;86175:328;-1:-1:-1;86599:26:0;;;;:17;:26;;;;;;;;86592:33;;;-1:-1:-1;;;;;86643:18:0;;;;;:12;:18;;;;;:34;;;;;;;86636:41;85683:1002::o;86693:1079::-;86971:10;:17;86946:22;;86971:21;;86991:1;;86971:21;:::i;:::-;87003:18;87024:24;;;:15;:24;;;;;;87397:10;:26;;86946:46;;-1:-1:-1;87024:24:0;;86946:46;;87397:26;;;;;;:::i;:::-;;;;;;;;;87375:48;;87461:11;87436:10;87447;87436:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;87541:28;;;:15;:28;;;;;;;:41;;;87713:24;;;;;87706:31;87748:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;86764:1008;;;86693:1079;:::o;85282:221::-;85367:14;85384:20;85401:2;85384:16;:20::i;:::-;-1:-1:-1;;;;;85415:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;85460:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;85282:221:0:o;55953:439::-;-1:-1:-1;;;;;56033:16:0;;56025:61;;;;-1:-1:-1;;;56025:61:0;;28830:2:1;56025:61:0;;;28812:21:1;;;28849:18;;;28842:30;28908:34;28888:18;;;28881:62;28960:18;;56025:61:0;28628:356:1;56025:61:0;54040:4;54064:16;;;:7;:16;;;;;;-1:-1:-1;;;;;54064:16:0;:30;56097:58;;;;-1:-1:-1;;;56097:58:0;;29191:2:1;56097:58:0;;;29173:21:1;29230:2;29210:18;;;29203:30;29269;29249:18;;;29242:58;29317:18;;56097:58:0;28989:352:1;56097:58:0;56168:45;56197:1;56201:2;56205:7;56168:20;:45::i;:::-;-1:-1:-1;;;;;56226:13:0;;;;;;:9;:13;;;;;:18;;56243:1;;56226:13;:18;;56243:1;;56226:18;:::i;:::-;;;;-1:-1:-1;;56255:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;56255:21:0;-1:-1:-1;;;;;56255:21:0;;;;;;;;56294:33;;56255:16;;;56294:33;;56255:16;;56294:33;84002:29;83789:250;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:383;1949:6;1957;1965;2018:2;2006:9;1997:7;1993:23;1989:32;1986:52;;;2034:1;2031;2024:12;1986:52;2073:9;2060:23;2092:31;2117:5;2092:31;:::i;:::-;2142:5;2194:2;2179:18;;2166:32;;-1:-1:-1;2245:2:1;2230:18;;;2217:32;;1872:383;-1:-1:-1;;;1872:383:1:o;2260:1031::-;2456:4;2485:2;2525;2514:9;2510:18;2555:2;2544:9;2537:21;2578:6;2613;2607:13;2644:6;2636;2629:22;2670:2;2660:12;;2703:2;2692:9;2688:18;2681:25;;2765:2;2755:6;2752:1;2748:14;2737:9;2733:30;2729:39;2803:2;2795:6;2791:15;2824:1;2834:428;2848:6;2845:1;2842:13;2834:428;;;2913:22;;;-1:-1:-1;;2909:36:1;2897:49;;2969:13;;3010:9;;2995:25;;3059:11;;3053:18;3091:15;;;3084:27;;;3134:48;3166:15;;;3053:18;3134:48;:::i;:::-;3240:12;;;;3124:58;-1:-1:-1;;3205:15:1;;;;2870:1;2863:9;2834:428;;;-1:-1:-1;3279:6:1;;2260:1031;-1:-1:-1;;;;;;;;2260:1031:1:o;3296:315::-;3364:6;3372;3425:2;3413:9;3404:7;3400:23;3396:32;3393:52;;;3441:1;3438;3431:12;3393:52;3480:9;3467:23;3499:31;3524:5;3499:31;:::i;:::-;3549:5;3601:2;3586:18;;;;3573:32;;-1:-1:-1;;;3296:315:1:o;3616:127::-;3677:10;3672:3;3668:20;3665:1;3658:31;3708:4;3705:1;3698:15;3732:4;3729:1;3722:15;3748:631;3812:5;3842:18;3883:2;3875:6;3872:14;3869:40;;;3889:18;;:::i;:::-;3964:2;3958:9;3932:2;4018:15;;-1:-1:-1;;4014:24:1;;;4040:2;4010:33;4006:42;3994:55;;;4064:18;;;4084:22;;;4061:46;4058:72;;;4110:18;;:::i;:::-;4150:10;4146:2;4139:22;4179:6;4170:15;;4209:6;4201;4194:22;4249:3;4240:6;4235:3;4231:16;4228:25;4225:45;;;4266:1;4263;4256:12;4225:45;4316:6;4311:3;4304:4;4296:6;4292:17;4279:44;4371:1;4364:4;4355:6;4347;4343:19;4339:30;4332:41;;;;3748:631;;;;;:::o;4384:220::-;4426:5;4479:3;4472:4;4464:6;4460:17;4456:27;4446:55;;4497:1;4494;4487:12;4446:55;4519:79;4594:3;4585:6;4572:20;4565:4;4557:6;4553:17;4519:79;:::i;4609:758::-;4711:6;4719;4727;4735;4743;4796:3;4784:9;4775:7;4771:23;4767:33;4764:53;;;4813:1;4810;4803:12;4764:53;4852:9;4839:23;4871:31;4896:5;4871:31;:::i;:::-;4921:5;-1:-1:-1;4977:2:1;4962:18;;4949:32;5004:18;4993:30;;4990:50;;;5036:1;5033;5026:12;4990:50;5059:49;5100:7;5091:6;5080:9;5076:22;5059:49;:::i;:::-;5049:59;;;5155:2;5144:9;5140:18;5127:32;5117:42;;5206:2;5195:9;5191:18;5178:32;5168:42;;5262:3;5251:9;5247:19;5234:33;5311:4;5302:7;5298:18;5289:7;5286:31;5276:59;;5331:1;5328;5321:12;5276:59;5354:7;5344:17;;;4609:758;;;;;;;;:::o;5959:456::-;6036:6;6044;6052;6105:2;6093:9;6084:7;6080:23;6076:32;6073:52;;;6121:1;6118;6111:12;6073:52;6160:9;6147:23;6179:31;6204:5;6179:31;:::i;:::-;6229:5;-1:-1:-1;6286:2:1;6271:18;;6258:32;6299:33;6258:32;6299:33;:::i;:::-;5959:456;;6351:7;;-1:-1:-1;;;6405:2:1;6390:18;;;;6377:32;;5959:456::o;6605:247::-;6664:6;6717:2;6705:9;6696:7;6692:23;6688:32;6685:52;;;6733:1;6730;6723:12;6685:52;6772:9;6759:23;6791:31;6816:5;6791:31;:::i;6857:315::-;6925:6;6933;6986:2;6974:9;6965:7;6961:23;6957:32;6954:52;;;7002:1;6999;6992:12;6954:52;7038:9;7025:23;7015:33;;7098:2;7087:9;7083:18;7070:32;7111:31;7136:5;7111:31;:::i;:::-;7161:5;7151:15;;;6857:315;;;;;:::o;7177:450::-;7246:6;7299:2;7287:9;7278:7;7274:23;7270:32;7267:52;;;7315:1;7312;7305:12;7267:52;7355:9;7342:23;7388:18;7380:6;7377:30;7374:50;;;7420:1;7417;7410:12;7374:50;7443:22;;7496:4;7488:13;;7484:27;-1:-1:-1;7474:55:1;;7525:1;7522;7515:12;7474:55;7548:73;7613:7;7608:2;7595:16;7590:2;7586;7582:11;7548:73;:::i;7632:416::-;7697:6;7705;7758:2;7746:9;7737:7;7733:23;7729:32;7726:52;;;7774:1;7771;7764:12;7726:52;7813:9;7800:23;7832:31;7857:5;7832:31;:::i;:::-;7882:5;-1:-1:-1;7939:2:1;7924:18;;7911:32;7981:15;;7974:23;7962:36;;7952:64;;8012:1;8009;8002:12;8053:665;8148:6;8156;8164;8172;8225:3;8213:9;8204:7;8200:23;8196:33;8193:53;;;8242:1;8239;8232:12;8193:53;8281:9;8268:23;8300:31;8325:5;8300:31;:::i;:::-;8350:5;-1:-1:-1;8407:2:1;8392:18;;8379:32;8420:33;8379:32;8420:33;:::i;:::-;8472:7;-1:-1:-1;8526:2:1;8511:18;;8498:32;;-1:-1:-1;8581:2:1;8566:18;;8553:32;8608:18;8597:30;;8594:50;;;8640:1;8637;8630:12;8594:50;8663:49;8704:7;8695:6;8684:9;8680:22;8663:49;:::i;:::-;8653:59;;;8053:665;;;;;;;:::o;8723:388::-;8791:6;8799;8852:2;8840:9;8831:7;8827:23;8823:32;8820:52;;;8868:1;8865;8858:12;8820:52;8907:9;8894:23;8926:31;8951:5;8926:31;:::i;:::-;8976:5;-1:-1:-1;9033:2:1;9018:18;;9005:32;9046:33;9005:32;9046:33;:::i;9116:380::-;9195:1;9191:12;;;;9238;;;9259:61;;9313:4;9305:6;9301:17;9291:27;;9259:61;9366:2;9358:6;9355:14;9335:18;9332:38;9329:161;;9412:10;9407:3;9403:20;9400:1;9393:31;9447:4;9444:1;9437:15;9475:4;9472:1;9465:15;9329:161;;9116:380;;;:::o;9914:127::-;9975:10;9970:3;9966:20;9963:1;9956:31;10006:4;10003:1;9996:15;10030:4;10027:1;10020:15;10046:125;10086:4;10114:1;10111;10108:8;10105:34;;;10119:18;;:::i;:::-;-1:-1:-1;10156:9:1;;10046:125::o;10584:128::-;10624:3;10655:1;10651:6;10648:1;10645:13;10642:39;;;10661:18;;:::i;:::-;-1:-1:-1;10697:9:1;;10584:128::o;10717:127::-;10778:10;10773:3;10769:20;10766:1;10759:31;10809:4;10806:1;10799:15;10833:4;10830:1;10823:15;10849:135;10888:3;10909:17;;;10906:43;;10929:18;;:::i;:::-;-1:-1:-1;10976:1:1;10965:13;;10849:135::o;12218:432::-;-1:-1:-1;;;;;12475:15:1;;;12457:34;;12527:15;;12522:2;12507:18;;12500:43;12579:2;12574;12559:18;;12552:30;;;12400:4;;12599:45;;12625:18;;12617:6;12599:45;:::i;:::-;12591:53;12218:432;-1:-1:-1;;;;;12218:432:1:o;12655:415::-;12812:3;12850:6;12844:13;12866:53;12912:6;12907:3;12900:4;12892:6;12888:17;12866:53;:::i;:::-;12988:2;12984:15;;;;-1:-1:-1;;12980:53:1;12941:16;;;;12966:68;;;13061:2;13050:14;;12655:415;-1:-1:-1;;12655:415:1:o;13075:274::-;13204:3;13242:6;13236:13;13258:53;13304:6;13299:3;13292:4;13284:6;13280:17;13258:53;:::i;:::-;13327:16;;;;;13075:274;-1:-1:-1;;13075:274:1:o;13711:413::-;13913:2;13895:21;;;13952:2;13932:18;;;13925:30;13991:34;13986:2;13971:18;;13964:62;-1:-1:-1;;;14057:2:1;14042:18;;14035:47;14114:3;14099:19;;13711:413::o;15077:545::-;15179:2;15174:3;15171:11;15168:448;;;15215:1;15240:5;15236:2;15229:17;15285:4;15281:2;15271:19;15355:2;15343:10;15339:19;15336:1;15332:27;15326:4;15322:38;15391:4;15379:10;15376:20;15373:47;;;-1:-1:-1;15414:4:1;15373:47;15469:2;15464:3;15460:12;15457:1;15453:20;15447:4;15443:31;15433:41;;15524:82;15542:2;15535:5;15532:13;15524:82;;;15587:17;;;15568:1;15557:13;15524:82;;;15528:3;;;15077:545;;;:::o;15798:1352::-;15924:3;15918:10;15951:18;15943:6;15940:30;15937:56;;;15973:18;;:::i;:::-;16002:97;16092:6;16052:38;16084:4;16078:11;16052:38;:::i;:::-;16046:4;16002:97;:::i;:::-;16154:4;;16218:2;16207:14;;16235:1;16230:663;;;;16937:1;16954:6;16951:89;;;-1:-1:-1;17006:19:1;;;17000:26;16951:89;-1:-1:-1;;15755:1:1;15751:11;;;15747:24;15743:29;15733:40;15779:1;15775:11;;;15730:57;17053:81;;16200:944;;16230:663;15024:1;15017:14;;;15061:4;15048:18;;-1:-1:-1;;16266:20:1;;;16384:236;16398:7;16395:1;16392:14;16384:236;;;16487:19;;;16481:26;16466:42;;16579:27;;;;16547:1;16535:14;;;;16414:19;;16384:236;;;16388:3;16648:6;16639:7;16636:19;16633:201;;;16709:19;;;16703:26;-1:-1:-1;;16792:1:1;16788:14;;;16804:3;16784:24;16780:37;16776:42;16761:58;16746:74;;16633:201;-1:-1:-1;;;;;16880:1:1;16864:14;;;16860:22;16847:36;;-1:-1:-1;15798:1352:1:o;20412:1174::-;20689:3;20718:1;20751:6;20745:13;20781:36;20807:9;20781:36;:::i;:::-;20836:1;20853:18;;;20880:133;;;;21027:1;21022:356;;;;20846:532;;20880:133;-1:-1:-1;;20913:24:1;;20901:37;;20986:14;;20979:22;20967:35;;20958:45;;;-1:-1:-1;20880:133:1;;21022:356;21053:6;21050:1;21043:17;21083:4;21128:2;21125:1;21115:16;21153:1;21167:165;21181:6;21178:1;21175:13;21167:165;;;21259:14;;21246:11;;;21239:35;21302:16;;;;21196:10;;21167:165;;;21171:3;;;21361:6;21356:3;21352:16;21345:23;;20846:532;;;;;21409:6;21403:13;21425:55;21471:8;21466:3;21459:4;21451:6;21447:17;21425:55;:::i;:::-;-1:-1:-1;;;21502:18:1;;21529:22;;;21578:1;21567:13;;20412:1174;-1:-1:-1;;;;20412:1174:1:o;24031:786::-;24442:25;24437:3;24430:38;24412:3;24497:6;24491:13;24513:62;24568:6;24563:2;24558:3;24554:12;24547:4;24539:6;24535:17;24513:62;:::i;:::-;-1:-1:-1;;;24634:2:1;24594:16;;;24626:11;;;24619:40;24684:13;;24706:63;24684:13;24755:2;24747:11;;24740:4;24728:17;;24706:63;:::i;:::-;24789:17;24808:2;24785:26;;24031:786;-1:-1:-1;;;;24031:786:1:o;25176:414::-;25378:2;25360:21;;;25417:2;25397:18;;;25390:30;25456:34;25451:2;25436:18;;25429:62;-1:-1:-1;;;25522:2:1;25507:18;;25500:48;25580:3;25565:19;;25176:414::o;25595:127::-;25656:10;25651:3;25647:20;25644:1;25637:31;25687:4;25684:1;25677:15;25711:4;25708:1;25701:15;25727:120;25767:1;25793;25783:35;;25798:18;;:::i;:::-;-1:-1:-1;25832:9:1;;25727:120::o;25852:112::-;25884:1;25910;25900:35;;25915:18;;:::i;:::-;-1:-1:-1;25949:9:1;;25852:112::o;25969:280::-;26068:6;26121:2;26109:9;26100:7;26096:23;26092:32;26089:52;;;26137:1;26134;26127:12;26089:52;26169:9;26163:16;26188:31;26213:5;26188:31;:::i;27073:168::-;27113:7;27179:1;27175;27171:6;27167:14;27164:1;27161:21;27156:1;27149:9;27142:17;27138:45;27135:71;;;27186:18;;:::i;:::-;-1:-1:-1;27226:9:1;;27073:168::o;27246:136::-;27285:3;27313:5;27303:39;;27322:18;;:::i;:::-;-1:-1:-1;;;27358:18:1;;27246:136::o;27748:489::-;-1:-1:-1;;;;;28017:15:1;;;27999:34;;28069:15;;28064:2;28049:18;;28042:43;28116:2;28101:18;;28094:34;;;28164:3;28159:2;28144:18;;28137:31;;;27942:4;;28185:46;;28211:19;;28203:6;28185:46;:::i;:::-;28177:54;27748:489;-1:-1:-1;;;;;;27748:489:1:o;28242:249::-;28311:6;28364:2;28352:9;28343:7;28339:23;28335:32;28332:52;;;28380:1;28377;28370:12;28332:52;28412:9;28406:16;28431:30;28455:5;28431:30;:::i;28496:127::-;28557:10;28552:3;28548:20;28545:1;28538:31;28588:4;28585:1;28578:15;28612:4;28609:1;28602:15

Swarm Source

ipfs://5f9d2185e757d7b3810e5d6e5ba2774b08578c87f73be10e445960b0eb36a8de
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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