ETH Price: $3,951.08 (+1.05%)

Token

TheWerdWorld (WERD)
 

Overview

Max Total Supply

282 WERD

Holders

85

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
412steel.eth
Balance
1 WERD
0x0B29a440781a4Ca3F06B6E0323b981e1157dF02f
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
WerdWorldNFT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 16 : WerdWorld.sol
// SPDX-License-Identifier: UNLICENSED

/***********************************************************/
/** Contract created by CRCLS Networks, Inc
/** Author: MattXYZ @mattxyzeth mattxyz.eth
/** Author: KarlXYZ @karlxyzeth karlxyz.eth
/***********************************************************/

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./lib/ERC2981Royalties.sol";

contract WerdWorldNFT is ERC721, ERC2981Royalties, AccessControl {
    using Strings for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

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

    bool public isPreSaleActive;
    bool public isPublicSaleActive;
    bool public isSoldOut;
    bool public isRevealed;
    uint256 public maxSupply = 1002;

    uint8 private constant MAX_PUBLIC_MINT = 10;
    uint256 private constant PRICE_PER_TOKEN = 0.08 ether;
    uint8 private constant ROYALTY_CUT = 250;
    string private constant META_SUFFIX = ".json";
    string private _prerevealURI;
    string private _baseTokenURI;

    address private _contractOwner;
    mapping(address => bool) private _whitelist;
    mapping(address => uint16) private _mintCount;
    mapping(bytes32 => address[]) private _adminList;

    event SaleStatus();
    event Purchase();

    modifier onlyOwner() {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Denied");
        _;
    }

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

    constructor(string memory baseUri, string memory prerevealURI) ERC721 ("TheWerdWorld", "WERD") {
        _contractOwner = msg.sender;
        // Set owner role
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        // Set admin role
        _grantRole(ADMIN_ROLE, msg.sender);
        _adminList[ADMIN_ROLE].push(msg.sender);
        // Set the royalty cut
        _setRoyalties(msg.sender, ROYALTY_CUT);
        // Set the baseUri for the tokenURI method
        _baseTokenURI = baseUri;
        // Set the prerevealUri for the tokenURI method
        _prerevealURI = prerevealURI;
    }

    function setOwner(address newOwner) external onlyOwner {
        _contractOwner = newOwner;
        // Set owner role
        _grantRole(DEFAULT_ADMIN_ROLE, newOwner);
        // Set admin role
        _grantRole(ADMIN_ROLE, newOwner);
        // Revoke the previous owner
        _revokeRole(DEFAULT_ADMIN_ROLE, msg.sender);
        // Set the royalty cut
        _setRoyalties(newOwner, ROYALTY_CUT);
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        payable(_contractOwner).transfer(balance);
    }

    function mint(uint8 _amount) external payable {
        require(totalSupply() < maxSupply, "SOLD OUT!");
        require(_amount <= MAX_PUBLIC_MINT, "Requested too many");
        require(totalSupply() + _amount <= maxSupply, string(abi.encodePacked("Only ", (maxSupply - totalSupply()).toString(), " left.")));
        require(msg.value >= _amount * PRICE_PER_TOKEN, "Not enough ether");

        if (isPreSaleActive) {
            // Make sure the sender in on the whitelist.
            require(_whitelist[msg.sender], "Not on the whitelist");
        } else if (isPublicSaleActive) {
            // Make sure the sender isn't requesting too many
            require(_mintCount[msg.sender] + _amount <= MAX_PUBLIC_MINT, "Max amount exceeded");
        } else {
            revert("Sale not active");
        }

        // Set state first
        _mintCount[msg.sender] += _amount;

        // Mint functionality
        for (uint8 i; i < _amount; i++) {
            _tokenIds.increment();
            _safeMint(msg.sender, _tokenIds.current());
        }

        emit Purchase();

        if (totalSupply() == maxSupply) {
            isSoldOut = true;
            emit SaleStatus();
        }
    }

    function giftMint(address to) external onlyOwner {
        require(_tokenIds.current() + 1 <= maxSupply, "None left");
        _tokenIds.increment();
        _safeMint(to, _tokenIds.current());
    }

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

    function totalForAccount() public view returns (uint16) {
        return _mintCount[msg.sender];
    }

    function getRole() public view onlyRole(ADMIN_ROLE) returns (string memory) {
        return hasRole(DEFAULT_ADMIN_ROLE, msg.sender)
          ? "owner"
          : "admin";
    }

    function togglePreSale() public onlyRole(ADMIN_ROLE) {
        if (isPreSaleActive) {
            isPreSaleActive = false;
        } else {
            isPreSaleActive = true;
        }

        emit SaleStatus();
    }

    function togglePublicSale() public onlyRole(ADMIN_ROLE) {
        if (isPublicSaleActive) {
            isPublicSaleActive = false;
        } else {
            isPreSaleActive = false;
            isPublicSaleActive = true;
        }

        emit SaleStatus();
    }

    function reveal() public onlyRole(ADMIN_ROLE) {
        isRevealed = true;
    }

    function updateWhitelist(address[] calldata _addresses) public onlyRole(ADMIN_ROLE) {
        for (uint256 i = 0; i < _addresses.length; i++) {
            _whitelist[_addresses[i]] = true;
        }
    }

    function isOnWhitelist(address account) public view returns (bool) {
        return _whitelist[account];
    }

    function setAdmins(address[] calldata _addresses) public onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            grantRole(ADMIN_ROLE, _addresses[i]);
            _adminList[ADMIN_ROLE].push(_addresses[i]);
        }
    }

    function revokeAdmins(address[] calldata _addresses) public onlyOwner {
        for (uint256 i = 0; i < _addresses.length; i++) {
            revokeRole(ADMIN_ROLE, _addresses[i]);

            for(uint256 j;j < _adminList[ADMIN_ROLE].length;j++) {
                if (_adminList[ADMIN_ROLE][j] == _addresses[i]) {
                    _adminList[ADMIN_ROLE][j] = _adminList[ADMIN_ROLE][_adminList[ADMIN_ROLE].length-1];
                    _adminList[ADMIN_ROLE].pop();
                }
            }
        }
    }

    function getAdmins() public view onlyRole(ADMIN_ROLE) returns (address[] memory) {
      return _adminList[ADMIN_ROLE];
    }

    function setMaxSupply(uint256 _amount) public onlyRole(ADMIN_ROLE) {
        maxSupply = _amount;
    }

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

      if (isRevealed == false) {
        return string(abi.encodePacked(_prerevealURI, "pre-reveal", META_SUFFIX));
      }

      return bytes(_baseTokenURI).length > 0
        ? string(abi.encodePacked(_baseTokenURI, _tokenId.toString(), META_SUFFIX))
        : "";
    }

    function setBaseTokenURI(string memory _newURI) public onlyRole(ADMIN_ROLE) {
        _baseTokenURI = _newURI;
    }

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

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

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @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 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 {
        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 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 3 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// 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 4 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 14 of 16 : ERC2981Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

import './IERC2981Royalties.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
abstract contract ERC2981Base is ERC165, IERC2981Royalties {
    struct RoyaltyInfo {
        address recipient;
        uint24 amount;
    }

    /// @inheritdoc	ERC165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC2981Royalties).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

File 15 of 16 : ERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

import './ERC2981Base.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
/// @dev This implementation has the same royalties for each and every tokens
abstract contract ERC2981Royalties is ERC2981Base {
    RoyaltyInfo private _royalties;

    /// @dev Sets token royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setRoyalties(address recipient, uint256 value) internal {
        require(value <= 10000, 'ERC2981Royalties: Too high');
        _royalties = RoyaltyInfo(recipient, uint24(value));
    }

    /// @inheritdoc	IERC2981Royalties
    function royaltyInfo(uint256, uint256 value)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        RoyaltyInfo memory royalties = _royalties;
        receiver = royalties.recipient;
        royaltyAmount = (value * royalties.amount) / 10000;
    }
}

File 16 of 16 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _value - the sale price of the NFT asset specified by _tokenId
    /// @return _receiver - address of who should be sent the royalty payment
    /// @return _royaltyAmount - the royalty payment amount for value sale price
    function royaltyInfo(uint256 _tokenId, uint256 _value)
        external
        view
        returns (address _receiver, uint256 _royaltyAmount);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"string","name":"prerevealURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[],"name":"Purchase","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":[],"name":"SaleStatus","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":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_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":"getAdmins","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRole","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"address","name":"to","type":"address"}],"name":"giftMint","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"isOnWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"revokeAdmins","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":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"_addresses","type":"address[]"}],"name":"setAdmins","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":"_newURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalForAccount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"_addresses","type":"address[]"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103ea600a553480156200001757600080fd5b50604051620060a5380380620060a583398181016040528101906200003d9190620005bd565b6040518060400160405280600c81526020017f54686557657264576f726c6400000000000000000000000000000000000000008152506040518060400160405280600481526020017f57455244000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c19291906200049b565b508060019080519060200190620000da9291906200049b565b50505033600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001336000801b336200024960201b60201c565b620001657fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775336200024960201b60201c565b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200020f3360fa60ff166200033b60201b60201c565b81600c9080519060200190620002279291906200049b565b5080600b9080519060200190620002409291906200049b565b50505062000823565b6200025b82826200042860201b60201c565b620003375760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002dc6200049360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61271081111562000383576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200037a9062000657565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620004a9906200071f565b90600052602060002090601f016020900481019282620004cd576000855562000519565b82601f10620004e857805160ff191683800117855562000519565b8280016001018555821562000519579182015b8281111562000518578251825591602001919060010190620004fb565b5b5090506200052891906200052c565b5090565b5b80821115620005475760008160009055506001016200052d565b5090565b6000620005626200055c84620006a2565b62000679565b9050828152602081018484840111156200057b57600080fd5b62000588848285620006e9565b509392505050565b600082601f830112620005a257600080fd5b8151620005b48482602086016200054b565b91505092915050565b60008060408385031215620005d157600080fd5b600083015167ffffffffffffffff811115620005ec57600080fd5b620005fa8582860162000590565b925050602083015167ffffffffffffffff8111156200061857600080fd5b620006268582860162000590565b9150509250929050565b60006200063f601a83620006d8565b91506200064c82620007fa565b602082019050919050565b60006020820190508181036000830152620006728162000630565b9050919050565b60006200068562000698565b905062000693828262000755565b919050565b6000604051905090565b600067ffffffffffffffff821115620006c057620006bf620007ba565b5b620006cb82620007e9565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000709578082015181840152602081019050620006ec565b8381111562000719576000848401525b50505050565b600060028204905060018216806200073857607f821691505b602082108114156200074f576200074e6200078b565b5b50919050565b6200076082620007e9565b810181811067ffffffffffffffff82111715620007825762000781620007ba565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b61587280620008336000396000f3fe60806040526004361061025c5760003560e01c80636352211e11610144578063a475b5dd116100b6578063d547741f1161007a578063d547741f146108d4578063d5abeb01146108fd578063df2bdc8214610928578063e222c7f914610953578063e985e9c51461096a578063fde08174146109a75761025c565b8063a475b5dd14610817578063accc1d5e1461082e578063b88d4fde14610857578063c87b56dd14610880578063ca3cb522146108bd5761025c565b806391d148541161010857806391d148541461070757806395d89b41146107445780639d044ed31461076f578063a1eb9aaf1461079a578063a217fddf146107c3578063a22cb465146107ee5761025c565b80636352211e1461061d5780636ecd23061461065a5780636f8b44b01461067657806370a082311461069f57806375b238fc146106dc5761025c565b80632da5ea17116101dd57806336568abe116101a157806336568abe146105235780633a3ab6721461054c5780633ccfd60b1461058957806342842e0e146105a057806354214f69146105c9578063606ccc6c146105f45761025c565b80632da5ea17146104525780632f2ff15d1461047d57806330176e13146104a657806331ae450b146104cf57806335377214146104fa5761025c565b806318160ddd1161022457806318160ddd146103585780631e84c4131461038357806323b872dd146103ae578063248a9ca3146103d75780632a55205a146104145761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806313af40351461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f8a565b6109d2565b6040516102959190614830565b60405180910390f35b3480156102aa57600080fd5b506102b36109e4565b6040516102c09190614866565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb919061401d565b610a76565b6040516102fd919061477e565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613ea4565b610afb565b005b34801561033b57600080fd5b5061035660048036038101906103519190613d39565b610c13565b005b34801561036457600080fd5b5061036d610cf5565b60405161037a9190614bc3565b60405180910390f35b34801561038f57600080fd5b50610398610d06565b6040516103a59190614830565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190613d9e565b610d19565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190613f25565b610d79565b60405161040b919061484b565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190614046565b610d99565b6040516104499291906147e5565b60405180910390f35b34801561045e57600080fd5b50610467610e59565b6040516104749190614830565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f9190613f4e565b610e6c565b005b3480156104b257600080fd5b506104cd60048036038101906104c89190613fdc565b610e95565b005b3480156104db57600080fd5b506104e4610ee2565b6040516104f1919061480e565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613ee0565b610fd4565b005b34801561052f57600080fd5b5061054a60048036038101906105459190613f4e565b6110d2565b005b34801561055857600080fd5b50610573600480360381019061056e9190613d39565b611155565b6040516105809190614830565b60405180910390f35b34801561059557600080fd5b5061059e6111ab565b005b3480156105ac57600080fd5b506105c760048036038101906105c29190613d9e565b611268565b005b3480156105d557600080fd5b506105de611288565b6040516105eb9190614830565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613ee0565b61129b565b005b34801561062957600080fd5b50610644600480360381019061063f919061401d565b611719565b604051610651919061477e565b60405180910390f35b610674600480360381019061066f9190614082565b6117cb565b005b34801561068257600080fd5b5061069d6004803603810190610698919061401d565b611c37565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190613d39565b611c74565b6040516106d39190614bc3565b60405180910390f35b3480156106e857600080fd5b506106f1611d2c565b6040516106fe919061484b565b60405180910390f35b34801561071357600080fd5b5061072e60048036038101906107299190613f4e565b611d50565b60405161073b9190614830565b60405180910390f35b34801561075057600080fd5b50610759611dbb565b6040516107669190614866565b60405180910390f35b34801561077b57600080fd5b50610784611e4d565b6040516107919190614830565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613d39565b611e60565b005b3480156107cf57600080fd5b506107d8611f26565b6040516107e5919061484b565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613e68565b611f2d565b005b34801561082357600080fd5b5061082c611f43565b005b34801561083a57600080fd5b5061085560048036038101906108509190613ee0565b611f93565b005b34801561086357600080fd5b5061087e60048036038101906108799190613ded565b61215d565b005b34801561088c57600080fd5b506108a760048036038101906108a2919061401d565b6121bf565b6040516108b49190614866565b60405180910390f35b3480156108c957600080fd5b506108d261231a565b005b3480156108e057600080fd5b506108fb60048036038101906108f69190613f4e565b6123cc565b005b34801561090957600080fd5b506109126123f5565b60405161091f9190614bc3565b60405180910390f35b34801561093457600080fd5b5061093d6123fb565b60405161094a9190614ba8565b60405180910390f35b34801561095f57600080fd5b50610968612450565b005b34801561097657600080fd5b50610991600480360381019061098c9190613d62565b61251d565b60405161099e9190614830565b60405180910390f35b3480156109b357600080fd5b506109bc6125b1565b6040516109c99190614866565b60405180910390f35b60006109dd8261266e565b9050919050565b6060600080546109f390614f48565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1f90614f48565b8015610a6c5780601f10610a4157610100808354040283529160200191610a6c565b820191906000526020600020905b815481529060010190602001808311610a4f57829003601f168201915b5050505050905090565b6000610a81826126e8565b610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab790614a88565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0682611719565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6e90614b28565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b96612754565b73ffffffffffffffffffffffffffffffffffffffff161480610bc55750610bc481610bbf612754565b61251d565b5b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614a08565b60405180910390fd5b610c0e838361275c565b505050565b610c206000801b33611d50565b610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5690614ac8565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610cad6000801b82612815565b610cd77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177582612815565b610ce46000801b336128f6565b610cf28160fa60ff166129d8565b50565b6000610d016008612ac2565b905090565b600960019054906101000a900460ff1681565b610d2a610d24612754565b82612ad0565b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090614b48565b60405180910390fd5b610d74838383612bae565b505050565b600060076000838152602001908152602001600020600101549050919050565b600080600060066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610e459190614db5565b610e4f9190614d84565b9150509250929050565b600960029054906101000a900460ff1681565b610e7582610d79565b610e8681610e81612754565b612e0a565b610e908383612815565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610ec781610ec2612754565b612e0a565b81600c9080519060200190610edd929190613ae9565b505050565b60607fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610f1681610f11612754565b612e0a565b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610fc957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610f7f575b505050505091505090565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561100681611001612754565b612e0a565b60005b838390508110156110cc576001600e6000868685818110611053577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110689190613d39565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110c490614fab565b915050611009565b50505050565b6110da612754565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90614b88565b60405180910390fd5b61115182826128f6565b5050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6111b86000801b33611d50565b6111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90614ac8565b60405180910390fd5b6000479050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611264573d6000803e3d6000fd5b5050565b6112838383836040518060200160405280600081525061215d565b505050565b600960039054906101000a900460ff1681565b6112a86000801b33611d50565b6112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614ac8565b60405180910390fd5b60005b828290508110156117145761136c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775848484818110611352577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113679190613d39565b6123cc565b60005b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775815260200190815260200160002080549050811015611700578383838181106113e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113fb9190613d39565b73ffffffffffffffffffffffffffffffffffffffff16601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020828154811061147c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116ed57601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000206001601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020805490506115399190614e0f565b81548110611570577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000208281548110611606577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000208054806116b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590555b80806116f890614fab565b91505061136f565b50808061170c90614fab565b9150506112ea565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b990614a48565b60405180910390fd5b80915050919050565b600a546117d6610cf5565b10611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90614aa8565b60405180910390fd5b600a60ff168160ff161115611860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611857906149a8565b60405180910390fd5b600a548160ff1661186f610cf5565b6118799190614d2e565b1115611898611886610cf5565b600a546118939190614e0f565b612ea7565b6040516020016118a89190614751565b604051602081830303815290604052906118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef9190614866565b60405180910390fd5b5067011c37937e0800008160ff166119109190614db5565b341015611952576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611949906148c8565b60405180910390fd5b600960009054906101000a900460ff16156119f857600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90614928565b60405180910390fd5b611af4565b600960019054906101000a900460ff1615611ab857600a60ff168160ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16611a6e9190614cf6565b61ffff161115611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa90614888565b60405180910390fd5b611af3565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea906149e8565b60405180910390fd5b5b8060ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16611b539190614cf6565b92506101000a81548161ffff021916908361ffff16021790555060005b8160ff168160ff161015611bae57611b886008613054565b611b9b33611b966008612ac2565b61306a565b8080611ba690614ff4565b915050611b70565b507f49c15bd9c26e5d452e26b6538565de0b03e2c9371cb9205f6251f3ec92a22ae060405160405180910390a1600a54611be6610cf5565b1415611c34576001600960026101000a81548160ff0219169083151502179055507f091babec2d5d0a75bcc20ced5d2c900d0a851b90316d52338b132719815005de60405160405180910390a15b50565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611c6981611c64612754565b612e0a565b81600a819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc90614a28565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611dca90614f48565b80601f0160208091040260200160405190810160405280929190818152602001828054611df690614f48565b8015611e435780601f10611e1857610100808354040283529160200191611e43565b820191906000526020600020905b815481529060010190602001808311611e2657829003601f168201915b5050505050905090565b600960009054906101000a900460ff1681565b611e6d6000801b33611d50565b611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614ac8565b60405180910390fd5b600a546001611ebb6008612ac2565b611ec59190614d2e565b1115611f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efd90614b68565b60405180910390fd5b611f106008613054565b611f2381611f1e6008612ac2565b61306a565b50565b6000801b81565b611f3f611f38612754565b8383613088565b5050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611f7581611f70612754565b612e0a565b6001600960036101000a81548160ff02191690831515021790555050565b611fa06000801b33611d50565b611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690614ac8565b60405180910390fd5b60005b82829050811015612158576120647fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177584848481811061204a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061205f9190613d39565b610e6c565b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000208383838181106120d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906120e59190613d39565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061215090614fab565b915050611fe2565b505050565b61216e612168612754565b83612ad0565b6121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a490614b48565b60405180910390fd5b6121b9848484846131f5565b50505050565b60606121ca826126e8565b612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614b08565b60405180910390fd5b60001515600960039054906101000a900460ff161515141561228457600b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161226e9291906146e8565b6040516020818303038152906040529050612315565b6000600c805461229390614f48565b9050116122af5760405180602001604052806000815250612312565b600c6122ba83612ea7565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001612302939291906146b7565b6040516020818303038152906040525b90505b919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561234c81612347612754565b612e0a565b600960009054906101000a900460ff1615612381576000600960006101000a81548160ff02191690831515021790555061239d565b6001600960006101000a81548160ff0219169083151502179055505b7f091babec2d5d0a75bcc20ced5d2c900d0a851b90316d52338b132719815005de60405160405180910390a150565b6123d582610d79565b6123e6816123e1612754565b612e0a565b6123f083836128f6565b505050565b600a5481565b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16905090565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756124828161247d612754565b612e0a565b600960019054906101000a900460ff16156124b7576000600960016101000a81548160ff0219169083151502179055506124ee565b6000600960006101000a81548160ff0219169083151502179055506001600960016101000a81548160ff0219169083151502179055505b7f091babec2d5d0a75bcc20ced5d2c900d0a851b90316d52338b132719815005de60405160405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60607fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756125e5816125e0612754565b612e0a565b6125f26000801b33611d50565b612631576040518060400160405280600581526020017f61646d696e000000000000000000000000000000000000000000000000000000815250612668565b6040518060400160405280600581526020017f6f776e65720000000000000000000000000000000000000000000000000000008152505b91505090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126e157506126e082613251565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127cf83611719565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61281f8282611d50565b6128f25760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612897612754565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6129008282611d50565b156129d45760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612979612754565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612710811115612a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a14906148e8565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b600081600001549050919050565b6000612adb826126e8565b612b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b11906149c8565b60405180910390fd5b6000612b2583611719565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b9457508373ffffffffffffffffffffffffffffffffffffffff16612b7c84610a76565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ba55750612ba4818561251d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bce82611719565b73ffffffffffffffffffffffffffffffffffffffff1614612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90614ae8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8b90614968565b60405180910390fd5b612c9f8383836132cb565b612caa60008261275c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cfa9190614e0f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d519190614d2e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612e148282611d50565b612ea357612e398173ffffffffffffffffffffffffffffffffffffffff1660146132d0565b612e478360001c60206132d0565b604051602001612e58929190614717565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9a9190614866565b60405180910390fd5b5050565b60606000821415612eef576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061304f565b600082905060005b60008214612f21578080612f0a90614fab565b915050600a82612f1a9190614d84565b9150612ef7565b60008167ffffffffffffffff811115612f63577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f955781602001600182028036833780820191505090505b5090505b6000851461304857600182612fae9190614e0f565b9150600a85612fbd919061501e565b6030612fc99190614d2e565b60f81b818381518110613005577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130419190614d84565b9450612f99565b8093505050505b919050565b6001816000016000828254019250508190555050565b6130848282604051806020016040528060008152506135ca565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ee90614988565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131e89190614830565b60405180910390a3505050565b613200848484612bae565b61320c84848484613625565b61324b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324290614908565b60405180910390fd5b50505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132c457506132c3826137bc565b5b9050919050565b505050565b6060600060028360026132e39190614db5565b6132ed9190614d2e565b67ffffffffffffffff81111561332c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561335e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106133bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613446577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026134869190614db5565b6134909190614d2e565b90505b600181111561357c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106134f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613535577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061357590614f1e565b9050613493565b50600084146135c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b7906148a8565b60405180910390fd5b8091505092915050565b6135d4838361389e565b6135e16000848484613625565b613620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361790614908565b60405180910390fd5b505050565b60006136468473ffffffffffffffffffffffffffffffffffffffff16613a6c565b156137af578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366f612754565b8786866040518563ffffffff1660e01b81526004016136919493929190614799565b602060405180830381600087803b1580156136ab57600080fd5b505af19250505080156136dc57506040513d601f19601f820116820180604052508101906136d99190613fb3565b60015b61375f573d806000811461370c576040519150601f19603f3d011682016040523d82523d6000602084013e613711565b606091505b50600081511415613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e90614908565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137b4565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061388757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613897575061389682613a7f565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561390e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390590614a68565b60405180910390fd5b613917816126e8565b15613957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394e90614948565b60405180910390fd5b613963600083836132cb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139b39190614d2e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613af590614f48565b90600052602060002090601f016020900481019282613b175760008555613b5e565b82601f10613b3057805160ff1916838001178555613b5e565b82800160010185558215613b5e579182015b82811115613b5d578251825591602001919060010190613b42565b5b509050613b6b9190613b6f565b5090565b5b80821115613b88576000816000905550600101613b70565b5090565b6000613b9f613b9a84614c03565b614bde565b905082815260208101848484011115613bb757600080fd5b613bc2848285614edc565b509392505050565b6000613bdd613bd884614c34565b614bde565b905082815260208101848484011115613bf557600080fd5b613c00848285614edc565b509392505050565b600081359050613c17816157b2565b92915050565b60008083601f840112613c2f57600080fd5b8235905067ffffffffffffffff811115613c4857600080fd5b602083019150836020820283011115613c6057600080fd5b9250929050565b600081359050613c76816157c9565b92915050565b600081359050613c8b816157e0565b92915050565b600081359050613ca0816157f7565b92915050565b600081519050613cb5816157f7565b92915050565b600082601f830112613ccc57600080fd5b8135613cdc848260208601613b8c565b91505092915050565b600082601f830112613cf657600080fd5b8135613d06848260208601613bca565b91505092915050565b600081359050613d1e8161580e565b92915050565b600081359050613d3381615825565b92915050565b600060208284031215613d4b57600080fd5b6000613d5984828501613c08565b91505092915050565b60008060408385031215613d7557600080fd5b6000613d8385828601613c08565b9250506020613d9485828601613c08565b9150509250929050565b600080600060608486031215613db357600080fd5b6000613dc186828701613c08565b9350506020613dd286828701613c08565b9250506040613de386828701613d0f565b9150509250925092565b60008060008060808587031215613e0357600080fd5b6000613e1187828801613c08565b9450506020613e2287828801613c08565b9350506040613e3387828801613d0f565b925050606085013567ffffffffffffffff811115613e5057600080fd5b613e5c87828801613cbb565b91505092959194509250565b60008060408385031215613e7b57600080fd5b6000613e8985828601613c08565b9250506020613e9a85828601613c67565b9150509250929050565b60008060408385031215613eb757600080fd5b6000613ec585828601613c08565b9250506020613ed685828601613d0f565b9150509250929050565b60008060208385031215613ef357600080fd5b600083013567ffffffffffffffff811115613f0d57600080fd5b613f1985828601613c1d565b92509250509250929050565b600060208284031215613f3757600080fd5b6000613f4584828501613c7c565b91505092915050565b60008060408385031215613f6157600080fd5b6000613f6f85828601613c7c565b9250506020613f8085828601613c08565b9150509250929050565b600060208284031215613f9c57600080fd5b6000613faa84828501613c91565b91505092915050565b600060208284031215613fc557600080fd5b6000613fd384828501613ca6565b91505092915050565b600060208284031215613fee57600080fd5b600082013567ffffffffffffffff81111561400857600080fd5b61401484828501613ce5565b91505092915050565b60006020828403121561402f57600080fd5b600061403d84828501613d0f565b91505092915050565b6000806040838503121561405957600080fd5b600061406785828601613d0f565b925050602061407885828601613d0f565b9150509250929050565b60006020828403121561409457600080fd5b60006140a284828501613d24565b91505092915050565b60006140b783836140c3565b60208301905092915050565b6140cc81614e43565b82525050565b6140db81614e43565b82525050565b60006140ec82614c8a565b6140f68185614cb8565b935061410183614c65565b8060005b8381101561413257815161411988826140ab565b975061412483614cab565b925050600181019050614105565b5085935050505092915050565b61414881614e55565b82525050565b61415781614e61565b82525050565b600061416882614c95565b6141728185614cc9565b9350614182818560208601614eeb565b61418b8161510b565b840191505092915050565b60006141a182614ca0565b6141ab8185614cda565b93506141bb818560208601614eeb565b6141c48161510b565b840191505092915050565b60006141da82614ca0565b6141e48185614ceb565b93506141f4818560208601614eeb565b80840191505092915050565b6000815461420d81614f48565b6142178186614ceb565b94506001821660008114614232576001811461424357614276565b60ff19831686528186019350614276565b61424c85614c75565b60005b8381101561426e5781548189015260018201915060208101905061424f565b838801955050505b50505092915050565b600061428c601383614cda565b91506142978261511c565b602082019050919050565b60006142af602083614cda565b91506142ba82615145565b602082019050919050565b60006142d2601083614cda565b91506142dd8261516e565b602082019050919050565b60006142f5601a83614cda565b915061430082615197565b602082019050919050565b6000614318603283614cda565b9150614323826151c0565b604082019050919050565b600061433b601483614cda565b91506143468261520f565b602082019050919050565b600061435e601c83614cda565b915061436982615238565b602082019050919050565b6000614381602483614cda565b915061438c82615261565b604082019050919050565b60006143a4601983614cda565b91506143af826152b0565b602082019050919050565b60006143c7600a83614ceb565b91506143d2826152d9565b600a82019050919050565b60006143ea601283614cda565b91506143f582615302565b602082019050919050565b600061440d600683614ceb565b91506144188261532b565b600682019050919050565b6000614430602c83614cda565b915061443b82615354565b604082019050919050565b6000614453600f83614cda565b915061445e826153a3565b602082019050919050565b6000614476603883614cda565b9150614481826153cc565b604082019050919050565b6000614499602a83614cda565b91506144a48261541b565b604082019050919050565b60006144bc602983614cda565b91506144c78261546a565b604082019050919050565b60006144df602083614cda565b91506144ea826154b9565b602082019050919050565b6000614502602c83614cda565b915061450d826154e2565b604082019050919050565b6000614525600983614cda565b915061453082615531565b602082019050919050565b6000614548600683614cda565b91506145538261555a565b602082019050919050565b600061456b602983614cda565b915061457682615583565b604082019050919050565b600061458e602f83614cda565b9150614599826155d2565b604082019050919050565b60006145b1602183614cda565b91506145bc82615621565b604082019050919050565b60006145d4603183614cda565b91506145df82615670565b604082019050919050565b60006145f7600983614cda565b9150614602826156bf565b602082019050919050565b600061461a601783614ceb565b9150614625826156e8565b601782019050919050565b600061463d600583614ceb565b915061464882615711565b600582019050919050565b6000614660601183614ceb565b915061466b8261573a565b601182019050919050565b6000614683602f83614cda565b915061468e82615763565b604082019050919050565b6146a281614e97565b82525050565b6146b181614ec5565b82525050565b60006146c38286614200565b91506146cf82856141cf565b91506146db82846141cf565b9150819050949350505050565b60006146f48285614200565b91506146ff826143ba565b915061470b82846141cf565b91508190509392505050565b60006147228261460d565b915061472e82856141cf565b915061473982614653565b915061474582846141cf565b91508190509392505050565b600061475c82614630565b915061476882846141cf565b915061477382614400565b915081905092915050565b600060208201905061479360008301846140d2565b92915050565b60006080820190506147ae60008301876140d2565b6147bb60208301866140d2565b6147c860408301856146a8565b81810360608301526147da818461415d565b905095945050505050565b60006040820190506147fa60008301856140d2565b61480760208301846146a8565b9392505050565b6000602082019050818103600083015261482881846140e1565b905092915050565b6000602082019050614845600083018461413f565b92915050565b6000602082019050614860600083018461414e565b92915050565b600060208201905081810360008301526148808184614196565b905092915050565b600060208201905081810360008301526148a18161427f565b9050919050565b600060208201905081810360008301526148c1816142a2565b9050919050565b600060208201905081810360008301526148e1816142c5565b9050919050565b60006020820190508181036000830152614901816142e8565b9050919050565b600060208201905081810360008301526149218161430b565b9050919050565b600060208201905081810360008301526149418161432e565b9050919050565b6000602082019050818103600083015261496181614351565b9050919050565b6000602082019050818103600083015261498181614374565b9050919050565b600060208201905081810360008301526149a181614397565b9050919050565b600060208201905081810360008301526149c1816143dd565b9050919050565b600060208201905081810360008301526149e181614423565b9050919050565b60006020820190508181036000830152614a0181614446565b9050919050565b60006020820190508181036000830152614a2181614469565b9050919050565b60006020820190508181036000830152614a418161448c565b9050919050565b60006020820190508181036000830152614a61816144af565b9050919050565b60006020820190508181036000830152614a81816144d2565b9050919050565b60006020820190508181036000830152614aa1816144f5565b9050919050565b60006020820190508181036000830152614ac181614518565b9050919050565b60006020820190508181036000830152614ae18161453b565b9050919050565b60006020820190508181036000830152614b018161455e565b9050919050565b60006020820190508181036000830152614b2181614581565b9050919050565b60006020820190508181036000830152614b41816145a4565b9050919050565b60006020820190508181036000830152614b61816145c7565b9050919050565b60006020820190508181036000830152614b81816145ea565b9050919050565b60006020820190508181036000830152614ba181614676565b9050919050565b6000602082019050614bbd6000830184614699565b92915050565b6000602082019050614bd860008301846146a8565b92915050565b6000614be8614bf9565b9050614bf48282614f7a565b919050565b6000604051905090565b600067ffffffffffffffff821115614c1e57614c1d6150dc565b5b614c278261510b565b9050602081019050919050565b600067ffffffffffffffff821115614c4f57614c4e6150dc565b5b614c588261510b565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d0182614e97565b9150614d0c83614e97565b92508261ffff03821115614d2357614d2261504f565b5b828201905092915050565b6000614d3982614ec5565b9150614d4483614ec5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d7957614d7861504f565b5b828201905092915050565b6000614d8f82614ec5565b9150614d9a83614ec5565b925082614daa57614da961507e565b5b828204905092915050565b6000614dc082614ec5565b9150614dcb83614ec5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e0457614e0361504f565b5b828202905092915050565b6000614e1a82614ec5565b9150614e2583614ec5565b925082821015614e3857614e3761504f565b5b828203905092915050565b6000614e4e82614ea5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614f09578082015181840152602081019050614eee565b83811115614f18576000848401525b50505050565b6000614f2982614ec5565b91506000821415614f3d57614f3c61504f565b5b600182039050919050565b60006002820490506001821680614f6057607f821691505b60208210811415614f7457614f736150ad565b5b50919050565b614f838261510b565b810181811067ffffffffffffffff82111715614fa257614fa16150dc565b5b80604052505050565b6000614fb682614ec5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fe957614fe861504f565b5b600182019050919050565b6000614fff82614ecf565b915060ff8214156150135761501261504f565b5b600182019050919050565b600061502982614ec5565b915061503483614ec5565b9250826150445761504361507e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d617820616d6f756e7420657863656564656400000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4e6f7420656e6f75676820657468657200000000000000000000000000000000600082015250565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e6f74206f6e207468652077686974656c697374000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f7072652d72657665616c00000000000000000000000000000000000000000000600082015250565b7f52657175657374656420746f6f206d616e790000000000000000000000000000600082015250565b7f206c6566742e0000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f534f4c44204f5554210000000000000000000000000000000000000000000000600082015250565b7f44656e6965640000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f6e65206c6566740000000000000000000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4f6e6c7920000000000000000000000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6157bb81614e43565b81146157c657600080fd5b50565b6157d281614e55565b81146157dd57600080fd5b50565b6157e981614e61565b81146157f457600080fd5b50565b61580081614e6b565b811461580b57600080fd5b50565b61581781614ec5565b811461582257600080fd5b50565b61582e81614ecf565b811461583957600080fd5b5056fea264697066735822122077b08464cb98503ce5558fb7e644b4e3f9250d3dba69dcd73167189cc7abe10364736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004968747470733a2f2f617277656176652e6e65742f66674156615034533864504f344264426c57744830374363366677766a36467061416638325435467a64452f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f68504f61634f53617352644434684977725a3750615177617a364545594e43443776354c674670646a676f2f

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80636352211e11610144578063a475b5dd116100b6578063d547741f1161007a578063d547741f146108d4578063d5abeb01146108fd578063df2bdc8214610928578063e222c7f914610953578063e985e9c51461096a578063fde08174146109a75761025c565b8063a475b5dd14610817578063accc1d5e1461082e578063b88d4fde14610857578063c87b56dd14610880578063ca3cb522146108bd5761025c565b806391d148541161010857806391d148541461070757806395d89b41146107445780639d044ed31461076f578063a1eb9aaf1461079a578063a217fddf146107c3578063a22cb465146107ee5761025c565b80636352211e1461061d5780636ecd23061461065a5780636f8b44b01461067657806370a082311461069f57806375b238fc146106dc5761025c565b80632da5ea17116101dd57806336568abe116101a157806336568abe146105235780633a3ab6721461054c5780633ccfd60b1461058957806342842e0e146105a057806354214f69146105c9578063606ccc6c146105f45761025c565b80632da5ea17146104525780632f2ff15d1461047d57806330176e13146104a657806331ae450b146104cf57806335377214146104fa5761025c565b806318160ddd1161022457806318160ddd146103585780631e84c4131461038357806323b872dd146103ae578063248a9ca3146103d75780632a55205a146104145761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806313af40351461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f8a565b6109d2565b6040516102959190614830565b60405180910390f35b3480156102aa57600080fd5b506102b36109e4565b6040516102c09190614866565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb919061401d565b610a76565b6040516102fd919061477e565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613ea4565b610afb565b005b34801561033b57600080fd5b5061035660048036038101906103519190613d39565b610c13565b005b34801561036457600080fd5b5061036d610cf5565b60405161037a9190614bc3565b60405180910390f35b34801561038f57600080fd5b50610398610d06565b6040516103a59190614830565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190613d9e565b610d19565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190613f25565b610d79565b60405161040b919061484b565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190614046565b610d99565b6040516104499291906147e5565b60405180910390f35b34801561045e57600080fd5b50610467610e59565b6040516104749190614830565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f9190613f4e565b610e6c565b005b3480156104b257600080fd5b506104cd60048036038101906104c89190613fdc565b610e95565b005b3480156104db57600080fd5b506104e4610ee2565b6040516104f1919061480e565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613ee0565b610fd4565b005b34801561052f57600080fd5b5061054a60048036038101906105459190613f4e565b6110d2565b005b34801561055857600080fd5b50610573600480360381019061056e9190613d39565b611155565b6040516105809190614830565b60405180910390f35b34801561059557600080fd5b5061059e6111ab565b005b3480156105ac57600080fd5b506105c760048036038101906105c29190613d9e565b611268565b005b3480156105d557600080fd5b506105de611288565b6040516105eb9190614830565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613ee0565b61129b565b005b34801561062957600080fd5b50610644600480360381019061063f919061401d565b611719565b604051610651919061477e565b60405180910390f35b610674600480360381019061066f9190614082565b6117cb565b005b34801561068257600080fd5b5061069d6004803603810190610698919061401d565b611c37565b005b3480156106ab57600080fd5b506106c660048036038101906106c19190613d39565b611c74565b6040516106d39190614bc3565b60405180910390f35b3480156106e857600080fd5b506106f1611d2c565b6040516106fe919061484b565b60405180910390f35b34801561071357600080fd5b5061072e60048036038101906107299190613f4e565b611d50565b60405161073b9190614830565b60405180910390f35b34801561075057600080fd5b50610759611dbb565b6040516107669190614866565b60405180910390f35b34801561077b57600080fd5b50610784611e4d565b6040516107919190614830565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613d39565b611e60565b005b3480156107cf57600080fd5b506107d8611f26565b6040516107e5919061484b565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613e68565b611f2d565b005b34801561082357600080fd5b5061082c611f43565b005b34801561083a57600080fd5b5061085560048036038101906108509190613ee0565b611f93565b005b34801561086357600080fd5b5061087e60048036038101906108799190613ded565b61215d565b005b34801561088c57600080fd5b506108a760048036038101906108a2919061401d565b6121bf565b6040516108b49190614866565b60405180910390f35b3480156108c957600080fd5b506108d261231a565b005b3480156108e057600080fd5b506108fb60048036038101906108f69190613f4e565b6123cc565b005b34801561090957600080fd5b506109126123f5565b60405161091f9190614bc3565b60405180910390f35b34801561093457600080fd5b5061093d6123fb565b60405161094a9190614ba8565b60405180910390f35b34801561095f57600080fd5b50610968612450565b005b34801561097657600080fd5b50610991600480360381019061098c9190613d62565b61251d565b60405161099e9190614830565b60405180910390f35b3480156109b357600080fd5b506109bc6125b1565b6040516109c99190614866565b60405180910390f35b60006109dd8261266e565b9050919050565b6060600080546109f390614f48565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1f90614f48565b8015610a6c5780601f10610a4157610100808354040283529160200191610a6c565b820191906000526020600020905b815481529060010190602001808311610a4f57829003601f168201915b5050505050905090565b6000610a81826126e8565b610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab790614a88565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0682611719565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6e90614b28565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b96612754565b73ffffffffffffffffffffffffffffffffffffffff161480610bc55750610bc481610bbf612754565b61251d565b5b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614a08565b60405180910390fd5b610c0e838361275c565b505050565b610c206000801b33611d50565b610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5690614ac8565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610cad6000801b82612815565b610cd77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177582612815565b610ce46000801b336128f6565b610cf28160fa60ff166129d8565b50565b6000610d016008612ac2565b905090565b600960019054906101000a900460ff1681565b610d2a610d24612754565b82612ad0565b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090614b48565b60405180910390fd5b610d74838383612bae565b505050565b600060076000838152602001908152602001600020600101549050919050565b600080600060066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610e459190614db5565b610e4f9190614d84565b9150509250929050565b600960029054906101000a900460ff1681565b610e7582610d79565b610e8681610e81612754565b612e0a565b610e908383612815565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610ec781610ec2612754565b612e0a565b81600c9080519060200190610edd929190613ae9565b505050565b60607fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610f1681610f11612754565b612e0a565b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610fc957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610f7f575b505050505091505090565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561100681611001612754565b612e0a565b60005b838390508110156110cc576001600e6000868685818110611053577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110689190613d39565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110c490614fab565b915050611009565b50505050565b6110da612754565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90614b88565b60405180910390fd5b61115182826128f6565b5050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6111b86000801b33611d50565b6111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90614ac8565b60405180910390fd5b6000479050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611264573d6000803e3d6000fd5b5050565b6112838383836040518060200160405280600081525061215d565b505050565b600960039054906101000a900460ff1681565b6112a86000801b33611d50565b6112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614ac8565b60405180910390fd5b60005b828290508110156117145761136c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775848484818110611352577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113679190613d39565b6123cc565b60005b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775815260200190815260200160002080549050811015611700578383838181106113e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113fb9190613d39565b73ffffffffffffffffffffffffffffffffffffffff16601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020828154811061147c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116ed57601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000206001601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152602001908152602001600020805490506115399190614e0f565b81548110611570577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000208281548110611606577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000208054806116b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590555b80806116f890614fab565b91505061136f565b50808061170c90614fab565b9150506112ea565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b990614a48565b60405180910390fd5b80915050919050565b600a546117d6610cf5565b10611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90614aa8565b60405180910390fd5b600a60ff168160ff161115611860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611857906149a8565b60405180910390fd5b600a548160ff1661186f610cf5565b6118799190614d2e565b1115611898611886610cf5565b600a546118939190614e0f565b612ea7565b6040516020016118a89190614751565b604051602081830303815290604052906118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef9190614866565b60405180910390fd5b5067011c37937e0800008160ff166119109190614db5565b341015611952576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611949906148c8565b60405180910390fd5b600960009054906101000a900460ff16156119f857600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90614928565b60405180910390fd5b611af4565b600960019054906101000a900460ff1615611ab857600a60ff168160ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16611a6e9190614cf6565b61ffff161115611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa90614888565b60405180910390fd5b611af3565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea906149e8565b60405180910390fd5b5b8060ff16600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff16611b539190614cf6565b92506101000a81548161ffff021916908361ffff16021790555060005b8160ff168160ff161015611bae57611b886008613054565b611b9b33611b966008612ac2565b61306a565b8080611ba690614ff4565b915050611b70565b507f49c15bd9c26e5d452e26b6538565de0b03e2c9371cb9205f6251f3ec92a22ae060405160405180910390a1600a54611be6610cf5565b1415611c34576001600960026101000a81548160ff0219169083151502179055507f091babec2d5d0a75bcc20ced5d2c900d0a851b90316d52338b132719815005de60405160405180910390a15b50565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611c6981611c64612754565b612e0a565b81600a819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc90614a28565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611dca90614f48565b80601f0160208091040260200160405190810160405280929190818152602001828054611df690614f48565b8015611e435780601f10611e1857610100808354040283529160200191611e43565b820191906000526020600020905b815481529060010190602001808311611e2657829003601f168201915b5050505050905090565b600960009054906101000a900460ff1681565b611e6d6000801b33611d50565b611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614ac8565b60405180910390fd5b600a546001611ebb6008612ac2565b611ec59190614d2e565b1115611f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efd90614b68565b60405180910390fd5b611f106008613054565b611f2381611f1e6008612ac2565b61306a565b50565b6000801b81565b611f3f611f38612754565b8383613088565b5050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611f7581611f70612754565b612e0a565b6001600960036101000a81548160ff02191690831515021790555050565b611fa06000801b33611d50565b611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd690614ac8565b60405180910390fd5b60005b82829050811015612158576120647fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177584848481811061204a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061205f9190613d39565b610e6c565b601060007fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581526020019081526020016000208383838181106120d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906120e59190613d39565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061215090614fab565b915050611fe2565b505050565b61216e612168612754565b83612ad0565b6121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a490614b48565b60405180910390fd5b6121b9848484846131f5565b50505050565b60606121ca826126e8565b612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614b08565b60405180910390fd5b60001515600960039054906101000a900460ff161515141561228457600b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161226e9291906146e8565b6040516020818303038152906040529050612315565b6000600c805461229390614f48565b9050116122af5760405180602001604052806000815250612312565b600c6122ba83612ea7565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001612302939291906146b7565b6040516020818303038152906040525b90505b919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561234c81612347612754565b612e0a565b600960009054906101000a900460ff1615612381576000600960006101000a81548160ff02191690831515021790555061239d565b6001600960006101000a81548160ff0219169083151502179055505b7f091babec2d5d0a75bcc20ced5d2c900d0a851b90316d52338b132719815005de60405160405180910390a150565b6123d582610d79565b6123e6816123e1612754565b612e0a565b6123f083836128f6565b505050565b600a5481565b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16905090565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756124828161247d612754565b612e0a565b600960019054906101000a900460ff16156124b7576000600960016101000a81548160ff0219169083151502179055506124ee565b6000600960006101000a81548160ff0219169083151502179055506001600960016101000a81548160ff0219169083151502179055505b7f091babec2d5d0a75bcc20ced5d2c900d0a851b90316d52338b132719815005de60405160405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60607fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756125e5816125e0612754565b612e0a565b6125f26000801b33611d50565b612631576040518060400160405280600581526020017f61646d696e000000000000000000000000000000000000000000000000000000815250612668565b6040518060400160405280600581526020017f6f776e65720000000000000000000000000000000000000000000000000000008152505b91505090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126e157506126e082613251565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127cf83611719565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61281f8282611d50565b6128f25760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612897612754565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6129008282611d50565b156129d45760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612979612754565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612710811115612a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a14906148e8565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b600081600001549050919050565b6000612adb826126e8565b612b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b11906149c8565b60405180910390fd5b6000612b2583611719565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b9457508373ffffffffffffffffffffffffffffffffffffffff16612b7c84610a76565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ba55750612ba4818561251d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bce82611719565b73ffffffffffffffffffffffffffffffffffffffff1614612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90614ae8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8b90614968565b60405180910390fd5b612c9f8383836132cb565b612caa60008261275c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cfa9190614e0f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d519190614d2e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612e148282611d50565b612ea357612e398173ffffffffffffffffffffffffffffffffffffffff1660146132d0565b612e478360001c60206132d0565b604051602001612e58929190614717565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9a9190614866565b60405180910390fd5b5050565b60606000821415612eef576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061304f565b600082905060005b60008214612f21578080612f0a90614fab565b915050600a82612f1a9190614d84565b9150612ef7565b60008167ffffffffffffffff811115612f63577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f955781602001600182028036833780820191505090505b5090505b6000851461304857600182612fae9190614e0f565b9150600a85612fbd919061501e565b6030612fc99190614d2e565b60f81b818381518110613005577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130419190614d84565b9450612f99565b8093505050505b919050565b6001816000016000828254019250508190555050565b6130848282604051806020016040528060008152506135ca565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ee90614988565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131e89190614830565b60405180910390a3505050565b613200848484612bae565b61320c84848484613625565b61324b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324290614908565b60405180910390fd5b50505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132c457506132c3826137bc565b5b9050919050565b505050565b6060600060028360026132e39190614db5565b6132ed9190614d2e565b67ffffffffffffffff81111561332c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561335e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106133bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613446577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026134869190614db5565b6134909190614d2e565b90505b600181111561357c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106134f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613535577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061357590614f1e565b9050613493565b50600084146135c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b7906148a8565b60405180910390fd5b8091505092915050565b6135d4838361389e565b6135e16000848484613625565b613620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361790614908565b60405180910390fd5b505050565b60006136468473ffffffffffffffffffffffffffffffffffffffff16613a6c565b156137af578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366f612754565b8786866040518563ffffffff1660e01b81526004016136919493929190614799565b602060405180830381600087803b1580156136ab57600080fd5b505af19250505080156136dc57506040513d601f19601f820116820180604052508101906136d99190613fb3565b60015b61375f573d806000811461370c576040519150601f19603f3d011682016040523d82523d6000602084013e613711565b606091505b50600081511415613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e90614908565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137b4565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061388757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613897575061389682613a7f565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561390e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390590614a68565b60405180910390fd5b613917816126e8565b15613957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394e90614948565b60405180910390fd5b613963600083836132cb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139b39190614d2e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613af590614f48565b90600052602060002090601f016020900481019282613b175760008555613b5e565b82601f10613b3057805160ff1916838001178555613b5e565b82800160010185558215613b5e579182015b82811115613b5d578251825591602001919060010190613b42565b5b509050613b6b9190613b6f565b5090565b5b80821115613b88576000816000905550600101613b70565b5090565b6000613b9f613b9a84614c03565b614bde565b905082815260208101848484011115613bb757600080fd5b613bc2848285614edc565b509392505050565b6000613bdd613bd884614c34565b614bde565b905082815260208101848484011115613bf557600080fd5b613c00848285614edc565b509392505050565b600081359050613c17816157b2565b92915050565b60008083601f840112613c2f57600080fd5b8235905067ffffffffffffffff811115613c4857600080fd5b602083019150836020820283011115613c6057600080fd5b9250929050565b600081359050613c76816157c9565b92915050565b600081359050613c8b816157e0565b92915050565b600081359050613ca0816157f7565b92915050565b600081519050613cb5816157f7565b92915050565b600082601f830112613ccc57600080fd5b8135613cdc848260208601613b8c565b91505092915050565b600082601f830112613cf657600080fd5b8135613d06848260208601613bca565b91505092915050565b600081359050613d1e8161580e565b92915050565b600081359050613d3381615825565b92915050565b600060208284031215613d4b57600080fd5b6000613d5984828501613c08565b91505092915050565b60008060408385031215613d7557600080fd5b6000613d8385828601613c08565b9250506020613d9485828601613c08565b9150509250929050565b600080600060608486031215613db357600080fd5b6000613dc186828701613c08565b9350506020613dd286828701613c08565b9250506040613de386828701613d0f565b9150509250925092565b60008060008060808587031215613e0357600080fd5b6000613e1187828801613c08565b9450506020613e2287828801613c08565b9350506040613e3387828801613d0f565b925050606085013567ffffffffffffffff811115613e5057600080fd5b613e5c87828801613cbb565b91505092959194509250565b60008060408385031215613e7b57600080fd5b6000613e8985828601613c08565b9250506020613e9a85828601613c67565b9150509250929050565b60008060408385031215613eb757600080fd5b6000613ec585828601613c08565b9250506020613ed685828601613d0f565b9150509250929050565b60008060208385031215613ef357600080fd5b600083013567ffffffffffffffff811115613f0d57600080fd5b613f1985828601613c1d565b92509250509250929050565b600060208284031215613f3757600080fd5b6000613f4584828501613c7c565b91505092915050565b60008060408385031215613f6157600080fd5b6000613f6f85828601613c7c565b9250506020613f8085828601613c08565b9150509250929050565b600060208284031215613f9c57600080fd5b6000613faa84828501613c91565b91505092915050565b600060208284031215613fc557600080fd5b6000613fd384828501613ca6565b91505092915050565b600060208284031215613fee57600080fd5b600082013567ffffffffffffffff81111561400857600080fd5b61401484828501613ce5565b91505092915050565b60006020828403121561402f57600080fd5b600061403d84828501613d0f565b91505092915050565b6000806040838503121561405957600080fd5b600061406785828601613d0f565b925050602061407885828601613d0f565b9150509250929050565b60006020828403121561409457600080fd5b60006140a284828501613d24565b91505092915050565b60006140b783836140c3565b60208301905092915050565b6140cc81614e43565b82525050565b6140db81614e43565b82525050565b60006140ec82614c8a565b6140f68185614cb8565b935061410183614c65565b8060005b8381101561413257815161411988826140ab565b975061412483614cab565b925050600181019050614105565b5085935050505092915050565b61414881614e55565b82525050565b61415781614e61565b82525050565b600061416882614c95565b6141728185614cc9565b9350614182818560208601614eeb565b61418b8161510b565b840191505092915050565b60006141a182614ca0565b6141ab8185614cda565b93506141bb818560208601614eeb565b6141c48161510b565b840191505092915050565b60006141da82614ca0565b6141e48185614ceb565b93506141f4818560208601614eeb565b80840191505092915050565b6000815461420d81614f48565b6142178186614ceb565b94506001821660008114614232576001811461424357614276565b60ff19831686528186019350614276565b61424c85614c75565b60005b8381101561426e5781548189015260018201915060208101905061424f565b838801955050505b50505092915050565b600061428c601383614cda565b91506142978261511c565b602082019050919050565b60006142af602083614cda565b91506142ba82615145565b602082019050919050565b60006142d2601083614cda565b91506142dd8261516e565b602082019050919050565b60006142f5601a83614cda565b915061430082615197565b602082019050919050565b6000614318603283614cda565b9150614323826151c0565b604082019050919050565b600061433b601483614cda565b91506143468261520f565b602082019050919050565b600061435e601c83614cda565b915061436982615238565b602082019050919050565b6000614381602483614cda565b915061438c82615261565b604082019050919050565b60006143a4601983614cda565b91506143af826152b0565b602082019050919050565b60006143c7600a83614ceb565b91506143d2826152d9565b600a82019050919050565b60006143ea601283614cda565b91506143f582615302565b602082019050919050565b600061440d600683614ceb565b91506144188261532b565b600682019050919050565b6000614430602c83614cda565b915061443b82615354565b604082019050919050565b6000614453600f83614cda565b915061445e826153a3565b602082019050919050565b6000614476603883614cda565b9150614481826153cc565b604082019050919050565b6000614499602a83614cda565b91506144a48261541b565b604082019050919050565b60006144bc602983614cda565b91506144c78261546a565b604082019050919050565b60006144df602083614cda565b91506144ea826154b9565b602082019050919050565b6000614502602c83614cda565b915061450d826154e2565b604082019050919050565b6000614525600983614cda565b915061453082615531565b602082019050919050565b6000614548600683614cda565b91506145538261555a565b602082019050919050565b600061456b602983614cda565b915061457682615583565b604082019050919050565b600061458e602f83614cda565b9150614599826155d2565b604082019050919050565b60006145b1602183614cda565b91506145bc82615621565b604082019050919050565b60006145d4603183614cda565b91506145df82615670565b604082019050919050565b60006145f7600983614cda565b9150614602826156bf565b602082019050919050565b600061461a601783614ceb565b9150614625826156e8565b601782019050919050565b600061463d600583614ceb565b915061464882615711565b600582019050919050565b6000614660601183614ceb565b915061466b8261573a565b601182019050919050565b6000614683602f83614cda565b915061468e82615763565b604082019050919050565b6146a281614e97565b82525050565b6146b181614ec5565b82525050565b60006146c38286614200565b91506146cf82856141cf565b91506146db82846141cf565b9150819050949350505050565b60006146f48285614200565b91506146ff826143ba565b915061470b82846141cf565b91508190509392505050565b60006147228261460d565b915061472e82856141cf565b915061473982614653565b915061474582846141cf565b91508190509392505050565b600061475c82614630565b915061476882846141cf565b915061477382614400565b915081905092915050565b600060208201905061479360008301846140d2565b92915050565b60006080820190506147ae60008301876140d2565b6147bb60208301866140d2565b6147c860408301856146a8565b81810360608301526147da818461415d565b905095945050505050565b60006040820190506147fa60008301856140d2565b61480760208301846146a8565b9392505050565b6000602082019050818103600083015261482881846140e1565b905092915050565b6000602082019050614845600083018461413f565b92915050565b6000602082019050614860600083018461414e565b92915050565b600060208201905081810360008301526148808184614196565b905092915050565b600060208201905081810360008301526148a18161427f565b9050919050565b600060208201905081810360008301526148c1816142a2565b9050919050565b600060208201905081810360008301526148e1816142c5565b9050919050565b60006020820190508181036000830152614901816142e8565b9050919050565b600060208201905081810360008301526149218161430b565b9050919050565b600060208201905081810360008301526149418161432e565b9050919050565b6000602082019050818103600083015261496181614351565b9050919050565b6000602082019050818103600083015261498181614374565b9050919050565b600060208201905081810360008301526149a181614397565b9050919050565b600060208201905081810360008301526149c1816143dd565b9050919050565b600060208201905081810360008301526149e181614423565b9050919050565b60006020820190508181036000830152614a0181614446565b9050919050565b60006020820190508181036000830152614a2181614469565b9050919050565b60006020820190508181036000830152614a418161448c565b9050919050565b60006020820190508181036000830152614a61816144af565b9050919050565b60006020820190508181036000830152614a81816144d2565b9050919050565b60006020820190508181036000830152614aa1816144f5565b9050919050565b60006020820190508181036000830152614ac181614518565b9050919050565b60006020820190508181036000830152614ae18161453b565b9050919050565b60006020820190508181036000830152614b018161455e565b9050919050565b60006020820190508181036000830152614b2181614581565b9050919050565b60006020820190508181036000830152614b41816145a4565b9050919050565b60006020820190508181036000830152614b61816145c7565b9050919050565b60006020820190508181036000830152614b81816145ea565b9050919050565b60006020820190508181036000830152614ba181614676565b9050919050565b6000602082019050614bbd6000830184614699565b92915050565b6000602082019050614bd860008301846146a8565b92915050565b6000614be8614bf9565b9050614bf48282614f7a565b919050565b6000604051905090565b600067ffffffffffffffff821115614c1e57614c1d6150dc565b5b614c278261510b565b9050602081019050919050565b600067ffffffffffffffff821115614c4f57614c4e6150dc565b5b614c588261510b565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d0182614e97565b9150614d0c83614e97565b92508261ffff03821115614d2357614d2261504f565b5b828201905092915050565b6000614d3982614ec5565b9150614d4483614ec5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d7957614d7861504f565b5b828201905092915050565b6000614d8f82614ec5565b9150614d9a83614ec5565b925082614daa57614da961507e565b5b828204905092915050565b6000614dc082614ec5565b9150614dcb83614ec5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e0457614e0361504f565b5b828202905092915050565b6000614e1a82614ec5565b9150614e2583614ec5565b925082821015614e3857614e3761504f565b5b828203905092915050565b6000614e4e82614ea5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614f09578082015181840152602081019050614eee565b83811115614f18576000848401525b50505050565b6000614f2982614ec5565b91506000821415614f3d57614f3c61504f565b5b600182039050919050565b60006002820490506001821680614f6057607f821691505b60208210811415614f7457614f736150ad565b5b50919050565b614f838261510b565b810181811067ffffffffffffffff82111715614fa257614fa16150dc565b5b80604052505050565b6000614fb682614ec5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fe957614fe861504f565b5b600182019050919050565b6000614fff82614ecf565b915060ff8214156150135761501261504f565b5b600182019050919050565b600061502982614ec5565b915061503483614ec5565b9250826150445761504361507e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d617820616d6f756e7420657863656564656400000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4e6f7420656e6f75676820657468657200000000000000000000000000000000600082015250565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e6f74206f6e207468652077686974656c697374000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f7072652d72657665616c00000000000000000000000000000000000000000000600082015250565b7f52657175657374656420746f6f206d616e790000000000000000000000000000600082015250565b7f206c6566742e0000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f534f4c44204f5554210000000000000000000000000000000000000000000000600082015250565b7f44656e6965640000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f6e65206c6566740000000000000000000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4f6e6c7920000000000000000000000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6157bb81614e43565b81146157c657600080fd5b50565b6157d281614e55565b81146157dd57600080fd5b50565b6157e981614e61565b81146157f457600080fd5b50565b61580081614e6b565b811461580b57600080fd5b50565b61581781614ec5565b811461582257600080fd5b50565b61582e81614ecf565b811461583957600080fd5b5056fea264697066735822122077b08464cb98503ce5558fb7e644b4e3f9250d3dba69dcd73167189cc7abe10364736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004968747470733a2f2f617277656176652e6e65742f66674156615034533864504f344264426c57744830374363366677766a36467061416638325435467a64452f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f68504f61634f53617352644434684977725a3750615177617a364545594e43443776354c674670646a676f2f

-----Decoded View---------------
Arg [0] : baseUri (string): https://arweave.net/fgAVaP4S8dPO4BdBlWtH07Cc6fwvj6FpaAf82T5FzdE/metadata/
Arg [1] : prerevealURI (string): https://arweave.net/hPOacOSasRdD4hIwrZ7PaQwaz6EEYNCD7v5LgFpdjgo/

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000049
Arg [3] : 68747470733a2f2f617277656176652e6e65742f66674156615034533864504f
Arg [4] : 344264426c57744830374363366677766a36467061416638325435467a64452f
Arg [5] : 6d657461646174612f0000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [7] : 68747470733a2f2f617277656176652e6e65742f68504f61634f536173526444
Arg [8] : 34684977725a3750615177617a364545594e43443776354c674670646a676f2f


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.