ETH Price: $2,312.29 (-0.15%)

Contract

0x4e82450A73d60419A6c07aC6767f1b3003c70292
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...198673562024-05-14 9:27:59125 days ago1715678879IN
0x4e82450A...003c70292
0 ETH0.000300516.52499062
Update Config179697572023-08-22 10:48:11391 days ago1692701291IN
0x4e82450A...003c70292
0 ETH0.0009444520.24908622
Update Config179696812023-08-22 10:32:59391 days ago1692700379IN
0x4e82450A...003c70292
0 ETH0.0010001319.14866242
Update Config174068972023-06-04 11:17:47470 days ago1685877467IN
0x4e82450A...003c70292
0 ETH0.0006320218.52205107
Set Approval For...169954572023-04-07 8:31:11528 days ago1680856271IN
0x4e82450A...003c70292
0 ETH0.0010881823.62749413
Safe Transfer Fr...169878612023-04-06 6:30:23530 days ago1680762623IN
0x4e82450A...003c70292
0 ETH0.0014545325.17931632
Safe Transfer Fr...167211342023-02-27 17:52:11567 days ago1677520331IN
0x4e82450A...003c70292
0 ETH0.0014269622.80704107
Safe Transfer Fr...167157292023-02-26 23:39:23568 days ago1677454763IN
0x4e82450A...003c70292
0 ETH0.0012748620.37598742
Transfer Ownersh...167059492023-02-25 14:40:23569 days ago1677336023IN
0x4e82450A...003c70292
0 ETH0.0006402422.3588074
Update Config167035392023-02-25 6:30:47570 days ago1677306647IN
0x4e82450A...003c70292
0 ETH0.001010519.72751426
0x61010060167035372023-02-25 6:30:23570 days ago1677306623IN
 Create: Babes
0 ETH0.0393010420

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Babes

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 11 : Babes.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

import "solmate/src/tokens/ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./interfaces/IBabes.sol";

contract Babes is IBabes, Ownable, ERC721, ERC2981 {
  // EVENTS *****************************************************

  event ConfigUpdated(bytes32 config, bytes value);
  event ConfigLocked(bytes32 config);

  // ERRORS *****************************************************

  error InvalidConfig(bytes32 config);
  error ConfigIsLocked(bytes32 config);
  error Unauthorized();
  error NonExistentToken(uint256 tokenId);

  // Storage *****************************************************

  /// @notice Maximum tokenId that can be minted
  uint256 public constant TOKEN_LIMIT = 101;

  /// @notice Address approved to mint tokens in this contract
  address public approvedMinter;

  /// @notice BaseURI for token metadata
  string public baseURI = "ipfs://bafybeigvjsxzoq3zrp5gaptgxeptd5a75kddzg3l3yvlzit2kzdw5smrfy/";

  /// @notice Contract metadata URI
  string public contractURI = "ipfs://bafkreiea6sdtrmwizoftolktj24ott3fwgzzmdi2oi46jp2lj56adjn2li";

  mapping(bytes32 => bool) configLocked;

  // Constructor *****************************************************

  constructor() ERC721("101 BABES", "BABE") {
    _setDefaultRoyalty(0x19461698453e26b98ceE5B984e1a86e13C0f68Be, 1000); // 10% royalties
  }

  // Modifiers *****************************************************

  modifier onlyApprovedMinter() {
    if (msg.sender != approvedMinter) revert Unauthorized();
    _;
  }

  // Owner Methods *****************************************************

  function updateConfig(bytes32 config, bytes calldata value) external onlyOwner {
    if (configLocked[config]) revert ConfigIsLocked(config);

    if (config == "baseURI") baseURI = abi.decode(value, (string));
    else if (config == "contractURI") contractURI = abi.decode(value, (string));
    else if (config == "minter") approvedMinter = abi.decode(value, (address));
    else if (config == "royalty") {
      (address recipient, uint96 numerator) = abi.decode(value, (address, uint96));
      _setDefaultRoyalty(recipient, numerator);
    } else revert InvalidConfig(config);

    emit ConfigUpdated(config, value);
  }

  function lockConfig(bytes32 config) external onlyOwner {
    configLocked[config] = true;

    emit ConfigLocked(config);
  }

  // Restricted Methods *****************************************************

  function mint(address to, uint256[] calldata tokenIds) external onlyApprovedMinter {
    unchecked {
      for (uint256 i = 0; i < tokenIds.length; i++) {
        if (tokenIds[i] > TOKEN_LIMIT) revert NonExistentToken(tokenIds[i]);

        _mint(to, tokenIds[i]);
      }
    }
  }

  // Override Methods *****************************************************

  /// @notice Returns the metadata URI for a given token
  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    if (_ownerOf[tokenId] == address(0)) revert NonExistentToken(tokenId);

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

  function supportsInterface(bytes4 interfaceId) public view override(ERC2981, ERC721) returns (bool) {
    return ERC721.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
  }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 3 of 11 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 11 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 5 of 11 : 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 6 of 11 : 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 7 of 11 : 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 8 of 11 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 9 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 10 of 11 : IBabes.sol
// SPDX-License-Identifier: None
pragma solidity ^0.8.17;

interface IBabes {
  /// @notice Mint a group of tokenIds to a single address
  /// @param to The recipient address for the newly minted tokens
  /// @param tokenIds The tokenIds to mint
  function mint(address to, uint256[] calldata tokenIds) external;
}

File 11 of 11 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*//////////////////////////////////////////////////////////////
                         METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal _ownerOf;

    mapping(address => uint256) internal _balanceOf;

    function ownerOf(uint256 id) public view virtual returns (address owner) {
        require((owner = _ownerOf[id]) != address(0), "NOT_MINTED");
    }

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ZERO_ADDRESS");

        return _balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = _ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == _ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;

            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(_ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

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

    function _burn(uint256 id) internal virtual {
        address owner = _ownerOf[id];

        require(owner != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }

        delete _ownerOf[id];

        delete getApproved[id];

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

    /*//////////////////////////////////////////////////////////////
                        INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes32","name":"config","type":"bytes32"}],"name":"ConfigIsLocked","type":"error"},{"inputs":[{"internalType":"bytes32","name":"config","type":"bytes32"}],"name":"InvalidConfig","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"config","type":"bytes32"}],"name":"ConfigLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"config","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"value","type":"bytes"}],"name":"ConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approvedMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"config","type":"bytes32"}],"name":"lockConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","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":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"config","type":"bytes32"},{"internalType":"bytes","name":"value","type":"bytes"}],"name":"updateConfig","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405260436080818152906200216e60a039600a9062000023908262000301565b50604051806080016040528060428152602001620021b160429139600b906200004d908262000301565b503480156200005b57600080fd5b506040518060400160405280600981526020016831303120424142455360b81b815250604051806040016040528060048152602001634241424560e01b815250620000b5620000af6200010360201b60201c565b62000107565b6001620000c3838262000301565b506002620000d2828262000301565b505050620000fd7319461698453e26b98cee5b984e1a86e13c0f68be6103e86200015760201b60201c565b620003cd565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620001cb5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002235760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001c2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600755565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200028757607f821691505b602082108103620002a857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002fc57600081815260208120601f850160051c81016020861015620002d75750805b601f850160051c820191505b81811015620002f857828155600101620002e3565b5050505b505050565b81516001600160401b038111156200031d576200031d6200025c565b62000335816200032e845462000272565b84620002ae565b602080601f8311600181146200036d5760008415620003545750858301515b600019600386901b1c1916600185901b178555620002f8565b600085815260208120601f198616915b828110156200039e578886015182559484019460019091019084016200037d565b5085821015620003bd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611d9180620003dd6000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c8063715018a6116100e3578063b88d4fde1161008c578063e8a3d48511610066578063e8a3d48514610372578063e985e9c51461037a578063f2fde38b146103a857600080fd5b8063b88d4fde14610339578063c87b56dd1461034c578063de836ebd1461035f57600080fd5b80639bb45355116100bd5780639bb45355146103005780639be4f8b914610313578063a22cb4651461032657600080fd5b8063715018a6146102df5780638da5cb5b146102e757806395d89b41146102f857600080fd5b80632a55205a116101455780636352211e1161011f5780636352211e146102b15780636c0360eb146102c457806370a08231146102cc57600080fd5b80632a55205a1461025957806342842e0e1461028b578063554eeb441461029e57600080fd5b8063081812fc11610176578063081812fc146101f0578063095ea7b31461023157806323b872dd1461024657600080fd5b806301ffc9a71461019d578063031bd4c4146101c557806306fdde03146101db575b600080fd5b6101b06101ab366004611636565b6103bb565b60405190151581526020015b60405180910390f35b6101cd606581565b6040519081526020016101bc565b6101e36103db565b6040516101bc919061167e565b6102196101fe3660046116b1565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101bc565b61024461023f3660046116df565b610469565b005b61024461025436600461170b565b61056c565b61026c61026736600461174c565b61076e565b604080516001600160a01b0390931683526020830191909152016101bc565b61024461029936600461170b565b61084d565b6102446102ac3660046116b1565b61096b565b6102196102bf3660046116b1565b6109c9565b6101e3610a33565b6101cd6102da36600461176e565b610a40565b610244610ab4565b6000546001600160a01b0316610219565b6101e3610ac8565b61024461030e3660046117cd565b610ad5565b600954610219906001600160a01b031681565b610244610334366004611819565b610cd4565b610244610347366004611857565b610d40565b6101e361035a3660046116b1565b610e4e565b61024461036d3660046118ca565b610efe565b6101e3610fec565b6101b0610388366004611952565b600660209081526000928352604080842090915290825290205460ff1681565b6102446103b636600461176e565b610ff9565b60006103c682611089565b806103d557506103d582611122565b92915050565b600180546103e890611980565b80601f016020809104026020016040519081016040528092919081815260200182805461041490611980565b80156104615780601f1061043657610100808354040283529160200191610461565b820191906000526020600020905b81548152906001019060200180831161044457829003601f168201915b505050505081565b6000818152600360205260409020546001600160a01b0316338114806104b257506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6105035760405162461bcd60e51b815260206004820152600e60248201527f4e4f545f415554484f52495a454400000000000000000000000000000000000060448201526064015b60405180910390fd5b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600360205260409020546001600160a01b038481169116146105d55760405162461bcd60e51b815260206004820152600a60248201527f57524f4e475f46524f4d0000000000000000000000000000000000000000000060448201526064016104fa565b6001600160a01b03821661062b5760405162461bcd60e51b815260206004820152601160248201527f494e56414c49445f524543495049454e5400000000000000000000000000000060448201526064016104fa565b336001600160a01b038416148061066557506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b8061068657506000818152600560205260409020546001600160a01b031633145b6106d25760405162461bcd60e51b815260206004820152600e60248201527f4e4f545f415554484f52495a454400000000000000000000000000000000000060448201526064016104fa565b6001600160a01b03808416600081815260046020908152604080832080546000190190559386168083528483208054600101905585835260038252848320805473ffffffffffffffffffffffffffffffffffffffff199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692820192909252829161080f5750604080518082019091526007546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610833906bffffffffffffffffffffffff16876119ba565b61083d91906119df565b91519350909150505b9250929050565b61085883838361056c565b6001600160a01b0382163b158061091a57506040517f150b7a02000000000000000000000000000000000000000000000000000000008082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af11580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e9190611a01565b6001600160e01b031916145b6109665760405162461bcd60e51b815260206004820152601060248201527f554e534146455f524543495049454e540000000000000000000000000000000060448201526064016104fa565b505050565b610973611189565b6000818152600c602052604090819020805460ff19166001179055517fb73325293ffcbb80af24eb5aa6879b3f1fa93525b583a5e6d8764ab337f9d185906109be9083815260200190565b60405180910390a150565b6000818152600360205260409020546001600160a01b031680610a2e5760405162461bcd60e51b815260206004820152600a60248201527f4e4f545f4d494e5445440000000000000000000000000000000000000000000060448201526064016104fa565b919050565b600a80546103e890611980565b60006001600160a01b038216610a985760405162461bcd60e51b815260206004820152600c60248201527f5a45524f5f41444452455353000000000000000000000000000000000000000060448201526064016104fa565b506001600160a01b031660009081526004602052604090205490565b610abc611189565b610ac660006111e3565b565b600280546103e890611980565b610add611189565b6000838152600c602052604090205460ff1615610b29576040517f06d4e75c000000000000000000000000000000000000000000000000000000008152600481018490526024016104fa565b827f626173655552490000000000000000000000000000000000000000000000000003610b6f57610b5c81830183611a34565b600a90610b699082611b33565b50610c94565b827f636f6e747261637455524900000000000000000000000000000000000000000003610baf57610ba281830183611a34565b600b90610b699082611b33565b827f6d696e746572000000000000000000000000000000000000000000000000000003610c1457610be28183018361176e565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055610c94565b827f726f79616c74790000000000000000000000000000000000000000000000000003610c5f57600080610c4a83850185611bf3565b91509150610c588282611240565b5050610c94565b6040517ffd2cc746000000000000000000000000000000000000000000000000000000008152600481018490526024016104fa565b7fd97d1d65f3cae3537cf4c61e688583d89aae53d8b32accdfe7cb189e65ef34c7838383604051610cc793929190611c5d565b60405180910390a1505050565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d4b85858561056c565b6001600160a01b0384163b1580610dfb57506040517f150b7a0200000000000000000000000000000000000000000000000000000000808252906001600160a01b0386169063150b7a0290610dac9033908a90899089908990600401611c80565b6020604051808303816000875af1158015610dcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610def9190611a01565b6001600160e01b031916145b610e475760405162461bcd60e51b815260206004820152601060248201527f554e534146455f524543495049454e540000000000000000000000000000000060448201526064016104fa565b5050505050565b6000818152600360205260409020546060906001600160a01b0316610ea2576040517f38077a2b000000000000000000000000000000000000000000000000000000008152600481018390526024016104fa565b6000600a8054610eb190611980565b905011610ecd57604051806020016040528060008152506103d5565b600a610ed88361136b565b604051602001610ee9929190611cbe565b60405160208183030381529060405292915050565b6009546001600160a01b03163314610f42576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610fe6576065838383818110610f6157610f61611d45565b905060200201351115610fbc57828282818110610f8057610f80611d45565b905060200201356040517f38077a2b0000000000000000000000000000000000000000000000000000000081526004016104fa91815260200190565b610fde84848484818110610fd257610fd2611d45565b9050602002013561140b565b600101610f45565b50505050565b600b80546103e890611980565b611001611189565b6001600160a01b03811661107d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104fa565b611086816111e3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806110ec57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806103d55750506001600160e01b0319167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b60006001600160e01b031982167f2a55205a0000000000000000000000000000000000000000000000000000000014806103d557507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146103d5565b6000546001600160a01b03163314610ac65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104fa565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106bffffffffffffffffffffffff821611156112c65760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016104fa565b6001600160a01b03821661131c5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016104fa565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600755565b606060006113788361153e565b600101905060008167ffffffffffffffff81111561139857611398611a1e565b6040519080825280601f01601f1916602001820160405280156113c2576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846113cc57509392505050565b6001600160a01b0382166114615760405162461bcd60e51b815260206004820152601160248201527f494e56414c49445f524543495049454e5400000000000000000000000000000060448201526064016104fa565b6000818152600360205260409020546001600160a01b0316156114c65760405162461bcd60e51b815260206004820152600e60248201527f414c52454144595f4d494e54454400000000000000000000000000000000000060448201526064016104fa565b6001600160a01b0382166000818152600460209081526040808320805460010190558483526003909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611587577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106115b3576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d157662386f26fc10000830492506010015b6305f5e10083106115e9576305f5e100830492506008015b61271083106115fd57612710830492506004015b6064831061160f576064830492506002015b600a83106103d55760010192915050565b6001600160e01b03198116811461108657600080fd5b60006020828403121561164857600080fd5b813561165381611620565b9392505050565b60005b8381101561167557818101518382015260200161165d565b50506000910152565b602081526000825180602084015261169d81604085016020870161165a565b601f01601f19169190910160400192915050565b6000602082840312156116c357600080fd5b5035919050565b6001600160a01b038116811461108657600080fd5b600080604083850312156116f257600080fd5b82356116fd816116ca565b946020939093013593505050565b60008060006060848603121561172057600080fd5b833561172b816116ca565b9250602084013561173b816116ca565b929592945050506040919091013590565b6000806040838503121561175f57600080fd5b50508035926020909101359150565b60006020828403121561178057600080fd5b8135611653816116ca565b60008083601f84011261179d57600080fd5b50813567ffffffffffffffff8111156117b557600080fd5b60208301915083602082850101111561084657600080fd5b6000806000604084860312156117e257600080fd5b83359250602084013567ffffffffffffffff81111561180057600080fd5b61180c8682870161178b565b9497909650939450505050565b6000806040838503121561182c57600080fd5b8235611837816116ca565b91506020830135801515811461184c57600080fd5b809150509250929050565b60008060008060006080868803121561186f57600080fd5b853561187a816116ca565b9450602086013561188a816116ca565b935060408601359250606086013567ffffffffffffffff8111156118ad57600080fd5b6118b98882890161178b565b969995985093965092949392505050565b6000806000604084860312156118df57600080fd5b83356118ea816116ca565b9250602084013567ffffffffffffffff8082111561190757600080fd5b818601915086601f83011261191b57600080fd5b81358181111561192a57600080fd5b8760208260051b850101111561193f57600080fd5b6020830194508093505050509250925092565b6000806040838503121561196557600080fd5b8235611970816116ca565b9150602083013561184c816116ca565b600181811c9082168061199457607f821691505b6020821081036119b457634e487b7160e01b600052602260045260246000fd5b50919050565b80820281158282048414176103d557634e487b7160e01b600052601160045260246000fd5b6000826119fc57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a1357600080fd5b815161165381611620565b634e487b7160e01b600052604160045260246000fd5b600060208284031215611a4657600080fd5b813567ffffffffffffffff80821115611a5e57600080fd5b818401915084601f830112611a7257600080fd5b813581811115611a8457611a84611a1e565b604051601f8201601f19908116603f01168101908382118183101715611aac57611aac611a1e565b81604052828152876020848701011115611ac557600080fd5b826020860160208301376000928101602001929092525095945050505050565b601f82111561096657600081815260208120601f850160051c81016020861015611b0c5750805b601f850160051c820191505b81811015611b2b57828155600101611b18565b505050505050565b815167ffffffffffffffff811115611b4d57611b4d611a1e565b611b6181611b5b8454611980565b84611ae5565b602080601f831160018114611b965760008415611b7e5750858301515b600019600386901b1c1916600185901b178555611b2b565b600085815260208120601f198616915b82811015611bc557888601518255948401946001909101908401611ba6565b5085821015611be35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c0657600080fd5b8235611c11816116ca565b915060208301356bffffffffffffffffffffffff8116811461184c57600080fd5b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b838152604060208201526000611c77604083018486611c32565b95945050505050565b60006001600160a01b03808816835280871660208401525084604083015260806060830152611cb3608083018486611c32565b979650505050505050565b6000808454611ccc81611980565b60018281168015611ce45760018114611cf957611d28565b60ff1984168752821515830287019450611d28565b8860005260208060002060005b85811015611d1f5781548a820152908401908201611d06565b50505082870194505b505050508351611d3c81836020880161165a565b01949350505050565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202c5740cb9370fb43634f09667b24e32c5e9c98891825d9ddb6b1d48e842adc7764736f6c63430008110033697066733a2f2f6261667962656967766a73787a6f71337a72703567617074677865707464356137356b64647a67336c3379766c7a6974326b7a647735736d7266792f697066733a2f2f6261666b726569656136736474726d77697a6f66746f6c6b746a32346f7474336677677a7a6d6469326f6934366a70326c6a353661646a6e326c69

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101985760003560e01c8063715018a6116100e3578063b88d4fde1161008c578063e8a3d48511610066578063e8a3d48514610372578063e985e9c51461037a578063f2fde38b146103a857600080fd5b8063b88d4fde14610339578063c87b56dd1461034c578063de836ebd1461035f57600080fd5b80639bb45355116100bd5780639bb45355146103005780639be4f8b914610313578063a22cb4651461032657600080fd5b8063715018a6146102df5780638da5cb5b146102e757806395d89b41146102f857600080fd5b80632a55205a116101455780636352211e1161011f5780636352211e146102b15780636c0360eb146102c457806370a08231146102cc57600080fd5b80632a55205a1461025957806342842e0e1461028b578063554eeb441461029e57600080fd5b8063081812fc11610176578063081812fc146101f0578063095ea7b31461023157806323b872dd1461024657600080fd5b806301ffc9a71461019d578063031bd4c4146101c557806306fdde03146101db575b600080fd5b6101b06101ab366004611636565b6103bb565b60405190151581526020015b60405180910390f35b6101cd606581565b6040519081526020016101bc565b6101e36103db565b6040516101bc919061167e565b6102196101fe3660046116b1565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101bc565b61024461023f3660046116df565b610469565b005b61024461025436600461170b565b61056c565b61026c61026736600461174c565b61076e565b604080516001600160a01b0390931683526020830191909152016101bc565b61024461029936600461170b565b61084d565b6102446102ac3660046116b1565b61096b565b6102196102bf3660046116b1565b6109c9565b6101e3610a33565b6101cd6102da36600461176e565b610a40565b610244610ab4565b6000546001600160a01b0316610219565b6101e3610ac8565b61024461030e3660046117cd565b610ad5565b600954610219906001600160a01b031681565b610244610334366004611819565b610cd4565b610244610347366004611857565b610d40565b6101e361035a3660046116b1565b610e4e565b61024461036d3660046118ca565b610efe565b6101e3610fec565b6101b0610388366004611952565b600660209081526000928352604080842090915290825290205460ff1681565b6102446103b636600461176e565b610ff9565b60006103c682611089565b806103d557506103d582611122565b92915050565b600180546103e890611980565b80601f016020809104026020016040519081016040528092919081815260200182805461041490611980565b80156104615780601f1061043657610100808354040283529160200191610461565b820191906000526020600020905b81548152906001019060200180831161044457829003601f168201915b505050505081565b6000818152600360205260409020546001600160a01b0316338114806104b257506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6105035760405162461bcd60e51b815260206004820152600e60248201527f4e4f545f415554484f52495a454400000000000000000000000000000000000060448201526064015b60405180910390fd5b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600360205260409020546001600160a01b038481169116146105d55760405162461bcd60e51b815260206004820152600a60248201527f57524f4e475f46524f4d0000000000000000000000000000000000000000000060448201526064016104fa565b6001600160a01b03821661062b5760405162461bcd60e51b815260206004820152601160248201527f494e56414c49445f524543495049454e5400000000000000000000000000000060448201526064016104fa565b336001600160a01b038416148061066557506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b8061068657506000818152600560205260409020546001600160a01b031633145b6106d25760405162461bcd60e51b815260206004820152600e60248201527f4e4f545f415554484f52495a454400000000000000000000000000000000000060448201526064016104fa565b6001600160a01b03808416600081815260046020908152604080832080546000190190559386168083528483208054600101905585835260038252848320805473ffffffffffffffffffffffffffffffffffffffff199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692820192909252829161080f5750604080518082019091526007546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610833906bffffffffffffffffffffffff16876119ba565b61083d91906119df565b91519350909150505b9250929050565b61085883838361056c565b6001600160a01b0382163b158061091a57506040517f150b7a02000000000000000000000000000000000000000000000000000000008082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af11580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e9190611a01565b6001600160e01b031916145b6109665760405162461bcd60e51b815260206004820152601060248201527f554e534146455f524543495049454e540000000000000000000000000000000060448201526064016104fa565b505050565b610973611189565b6000818152600c602052604090819020805460ff19166001179055517fb73325293ffcbb80af24eb5aa6879b3f1fa93525b583a5e6d8764ab337f9d185906109be9083815260200190565b60405180910390a150565b6000818152600360205260409020546001600160a01b031680610a2e5760405162461bcd60e51b815260206004820152600a60248201527f4e4f545f4d494e5445440000000000000000000000000000000000000000000060448201526064016104fa565b919050565b600a80546103e890611980565b60006001600160a01b038216610a985760405162461bcd60e51b815260206004820152600c60248201527f5a45524f5f41444452455353000000000000000000000000000000000000000060448201526064016104fa565b506001600160a01b031660009081526004602052604090205490565b610abc611189565b610ac660006111e3565b565b600280546103e890611980565b610add611189565b6000838152600c602052604090205460ff1615610b29576040517f06d4e75c000000000000000000000000000000000000000000000000000000008152600481018490526024016104fa565b827f626173655552490000000000000000000000000000000000000000000000000003610b6f57610b5c81830183611a34565b600a90610b699082611b33565b50610c94565b827f636f6e747261637455524900000000000000000000000000000000000000000003610baf57610ba281830183611a34565b600b90610b699082611b33565b827f6d696e746572000000000000000000000000000000000000000000000000000003610c1457610be28183018361176e565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055610c94565b827f726f79616c74790000000000000000000000000000000000000000000000000003610c5f57600080610c4a83850185611bf3565b91509150610c588282611240565b5050610c94565b6040517ffd2cc746000000000000000000000000000000000000000000000000000000008152600481018490526024016104fa565b7fd97d1d65f3cae3537cf4c61e688583d89aae53d8b32accdfe7cb189e65ef34c7838383604051610cc793929190611c5d565b60405180910390a1505050565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d4b85858561056c565b6001600160a01b0384163b1580610dfb57506040517f150b7a0200000000000000000000000000000000000000000000000000000000808252906001600160a01b0386169063150b7a0290610dac9033908a90899089908990600401611c80565b6020604051808303816000875af1158015610dcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610def9190611a01565b6001600160e01b031916145b610e475760405162461bcd60e51b815260206004820152601060248201527f554e534146455f524543495049454e540000000000000000000000000000000060448201526064016104fa565b5050505050565b6000818152600360205260409020546060906001600160a01b0316610ea2576040517f38077a2b000000000000000000000000000000000000000000000000000000008152600481018390526024016104fa565b6000600a8054610eb190611980565b905011610ecd57604051806020016040528060008152506103d5565b600a610ed88361136b565b604051602001610ee9929190611cbe565b60405160208183030381529060405292915050565b6009546001600160a01b03163314610f42576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610fe6576065838383818110610f6157610f61611d45565b905060200201351115610fbc57828282818110610f8057610f80611d45565b905060200201356040517f38077a2b0000000000000000000000000000000000000000000000000000000081526004016104fa91815260200190565b610fde84848484818110610fd257610fd2611d45565b9050602002013561140b565b600101610f45565b50505050565b600b80546103e890611980565b611001611189565b6001600160a01b03811661107d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104fa565b611086816111e3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806110ec57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806103d55750506001600160e01b0319167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b60006001600160e01b031982167f2a55205a0000000000000000000000000000000000000000000000000000000014806103d557507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146103d5565b6000546001600160a01b03163314610ac65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104fa565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106bffffffffffffffffffffffff821611156112c65760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016104fa565b6001600160a01b03821661131c5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016104fa565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600755565b606060006113788361153e565b600101905060008167ffffffffffffffff81111561139857611398611a1e565b6040519080825280601f01601f1916602001820160405280156113c2576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846113cc57509392505050565b6001600160a01b0382166114615760405162461bcd60e51b815260206004820152601160248201527f494e56414c49445f524543495049454e5400000000000000000000000000000060448201526064016104fa565b6000818152600360205260409020546001600160a01b0316156114c65760405162461bcd60e51b815260206004820152600e60248201527f414c52454144595f4d494e54454400000000000000000000000000000000000060448201526064016104fa565b6001600160a01b0382166000818152600460209081526040808320805460010190558483526003909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611587577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106115b3576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d157662386f26fc10000830492506010015b6305f5e10083106115e9576305f5e100830492506008015b61271083106115fd57612710830492506004015b6064831061160f576064830492506002015b600a83106103d55760010192915050565b6001600160e01b03198116811461108657600080fd5b60006020828403121561164857600080fd5b813561165381611620565b9392505050565b60005b8381101561167557818101518382015260200161165d565b50506000910152565b602081526000825180602084015261169d81604085016020870161165a565b601f01601f19169190910160400192915050565b6000602082840312156116c357600080fd5b5035919050565b6001600160a01b038116811461108657600080fd5b600080604083850312156116f257600080fd5b82356116fd816116ca565b946020939093013593505050565b60008060006060848603121561172057600080fd5b833561172b816116ca565b9250602084013561173b816116ca565b929592945050506040919091013590565b6000806040838503121561175f57600080fd5b50508035926020909101359150565b60006020828403121561178057600080fd5b8135611653816116ca565b60008083601f84011261179d57600080fd5b50813567ffffffffffffffff8111156117b557600080fd5b60208301915083602082850101111561084657600080fd5b6000806000604084860312156117e257600080fd5b83359250602084013567ffffffffffffffff81111561180057600080fd5b61180c8682870161178b565b9497909650939450505050565b6000806040838503121561182c57600080fd5b8235611837816116ca565b91506020830135801515811461184c57600080fd5b809150509250929050565b60008060008060006080868803121561186f57600080fd5b853561187a816116ca565b9450602086013561188a816116ca565b935060408601359250606086013567ffffffffffffffff8111156118ad57600080fd5b6118b98882890161178b565b969995985093965092949392505050565b6000806000604084860312156118df57600080fd5b83356118ea816116ca565b9250602084013567ffffffffffffffff8082111561190757600080fd5b818601915086601f83011261191b57600080fd5b81358181111561192a57600080fd5b8760208260051b850101111561193f57600080fd5b6020830194508093505050509250925092565b6000806040838503121561196557600080fd5b8235611970816116ca565b9150602083013561184c816116ca565b600181811c9082168061199457607f821691505b6020821081036119b457634e487b7160e01b600052602260045260246000fd5b50919050565b80820281158282048414176103d557634e487b7160e01b600052601160045260246000fd5b6000826119fc57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a1357600080fd5b815161165381611620565b634e487b7160e01b600052604160045260246000fd5b600060208284031215611a4657600080fd5b813567ffffffffffffffff80821115611a5e57600080fd5b818401915084601f830112611a7257600080fd5b813581811115611a8457611a84611a1e565b604051601f8201601f19908116603f01168101908382118183101715611aac57611aac611a1e565b81604052828152876020848701011115611ac557600080fd5b826020860160208301376000928101602001929092525095945050505050565b601f82111561096657600081815260208120601f850160051c81016020861015611b0c5750805b601f850160051c820191505b81811015611b2b57828155600101611b18565b505050505050565b815167ffffffffffffffff811115611b4d57611b4d611a1e565b611b6181611b5b8454611980565b84611ae5565b602080601f831160018114611b965760008415611b7e5750858301515b600019600386901b1c1916600185901b178555611b2b565b600085815260208120601f198616915b82811015611bc557888601518255948401946001909101908401611ba6565b5085821015611be35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c0657600080fd5b8235611c11816116ca565b915060208301356bffffffffffffffffffffffff8116811461184c57600080fd5b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b838152604060208201526000611c77604083018486611c32565b95945050505050565b60006001600160a01b03808816835280871660208401525084604083015260806060830152611cb3608083018486611c32565b979650505050505050565b6000808454611ccc81611980565b60018281168015611ce45760018114611cf957611d28565b60ff1984168752821515830287019450611d28565b8860005260208060002060005b85811015611d1f5781548a820152908401908201611d06565b50505082870194505b505050508351611d3c81836020880161165a565b01949350505050565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202c5740cb9370fb43634f09667b24e32c5e9c98891825d9ddb6b1d48e842adc7764736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

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.