ETH Price: $3,362.89 (-1.71%)

Contract

0xE283DDDc1d93E40E3748dE182Ff0219CD154372E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...206607692024-09-02 5:23:2385 days ago1725254603IN
Sneaky Goblins: SG Token
0 ETH0.000042120.60942468
Set Approval For...201974552024-06-29 12:50:59150 days ago1719665459IN
Sneaky Goblins: SG Token
0 ETH0.000135382.93406344
Set Approval For...199049422024-05-19 15:41:47191 days ago1716133307IN
Sneaky Goblins: SG Token
0 ETH0.000168253.65301772
Set Approval For...198998482024-05-18 22:35:59192 days ago1716071759IN
Sneaky Goblins: SG Token
0 ETH0.000132822.8837563
Set Approval For...194868802024-03-22 1:25:23250 days ago1711070723IN
Sneaky Goblins: SG Token
0 ETH0.0006046524.95461555
Set Approval For...193933242024-03-08 22:15:35263 days ago1709936135IN
Sneaky Goblins: SG Token
0 ETH0.0014799661.07996492
Set Approval For...192661022024-02-20 3:00:59281 days ago1708398059IN
Sneaky Goblins: SG Token
0 ETH0.0011457124.87542669
Set Approval For...192260512024-02-14 11:56:35286 days ago1707911795IN
Sneaky Goblins: SG Token
0 ETH0.0004251617.54720893
Set Approval For...190879932024-01-26 3:06:23306 days ago1706238383IN
Sneaky Goblins: SG Token
0 ETH0.0004688119.34851376
Set Approval For...190734222024-01-24 2:07:59308 days ago1706062079IN
Sneaky Goblins: SG Token
0 ETH0.000238779.85463749
Set Approval For...190734212024-01-24 2:07:47308 days ago1706062067IN
Sneaky Goblins: SG Token
0 ETH0.0002490910.28544577
Set Approval For...190696412024-01-23 13:22:47308 days ago1706016167IN
Sneaky Goblins: SG Token
0 ETH0.0011135724.17767172
Set Approval For...190503312024-01-20 20:01:35311 days ago1705780895IN
Sneaky Goblins: SG Token
0 ETH0.0004278817.65942626
Set Approval For...189369822024-01-04 22:39:47327 days ago1704407987IN
Sneaky Goblins: SG Token
0 ETH0.0005250921.67146342
Set Approval For...189124182024-01-01 11:55:11330 days ago1704110111IN
Sneaky Goblins: SG Token
0 ETH0.000226469.3464064
Set Approval For...188773572023-12-27 13:41:11335 days ago1703684471IN
Sneaky Goblins: SG Token
0 ETH0.0014115230.59889479
Set Approval For...188685202023-12-26 7:56:47336 days ago1703577407IN
Sneaky Goblins: SG Token
0 ETH0.0007200415.63351131
Set Approval For...183213812023-10-10 16:54:59413 days ago1696956899IN
Sneaky Goblins: SG Token
0 ETH0.000219659.06531754
Set Approval For...182693442023-10-03 10:13:35420 days ago1696328015IN
Sneaky Goblins: SG Token
0 ETH0.0005615612.17357052
Set Approval For...181873472023-09-21 22:52:47432 days ago1695336767IN
Sneaky Goblins: SG Token
0 ETH0.000227449.38696155
Set Approval For...178280012023-08-02 14:47:23482 days ago1690987643IN
Sneaky Goblins: SG Token
0 ETH0.0007961632.85851166
Set Approval For...176811482023-07-13 0:50:47503 days ago1689209447IN
Sneaky Goblins: SG Token
0 ETH0.0009250220.08392746
Set Approval For...174175262023-06-05 23:21:23540 days ago1686007283IN
Sneaky Goblins: SG Token
0 ETH0.0009215920.00953958
Set Approval For...171025772023-04-22 14:48:35584 days ago1682174915IN
Sneaky Goblins: SG Token
0 ETH0.001522533.0562311
Set Approval For...170629402023-04-17 0:22:11590 days ago1681690931IN
Sneaky Goblins: SG Token
0 ETH0.0012266126.63192691
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFT

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 15: NFT.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;

import "./ERC721A.sol";
import "./Reveal.sol";
import "./AccessControl.sol";
import "./Ownable.sol";

/**
 * @title The NFT smart contract.
 */
contract NFT is ERC721A, AccessControl, Ownable, Reveal {
  /// @notice Minter Access Role - allows users and smart contracts with this role to mint standard tokens (not reserves).
  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
  /// @notice The amount of available NFT tokens (including the reserved tokens).
  uint256 public MAX_SUPPLY;
  /// @notice The amount of reserved NFT tokens.
  uint256 public MAX_RESERVED_SUPPLY;
  /// @notice Indicates if the reserves have been minted.
  bool public preminted = false;

  /**
     * @notice The smart contract constructor that initializes the contract.
     * @param tokenName The name of the token.
     * @param tokenSymbol The symbol of the token.
     * @param unrevealedUri The URL of a media that is shown for unrevealed NFTs.
     * @param maxSupply The total amount of available NFT tokens (including the reserved tokens).
     * @param maxReservedSupply The amount of reserved NFT tokens.
     */
  constructor(
    string memory tokenName,
    string memory tokenSymbol,
    string memory unrevealedUri,
    uint256 maxSupply,
    uint256 maxReservedSupply
  )
    ERC721A(tokenName, tokenSymbol)
    Reveal(unrevealedUri) {
    // Set the roles.
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _grantRole(MINTER_ROLE, msg.sender);
    // Set the variables.
    MAX_SUPPLY = maxSupply;
    MAX_RESERVED_SUPPLY = maxReservedSupply;
  }

  /**
   * @notice Sets the total amounts of tokens.
   * @param quantity The number of tokens to set.
   */
  function setMaxSupply(uint256 quantity) external onlyRole(DEFAULT_ADMIN_ROLE) {
    require(quantity > 0, "Quantity must be greater than 0");
    MAX_SUPPLY = quantity;
  }

  /**
    * @notice Mints the reserved NFT tokens.
    * @param recipient The NFT tokens recipient.
    * @param quantity The number of NFT tokens to mint.
    */
  function premint(address recipient, uint256 quantity) external onlyRole(DEFAULT_ADMIN_ROLE) {
    // Check if there are any reserved tokens available to mint.
    require(preminted == false, "Reserved tokens minted already");
    // Check if the desired quantity of the reserved tokens to mint doesn't exceed the reserve.
    require(totalSupply() + quantity <= MAX_RESERVED_SUPPLY, "MAX_RESERVED_SUPPLY exceeded");
    // Mint the tokens.
    _safeMint(recipient, quantity);
    // Set the flag only if we have minted the whole reserve.
    preminted = totalSupply() == MAX_RESERVED_SUPPLY;
  }

  /**
   * @notice Grants the specified address the minter role.
   * @param mintingRouter The address to grant the minter role.
   */
  function setMinter(address mintingRouter) external onlyRole(DEFAULT_ADMIN_ROLE) {
    _setupRole(MINTER_ROLE, mintingRouter);
  }

  /**
   * @notice Mints the NFT tokens.
   * @param recipient The NFT tokens recipient.
   * @param quantity The number of NFT tokens to mint.
   */
  function mint(address recipient, uint256 quantity) external onlyRole(MINTER_ROLE)   {
    // Reserves should be minted before minting standard tokens.
    require(preminted == true, "TEAM_RESERVE_NOT_PREMINTED_YET");
    // Check that the number of tokens to mint does not exceed the total amount.
    require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds max supply");
    // Mint the tokens.
    _safeMint(recipient, quantity);
  }

  /**
   * @notice Burns the NFT tokens.
   * @param tokenIds The IDs of the NFTs to burn.
   */
  function burnTokens(uint256[] calldata tokenIds) external {
    for (uint i = 0; i < tokenIds.length; i++) {
      TokenOwnership memory ownership = ownershipOf(tokenIds[i]);
      if (ownership.addr != _msgSender() || ownership.burned) {
        revert("Not owner or already burned");
      }

      _burn(tokenIds[i]);
    }
  }

  /**
    * @notice Returns a URI of an NFT.
    * @param tokenId The ID of the NFT.
    * @return The URI of the token.
    */
  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

    return getTokenUri(tokenId);
  }

  /**
   * @notice Returns true if this contract implements the interface defined by interfaceId.
   * @dev The following functions are overrides required by Solidity.
   * @param interfaceId The interface ID.
   */
  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, AccessControl) returns (bool) {
    return super.supportsInterface(interfaceId);
  }

  /**
   * @notice Returns the base URL.
   */
  function _baseURI() internal view override returns (string memory) {
     return getBaseUri();
  }
}

File 2 of 15: AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "./Context.sol";
import "./Strings.sol";
import "./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 virtual override returns (bool) {
        return _roles[role].members[account];
    }

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 3 of 15: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 15: 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 5 of 15: 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 6 of 15: ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721.sol';
import './IERC721Receiver.sol';
import './IERC721Metadata.sol';
import './IERC721Enumerable.sol';
import './Address.sol';
import './Context.sol';
import './Strings.sol';
import './ERC165.sol';

    error ApprovalCallerNotOwnerNorApproved();
    error ApprovalQueryForNonexistentToken();
    error ApproveToCaller();
    error ApprovalToCurrentOwner();
    error BalanceQueryForZeroAddress();
    error MintedQueryForZeroAddress();
    error BurnedQueryForZeroAddress();
    error AuxQueryForZeroAddress();
    error MintToZeroAddress();
    error MintZeroQuantity();
    error OwnerIndexOutOfBounds();
    error OwnerQueryForNonexistentToken();
    error TokenIndexOutOfBounds();
    error TransferCallerNotOwnerNorApproved();
    error TransferFromIncorrectOwner();
    error TransferToNonERC721ReceiverImplementer();
    error TransferToZeroAddress();
    error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
    unchecked {
        return _currentIndex - _burnCounter;
    }
    }

    /**
     * @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 ||
        interfaceId == type(IERC721Enumerable).interfaceId ||
        super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

    unchecked {
        if (curr < _currentIndex) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (!ownership.burned) {
                if (ownership.addr != address(0)) {
                    return ownership;
                }
                // Invariant:
                // There will always be an ownership that has an address and is not burned
                // before an ownership that does not have an address and is not burned.
                // Hence, curr will not underflow.
                while (true) {
                    curr--;
                    ownership = _ownerships[curr];
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                }
            }
        }
    }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 {
        _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 {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
    unchecked {
        _addressData[to].balance += uint64(quantity);
        _addressData[to].numberMinted += uint64(quantity);

        _ownerships[startTokenId].addr = to;
        _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

        uint256 updatedIndex = startTokenId;

        for (uint256 i; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
            updatedIndex++;
        }

        _currentIndex = updatedIndex;
    }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
        isApprovedForAll(prevOwnership.addr, _msgSender()) ||
        getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
    unchecked {
        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;

        _ownerships[tokenId].addr = to;
        _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            // This will suffice for checking _exists(nextTokenId),
            // as a burned slot cannot contain the zero address.
            if (nextTokenId < _currentIndex) {
                _ownerships[nextTokenId].addr = prevOwnership.addr;
                _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
            }
        }
    }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
    unchecked {
        _addressData[prevOwnership.addr].balance -= 1;
        _addressData[prevOwnership.addr].numberBurned += 1;

        // Keep track of who burned the token, and the timestamp of burning.
        _ownerships[tokenId].addr = prevOwnership.addr;
        _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
        _ownerships[tokenId].burned = true;

        // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            // This will suffice for checking _exists(nextTokenId),
            // as a burned slot cannot contain the zero address.
            if (nextTokenId < _currentIndex) {
                _ownerships[nextTokenId].addr = prevOwnership.addr;
                _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
            }
        }
    }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
    unchecked {
        _burnCounter++;
    }
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementer();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 7 of 15: 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 8 of 15: 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 9 of 15: IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./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 10 of 15: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 11 of 15: 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 12 of 15: 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 13 of 15: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

File 14 of 15: Reveal.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;

import "./Strings.sol";
import "./AccessControl.sol";

/// @title The NFT reveal contract.
contract Reveal is AccessControl {
  using Strings for uint256;
  // The base URI.
  string private baseUri = "ipfs://none";
  // The URI that used until NFTs are revealed.
  string private unrevealedUri;
  // The flag that indicates if NFTs have been revealed.
  bool public revealed = false;

  constructor(string memory _unrevealedUri) {
    unrevealedUri = _unrevealedUri;
  }

  /// Reveals the NFTs.
  function reveal() external onlyRole(DEFAULT_ADMIN_ROLE) {
    revealed = true;
  }

  /// Unreveals the NFTs.
  function unreveal() external onlyRole(DEFAULT_ADMIN_ROLE) {
    revealed = false;
  }

  /// Sets base URI that is used when NFTs are revealed.
  function setBaseUri(string memory uri) external onlyRole(DEFAULT_ADMIN_ROLE) {
    baseUri = uri;
    revealed = true;
  }

  /// Sets URI to be used while NFTs are unrevealed.
  function setUnrevealedUri(string memory uri) external onlyRole(DEFAULT_ADMIN_ROLE) {
    unrevealedUri = uri;
  }

  /// Gets the base URI.
  function getBaseUri() public view returns (string memory) {
    return baseUri;
  }

  /// Gets a token URI.
  function getTokenUri(uint256 tokenId) internal view returns (string memory) {
    if (!revealed) {
      return unrevealedUri;
    }

    return bytes(baseUri).length != 0 ? string(abi.encodePacked(baseUri, tokenId.toString())) : "";
  }
}

File 15 of 15: 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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"string","name":"unrevealedUri","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxReservedSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUri","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":"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":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"premint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preminted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mintingRouter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setUnrevealedUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unreveal","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600b60808190526a697066733a2f2f6e6f6e6560a81b60a09081526200002e91600a919062000222565b50600c805460ff19908116909155600f805490911690553480156200005257600080fd5b506040516200294c3803806200294c833981016040819052620000759162000395565b82858581600290805190602001906200009092919062000222565b508051620000a690600390602084019062000222565b505050620000c3620000bd6200012760201b60201c565b6200012b565b8051620000d890600b90602084019062000222565b50620000e890506000336200017d565b620001147f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200017d565b600d91909155600e555062000475915050565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166200021e5760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001dd3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b828054620002309062000439565b90600052602060002090601f0160209004810192826200025457600085556200029f565b82601f106200026f57805160ff19168380011785556200029f565b828001600101855582156200029f579182015b828111156200029f57825182559160200191906001019062000282565b50620002ad929150620002b1565b5090565b5b80821115620002ad5760008155600101620002b2565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002f057600080fd5b81516001600160401b03808211156200030d576200030d620002c8565b604051601f8301601f19908116603f01168101908282118183101715620003385762000338620002c8565b816040528381526020925086838588010111156200035557600080fd5b600091505b838210156200037957858201830151818301840152908201906200035a565b838211156200038b5760008385830101525b9695505050505050565b600080600080600060a08688031215620003ae57600080fd5b85516001600160401b0380821115620003c657600080fd5b620003d489838a01620002de565b96506020880151915080821115620003eb57600080fd5b620003f989838a01620002de565b955060408801519150808211156200041057600080fd5b506200041f88828901620002de565b606088015160809098015196999598509695949350505050565b600181811c908216806200044e57607f821691505b6020821081036200046f57634e487b7160e01b600052602260045260246000fd5b50919050565b6124c780620004856000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806367a531731161013b578063a22cb465116100b8578063d547741f1161007c578063d547741f146104e4578063dfe0ce18146104f7578063e985e9c514610500578063f2fde38b1461053c578063fca3b5aa1461054f57600080fd5b8063a22cb4651461047c578063a475b5dd1461048f578063b88d4fde14610497578063c87b56dd146104aa578063d5391393146104bd57600080fd5b806390fb5fb9116100ff57806390fb5fb91461043357806391d148541461044657806395d89b4114610459578063a0bcfc7f14610461578063a217fddf1461047457600080fd5b806367a53173146103e15780636f8b44b0146103f457806370a0823114610407578063715018a61461041a5780638da5cb5b1461042257600080fd5b80632f2ff15d116101c957806340c10f191161018d57806340c10f191461038857806342842e0e1461039b5780634f6ccce7146103ae57806351830227146103c15780636352211e146103ce57600080fd5b80632f2ff15d146103395780632f745c591461034c57806332cb6b0c1461035f578063357b794e1461036857806336568abe1461037557600080fd5b8063158756b911610210578063158756b9146102d257806318160ddd146102da57806323b872dd146102f0578063248a9ca3146103035780632b5e3e261461032657600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b55780630cac36b2146102ca575b600080fd5b61026061025b366004611e4c565b610562565b60405190151581526020015b60405180910390f35b61027d610573565b60405161026c9190611ec1565b61029d610298366004611ed4565b610605565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004611f09565b610649565b005b61027d6106d6565b6102c86106e5565b600154600054035b60405190815260200161026c565b6102c86102fe366004611f33565b6106fe565b6102e2610311366004611ed4565b60009081526008602052604090206001015490565b6102c8610334366004611f09565b610709565b6102c8610347366004611f6f565b610800565b6102e261035a366004611f09565b610826565b6102e2600d5481565b600f546102609060ff1681565b6102c8610383366004611f6f565b610917565b6102c8610396366004611f09565b610995565b6102c86103a9366004611f33565b610a7f565b6102e26103bc366004611ed4565b610a9a565b600c546102609060ff1681565b61029d6103dc366004611ed4565b610b3a565b6102c86103ef366004611f9b565b610b4c565b6102c8610402366004611ed4565b610c18565b6102e261041536600461200f565b610c7a565b6102c8610cc8565b6009546001600160a01b031661029d565b6102c86104413660046120b5565b610d2e565b610260610454366004611f6f565b610d4d565b61027d610d78565b6102c861046f3660046120b5565b610d87565b6102e2600081565b6102c861048a3660046120fd565b610db8565b6102c8610e4d565b6102c86104a5366004612139565b610e69565b61027d6104b8366004611ed4565b610ea3565b6102e27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102c86104f2366004611f6f565b610ed4565b6102e2600e5481565b61026061050e3660046121b4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102c861054a36600461200f565b610efa565b6102c861055d36600461200f565b610fc5565b600061056d82610ffb565b92915050565b606060028054610582906121de565b80601f01602080910402602001604051908101604052809291908181526020018280546105ae906121de565b80156105fb5780601f106105d0576101008083540402835291602001916105fb565b820191906000526020600020905b8154815290600101906020018083116105de57829003601f168201915b5050505050905090565b600061061082611020565b61062d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061065482610b3a565b9050806001600160a01b0316836001600160a01b0316036106885760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906106a857506106a6813361050e565b155b156106c6576040516367d9dca160e11b815260040160405180910390fd5b6106d183838361104b565b505050565b6060600a8054610582906121de565b60006106f181336110a7565b50600c805460ff19169055565b6106d183838361110b565b600061071581336110a7565b600f5460ff161561076d5760405162461bcd60e51b815260206004820152601e60248201527f526573657276656420746f6b656e73206d696e74656420616c7265616479000060448201526064015b60405180910390fd5b600e548261077e6001546000540390565b610788919061222e565b11156107d65760405162461bcd60e51b815260206004820152601c60248201527f4d41585f52455345525645445f535550504c59206578636565646564000000006044820152606401610764565b6107e0838361131f565b600e5460015460005403600f80549190921460ff19909116179055505050565b60008281526008602052604090206001015461081c81336110a7565b6106d18383611339565b600061083183610c7a565b8210610850576040516306ed618760e11b815260040160405180910390fd5b600080549080805b8381101561091157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615801592820192909252906108bf5750610909565b80516001600160a01b0316156108d457805192505b876001600160a01b0316836001600160a01b031603610907578684036109005750935061056d92505050565b6001909301925b505b600101610858565b50600080fd5b6001600160a01b03811633146109875760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610764565b61099182826113bf565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109c081336110a7565b600f5460ff161515600114610a175760405162461bcd60e51b815260206004820152601e60248201527f5445414d5f524553455256455f4e4f545f5052454d494e5445445f59455400006044820152606401610764565b600d5482610a286001546000540390565b610a32919061222e565b1115610a755760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610764565b6106d1838361131f565b6106d183838360405180602001604052806000815250610e69565b6000805481805b82811015610b2057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610b1757858303610b105750949350505050565b6001909201915b50600101610aa1565b506040516329c8c00760e21b815260040160405180910390fd5b6000610b4582611426565b5192915050565b60005b818110156106d1576000610b7a848484818110610b6e57610b6e612246565b90506020020135611426565b80519091506001600160a01b031633141580610b97575080604001515b15610be45760405162461bcd60e51b815260206004820152601b60248201527f4e6f74206f776e6572206f7220616c7265616479206275726e656400000000006044820152606401610764565b610c05848484818110610bf957610bf9612246565b9050602002013561153f565b5080610c108161225c565b915050610b4f565b6000610c2481336110a7565b60008211610c745760405162461bcd60e51b815260206004820152601f60248201527f5175616e74697479206d7573742062652067726561746572207468616e2030006044820152606401610764565b50600d55565b60006001600160a01b038216610ca3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6009546001600160a01b03163314610d225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610764565b610d2c60006116bb565b565b6000610d3a81336110a7565b81516106d190600b906020850190611d9d565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060038054610582906121de565b6000610d9381336110a7565b8151610da690600a906020850190611d9d565b5050600c805460ff1916600117905550565b336001600160a01b03831603610de15760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610e5981336110a7565b50600c805460ff19166001179055565b610e7484848461110b565b610e808484848461170d565b610e9d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610eae82611020565b610ecb57604051630a14c4b560e41b815260040160405180910390fd5b61056d82611810565b600082815260086020526040902060010154610ef081336110a7565b6106d183836113bf565b6009546001600160a01b03163314610f545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610764565b6001600160a01b038116610fb95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610764565b610fc2816116bb565b50565b6000610fd181336110a7565b6109917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68361190b565b60006001600160e01b03198216637965db0b60e01b148061056d575061056d82611915565b600080548210801561056d575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6110b18282610d4d565b610991576110c9816001600160a01b03166014611980565b6110d4836020611980565b6040516020016110e5929190612291565b60408051601f198184030181529082905262461bcd60e51b825261076491600401611ec1565b600061111682611426565b80519091506000906001600160a01b0316336001600160a01b0316148061114457508151611144903361050e565b8061115f57503361115484610605565b6001600160a01b0316145b90508061117f57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146111b45760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166111db57604051633a954ecd60e21b815260040160405180910390fd5b6111eb600084846000015161104b565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166112d5576000548110156112d557825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610991828260405180602001604052806000815250611b22565b6113438282610d4d565b6109915760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561137b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6113c98282610d4d565b156109915760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b604080516060810182526000808252602082018190529181018290529054829081101561152657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906115245780516001600160a01b0316156114bb579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561151f579392505050565b6114bb565b505b604051636f96cda160e11b815260040160405180910390fd5b600061154a82611426565b905061155c600083836000015161104b565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b19169390931790559085018083529120549091166116735760005481101561167357815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a450506001805481019055565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561180457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611751903390899088908890600401612306565b6020604051808303816000875af192505050801561178c575060408051601f3d908101601f1916820190925261178991810190612343565b60015b6117ea573d8080156117ba576040519150601f19603f3d011682016040523d82523d6000602084013e6117bf565b606091505b5080516000036117e2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611808565b5060015b949350505050565b600c5460609060ff166118af57600b805461182a906121de565b80601f0160208091040260200160405190810160405280929190818152602001828054611856906121de565b80156118a35780601f10611878576101008083540402835291602001916118a3565b820191906000526020600020905b81548152906001019060200180831161188657829003601f168201915b50505050509050919050565b600a80546118bc906121de565b90506000036118da576040518060200160405280600081525061056d565b600a6118e583611b2f565b6040516020016118f6929190612360565b60405160208183030381529060405292915050565b6109918282611339565b60006001600160e01b031982166380ac58cd60e01b148061194657506001600160e01b03198216635b5e139f60e01b145b8061196157506001600160e01b0319821663780e9d6360e01b145b8061056d57506301ffc9a760e01b6001600160e01b031983161461056d565b6060600061198f836002612406565b61199a90600261222e565b6001600160401b038111156119b1576119b161202a565b6040519080825280601f01601f1916602001820160405280156119db576020820181803683370190505b509050600360fc1b816000815181106119f6576119f6612246565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611a2557611a25612246565b60200101906001600160f81b031916908160001a9053506000611a49846002612406565b611a5490600161222e565b90505b6001811115611acc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611a8857611a88612246565b1a60f81b828281518110611a9e57611a9e612246565b60200101906001600160f81b031916908160001a90535060049490941c93611ac581612425565b9050611a57565b508315611b1b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610764565b9392505050565b6106d18383836001611c2f565b606081600003611b565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b805780611b6a8161225c565b9150611b799050600a83612452565b9150611b5a565b6000816001600160401b03811115611b9a57611b9a61202a565b6040519080825280601f01601f191660200182016040528015611bc4576020820181803683370190505b5090505b841561180857611bd9600183612466565b9150611be6600a8661247d565b611bf190603061222e565b60f81b818381518110611c0657611c06612246565b60200101906001600160f81b031916908160001a905350611c28600a86612452565b9450611bc8565b6000546001600160a01b038516611c5857604051622e076360e81b815260040160405180910390fd5b83600003611c795760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526004909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611d945760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611d6a5750611d68600088848861170d565b155b15611d88576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611d13565b50600055611318565b828054611da9906121de565b90600052602060002090601f016020900481019282611dcb5760008555611e11565b82601f10611de457805160ff1916838001178555611e11565b82800160010185558215611e11579182015b82811115611e11578251825591602001919060010190611df6565b50611e1d929150611e21565b5090565b5b80821115611e1d5760008155600101611e22565b6001600160e01b031981168114610fc257600080fd5b600060208284031215611e5e57600080fd5b8135611b1b81611e36565b60005b83811015611e84578181015183820152602001611e6c565b83811115610e9d5750506000910152565b60008151808452611ead816020860160208601611e69565b601f01601f19169290920160200192915050565b602081526000611b1b6020830184611e95565b600060208284031215611ee657600080fd5b5035919050565b80356001600160a01b0381168114611f0457600080fd5b919050565b60008060408385031215611f1c57600080fd5b611f2583611eed565b946020939093013593505050565b600080600060608486031215611f4857600080fd5b611f5184611eed565b9250611f5f60208501611eed565b9150604084013590509250925092565b60008060408385031215611f8257600080fd5b82359150611f9260208401611eed565b90509250929050565b60008060208385031215611fae57600080fd5b82356001600160401b0380821115611fc557600080fd5b818501915085601f830112611fd957600080fd5b813581811115611fe857600080fd5b8660208260051b8501011115611ffd57600080fd5b60209290920196919550909350505050565b60006020828403121561202157600080fd5b611b1b82611eed565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561205a5761205a61202a565b604051601f8501601f19908116603f011681019082821181831017156120825761208261202a565b8160405280935085815286868601111561209b57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120c757600080fd5b81356001600160401b038111156120dd57600080fd5b8201601f810184136120ee57600080fd5b61180884823560208401612040565b6000806040838503121561211057600080fd5b61211983611eed565b91506020830135801515811461212e57600080fd5b809150509250929050565b6000806000806080858703121561214f57600080fd5b61215885611eed565b935061216660208601611eed565b92506040850135915060608501356001600160401b0381111561218857600080fd5b8501601f8101871361219957600080fd5b6121a887823560208401612040565b91505092959194509250565b600080604083850312156121c757600080fd5b6121d083611eed565b9150611f9260208401611eed565b600181811c908216806121f257607f821691505b60208210810361221257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561224157612241612218565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001820161226e5761226e612218565b5060010190565b60008151612287818560208601611e69565b9290920192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516122c9816017850160208801611e69565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516122fa816028840160208801611e69565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061233990830184611e95565b9695505050505050565b60006020828403121561235557600080fd5b8151611b1b81611e36565b600080845481600182811c91508083168061237c57607f831692505b6020808410820361239b57634e487b7160e01b86526022600452602486fd5b8180156123af57600181146123c0576123ed565b60ff198616895284890196506123ed565b60008b81526020902060005b868110156123e55781548b8201529085019083016123cc565b505084890196505b5050505050506123fd8185612275565b95945050505050565b600081600019048311821515161561242057612420612218565b500290565b60008161243457612434612218565b506000190190565b634e487b7160e01b600052601260045260246000fd5b6000826124615761246161243c565b500490565b60008282101561247857612478612218565b500390565b60008261248c5761248c61243c565b50069056fea26469706673582212206e18b7c782dcc235ef7fc61fa1cc2fa1d9fa98885019ae0196e71afcd758dbdb64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000115c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000000e536e65616b7920476f626c696e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025347000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f736e65616b79676f626c696e732e6d7970696e6174612e636c6f75642f697066732f516d4e6d4b3836753661366d6941704637337335344a736439537257396f31427457793239417463664a79674a610000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c806367a531731161013b578063a22cb465116100b8578063d547741f1161007c578063d547741f146104e4578063dfe0ce18146104f7578063e985e9c514610500578063f2fde38b1461053c578063fca3b5aa1461054f57600080fd5b8063a22cb4651461047c578063a475b5dd1461048f578063b88d4fde14610497578063c87b56dd146104aa578063d5391393146104bd57600080fd5b806390fb5fb9116100ff57806390fb5fb91461043357806391d148541461044657806395d89b4114610459578063a0bcfc7f14610461578063a217fddf1461047457600080fd5b806367a53173146103e15780636f8b44b0146103f457806370a0823114610407578063715018a61461041a5780638da5cb5b1461042257600080fd5b80632f2ff15d116101c957806340c10f191161018d57806340c10f191461038857806342842e0e1461039b5780634f6ccce7146103ae57806351830227146103c15780636352211e146103ce57600080fd5b80632f2ff15d146103395780632f745c591461034c57806332cb6b0c1461035f578063357b794e1461036857806336568abe1461037557600080fd5b8063158756b911610210578063158756b9146102d257806318160ddd146102da57806323b872dd146102f0578063248a9ca3146103035780632b5e3e261461032657600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b55780630cac36b2146102ca575b600080fd5b61026061025b366004611e4c565b610562565b60405190151581526020015b60405180910390f35b61027d610573565b60405161026c9190611ec1565b61029d610298366004611ed4565b610605565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004611f09565b610649565b005b61027d6106d6565b6102c86106e5565b600154600054035b60405190815260200161026c565b6102c86102fe366004611f33565b6106fe565b6102e2610311366004611ed4565b60009081526008602052604090206001015490565b6102c8610334366004611f09565b610709565b6102c8610347366004611f6f565b610800565b6102e261035a366004611f09565b610826565b6102e2600d5481565b600f546102609060ff1681565b6102c8610383366004611f6f565b610917565b6102c8610396366004611f09565b610995565b6102c86103a9366004611f33565b610a7f565b6102e26103bc366004611ed4565b610a9a565b600c546102609060ff1681565b61029d6103dc366004611ed4565b610b3a565b6102c86103ef366004611f9b565b610b4c565b6102c8610402366004611ed4565b610c18565b6102e261041536600461200f565b610c7a565b6102c8610cc8565b6009546001600160a01b031661029d565b6102c86104413660046120b5565b610d2e565b610260610454366004611f6f565b610d4d565b61027d610d78565b6102c861046f3660046120b5565b610d87565b6102e2600081565b6102c861048a3660046120fd565b610db8565b6102c8610e4d565b6102c86104a5366004612139565b610e69565b61027d6104b8366004611ed4565b610ea3565b6102e27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102c86104f2366004611f6f565b610ed4565b6102e2600e5481565b61026061050e3660046121b4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102c861054a36600461200f565b610efa565b6102c861055d36600461200f565b610fc5565b600061056d82610ffb565b92915050565b606060028054610582906121de565b80601f01602080910402602001604051908101604052809291908181526020018280546105ae906121de565b80156105fb5780601f106105d0576101008083540402835291602001916105fb565b820191906000526020600020905b8154815290600101906020018083116105de57829003601f168201915b5050505050905090565b600061061082611020565b61062d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061065482610b3a565b9050806001600160a01b0316836001600160a01b0316036106885760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906106a857506106a6813361050e565b155b156106c6576040516367d9dca160e11b815260040160405180910390fd5b6106d183838361104b565b505050565b6060600a8054610582906121de565b60006106f181336110a7565b50600c805460ff19169055565b6106d183838361110b565b600061071581336110a7565b600f5460ff161561076d5760405162461bcd60e51b815260206004820152601e60248201527f526573657276656420746f6b656e73206d696e74656420616c7265616479000060448201526064015b60405180910390fd5b600e548261077e6001546000540390565b610788919061222e565b11156107d65760405162461bcd60e51b815260206004820152601c60248201527f4d41585f52455345525645445f535550504c59206578636565646564000000006044820152606401610764565b6107e0838361131f565b600e5460015460005403600f80549190921460ff19909116179055505050565b60008281526008602052604090206001015461081c81336110a7565b6106d18383611339565b600061083183610c7a565b8210610850576040516306ed618760e11b815260040160405180910390fd5b600080549080805b8381101561091157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615801592820192909252906108bf5750610909565b80516001600160a01b0316156108d457805192505b876001600160a01b0316836001600160a01b031603610907578684036109005750935061056d92505050565b6001909301925b505b600101610858565b50600080fd5b6001600160a01b03811633146109875760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610764565b61099182826113bf565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109c081336110a7565b600f5460ff161515600114610a175760405162461bcd60e51b815260206004820152601e60248201527f5445414d5f524553455256455f4e4f545f5052454d494e5445445f59455400006044820152606401610764565b600d5482610a286001546000540390565b610a32919061222e565b1115610a755760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610764565b6106d1838361131f565b6106d183838360405180602001604052806000815250610e69565b6000805481805b82811015610b2057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610b1757858303610b105750949350505050565b6001909201915b50600101610aa1565b506040516329c8c00760e21b815260040160405180910390fd5b6000610b4582611426565b5192915050565b60005b818110156106d1576000610b7a848484818110610b6e57610b6e612246565b90506020020135611426565b80519091506001600160a01b031633141580610b97575080604001515b15610be45760405162461bcd60e51b815260206004820152601b60248201527f4e6f74206f776e6572206f7220616c7265616479206275726e656400000000006044820152606401610764565b610c05848484818110610bf957610bf9612246565b9050602002013561153f565b5080610c108161225c565b915050610b4f565b6000610c2481336110a7565b60008211610c745760405162461bcd60e51b815260206004820152601f60248201527f5175616e74697479206d7573742062652067726561746572207468616e2030006044820152606401610764565b50600d55565b60006001600160a01b038216610ca3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6009546001600160a01b03163314610d225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610764565b610d2c60006116bb565b565b6000610d3a81336110a7565b81516106d190600b906020850190611d9d565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060038054610582906121de565b6000610d9381336110a7565b8151610da690600a906020850190611d9d565b5050600c805460ff1916600117905550565b336001600160a01b03831603610de15760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610e5981336110a7565b50600c805460ff19166001179055565b610e7484848461110b565b610e808484848461170d565b610e9d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610eae82611020565b610ecb57604051630a14c4b560e41b815260040160405180910390fd5b61056d82611810565b600082815260086020526040902060010154610ef081336110a7565b6106d183836113bf565b6009546001600160a01b03163314610f545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610764565b6001600160a01b038116610fb95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610764565b610fc2816116bb565b50565b6000610fd181336110a7565b6109917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68361190b565b60006001600160e01b03198216637965db0b60e01b148061056d575061056d82611915565b600080548210801561056d575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6110b18282610d4d565b610991576110c9816001600160a01b03166014611980565b6110d4836020611980565b6040516020016110e5929190612291565b60408051601f198184030181529082905262461bcd60e51b825261076491600401611ec1565b600061111682611426565b80519091506000906001600160a01b0316336001600160a01b0316148061114457508151611144903361050e565b8061115f57503361115484610605565b6001600160a01b0316145b90508061117f57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146111b45760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166111db57604051633a954ecd60e21b815260040160405180910390fd5b6111eb600084846000015161104b565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166112d5576000548110156112d557825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610991828260405180602001604052806000815250611b22565b6113438282610d4d565b6109915760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561137b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6113c98282610d4d565b156109915760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b604080516060810182526000808252602082018190529181018290529054829081101561152657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906115245780516001600160a01b0316156114bb579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561151f579392505050565b6114bb565b505b604051636f96cda160e11b815260040160405180910390fd5b600061154a82611426565b905061155c600083836000015161104b565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b19169390931790559085018083529120549091166116735760005481101561167357815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a450506001805481019055565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561180457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611751903390899088908890600401612306565b6020604051808303816000875af192505050801561178c575060408051601f3d908101601f1916820190925261178991810190612343565b60015b6117ea573d8080156117ba576040519150601f19603f3d011682016040523d82523d6000602084013e6117bf565b606091505b5080516000036117e2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611808565b5060015b949350505050565b600c5460609060ff166118af57600b805461182a906121de565b80601f0160208091040260200160405190810160405280929190818152602001828054611856906121de565b80156118a35780601f10611878576101008083540402835291602001916118a3565b820191906000526020600020905b81548152906001019060200180831161188657829003601f168201915b50505050509050919050565b600a80546118bc906121de565b90506000036118da576040518060200160405280600081525061056d565b600a6118e583611b2f565b6040516020016118f6929190612360565b60405160208183030381529060405292915050565b6109918282611339565b60006001600160e01b031982166380ac58cd60e01b148061194657506001600160e01b03198216635b5e139f60e01b145b8061196157506001600160e01b0319821663780e9d6360e01b145b8061056d57506301ffc9a760e01b6001600160e01b031983161461056d565b6060600061198f836002612406565b61199a90600261222e565b6001600160401b038111156119b1576119b161202a565b6040519080825280601f01601f1916602001820160405280156119db576020820181803683370190505b509050600360fc1b816000815181106119f6576119f6612246565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611a2557611a25612246565b60200101906001600160f81b031916908160001a9053506000611a49846002612406565b611a5490600161222e565b90505b6001811115611acc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611a8857611a88612246565b1a60f81b828281518110611a9e57611a9e612246565b60200101906001600160f81b031916908160001a90535060049490941c93611ac581612425565b9050611a57565b508315611b1b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610764565b9392505050565b6106d18383836001611c2f565b606081600003611b565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b805780611b6a8161225c565b9150611b799050600a83612452565b9150611b5a565b6000816001600160401b03811115611b9a57611b9a61202a565b6040519080825280601f01601f191660200182016040528015611bc4576020820181803683370190505b5090505b841561180857611bd9600183612466565b9150611be6600a8661247d565b611bf190603061222e565b60f81b818381518110611c0657611c06612246565b60200101906001600160f81b031916908160001a905350611c28600a86612452565b9450611bc8565b6000546001600160a01b038516611c5857604051622e076360e81b815260040160405180910390fd5b83600003611c795760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526004909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611d945760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611d6a5750611d68600088848861170d565b155b15611d88576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611d13565b50600055611318565b828054611da9906121de565b90600052602060002090601f016020900481019282611dcb5760008555611e11565b82601f10611de457805160ff1916838001178555611e11565b82800160010185558215611e11579182015b82811115611e11578251825591602001919060010190611df6565b50611e1d929150611e21565b5090565b5b80821115611e1d5760008155600101611e22565b6001600160e01b031981168114610fc257600080fd5b600060208284031215611e5e57600080fd5b8135611b1b81611e36565b60005b83811015611e84578181015183820152602001611e6c565b83811115610e9d5750506000910152565b60008151808452611ead816020860160208601611e69565b601f01601f19169290920160200192915050565b602081526000611b1b6020830184611e95565b600060208284031215611ee657600080fd5b5035919050565b80356001600160a01b0381168114611f0457600080fd5b919050565b60008060408385031215611f1c57600080fd5b611f2583611eed565b946020939093013593505050565b600080600060608486031215611f4857600080fd5b611f5184611eed565b9250611f5f60208501611eed565b9150604084013590509250925092565b60008060408385031215611f8257600080fd5b82359150611f9260208401611eed565b90509250929050565b60008060208385031215611fae57600080fd5b82356001600160401b0380821115611fc557600080fd5b818501915085601f830112611fd957600080fd5b813581811115611fe857600080fd5b8660208260051b8501011115611ffd57600080fd5b60209290920196919550909350505050565b60006020828403121561202157600080fd5b611b1b82611eed565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561205a5761205a61202a565b604051601f8501601f19908116603f011681019082821181831017156120825761208261202a565b8160405280935085815286868601111561209b57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120c757600080fd5b81356001600160401b038111156120dd57600080fd5b8201601f810184136120ee57600080fd5b61180884823560208401612040565b6000806040838503121561211057600080fd5b61211983611eed565b91506020830135801515811461212e57600080fd5b809150509250929050565b6000806000806080858703121561214f57600080fd5b61215885611eed565b935061216660208601611eed565b92506040850135915060608501356001600160401b0381111561218857600080fd5b8501601f8101871361219957600080fd5b6121a887823560208401612040565b91505092959194509250565b600080604083850312156121c757600080fd5b6121d083611eed565b9150611f9260208401611eed565b600181811c908216806121f257607f821691505b60208210810361221257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561224157612241612218565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001820161226e5761226e612218565b5060010190565b60008151612287818560208601611e69565b9290920192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516122c9816017850160208801611e69565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516122fa816028840160208801611e69565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061233990830184611e95565b9695505050505050565b60006020828403121561235557600080fd5b8151611b1b81611e36565b600080845481600182811c91508083168061237c57607f831692505b6020808410820361239b57634e487b7160e01b86526022600452602486fd5b8180156123af57600181146123c0576123ed565b60ff198616895284890196506123ed565b60008b81526020902060005b868110156123e55781548b8201529085019083016123cc565b505084890196505b5050505050506123fd8185612275565b95945050505050565b600081600019048311821515161561242057612420612218565b500290565b60008161243457612434612218565b506000190190565b634e487b7160e01b600052601260045260246000fd5b6000826124615761246161243c565b500490565b60008282101561247857612478612218565b500390565b60008261248c5761248c61243c565b50069056fea26469706673582212206e18b7c782dcc235ef7fc61fa1cc2fa1d9fa98885019ae0196e71afcd758dbdb64736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000115c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000000e536e65616b7920476f626c696e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025347000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f736e65616b79676f626c696e732e6d7970696e6174612e636c6f75642f697066732f516d4e6d4b3836753661366d6941704637337335344a736439537257396f31427457793239417463664a79674a610000000000000000

-----Decoded View---------------
Arg [0] : tokenName (string): Sneaky Goblins
Arg [1] : tokenSymbol (string): SG
Arg [2] : unrevealedUri (string): https://sneakygoblins.mypinata.cloud/ipfs/QmNmK86u6a6miApF73s54Jsd9SrW9o1BtWy29AtcfJygJa
Arg [3] : maxSupply (uint256): 4444
Arg [4] : maxReservedSupply (uint256): 44

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000000000000000000000000000000000000000115c
Arg [4] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [6] : 536e65616b7920476f626c696e73000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 5347000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000058
Arg [10] : 68747470733a2f2f736e65616b79676f626c696e732e6d7970696e6174612e63
Arg [11] : 6c6f75642f697066732f516d4e6d4b3836753661366d6941704637337335344a
Arg [12] : 736439537257396f31427457793239417463664a79674a610000000000000000


Deployed Bytecode Sourcemap

208:4615:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4503:169;;;;;;:::i;:::-;;:::i;:::-;;;565:14:15;;558:22;540:41;;528:2;513:18;4503:169:11;;;;;;;;7118:98:4;;;:::i;:::-;;;;;;;:::i;8574:200::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:15;;;1696:51;;1684:2;1669:18;8574:200:4;1550:203:15;8151:362:4;;;;;;:::i;:::-;;:::i;:::-;;1142:83:13;;;:::i;675:85::-;;;:::i;3558:258:4:-;3791:12;;3611:7;3775:13;:28;3558:258;;;2341:25:15;;;2329:2;2314:18;3558:258:4;2195:177:15;9405:164:4;;;;;;:::i;:::-;;:::i;3973:129:0:-;;;;;;:::i;:::-;4047:7;4073:12;;;:6;:12;;;;;:22;;;;3973:129;2075:595:11;;;;;;:::i;:::-;;:::i;4352:145:0:-;;;;;;:::i;:::-;;:::i;18715:1077:4:-;;;;;;:::i;:::-;;:::i;539:25:11:-;;;;;;713:29;;;;;;;;;5369:214:0;;;;;;:::i;:::-;;:::i;3092:436:11:-;;;;;;:::i;:::-;;:::i;9635:179:4:-;;;;;;:::i;:::-;;:::i;17727:695::-;;;;;;:::i;:::-;;:::i;419:28:13:-;;;;;;;;;6934:122:4;;;;;;:::i;:::-;;:::i;3629:330:11:-;;;;;;:::i;:::-;;:::i;1736:172::-;;;;;;:::i;:::-;;:::i;4292:203:4:-;;;;;;:::i;:::-;;:::i;1661:101:12:-;;;:::i;1029:85::-;1101:6;;-1:-1:-1;;;;;1101:6:12;1029:85;;1000:113:13;;;;;;:::i;:::-;;:::i;2874:145:0:-;;;;;;:::i;:::-;;:::i;7280:102:4:-;;;:::i;821:122:13:-;;;;;;:::i;:::-;;:::i;1992:49:0:-;;2037:4;1992:49;;8841:274:4;;;;;;:::i;:::-;;:::i;563:82:13:-;;;:::i;9880:332:4:-;;;;;;:::i;:::-;;:::i;4091:192:11:-;;;;;;:::i;:::-;;:::i;391:62::-;;429:24;391:62;;4731:147:0;;;;;;:::i;:::-;;:::i;617:34:11:-;;;;;;9181:162:4;;;;;;:::i;:::-;-1:-1:-1;;;;;9301:25:4;;;9278:4;9301:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;9181:162;1911:198:12;;;;;;:::i;:::-;;:::i;2809:129:11:-;;;;;;:::i;:::-;;:::i;4503:169::-;4612:4;4631:36;4655:11;4631:23;:36::i;:::-;4624:43;4503:169;-1:-1:-1;;4503:169:11:o;7118:98:4:-;7172:13;7204:5;7197:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7118:98;:::o;8574:200::-;8642:7;8666:16;8674:7;8666;:16::i;:::-;8661:64;;8691:34;;-1:-1:-1;;;8691:34:4;;;;;;;;;;;8661:64;-1:-1:-1;8743:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;8743:24:4;;8574:200::o;8151:362::-;8223:13;8239:24;8255:7;8239:15;:24::i;:::-;8223:40;;8283:5;-1:-1:-1;;;;;8277:11:4;:2;-1:-1:-1;;;;;8277:11:4;;8273:48;;8297:24;;-1:-1:-1;;;8297:24:4;;;;;;;;;;;8273:48;719:10:2;-1:-1:-1;;;;;8336:21:4;;;;;;:63;;-1:-1:-1;8362:37:4;8379:5;719:10:2;9181:162:4;:::i;8362:37::-;8361:38;8336:63;8332:136;;;8422:35;;-1:-1:-1;;;8422:35:4;;;;;;;;;;;8332:136;8478:28;8487:2;8491:7;8500:5;8478:8;:28::i;:::-;8213:300;8151:362;;:::o;1142:83:13:-;1185:13;1213:7;1206:14;;;;;:::i;675:85::-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;-1:-1:-1;739:8:13::1;:16:::0;;-1:-1:-1;;739:16:13::1;::::0;;675:85::o;9405:164:4:-;9534:28;9544:4;9550:2;9554:7;9534:9;:28::i;2075:595:11:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;2246:9:11::1;::::0;::::1;;:18;2238:61;;;::::0;-1:-1:-1;;;2238:61:11;;7248:2:15;2238:61:11::1;::::0;::::1;7230:21:15::0;7287:2;7267:18;;;7260:30;7326:32;7306:18;;;7299:60;7376:18;;2238:61:11::1;;;;;;;;;2437:19;;2425:8;2409:13;3791:12:4::0;;3611:7;3775:13;:28;;3558:258;2409:13:11::1;:24;;;;:::i;:::-;:47;;2401:88;;;::::0;-1:-1:-1;;;2401:88:11;;7872:2:15;2401:88:11::1;::::0;::::1;7854:21:15::0;7911:2;7891:18;;;7884:30;7950;7930:18;;;7923:58;7998:18;;2401:88:11::1;7670:352:15::0;2401:88:11::1;2519:30;2529:9;2540:8;2519:9;:30::i;:::-;2646:19;::::0;3791:12:4;;3611:7;3775:13;:28;2617:9:11::1;:48:::0;;2629:36;;;::::1;-1:-1:-1::0;;2617:48:11;;::::1;;::::0;;-1:-1:-1;;;2075:595:11:o;4352:145:0:-;4047:7;4073:12;;;:6;:12;;;;;:22;;;2470:30;2481:4;719:10:2;2470::0;:30::i;:::-;4465:25:::1;4476:4;4482:7;4465:10;:25::i;18715:1077:4:-:0;18804:7;18836:16;18846:5;18836:9;:16::i;:::-;18827:5;:25;18823:61;;18861:23;;-1:-1:-1;;;18861:23:4;;;;;;;;;;;18823:61;18894:22;18919:13;;;18894:22;;19162:543;19182:14;19178:1;:18;19162:543;;;19221:31;19255:14;;;:11;:14;;;;;;;;;19221:48;;;;;;;;;-1:-1:-1;;;;;19221:48:4;;;;-1:-1:-1;;;19221:48:4;;-1:-1:-1;;;;;19221:48:4;;;;;;;;-1:-1:-1;;;19221:48:4;;;;;;;;;;;;;;;;19287:71;;19331:8;;;19287:71;19379:14;;-1:-1:-1;;;;;19379:28:4;;19375:109;;19451:14;;;-1:-1:-1;19375:109:4;19526:5;-1:-1:-1;;;;;19505:26:4;:17;-1:-1:-1;;;;;19505:26:4;;19501:190;;19574:5;19559:11;:20;19555:83;;-1:-1:-1;19614:1:4;-1:-1:-1;19607:8:4;;-1:-1:-1;;;19607:8:4;19555:83;19659:13;;;;;19501:190;19203:502;19162:543;19198:3;;19162:543;;;;19777:8;;;5369:214:0;-1:-1:-1;;;;;5464:23:0;;719:10:2;5464:23:0;5456:83;;;;-1:-1:-1;;;5456:83:0;;8229:2:15;5456:83:0;;;8211:21:15;8268:2;8248:18;;;8241:30;8307:34;8287:18;;;8280:62;-1:-1:-1;;;8358:18:15;;;8351:45;8413:19;;5456:83:0;8027:411:15;5456:83:0;5550:26;5562:4;5568:7;5550:11;:26::i;:::-;5369:214;;:::o;3092:436:11:-;429:24;2470:30:0;429:24:11;719:10:2;2470::0;:30::i;:::-;3255:9:11::1;::::0;::::1;;:17;;:9:::0;:17:::1;3247:60;;;::::0;-1:-1:-1;;;3247:60:11;;8645:2:15;3247:60:11::1;::::0;::::1;8627:21:15::0;8684:2;8664:18;;;8657:30;8723:32;8703:18;;;8696:60;8773:18;;3247:60:11::1;8443:354:15::0;3247:60:11::1;3430:10;;3418:8;3402:13;3791:12:4::0;;3611:7;3775:13;:28;;3558:258;3402:13:11::1;:24;;;;:::i;:::-;:38;;3394:69;;;::::0;-1:-1:-1;;;3394:69:11;;9004:2:15;3394:69:11::1;::::0;::::1;8986:21:15::0;9043:2;9023:18;;;9016:30;-1:-1:-1;;;9062:18:15;;;9055:48;9120:18;;3394:69:11::1;8802:342:15::0;3394:69:11::1;3493:30;3503:9;3514:8;3493:9;:30::i;9635:179:4:-:0;9768:39;9785:4;9791:2;9795:7;9768:39;;;;;;;;;;;;:16;:39::i;17727:695::-;17794:7;17838:13;;17794:7;;18046:320;18066:14;18062:1;:18;18046:320;;;18105:31;18139:14;;;:11;:14;;;;;;;;;18105:48;;;;;;;;;-1:-1:-1;;;;;18105:48:4;;;;-1:-1:-1;;;18105:48:4;;-1:-1:-1;;;;;18105:48:4;;;;;;;;-1:-1:-1;;;18105:48:4;;;;;;;;;;;;;;18171:181;;18235:5;18220:11;:20;18216:83;;-1:-1:-1;18275:1:4;17727:695;-1:-1:-1;;;;17727:695:4:o;18216:83::-;18320:13;;;;;18171:181;-1:-1:-1;18082:3:4;;18046:320;;;;18392:23;;-1:-1:-1;;;18392:23:4;;;;;;;;;;;6934:122;6998:7;7024:20;7036:7;7024:11;:20::i;:::-;:25;;6934:122;-1:-1:-1;;6934:122:4:o;3629:330:11:-;3698:6;3693:262;3710:19;;;3693:262;;;3744:31;3778:24;3790:8;;3799:1;3790:11;;;;;;;:::i;:::-;;;;;;;3778;:24::i;:::-;3814:14;;3744:58;;-1:-1:-1;;;;;;3814:30:11;719:10:2;3814:30:11;;;:50;;;3848:9;:16;;;3814:50;3810:112;;;3876:37;;-1:-1:-1;;;3876:37:11;;9483:2:15;3876:37:11;;;9465:21:15;9522:2;9502:18;;;9495:30;9561:29;9541:18;;;9534:57;9608:18;;3876:37:11;9281:351:15;3810:112:11;3930:18;3936:8;;3945:1;3936:11;;;;;;;:::i;:::-;;;;;;;3930:5;:18::i;:::-;-1:-1:-1;3731:3:11;;;;:::i;:::-;;;;3693:262;;1736:172;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;1839:1:11::1;1828:8;:12;1820:56;;;::::0;-1:-1:-1;;;1820:56:11;;9979:2:15;1820:56:11::1;::::0;::::1;9961:21:15::0;10018:2;9998:18;;;9991:30;10057:33;10037:18;;;10030:61;10108:18;;1820:56:11::1;9777:355:15::0;1820:56:11::1;-1:-1:-1::0;1882:10:11::1;:21:::0;1736:172::o;4292:203:4:-;4356:7;-1:-1:-1;;;;;4379:19:4;;4375:60;;4407:28;;-1:-1:-1;;;4407:28:4;;;;;;;;;;;4375:60;-1:-1:-1;;;;;;4460:19:4;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;4460:27:4;;4292:203::o;1661:101:12:-;1101:6;;-1:-1:-1;;;;;1101:6:12;719:10:2;1241:23:12;1233:68;;;;-1:-1:-1;;;1233:68:12;;10339:2:15;1233:68:12;;;10321:21:15;;;10358:18;;;10351:30;10417:34;10397:18;;;10390:62;10469:18;;1233:68:12;10137:356:15;1233:68:12;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;1000:113:13:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;1089:19:13;;::::1;::::0;:13:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;2874:145:0:-:0;2960:4;2983:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;2983:29:0;;;;;;;;;;;;;;;2874:145::o;7280:102:4:-;7336:13;7368:7;7361:14;;;;;:::i;821:122:13:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;904:13:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;923:8:13::1;:15:::0;;-1:-1:-1;;923:15:13::1;934:4;923:15;::::0;;-1:-1:-1;821:122:13:o;8841:274:4:-;719:10:2;-1:-1:-1;;;;;8931:24:4;;;8927:54;;8964:17;;-1:-1:-1;;;8964:17:4;;;;;;;;;;;8927:54;719:10:2;8992:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;8992:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;8992:53:4;;;;;;;;;;9060:48;;540:41:15;;;8992:42:4;;719:10:2;9060:48:4;;513:18:15;9060:48:4;;;;;;;8841:274;;:::o;563:82:13:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;-1:-1:-1;625:8:13::1;:15:::0;;-1:-1:-1;;625:15:13::1;636:4;625:15;::::0;;563:82::o;9880:332:4:-;10041:28;10051:4;10057:2;10061:7;10041:9;:28::i;:::-;10084:48;10107:4;10113:2;10117:7;10126:5;10084:22;:48::i;:::-;10079:127;;10155:40;;-1:-1:-1;;;10155:40:4;;;;;;;;;;;10079:127;9880:332;;;;:::o;4091:192:11:-;4164:13;4190:16;4198:7;4190;:16::i;:::-;4185:59;;4215:29;;-1:-1:-1;;;4215:29:11;;;;;;;;;;;4185:59;4258:20;4270:7;4258:11;:20::i;4731:147:0:-;4047:7;4073:12;;;:6;:12;;;;;:22;;;2470:30;2481:4;719:10:2;2470::0;:30::i;:::-;4845:26:::1;4857:4;4863:7;4845:11;:26::i;1911:198:12:-:0;1101:6;;-1:-1:-1;;;;;1101:6:12;719:10:2;1241:23:12;1233:68;;;;-1:-1:-1;;;1233:68:12;;10339:2:15;1233:68:12;;;10321:21:15;;;10358:18;;;10351:30;10417:34;10397:18;;;10390:62;10469:18;;1233:68:12;10137:356:15;1233:68:12;-1:-1:-1;;;;;1999:22:12;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:12;;10700:2:15;1991:73:12::1;::::0;::::1;10682:21:15::0;10739:2;10719:18;;;10712:30;10778:34;10758:18;;;10751:62;-1:-1:-1;;;10829:18:15;;;10822:36;10875:19;;1991:73:12::1;10498:402:15::0;1991:73:12::1;2074:28;2093:8;2074:18;:28::i;:::-;1911:198:::0;:::o;2809:129:11:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;2895:38:11::1;429:24;2919:13;2895:10;:38::i;2585:202:0:-:0;2670:4;-1:-1:-1;;;;;;2693:47:0;;-1:-1:-1;;;2693:47:0;;:87;;;2744:36;2768:11;2744:23;:36::i;10458:142:4:-;10515:4;10548:13;;10538:7;:23;:55;;;;-1:-1:-1;;10566:20:4;;;;:11;:20;;;;;:27;-1:-1:-1;;;10566:27:4;;;;10565:28;;10458:142::o;17252:189::-;17362:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;17362:29:4;-1:-1:-1;;;;;17362:29:4;;;;;;;;;17406:28;;17362:24;;17406:28;;;;;;;17252:189;;;:::o;3300:492:0:-;3388:22;3396:4;3402:7;3388;:22::i;:::-;3383:403;;3571:41;3599:7;-1:-1:-1;;;;;3571:41:0;3609:2;3571:19;:41::i;:::-;3683:38;3711:4;3718:2;3683:19;:38::i;:::-;3478:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3478:265:0;;;;;;;;;;-1:-1:-1;;;3426:349:0;;;;;;;:::i;13022:1991:4:-;13132:35;13170:20;13182:7;13170:11;:20::i;:::-;13243:18;;13132:58;;-1:-1:-1;13201:22:4;;-1:-1:-1;;;;;13227:34:4;719:10:2;-1:-1:-1;;;;;13227:34:4;;:96;;;-1:-1:-1;13290:18:4;;13273:50;;719:10:2;9181:162:4;:::i;13273:50::-;13227:144;;;-1:-1:-1;719:10:2;13335:20:4;13347:7;13335:11;:20::i;:::-;-1:-1:-1;;;;;13335:36:4;;13227:144;13201:171;;13388:17;13383:66;;13414:35;;-1:-1:-1;;;13414:35:4;;;;;;;;;;;13383:66;13485:4;-1:-1:-1;;;;;13463:26:4;:13;:18;;;-1:-1:-1;;;;;13463:26:4;;13459:67;;13498:28;;-1:-1:-1;;;13498:28:4;;;;;;;;;;;13459:67;-1:-1:-1;;;;;13540:16:4;;13536:52;;13565:23;;-1:-1:-1;;;13565:23:4;;;;;;;;;;;13536:52;13704:49;13721:1;13725:7;13734:13;:18;;;13704:8;:49::i;:::-;-1:-1:-1;;;;;14035:18:4;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;14035:31:4;;;-1:-1:-1;;;;;14035:31:4;;;-1:-1:-1;;14035:31:4;;;;;;;14076:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;14076:29:4;;;;;;;;;;;14116:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;14156:61:4;;;;-1:-1:-1;;;14201:15:4;14156:61;;;;;;;;;;;14475:11;;;14500:24;;;;;:29;14475:11;;14500:29;14496:410;;14710:13;;14696:11;:27;14692:204;;;14775:18;;;14743:24;;;:11;:24;;;;;;;;:50;;14853:28;;;;-1:-1:-1;;;;;14811:70:4;-1:-1:-1;;;14811:70:4;-1:-1:-1;;;;;;14811:70:4;;;-1:-1:-1;;;;;14743:50:4;;;14811:70;;;;;;;14692:204;14015:897;14946:7;14942:2;-1:-1:-1;;;;;14927:27:4;14936:4;-1:-1:-1;;;;;14927:27:4;;;;;;;;;;;14964:42;13122:1891;;13022:1991;;;:::o;10606:102::-;10674:27;10684:2;10688:8;10674:27;;;;;;;;;;;;:9;:27::i;6826:233:0:-;6909:22;6917:4;6923:7;6909;:22::i;:::-;6904:149;;6947:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;6947:29:0;;;;;;;;;:36;;-1:-1:-1;;6947:36:0;6979:4;6947:36;;;7029:12;719:10:2;;640:96;7029:12:0;-1:-1:-1;;;;;7002:40:0;7020:7;-1:-1:-1;;;;;7002:40:0;7014:4;7002:40;;;;;;;;;;6826:233;;:::o;7184:234::-;7267:22;7275:4;7281:7;7267;:22::i;:::-;7263:149;;;7337:5;7305:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7305:29:0;;;;;;;;;;:37;;-1:-1:-1;;7305:37:0;;;7361:40;719:10:2;;7305:12:0;;7361:40;;7337:5;7361:40;7184:234;;:::o;5905:972:4:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;6059:13:4;;6014:7;;6052:20;;6048:769;;;6088:31;6122:17;;;:11;:17;;;;;;;;;6088:51;;;;;;;;;-1:-1:-1;;;;;6088:51:4;;;;-1:-1:-1;;;6088:51:4;;-1:-1:-1;;;;;6088:51:4;;;;;;;;-1:-1:-1;;;6088:51:4;;;;;;;;;;;;;;6153:654;;6198:14;;-1:-1:-1;;;;;6198:28:4;;6194:91;;6257:9;5905:972;-1:-1:-1;;;5905:972:4:o;6194:91::-;-1:-1:-1;;;6597:6:4;6637:17;;;;:11;:17;;;;;;;;;6625:29;;;;;;;;;-1:-1:-1;;;;;6625:29:4;;;;;-1:-1:-1;;;6625:29:4;;-1:-1:-1;;;;;6625:29:4;;;;;;;;-1:-1:-1;;;6625:29:4;;;;;;;;;;;;;6680:28;6676:99;;6743:9;5905:972;-1:-1:-1;;;5905:972:4:o;6676:99::-;6562:231;;;6074:743;6048:769;6839:31;;-1:-1:-1;;;6839:31:4;;;;;;;;;;;15230:1911;15289:35;15327:20;15339:7;15327:11;:20::i;:::-;15289:58;-1:-1:-1;15485:49:4;15502:1;15506:7;15515:13;:18;;;15485:8;:49::i;:::-;15829:18;;-1:-1:-1;;;;;15816:32:4;;;;;;;:12;:32;;;;;;;;:45;;-1:-1:-1;;15816:45:4;;-1:-1:-1;;;;;15816:45:4;;;-1:-1:-1;;15816:45:4;;;;;;;15884:18;;15871:32;;;;;;;:50;;-1:-1:-1;;;;15871:50:4;;-1:-1:-1;;;15871:50:4;;;;;;-1:-1:-1;15871:50:4;;;;;;;;;;;;16037:18;;16009:20;;;:11;:20;;;;;;:46;;-1:-1:-1;;;16009:46:4;;;-1:-1:-1;;;;;;16065:61:4;;;;-1:-1:-1;;;16110:15:4;16065:61;;;;;;;;;;;-1:-1:-1;;;;16136:34:4;;;;;;;16424:11;;;16449:24;;;;;:29;16424:11;;16449:29;16445:410;;16659:13;;16645:11;:27;16641:204;;;16724:18;;;16692:24;;;:11;:24;;;;;;;;:50;;16802:28;;;;-1:-1:-1;;;;;16760:70:4;-1:-1:-1;;;16760:70:4;-1:-1:-1;;;;;;16760:70:4;;;-1:-1:-1;;;;;16692:50:4;;;16760:70;;;;;;;16641:204;-1:-1:-1;16885:18:4;;16876:49;;16917:7;;16913:1;;-1:-1:-1;;;;;16876:49:4;;;;;;16913:1;;16876:49;-1:-1:-1;;17114:12:4;:14;;;;;;15230:1911::o;2263:187:12:-;2355:6;;;-1:-1:-1;;;;;2371:17:12;;;-1:-1:-1;;;;;;2371:17:12;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;20345:769:4:-;20495:4;-1:-1:-1;;;;;20515:13:4;;1465:19:1;:23;20511:597:4;;20550:72;;-1:-1:-1;;;20550:72:4;;-1:-1:-1;;;;;20550:36:4;;;;;:72;;719:10:2;;20601:4:4;;20607:7;;20616:5;;20550:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20550:72:4;;;;;;;;-1:-1:-1;;20550:72:4;;;;;;;;;;;;:::i;:::-;;;20546:510;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20793:6;:13;20810:1;20793:18;20789:253;;20842:40;;-1:-1:-1;;;20842:40:4;;;;;;;;;;;20789:253;20994:6;20988:13;20979:6;20975:2;20971:15;20964:38;20546:510;-1:-1:-1;;;;;;20672:55:4;-1:-1:-1;;;20672:55:4;;-1:-1:-1;20665:62:4;;20511:597;-1:-1:-1;21093:4:4;20511:597;20345:769;;;;;;:::o;1253:237:13:-;1340:8;;1314:13;;1340:8;;1335:50;;1365:13;1358:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1253:237;;;:::o;1335:50::-;1404:7;1398:21;;;;;:::i;:::-;;;1423:1;1398:26;:87;;;;;;;;;;;;;;;;;1451:7;1460:18;:7;:16;:18::i;:::-;1434:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1391:94;1253:237;-1:-1:-1;;1253:237:13:o;6222:110:0:-;6300:25;6311:4;6317:7;6300:10;:25::i;3883:350:4:-;3985:4;-1:-1:-1;;;;;;4016:40:4;;-1:-1:-1;;;4016:40:4;;:100;;-1:-1:-1;;;;;;;4068:48:4;;-1:-1:-1;;;4068:48:4;4016:100;:162;;;-1:-1:-1;;;;;;;4128:50:4;;-1:-1:-1;;;4128:50:4;4016:162;:210;;;-1:-1:-1;;;;;;;;;;937:40:3;;;4190:36:4;829:155:3;1588:441:14;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;-1:-1:-1;;;;;1710:25:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:14;;1688:47;;-1:-1:-1;;;1745:6:14;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:14;;;;;;;;;-1:-1:-1;;;1770:6:14;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:14;;;;;;;;-1:-1:-1;1800:9:14;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:14;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:14;;;;;;;;-1:-1:-1;1915:1:14;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:14;;1936:55;;;;-1:-1:-1;;;1936:55:14;;14466:2:15;1936:55:14;;;14448:21:15;;;14485:18;;;14478:30;14544:34;14524:18;;;14517:62;14596:18;;1936:55:14;14264:356:15;1936:55:14;2015:6;1588:441;-1:-1:-1;;;1588:441:14:o;11059:157:4:-;11177:32;11183:2;11187:8;11197:5;11204:4;11177:5;:32::i;328:703:14:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:14;;;;;;;;;;;;-1:-1:-1;;;627:10:14;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:14;;-1:-1:-1;773:2:14;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;-1:-1:-1;;;;;817:17:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:14;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:14;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:14;;;;;;;;-1:-1:-1;972:11:14;981:2;972:11;;:::i;:::-;;;844:150;;11463:1317:4;11596:20;11619:13;-1:-1:-1;;;;;11646:16:4;;11642:48;;11671:19;;-1:-1:-1;;;11671:19:4;;;;;;;;;;;11642:48;11704:8;11716:1;11704:13;11700:44;;11726:18;;-1:-1:-1;;;11726:18:4;;;;;;;;;;;11700:44;-1:-1:-1;;;;;12079:16:4;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;12133:49:4;;-1:-1:-1;;;;;12079:44:4;;;;;;;12133:49;;;;-1:-1:-1;;12079:44:4;;;;;;12133:49;;;;;;;;;;;;;;;;12193:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;12238:66:4;;;;-1:-1:-1;;;12288:15:4;12238:66;;;;;;;;;;;12193:25;;12361:298;12381:8;12377:1;:12;12361:298;;;12415:38;;12440:12;;-1:-1:-1;;;;;12415:38:4;;;12432:1;;12415:38;;12432:1;;12415:38;12471:4;:68;;;;;12480:59;12511:1;12515:2;12519:12;12533:5;12480:22;:59::i;:::-;12479:60;12471:68;12467:154;;;12566:40;;-1:-1:-1;;;12566:40:4;;;;;;;;;;;12467:154;12634:14;;;;;12391:3;12361:298;;;-1:-1:-1;12669:13:4;:28;12713:60;9880:332;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:15;-1:-1:-1;;;;;;88:32:15;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:15;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:15;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:15:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:15;;1365:180;-1:-1:-1;1365:180:15:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:15;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:15:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;3077:254::-;3145:6;3153;3206:2;3194:9;3185:7;3181:23;3177:32;3174:52;;;3222:1;3219;3212:12;3174:52;3258:9;3245:23;3235:33;;3287:38;3321:2;3310:9;3306:18;3287:38;:::i;:::-;3277:48;;3077:254;;;;;:::o;3336:615::-;3422:6;3430;3483:2;3471:9;3462:7;3458:23;3454:32;3451:52;;;3499:1;3496;3489:12;3451:52;3539:9;3526:23;-1:-1:-1;;;;;3609:2:15;3601:6;3598:14;3595:34;;;3625:1;3622;3615:12;3595:34;3663:6;3652:9;3648:22;3638:32;;3708:7;3701:4;3697:2;3693:13;3689:27;3679:55;;3730:1;3727;3720:12;3679:55;3770:2;3757:16;3796:2;3788:6;3785:14;3782:34;;;3812:1;3809;3802:12;3782:34;3865:7;3860:2;3850:6;3847:1;3843:14;3839:2;3835:23;3831:32;3828:45;3825:65;;;3886:1;3883;3876:12;3825:65;3917:2;3909:11;;;;;3939:6;;-1:-1:-1;3336:615:15;;-1:-1:-1;;;;3336:615:15:o;3956:186::-;4015:6;4068:2;4056:9;4047:7;4043:23;4039:32;4036:52;;;4084:1;4081;4074:12;4036:52;4107:29;4126:9;4107:29;:::i;4147:127::-;4208:10;4203:3;4199:20;4196:1;4189:31;4239:4;4236:1;4229:15;4263:4;4260:1;4253:15;4279:632;4344:5;-1:-1:-1;;;;;4415:2:15;4407:6;4404:14;4401:40;;;4421:18;;:::i;:::-;4496:2;4490:9;4464:2;4550:15;;-1:-1:-1;;4546:24:15;;;4572:2;4542:33;4538:42;4526:55;;;4596:18;;;4616:22;;;4593:46;4590:72;;;4642:18;;:::i;:::-;4682:10;4678:2;4671:22;4711:6;4702:15;;4741:6;4733;4726:22;4781:3;4772:6;4767:3;4763:16;4760:25;4757:45;;;4798:1;4795;4788:12;4757:45;4848:6;4843:3;4836:4;4828:6;4824:17;4811:44;4903:1;4896:4;4887:6;4879;4875:19;4871:30;4864:41;;;;4279:632;;;;;:::o;4916:451::-;4985:6;5038:2;5026:9;5017:7;5013:23;5009:32;5006:52;;;5054:1;5051;5044:12;5006:52;5094:9;5081:23;-1:-1:-1;;;;;5119:6:15;5116:30;5113:50;;;5159:1;5156;5149:12;5113:50;5182:22;;5235:4;5227:13;;5223:27;-1:-1:-1;5213:55:15;;5264:1;5261;5254:12;5213:55;5287:74;5353:7;5348:2;5335:16;5330:2;5326;5322:11;5287:74;:::i;5372:347::-;5437:6;5445;5498:2;5486:9;5477:7;5473:23;5469:32;5466:52;;;5514:1;5511;5504:12;5466:52;5537:29;5556:9;5537:29;:::i;:::-;5527:39;;5616:2;5605:9;5601:18;5588:32;5663:5;5656:13;5649:21;5642:5;5639:32;5629:60;;5685:1;5682;5675:12;5629:60;5708:5;5698:15;;;5372:347;;;;;:::o;5724:667::-;5819:6;5827;5835;5843;5896:3;5884:9;5875:7;5871:23;5867:33;5864:53;;;5913:1;5910;5903:12;5864:53;5936:29;5955:9;5936:29;:::i;:::-;5926:39;;5984:38;6018:2;6007:9;6003:18;5984:38;:::i;:::-;5974:48;;6069:2;6058:9;6054:18;6041:32;6031:42;;6124:2;6113:9;6109:18;6096:32;-1:-1:-1;;;;;6143:6:15;6140:30;6137:50;;;6183:1;6180;6173:12;6137:50;6206:22;;6259:4;6251:13;;6247:27;-1:-1:-1;6237:55:15;;6288:1;6285;6278:12;6237:55;6311:74;6377:7;6372:2;6359:16;6354:2;6350;6346:11;6311:74;:::i;:::-;6301:84;;;5724:667;;;;;;;:::o;6396:260::-;6464:6;6472;6525:2;6513:9;6504:7;6500:23;6496:32;6493:52;;;6541:1;6538;6531:12;6493:52;6564:29;6583:9;6564:29;:::i;:::-;6554:39;;6612:38;6646:2;6635:9;6631:18;6612:38;:::i;6661:380::-;6740:1;6736:12;;;;6783;;;6804:61;;6858:4;6850:6;6846:17;6836:27;;6804:61;6911:2;6903:6;6900:14;6880:18;6877:38;6874:161;;6957:10;6952:3;6948:20;6945:1;6938:31;6992:4;6989:1;6982:15;7020:4;7017:1;7010:15;6874:161;;6661:380;;;:::o;7405:127::-;7466:10;7461:3;7457:20;7454:1;7447:31;7497:4;7494:1;7487:15;7521:4;7518:1;7511:15;7537:128;7577:3;7608:1;7604:6;7601:1;7598:13;7595:39;;;7614:18;;:::i;:::-;-1:-1:-1;7650:9:15;;7537:128::o;9149:127::-;9210:10;9205:3;9201:20;9198:1;9191:31;9241:4;9238:1;9231:15;9265:4;9262:1;9255:15;9637:135;9676:3;9697:17;;;9694:43;;9717:18;;:::i;:::-;-1:-1:-1;9764:1:15;9753:13;;9637:135::o;10905:185::-;10947:3;10985:5;10979:12;11000:52;11045:6;11040:3;11033:4;11026:5;11022:16;11000:52;:::i;:::-;11068:16;;;;;10905:185;-1:-1:-1;;10905:185:15:o;11095:786::-;11506:25;11501:3;11494:38;11476:3;11561:6;11555:13;11577:62;11632:6;11627:2;11622:3;11618:12;11611:4;11603:6;11599:17;11577:62;:::i;:::-;-1:-1:-1;;;11698:2:15;11658:16;;;11690:11;;;11683:40;11748:13;;11770:63;11748:13;11819:2;11811:11;;11804:4;11792:17;;11770:63;:::i;:::-;11853:17;11872:2;11849:26;;11095:786;-1:-1:-1;;;;11095:786:15:o;11886:500::-;-1:-1:-1;;;;;12155:15:15;;;12137:34;;12207:15;;12202:2;12187:18;;12180:43;12254:2;12239:18;;12232:34;;;12302:3;12297:2;12282:18;;12275:31;;;12080:4;;12323:57;;12360:19;;12352:6;12323:57;:::i;:::-;12315:65;11886:500;-1:-1:-1;;;;;;11886:500:15:o;12391:249::-;12460:6;12513:2;12501:9;12492:7;12488:23;12484:32;12481:52;;;12529:1;12526;12519:12;12481:52;12561:9;12555:16;12580:30;12604:5;12580:30;:::i;12771:1174::-;12947:3;12976:1;13009:6;13003:13;13039:3;13061:1;13089:9;13085:2;13081:18;13071:28;;13149:2;13138:9;13134:18;13171;13161:61;;13215:4;13207:6;13203:17;13193:27;;13161:61;13241:2;13289;13281:6;13278:14;13258:18;13255:38;13252:165;;-1:-1:-1;;;13316:33:15;;13372:4;13369:1;13362:15;13402:4;13323:3;13390:17;13252:165;13433:18;13460:104;;;;13578:1;13573:320;;;;13426:467;;13460:104;-1:-1:-1;;13493:24:15;;13481:37;;13538:16;;;;-1:-1:-1;13460:104:15;;13573:320;12718:1;12711:14;;;12755:4;12742:18;;13668:1;13682:165;13696:6;13693:1;13690:13;13682:165;;;13774:14;;13761:11;;;13754:35;13817:16;;;;13711:10;;13682:165;;;13686:3;;13876:6;13871:3;13867:16;13860:23;;13426:467;;;;;;;13909:30;13935:3;13927:6;13909:30;:::i;:::-;13902:37;12771:1174;-1:-1:-1;;;;;12771:1174:15:o;13950:168::-;13990:7;14056:1;14052;14048:6;14044:14;14041:1;14038:21;14033:1;14026:9;14019:17;14015:45;14012:71;;;14063:18;;:::i;:::-;-1:-1:-1;14103:9:15;;13950:168::o;14123:136::-;14162:3;14190:5;14180:39;;14199:18;;:::i;:::-;-1:-1:-1;;;14235:18:15;;14123:136::o;14625:127::-;14686:10;14681:3;14677:20;14674:1;14667:31;14717:4;14714:1;14707:15;14741:4;14738:1;14731:15;14757:120;14797:1;14823;14813:35;;14828:18;;:::i;:::-;-1:-1:-1;14862:9:15;;14757:120::o;14882:125::-;14922:4;14950:1;14947;14944:8;14941:34;;;14955:18;;:::i;:::-;-1:-1:-1;14992:9:15;;14882:125::o;15012:112::-;15044:1;15070;15060:35;;15075:18;;:::i;:::-;-1:-1:-1;15109:9:15;;15012:112::o

Swarm Source

ipfs://6e18b7c782dcc235ef7fc61fa1cc2fa1d9fa98885019ae0196e71afcd758dbdb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Sneaky Goblins is a Low Supply Collection of 4,444 highly-detailed 3D Goblins bridging the gap between NFT Art & Utility.Goblins are developing a large panel of utilities, including but not limited to: Staking, Upgrades, Mutation, Marketplace, Alpha & Tools, and more) all ...

Validator Index Block Amount
View All Withdrawals

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

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